Bounds on marginal probability distributions

Joris M. Mooij, Hilbert J. KappenNeurIPS 2008

Introduction

In the realm of graphical models, calculating the marginal probability of a specific variable—known as inference—is a fundamental yet notoriously NP-hard task. To circumvent this computational bottleneck, researchers frequently rely on approximate methods like Belief Propagation (BP). While BP is fast and often highly accurate in practice, it typically comes with no formal guarantees; practitioners cannot easily determine how far the approximate "belief" deviates from the true probability.

Existing methods designed to bound this error have significant drawbacks. They are often restricted to "pairwise" interactions, which limits their applicability in complex Bayesian networks, or they are computationally prohibitive for large-scale problems. This paper introduces a novel approach called Box Propagation, which seeks a practical middle ground: providing rigorous bounds for general factor graphs while remaining computationally efficient for variables with a small number of states.

The Box Propagation Method

The core innovation of Box Propagation is transforming the standard message-passing framework of BP into the propagation of convex sets of messages.

Illustration of subtree selection and message passing in a factor graph.

The algorithm operates through several key steps:

  1. Subtree Selection: For a target variable of interest, the algorithm identifies a specific subtree within the larger, potentially loopy factor graph rooted at that variable.
  2. Propagating Boxes: Instead of passing a single probability value (a standard "message"), the algorithm passes a "box." This box is a convex set defined by rigorous upper and lower bounds for each possible state of a variable.
  3. Handling "Missing" Information: For parts of the graph excluded from the chosen subtree, the algorithm uses a "simplex"—a mathematical set representing all possible valid probability distributions. This ensures the resulting bound remains strictly rigorous despite the ignored graph structure.
  4. Update Rules: The authors derive specific mathematical rules, based on lemmas regarding normalization and partial summation, to update these boxes as they move from the leaves of the subtree toward the root.

Crucially, the final "box" computed at the root is guaranteed to contain both the exact marginal probability and the approximate BP belief.

Experimental Evaluation and Results

The authors evaluated Box Propagation on three distinct types of factor graphs to test its scalability and tightness against existing methods:

  • PROMEDAS: Simulated patient cases from a real-world medical diagnostic system featuring binary variables and complex triple-variable interactions.
  • Large-scale Grid: A 100x100 grid of binary variables with strong interactions, representing a problem completely intractable for exact inference.
  • Small Toroidal Grid: An 8x8 grid with medium-strength interactions, used to benchmark against a wider variety of existing bounding methods that cannot scale to larger problems.
Comparison of Box Propagation gap sizes against competing methods across PROMEDAS, 100x100 grid, and 8x8 toroidal grid datasets.

The results demonstrate significant advantages for Box Propagation, particularly in complex and large-scale scenarios:

  • Superiority in Medical Diagnosis: On the PROMEDAS dataset, Box Propagation produced tighter bounds than the previous state-of-the-art ("Bound Propagation") for 1,269 out of 1,270 variables.
  • Massive Speedups: Box Propagation proved vastly more efficient. For the medical dataset, it processed nine instances in just 51 seconds, whereas the competing Bound Propagation method failed to finish even 7 instances after 20 hours.
  • Robustness on Large Grids: On the intractable 100x100 grid with strong interactions, Box Propagation yielded the tightest bounds compared to other modern techniques like Ihler’s SAW-tree method.
  • Competitive Baseline: On the smaller 8x8 grid, it ranked third among a large field of competitors, proving to be a highly robust "all-rounder" even when it wasn't the absolute tightest bound.

Discussion and Limitations

By constructing a bound that contains both the true marginal and the BP estimate, Box Propagation provides a practical tool for researchers to quantify exactly how much they can trust their BP results. Furthermore, its ability to handle factors involving three or more variables makes it applicable to a much wider range of real-world Bayesian networks than previous pairwise-only methods.

However, the method does have limitations. The computational cost is exponential in the number of possible values a variable can take. While lightning-fast for binary or ternary variables, it becomes impractical for variables with very large state spaces. Additionally, while the bounds are rigorously "safe," they can sometimes be conservative; the actual error in BP is often an order of magnitude smaller than the width of the bound.

Finally, the method highlights an ongoing mystery in graphical models. Box Propagation gains its rigor by ignoring the "loops" in a graph and focusing on a subtree. Yet, BP often performs better than these subtree-based bounds suggest because it "recycles" information through those very loops. Future work may focus on optimizing subtree selection and finding ways to formally quantify the beneficial effects of loop cycling.

Summary updated

BibTeX
@inproceedings{mooij2008bounds,
  author = {Joris M. Mooij and Hilbert J. Kappen},
  title = {{Bounds on marginal probability distributions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2008},
}
Figure