# Causal learning with the invariance principle

*Francesco Montagna, Francesco Locatello*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148923) · [OpenReview](https://openreview.net/forum?id=uC8JCLIwIA) · [alphaXiv](https://www.alphaxiv.org/abs/2605.13589) · [Open on the map](../papers.html#p148923)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Causal Effect Identification under Partial Observability](../pgroup/383.md) · Type: theory · Keywords: causal discovery, invariance principle, structural causal models, counterfactual inference, acyclic causal graphs

Areas: [Causal Inference](../areas/causal-inference.md) › Causal Learning › Causal Discovery under Bias

## Summary
The invariance principle shows that only two auxiliary environments are enough to infer causal graphs and functional mechanisms in structural causal models.

## Explained to a 5-year-old
Imagine you have two toys that sometimes move together. You might wonder which toy is pushing the other. Usually it's tricky because many stories could explain what you see. Scientists say that if the way the toys work never changes, and they are not tangled, you can figure out the real cause. With only two places you can also guess what would happen if you changed something.

## Explained to a 5-year-old, longer
Imagine you have two toys that sometimes move together. You might wonder which toy is pushing the other. Usually it's tricky because many stories could explain what you see. Scientists say that if the way the toys work never changes, and they are not tangled, you can figure out the real cause. They also say that looking at just two different places where things stay the same is enough. This works even if the toys do complicated things. With only two places you can also guess what would happen if you changed something. They tested this idea by making up pretend data that follows the rules. The pretend data helped them see if their idea really works. They found that the idea works well on the pretend data. This gives confidence that the method could be useful in real life. The result shows that fewer experiments are needed to understand cause and effect.

## For a technical reader
The paper addresses the classic problem of determining cause-and-effect relationships from data, which is normally under-determined. It shows that if the causal relationships are acyclic and remain invariant across environments, just two additional environments are enough to uniquely recover the causal graph and the underlying functional mechanisms, even for highly nonlinear models. This result also guarantees correct counterfactual predictions under the same conditions. The authors back the theory with experiments on synthetic datasets that follow the assumed invariances. The finding suggests that many causal-discovery tasks can be solved with far fewer environment samples than previously thought.

## Problem
Inferring the direction of causality from observational data is generally ill-posed, as many different causal structures can produce identical statistical dependencies.

## Method
Assuming acyclicity and invariance across environments, the approach demonstrates that two auxiliary environments suffice to recover the causal graph and functional mechanisms for arbitrary nonlinear mechanisms.

## Contributions
The paper proves that only two auxiliary environments are sufficient to identify causal graphs and functional mechanisms under acyclicity and invariance assumptions, and it validates the result empirically on synthetic data.

## Limitations and assumptions
The result relies on the assumptions of acyclicity and invariance across environments, and the empirical validation is limited to synthetic data.

## Research questions this paper is counted under

- [How can we reliably infer causal relationships and effects when key information such as the full causal graph, confounders, or intervention details is missing or ambiguous?](../q/30.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148923)
