arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.01263cs.DSmath.PR
收藏

通过采样实现近优并行近似计数

Near-Optimal Parallel Approximate Counting via Sampling

University of Maryland, College Park(马里兰大学帕克分校);Institute of Science and Technology Austria(奥地利科学技术研究所);Nanjing University(南京大学)

David G. Harris, Vladimir Kolmogorov, Hongyang Liu, Yitong Yin, Yiyao Zhang

AI总结:

本文提出非适应性算法和两轮适应性算法,实现近似计数的最优样本复杂度,适用于多种经典模型的并行计数。

摘要:

近似计数与采样的计算等价性在多项式时间算法中已得到确认。最有效的从计数到采样的通用减少是通过模拟退火实现的,其中计数问题以估计分区函数比值$Q={Z(β_{\max})}/{Z(β_{\min})}$的形式表述,其中$Z(β)=\sum_{x\in Ω} \exp(βH(x))$是Gibbs分布$μ_β$在Ω上的分区函数,给定可以生成$μ_β$样本的采样 oracle。已知退火算法在相对误差$\varepsilon$下的最佳界为$O(q \log h / \varepsilon^2)$,其中$q, h$分别界定了$\ln Q$和$H$。然而,所有达到此近最优复杂度的已知算法本质上是顺序的或*适应性的*:查询的参数$β$依赖于之前的样本。我们开发了一个简单的非适应性算法,使用$O(q \log^2 h / \varepsilon^2)$样本进行近似计数,以及一个仅需两轮适应性的算法,实现$O(q \log h / \varepsilon^2)$样本复杂度,匹配最佳顺序算法的样本复杂度。这些算法自然产生工作高效的并行(RNC)计数算法。我们讨论了RNC计数算法在几种经典模型中的应用,包括反铁磁2自旋、单体-二聚体和铁磁Ising模型。

英文摘要:

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(β_{\max})}/{Z(β_{\min})}$ between partition functions $Z(β)=\sum_{x\in Ω} \exp(βH(x))$ of Gibbs distributions $μ_β$ over $Ω$ with Hamiltonian $H$, given access to a sampling oracle that produces samples from $μ_β$ for $β\in [β_{\min}, β_{\max}]$. The best bound achieved by known annealing algorithms with relative error $\varepsilon$ is $O(q \log h / \varepsilon^2)$, where $q, h$ are parameters which respectively bound $\ln 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 \log^2 h / \varepsilon^2)$ samples, as well as an algorithm that achieves $O(q \log h / \varepsilon^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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