On the Identifiability and Estimation of Causal Location-Scale Noise Models

Alexander Immer, Christoph Schultheiss, Julia E. Vogt, Bernhard Schölkopf, Peter Bühlmann, Alexander Marx

Abstract: We study the class of location-scale or heteroscedastic noise models (LSNMs), in which the effect $Y$ can be written as a function of the cause $X$ and a noise source $N$ independent of $X$, which may be scaled by a positive function $g$ over the cause, i.e., $Y = f(X) + g(X)N$. Despite the generality of the model class, we show the causal direction is identifiable up to some pathological cases. To empirically validate these theoretical findings, we propose two estimators for LSNMs: an estimator based on (non-linear) feature maps, and one based on neural networks. Both model the conditional distribution of $Y$ given $X$ as a Gaussian parameterized by its natural parameters. When the feature maps are correctly specified, we prove that our estimator is jointly concave, and a consistent estimator for the cause-effect identification task. Although the neural network does not inherit those guarantees, it can fit functions of arbitrary complexity, and reaches state-of-the-art performance across benchmarks.

Introduction

A fundamental challenge in machine learning is causal discovery: determining whether $X$ causes $Y$ or $Y$ causes $X$ from observational data alone. Traditional approaches often rely on Additive Noise Models (ANMs), where $Y = f(X) + N$. While useful, ANMs assume homoscedasticity—that the noise level is constant across all values of $X$. Real-world data frequently violates this, exhibiting heteroscedasticity where the variance of the noise depends on the cause.

The Location-Scale Noise Model (LSNM)

To address this, we introduce the Location-Scale Noise Model (LSNM), defined as: $$Y = f(X) + g(X)N$$ where $g(X)$ is a positive scaling function. This model is significantly more flexible than the ANM, as it accounts for varying noise scales. However, this flexibility introduces two hurdles: proving the causal direction is still unique (identifiability) and finding a stable way to estimate the model parameters.

Comparison of LSNM and ANM fits in causal and anticausal directions. LSNM correctly captures the heteroscedastic nature of the data, whereas ANM fails to account for the varying noise scale.

Theoretical Identifiability

We demonstrate that LSNMs are identifiable in the causal direction except for specific "pathological" cases. By deriving a partial differential equation (PDE) that must be satisfied for a model to be reversible (fitting equally well in both directions), we show that for generic functions $f$ and $g$, no such solution exists. This provides a solid theoretical foundation for using heteroscedasticity as a signal for causal direction.

Concave Estimation via Natural Parameters

Standard heteroscedastic regression typically involves non-concave loss functions, leading to local minima and inconsistent causal inferences. Our "secret sauce" is reparameterizing the Gaussian distribution using its natural parameters ($\eta_1, \eta_2$). By modeling these as linear combinations of feature maps, the log-likelihood becomes jointly concave. This ensures optimization reaches a global optimum, providing a reliable noise estimate for causal testing.

We propose the LOCI (Location-Scale Causal Inference) algorithm in two variants:

  1. LOCI-M (Likelihood-based): Selects the direction with the higher log-likelihood.
  2. LOCI-H (Independence-based): Uses the Hilbert-Schmidt Independence Criterion (HSIC) to determine which direction yields residuals most independent of the input.

Empirical Results

We evaluated LOCI against established baselines like RESIT, QCCD, and GRCI across 13 benchmarks, including synthetic LSNM datasets and the Tübingen cause-effect pairs.

Accuracy of LOCI variants compared to baselines across various synthetic datasets (AN, ANs, LS, LSs, MNU).

Key findings include:

  • Superior Accuracy: On synthetic datasets where LSNM assumptions hold (e.g., MNU and LS), our neural network variant (NN-LOCI) achieved near 100% accuracy, while additive models often dropped to near-random performance.
  • State-of-the-Art Performance: NN-LOCI-H achieved the highest aggregate accuracy across all benchmarks and demonstrated the best Area Under the Decision Rate Curve (AUDRC), indicating high confidence in its correct predictions.
  • Robustness: The concave estimator proved significantly more stable than standard iterative methods, particularly on the small datasets common in causal discovery tasks.

Conclusion

By treating heteroscedasticity as a causal fingerprint rather than a nuisance, LSNMs offer a powerful framework for causal discovery. The shift to natural parameters transforms a difficult optimization problem into a provably concave one, bridging the gap between theoretical identifiability and practical, high-performance estimation. Future work will explore extending this bivariate approach to larger Directed Acyclic Graphs (DAGs).

Summary updated

BibTeX
@inproceedings{immer2023identifiability,
  author = {Alexander Immer and Christoph Schultheiss and Julia E. Vogt and Bernhard Schölkopf and Peter Bühlmann and Alexander Marx},
  title = {{On the Identifiability and Estimation of Causal Location-Scale Noise Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=GodVbsIW9A},
}
Figure