Distinguishing Cause from Effect Using Quantiles: Bivariate Quantile Causal Discovery

Natasa Tagasovska, Valérie Chavez-Demoulin, Thibault Vatter

In the world of data science, we are often reminded that "correlation does not imply causation." However, in many fields, researchers only have access to observational data and desperately need to know which variable is the cause and which is the effect. This challenge is particularly difficult in the bivariate case (where we only have two variables, $X$ and $Y$), because the statistical dependency often looks identical in both directions.

To tackle this, researchers have developed bQCD (Bivariate Quantile Causal Discovery), a novel method that determines causal direction ($X \to Y$ or $Y \to X$) by analyzing how well different "slices" of data—known as quantiles—can be compressed.

The Problem with Average-Based Models

Most existing solutions for bivariate causal discovery rely on "Additive Noise Models" (ANMs). These models assume that the effect is simply the cause plus some random, independent error ($Y = f(X) + \epsilon$).

Unfortunately, these models frequently break down in the real world when the "noise" is heteroskedastic—meaning the variance of the effect changes depending on the value of the cause.

Income vs. Food Expenditure

For example, as income increases, food expenditure doesn't just go up on average; it also becomes much more variable. Wealthier individuals might spend a little or a lot, whereas lower-income individuals have a much tighter variance in their spending. Standard mean-based methods are essentially "blind" to this structural information, missing crucial clues about the causal direction.

The bQCD Approach: Compression and Quantiles

The authors propose bQCD, which leverages the Minimum Description Length (MDL) principle. The core idea is elegant: the true causal direction should allow for a shorter, more efficient description (or compression) of the joint distribution of the data.

Instead of just predicting the conditional mean, bQCD predicts multiple conditional quantiles (e.g., the 10th, 50th, and 90th percentiles). The "aha moment" of this paper is that the shape of the conditional distribution—captured by these quantiles—contains causal footprints that the average ignores. If the spread of $Y$ depends heavily on $X$, that provides a massive hint about the causal direction.

Key technical components of bQCD include:

  • Pinball Loss as a Proxy: Because Kolmogorov complexity (the theoretical limit of compression) is uncomputable, the authors use "pinball loss"—the standard loss function for quantile regression—as a proxy for the code length needed to describe the data.
  • Nonparametric Flexibility: To avoid restrictive assumptions, bQCD is implemented using three different "engines": Copulas, Quantile Random Forests, and Quantile Neural Networks.
  • The Decision Rule: The model calculates the total quantile score for both $X \to Y$ and $Y \to X$. The direction with the lower score (the one that "compresses" the data better across all quantiles) is chosen as the true cause.

Experimental Setup and Key Results

The paper evaluates bQCD on a mix of synthetic and real-world datasets, including standard simulated benchmarks (SIM, SIM-ln, SIM-G) and a version with latent confounders (SIM-c).

To specifically test heteroskedastic scenarios, the authors introduced a diverse set of synthetic pairs, including Additive Noise (AN), Location-Scale (LS), and Multiplicative Noise (MN) models.

Different Noise Models

Superiority in Complex Noise

On the Location-Scale (LS) and Multiplicative Noise (MN) benchmarks, bQCD significantly outperformed state-of-the-art methods like RESIT and traditional additive noise models. In these complex settings, older methods often performed no better than a coin flip, whereas bQCD successfully identified the causal direction.

Real-World Performance and Efficiency

The method was also tested on the famous Tübingen Cause-Effect Benchmark, a real-world dataset containing 99 pairs of variables from diverse domains (e.g., altitude vs. temperature) where the ground-truth causal direction is known. bQCD achieved a weighted accuracy of 75%, placing it among the top-performing algorithms.

Furthermore, bQCD proved to be computationally lightweight. It processed the entire Tübingen dataset in about 7 minutes, whereas some kernel-based competitors took several days to complete the same task. Interestingly, the causal signal remained consistent regardless of whether Neural Nets, Forests, or Copulas were used to calculate the quantiles, suggesting bQCD captures a fundamental property of the data rather than an artifact of a specific algorithm.

Limitations and Future Work

While bQCD represents a significant step forward, it has limitations. The underlying theory assumes there are no hidden common causes (latent confounders), though it did show some empirical robustness in confounded synthetic datasets. Additionally, the current work focuses strictly on bivariate pairs ($X, Y$). Extending this quantile-based approach to multivariate graphs is a promising, unexplored direction.

Finally, while the empirical results are highly compelling, the authors note that finding the exact structural assumptions required for strict "identifiability"—the mathematical proof that the cause can always be found using quantiles—remains an open problem for future theoretical refinement.

Summary updated

BibTeX
@inproceedings{tagasovska2020distinguishing,
  author = {Natasa Tagasovska and Valérie Chavez-Demoulin and Thibault Vatter},
  title = {{Distinguishing Cause from Effect Using Quantiles: Bivariate Quantile Causal Discovery}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure