Abstract
Learning Bayesian Networks (BNs) with a bounded tree-width constraint is essential for ensuring efficient probabilistic inference but is computationally challenging. This paper introduces a guided search algorithm using a modified A* search and an "Informative Score" (I-score) heuristic. The method scales to domains with over 100 variables—tripling the capacity of previous exact methods—while maintaining competitive accuracy and providing massive speedups in inference time.
Introduction: The Complexity Double Bind
Bayesian Networks face a fundamental trade-off: model complexity versus inference efficiency. While complex networks can capture intricate dependencies, they often become computationally intractable, making probabilistic queries prohibitively slow. The mathematical determinant of this complexity is tree-width. Maintaining a low tree-width guarantees fast inference, but finding the optimal network structure under a strict tree-width limit is an NP-hard problem. Previous exact algorithms typically hit a wall at approximately 30 variables, while approximate methods often fail to navigate the vast search space of possible structures effectively.
Methodology: Guided A* Search for $k$-trees
The proposed method addresses these challenges through a two-stage guided search approach:
- $k$-tree Super-structures: Instead of searching for the BN directly, the algorithm searches for an optimal $k$-tree—a graph structure with a guaranteed tree-width of $k$. By ensuring the BN's moral graph is a subgraph of this $k$-tree, the tree-width constraint is automatically satisfied.
- A* Search Framework: Finding the $k$-tree is framed as a shortest-path problem. A modified A* search builds the graph node-by-node, guided by a specific cost-estimation function ($h$).
- Informative Score (I-score): To navigate the search space efficiently, the authors introduce the I-score. This heuristic, based on mutual information between variable pairs, estimates the potential "utility" of a $k$-tree for constructing a high-scoring BN.
- Admissible Heuristic: The search is guided by an admissible and consistent heuristic function, ensuring that the A* algorithm can prune suboptimal branches without missing the optimal solution.
Experimental Evaluation
The algorithm was rigorously tested across three primary benchmarks: UCI datasets (ranging from 9 to 100 variables), synthetic networks (rand50, rand60), and real-world challenges from the UAI 2014 Probabilistic Inference Competition.
Key Results and Insights
The experimental results highlight several breakthroughs in scalability and efficiency:
- Scalability to 100 Variables: As shown in the performance table, the proposed S2+ method successfully processed 100-variable datasets where previous exact methods like MILP and GOBNILP failed due to memory constraints.
- Improved Network Quality: On large-scale datasets such as hill and community, S2+ improved BDeu scores by 10% to 30% compared to existing state-of-the-art approximate methods.
- Inference Speedups: The bounded tree-width constraint directly translates to faster inference. For the rand60 network, the learned model performed inference in just 4.3% of the time required by the original complex network while maintaining a low Hellinger error.
Discussion and Future Work
A core insight of this work is that prioritizing the quality of the "super-structure" (the $k$-tree) via smart heuristics is more effective than exhaustive sampling of many low-quality structures. Furthermore, the algorithm provides an optimal "elimination order," essentially pre-optimizing the network for future inference tasks.
While the method is robust, the authors note that initial clique selection and handling extremely rare marginal probabilities remain areas for refinement. Future research may explore this "learning-for-inference" pipeline as a standard for approximate inference, replacing intractable models with simpler, learned alternatives that are easier to query without significant loss in accuracy.
Summary updated