Inexact Column Generation for Bayesian Network Structure Learning via Difference-of-Submodular Optimization

Yiran Yang, Rui Chen

Overview

Researchers have developed a more efficient way to learn the structure of Bayesian Networks by treating the "pricing problem" in Integer Programming as a Difference-of-Submodular (DS) optimization. By using an inexact but fast algorithm (DCA) to solve this sub-problem, their approach—CG-DCA—outperforms state-of-the-art exact methods in solution quality and scalability, particularly for dense Gaussian graphs.

The Challenge: Scaling Structure Learning

Bayesian Network Structure Learning (BNSL) is the task of identifying the "best" directed acyclic graph (DAG) that explains the causal relationships in a dataset. As a classic NP-hard problem, finding the optimal structure becomes exponentially more difficult as the number of variables increases.

One of the most powerful ways to solve BNSL is through Integer Programming (IP). In this approach, scores are assigned to potential parent sets for each node, and the solver attempts to maximize the total score while ensuring the graph remains acyclic. However, the number of possible parent sets grows exponentially, making it impossible to load them all into a solver at once.

To handle this, researchers use Column Generation (CG). Instead of considering all parent sets simultaneously, CG starts with a small subset and solves a "pricing problem" to find and add new, promising parent sets (columns) that could improve the score. The bottleneck? This pricing problem is itself a complex optimization task that usually requires slow, exact solvers, limiting the overall method to small or very sparse networks.

The Solution: The CG-DCA Framework

The authors introduce CG-DCA, a framework that significantly speeds up the pricing problem by relaxing the requirement for an exact solution. The methodology relies on several key innovations:

  1. Difference-of-Submodular (DS) Reformulation: The authors prove that for a common class of scoring functions (specifically $\ell_0$-penalized likelihoods like BIC and AIC), the pricing problem can be rewritten as the difference between two submodular functions.
  2. Difference of Convex Algorithm (DCA): By applying the Lovász extension, they transform this discrete set-function problem into a continuous optimization problem. They then use the DCA—an iterative algorithm—to find high-quality (though not necessarily globally optimal) parent sets very quickly.
  3. Inexact Column Generation: Because Column Generation only needs any column with a "negative reduced cost" to make progress, the speed of DCA outweighs the fact that it doesn't always find the absolute best column. Efficiency trumps perfection in early iterations.
  4. Computational Tricks: For Gaussian data, they utilize a Cholesky decomposition trick to evaluate subgradients for the Lovász extension in $O(n)$ time instead of $O(n^2)$, significantly boosting performance.

Key Results and Performance

The authors evaluated their method on simulated Gaussian data (varying nodes, sample sizes, and densities) as well as real-world discrete benchmarks (LUCAS, INSURANCE, ALARM).

The results demonstrated a massive speedup in pricing. On a 20-node Gaussian graph, solving the pricing problem with an exact solver (MINLP) took 35.1 seconds per node, whereas using DCA took only 0.3 seconds per node.

Furthermore, CG-DCA consistently achieved better BIC scores than GOBNILP (the gold standard for exact BNSL) on Gaussian datasets. This advantage was especially pronounced in dense scenarios where GOBNILP often timed out or failed to find the optimal structure. Compared to constraint-based methods like the PC algorithm, CG-DCA also showed significantly higher recall (finding more of the true edges) as graph density increased.

Comparison of BIC Score Gap and Time between CG-DCA and GOBNILP.

Limitations and Future Directions

While highly effective for Gaussian data, the method faces challenges with discrete data. The discrete BIC penalty term is highly "supermodular," making the DS optimization much harder for the DCA to solve effectively. Consequently, it is currently less effective than GOBNILP on large discrete networks.

Additionally, because the pricing is inexact, the final DAG is a high-quality heuristic solution rather than a mathematically proven global optimum. Future work may explore different decomposition strategies for discrete scores (like BDeu) and potentially integrate this fast heuristic into a "Branch-and-Price" framework to regain global optimality guarantees while maintaining computational speed.

Summary updated

BibTeX
@inproceedings{yang2025inexact,
  author = {Yiran Yang and Rui Chen},
  title = {{Inexact Column Generation for Bayesian Network Structure Learning via Difference-of-Submodular Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=9G0qc90PyI},
}
Figure