Abstract: We consider the problem of learning Bayesian network classifiers that maximize the margin over a set of classification variables. We find that this problem is harder for Bayesian networks than for undirected graphical models like maximum margin Markov networks. The main difficulty is that the parameters in a Bayesian network must satisfy additional normalization constraints that an undirected graphical model need not respect. These additional constraints complicate the optimization task. Nevertheless, we derive an effective training algorithm that solves the maximum margin training problem for a range of Bayesian network topologies, and converges to an approximate solution for arbitrary network topologies. Experimental results show that the method can demonstrate improved generalization performance over Markov networks when the directed graphical structure encodes relevant knowledge. In practice, the training technique allows one to combine prior knowledge expressed as a directed (causal) model with state of the art discriminative learning methods.
Introduction
In machine learning, practitioners often face a choice between two paradigms: generative models, such as Bayesian Networks (BNs), which describe data production and incorporate causal knowledge, and discriminative models, such as Support Vector Machines (SVMs), which focus on optimizing decision boundaries.
The "maximum margin" criterion—maximizing the distance between the decision boundary and the nearest data points—is a gold standard for discriminative learning. While this has been successfully applied to undirected models like Maximum Margin Markov Networks ($M^3N$), applying it to BNs has historically been difficult due to the inherent mathematical constraints of directed graphs.
The Challenge of Normalization
The primary hurdle in training Maximum Margin Bayesian Networks ($M^2BN$) lies in the normalization constraints. In a BN, every local conditional probability table must sum to exactly one. These constraints are non-linear and non-convex, causing standard margin-maximization techniques to fail.
Because of these complexities, many researchers previously abandoned the BN structure for classification, converting them into undirected Markov networks. However, this conversion discards the causal interpretability and specific structural priors that BNs provide.
Methodology: Convex Relaxation and the Barrier Method
To bridge the gap between causal structure and discriminative performance, the authors propose a framework that transforms the difficult non-convex optimization into a manageable convex problem through several technical innovations:
- Convex Relaxation: The authors relax the strict equality constraints (probabilities summing to 1) into inequality constraints (probabilities summing to $\le 1$).
- The Barrier Method: They employ a "log-barrier" approach, creating a mathematical "penalty wall" that prevents the optimization from violating normalization constraints, allowing the use of efficient Newton-descent methods.
- Renormalization Theory: They identify a class of "locally moralized graphs" where the solution to the relaxed problem can be transformed back into a valid, normalized BN without altering classification boundaries.
- Multivariate Extension: For complex tasks like sequence labeling, they use a "cutting plane" algorithm to iteratively add only the most relevant margin constraints, ensuring computational feasibility.
Key Insights: Structure as a Regularizer
A central finding of the paper is that the local normalization constraints of a BN act as a unique form of regularization. While a Markov network might concentrate all predictive weight into a single feature, a BN forces influence to be distributed across local conditional probability tables.
When the graph structure reflects the true causal reality of the data, $M^2BN$ significantly outperforms undirected models. The directed edges provide a "structural prior" that standard SVMs lack, proving that the "moral" of the story is that causality matters for generalization.
Experimental Results
The authors evaluated $M^2BN$ across three distinct domains:
- Synthetic Data: In controlled tests, $M^2BN$ consistently outperformed $M^3N$ and standard Maximum Conditional Likelihood (MCL) training, particularly when training data was sparse.
- UCI Repository: Across 17 real-world datasets (including medical and physical data), $M^2BN$ showed a systematic performance advantage over undirected Markov networks.
- Protein Secondary Structure: On a multivariate sequence prediction task (Cuff & Barton database), $M^2BN$ proved competitive with state-of-the-art models, demonstrating that the approach scales to structured output problems.
Conclusion and Future Work
While the current implementation is computationally slower than specialized quadratic program solvers, the $M^2BN$ framework successfully integrates causal prior knowledge with discriminative power. Future research will explore the "kernel trick" to handle non-linear feature spaces and develop hybrid classifiers that combine potential functions with strict conditional probability tables to preserve known causal links.
Summary updated