CS Paper Radar

A Finite-Rate Selection Law for Annealed Gibbs Sampling

Izhar Ali, Muhammad Haris Khan, Saeed Ahmad

cs.LG ·submitted 2026-11-21 21:09 UTC · v1
publishedunusual

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 $c$, 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 $c$ that agrees with an exact computation to within $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 $c$. The $c$ measured over random pattern sets lies within $3$--$6\%$ of its prediction, but single pattern sets depart from it, contrary to its derivation.

Comment
12 pages, 2 figures, 4 tables. Accepted at DynaFront2026: Dynamics at the Frontiers of Optimization, Sampling, and Games; NeurIPS 2026 Workshop

Closest papers

Nearest neighbours by meaning across the whole index.

Estimating a Transition Point from Gibbs and Ground States

cs.AI quant-ph ·2026-11-22 ·Yuhao Cai, Zhenzhang Li
theory similarity 0.53
Abstract · 13 pages

We study how observed many-body system size affects the number of state copies needed to estimate a zero-temperature first-order transition point. The unknown Hamiltonian has bounded, translation-invariant on-site and nearest-neighbour interactions on a 3D cubic lattice with local dimension three. The field coupling is known, and all models share a known boundary field penalizing one local level. The limiting order parameter is uniformly separated across the transition. Each query returns an independently prepared Gibbs or ground state at an adaptive field and system size. For error $ε$ and fixed confidence, we prove an exponential separation between two size caps at the same temperature. There are absolute constants $0<c_0<C$ and $c_1>0$ such that, at inverse temperature $β=c_1/ε$, restricting side lengths to $L\le c_0/ε$ requires $\exp(Ω(1/ε))$ copies in worst-case expectation, even with collective measurements. Allowing $L\le C/ε$ permits $O(\log^2(1/ε))$ copies and $O(ε^{-3})$ total spins, using local measurements and polynomial classical postprocessing. The minimax expected total spin count is $Θ(ε^{-3})$ uniformly for $β\ge c_1/ε$. At fixed positive temperature it is $Θ_β(ε^{-2})$, attained from one- and eight-site Gibbs states followed by exponential classical computation. For ground-state copies it is $Θ(ε^{-3})$. The lower bound uses a three-state ferromagnet whose boundary suppresses the sector carrying transition information. A spanning-forest argument and edge-boundary counting control its Gibbs weight uniformly over fields and allowed sizes, and a trace-distance hybrid argument handles adaptive learners with quantum memory. The upper bound combines finite-volume free-energy estimates, concavity and local order-parameter measurements.

0.29

Thin-shell stability of Gaussian cooling: logconcave sampling with sesteric complexity from a cold start

cs.DS cs.LGmath.PR ·2026-09-14 ·Yunbum Kook, Santosh S. Vempala
theory similarity 0.53
Abstract · 24 pages

We show that logconcave probability measures along the Gaussian cooling path have thin-shell stability, generalizing the thin-shell theorem. This result leads to improved complexity for the fundamental problem of sampling an arbitrary logconcave distribution from a cold start. For (near-)isotropic logconcave distributions, the complexity is nearly $n^{2.5}$, improving the previous bound of $n^{2.75}$, and matching the complexity of the abstract Speedy walk.

0.30

Power-Law Correlations Without Apparent Temperature-Tuned Criticality in Fixed-Tree Hierarchical Languages

cs.LG cond-mat.dis-nn ·2026-10-17 ·Marcel Kühn, Bernd Rosenow
unusual similarity 0.53
Abstract · 19 pages, 6 figures

Sampling temperature can substantially reshape autoregressive generation, but it is unclear when temperature changes in long-range correlations reflect a genuine phase transition rather than a smooth change in statistics. We study this question in a controlled analogue of temperature sampling: a finite-depth probabilistic context-free grammar on a fixed hierarchical tree, where exact next-token conditionals are computed by belief propagation and then rescaled by a softmax temperature before autoregressive sampling. We measure two-point mutual information between tokens as a function of separation. Across the tested temperatures and grammar ensembles, mutual information remains well described by a power-law envelope. Temperature changes the correlation magnitude and fitted exponent, but within the accessible system sizes we find no long-distance plateau characteristic of an ordered phase and no clear crossover to short-range exponential decay. An approximate mapping to an Ising model on a tree explains how exponential decay in tree distance becomes a power law in token distance, allowing power laws to persist without tuning to a special decoding temperature. This controlled baseline clarifies which temperature effects can arise from hierarchical structure alone, before adding training, approximation error, or neural architecture.

