Abstract
Inference problems in graphical models can be represented as a constrained optimization of a free energy function. It is known that when the Bethe free energy is used, the fixedpoints of the belief propagation (BP) algorithm correspond to the local minima of the free energy. However BP fails to converge in many cases of interest. Moreover, the Bethe free energy is non-convex for graphical models with cycles thus introducing great difficulty in deriving efficient algorithms for finding local minima of the free energy for general graphs. In this paper we introduce two efficient BP-like algorithms, one sequential and the other parallel, that are guaranteed to converge to the global minimum, for any graph, over the class of energies known as "convex free energies". In addition, we propose an efficient heuristic for setting the parameters of the convex free energy based on the structure of the graph.
Introduction
Probabilistic graphical models are essential for reasoning under uncertainty. To find the "marginals" (the probability of specific variables), researchers often frame the problem as minimizing a "free energy" function. The most popular tool for this is Belief Propagation (BP). While BP is fast and exact on trees, it relies on the non-convex "Bethe free energy" for graphs with cycles. This leads to two major challenges: BP often oscillates and fails to converge on loopy graphs, and even when it does converge, it may get stuck in sub-optimal local minima.
While "convex free energies" (which have a single global minimum) were previously proposed to address these issues, existing algorithms to solve them were often too slow or lacked the efficient "message-passing" architecture that makes BP attractive.
Methodology
The authors bridge the gap between the efficiency of BP and the stability of convex optimization through three key contributions:
- A General Optimization Framework: They derive a message-passing architecture for a broad class of problems where a strictly convex function is combined with several convex constraints. Using Fenchel Duality, they transform a difficult constrained optimization into a series of simple "block updates."
- Two New Algorithms:
- Sequential Message-Passing: Updates nodes one by one.
- Parallel Message-Passing: Updates all nodes simultaneously, closely mimicking the "flow" of standard BP.
- The "Bethe-like" Heuristic: Since BP is known to be very accurate when it does work, the authors propose a heuristic to set the parameters of their convex energy so that it is as close as possible to the Bethe free energy, using a least-squares (L2) or maximum entropy approach.
Experimental Results
The algorithms were evaluated using synthetic benchmarks, including Ising models on 2D grids and random graphs with varying edge densities to test complex "loopy" structures.
Key findings include:
- Guaranteed Convergence: Unlike standard BP, which failed to converge on "Mixed" interaction cases for high interaction values, the proposed algorithms converged every time.
- Superior Accuracy: In random graph experiments, their "convex-L2" heuristic consistently outperformed the well-known Tree-Reweighted (TRW) method, especially as the graphs became denser and more complex.
- Massive Speedups: The proposed message-passing approach demonstrated dramatic efficiency gains over existing solvers.
On a $10 \times 10$ grid, the new message-passing algorithm was 20 times faster than a general convex solver and 115 times faster than the CCCP algorithm (a common alternative for minimizing Bethe energy).
Discussion and Conclusion
The primary innovation of this work is the realization that researchers do not have to choose between the accuracy of the Bethe approximation and the convergence of convex methods. By decomposing the global energy function into sums of simpler functions, the authors ensure that the resulting messages are "sparse," keeping the computational cost per iteration low.
While the current derivation assumes factor nodes intersect at a single variable node, the authors provide a path for extending this to general intersections. Overall, this work provides a robust, scalable framework for reliable inference in complex graphical models by elegantly using convex duality to transform global optimization into local message passing.
Summary updated