EDML: A Method for Learning Parameters in Bayesian Networks

Arthur Choi, Khaled S. Refaat, Adnan Darwiche

TL;DR

The paper introduces EDML, a novel parameter learning algorithm for binary Bayesian networks with incomplete data, serving as a compelling alternative to the standard Expectation-Maximization (EM) algorithm. Derived from approximate network inference rather than local optimization, EDML exhibits distinct convergence properties, including the ability to find optimal parameters in a single iteration under specific missing-data conditions.

What Problem Does This Paper Address?

Learning the parameters (conditional probability tables) of a Bayesian network from incomplete datasets is a foundational challenge in machine learning. The standard tool for this task is the Expectation-Maximization (EM) algorithm. While reliable, EM is a local search method that can suffer from painfully slow convergence and get trapped in local optima, particularly when dealing with hidden (latent) variables.

The authors address this efficiency bottleneck by shifting the paradigm: instead of treating parameter estimation purely as a mathematical optimization problem, they reframe it as a probabilistic inference problem on a specialized "meta-network" where the parameters themselves are treated as hidden variables.

Methods

EDML (which stands for Edge-Deletion MAP-Learning) is built on two primary conceptual pillars:

  1. Estimation from Soft Observations: The authors generalize the classic principle of parameter estimation. Instead of assuming data points are hard facts, they use Bayes factors to mathematically quantify "soft evidence" (uncertain observations). They prove that even with soft evidence, Maximum Likelihood (ML) and Maximum A Posteriori (MAP) estimates remain unique.
  2. Examples as Soft Observations: EDML interprets missing values in an incomplete dataset as providing soft evidence about the network's variables.

Structurally, EDML operates similarly to EM by iterating between two steps: computing network marginals and updating parameters. However, EDML derives its update equations by applying an edge-deletion approximate inference algorithm to a meta-network. By deleting specific "copy edges," the complex global network is broken down into disconnected "parameter islands" and "example islands." This decouples the global optimization problem into independent, parallelizable sub-problems for each parameter, which are then solved using standard optimization techniques like the conjugate gradient method.

Estimation given independent observations

Datasets

The authors evaluated EDML against EM using simulated datasets of size $2^{10}$ generated from two distinct suites of networks:

  • Benchmark Networks:
  • spect: A Naive Bayes network from the UCI Machine Learning repository (1 class variable, 22 attributes).
  • win95pts: A Windows 95 printer troubleshooting expert system (76 variables).
  • emdec6g (168 variables) and tcc4e (98 variables): Noisy-OR networks used for medical and fault diagnosis.
  • Haplotype Networks: 74 distinct networks with bounded treewidth learned from binary haplotype data.

In all evaluation scenarios, $\frac{1}{4}$ (25%) of the variables were randomly selected to be completely hidden (latent) to simulate challenging incomplete-data environments.

Key Insights and Ideas

  • Inference vs. Local Search: Because EDML is fundamentally an inference algorithm rather than a gradient-based local search, it doesn't just blindly climb the nearest hill. It leverages the structural properties of the network to jump across the parameter space.
  • Instant Convergence (Theorem 1): The most significant theoretical breakthrough is that when missing data is restricted to leaf nodes, EDML is mathematically guaranteed to find the unique, globally optimal parameter estimates in exactly one iteration, regardless of the initial random seed. EM, by contrast, remains highly sensitive to its initial seed and requires multiple iterations to converge in the exact same scenario.
A pruning of the meta network when parents are observed

Key Results

  • Fewer Iterations: On the spect network (where most hidden nodes are leaves), EDML converged almost instantly to high-quality estimates, whereas EM required hundreds of iterations to achieve comparable results.
  • Higher Quality Estimates: Across 222 test cases on the haplotype networks (74 networks $\times$ 3 random seeds), EDML consistently found parameter estimates with a higher or equal log posterior probability compared to EM.
  • Time vs. Iteration Trade-off: EDML requires solving an optimization sub-problem per distinct data example, meaning its individual iterations take slightly longer than EM's closed-form updates. However, because it requires drastically fewer iterations, EDML often achieves better parameter quality in less overall wall-clock time.

Limitations and Future Work

  • Restricted to Binary Variables: The current mathematical formulation and empirical results are strictly limited to binary variables. While the authors note that the edge-deletion framework theoretically generalizes to multi-valued variables, the math becomes significantly more complex because simple Bayes factors no longer apply directly.
  • Per-Iteration Computational Cost: For networks with very high treewidth or massive datasets, the time spent solving EDML's internal optimization sub-problems could become a bottleneck.
  • Future Directions: The authors plan to extend EDML to multi-valued variables, conduct a more comprehensive empirical evaluation, and identify further structural network properties that guarantee EDML's superiority over EM.

Summary updated

BibTeX
@inproceedings{choi2011edml,
  author = {Arthur Choi and Khaled S. Refaat and Adnan Darwiche},
  title = {{EDML: A Method for Learning Parameters in Bayesian Networks}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2011},
}
Figure