Annealed Importance Sampling with q-Paths

Rob Brekelmans, Vaden Masrani, Thang D Bui, Frank Wood, Aram Galstyan, Greg Ver Steeg, Frank Nielsen

TL;DR

This paper introduces "q-paths" as a generalization of existing methods for Annealed Importance Sampling (AIS). By leveraging the q-exponential family and related mathematical tools, these new paths offer more flexibility and can lead to more accurate estimations of partition functions, especially when dealing with complex target distributions.

What Problem Does This Paper Address?

Estimating partition functions (or normalization constants) is a fundamental problem in many areas of machine learning and statistics. Annealed Importance Sampling (AIS) is a powerful technique for this, essentially by "annealing" or gradually transforming a simple, known distribution into a complex target distribution. The standard approach uses a "geometric mixture" path for this transformation. However, this geometric path is restrictive and might not be optimal for all problems. The authors aim to generalize this path to allow for more flexible annealing strategies, potentially leading to better performance and broader applicability of AIS.

Methods

The core contribution is the introduction of q-paths for AIS. These paths are defined using the q-exponential family and are related to power means and $\alpha$-divergences.

  • Generalizing the Path: The standard geometric mixture path is defined as $\pi_\beta(z) = \pi_0(z)^{1-\beta} \pi_T(z)^\beta$. The authors generalize this to a q-path: $\pi_\beta^{(q)}(z) = [(1-\beta)\pi_0(z)^{1-q} + \beta\pi_T(z)^{1-q}]^{1/(1-q)}$. This formulation includes the geometric path as a special case when $q \to 1$.
  • Mathematical Framework: The q-paths are connected to:
  • Deformed Logarithm: The q-path can be viewed as a "deformed log-mixture."
    • q-Exponential Family: The intermediate distributions along a q-path can be shown to belong to the q-exponential family, which generalizes the standard exponential family.
  • $\alpha$-Divergences: The q-path can be interpreted as minimizing a weighted sum of $\alpha$-divergences to the base and target distributions, generalizing previous variational representations.
  • Algorithm: The paper adapts the standard AIS algorithm (Algorithm 1) to work with these q-paths, accumulating importance weights along the generalized annealing schedule.

Datasets

Not discussed in the paper. The experiments use synthetic Gaussian and Student-t distributions.

Key Insights and Ideas

  • Flexibility in Annealing: The q-path offers a tunable parameter ($q$) that allows for more flexible annealing schedules than the fixed geometric path. This flexibility can be crucial for efficiently bridging distributions with different shapes or tail behaviors.
  • Connection to Non-Extensive Thermodynamics: The q-exponential family and related concepts have roots in non-extensive thermodynamics, suggesting potential links between these statistical estimation methods and broader theoretical frameworks.
  • Improved Performance: The q-paths, particularly with specific choices of $q$, can lead to more accurate estimates of partition functions compared to the standard geometric path, especially for challenging annealing problems.
  • Generalization of Existing Methods: The q-path framework unifies and generalizes several existing approaches, including the geometric mixture, moment-averaged paths, and variational representations based on KL and $\alpha$-divergences.

Key Results

  • BDMC Bounds: Bidirectional Monte Carlo (BDMC) estimates of $\log Z_T/Z_0$ using q-paths show that the choice of $q$ can significantly impact the tightness of the bounds, with $q=0.9$ often yielding better estimates than the geometric path ($q=1$) for smaller numbers of intermediate distributions ($T$).
  • AIS Estimates: For a fixed number of intermediate distributions ($T=100$), AIS with $q=0.9$ achieved lower error in estimating $Z_T/Z_0$ compared to both the mixture of Gaussians ($q=0$) and the geometric path ($q=1$).
  • Student-t Distributions: Experiments with Student-t distributions (which are related to q-exponentials) demonstrate that q-paths can handle heavier tails and different distribution shapes more effectively than the standard geometric path.

Limitations and Future Work

  • Choosing q: The paper shows that the choice of $q$ matters, but it doesn't provide a definitive method for selecting the optimal $q$ for a given problem. This remains an open question.
  • Normalization in q-Exponential Families: The paper notes that normalizing q-exponential families can be delicate and requires careful handling of parameter mappings.
  • Future Directions: The authors suggest exploring how the choice of $q$ depends on the properties of the endpoint distributions and investigating the use of q-paths in other related methods like the thermodynamic variational objective (TVO). They also highlight the potential for further connections with non-extensive thermodynamics and information geometry.

Summary updated

BibTeX
@misc{brekelmans2020annealed,
  author = {Rob Brekelmans and Vaden Masrani and Thang D Bui and Frank Wood and Aram Galstyan and Greg Ver Steeg and Frank Nielsen},
  title = {{Annealed Importance Sampling with q-Paths}},
  year = {2020},
  eprint = {2012.07823},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.07823},
}
Figure