Quotient Normalized Maximum Likelihood Criterion for Learning Bayesian Network Structures

Tomi Silander, Janne Leppä-aho, Elias Jääsaari, Teemu Roos

Learning the structure of a Bayesian Network (BN) is a fundamental challenge in machine learning, akin to mapping hidden dependencies within a complex system from observed data. The goal is to find a model that is accurate enough to predict future outcomes but simple enough to remain interpretable. This is essentially a model selection problem, where researchers have historically struggled with scoring criteria that either require manual hyperparameter tuning or produce overly complex models.

In their AISTATS 2018 paper, Silander et al. introduce the Quotient Normalized Maximum Likelihood (qNML) criterion. This "hyperparameter-free" approach offers a robust solution that balances accuracy and simplicity while satisfying critical theoretical properties like score equivalence.

The Challenge of Model Selection

To learn a Bayesian network, we need a way to score how well a proposed graph structure fits the observed data. Traditional scoring functions have notable drawbacks:

  • BIC (Bayesian Information Criterion): Reliable but often requires massive amounts of data to identify the correct structure.
  • BDeu (Bayesian Dirichlet equivalent uniform): A popular choice that is unfortunately highly sensitive to the "prior" hyperparameter ($\alpha$). Incorrect selection of $\alpha$ can lead the model to hallucinate non-existent complex dependencies.
  • fNML (factorized NML): A parameter-free approach that performs well but lacks score equivalence. In BN theory, different graphs can represent the same dependencies (e.g., $X \to Y$ and $Y \to X$); a robust score should assign them the same value, which fNML fails to do.

The qNML Criterion

The authors derive qNML through the lens of Minimum Description Length (MDL), addressing the limitations of previous methods through three key innovations:

  1. The Quotient Approach: Unlike fNML, which partitions data columns, qNML defines the score for a variable and its parents as the ratio (quotient) of two Normalized Maximum Likelihood codes. This ensures the score remains consistent for equivalent structures.
  2. Efficient Approximation: Calculating exact NML is computationally prohibitive. The authors utilize a highly accurate approximation formula (developed by Szpankowski and Weinberger), allowing qNML to be computed as quickly as BIC or BDeu.
  3. Regularity: The authors prove that qNML is "regular," meaning it inherently avoids preferring complex models when a simpler one fits the data equally well.

Experimental Evaluation

The criterion was evaluated using two distinct approaches:

  • Synthetic Benchmarks: Data generated from five well-known networks (Asia, Cancer, Earthquake, Sachs, and Survey) to test structural recovery.
  • UCI Repository: 20 real-world datasets (e.g., Iris, Wine, Adult) to test predictive accuracy and parsimony.

Key Results

Parsimony and Model Complexity

A major finding is that qNML produces significantly simpler models (fewer parameters) than fNML or BDeu without sacrificing predictive power. This makes the resulting networks much easier for humans to interpret.

Average number of parameters vs. sample size for the BreastC dataset, illustrating the parsimony of qNML compared to BDeu and fNML.

On the 20 UCI datasets, qNML was more parsimonious than fNML in 19 cases. For instance, on the PostOpe dataset, BDeu suggested a model with 1,217 parameters, while qNML achieved similar accuracy with only 146.

Predictive Performance and Robustness

When averaged across all datasets and sample sizes, qNML emerged as a highly robust choice. While fNML sometimes had a slightly better average rank, qNML showed the lowest standard deviation in performance, indicating it is the most reliable choice across diverse data types.

Average rank of different scoring criteria across sample sizes. Lower rank is better; qNML (pink) shows superior performance as sample size increases.

Conclusion

qNML represents a significant step forward in Bayesian network learning. By providing a parameter-free, score-equivalent, and parsimonious criterion, it bridges the gap between the simplicity of BIC and the sensitivity of BDeu. While currently focused on discrete data, future work may extend this quotient-based logic to continuous and hybrid networks.

Summary updated

BibTeX
@inproceedings{silander2018quotient,
  author = {Tomi Silander and Janne Leppä-aho and Elias Jääsaari and Teemu Roos},
  title = {{Quotient Normalized Maximum Likelihood Criterion for Learning Bayesian Network Structures}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
  url = {https://openreview.net/forum?id=I5GivghuozS},
}
Figure