NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Localized Inference for Large Graphical Models

Jinglin Chen, Jian Peng, Qiang Liu

Introduction

As graphical models scale to millions or billions of nodes—common in modern social networks and knowledge graphs—traditional global inference methods become computationally intractable. Calculating a marginal distribution, the probability of a specific variable taking a certain value, is a #P-complete problem. While standard tools like Markov Chain Monte Carlo (MCMC) or Variational Inference (VI) are widely used, they typically require processing the entire graph to answer a query about a single node.

This paper proposes a localized inference framework that circumvents this scaling bottleneck. By exploiting the principle of correlation decay—the observation that a variable's influence diminishes as distance increases—the authors demonstrate that high-precision inference can be achieved by examining only a small neighborhood around the query node.

Methodology: Localized Inference and Greedy Expansion

The proposed framework is grounded in Dobrushin’s comparison theorem, a result from statistical mechanics. This theorem allows the authors to mathematically bound the error between the true marginal of the full graph and the approximate marginal derived from a local subgraph. Crucially, they prove that this approximation error decreases exponentially as the distance between the query node and the subgraph boundary increases.

Conceptual diagram of localized inference, where a query node's marginal is estimated using only a local subgraph.

To implement this efficiently, the authors developed a Greedy Expansion Algorithm. Instead of using a fixed-radius neighborhood, the algorithm starts at the query node and iteratively adds neighbors that most effectively reduce the theoretical error bound. The researchers explored two primary methods for handling the boundary of these subgraphs:

  • Dropping out: Severing all edges connecting the local region to the external graph.
  • Mean field: Approximating the aggregate influence of external nodes on the boundary using a simplified model.

Empirical Evaluation and Results

The localized approach was evaluated on both synthetic and real-world datasets: a 2D Ising Grid (a $10 \times 10$ lattice) and the Cora citation network (2,389 nodes).

Performance comparison of the proposed greedy expansion (Algorithm 1) against random and L2-based expansion strategies.

Key findings include:

  • Superior Efficiency: On the Ising grid, the greedy expansion strategy (Algorithm 1) significantly outperformed random or distance-based (L2) expansion, reaching near-perfect accuracy with very few nodes.
  • Scalability to Real Data: On the Cora dataset, local inference using only 16 nodes achieved accuracy nearly identical to global inference performed on the entire 2,389-node network.
  • Principled Truncation: The framework provides a rigorous stopping criterion. By setting a desired error tolerance ($\epsilon$), the mathematical bounds dictate the necessary neighborhood size, moving beyond heuristic-based local methods.

Conclusion and Future Directions

The "local is enough" principle holds strong for models satisfying the Dobrushin condition, where correlations decay predictably. However, the method faces challenges in "critically coupled" systems where long-range correlations persist, such as physical systems undergoing phase transitions.

Future research will focus on tightening theoretical bounds to further reduce subgraph sizes, developing expansion strategies for non-binary variables, and extending localized techniques to broader classes of inference problems beyond marginalization.

Summary updated

BibTeX
@inproceedings{chen2018efficient,
  author = {Jinglin Chen and Jian Peng and Qiang Liu},
  title = {{Efficient Localized Inference for Large Graphical Models}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/692},
}
Figure