0.26

The Optimal Decoder is Tilted Temperature

cs.LG ·2026-10-10 ·Nikolaos Papagiannis, Ananth Grama, Wojciech Szpankowski
theory similarity 0.52
Abstract

Larger sample budgets benefit from higher sampling temperatures in LLMs, but what temperature tuning optimizes and why it works remain poorly understood. We seek to answer these questions: we pose decoding as pass@$k$ maximization subject to two constraints that encode critical decoding failure modes: an entropy floor preventing diversity collapse, and a cross-entropy ceiling preventing implausibility. We prove that this maximization takes the form of a single closed-form conditional sampling rule, the \emph{tilted temperature} $q^\star \propto \bigl(p e^{ηV}\bigr)^{1/T}$. Here, the tilt comes from a verifier potential $V$ that quantifies how likely a partial generation is to eventually pass. Ordinary temperature sampling, verifier-greedy decoding, and reward-tilted policies represent special cases. We further show that, under a natural rule for scaling the diversity budget with sample size $k$, the resulting optimal temperature increases with $k$, turning empirical choice into a theorem. The optimum still needs the unknown verifier potential, which we estimate using two design approaches. In the online setting, our J-EOS algorithm jointly tracks the two constraint multipliers and learns the verifier potential from binary pass/ fail feedback alone. In the offline setting, we show that when the model is calibrated, its log-probability tracks correctness up to an affine map. Under this condition, the tilt collapses into the exponent and the optimum reduces to ordinary temperature sampling. Calibrated Temperature Decoding (CTD) then fits one scalar offline and samples with zero additional inference-time overhead relative to temperature sampling. Building on these decision rules, we design a practical decoding algorithm for code generation and evaluate it alongside CTD on benchmarks including HumanEval and MBPP, showing improvements over standard and adaptive decoding baselines.

0.36

Low-Temperature Sampling via Equilibrium Disagreements

cs.DM cs.DSmath.PR ·2026-11-05 ·Andreas Galanis, Daniel Stefankovic
similarity 0.52
Abstract · Abstract shortened to fit arXiv requirements

We develop a new framework for sampling at low temperatures using Glauber dynamics. In this regime, the coexistence of competing modes (commonly referred to as phases) creates bottlenecks that can make worst-case mixing exponentially slow. The main new ingredient in our framework is to relate convergence within a phase to the geometry of disagreements between two independent configurations drawn from that phase. As applications of our approach, we consider three canonical models on random regular graphs that have been central to low-temperature sampling, and establish fast convergence from natural initialisations of Glauber dynamics for every fixed degree. We show: --- For the hard-core model on random bipartite $d$-regular graphs, Glauber dynamics initialised from either one-sided independent set mixes within the corresponding phase in $n^{3/2+o(1)}$ steps throughout the non-uniqueness regime $λ>λ_c(d)$. --- For the random-cluster model on random $d$-regular graphs, for every real $q>2$, Glauber dynamics initialised from the all-in edge set mixes within the ordered phase in $n^{3/2+o(1)}$ steps for all $β\geq β_c$. Similarly, Glauber dynamics initialised from the all-out edge set mixes within the disordered phase in $n^{3/2+o(1)}$ steps for $β\leq β_c$. --- For the ferromagnetic Ising model on random $d$-regular graphs, Glauber dynamics initialised from all-plus or all-minus mixes within the corresponding phase in $n^{3/2+o(1)}$ steps throughout the low-temperature regime $β>β_c(d)$. We also give an $n^{2+o(1)}$-time algorithm that combines phase samples into samples from the full distribution, avoiding in particular time-costly approximations of the corresponding partition functions to the target sampling accuracy.

0.17

Steering Diffusion Models to Rare Events with Sequential Monte Carlo

