English

Quantifying Variational Approximation for the Log-Partition Function

Data Structures and Algorithms 2021-08-23 v2 Machine Learning Statistics Theory Statistics Theory

Abstract

Variational approximation, such as mean-field (MF) and tree-reweighted (TRW), provide a computationally efficient approximation of the log-partition function for a generic graphical model. TRW provably provides an upper bound, but the approximation ratio is generally not quantified. As the primary contribution of this work, we provide an approach to quantify the approximation ratio through the property of the underlying graph structure. Specifically, we argue that (a variant of) TRW produces an estimate that is within factor 1κ(G)\frac{1}{\sqrt{\kappa(G)}} of the true log-partition function for any discrete pairwise graphical model over graph GG, where κ(G)(0,1]\kappa(G) \in (0,1] captures how far GG is from tree structure with κ(G)=1\kappa(G) = 1 for trees and 2/N2/N for the complete graph over NN vertices. As a consequence, the approximation ratio is 11 for trees, (d+1)/2\sqrt{(d+1)/2} for any graph with maximum average degree dd, and β1+1/(2β)\stackrel{\beta\to\infty}{\approx} 1+1/(2\beta) for graphs with girth (shortest cycle) at least βlogN\beta \log N. In general, κ(G)\kappa(G) is the solution of a max-min problem associated with GG that can be evaluated in polynomial time for any graph. Using samples from the uniform distribution over the spanning trees of G, we provide a near linear-time variant that achieves an approximation ratio equal to the inverse of square-root of minimal (across edges) effective resistance of the graph. We connect our results to the graph partition-based approximation method and thus provide a unified perspective. Keywords: variational inference, log-partition function, spanning tree polytope, minimum effective resistance, min-max spanning tree, local inference

Keywords

Cite

@article{arxiv.2102.10196,
  title  = {Quantifying Variational Approximation for the Log-Partition Function},
  author = {Romain Cosson and Devavrat Shah},
  journal= {arXiv preprint arXiv:2102.10196},
  year   = {2021}
}
R2 v1 2026-06-23T23:20:39.436Z