AcceleratedLiNGAM: Learning Causal DAGs at the speed of GPUs
Victor Akinwande, J. Zico Kolter
TL;DR
This paper tackles the scalability gap in causal discovery by GPU-accelerating LiNGAM methods, preserving identifiability guarantees while dramatically speeding up the causal-ordering step. It implements and analyzes efficient DirectLiNGAM and VarLiNGAM kernels on GPUs, achieving up to ~32x and ~30x speed-ups respectively without altering the underlying algorithms. Through experiments on large-scale gene expression data with genetic interventions ($d \approx 964$) and stock market data ($d=487$), the approach demonstrates competitive performance against continuous-optimization baselines and enables practical application to real-world, high-dimensional datasets. The work also provides detailed CUDA implementation guidance and discusses future improvements in I/O awareness, suggesting broad potential impact for LiNGAM-based causal discovery in domains requiring both speed and identifiability.
Abstract
Existing causal discovery methods based on combinatorial optimization or search are slow, prohibiting their application on large-scale datasets. In response, more recent methods attempt to address this limitation by formulating causal discovery as structure learning with continuous optimization but such approaches thus far provide no statistical guarantees. In this paper, we show that by efficiently parallelizing existing causal discovery methods, we can in fact scale them to thousands of dimensions, making them practical for substantially larger-scale problems. In particular, we parallelize the LiNGAM method, which is quadratic in the number of variables, obtaining up to a 32-fold speed-up on benchmark datasets when compared with existing sequential implementations. Specifically, we focus on the causal ordering subprocedure in DirectLiNGAM and implement GPU kernels to accelerate it. This allows us to apply DirectLiNGAM to causal inference on large-scale gene expression data with genetic interventions yielding competitive results compared with specialized continuous optimization methods, and Var-LiNGAM for causal discovery on U.S. stock data.
