Abstract
This work introduces a zero-temperature limit of Heskes' double-loop algorithm for minimizing the Bethe free energy in graphical models. By integrating max-sum diffusion (an LP relaxation) as its inner loop and enforcing belief propagation fixed points in its outer loop, the proposed algorithm combines the strengths of both methodologies. It reliably identifies high-quality ground states while simultaneously computing accurate max-marginals, addressing a long-standing trade-off in graphical model inference.
Introduction
In graphical models, researchers frequently address two related but distinct NP-hard problems: finding the most likely overall state of the system (MAP inference, or the "ground state") and computing the maximum probabilities of individual variable assignments (max-marginals). Historically, approximation techniques have offered complementary strengths. Max-sum Belief Propagation (BP) often yields excellent approximations of max-marginals but struggles with convergence on loopy graphs and frequently fails to find optimal ground states. Conversely, Linear Programming (LP) relaxations, such as max-sum diffusion, reliably find excellent ground states—and are exact for classes like supermodular functions—but typically produce poor approximations of max-marginals.
While provably convergent algorithms to minimize the Bethe free energy exist for "finite temperature" (sum-product) scenarios, extending them to the "zero-temperature" (max-product) regime to unify BP and LP relaxations has remained a challenge. This paper bridges that gap.
Methodology
The proposed method builds upon the convergent double-loop algorithm developed by Tom Heskes for finite-temperature models. The core methodological contribution is the derivation of the zero-temperature limit ($\beta \to \infty$) of this algorithm. By transitioning from the log-sum-exp semiring to the max-sum semiring, the framework maps finite-temperature free energy minimization directly onto the MAP inference problem.
The resulting algorithm features two nested loops:
- Inner Loop: Operates as max-sum diffusion, effectively solving a convex LP relaxation of the problem to find a strong approximation of the ground state.
- Outer Loop: Updates variables to push the system toward a max-sum belief propagation fixed point.
The Role of Uniform Initialization
A critical insight of this approach is the use of a uniform initialization strategy ($\tilde{\theta} = 0$). Under this initialization, the first iteration of the algorithm is mathematically identical to standard max-sum diffusion. The outer loop then refines the parameters to achieve a BP fixed point without destroying the high-quality ground state found in the initial step. Consequently, the algorithm inherits the superior ground-state approximation of LP relaxations while converging to a BP fixed point to yield high-quality max-marginals, which are exact in every sub-tree of the factor graph.
Experimental Evaluation
The algorithm was evaluated on synthetic datasets to observe convergence behavior across various graph structures and interaction types. Tests were conducted on 20x20 grid graphs and 40-vertex complete graphs. Potentials included randomly generated unary potentials paired with pairwise interactions categorized as random, attractive (supermodular), or repulsive, using 2 or 4 labels.
Key Results
- Convergence: The zero-temperature double-loop algorithm successfully converged to max-sum BP fixed points across all tested graph and interaction types.
- Residual Decay: For attractive and random potentials, the residuals to the BP fixed point condition decayed smoothly. For repulsive and mixed potentials, the residuals approached zero non-monotonically, yet the algorithm still achieved convergence.
- Qualitative Output: The algorithm successfully outputs approximate ground states identical to those obtained by pure max-sum diffusion, but paired with vastly superior max-marginals compared to standard LP relaxation techniques.
Discussion and Future Work
Despite the promising empirical results, several areas for future research remain. The observation that the ground state remains stable after the first iteration under uniform initialization is currently an empirical conjecture; finding a formal mathematical proof remains an open challenge. Additionally, double-loop algorithms can be computationally intensive. Future work could explore accelerating the inner loop by using tree-based updates (similar to the TRW-S algorithm) rather than edge-based updates. Finally, more extensive experiments on real-world datasets are needed to further validate the quality of the approximate max-marginals.
Conclusion
By deriving the zero-temperature limit of Heskes' algorithm, this work provides a unified framework that achieves the "best of both worlds" in graphical model inference. It maintains the rigorous ground-state search of LP relaxations while ensuring convergence to belief propagation fixed points for accurate marginal estimation.
Summary updated