A Tighter Bound for Graphical Models

Martijn A. R. Leisink, Hilbert J. KappenNeurIPS 2000

This paper presents a novel mathematical framework for improving the accuracy of approximations in graphical models like Boltzmann machines and sigmoid belief networks. By moving beyond the standard first-order "mean field" approximation to a third-order polynomial bound, the authors achieve significantly tighter estimates of the partition function—reducing error by factors of up to ten while maintaining the theoretical "safety" of a lower bound.

TL;DR

The authors derive a general method to create higher-order polynomial bounds for the exponential function, which they apply to approximate the partition function in graphical models. This third-order bound is strictly more accurate than the standard mean field approach and provides a theoretically grounded alternative to the TAP approximation, which can be more accurate but fails to remain a consistent lower bound.

What Problem Does This Paper Address?

In the world of probabilistic graphical models (like neural networks used for unsupervised learning), a recurring nightmare is the partition function ($Z$). To calculate the likelihood of a specific pattern, you often need to sum over every possible state the network could be in. For a network with $N$ neurons, there are $2^N$ states. If $N=100$, that sum is larger than the number of atoms in the universe.

Because we can't calculate $Z$ exactly, we use approximations. The most common is the Mean Field (MF) approximation, which provides a "lower bound"—it gives us a value we know is definitely less than or equal to the true value. This is useful for learning because maximizing the bound also pushes the true likelihood up. However, MF is often "loose" (inaccurate). Another method, the TAP approximation, is more accurate for small weights but isn't a true bound; it can overestimate the truth, making it unreliable for certain learning algorithms.

Methods

The authors introduce a recursive "integration trick" to generate tighter bounds:

  1. The Recursive Bound: If you have a function $f_0(x)$ and a lower bound $b_0(x)$, you can integrate both to create a new pair of functions. By carefully choosing integration constants so the functions match at a specific point $v$, you can create a higher-order bound.
  2. From Linear to Cubic: Starting with the standard linear bound for the exponential function (the tangent line), they apply this trick twice to derive a third-order polynomial bound.
  3. Variational Parameters: This new bound introduces extra "knobs" (variational parameters $\mu$ and $\lambda$). By tuning these, the bound can be made as tight as possible for the specific data at hand.
  4. Application: They apply this cubic bound to the energy functions of Boltzmann Machines and Sigmoid Belief Networks (SBNs). For SBNs, they also incorporate an additional bound to handle the non-linear "log-cosh" terms in the energy function.

Datasets

The paper evaluates the method using synthetic "toy" models where the exact partition function can still be calculated for comparison:

  • Boltzmann Machines: A 20-neuron "SK-model" (Sherrington-Kirkpatrick), where weights and thresholds are drawn from Gaussian distributions.
  • Sigmoid Belief Networks: A layered "toy" architecture consisting of 12 neurons (2 top-layer, 4 middle-layer, 6 visible-layer). Weights were drawn from uniform distributions over $[-1, 1]$ and $[-2, 2]$.

Key Insights and Ideas

  • The "Strictly Better" Guarantee: Because the third-order bound is a direct extension of the mean field bound, the authors prove it is strictly better. You get more accuracy without losing the mathematical properties that make mean field useful.
  • Bridging the Gap to TAP: The authors show that for small weights, their third-order bound actually converges to the TAP approximation. This is a major "aha" moment: it provides a way to get TAP-like accuracy while keeping the "safety" of a lower bound that TAP lacks.
  • Freedom of Choice: The method is general. While they focus on the third-order bound, the integration trick can theoretically be used to create 5th, 7th, or any odd-order polynomial bound.

Key Results

Comparison of partition function approximations
  • Stability: Unlike the TAP approximation, which "diverges" and becomes wildly inaccurate once weights exceed a certain threshold (the radius of convergence), the third-order bound remains stable and continues to provide a valid, close lower bound.
  • Error Reduction: In the Sigmoid Belief Network toy problem, the third-order bound reduced the relative error by a factor of ten compared to the mean field bound when weights were small. Even with larger weights, the error was reduced by a factor of four.
SBN architecture and relative error comparison
  • Complexity: The authors note that for SBNs, the bound can be computed with a worst-case complexity of $O(N^4)$, making it computationally tractable for reasonably sized networks.

Limitations and Future Work

  • Optimization Cost: While the bound is tighter, finding the optimal variational parameters is more computationally expensive than standard mean field. In their SBN experiments, the authors actually used suboptimal parameters to save time, noting that the third-order structure itself provided most of the gain.
  • Scaling: The paper tests on small networks (up to 20 neurons). How this scales to modern deep learning architectures with thousands or millions of neurons remains an open question.
  • Combining Methods: The authors suggest that this "higher-order" approach could be combined with "structured" variational methods (which model dependencies between neurons rather than assuming they are independent) to create even tighter bounds.

Summary updated

BibTeX
@inproceedings{leisink2000tighter,
  author = {Martijn A. R. Leisink and Hilbert J. Kappen},
  title = {{A Tighter Bound for Graphical Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2000},
}
Figure