A deterministic algorithm for counting colorings with 2Δ colors

Jingcheng Liu, Alistair Sinclair, Piyush SrivastavaarXiv 2019

Abstract

This paper presents a significant advancement in theoretical computer science and mathematical physics by providing the first deterministic algorithm for counting graph colorings that matches the performance of the best randomized methods ($q \ge 2\Delta$). The authors bridge two historically distinct perspectives on phase transitions—spatial mixing and partition function zeros—to solve a long-standing algorithmic challenge. By "lifting" probabilistic correlation decay arguments into the complex plane, they prove that partition functions are zero-free, enabling efficient approximation via Barvinok’s polynomial interpolation framework.

Introduction: The Challenge of Approximate Counting

The core problem addressed is the approximate counting of graph colorings. Specifically, given a graph with maximum degree $\Delta$, how many ways can one assign $q$ colors such that no two adjacent vertices share the same color? This problem is #P-complete, making exact solutions computationally intractable for large graphs.

For decades, researchers relied on randomized Markov Chain Monte Carlo (MCMC) algorithms to estimate this number, which typically succeed when $q \ge 2\Delta$. However, deterministic algorithms—which offer guaranteed error bounds without relying on randomness—have historically struggled to reach this same threshold. This work closes that gap, demonstrating that deterministic approaches are not inherently weaker in this domain.

Theoretical Bridge: Correlation Decay and Complex Zeros

A central contribution of this work is the formal link established between two definitions of a phase transition:

  1. Spatial Mixing (Correlation Decay): A probabilistic concept describing how quickly the influence of a distant vertex on a local vertex vanishes.
  2. Lee-Yang/Fisher Zeros: An algebraic/complex analysis concept concerning the location of the roots of a system's partition function in the complex plane.

The authors demonstrate that if correlations decay sufficiently fast on a real interval, this property "leaks" into the nearby complex plane. This allows them to use spatial mixing results to prove the absence of zeros in the partition function, a prerequisite for efficient deterministic counting.

Methodology: Barvinok’s Interpolation and Recursive Lifting

The algorithm utilizes Barvinok’s Polynomial Interpolation framework applied to the Potts model, a general framework for vertex colorings. To apply this method, one must prove that the partition function (the mathematical summary of all possible colorings) has no zeros in a specific region of the complex plane.

The authors achieve this through a "lifting" technique:

  • Recursive Analysis: They employ tree-based recursions to calculate "marginal ratios"—the relative probability of a vertex having one color versus another.
  • Complex Robustness: They show that existing proofs for strong spatial mixing, typically designed for real-valued probabilities, are robust enough to be extended into the complex plane.
  • Niceness Property: A "niceness" condition is defined for vertices where no single color dominates the local distribution. This ensures that errors in recursive calculations do not explode, keeping the partition function away from zero.

Key Results and Implications

The primary result is a Fully Polynomial Time Approximation Scheme (FPTAS) for counting $q$-colorings in any graph with maximum degree $\Delta$, provided $q \ge 2\Delta$. Beyond this milestone, the paper offers several other significant findings:

  • Triangle-Free Graphs: By exploiting the fact that local neighborhoods in triangle-free graphs resemble trees, the authors improve the bound to $q \ge 1.764\Delta + \beta$, outperforming standard randomized bounds for this class.
  • Optimal Tree Bound: For trees, the method reaches the theoretical optimum of $q \ge \Delta + 1$.
  • Spin Models: The paper provides simplified proofs for the absence of zeros in the anti-ferromagnetic Ising and hard-core lattice gas models, resolving several conjectures in the field (such as the Sokal conjecture).

Discussion and Future Work

While reaching the $2\Delta$ threshold is a major achievement, a gap remains between this result and the theoretical lower limit of $\Delta+1$ for general graphs. Closing this gap remains an open challenge for both randomized and deterministic algorithms. Additionally, while the algorithm is polynomial-time, the constants involved in the current proof (e.g., $10^{-6}$) suggest that further optimization of the "niceness" analysis could significantly improve practical performance. This work sets a new standard for the interplay between statistical physics and algorithmic theory, suggesting that many more probabilistic results may have deterministic counterparts waiting to be discovered.

Summary updated

BibTeX
@misc{liu2019deterministic,
  author = {Jingcheng Liu and Alistair Sinclair and Piyush Srivastava},
  title = {{A deterministic algorithm for counting colorings with 2Δ colors}},
  year = {2019},
  eprint = {1906.01228},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.01228},
}
Figure