Score Matching Enables Causal Discovery of Nonlinear Additive Noise Models
Paul RollandVolkan CevherMatthäus KleindessnerChris RussellDominik JanzingBernhard SchölkopfFrancesco Locatello
Demonstrates how to identify causal directed acyclic graphs in nonlinear additive noise models using data score functions, introducing an efficient Jacobian approximation method that achieves competitive discovery accuracy with linear complexity in the number of nodes.
Identifying cause-and-effect relationships from purely observational data is fundamental for guiding strategic decisions, evaluating potential interventions, and assessing operational risks. However, discovering these causal structures is computationally demanding because the number of possible graph configurations grows exponentially with each additional variable. Existing algorithms frequently depend on slow, greedy search heuristics or complex continuous optimization procedures that do not scale well to larger enterprise systems.
The article demonstrates that the score function of a data distribution—defined as the gradient of the log-probability density—contains direct structural information that enables exact recovery of causal graphs in nonlinear additive noise environments. To operationalize this insight, the authors introduce SCORE, a scalable algorithm that identifies the causal ordering of variables in linear time relative to the number of nodes before pruning unnecessary connections.
The authors develop a mathematical proof establishing that leaf variables (nodes without outgoing effects) can be uniquely detected because their corresponding diagonal entries in the score's derivative matrix (the Jacobian) remain constant across observations. To compute this from sample data without expensive neural network training, the authors design a closed-form estimator utilizing second-order Stein identities and kernel methods. Once an empirical leaf is identified, it is sequentially removed to establish a full causal sequence, which is subsequently pruned using standard regression techniques. The approach was evaluated on synthetic benchmarks of 10 to 50 variables across Gaussian, Laplace, and Gumbel noise distributions, as well as on biological and pseudo-real benchmark datasets.
The evaluation yields several key findings regarding speed, structural accuracy, and algorithmic robustness. First, SCORE delivers substantial computational speed improvements, running roughly 10 times faster than the leading CAM baseline on 20-variable networks (32.7 seconds versus 313 seconds) and more than 4 times faster than GraN-DAG on 50-variable systems (257 seconds versus 1,410 seconds). Within SCORE, ordering the variables takes only a small fraction of the overall runtime—such as 31 seconds out of 257 seconds for 50 nodes—shifting the primary computational cost almost entirely to the final pruning step. Second, the method achieves structural accuracy competitive with or superior to established baselines, showing notable improvements in denser network topologies where competing methods struggle to find the correct ordering. Third, SCORE proves highly robust against noise misspecification, maintaining strong accuracy even when noise deviates from normal distributions.
These results show that score matching can effectively bypass combinatorial bottlenecks in causal discovery, lowering the computational expense and timeline required to map intricate dependencies in data-rich domains. By avoiding non-convex optimization and combinatorial searches, organizations can analyze complex interconnected systems with significantly greater confidence and reduced infrastructure runtime. The ability to handle non-Gaussian distributions further indicates that the framework is practical for real-world scenarios where data rarely conform to standard Gaussian assumptions.
Organizations seeking to implement causal discovery pipelines should consider adopting score-based ordering methods as an efficient replacement for greedy topological searches, pairing the resulting ordering with domain-appropriate pruning modules. Before full deployment on massive datasets, practitioners should implement memory-efficient kernel approximations or explore amortized deep score estimators to manage large sample volumes. Future engineering should concentrate on extending direct score-based identification across wider non-additive generative settings and refining edge-pruning techniques, which currently represent the primary computational bottleneck.
- Paper: Estimation of Non-Normalized Statistical Models by Score Matching, Aapo Hyvärinen (2005). Hyvärinen establishes score matching as a tractable way to estimate log-density gradients, the central statistical tool SCORE adapts for recovering causal structure.
- Paper: A Linear Non-Gaussian Acyclic Model for Causal Discovery, Shohei Shimizu et al. (2006). LiNGAM shows how noise assumptions make causal direction identifiable from observations, providing a useful contrast to SCORE’s nonlinear additive Gaussian-noise setting.
No sufficiently relevant recommendations were found.
