Belief Propagation: Accurate Marginals or Accurate Partition Function - Where is the Difference?

Christian Knoll, Franz PernkopfUAI 2019

Abstract

Belief Propagation (BP) is a cornerstone of approximate inference in graphical models, typically associated with minimizing the Bethe free energy. A common heuristic suggests that the global minimum of this energy provides the most accurate approximations for both marginal distributions and the partition function. This paper challenges this assumption using "patch potential models"—structured Ising models with regional external fields. We demonstrate that the fixed point minimizing the partition function error often diverges from the one providing the most accurate marginals, particularly in a well-defined "well-behaved" region of the parameter space.

Introduction

In probabilistic graphical models, two primary tasks dominate: estimating marginal probabilities and calculating the partition function $Z$. For models with loops, Belief Propagation (BP) is the standard tool, theoretically linked to the minimization of the Bethe free energy. A prevailing assumption in the field is that the global minimum of the Bethe free energy—the "best" solution for the partition function—simultaneously yields the most accurate marginals. This paper investigates this assumption using a structured class of Ising models, revealing a fundamental decoupling between these two objectives.

Patch Potential Models and Phase Regions

To study this phenomenon, the authors introduce patch potential models. These are attractive Ising models where variables are grouped into "patches," each subject to a uniform local field. For example, a 2D grid might be split into two halves, one pulled toward $+1$ and the other toward $-1$. This structure allows for a rigorous analysis of how local influences compete with global coupling.

The behavior of these models is characterized by three distinct regions in the parameter space of coupling strength ($J$) and local field strength ($\theta$):

Phase diagram of the patch potential model in the $(J, \theta)$ plane, identifying three distinct regions of fixed-point behavior.
  1. Region I: A unique, stable fixed point exists.
  2. Region II (Well-Behaved): Multiple stable fixed points emerge. Crucially, the number of these points depends on the number of patches, making them computationally manageable.
  3. Region III (Disordered): A combinatorial explosion of fixed points occurs, leading to computational intractability.

The Decoupling of Accuracy

The core discovery of the paper is that in Region II, the fixed point that best approximates the partition function is often not the one that best approximates the marginals. The authors identify "state-preserving" fixed points, where the marginals align with the local patch fields, and "biased" fixed points, where the entire system is forced into a single dominant state.

Approximation error of the partition function $E_P(m)$ across different fixed points. The inset visualizations show the spatial configurations of these fixed points.

As shown in the analysis of partition function error ($E_P$), different fixed points (represented by colored dots) exhibit varying levels of accuracy. The "blue" fixed point in the figure corresponds to a state-preserving configuration that is highly accurate for marginals (as verified by the authors' corresponding marginal error plots) but performs poorly for the partition function compared to the "red" or "black" biased configurations. This divergence is quantified by a derived bound: for a two-patch model, the objectives only align if $2\sqrt{N}J < N\theta$.

Conclusion

This research highlights a critical pitfall in relying solely on the global minimum of the Bethe free energy for inference. By demonstrating that local minima can be superior for marginal estimation, the authors open the door for new algorithms that explore multiple fixed points in the "well-behaved" Region II. Future work remains to extend these findings to frustrated models and more complex, non-patchy potential landscapes.

Summary updated

BibTeX
@inproceedings{knoll2019belief,
  author = {Christian Knoll and Franz Pernkopf},
  title = {{Belief Propagation: Accurate Marginals or Accurate Partition Function - Where is the Difference?}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2019},
}
Figure