cs.LG stat.ML ·2026-10-06 ·Aavash Subedi, Tim Reichelt, Christopher Williams, Philip Stier, Yee Whye Teh +1 more
published similarity 0.51
Abstract · A previous version of this work was accepted at the NeurIPS 2026: AI for Stochastic Dynamics workshop

Diffusion models are increasingly used as surrogates for expensive simulators in weather prediction, molecular dynamics, and materials design. In these models, computing the probability $p_0[E]$ of an event $E$ is difficult, especially when the event of interest is rare. A stable estimate using Monte Carlo becomes computationally intractable, requiring a growing sample size $\propto\!1/p_0[E]$ to compensate for an increasing rarity. In this paper, we present Diffusion rare event sampling with Sequential Monte Carlo (DireSMC), a sequential Monte Carlo scheme that guides a population of weighted samples towards the rare event, giving access not only to samples but also to a calibrated estimate of its probability. We set up our guidance using an analytical relaxation of the event set, allowing the method to easily extend to a wide range of user-defined rare events. We validate our method on a toy problem with analytical solutions and on a score-based climate emulator, where we obtain accurate rare-event probabilities on a range of rarities from $10^{-3}$ to $10^{-5}$, achieving net speed-ups of $9\times$ to $1413\times$ over Monte Carlo.

0.29

Information-Theoretic Foundations of Online Temperature Sampling

cs.LG ·2026-10-10 ·Jin Sima, Nikolaos Papagiannis, Ananth Grama, Wojciech Szpankowski
theory similarity 0.51
Abstract

Repetitive, degenerate generation is a persistent failure of LLM decoding, and the standard remedies (temperature, nucleus, and top-$k$ sampling) are static heuristics. By Kac's lemma and the AEP, a stationary source takes time exponential in its entropy to repeat a block. We therefore maximize the entropy of the sampling distributions under one cross-entropy budget that keeps the output plausible under the model. Offline, the solution is temperature sampling, with the inverse temperature as the budget's Lagrange multiplier. \emph{Our contribution is the online problem}: the conditionals $p_1, p_2, \dots$ are revealed one at a time, and the sampling distribution $q_t$ must be chosen causally from $p_1, \dots, p_t$ while the budget couples the entire horizon. The optimal temperature is thus a global shadow price that must be estimated from a prefix. We propose Entropic Online Sampling (EOS), which re-solves for the temperature on each prefix. We prove it loses $O(R\log n)$ entropy against the offline optimum while overshooting the budget by $O(R\log n)$, with $R$ an instance-dependent drift parameter. A budget-tightened variant is exactly feasible at the same rate. Conversely, every exactly feasible online algorithm must lose $Ω(R)$, so EOS is optimal up to a $\log n$ factor. When the conditionals are drawn from a finite mixture, $R=\tilde{O}(\sqrt{n})$. Experiments confirm that EOS tracks the offline temperature and beats fixed-temperature sampling in entropy.

0.29

Improved rapid phase ordering for Ising dynamics on random regular graphs

cs.DS math.PRmath-ph ·2026-10-20 ·Zhangsong Li, Allan Sly
similarity 0.51
Abstract · 59 pages, 3 figures

We study Glauber dynamics for the Ising model on random $d$-regular graphs with $n$ vertices at low temperature, in the regime $β\geq C/d$ where $C,d$ are sufficiently large constants. In this regime, the full mixing time is exponential in $n$, because of the bottleneck between the two dominant phases: configurations with a majority of plus spins and configurations with a majority of minus spins. We show that, for sufficiently large $d$, if the dynamics is initialized with an excess of at least $ε_{C,d} n$ plus spins over minus spins, then it quasi-equilibrates in time $O(\log n)$ to the Gibbs measure conditioned on positive magnetization. In addition, the required bias $ε_{C,d}$ can be chosen so that $ε_{C,d}\to 0$ as $d,C\to\infty$. Previous bound of \cite{GSS25+} in the Ising and large-$d$ setting required $β\gtrsim (\log d)/d$. A key difficulty is that, even from the all-plus initialization, one must control the propagation of negative information in spacetime in a low-temperature model with strong local correlations. We address this by developing a new bootstrap approach to proving subcriticality of disagreement clusters under the grand coupling.

0.32