Provable benefits of annealing for estimating normalizing constants: Importance Sampling, Noise-Contrastive Estimation, and beyond
Omar Chehab, Aapo Hyvärinen, Andrej Risteski
Abstract
Recent research has developed several Monte Carlo methods for estimating the normalization constant (partition function) based on the idea of annealing. This means sampling successively from a path of distributions that interpolate between a tractable "proposal" distribution and the unnormalized "target" distribution. Prominent estimators in this family include annealed importance sampling and annealed noise-contrastive estimation (NCE). Such methods hinge on a number of design choices: which estimator to use, which path of distributions to use and whether to use a path at all; so far, there is no definitive theory on which choices are efficient. Here, we evaluate each design choice by the asymptotic estimation error it produces. First, we show that using NCE is more efficient than the importance sampling estimator, but in the limit of infinitesimal path steps, the difference vanishes. Second, we find that using the geometric path brings down the estimation error from an exponential to a polynomial function of the parameter distance between the target and proposal distributions. Third, we find that the arithmetic path, while rarely used, can offer optimality properties over the universally-used geometric path. In fact, in a particular limit, the optimal path is arithmetic. Based on this theory, we finally propose a two-step estimator to approximate the optimal path in an efficient way.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers10
- Complexity Analysis of Normalizing Constant Estimation: from Jarzynski Equality to Annealed Importance Sampling and beyondWei Guo, Molei Tao, Yongxin ChenICLR 2026 · 12 citations
- Path-Guided Particle-based SamplingMingzhou Fan, Ruida Zhou, Chao Tian, Xiaoning QianICML 2024 · 10 citations
- BoltzNCE: Learning likelihoods for Boltzmann Generation with Stochastic Interpolants and Noise Contrastive EstimationRishal Aggarwal, Jacky Chen, Nicholas M. Boffi, David KoesNeurIPS 2025 · 10 citations
- SPACE: Noise Contrastive Estimation Stabilizes Self-Play Fine-Tuning for Large Language ModelsYibo Wang, Guangda Huzhang, Qingguo Chen, Zhao Xu et al.NeurIPS 2025 · 7 citations
- A Minimum Variance Path Principle for Accurate and Stable Score-Based Density Ratio EstimationWei Chen, Jiacheng Li, Shigui Li, Zhiqi Lin et al.ICLR 2026 · 4 citations
Builds on8
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations
- Parallel tempering on optimized pathsSaifuddin Syed, Vittorio Romaniello, Trevor Campbell, Alexandre Bouchard-CôtéICML 2021 · 28 citations
- Analyzing and Improving the Optimization Landscape of Noise-Contrastive EstimationBingbin Liu, Elan Rosenfeld, Pradeep Kumar Ravikumar, Andrej RisteskiICLR 2022 · 19 citations
- All in the Exponential Family: Bregman Duality in Thermodynamic Variational InferenceRob Brekelmans, Vaden Masrani, Frank Wood, Greg Ver Steeg et al.ICML 2020 · 18 citations
- Improving Mutual Information Estimation with Annealed and Energy-Based BoundsRob Brekelmans, Sicong Huang, Marzyeh Ghassemi, Greg Ver Steeg et al.ICLR 2022 · 16 citations
Related papers
- Annealed Flow Transport Monte CarloMichael Arbel, Alexander G. de G. Matthews, Arnaud DoucetICML 2021 · 99 citations
- Continual Repeated Annealed Flow Transport Monte CarloAlexander G. de G. Matthews, Michael Arbel, Danilo Jimenez Rezende, Arnaud DoucetICML 2022 · 69 citations
- Adaptive Annealed Importance Sampling with Constant Rate ProgressShirin Goshtasbpour, Victor Cohen, Fernando Pérez-CruzICML 2023 · 10 citations
- NEO: Non Equilibrium Sampling on the Orbits of a Deterministic TransformAchille Thin, Yazid Janati El Idrissi, Sylvain Le Corff, Charles Ollion et al.NeurIPS 2021 · 10 citations
- MCMC Variational Inference via Uncorrected Hamiltonian AnnealingTomas Geffner, Justin DomkeNeurIPS 2021 · 45 citations
