Abstract
This paper addresses the estimation of parameters of a Bayesian network from incomplete data. The task is usually tackled by running the Expectation-Maximization (EM) algorithm several times in order to obtain a high log-likelihood estimate. We argue that choosing the maximum log-likelihood estimate (as well as the maximum penalized log-likelihood and the maximum a posteriori estimate) has severe drawbacks, being affected both by overfitting and model uncertainty. Two ideas are discussed to overcome these issues: a maximum entropy approach and a Bayesian model averaging approach. Both ideas can be easily applied on top of EM, while the entropy idea can be also implemented in a more sophisticated way, through a dedicated non-linear solver. A vast set of experiments shows that these ideas produce significantly better estimates and inferences than the traditional and widely used maximum (penalized) log-likelihood and maximum a posteriori estimates. In particular, if EM is adopted as optimization engine, the model averaging approach is the best performing one; its performance is matched by the entropy approach when implemented using the non-linear solver. The results suggest that the applicability of these ideas is immediate (they are easy to implement and to integrate in currently available inference engines) and that they constitute a better way to learn Bayesian network parameters.
Introduction
Bayesian Networks (BNs) are powerful tools for probabilistic reasoning, but their effectiveness depends heavily on the accuracy of their conditional probability tables (parameters). In real-world applications, datasets are frequently incomplete. When data is "Missing at Random" (MAR), the standard approach is to use the Expectation-Maximization (EM) algorithm. However, the standard practice of running EM multiple times and selecting the single estimate with the highest Maximum A Posteriori (MAP) score often leads to overfitting and ignores the inherent uncertainty in the model.
Methodology
The researchers propose moving beyond the "winner-take-all" MAP approach by introducing two alternative strategies:
- Bayesian Model Averaging (BMA): Instead of selecting a single best run, this method treats the various EM runs as an ensemble. Parameters are averaged across all runs, weighted by their posterior probabilities. This approach effectively captures model uncertainty and can be implemented as a simple post-processing step for standard EM.
- Maximum Entropy (Entropy): This method selects the most "conservative" estimate among those that achieve a high score. By choosing the distribution with the highest entropy within a certain margin of the maximum score, the model avoids making overly strong probabilistic claims not supported by the data. This can be implemented by selecting from EM runs or via a dedicated non-linear solver ($C\_entropy$).
Analysis of the Score Landscape
A primary motivation for these methods is the observation that the likelihood landscape in high-dimensional parameter spaces is often a "flat plateau" rather than a sharp peak. Many different parameter settings can explain the data nearly equally well.
As illustrated in Figure 1, there is a complex relationship between the MAP score, entropy, and the Kullback-Leibler (KL) divergence (which measures the error relative to the true distribution). Crucially, the highest MAP scores do not always correspond to the lowest KL-divergence. In many cases, models with slightly lower scores but higher entropy provide a better fit to the underlying truth, acting as a form of regularization.
Experimental Results
The methods were evaluated using benchmark networks such as Asia and Alarm, alongside synthetic benchmarks designed for difficult missing-data scenarios. Success was measured by the reduction in KL-divergence compared to the true distribution.
Figure 2 summarizes performance across different sample sizes ($n$) and missingness percentages ($mp$). The data indicates that both BMA and Entropy approaches provide robust performance for both joint and leaf node inferences. In general, BMA was found to be the most effective approach when using standard EM as the underlying engine, while the dedicated entropy solver ($C\_entropy$) achieved comparable results.
Conclusion
This research demonstrates that the traditional focus on maximizing the MAP score in Bayesian Network training is often counterproductive due to overfitting. By adopting Bayesian Model Averaging or Maximum Entropy principles, practitioners can produce models that generalize significantly better. These methods are easy to integrate into existing inference engines and represent a more robust standard for parameter learning from incomplete data.
Summary updated