cs.LGNov 21, 2026

A Finite-Rate Selection Law for Annealed Gibbs Sampling

Authors: Izhar Ali, Muhammad Haris Khan, Saeed Ahmad

Organizations: Department of Computer Science, Rowan University · Department of Computer Science, University of Copenhagen · IKLAB Inc.

Abstract

Annealed Gibbs sampling samples a multimodal model by redrawing one variable at a time from its conditional distribution as the temperature falls from a high value, where the distribution is broad, to the target temperature. Each run ends in a single mode, and unbiased Monte Carlo estimates require the runs to end in each mode in proportion to its probability under the model. At a finite cooling rate this can fail. We measure the error by cc, the fraction of the model's log-odds between two modes that the samples retain. In the Curie--Weiss model, where a weak external field favors one of two modes, each run selects its mode near the transition at which the modes form, and rarely switches once they have separated. Near the transition, the random fluctuations of the Gibbs updates still outweigh the weak field, which therefore biases the choice of mode only slightly. Building on the selection probability of Kondepudi and coworkers, we derive a law for cc that agrees with an exact computation to within 2%2\% on nine linear cooling ramps. For the Hopfield model, whose modes are stored patterns and their negatives, we derive a factor by which competition among patterns raises cc. The cc measured over random pattern sets lies within 33--6%6\% of its prediction, but single pattern sets depart from it, contrary to its derivation.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Dec 19, 2025

Sampling from multimodal distributions with warm starts: Non-asymptotic bounds for the Reweighted Annealed Leap-Point Sampler

Sampling from multimodal distributions is a central challenge in Bayesian inference and machine learning. In light of hardness results for sampling -- classical MCMC methods, even with tempering, can suffer from exponential mixing times -- a natural question is how to leverage additional information, such as a warm start point for each mode, to enable faster mixing across modes. To address this, we introduce Reweighted ALPS (Re-ALPS), a modified version of the Annealed Leap-Point Sampler (ALPS) that dispenses with the Gaussian approximation assumption. We prove the first polynomial-time bound that works in a general setting, under a natural assumption that each component contains significant mass relative to the others when tilted towards the corresponding warm start point. Similarly to ALPS, we define distributions tilted towards a mixture centered at the warm start points, and at the coldest level, use teleportation between warm start points to enable efficient mixing across modes. In contrast to ALPS, our method does not require Hessian information at the modes, but instead estimates component partition functions via Monte Carlo. This additional estimation step is crucial in allowing the algorithm to handle target distributions with more complex geometries besides approximate Gaussian. For the proof, we show convergence results for Markov processes when only part of the stationary distribution is well-mixing and estimation for partition functions for individual components of a mixture.
Feb 13, 2026

Annealing in variational inference mitigates mode collapse: A theoretical study on Gaussian mixtures

Mode collapse, the failure to capture one or more modes when targeting a multimodal distribution, is a central challenge in modern variational inference. In this work, we provide a mathematical analysis of annealing based strategies for mitigating mode collapse in a tractable setting: learning a Gaussian mixture, where mode collapse is known to arise. Leveraging a low dimensional summary statistics description, we precisely characterize the interplay between the initial temperature and the annealing rate, and derive a sharp formula for the probability of mode collapse. Our analysis shows that an appropriately chosen annealing scheme can robustly prevent mode collapse. Finally, we present numerical evidence that these theoretical tradeoffs qualitatively extend to neural network based models, RealNVP normalizing flows, providing guidance for designing annealing strategies mitigating mode collapse in practical variational inference pipelines.
Feb 12, 2026

Computationally sufficient statistics for Ising models

Learning Gibbs distributions using only sufficient statistics has long been recognized as a computationally hard problem. On the other hand, computationally efficient algorithms for learning Gibbs distributions rely on access to full sample configurations generated from the model. For many systems of interest that arise in physical contexts, expecting a full sample to be observed is not practical, and hence it is important to look for computationally efficient methods that solve the learning problem with access to only a limited set of statistics. We examine the trade-offs between the power of computation and observation within this scenario, employing the Ising model as a paradigmatic example. We show that the couplings of the model can be learned to a desired accuracy from statistics whose order grows linearly with the ℓ1\ell_1 width of the model and only logarithmically with the inverse of the accuracy. In particular, for a fixed accuracy, the required order is proportional to the width. This allows us to infer the model's structure, using statistics whose order grows logarithmically with the inverse of the weakest coupling, and also to learn its magnetic fields. When the width and the accuracy are fixed, the running time is polynomial in the number of variables. We also discuss a setting where prior information about structure of the model is available and show that the learning problem can be solved efficiently with even more limited observational power.