TL;DR
This paper introduces a dynamic programming algorithm to find the k-best Bayesian network structures from data, rather than just the single best one. By performing Bayesian Model Averaging (BMA) over this top-tier set, the authors achieve more robust structural discovery and predictions, outperforming both single-model selection and state-of-the-art MCMC-based approximation methods.
What Problem Does This Paper Address?
Learning the structure of a Bayesian network (BN) is a fundamental challenge in data mining and causal discovery. The search space is notoriously difficult: the number of possible directed acyclic graphs (DAGs) grows "superexponentially" with the number of variables. For just 10 variables, there are roughly $10^{18}$ possible structures.
Most practitioners rely on model selection, picking the single highest-scoring structure (the MAP model). However, when data is sparse, many different structures might explain the data nearly as well. Relying on just one can lead to "unwarranted conclusions"—for instance, claiming a causal edge exists just because it's in the MAP model, even if it's absent in the 2nd and 3rd best models. While Bayesian Model Averaging (BMA)—averaging predictions over all possible models—is the theoretical gold standard, it is computationally impossible for anything beyond tiny domains (typically < 7 variables).
Methods
The authors propose a middle ground: find a representative set of the k-best scoring networks and average over them. Their core contribution is a three-step algorithm based on dynamic programming (DP):
- Local Scoring: Compute scores for all possible parent-child combinations.
- k-best Parent Sets: For every variable and every possible subset of other variables, find the top k candidate parent sets.
- k-best Network Construction: Use a recursive approach based on the fact that every DAG must have a "sink" (a node with no outgoing edges). They employ a best-first graph search to efficiently navigate the combinations of sub-networks and parent sets to identify the top k global structures.
This approach generalizes previous DP algorithms that only sought the single optimal structure. It allows for the calculation of posterior probabilities for both modular features (like edges) and non-modular features (like "is there a path between X and Y?").
Datasets
The algorithm was evaluated using:
- UCI Machine Learning Repository: Real-world datasets including Iris, Nursery, Tic-Tac-Toe, Zoo, and Letter.
- Synthetic Data: Generated from a "gold-standard" 15-variable Bayesian network with known structure, allowing the authors to test performance across different sample sizes ($m = 200$ to $5,000$).
Key Insights and Ideas
- The "Long Tail" of Models: In many cases, the top 100 models represent only a tiny fraction of the total probability mass ($\Delta$). Surprisingly, the authors found that averaging over just these top 100 models often yields results nearly identical to full BMA. This suggests that the "important" structural information is concentrated in the very best models.
- Likelihood Equivalence: Many different DAGs can represent the same set of conditional independencies (an equivalence class) and thus receive the same score. The authors noted that the k-best set often contains many networks from the same equivalence class, but also networks from different classes that happen to have similar scores.
- The $\lambda$ Metric: They introduced $\lambda$ (the ratio of the MAP model's score to the $k$-th best model's score) as a heuristic. If $\lambda$ is large (e.g., > 20), it suggests the $k$-best set is capturing the most significant models.
Key Results
The k-best method consistently outperformed single model selection and showed superior stability compared to MCMC methods, which can suffer from high variance in finite runs.
As shown in the ROC curves for structural discovery (Figures 3 and 4), increasing $k$ from 1 (the MAP model) to 10 or 100 leads to significant improvements in identifying true edges.
For larger datasets ($m=5,000$), the performance of the Top 100 networks becomes virtually indistinguishable from the exact posterior calculated via full model averaging.
Limitations and Future Work
- Scalability: While more efficient than exhaustive search, the DP approach still has exponential time and memory complexity relative to the number of variables ($n$). The experiments were limited to roughly 20 variables.
- Equivalence Classes: The current algorithm finds individual DAGs. The authors note it would be more efficient to search directly in the space of equivalence classes (CPDags), but this remains a challenging open research direction.
- Heuristics for $k$: While $\lambda$ is a useful indicator, more formal methods for choosing an optimal $k$ for a given dataset are needed.
Summary updated