Order-based Discriminative Structure Learning for Bayesian Network Classifiers

Franz Pernkopf, Jeff A. BilmesISAIM 2008

Abstract

Bayesian Network Classifiers (BNCs) are valued for their interpretability and inherent ability to handle missing data. However, learning optimal structures for BNCs is computationally intensive. This paper presents a fast, order-based greedy heuristic for discriminative structure learning. By utilizing conditional mutual information to establish feature ordering, the proposed method achieves classification performance comparable to state-of-the-art discriminative techniques while offering a significant 10x speedup and maintaining robustness to missing data.

Introduction

In machine learning, BNCs typically rely on generative learning, which models the joint probability distribution of features and classes. While effective, generative models often prioritize edges representing strong data correlations that may not contribute to classification accuracy. Discriminative learning, which focuses on class boundaries, is generally superior for classification tasks but suffers from high computational complexity. Discriminative scoring functions, such as the Classification Rate (CR), do not decompose easily, making the search for an optimal structure NP-complete and slow for large-scale datasets.

Methodology: Order-Based Greedy Heuristic

To address the computational bottleneck, the authors propose a two-step "order-based" heuristic that narrows the search space while preserving discriminative power:

  1. Feature Ordering: A total ordering of the $N$ features is established using metrics based on Conditional Mutual Information (CMI). This ranks features according to the information they provide about the class variable, conditioned on preceding features in the sequence.
  2. Greedy Parent Selection: With a fixed order, the algorithm searches for optimal parents for each node. A critical constraint is that a node can only select parents from variables appearing earlier in the ordering, which prevents cycles and simplifies the search.
  3. Discriminative Scoring: The Classification Rate (CR) is used as the objective function during parent selection.

This approach reduces the complexity of finding a Tree-Augmented Naive Bayes (TAN) structure from $O(N^3)$ to $O(N^2)$ score evaluations, significantly enhancing efficiency.

Experimental Results

The proposed methods were evaluated across diverse benchmarks, including 25 UCI datasets, the TIMIT speech database, and the MNIST handwritten digit dataset.

Table 1: Classification performance across various datasets comparing generative (ML) and discriminative (CL/CR) approaches.

As shown in the results table, the discriminative TAN variants consistently outperform standard Naive Bayes (NB) and generative TAN models. On the MNIST dataset, the discriminative TAN classifier reached approximately 92.6% accuracy, which improved to 93.7% when utilizing a "2-tree" structure (allowing nodes to have two parents). Beyond accuracy, the speed improvements were substantial; for the TIMIT-39 dataset, the OMI-CR method required only 2.08% of the time taken by a standard discriminative greedy search.

Robustness to Missing Data

A primary advantage of BNCs over purely discriminative models like SVMs is their ability to handle missing features through marginalization. The research demonstrates that discriminatively structured networks maintain their performance edge even as the number of missing features increases.

Figure 1: Classification performance on TIMIT-4 (left) and TIMIT-6 (right) datasets as the number of missing features increases.

In experiments on TIMIT-4 and TIMIT-6 data, the discriminative TAN and 2-tree models consistently outperformed generative counterparts across various levels of data incompleteness. This confirms that the proposed structure learning retains the generative benefit of handling missing variables at test time without requiring model retraining.

Conclusion

The order-based heuristic for discriminative BNC structure learning provides a powerful alternative to traditional methods. By decoupling feature ordering from parent selection, the algorithm achieves a 10x speedup without sacrificing accuracy. Furthermore, the results highlight that the network structure itself is often more critical for classification than parameter tuning, and discriminative structures effectively ignore "distracting" correlations that do not aid in class separation. While deep learning models may achieve higher raw accuracy on specific tasks like MNIST, this method represents a significant advancement in the efficiency and utility of Bayesian Network Classifiers.

Summary updated

BibTeX
@inproceedings{pernkopf2008order,
  author = {Franz Pernkopf and Jeff A. Bilmes},
  title = {{Order-based Discriminative Structure Learning for Bayesian Network Classifiers}},
  booktitle = {ISAIM},
  year = {2008},
}
Figure