Near-Optimal Parallel Approximate Counting via Sampling

Abstract

The computational equivalence between approximate counting and sampling is well established for polynomial-time algorithms. The most efficient general reduction from counting to sampling is achieved via simulated annealing, where the counting problem is formulated in terms of estimating the ratio Q=Z(β)/Z(β) between partition functions Z(β)=Σx∈ (β H(x)) of Gibbs distributions μβ over with Hamiltonian H, given access to a sampling oracle that produces samples from μβ for β ∈ [β, β]. The best bound achieved by known annealing algorithms with relative error is O(q h / 2), where q, h are parameters which respectively bound Q and H. However, all known algorithms attaining this near-optimal complexity are inherently sequential, or *adaptive*: the queried parameters β depend on previous samples. We develop a simple non-adaptive algorithm for approximate counting using O(q 2 h / 2) samples, as well as an algorithm that achieves O(q h / 2) samples with just two rounds of adaptivity, matching the best sample complexity of sequential algorithms. These algorithms naturally give rise to work-efficient parallel (RNC) counting algorithms. We discuss applications to RNC counting algorithms for several classic models, including the anti-ferromagnetic 2-spin, monomer-dimer and ferromagnetic Ising models.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…