Efficient parameter learning of Bayesian network classifiers

Nayyar Abbas Zaidi, Geoffrey I. Webb, Mark James Carman, François Petitjean, Wray L. Buntine, Mike Hynes, Hans De Sterck

Abstract

Bayesian network classifiers often face a trade-off between the training efficiency of generative models and the predictive accuracy of discriminative ones. This paper presents a novel framework, the Weighted Class-Conditional Bayesian Network (Weighted CCBN), which bridges this gap. By utilizing generative probability estimates as a pre-conditioner for discriminative optimization, the proposed method achieves state-of-the-art accuracy with significantly reduced computational overhead. Evaluation across 72 UCI datasets demonstrates that this approach converges in far fewer iterations than standard discriminative models, making it highly effective for large-scale data applications.

Introduction: The Efficiency Gap

In machine learning, practitioners typically choose between two paradigms for classification. Generative learning (e.g., Naive Bayes) is computationally efficient, relying on simple frequency counting, but often suffers from high bias due to strong independence assumptions. Conversely, discriminative learning (e.g., Logistic Regression) focuses on direct class prediction, offering superior accuracy at the cost of iterative optimization. For complex Bayesian networks (BNs), this optimization is often computationally prohibitive.

The researchers address this "efficiency gap" by proposing a method that captures the superior classification performance of discriminative models without the massive computational overhead typically required for training.

Methodology: Weighted CCBN

The authors introduce the Weighted Class-Conditional Bayesian Network (Weighted CCBN). This framework employs a two-step learning process designed to optimize the search space for discriminative parameters:

  1. The Generative Step: Standard generative parameters (denoted as $\theta$) are calculated using maximum likelihood estimation (MLE).
  2. The Discriminative Step: Instead of learning new parameters from scratch, the model introduces weights ($w$) for every generative parameter. These weights are then optimized to maximize the Conditional Log-Likelihood (CLL).

Mathematically, this re-parameterization acts as a pre-conditioner. Standard discriminative training often struggles with "ill-conditioned" search spaces where gradients do not point directly toward the global minimum. By starting with generative estimates, the Weighted CCBN "rounds out" this space, allowing first-order optimization algorithms like L-BFGS to converge much faster.

To support various levels of model complexity, the authors also introduce nested parameterizations. These range from a single weight per attribute to specific weights for every combination of attribute-value, class, and parent-value. The notation used to define these relationships is summarized below:

Notation and descriptions for the Bayesian network classifier framework.

Experimental Setup

The framework was evaluated using 72 natural domains from the UCI machine learning repository. The study included several large-scale datasets to test scalability, such as:

  • Poker-hand: 1,175,067 instances
  • Covertype: 581,012 instances
  • Census-Income: 299,285 instances
  • Adult, LetterRecognition, and Nursery.

This diverse selection allowed the researchers to validate the method across different feature types, class counts, and data volumes.

Key Results

  • Convergence Speed: The Weighted CCBN ($M_w^{B^*}$) converged significantly faster than standard discriminative models. On average, it required 10 to 15 fewer iterations to reach the same likelihood as its competitors.
  • Training Efficiency: On large-scale datasets, the weighted approach was nearly twice as fast as standard discriminative models and significantly outperformed "Extended" discriminative models in terms of wall-clock time.
  • Predictive Accuracy: The method achieved equivalent or superior 0-1 Loss and Root Mean Squared Error (RMSE) compared to state-of-the-art discriminative parameterizations, while consistently outperforming pure generative learning.
  • Statistical Significance: Using Friedman and Nemenyi tests, the authors confirmed that the speed improvements were statistically significant across the entire 72-dataset suite.

Discussion and Future Work

The "Weighted" approach demonstrates that generative estimates are not merely rough approximations but mathematically useful starting points that reshape the optimization landscape. This allows for a better bias-variance tradeoff: reducing the bias of generative models while controlling the variance typically associated with discriminative training.

Future research directions include:

  • Handling Unseen Data: Developing hierarchical discriminative algorithms that can "back-off" to simpler probabilities when encountering feature combinations not seen during training.
  • Structural Complexity: Extending the framework to more complex network structures where the optimization objective may no longer be convex.
  • Regularization: Further investigation into tuning L2-regularization parameters to better interpolate between generative and discriminative models.

Summary updated

BibTeX
@article{zaidi2017efficient,
  author = {Nayyar Abbas Zaidi and Geoffrey I. Webb and Mark James Carman and François Petitjean and Wray L. Buntine and Mike Hynes and Hans De Sterck},
  title = {{Efficient parameter learning of Bayesian network classifiers}},
  journal = {Machine Learning},
  year = {2017},
  doi = {10.1007/s10994-016-5619-z},
}
Figure