A Note on Bayesian Networks with Latent Root Variables

Marco Zaffalon, Alessandro AntonucciarXiv 2024 · arXiv

TL;DR

Learning parameters in Bayesian networks (BNs) with latent variables is notoriously difficult because the likelihood function often has multiple local maxima. This paper proves that if the latent variables are restricted to the root nodes of the network, the global maximum of the likelihood can be analytically identified and used to verify if learning algorithms like Expectation-Maximization (EM) have truly optimized the model.

What Problem Does This Paper Address?

In a standard Bayesian network where all variables are observed, finding the best parameters is straightforward because the likelihood function is "unimodal"—it has a single peak. However, when some variables are hidden (latent), the likelihood surface becomes bumpy with many local peaks. Standard optimization tools, like the EM algorithm, often get stuck in these local optima, leaving researchers unsure if they’ve found the best possible model.

The authors tackle a specific but common architecture: BNs where the latent variables are root nodes (nodes with no parents). They aim to characterize the global maximum of the likelihood for these models, providing a benchmark to judge the quality of learned parameters.

Methods

The authors employ two clever theoretical maneuvers:

  1. The Empirical Bayesian Network: They show that if you marginalize out the latent root variables, the remaining manifest (observed) variables still factorize as a Bayesian network. They call this the "empirical" BN. Because this empirical model only involves observed variables, its global maximum likelihood can be calculated in closed form.
  2. Deterministic Transformation: To prove their main theorem, the authors describe a method to transform any BN into an equivalent one where all internal nodes are deterministic functions of their parents. This is achieved by adding auxiliary root variables ($U_Z$) that capture the original stochasticity.
FIGURE 2. A BN with deterministic internal CPTs.

By showing that the original BN and this deterministic version share the same marginal distribution over observed variables, they can leverage existing proofs for deterministic networks to cover the general case.

Datasets

This is a theoretical paper and does not utilize specific real-world or benchmark datasets. Instead, it provides a mathematical proof applicable to any dataset $\mathcal{D}$ consisting of observations of the manifest variables $Z$.

Key Insights and Ideas

  • The Global Bound: The most significant insight is that the log-likelihood of the original BN is strictly bounded by the global maximum of the log-likelihood of the empirical BN.
  • Compatibility as Optimality: The authors define a notion of "compatibility." A dataset is compatible with a BN if the conditional probabilities inferred from the BN match the frequencies observed in the data (specifically, the parameters of the empirical BN).
  • The "Aha" Moment: The global maximum of the likelihood is attained if and only if the BN parameters are compatible with the empirical model. This gives researchers a concrete target: if your EM algorithm reaches a likelihood equal to the empirical maximum, you have found the global optimum.

Key Results

  • Theorem 1: Formally states that $l(\theta_Y, \theta'_Z) \le \lambda^*$, where $l$ is the log-likelihood of the original model and $\lambda^*$ is the global maximum of the empirical model.
  • Equality Condition: It proves that $l = \lambda^*$ if and only if the model is compatible with the data.
  • Generalization: This work generalizes previous results that were only known to hold for deterministic networks, proving they apply to any BN with latent root nodes.

Limitations and Future Work

  • Categorical Constraint: The current proof focuses on categorical (discrete) variables. The authors note that extending this to continuous variables is a primary goal for future research.
  • Root Node Restriction: The results are specific to models where latent variables are roots. While this covers many common models (like Latent Class Analysis), it does not yet solve the global optimization problem for BNs with latent variables located deep within the graph structure.
  • Practical Implementation: While the paper provides a theoretical benchmark, it doesn't propose a new learning algorithm, but rather a way to evaluate existing ones like EM.

Summary updated

Abstract

We characterise the likelihood function computed from a Bayesian network with latent variables as root nodes. We show that the marginal distribution over the remaining, manifest, variables also factorises as a Bayesian network, which we call empirical. A dataset of observations of the manifest variables allows us to quantify the parameters of the empirical Bayesian net. We prove that (i) the likelihood of such a dataset from the original Bayesian network is dominated by the global maximum of the likelihood from the empirical one; and that (ii) such a maximum is attained if and only if the parameters of the Bayesian network are consistent with those of the empirical model.
BibTeX
@misc{zaffalon2024note,
  author = {Marco Zaffalon and Alessandro Antonucci},
  title = {{A Note on Bayesian Networks with Latent Root Variables}},
  year = {2024},
  eprint = {2402.17087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.17087},
}

Loading related content...

Figure