A General Algorithm for Approximate Inference and Its Application to Hybrid Bayes Nets

Daphne Koller, Uri Lerner, Dragomir AnguelovUAI 1999

Abstract

The clique tree algorithm is the standard method for doing inference in Bayesian networks. It works by manipulating clique potentials - distributions over the variables in a clique. While this approach works well for many networks, it is limited by the need to maintain an exact representation of the clique potentials. This paper presents a new unified approach that combines approximate inference and the clique tree algorithm, thereby circumventing this limitation. Many known approximate inference algorithms can be viewed as instances of this approach. The algorithm essentially does clique tree propagation, using approximate inference to estimate the densities in each clique. In many settings, the computation of the approximate clique potential can be done easily using statistical importance sampling. Iterations are used to gradually improve the quality of the estimation.

Introduction

Bayesian Networks (BNs) are powerful tools for modeling uncertainty, but performing inference in complex models is computationally demanding. The gold standard for exact inference, the clique tree algorithm, faces two primary limitations. First, in large, highly connected networks, clique sizes grow exponentially, exceeding memory capacity. Second, "hybrid" domains—containing both discrete and continuous variables—often lack closed-form mathematical solutions for intermediate calculations.

A Unified Framework for Approximate Inference

To address these challenges, this paper introduces a framework that retains the structural efficiency of clique tree propagation while replacing exact calculations with an approximate pipeline.

Approximate Messages and Density Trees

Instead of exact probability tables, cliques exchange messages represented by Density Trees. These structures, similar to decision trees, store probability densities (mixtures of Gaussians) at their leaves, allowing for a compact representation of complex, multi-modal distributions.

Hybrid modeling components: (a) density tree representation, (b) softmax CPDs for discrete-continuous dependencies, and (c) the Thermostat Network topology.

Iterative Importance Sampling

The algorithm computes messages using Importance Sampling to focus on the most probable regions of the distribution. Crucially, the process is iterative: the current estimate of a clique’s distribution guides sampling in the next round. This "feedback loop" allows the algorithm to focus computational effort on the most relevant parts of the state space.

Expressive Hybrid Modeling

The authors also introduce generalized Softmax CPDs to model discrete variables with continuous parents. This provides a more expressive way to handle hybrid dependencies compared to traditional linear-Gaussian constraints.

Experimental Evaluation

The researchers evaluated the algorithm on two primary models:

  1. The BAT Network: A real-world-inspired "Bayesian Automated Taxi" network for monitoring autonomous vehicle systems, featuring 72 variables (23 continuous).
  2. The Thermostat Network: A hybrid BN designed to test the new classifier nodes (discrete nodes with continuous parents).

Key Results and Insights

The algorithm demonstrated several key advantages over traditional methods:

  • Scaling with Evidence: Unlike Likelihood Weighting (LW), which degrades as evidence is added, this iterative approach remains robust, outperforming LW by orders of magnitude in high-evidence scenarios.
  • Convergence: Experiments showed that the KL-error steadily decreased with each iteration, confirming that the iterative scheme successfully refines global estimates.
  • Importance of Regularization: Fitting Gaussian mixtures can lead to overfitting (variances collapsing to zero). The implementation of a regularized EM algorithm proved essential for stability.
Algorithm convergence showing the impact of the regularization parameter (lambda) on stability and error across iterations.

Conclusion

This unified approach provides a robust path for inference in complex hybrid Bayesian networks. Future work may explore more sophisticated splitting rules for density trees and dynamic sample size adaptation to further improve efficiency and accuracy.

Summary updated

BibTeX
@inproceedings{koller1999general,
  author = {Daphne Koller and Uri Lerner and Dragomir Anguelov},
  title = {{A General Algorithm for Approximate Inference and Its Application to Hybrid Bayes Nets}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {1999},
  url = {https://openreview.net/forum?id=DwKIqy12d9o},
}
Figure