Abstract
Causal learning from data has received much attention recently. Bayesian networks can be used to capture causal relationships. There, one recovers a weighted directed acyclic graph in which random variables are represented by vertices, and the weights associated with each edge represent the strengths of the causal relationships between them. This concept is extended to capture dynamic effects by introducing a dependency on past data, which may be captured by the structural equation model. This formalism is utilized in the present contribution to propose a score-based learning algorithm. A mixed-integer quadratic program is formulated and an algorithmic solution proposed, in which the pre-generation of exponentially many acyclicity constraints is avoided by utilizing the so-called branch-and-cut (“lazy constraint”) method. Comparing the novel approach to the state-of-the-art, we show that the proposed approach turns out to produce more accurate results when applied to small and medium-sized synthetic instances containing up to 80 time series. Lastly, two interesting applications in bioscience and finance, to which the method is directly applied, further stress the importance of developing highly accurate, globally convergent solvers that can handle instances of modest size.
Introduction
Causal discovery—identifying the underlying mechanisms of "what causes what" from observational data—is a fundamental challenge in domains ranging from financial risk assessment to biomedical research. Dynamic Bayesian Networks (DBNs) offer a robust framework for this task by modeling both simultaneous (intra-slice) and temporal (inter-slice) interactions between variables.
A significant hurdle in DBN learning is the acyclicity constraint. To maintain physical and logical consistency, simultaneous interactions must not form cycles. However, the number of potential constraints required to prevent such loops grows super-exponentially with the number of variables. This "curse of dimensionality" has led many existing solvers to rely on continuous relaxations or local heuristics, such as DYNOTEARS. While computationally efficient, these methods often converge to local optima, resulting in inaccurate causal reconstructions.
Methodology: Global Optimization via MIQP
The proposed framework, ExDBN, addresses these limitations by formulating DBN learning as a Mixed-Integer Quadratic Program (MIQP). This approach shifts the focus from local search to global optimization.
MIQP Formulation and Lazy Constraints
ExDBN represents edge presence as binary variables and edge strengths as continuous weights. The objective function minimizes the Frobenius norm of a structural vector autoregressive (SVAR) model error, augmented with $L_0$ or $L_2$ regularization.
To handle the exponential growth of acyclicity constraints, the authors employ a Branch-and-Bound-and-Cut algorithm utilizing "lazy constraints." Instead of pre-defining all possible cycles, the solver begins with a minimal constraint set. When a candidate solution is found, a Depth-First Search (DFS) identifies any cycles. If detected, specific constraints are added dynamically to "cut" the invalid solution from the search space. This strategy is optimized by adding constraints for all detected cycles in an iteration, rather than just the shortest one.
Global Convergence
Unlike heuristic methods, the MIQP formulation provides a "MIP gap," offering a mathematical guarantee of the solution's proximity to the global optimum. This robustness is particularly valuable in scenarios with non-uniform noise (non-equal variance), where local heuristics frequently fail.
Experimental Results
The performance of ExDBN was evaluated against state-of-the-art baselines, including DYNOTEARS, LiNGAM, and NTS-NOTEARS, using synthetic ensembles (Erdős-Rényi and Scale-Free models) and real-world datasets.
Synthetic Benchmarks
In synthetic tests involving up to 80 time series, ExDBN consistently demonstrated superior accuracy. As shown in Figure 1, ExDBN maintained a significantly lower Structural Hamming Distance (SHD) across various graph types and sample sizes compared to baselines.
Furthermore, the F1 score analysis (Figure 2) highlights ExDBN's ability to accurately recover the true causal structure, especially as the number of nodes ($d$) increases.
Real-World Applications
The utility of ExDBN was further validated through two case studies:
- Finance: Analyzing Credit Default Swap (CDS) spreads for 16 major European entities, ExDBN identified critical cross-sector risk transmission pathways (e.g., from banking to insurance) that heuristic methods overlooked.
- Bioscience: Successfully reconstructing the Krebs cycle from reactant concentration time series, demonstrating applicability to high-stakes biological modeling.
Conclusion and Future Work
ExDBN demonstrates that for medium-sized problems (up to 80 variables), the accuracy gains of global optimization justify the increased computational cost. While the current 22-hour runtime for large instances precludes real-time use, it is well-suited for strategic research and offline analysis. Future work will focus on improving scalability, handling non-Gaussian noise distributions, and investigating the impact of data normalization on solver performance.
Summary updated