IBIA: Bayesian Inference via Incremental Build-Infer-Approximate operations on Clique Trees

Shivani Bathla, Vinita VasudevanarXiv 2022

Abstract

Probabilistic inference in Bayesian Networks (BNs) is a fundamental yet computationally challenging task, particularly when the network's treewidth is high. This paper introduces IBIA (Incremental Build-Infer-Approximate), a novel framework for approximate inference. IBIA constructs a Sequence of Linked Clique Tree Forests (SLCTF) by processing variables in stages. By using mutual information to guide approximations and maintaining user-defined size bounds, IBIA achieves superior accuracy and reliability compared to state-of-the-art iterative and factor-based methods across a large-scale benchmark suite.

Introduction

Probabilistic inference in BNs is essential for applications ranging from medical diagnosis to fault detection. However, exact inference is #P-complete, with complexity scaling exponentially with the treewidth. In high-treewidth networks, approximation is necessary. Existing methods typically fall into two categories: iterative message passing (e.g., Loopy Belief Propagation), which may fail to converge, and factor-based partitioning (e.g., Mini-Bucket Elimination), which can lose critical dependencies. IBIA addresses these limitations by providing a stable, non-iterative framework with a tunable trade-off between accuracy and computational cost.

The IBIA Paradigm

The core of IBIA is the transformation of a BN into a Sequence of Linked Clique Tree Forests (SLCTF). Unlike traditional methods that attempt to build a single, potentially massive clique tree, IBIA builds a chain of smaller, manageable forests through a cyclic three-step process.

Standard compilation of a Bayesian Network into a Clique Tree, which IBIA performs incrementally.

1. Incremental Build

Variables are added to the current clique tree sequentially. To ensure tractability, a maximum clique size bound ($mcs_p$) is enforced. When adding a variable would exceed this bound, the construction phase for the current forest concludes.

2. Inference

Standard exact inference (Belief Propagation) is performed on the resulting bounded forest. Since the cliques are small, this step is computationally efficient.

3. Approximation

To accommodate remaining variables, the current forest is reduced to a target size ($mcs_{im}$). This involves marginalizing out variables not required for subsequent steps. A key innovation is using Mutual Information (MI) to prioritize the preservation of strong dependencies, ensuring that critical information is passed to the next forest in the sequence.

The SLCTF construction process showing the sequence of build, infer, and approximate steps.

Experimental Evaluation

IBIA was evaluated against established methods, including Fractional Belief Propagation (FBP), Weighted Mini-Bucket (WMB), and Iterative Join Graph Propagation (IJGP), using over 500 benchmarks from UAI competitions, genetic linkage analysis (Pedigree), relational data, and structured grids.

Key Results

  • Accuracy: IBIA often reduced error by an order of magnitude compared to competitors, particularly for partition function estimation.
  • Reliability: IBIA successfully processed 523 of 536 benchmarks for posterior marginals, outperforming several exact and approximate solvers.
  • Efficiency: Despite a Python implementation, IBIA demonstrated competitive runtimes, often completing tasks in seconds that caused other methods to time out.

Conclusion

IBIA offers a robust, non-iterative alternative for approximate Bayesian inference. By partitioning the construction process rather than the network itself and leveraging mutual information for intelligent approximation, it provides high accuracy and predictable performance. Future work includes better handling of logical determinism and extending the framework to Dynamic Bayesian Networks.

Summary updated

BibTeX
@misc{bathla2022ibia,
  author = {Shivani Bathla and Vinita Vasudevan},
  title = {{IBIA: Bayesian Inference via Incremental Build-Infer-Approximate operations on Clique Trees}},
  year = {2022},
  eprint = {2202.12003},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.12003},
}
Figure