CoLiDE: Concomitant Linear DAG Estimation

Seyed Saman Saboksayr, Gonzalo Mateos, Mariano Tepper

Learning the "causal web" of a system—represented as a Directed Acyclic Graph (DAG)—is a holy grail in fields ranging from genetics to finance. However, doing this from purely observational data is notoriously difficult. A new paper from ICLR 2024, "CoLiDE: Concomitant Linear DAG Estimation," introduces a clever way to make this process more robust and easier to tune by treating noise not as a nuisance, but as a variable to be estimated alongside the graph itself.

TL;DR

CoLiDE is a new framework for learning linear causal structures that jointly estimates the graph and the underlying noise levels of the data. By "concomitantly" estimating scale, it eliminates the need for tedious hyperparameter retuning across different datasets and significantly outperforms existing methods in challenging scenarios where noise levels vary across variables.

What Problem Does This Paper Address?

Imagine you are trying to figure out which genes influence others based on a spreadsheet of activity levels. This is "causal discovery." Most modern algorithms treat this as a continuous optimization problem: they try to find a matrix of weights that explains the data while enforcing a "no-cycles" (acyclicity) constraint.

However, these methods (like the popular NOTEARS or DAGMA) usually rely on a "Lasso-type" score. This creates two major headaches:

  1. Hyperparameter Sensitivity: The sparsity penalty ($\lambda$) is mathematically tied to the noise level ($\sigma$). If the noise in your data changes, you have to manually retune $\lambda$, which is often impossible because you don't actually know the true noise level.
  2. The Homoscedasticity Trap: Most methods assume every variable has the same amount of noise (homoscedasticity). In the real world, one sensor might be much noisier than another (heteroscedasticity). Ignoring this leads to biased graphs and "ghost" edges.

Methods

The authors introduce CoLiDE (Concomitant Linear DAG Estimation). The "secret sauce" is the use of a concomitant score function.

Instead of a standard least-squares loss, they use a formulation inspired by Huber’s robust regression. This loss function is jointly convex in both the graph weights ($W$) and the noise scale ($\sigma$). This allows the algorithm to "self-calibrate": as it learns the graph, it estimates the noise; as it estimates the noise, it refines the graph.

Key components include: * Two Flavors: CoLiDE-EV (Equal Variance) for simpler cases and CoLiDE-NV (Non-equal Variance) for heteroscedastic scenarios where each node has its own noise level. * Acyclicity Constraint: They use a smooth, log-determinant penalty to ensure the resulting graph has no cycles, which is more numerically stable than previous exponential-based penalties. * Optimization: They employ a Block Coordinate Descent (BCD) strategy, alternating between updating the graph weights (using the ADAM optimizer) and calculating the noise levels in a simple, closed-form step.

Datasets

The authors put CoLiDE through a rigorous battery of tests:

  • Synthetic Graphs: They generated thousands of Erdos-Rényi (ER) and Scale-Free (SF) graphs, ranging from 50 to 500 nodes.
  • Diverse Noise: They tested the model against Gaussian, Exponential, and Laplace noise distributions to ensure it wasn't just a "one-hit-wonder" for bell-curve data.
  • The Sachs Dataset: A classic real-world benchmark consisting of flow cytometry measurements of protein signaling in human immune cells (11 nodes, 17 edges).

Key Insights and Ideas

  • Decoupling $\lambda$ from $\sigma$: By estimating the noise scale on the fly, the sparsity parameter $\lambda$ becomes "pivotal"—meaning the same value of $\lambda$ works effectively across different noise regimes. This makes the algorithm much more "plug-and-play" for researchers.
Normalized SHD across different noise variances
  • Convexity Matters: While the acyclicity constraint is inherently non-convex, having a score function that is jointly convex in weights and noise provides better gradients and more stable convergence.
  • Heteroscedasticity is a Feature, not a Bug: Most algorithms struggle when noise levels are unequal. CoLiDE-NV actually uses this heterogeneity to its advantage, resulting in much cleaner graph recoveries in complex settings.

Key Results

  • State-of-the-Art Performance: In 200-node heteroscedastic Gaussian simulations, CoLiDE-NV achieved a Structural Hamming Distance (SHD) of 390.7, significantly beating the previous state-of-the-art, DAGMA (470.2).
Performance comparison on 200-node heteroscedastic graphs
  • Robustness: CoLiDE consistently showed lower standard deviations in its results compared to competitors like GOLEM or SortNRegress, indicating it is less likely to produce a "wildly wrong" graph due to a bad initialization.
  • Real-World Success: On the biological Sachs dataset, CoLiDE-NV achieved an SHD of 12, which the authors claim is the lowest SHD ever reported for this dataset using continuous optimization-based techniques.

Limitations and Future Work

Despite its strengths, CoLiDE has a few boundaries:

  • Linearity: The current version is strictly for linear Structural Equation Models (SEMs). While many real-world systems are approximately linear, complex non-linear interactions would require a different score function.
  • Observational Only: The paper focuses on data where we haven't intervened (e.g., "knocking out" a gene). The authors suggest that adding interventional data is a promising next step.
  • Standardization Sensitivity: Like many continuous methods, CoLiDE's performance can dip if the data is aggressively standardized (z-scored) before processing, as this can destroy the very variance information the algorithm uses to orient edges.

For those looking to move beyond manual hyperparameter tuning and handle real-world, "messy" noise, CoLiDE offers a robust, mathematically grounded path forward in causal discovery.

Summary updated

BibTeX
@inproceedings{saboksayr2024colide,
  author = {Seyed Saman Saboksayr and Gonzalo Mateos and Mariano Tepper},
  title = {{CoLiDE: Concomitant Linear DAG Estimation}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=fGAIgO75dG},
}
Figure