-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Labels
Description
Summary
VIPosterior.sample() had documented support for SIR debiasing via method="sir" and K parameters, but the implementation was never written. The sampling code was always just self.q.sample(sample_shape) - the method parameter was accepted but ignored.
The documentation was removed in June 2022 (12d59715), but tests continued passing these parameters because **kwargs silently swallowed them.
Question
Is SIR debiasing for VIPosterior something we want to implement (for real this time)?
Arguments for:
- Corrects approximation error in q without retraining
- Cheap post-hoc improvement
- Already implemented in
ImportanceSamplingPosterior(could reuse logic)
Arguments against:
- Well-trained VI (especially fKL, IW methods) already minimizes this gap
- Users who need this can use
ImportanceSamplingPosteriorwith trained q as proposal - Was documented but never prioritized for implementation
any thoughts @manuelgloeckler @michaeldeistler ?
Reactions are currently unavailable