Introduction
In large-scale probabilistic graphical models, calculating exact marginal probabilities (inference) is often intractable because it requires summing over an exponential number of hidden states. To bypass this, researchers typically use mean field theory. The standard first-order mean field approach uses Jensen’s inequality to find a simple, factorized distribution that approximates the complex target distribution. While computationally efficient, this provides only a lower bound that can be quite far from the truth.
In undirected models (like Boltzmann Machines), physicists developed the TAP (Thouless-Anderson-Palmer) approximation to add a second-order correction term, greatly improving accuracy. However, applying this to directed models (like Bayesian networks) was historically difficult because they often lack a simple "partition function" to expand around. This paper introduces a second-order mean field theory for directed graphical models, providing a more accurate alternative to standard variational methods with manageable computational overhead.
Methods
The authors derive a second-order approximation using an information-theoretic argument rather than the traditional physics-based approach:
- Taylor Expansion: They treat the space of all probability distributions as a manifold and perform a Taylor expansion of the difference in log-probabilities between the true distribution and a simplified, factorized "mean field" distribution.
- The Correction Term: The first-order term recovers standard mean field equations. The second-order term provides a "correction" that accounts for correlations between variables ignored by the first-order model.
- Single-Overlap Graphs: The authors identify a specific class of graphs where potentials share at most one node. For these, they provide a simplified version of the second-order equations to keep complexity low.
- Sigmoid Belief Networks (SBNs): They derive specific equations for SBNs. The resulting terms have clear intuitive meanings, representing concepts like "explaining away" and "grandchild effects."
Datasets
The paper evaluates the theory using two primary benchmarks:
- The ASIA (Chest Clinic) Model: A classic toy Bayesian network with 8 binary variables representing medical diagnoses and symptoms.
- Random Sigmoid Belief Networks: Fully connected SBNs with random weights (following a normal distribution) were generated to test the scalability and accuracy of the method across different coupling strengths.
Key Insights
- Independence from Partition Functions: The most significant theoretical contribution is showing that a partition function is not needed to derive higher-order mean field corrections. This allows for TAP-like corrections in a wider array of directed models.
- Intuitive Corrections: In the SBN derivation, the math naturally produces terms corresponding to fundamental reasoning patterns in AI, such as the "explaining away" term emerging as a second-order correction.
- Complexity Trade-off: While the second-order term is more complex to compute, for many practical graphs, it remains within the same exponential complexity class as the first-order method, just with a higher polynomial prefactor.
Results
- Accuracy Boost: On the ASIA model, the maximal error in marginal probabilities dropped from 0.213 (first-order) to 0.061 (second-order).
- Efficiency: For a large random SBN with 500 hidden nodes, the second-order equations converged in just 37 seconds on a Pentium 300 MHz processor.
- Superiority over Variational Bounds: The approach is both faster and slightly more accurate than popular variational approaches that require additional approximations to handle the sigmoid function.
Limitations and Future Work
- Not a Bound: Unlike first-order variational methods, the second-order approximation is not a guaranteed lower bound on the probability. It is more accurate on average but loses that specific theoretical guarantee.
- Clique Size Sensitivity: The method still scales exponentially with the size of the largest clique. If a model has very large, dense clusters of variables, the approximation becomes computationally expensive.
- Non-Factorized Manifolds: Future work could involve expanding around a "tractable but non-factorized" distribution (like a tree-structured graph) rather than a completely independent factorized one, potentially leading to better approximations for highly correlated systems.
Summary updated