Scale Invariance and Varsortability in Causal Discovery

This direction is split into other directions: scale-invariant causal discovery. Its last version stays readable and citable here.

Version 1 of 143 papers87 conceptsfrozen 2026-10-04

In the physical world, causal relationships are independent of how we measure them. If smoking causes lung cancer, that fact remains true whether we measure cigarette consumption in packs per day or grams of tobacco per year. However, a growing body of research reveals that many modern causal discovery algorithms—the tools we use to infer "what causes what" from data—are dangerously sensitive to these arbitrary choices of scale.

The Variance Trap

Most automated causal discovery methods, particularly differentiable ones like NOTEARS, attempt to find a Directed Acyclic Graph (DAG) by minimizing a loss function, typically Mean Squared Error (MSE). The intuition seems sound: the "true" causal model should be the one that explains the data with the least amount of residual noise.

But as Jonas Seng and Kristian Kersting demonstrate in Learning Large DAGs is Harder than you Think, this reliance on MSE creates a "scale-sensitivity" bug. Because MSE is measured in the units of the variable being predicted, an algorithm can be "tricked" into reversing a causal arrow simply by rescaling the data. If you change the units of variable $Y$ from meters to kilometers, its variance shrinks by a factor of a million. A loss-minimizing algorithm might then decide that $Y$ must be the "cause" of $X$ simply because $Y$ now has a smaller error term to minimize.

This vulnerability is not just a theoretical edge case. Huiyang Yi shows that in misspecified scenarios, gradient-based learners often prioritize fitting high-variance noise over identifying the true underlying mechanism, leading to systematic errors in edge orientation.

Varsortability: The "Cheat Code" in Benchmarks

The community recently faced a "wake-up call" regarding how we evaluate these algorithms. In Beware of the Simulated DAG!, Alexander G. Reisach and Sebastian Weichwald discovered that many popular synthetic benchmarks have a hidden property called varsortability.

In these simulations, the marginal variance of variables tends to increase along the causal chain. If $X \to Y \to Z$, then $Var(X) < Var(Y) < Var(Z)$. Algorithms that appear to be "learning" causal structure are often just sorting variables by their variance—a heuristic that works on biased simulations but fails on real-world data where scales are arbitrary. When these datasets are standardized to unit variance, the performance of many state-of-the-art models collapses, revealing that they were exploiting scale-based shortcuts rather than structural signals.

Toward Scale-Invariant Discovery

To move beyond these heuristics, researchers are developing methods that are mathematically invariant to transformations of the data.

  1. Likelihood-based Objectives: Chang Deng and Bryon Aragam propose replacing MSE with regularized log-likelihood scores. As detailed in Likelihood-based Differentiable Structure Learning, log-likelihood is naturally scale-invariant, preventing the optimization process from being biased by the marginal variances of variables.
  2. Dimensionless Metrics ($R^2$): Instead of looking at absolute error, some methods look at the proportion of variance explained. Myriam Tami explores $R^2$-sortability, showing that the fraction of explained variance is a more robust signal for causal ordering than raw variance, even after data standardization.
  3. Nonlinear Invariance: In the realm of econometrics, Susan Athey and Guido Imbens pioneered the Changes-in-Changes model. Unlike linear methods, their approach uses quantile-based mapping, ensuring that conclusions remain identical whether the researcher analyzes data in raw levels or logarithmic scales.
  4. Functional Independence: Algorithms like SNOE, described by Qing Zhou, focus on the independence of residuals rather than their magnitude. By testing whether the noise is truly independent of the cause, these methods avoid the pitfalls of variance-based sorting.

Why It Works: The Geometry of Noise

The reason scale-invariant methods work is that they focus on the asymmetry of the functional relationship rather than the magnitude of the spread.

As Patrick Blöbaum and Bernhard Schölkopf argue in their work on regression errors, the causal direction is often "simpler" to describe. In an additive noise model $Y = f(X) + N$, the noise $N$ is independent of $X$. If we try to fit the model in reverse ($X = g(Y) + \tilde{N}$), the "anti-causal" noise $\tilde{N}$ will almost always be dependent on $Y$.

Scale-invariant discovery succeeds by looking for this signature of independence—a physical property of the system—rather than the accidental variance patterns introduced by our choice of rulers and clocks.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_scale_invariance_and_varsortability_in_c_6dac3e07,
  title = {Scale Invariance and Varsortability in Causal Discovery},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/scale-invariance-and-varsortability-in-causal-discovery/rdr_6dac3e0709cb4e77b80ebda91530506a},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_scale_invariance_and_varsortability_in_c_6dac3e07_v1,
  title = {Scale Invariance and Varsortability in Causal Discovery},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/scale-invariance-and-varsortability-in-causal-discovery/rdr_6dac3e0709cb4e77b80ebda91530506a/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}