TL;DR
The paper introduces FLOP (Fast Learning of Order and Parents), a score-based causal discovery algorithm that proves discrete search is far from obsolete. By combining iterative Cholesky updates with a smart "warm-start" parent selection, FLOP achieves state-of-the-art accuracy and scales to hundreds of variables, often outperforming modern continuous optimization methods.
What Problem Does This Paper Address?
Causal structure learning—the task of figuring out the "who causes what" directed acyclic graph (DAG) from observational data—is notoriously difficult. For years, the field has been split between two camps:
- Discrete Search: Algorithms like GES or BOSS that navigate the space of graphs or node orderings. These are theoretically sound but often criticized for being slow or getting stuck in local optima.
- Continuous Optimization: Newer methods (like NOTEARS or DAGMA) that treat the problem as a smooth optimization task. While popular, these often rely on surrogate objectives and can struggle with convergence or "varsortability" artifacts.
The authors of this paper argue that we shouldn't give up on discrete search. They identify that the perceived "hardness" of discrete search often stems from inefficient implementations and a lack of robust strategies to escape local optima.
Methods
The authors present FLOP, which optimizes the Bayesian Information Criterion (BIC) score through a series of clever engineering and algorithmic choices:
- Iterative Cholesky Updates: Instead of recomputing scores from scratch (an $O(k^3)$ operation), FLOP uses rank-one updates and downdates to adjust the Cholesky factorization of the covariance matrix in $O(k^2)$ time. This makes evaluating local moves incredibly cheap.
- Warm-Started Grow-Shrink: When searching for a node's parents, FLOP doesn't start from an empty set. It "warm-starts" from the parent set found in the previous step of the search, drastically reducing redundant computations.
- Principled Order Initialization: Rather than starting with a random node ordering, FLOP builds an initial order by iteratively picking nodes that minimize residual variance, ensuring that strongly correlated nodes are placed near each other.
- Iterated Local Search (ILS): To avoid getting stuck in local optima, FLOP uses a metaheuristic that finds a local optimum, perturbs it (via random swaps in the node order), and starts searching again.
The implementation is provided as a high-performance Rust library with a Python interface (pip install flopsearch).
Key Insights and Ideas
- The "Free Lunch" of Efficiency: Because FLOP is so fast (often 100x faster than previous order-based methods like BOSS), you can afford to run many more restarts (ILS). This extra "compute budget" translates directly into higher accuracy, effectively finding the global BIC optimum where other methods fail.
- Discrete vs. Continuous: The results suggest that the "advantages" of continuous relaxations might be overstated. FLOP often finds graphs with better BIC scores and lower Structural Hamming Distance (SHD) than gradient-based methods like DAGMA.
- Score Optimality $\neq$ Ground Truth: A fascinating insight is that in finite samples, the "true" graph is sometimes not the one with the best BIC score. FLOP is so good at optimizing the score that it occasionally finds a graph that scores better than the ground truth, highlighting that the challenge in causal discovery is shifting from optimization to score design.
Key Results
The algorithm was evaluated on a wide range of benchmarks, including synthetic graphs (Erdős-Rényi and Scale-Free) and real-world networks from the bnlearn repository, as well as challenging scenarios like non-linear data and the Sachs protein signaling dataset.
- Accuracy: On standard linear Gaussian benchmarks, FLOP achieves near-perfect recovery (SHD close to 0). For example, on the Barley network, FLOP20 (20 restarts) found the target CPDAG in 90% of cases, while other algorithms like PC or GES struggled significantly.
- Speed: FLOP is more than 100x faster than the BOSS algorithm for graphs with 100 nodes. It can process a 500-node graph in seconds, while BOSS times out.
- Scalability: While exact algorithms are limited to ~30 variables, FLOP scales comfortably to 500+ variables while maintaining high accuracy.
Limitations and Future Work
- Model Misspecification: FLOP is currently optimized for linear models with Gaussian noise. While it performs surprisingly well on non-Gaussian "uniform noise" data, its performance degrades on highly non-linear data because the underlying BIC score is misspecified.
- Causal Sufficiency: Like many standard methods, FLOP assumes "causal sufficiency" (no unobserved common causes). Extending these fast discrete search techniques to settings with latent variables is a logical next step.
- Score Dependency: The authors note that as optimization becomes "solved" by algorithms like FLOP, the bottleneck moves to the statistical properties of the scores themselves. Future work is needed to develop scores that are more robust to finite-sample errors.
Summary updated