Differentiable Annealed Importance Sampling and the Perils of Gradient Noise
Not on the map. Why?
Abstract (arXiv)
Annealed importance sampling (AIS) and related algorithms are highly effective tools for marginal likelihood estimation, but are not fully differentiable due to the use of Metropolis-Hastings correction steps. Differentiability is a desirable property as it would admit the possibility of optimizing marginal likelihood as an objective using gradient-based methods. To this end, we propose Differentiable AIS (DAIS), a variant of AIS which ensures differentiability by abandoning the Metropolis-Hastings corrections. As a further advantage, DAIS allows for mini-batch gradients. We provide a detailed convergence analysis for Bayesian linear regression which goes beyond previous analyses by explicitly accounting for the sampler not having reached equilibrium. Using this analysis, we prove that DAIS is consistent in the full-batch setting and provide a sublinear convergence rate. Furthermore, motivated by the problem of learning from large-scale datasets, we study a stochastic variant of DAIS that uses mini-batch gradients. Surprisingly, stochastic DAIS can be arbitrarily bad due to a fundamental incompatibility between the goals of last-iterate convergence to the posterior and elimination of the accumulated stochastic error. This is in stark contrast with other settings such as gradient-based optimization and Langevin dynamics, where the effect of gradient noise can be washed out by taking smaller steps. This indicates that annealing-based marginal likelihood estimation with stochastic gradients may require new ideas.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 28 of its 53 references that are in the map. First posted on arXiv 21 Jul 2021.
Builds on
28 of 53 references.
References · 28
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015Importance Weighted Autoencoderscited by 454
- 2015Gradient-based Hyperparameter Optimization through Reversible Learningcited by 357
- 2014Stochastic Gradient Hamiltonian Monte Carlocited by 341
- 2017Stochastic Gradient Descent as Approximate Bayesian Inferencecited by 298
- 2020Scalable Gradients for Stochastic Differential Equationscited by 264
- 2017Non-convex learning via Stochastic Gradient Langevin Dynamics: a nonasymptotic analysiscited by 242
- 2014Theoretical guarantees for approximate sampling from smooth and log-concave densitiescited by 206
- 2015A Complete Recipe for Stochastic Gradient MCMCcited by 146
- 2017Underdamped Langevin MCMC: A non-asymptotic analysiscited by 131
- 2019Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Modelcited by 116
- 2017Noisy Natural Gradient as Variational Inferencecited by 94
16 more
- 2017Variational Sequential Monte Carlocited by 93
- 2017Filtering Variational Objectivescited by 91
- 2014Consistency and fluctuations for stochastic gradient Langevin dynamicscited by 65
- 2017Auto-Encoding Sequential Monte Carlocited by 64
- 2018Hamiltonian Variational Auto-Encodercited by 41
- 2016On the Quantitative Analysis of Decoder-Based Generative Modelscited by 40
- 2021MCMC Variational Inference via Uncorrected Hamiltonian Annealingcited by 39
- 2021Monte Carlo Variational Auto-Encoderscited by 36
- 2016On the Convergence of Stochastic Gradient MCMC Algorithms with High-Order Integratorscited by 35
- 2020Faster Convergence of Stochastic Gradient Langevin Dynamics for Non-Log-Concave Samplingcited by 32
- 2019The Thermodynamic Variational Objectivecited by 26
- 2016Reparameterization Gradients through Acceptance-Rejection Sampling Algorithmscited by 22
- 2015Sandwiching the marginal likelihood using bidirectional Monte Carlocited by 20
- 2021Improving Lossless Compression Rates via Monte Carlo Bits-Back Codingcited by 19
- 2020Evaluating Lossy Compression Rates of Deep Generative Modelscited by 16
- 2020SUMO: Unbiased Estimation of Log Marginal Probability for Latent Variable Modelscited by 14
Built on by
Citing papers per year: 2021: 1; 2022: 11; 2023: 8; 2024: 9; 2025: 6; 2026: 1.
36 papers.
Sort:
By area:
- 2023Denoising Diffusion Samplerscited by 144
- 2022Flow Annealed Importance Sampling Bootstrapcited by 124
- 2022Continual Repeated Annealed Flow Transport Monte Carlocited by 66
- 2022Bayesian Model Selection, the Marginal Likelihood, and Generalizationcited by 56
- 2024Beyond ELBOs: A Large-Scale Evaluation of Variational Methods for Samplingcited by 55
- 2022Score-Based Diffusion meets Annealed Importance Samplingcited by 51
- 2025Underdamped Diffusion Bridges with Applications to Samplingcited by 28
- 2022Langevin Diffusion Variational Inferencecited by 26
- 2024Liouville Flow Importance Samplercited by 25
- 2025Trust Region Constrained Measure Transport in Path Space for Stochastic Optimal Control and Inferencecited by 22
- 2023Transport meets Variational Inference: Controlled Monte Carlo Diffusionscited by 21
- 2023Deep Generative Models for Detector Signature Simulation: A Taxonomic Reviewcited by 18
24 more
- 2021Surrogate Likelihoods for Variational Annealed Importance Samplingcited by 14
- 2022Bayesian inference via sparse Hamiltonian flowscited by 12
- 2022Designing Perceptual Puzzles by Differentiating Probabilistic Programscited by 12
- 2022MixFlows: principled variational inference via mixed flowscited by 11
- 2024Annealing Flow Generative Models Towards Sampling High-Dimensional and Multi-Modal Distributionscited by 11
- 2024Provable Convergence and Limitations of Geometric Tempering for Langevin Dynamicscited by 10
- 2023Adaptive Annealed Importance Sampling with Constant Rate Progresscited by 7
- 2022Markov Chain Score Ascent: A Unifying Framework of Variational Inference with Markovian Gradientscited by 6
- 2023Embracing the chaos: analysis and diagnosis of numerical instability in variational flowscited by 6
- 2023Differentiating Metropolis-Hastings to Optimize Intractable Densitiescited by 5
- 2025Neural Flow Samplers with Shortcut Modelscited by 5
- 2022Variational Inference with Locally Enhanced Bounds for Hierarchical Modelscited by 4
- 2024Ensemble-Based Annealed Importance Samplingcited by 4
- 2025End-To-End Learning of Gaussian Mixture Priors for Diffusion Samplercited by 4
- 2024Variational Learning of Gaussian Process Latent Variable Models through Stochastic Gradient Annealed Importance Samplingcited by 3
- 2023Resampling Gradients Vanish in Differentiable Sequential Monte Carlo Samplerscited by 2
- 2023Reparameterized Variational Rejection Samplingcited by 2
- 2024Denoising Diffusion Variational Inference: Diffusion Models as Expressive Variational Posteriorscited by 2
- 2024Differentiable Annealed Importance Sampling Minimizes The Symmetrized Kullback-Leibler Divergence Between Initial and Target Distributioncited by 2
- 2022Optimization of Annealed Importance Sampling Hyperparameterscited by 1
- 2025Asymptotically exact variational flows via involutive MCMC kernelscited by 1
- 2025Continuously Tempered Diffusion Samplerscited by 1
- 2024MCMC-driven learningcited by 0
- 2026Large-scale empirical tuning and comparison of default optimizers for variational inferencecited by 0
- 2026Large-scale empirical tuning and comparison of default optimizers for variational inference5 Jun 2026
- 2025Continuously Tempered Diffusion Samplers30 Aug 2025
- 2025Trust Region Constrained Measure Transport in Path Space for Stochastic Optimal Control and Inference17 Aug 2025
- 2025Asymptotically exact variational flows via involutive MCMC kernels2 Jun 2025
- 2025Underdamped Diffusion Bridges with Applications to Sampling2 Mar 2025
- 2025End-To-End Learning of Gaussian Mixture Priors for Diffusion Sampler1 Mar 2025
- 2025Neural Flow Samplers with Shortcut Models11 Feb 2025
- 2024Provable Convergence and Limitations of Geometric Tempering for Langevin Dynamics13 Oct 2024
- 2024Annealing Flow Generative Models Towards Sampling High-Dimensional and Multi-Modal Distributions30 Sep 2024
- 2024Variational Learning of Gaussian Process Latent Variable Models through Stochastic Gradient Annealed Importance Sampling13 Aug 2024
- 2024Beyond ELBOs: A Large-Scale Evaluation of Variational Methods for Sampling11 Jun 2024
- 2024Differentiable Annealed Importance Sampling Minimizes The Symmetrized Kullback-Leibler Divergence Between Initial and Target Distribution23 May 2024
24 more
- 2024Liouville Flow Importance Sampler3 May 2024
- 2024MCMC-driven learning14 Feb 2024
- 2024Ensemble-Based Annealed Importance Sampling28 Jan 2024
- 2024Denoising Diffusion Variational Inference: Diffusion Models as Expressive Variational Posteriors5 Jan 2024
- 2023Deep Generative Models for Detector Signature Simulation: A Taxonomic Review15 Dec 2023
- 2023Reparameterized Variational Rejection Sampling26 Sep 2023
- 2023Embracing the chaos: analysis and diagnosis of numerical instability in variational flows12 Jul 2023
- 2023Transport meets Variational Inference: Controlled Monte Carlo Diffusions3 Jul 2023
- 2023Adaptive Annealed Importance Sampling with Constant Rate Progress27 Jun 2023
- 2023Differentiating Metropolis-Hastings to Optimize Intractable Densities13 Jun 2023
- 2023Resampling Gradients Vanish in Differentiable Sequential Monte Carlo Samplers27 Apr 2023
- 2023Denoising Diffusion Samplers27 Feb 2023
- 2022Optimization of Annealed Importance Sampling Hyperparameters27 Sep 2022
- 2022Langevin Diffusion Variational Inference16 Aug 2022
- 2022Score-Based Diffusion meets Annealed Importance Sampling16 Aug 2022
- 2022Flow Annealed Importance Sampling Bootstrap3 Aug 2022
- 2022Markov Chain Score Ascent: A Unifying Framework of Variational Inference with Markovian Gradients13 Jun 2022
- 2022MixFlows: principled variational inference via mixed flows16 May 2022
- 2022Designing Perceptual Puzzles by Differentiating Probabilistic Programs26 Apr 2022
- 2022Bayesian inference via sparse Hamiltonian flows11 Mar 2022
- 2022Variational Inference with Locally Enhanced Bounds for Hierarchical Models8 Mar 2022
- 2022Bayesian Model Selection, the Marginal Likelihood, and Generalization23 Feb 2022
- 2022Continual Repeated Annealed Flow Transport Monte Carlo31 Jan 2022
- 2021Surrogate Likelihoods for Variational Annealed Importance Sampling22 Dec 2021
- 2023Denoising Diffusion Samplerscited by 144
- 2025End-To-End Learning of Gaussian Mixture Priors for Diffusion Samplercited by 4
- 2024Denoising Diffusion Variational Inference: Diffusion Models as Expressive Variational Posteriorscited by 2
- 2025Continuously Tempered Diffusion Samplerscited by 1
- 2025Continuously Tempered Diffusion Samplers30 Aug 2025
- 2025End-To-End Learning of Gaussian Mixture Priors for Diffusion Sampler1 Mar 2025
- 2024Denoising Diffusion Variational Inference: Diffusion Models as Expressive Variational Posteriors5 Jan 2024
- 2023Denoising Diffusion Samplers27 Feb 2023
- 2022Flow Annealed Importance Sampling Bootstrapcited by 124
- 2022Continual Repeated Annealed Flow Transport Monte Carlocited by 66
- 2022Bayesian Model Selection, the Marginal Likelihood, and Generalizationcited by 56
- 2024Beyond ELBOs: A Large-Scale Evaluation of Variational Methods for Samplingcited by 55
- 2022Score-Based Diffusion meets Annealed Importance Samplingcited by 51
- 2025Underdamped Diffusion Bridges with Applications to Samplingcited by 28
- 2022Langevin Diffusion Variational Inferencecited by 26
- 2024Liouville Flow Importance Samplercited by 25
- 2025Trust Region Constrained Measure Transport in Path Space for Stochastic Optimal Control and Inferencecited by 22
- 2023Transport meets Variational Inference: Controlled Monte Carlo Diffusionscited by 21
- 2023Deep Generative Models for Detector Signature Simulation: A Taxonomic Reviewcited by 18
- 2021Surrogate Likelihoods for Variational Annealed Importance Samplingcited by 14
12 most cited of 32 All 32 (JSON)
- 2026Large-scale empirical tuning and comparison of default optimizers for variational inference5 Jun 2026
- 2025Trust Region Constrained Measure Transport in Path Space for Stochastic Optimal Control and Inference17 Aug 2025
- 2025Asymptotically exact variational flows via involutive MCMC kernels2 Jun 2025
- 2025Underdamped Diffusion Bridges with Applications to Sampling2 Mar 2025
- 2025Neural Flow Samplers with Shortcut Models11 Feb 2025
- 2024Provable Convergence and Limitations of Geometric Tempering for Langevin Dynamics13 Oct 2024
- 2024Annealing Flow Generative Models Towards Sampling High-Dimensional and Multi-Modal Distributions30 Sep 2024
- 2024Variational Learning of Gaussian Process Latent Variable Models through Stochastic Gradient Annealed Importance Sampling13 Aug 2024
- 2024Beyond ELBOs: A Large-Scale Evaluation of Variational Methods for Sampling11 Jun 2024
- 2024Differentiable Annealed Importance Sampling Minimizes The Symmetrized Kullback-Leibler Divergence Between Initial and Target Distribution23 May 2024
- 2024Liouville Flow Importance Sampler3 May 2024
- 2024MCMC-driven learning14 Feb 2024
12 newest of 32 All 32 (JSON)