NODAGS-Flow: Nonlinear Cyclic Causal Structure Learning

Muralikrishnna G. Sethuraman, Romain Lopez, Rahul Mohan, Faramarz Fekri, Tommaso Biancalani, Jan-Christian Hütter

Abstract

Learning causal relationships between variables is a well-studied problem in statistics, with many important applications in science. However, modeling real-world systems remains challenging, as most existing methods rely on the assumption of Directed Acyclic Graphs (DAGs). This paper introduces NODAGS-Flow, a novel framework for learning nonlinear cyclic causal models by treating observations as the steady state of a dynamical system. By leveraging contractive residual normalizing flows and interventional data, NODAGS-Flow outperforms state-of-the-art methods in recovering complex feedback loops and predicting the effects of new interventions in both synthetic and high-stakes biological datasets.

Introduction

The "DAG assumption" is a standard rule of thumb in causal discovery, simplifying mathematical modeling and training. However, feedback loops are ubiquitous in nature, from gene-regulatory networks to economic cycles. Traditional methods that allow for cycles are often restricted to linear relationships or lack rigorous probabilistic foundations. NODAGS-Flow addresses these limitations by providing a flexible, nonlinear, and cyclic-friendly framework that is both mathematically sound and computationally efficient.

Methodology

NODAGS-Flow models causal systems as Structural Equation Models (SEMs) where $x = f(x) + \epsilon$. In a cyclic system, $x$ is viewed as the steady state of a discrete dynamical system. To make this tractable, the authors employ several key innovations:

  • Contractive Residual Flows: The function $f$ is constrained to be "contractive" (Lipschitz constant $< 1$), ensuring the dynamical system converges to a unique steady state.
  • Log-Det Jacobian Estimation: The model uses an unbiased stochastic estimator based on the Hutchinson trace estimator to keep likelihood calculations efficient.
  • Preconditioning ($\Lambda$): A diagonal rescaling trick ensures that any DAG-based causal model can be represented as a contractive flow, significantly expanding the model's representational capacity.
  • Direct Likelihood Optimization: Unlike methods that use complex constraints to enforce acyclicity, NODAGS-Flow performs direct likelihood maximization using a Gumbel-Softmax mask to learn the graph structure.

Experimental Results

The framework was evaluated on synthetic benchmarks and real-world single-cell RNA sequencing data.

Synthetic Benchmarks

On nonlinear cyclic synthetic data, NODAGS-Flow demonstrated significant improvements in structure recovery. It achieved much lower Structural Hamming Distance (SHD) and higher AUPRC compared to linear methods (LLC) and nonlinear acyclic methods (DCDI).

Performance comparison on synthetic interventional data for cyclic-nonlinear SEMs. NODAGS-Flow (dark green) shows superior structure recovery across multiple metrics.

Real-World Biological Application

The authors tested the model on Perturb-CITE-seq data, which includes CRISPR-based genetic interventions in melanoma cells. NODAGS-Flow outperformed all baselines in predicting the effects of unseen genetic perturbations, as measured by Interventional Negative Log-Likelihood (I-NLL) and Mean Absolute Error (I-MAE).

Predictive accuracy on real-world Perturb-CITE-seq data (IFN-gamma). NODAGS-Flow (bottom row) achieves the lowest Interventional Negative Log-Likelihood (I-NLL) and Mean Absolute Error (I-MAE).

Efficiency

By avoiding the iterative Augmented Lagrangian process used by acyclic models, NODAGS-Flow is approximately 3.5x faster than DCDI, the leading nonlinear acyclic baseline.

Conclusion and Future Work

NODAGS-Flow provides a major step forward in modeling real-world causal systems by relaxing the acyclicity constraint. While highly effective, future work will address challenges such as measurement noise in single-cell data, scalability to genome-wide scales, and the handling of "soft" or off-target interventions common in biological experiments.

Summary updated

BibTeX
@inproceedings{sethuraman2023nodags,
  author = {Muralikrishnna G. Sethuraman and Romain Lopez and Rahul Mohan and Faramarz Fekri and Tommaso Biancalani and Jan-Christian Hütter},
  title = {{NODAGS-Flow: Nonlinear Cyclic Causal Structure Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=s_NSwS8GNsv},
}
Figure