[Paper Review] Advances in Learning Bayesian Networks of Bounded Treewidth
This paper presents a novel mixed-integer linear programming (MILP) formulation for exact learning of Bayesian network structures with bounded treewidth, along with an approximate sampling-based method that uniformly samples k-trees and selects optimal structures within them. The exact method outperforms state-of-the-art approaches on larger networks and higher treewidths, while the approximate method scales efficiently and achieves high accuracy on public datasets with up to 100 variables.
This work presents novel algorithms for learning Bayesian network structures with bounded treewidth. Both exact and approximate methods are developed. The exact method combines mixed-integer linear programming formulations for structure learning and treewidth computation. The approximate method consists in uniformly sampling $k$-trees (maximal graphs of treewidth $k$), and subsequently selecting, exactly or approximately, the best structure whose moral graph is a subgraph of that $k$-tree. Some properties of these methods are discussed and proven. The approaches are empirically compared to each other and to a state-of-the-art method for learning bounded treewidth structures on a collection of public data sets with up to 100 variables. The experiments show that our exact algorithm outperforms the state of the art, and that the approximate approach is fairly accurate.
Motivation & Objective
- To address the challenge of learning Bayesian network structures with a hard constraint on treewidth, which is essential for efficient and reliable inference.
- To develop an exact method that scales beyond the limits of prior dynamic programming approaches, especially for networks with more than 50 variables.
- To design an approximate method that enables scalable learning in large domains and high treewidth limits, where exact methods become infeasible.
- To improve upon existing MILP formulations by avoiding exponentially sized constraints and cutting plane techniques, enabling single-call optimization.
- To empirically evaluate both methods against state-of-the-art approaches on public datasets with up to 100 variables and varying treewidth bounds.
Proposed method
- The exact method uses a mixed-integer linear programming (MILP) formulation that integrates existing MILP formulations for unconstrained Bayesian network structure learning and treewidth computation, resulting in a polynomial-sized problem without requiring cutting plane generation.
- The approximate method uniformly samples k-trees (maximal graphs of treewidth k), then performs exact or approximate structure learning on subgraphs of each k-tree to find the highest-scoring network.
- Version 1 of the sampling method performs exhaustive search over all possible network structures compatible with a given k-tree, while Version 2 uses a faster, approximate search strategy.
- The sampling process is repeated multiple times with different random seeds to reduce variance, and results are aggregated using median scores across runs.
- The MILP formulation is solved in a single call using standard solvers, avoiding iterative constraint generation, which improves efficiency and simplicity.
- The approach leverages the fact that treewidth is a key determinant of inference complexity, and thus constraining it enables tractable inference in large models.
Experimental results
Research questions
- RQ1Can a polynomial-sized MILP formulation be constructed for learning Bayesian networks with bounded treewidth, avoiding the need for iterative cutting plane generation?
- RQ2How does the performance of the proposed exact MILP method compare to state-of-the-art approaches in terms of scalability and solution quality across datasets with up to 100 variables?
- RQ3To what extent does the approximate sampling-based method, which explores multiple k-trees, achieve high-quality solutions in large domains where exact methods fail?
- RQ4Is the sampling-based approach more effective when focused on finding good k-trees rather than optimizing structures within a fixed k-tree?
- RQ5How does the performance of the proposed methods compare to recent works using MAX-SAT and alternative MILP formulations with cutting planes?
Key findings
- The proposed MILP formulation outperforms the state of the art in terms of scalability, successfully solving problems with up to 100 variables and treewidth bounds up to 10, whereas the state-of-the-art method failed on datasets with more than 50 variables.
- The MILP method was unable to produce a solution within 10 minutes on the hill dataset (treewidth ≤ 4) and did not converge within 3 hours on the community dataset, indicating scalability limitations in large domains.
- Version 2 of the sampling method consistently outperformed Version 1, achieving higher relative scores (up to 120% of median performance) due to faster iteration times and larger exploration of k-tree space.
- The approximate method achieved high accuracy, with Version 2 outperforming the MILP formulation on larger datasets at treewidth bound 10, despite being implemented in slower MATLAB.
- The sampling-based approach scales linearly in both domain size and treewidth bound, making it suitable for large-scale Bayesian network learning where exact methods fail.
- The results suggest that investing computational effort in finding high-quality k-trees is more beneficial than optimizing network structures within a single k-tree, as evidenced by the superior performance of Version 2.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.