Cause-Effect Inference by Comparing Regression Errors

Patrick Blöbaum, Dominik Janzing, Takashi Washio, Shohei Shimizu, Bernhard Schölkopf

Abstract

Determining the causal direction between two variables $X$ and $Y$ is a fundamental challenge in data science, particularly when conditional independence patterns are unavailable. We present RECI (Regression Error based Causal Inference), a computationally efficient method that identifies the causal direction by comparing the mean squared errors (MSE) of regressions in both directions. Grounded in the independence postulate and the geometric asymmetry of noise propagation, RECI demonstrates that the causal direction is naturally "easier" to fit than the anti-causal one, often outperforming more complex statistical models.

Introduction

Most causal discovery algorithms rely on at least three variables to identify patterns of conditional independence (e.g., $X \to Y \to Z$). However, in the bivariate causal discovery problem, where only $X$ and $Y$ are observed, these patterns do not exist. Existing solutions often rely on restrictive assumptions: LiNGAM requires linear relationships and non-Gaussian noise, while Additive Noise Models (ANM) assume noise is strictly independent of the cause. RECI addresses these limitations by providing a general framework that handles non-linearities and dependent noise without requiring expensive statistical independence tests.

Methodology

RECI is based on the Independence Postulate, which assumes that the mechanism (the function $\phi$ relating cause to effect) is independent of the input distribution. This leads to a Geometric Asymmetry: in a nearly deterministic relationship, noise propagates differently depending on the direction of inference. Because of the slope of the causal function, the "horizontal" noise observed in the anti-causal direction ($E \to C$) typically appears larger or more complex to model than the "vertical" noise in the causal direction ($C \to E$).

The RECI Algorithm

  1. Normalization: Scale both variables to the same range (e.g., $[0, 1]$) or unit variance to ensure MSEs are comparable.
  2. Regression: Fit regression models for both $X = f(Y)$ and $Y = f(X)$. These models can range from simple monomials to neural networks.
  3. Comparison: Calculate the MSE for both directions. The direction yielding the lower MSE is inferred as the causal direction.

Experimental Evaluation

The researchers evaluated RECI against state-of-the-art methods using both synthetic and real-world benchmarks:

  • Synthetic Benchmarks: Four categories of simulated pairs: SIM (standard), SIM-c (with confounders), SIM-ln (low noise), and SIM-G (Gaussian distributions).
  • Real-World Benchmark (CEP): The Cause-Effect Pairs dataset, containing 100 pairs with expert-verified ground truth from domains like meteorology and biology.

Key Results

On artificial data, RECI variants consistently outperformed established methods like LiNGAM and were highly competitive with ANM while being significantly faster. A key insight was that simple regression models, such as low-degree monomials, often outperformed complex neural networks. This is because complex models tend to overfit the anti-causal direction, masking the natural error asymmetry that RECI exploits.

Performance of RECI variants (blue) vs. baseline methods (black) across four synthetic benchmarks: (a) standard, (b) with confounders, (c) low noise, and (d) Gaussian distributions.

On the real-world CEP benchmark, RECI achieved top-tier results. Specifically, using simple monomial functions ($ax^2+c$ or $ax^3+c$) yielded the highest accuracy. Furthermore, the ratio of the two regression errors serves as an effective confidence measure; by rejecting cases where the error ratio is near one, the algorithm's precision on the remaining pairs increases significantly.

Discussion and Limitations

While RECI is robust and efficient, it is sensitive to variable scaling. The choice of a $[0, 1]$ scaling convention is effective but may not be optimal for all scenarios. Additionally, the theory is strongest for "almost deterministic" systems; in extremely noisy environments, the error asymmetry may vanish. Future work involves automating the selection of the regression model class to further enhance robustness across diverse datasets.

Summary updated

BibTeX
@inproceedings{blobaum2018cause,
  author = {Patrick Blöbaum and Dominik Janzing and Takashi Washio and Shohei Shimizu and Bernhard Schölkopf},
  title = {{Cause-Effect Inference by Comparing Regression Errors}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
}
Figure