Abstract
Learning the structure of a Bayesian Network (BNSL) is a fundamental yet computationally challenging task in machine learning. While local search is a common heuristic, searching the space of topological orderings offers a more principled approach. This paper explores parameterized local search on variable orderings, identifying a critical complexity divide between different search operations. We present a subexponential fixed-parameter tractable (FPT) algorithm for the inversion distance neighborhood and demonstrate that while certain structural constraints can be integrated, others related to the moralized graph remain inherently difficult.
Introduction
Finding the optimal Directed Acyclic Graph (DAG) that represents dependencies in a dataset—the core of Bayesian Network Structure Learning (BNSL)—is NP-hard. As the number of variables $n$ increases, exact methods become computationally prohibitive. Local search heuristics, which typically modify graph arcs, are widely used but often struggle with local optima. A more robust alternative is to search the space of topological orderings. Given a fixed ordering, the optimal DAG can be found greedily in polynomial time. The central challenge then becomes efficiently navigating the space of $n!$ possible orderings.
Methodology: Navigating the Ordering Space
The authors investigate parameterized local search, where the goal is to find an improved ordering within a distance $r$ of a current ordering $\tau$. They analyze three primary neighborhood operations:
- Insertions: Moving a single variable to a new position.
- Swaps: Exchanging the positions of any two variables.
- Inversions: Swapping two adjacent variables.
The Complexity Divide: The Power of Inversions
A key contribution of this work is identifying the "sweet spot" for local search. The authors prove that searching within a radius $r$ using Insertions or Swaps is $W[1]$-hard. This implies that unless $FPT = W[1]$, algorithms for these operations will likely have an exponential dependence on $n$ in the exponent (e.g., $n^r$), making them impractical for large networks.
In contrast, for Inversions (adjacent swaps), the authors develop a randomized algorithm with a running time of $2^{O(\sqrt{r} \log r)} \cdot poly(|I|)$. This subexponential FPT algorithm utilizes Color Coding and Dynamic Programming to find the optimal ordering within the inversion neighborhood. This allows for a significant "look-ahead" (larger $r$) without the prohibitive cost associated with general swaps.
Generalized Framework and Constraints
To extend the utility of their approach, the authors introduced Weighted BNSL (W-BNSL). This framework allows the search to incorporate various structural constraints. However, their analysis reveals a "hard wall" regarding constraints on the moralized graph $\mathcal{M}(D)$.
As shown in Table 1, the authors considered versions of the problem with bounded edges, vertex cover size, dissociation number, and treewidth. They found that problems constrained by the moralized graph (like bounded treewidth) remain NP-hard even when the variable ordering is fixed, limiting the applicability of ordering-based local search for these specific sparsity constraints.
Results and Empirical Validation
The proposed methods were evaluated using the GOBNILP benchmark datasets. Key findings include:
- Theoretical Breakthrough: Establishing the first subexponential FPT algorithm for inversion-based local search.
- Hardness Results: Providing theoretical justification for the difficulty of insertion and swap neighborhoods.
- Performance Gains: Empirical tests showed that increasing the search radius $r$ (e.g., to 9 or 11) consistently improved network scores, validating the benefit of larger neighborhood searches enabled by the subexponential algorithm.
Conclusion and Future Work
This research provides a rigorous theoretical foundation for local search in BNSL. While the inversion-based subexponential algorithm is a major step forward, challenges remain. Future work will focus on "algorithm engineering" to optimize the implementation for production environments and exploring ways to integrate these parameterized techniques into existing heuristic solvers to better handle complex moralized graph constraints.
Summary updated