Tractable Variational Structures for Approximating Graphical Models

David Barber, Wim WiegerinckNeurIPS 1998

Abstract

This paper introduces two new classes of "tractable" variational distributions—decimatable Boltzmann Machines and structured Belief Networks—to approximate complex graphical models. By moving beyond simple factorized (independent) approximations while maintaining computational efficiency, the authors achieve significantly tighter bounds on data likelihood using fewer parameters than complex mixture models.

Introduction: The Curse of Dimensionality

Graphical models, such as Boltzmann Machines (undirected) and Belief Networks (directed), are essential for modeling uncertainty in artificial intelligence. However, they suffer from a "curse of dimensionality." As the number of variables (nodes) in the graph grows, calculating the exact probability of observed data becomes exponentially difficult.

To circumvent this, researchers often employ variational inference, which approximates a complex, intractable distribution with a simpler, tractable one ($Q$). The standard choice for $Q$ is a "factorized" model where every variable is assumed to be independent—often referred to as the "mean-field" approach. While computationally fast, this approach is often too simplistic because it entirely ignores the correlations between variables.

This paper asks a fundamental question: Can we find approximating distributions that are richer than independent models but still computationally efficient?

Proposed Tractable Structures

The authors propose two primary structures for the approximating distribution $Q$ that capture variable dependencies without sacrificing tractability.

1. Decimatable Boltzmann Machines (Undirected)

Boltzmann Machines are notoriously difficult to work with because calculating their "partition function" (a normalization constant) is an NP-hard problem. To solve this, the authors utilize "decimation rules."

Node decimation in a Boltzmann Machine

These rules rely on specific graph structures where nodes can be systematically removed (decimated) one by one while adjusting the remaining weights to preserve the distribution's properties. This structural constraint allows the partition function to be calculated in linear time relative to the number of nodes.

2. Tractable Belief Networks (Directed)

For directed models, the authors suggest using structures with low "maximal clique sizes," such as trees or thin networks. These sparse structures allow for efficient, exact inference using standard tools like the Junction Tree Algorithm.

The core mathematical contribution of the paper is the derivation of generalized mean-field equations for these structures. Instead of merely updating independent probabilities, these equations allow for the iterative optimization of the parameters within these structured graphs to best fit the target complex model. For Boltzmann Machine updates, the optimization involves the Fisher information matrix, providing a principled way to navigate the parameter space.

Experimental Setup and Key Results

The methods were evaluated using a synthetic toy benchmark consisting of 500 randomly generated Sigmoid Belief Networks. These networks, featuring both hidden and visible units, were designed to test how well different variational structures could approximate the true log-likelihood of the visible data.

Comparison of variational structures and their relative error distributions

The researchers measured the "relative error" between the true log-likelihood and the variational lower bound across several structural configurations:

  • Standard Mean Field (Disconnected): The baseline independent approximation produced a mean relative error of 0.01571.
  • Structured Network (Clique size 3): Achieved the best overall performance with a mean error of 0.00183.
  • Decimatable BM: Significantly improved the approximation over the baseline, reaching a mean error of 0.0020.
  • Trees vs. Mixtures: A single, well-chosen tractable tree structure (error 0.0089) outperformed a previously reported 5-component mixture of factorized models (error 0.01139). This highlights that structure trumps complexity: the mixture model required roughly 80 parameters, while the tree used only 20.

Another key insight from the experiments is that overlap is everything. A structured approximation (like a chain) only improves performance if its structure aligns with the actual dependencies in the original model. A chain with no graphical overlap performed no better than a standard independent mean-field model.

Limitations and Future Directions

While promising, the approach has limitations. Currently, the structure of the approximating distribution $Q$ must be fixed beforehand; the paper does not provide an automated way to "learn" the optimal tractable structure (e.g., the best tree or decimation path) for a given problem.

Future work could explore scaling these rules to "higher-order" Boltzmann Machines, where three or more variables interact directly. Additionally, the authors suggest that combining these structured approximations with mixture models could lead to even more powerful "super-approximators" for complex graphical models.

Summary updated

BibTeX
@inproceedings{barber1998tractable,
  author = {David Barber and Wim Wiegerinck},
  title = {{Tractable Variational Structures for Approximating Graphical Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1998},
}
Figure