Local Algorithms for Graphs

David Gamarnik, Mathieu Hemery, Samuel HettericharXiv 2014

Abstract

In large-scale networks, global computation is often infeasible, leading to a reliance on local algorithms that operate based on neighborhood information. This paper explores the theoretical foundations of these algorithms when applied to sparse random graphs. By analyzing the "locally tree-like" structure of such graphs, the authors determine when local information suffices for counting and optimization tasks. They identify a critical "clustering" threshold where the solution space shatters, imposing a fundamental limit on the performance of any local algorithm.

Introduction

The challenge of solving hard combinatorial problems—such as finding the maximum independent set or counting matchings—is central to computer science. On massive graphs, we often turn to local algorithms, which decide a node's state based only on its $t$-step neighborhood. These lecture notes by David Gamarnik, Mathieu Hemery, and Samuel Hetterich provide a rigorous analysis of the power and limits of this approach, particularly on sparse random graphs where the local structure is essentially a tree.

Methodology: The Locally Tree-Like Approximation

The core of the analysis rests on the observation that in sparse graphs, the neighborhood of a typical vertex is a tree with high probability. This allows the use of recursive identities from statistical mechanics, such as the cavity method and the hard-core model.

A d-regular tree $T_{d,t}$ representing the local neighborhood structure of a sparse graph.

The authors use a recursive identity to relate the number of independent sets in a graph $G$ to the probability that a specific vertex is not in a randomly chosen set. By treating the local neighborhood as a tree $T_{d,t}$ (as shown above), they derive a fixed-point recursion:

$$P_t = (1 + P_{t-1}^d)^{-1}$$

This recursion determines whether local information is sufficient to characterize the global state. If the recursion converges to a unique fixed point, the correlation between a node and the distant boundary decays, allowing local algorithms to succeed.

Key Insights: The Clustering Barrier

A profound discovery in this field is the "Factor of 2 Gap." In random $d$-regular graphs, the true maximum independent set size is approximately $\frac{2 \log d}{d}$. However, local algorithms consistently fail to find sets larger than $\frac{\log d}{d}$.

The reason for this failure is the "Clustering Property." As the density of the solution increases, the set of all valid configurations shatters into many tiny, distant "clusters." Moving between these clusters requires changing a massive number of nodes simultaneously—a task impossible for a local algorithm that only sees a small radius. This "glassy" phase transition marks the point where local neighborhood-level thinking hits a structural wall.

Quantitative Results

The paper provides several key theoretical results:

  • Exact Limits for Small $d$: Theorem 2.2 provides an exact limit for the log-partition function of $d$-regular locally tree-like graphs for $d \in \{2, 3, 4, 5\}$, enabling precise counting of independent sets in the thermodynamic limit.
  • Monomer-Dimer Entropy: Using the cavity method, the authors derive extremely tight bounds for the entropy of matchings on a 3D hypercube: $0.78595 \le h(3) \le 0.785976$.
  • Influence Resistance: The authors formally prove that no local algorithm can overcome the clustering barrier to find an independent set exceeding the $\frac{\log d}{d}$ threshold.

Conclusion and Future Directions

While local algorithms are powerful tools for sparse graphs, they are fundamentally limited by the geometry of the solution space. Future research remains focused on the "mystery" of $d > 5$, where current theorems may fail, and on extending these results to "loopy" real-world graphs that lack the clean tree-like structure of random models.

Summary updated

BibTeX
@misc{gamarnik2014local,
  author = {David Gamarnik and Mathieu Hemery and Samuel Hetterich},
  title = {{Local Algorithms for Graphs}},
  year = {2014},
  eprint = {1409.5214},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1409.5214},
}
Figure