Machine learning models often fall into one of two camps: generative or discriminative. Generative models, like standard Bayesian Networks (BNs), learn the full probability distribution of the data. They excel at handling missing features and generating new samples, but often lag in raw classification accuracy. Discriminative models, like Support Vector Machines (SVMs), focus solely on the decision boundary between classes. While highly accurate, they discard the underlying data distribution, making them brittle when data is incomplete.
Attempts to train Bayesian Networks discriminatively to boost accuracy usually break their "generative semantics." The resulting probabilities become spurious—they help pick the right class but no longer represent a valid joint distribution. This paper asks: Can we train a BN to have a large margin (like an SVM) while ensuring it remains a robust generative model?
The ML-BN-SVM Framework
To bridge this gap, the authors introduce the Maximum-Likelihood BN-SVM (ML-BN-SVM). This novel optimization framework uses a weighted $\ell_1$-norm regularization instead of the standard $\ell_2$-norm used in SVMs. Crucially, the weights are set to the "likelihood counts" (the frequency of specific feature-class combinations in the data). Mathematically, minimizing this weighted norm is equivalent to maximizing the generative likelihood of the model.
The framework imposes sub-normalization constraints to ensure the parameters represent valid probabilities. For a specific class of network structures called C1-structures (which includes Naive Bayes and Tree-Augmented Naive Bayes), the authors prove this problem is convex, guaranteeing a globally optimal solution. To handle large datasets, they employ a projected gradient descent method that scales linearly with the number of samples and features.
The Generative-Discriminative Slider
A key insight of the ML-BN-SVM is the use of a tuning parameter, $\lambda$, which acts as a "slider" between generative and discriminative learning. At $\lambda=0$, the model is a pure generative Maximum Likelihood model. As $\lambda$ increases, the model becomes more discriminative, prioritizing classification margin over pure likelihood.
Key Results and Robustness
Evaluated across 30 UCI datasets, TIMIT (speech recognition), and USPS (handwritten digits), the ML-BN-SVM offers the best of both worlds. It outperforms standard generative and discriminative BN training methods and performs comparably to linear and kernelized SVMs. Notably, it maintains a high average likelihood of 91.09% relative to the maximum possible likelihood, whereas other discriminative methods like Maximum Margin (MM) only reach about 40%.
Because the ML-BN-SVM maintains this high likelihood, it "understands" the feature distribution and can effectively marginalize out missing features. In experiments where up to 90% of features were randomly removed at test time, the ML-BN-SVM maintained significantly higher accuracy than purely discriminative BNs or SVMs relying on imputation.
Limitations and Future Directions
While powerful, the approach has limitations. The proof of global optimality relies on C1-structures, meaning it doesn't apply to every possible network graph without transformations. Additionally, tuning the hyperparameters requires cross-validation, which can be computationally expensive at scale. Future work may extend this framework to semi-supervised learning, leveraging the model's generative strengths to handle missing data during the training phase itself.
Summary updated