Causal Inference via Kernel Deviance Measures

Jovana Mitrovic, Dino Sejdinovic, Yee Whye Teh

Determining the direction of causality between two variables—identifying whether $X \to Y$ or $Y \to X$—is a fundamental challenge in science, particularly when randomized experiments are impossible. The paper introduces KCDC (Kernel Conditional Deviance for Causal Inference), a fully nonparametric method designed to determine causal direction using only observational data. By leveraging Reproducing Kernel Hilbert Spaces (RKHS), KCDC quantifies the "structural variability" of conditional distributions, successfully identifying cause-effect pairs even when traditional methods fail due to complex noise or non-linear interactions.

The Challenge of Observational Causal Discovery

Existing methods for observational causal discovery typically fall into two categories, both of which have significant limitations:

  1. Constraint-based methods: These rely on conditional independence tests. They are often fragile in practice and generally require at least three variables to function, making them unsuitable for isolated bivariate pairs.
  2. Functional Causal Models: These approaches assume a specific mathematical relationship between variables, such as Additive Noise Models (ANM) where $Y = f(X) + \epsilon$. If the real-world data generation process does not fit this specific shape—for instance, if the noise is multiplicative or the interaction is highly complex—these models break down.

The authors tackle the bivariate case without making restrictive assumptions about the functional form or the underlying noise structure.

Methodology: Algorithmic Asymmetry and KCDC

The core of KCDC is built on a novel interpretation of algorithmic asymmetry. Intuitively, if $X$ causes $Y$, the "mechanism" that produces $Y$ from $X$ should be independent of the value of $X$. Conversely, in the "anticausal" direction ($Y \to X$), the description of the mechanism often appears to change depending on the value of $Y$.

To formalize this, the authors draw on Kolmogorov Complexity. In the true causal direction, the shortest computer program required to represent the conditional distribution $P(Y|X=x)$ should have a relatively constant length across different values of $x$. Because Kolmogorov complexity is uncomputable in practice, the authors use Kernel Mean Embeddings as a proxy.

By representing conditional distributions in a high-dimensional feature space (RKHS), they define a "deviance" measure ($S_{X \to Y}$). This measure calculates the variability of the norms of these embeddings across the dataset. A lower deviance suggests that the "program" generating the data is more consistent, indicating the likely causal direction. To make a final determination, the authors propose decision rules based on direct deviance comparison, majority voting across different kernel settings, or a trained classifier.

Datasets and Benchmarks

The authors evaluated KCDC against several benchmarks to test its robustness across different noise profiles and real-world scenarios:

  • Synthetic Data: The model was tested across three distinct regimes (Additive, Multiplicative, and Complex noise) using various functional forms (polynomial, trigonometric, logarithmic).
Synthetic noise models used for evaluation.
  • Tübingen Cause-Effect Pairs (TCEP): A standard real-world benchmark containing 100 pairs of variables (e.g., altitude vs. temperature) with known ground-truth causal directions.
  • Arrow of Time: Multivariate time series of GDP growth rates for the UK, Canada, and the USA, where the objective is to correctly identify the forward direction of time.

Key Insights

The primary breakthrough of KCDC is using structural variability as a signal. The authors realized that structural changes in the conditional density—such as shifts in the number of modes or higher-order moments—are far more telling than simple changes in mean or variance.

Because KCDC does not assume a specific "noise-adding" mechanism, it gracefully handles multiplicative noise (e.g., $Y = f(X) \cdot e^\epsilon$) and complex interactions (e.g., $Y = \log(f(X)) + \dots$) that confound traditional models. Furthermore, by utilizing kernel methods, KCDC can theoretically be applied to non-Euclidean data types like strings, graphs, or genetic sequences, provided a valid kernel can be defined.

Key Results

KCDC demonstrated strong performance across both synthetic and real-world evaluations:

  • Synthetic Superiority: KCDC achieved perfect performance in all additive and multiplicative noise settings. In contrast, traditional methods like ANM failed significantly when confronted with multiplicative and complex noise.
  • State-of-the-Art on TCEP: On the real-world Tübingen dataset, KCDC reached an impressive accuracy of 78.71%, outperforming other high-profile methods such as CGNN (74.4%) and RCC (64.67%).
Performance comparison on the TCEP benchmark.
  • Time Direction: The method successfully identified the "Arrow of Time" in the macroeconomic GDP data, a task where the popular LiNGAM method failed.

Limitations and Future Work

Despite its strong performance, KCDC shares a common limitation with most causal methods: identifiability in purely linear Gaussian cases. In such scenarios, the mathematical asymmetry is non-existent, making directionality impossible to determine from observational data alone.

Additionally, while the paper suggests using KCDC in tandem with algorithms like PC to orient edges in larger Directed Acyclic Graphs (DAGs), the primary experiments are limited to bivariate pairs. Scaling this computationally intensive kernel method to hundreds of variables remains a challenge. Finally, while majority voting helps mitigate hyperparameter sensitivity, the choice of kernel and regularization parameters still influences outcomes, highlighting a need for more automated tuning in future iterations.

Summary updated

BibTeX
@inproceedings{mitrovic2018causal,
  author = {Jovana Mitrovic and Dino Sejdinovic and Yee Whye Teh},
  title = {{Causal Inference via Kernel Deviance Measures}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
}
Figure