English

Adaptive Simulated Annealing: A Near-optimal Connection between Sampling and Counting

Data Structures and Algorithms 2007-05-23 v1 Discrete Mathematics

Abstract

We present a near-optimal reduction from approximately counting the cardinality of a discrete set to approximately sampling elements of the set. An important application of our work is to approximating the partition function ZZ of a discrete system, such as the Ising model, matchings or colorings of a graph. The typical approach to estimating the partition function Z(β)Z(\beta^*) at some desired inverse temperature β\beta^* is to define a sequence, which we call a {\em cooling schedule}, β0=0<β1<...<β=β\beta_0=0<\beta_1<...<\beta_\ell=\beta^* where Z(0) is trivial to compute and the ratios Z(βi+1)/Z(βi)Z(\beta_{i+1})/Z(\beta_i) are easy to estimate by sampling from the distribution corresponding to Z(βi)Z(\beta_i). Previous approaches required a cooling schedule of length O(lnA)O^*(\ln{A}) where A=Z(0)A=Z(0), thereby ensuring that each ratio Z(βi+1)/Z(βi)Z(\beta_{i+1})/Z(\beta_i) is bounded. We present a cooling schedule of length =O(lnA)\ell=O^*(\sqrt{\ln{A}}). For well-studied problems such as estimating the partition function of the Ising model, or approximating the number of colorings or matchings of a graph, our cooling schedule is of length O(n)O^*(\sqrt{n}), which implies an overall savings of O(n)O^*(n) in the running time of the approximate counting algorithm (since roughly \ell samples are needed to estimate each ratio).

Keywords

Cite

@article{arxiv.cs/0612058,
  title  = {Adaptive Simulated Annealing: A Near-optimal Connection between Sampling and Counting},
  author = {Daniel Stefankovic and Santosh Vempala and Eric Vigoda},
  journal= {arXiv preprint arXiv:cs/0612058},
  year   = {2007}
}
R2 v1 2026-07-22T12:27:28.900Z