Complexity Analysis of Normalizing Constant Estimation: from Jarzynski Equality to Annealed Importance Sampling and beyond

Wei Guo, Molei Tao, Yongxin Chen

The Challenge of Estimating Normalizing Constants

In fields ranging from Bayesian statistics to statistical mechanics and machine learning, researchers frequently encounter "unnormalized" probability densities. These are functions that indicate the relative likelihood of a state but do not sum to one. To make these distributions useful for probabilistic inference, we must compute the normalizing constant ($Z$), also known as the partition function or evidence.

Estimating $Z$ is notoriously difficult in high-dimensional spaces or when the target distribution is multimodal—meaning it has many "peaks" of high probability separated by "valleys" of low probability. While practitioners frequently rely on Annealed Importance Sampling (AIS) or the Jarzynski Equality (JE) to tackle this, these methods have historically lacked rigorous theoretical guarantees. Most existing theory relies on "isoperimetric" assumptions like log-concavity, which essentially assume the distribution is well-behaved and single-peaked. Unfortunately, this is rarely true in the most challenging real-world problems.

This paper provides the first non-asymptotic complexity analysis for estimating normalizing constants using AIS and the Jarzynski Equality, demonstrating why standard annealing fails on multimodal distributions and proposing a superior alternative.

Methodology: Action, Paths, and Reverse Diffusion

The authors bridge the gap between physics-inspired dynamics and statistical sampling by introducing a novel theoretical framework that does not explicitly require log-concavity.

The Concept of "Action" ($\mathcal{A}$)

Instead of relying on standard geometric assumptions, the authors define complexity using the "action" of a curve in the space of probability measures. Conceptually, this represents the "effort" required to transform a simple, tractable reference distribution (like a Gaussian) into the complex target distribution. The complexity of estimating $Z$ is directly proportional to the squared action of the path chosen to connect the start and end distributions. If the path forces sudden, "jerky" changes, the variance of the estimator explodes.

Path measures and interpolation between distributions

Path Measures and Girsanov’s Theorem

To bound the estimation error, the authors utilize sophisticated tools from stochastic calculus. By leveraging Girsanov’s theorem and optimal transport, they compare the actual "path" a sampler takes to an "ideal" path. This allows them to calculate the oracle complexity—the number of steps or gradient calls needed to achieve an estimate within a specific relative error tolerance ($\varepsilon$)—without assuming the target distribution is log-concave.

Reverse Diffusion Samplers (RDS)

The paper identifies a critical flaw in standard geometric interpolation: it causes a "mass teleportation" problem where the sampler fails to move effectively between isolated modes. To solve this, the authors propose using the time-reversal of a diffusion process (such as the Ornstein-Uhlenbeck process). This creates a naturally smoother bridge in the space of distributions, leading to polynomial rather than exponential complexity, even for multimodal targets.

Key Findings and Empirical Results

Theoretical Bounds

The authors successfully derive an oracle complexity of $\widetilde{O}\left(\frac{d\beta^2\mathcal{A}^2}{\varepsilon^4}\right)$ for AIS, where $d$ is the dimension and $\beta$ is the smoothness of the potential. This is a landmark result, as it is the first bound of its kind that bypasses the need for log-concavity.

Empirical Superiority on Multimodal Benchmarks

The paper evaluates the proposed RDS-based algorithms against traditional methods like Thermodynamic Integration (TI) and standard AIS using two challenging synthetic benchmarks:

  • Modified Müller-Brown (MMB) Distribution: A standard potential surface from molecular dynamics featuring a complex, non-convex landscape.
  • Gaussian Mixture (GM): A 2D distribution with four distinct, well-separated components and imbalanced weights, serving as a classic stress test for multimodality.

The mathematical proof that the "action" of standard geometric interpolation grows exponentially with the distance between modes was borne out in the experiments. TI and AIS failed significantly, often missing modes entirely and producing highly biased estimates. In contrast, RDS-based methods consistently achieved accurate estimates near the ground truth, generating high-quality samples that successfully covered all modes.

Limitations and Future Work

While this work establishes a strong foundation for the non-asymptotic analysis of AIS, several avenues for future research remain:

  • Tightness of Bounds: It is currently unknown if the derived upper bounds are strictly "tight." Future work may reveal if a more efficient algorithm or a refined proof technique could lower the theoretical complexity further.
  • Interpretability of Action: While "action" provides a clean and powerful mathematical tool for analysis, translating it into practical, intuitive guidelines for a user-defined potential $V$ is still an ongoing challenge.
  • Broader Extensions: The authors suggest that their proof techniques—particularly the use of path measures and Girsanov's theorem—could be extended to analyze more complex dynamics like Hamiltonian Monte Carlo, or adapted for discrete state spaces (e.g., the Ising model) common in physics and combinatorial optimization.

Summary updated

BibTeX
@inproceedings{guo2026complexity,
  author = {Wei Guo and Molei Tao and Yongxin Chen},
  title = {{Complexity Analysis of Normalizing Constant Estimation: from Jarzynski Equality to Annealed Importance Sampling and beyond}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=96fJALwotm},
}
Figure