CS58700 - Foundations of Deep Learning¶

Spring 2026¶

Instructor and Copyright: Bruno Ribeiro¶

Causality, Out-of-Distribution Generalization, and Causal Representation Learning¶

Part I: Introduction to Structural Causal Modeling¶

Causality vs Data-driven Modeling¶

Understanding What Probabilities Really Are¶

In this course, we have often used libraries to sample random variables

import numpy as np

[...]

ramdom_exp_values = np.random.exponential(my_lambda)

ramdom_normal_values = np.random.normal(average,std)
  • But how do these libraries work?

Data Generation Process (i)¶

Inversion transform sampling method

Wikipedia example for exponential distribution $P(X \leq x) = F_{X}(x)=1-e^{-\lambda x}$ with inverse $x=F_X^{-1}(r)=-{\frac {1}{\lambda }}\ln(1-r)$:

No description has been provided for this image
  • This is the most fundamental technique for generating sample values of random variables

  • It uses the cumulative distribution function (CDF) of the random variable

  • The method depends on the fact that, for any random variable X, the CDF, $F_X(x) = P(X \leq x)$, is a non-decreasing function of $x$ that outputs a number in the interval [0,1]

  • Let $F_X^{-1}$ be the inverse of $F_X$, i.e., $x = F_X^{-1}(F_X(x))$.

  • Let $r \sim \text{Uniform}(0,1)$ be a random uniform value in the interval [0,1]

    • This is obtained by a pseudorandom number generator
  • Then, $$ x_\text{sample} = F_X^{-1}(r)$$ is a random sample with distribution $P(X = x)$.


Data Generation Process (ii)¶

Any probability distribution $$P(Y)$$ can be described as the data generated by the inverse transform sampling $$Y=F_Y^{-1}(U),$$
where $$F_Y^{-1} \text{ is a deterministic function}$$ and $$U\sim\text{Uniform}(0,1)$$ is some independent uniform random noise.

Notation: $a \sim b$ means $a$ is "sampled from distribution" $b$


Data Generation Process (iii)¶

Conditional Distributions¶

Any conditional probability distribution $$P(Y|X=x)$$ can be described as $$Y = F_{Y|X}^{-1}(x,U)$$ for $$U\sim\text{Uniform}(0,1).$$


Data Generation Process & Simpson's Paradox¶

Consider the following supervised learning task. Doctors prescribe two different treatments (A and B) to patients with kidney stones. Our goal is to predict which treatment we should ascribe to a patient (even a Naïve Bayes classifier can do this simple task). Let $T \in \{A,B\}$ denote the prescribed treatment. And let $Y \in \{0, 1\}$ be the success (1) or failure (0) of the treatment. In our dataset, we have 700 patients ascribed treatment, equally balanced between A and B.

No description has been provided for this image
  • Which treatment is more effective: A or B?

Alice, the person in charge of applying machine learning at the hospital, investigated the data a little further and identified that doctors find treatment A more invasive and tend to only prescribe it in more severe cases. Her new data shows the following

No description has been provided for this image
  • Which treatment is more effective: A or B?

  • Now treatment A seems to be more effective

Describing Joint Probability Distributions¶

Let $Y,T,S \in \{0,1\}$ be three binary random variables.

Consider the following interpretation.

  • $Y$ = treatment positive outcome {0,1}
  • $T$ = treatment {A,B}
  • $S$ = kidney stone size.

Suppose we use hospital information as training data for our statistical model: $\mathcal{D}=\{(y_i,t_i,s_i)\}_{i=1}^{n}$ for each patient $i$.

The chain rule of probability) states $$ P(A,B) = P(A|B)P(B) = P(B|A)P(A).$$

Hence, the joint probability distribution of $(Y,T,S)$ is $$ P(Y,T,S) $$ and can be decomposed as $$ P(Y|T,S)P(T|S)P(S) $$ or $$ P(S|Y,T)P(Y|T)P(T) $$ or $$ P(S|T,Y)P(T|Y)P(Y) $$ or ...

On the Data Generation Process¶

A joint probability distribution is simply a way to assign probabilities to joint events

Q: Should we use conditional distributions to interpret how the data was generated?

A: Never, because for any of the following data generation processes describes the training data equally well:

  1. A data generation process based on the decomposition $P(Y|T,S)P(T|S)P(S)$:

$$\begin{align} S&=F^{-1}_S(U_S),\\ T&=F^{-1}_T(S,U_T),\\ Y&=F^{-1}_Y(T,S,U_Y),\end{align}$$

where $U_S, U_T, U_Y \sim \text{Uniform}(0,1)$ are uniform variables sampled indepedently.

  1. A data generation process based on the decomposition $P(Y|T,S)P(S|T)P(T)$:

$$\begin{align} T&=F^{-1}_T(U_T),\\ S&=F^{-1}_S(T,U_S),\\ Y&=F^{-1}_Y(T,S,U_Y),\end{align}$$

where $U_S, U_T, U_Y \sim \text{Uniform}(0,1)$ sampled indepedently.

  1. A data generation process based on the decomposition $P(Y|T,S)P(S)P(T)$ that assumes $P(S|T)=P(S)$:

$$\begin{align} T&=F^{-1}_T(U_T),\\ S&=F^{-1}_S(U_S),\\ Y&=F^{-1}_Y(T,S,U_Y),\end{align}$$

where $U_S, U_T, U_Y \sim \text{Uniform}(0,1)$ sampled indepedently.

Hence, we cannot predict what happens if we force $T = A$ in the data generation process (force treatment to be "A"): $$ P(Y,S|do(T=A)) $$

  • do() notation: The DO notation asks what would happen if we forced a variable to have a certain value. This is the notation developed by Judea Pearl (Turin Award Winner 2011).

Alternative notation: An alternative notation for $P(Y,S|do(T=A))$ is $$ P(Y(T=A),S(T=A)) $$ which is the notation used by Guido Imbens (Nobel Prize Winner 2021).

  1. In the data generation process

$$\begin{align} S&=F^{-1}_S(U_S),\\ T&=F^{-1}_T(S,U_T),\\ Y&=F^{-1}_Y(T,S,U_Y),\end{align}$$

the "do" operation is forcing $T=A$, hence the data is generated as $$\begin{align} S&=F^{-1}_S(U_S),\\ T&=A,\\ Y&=F^{-1}_Y(T,S,U_Y).\end{align}$$

  1. In a different data generation process, the "do(T=A)" operation gets the following data $$\begin{align} T&=A,\\ S&=F^{-1}_S(T,U_S),\\ Y&=F^{-1}_Y(T,S,U_Y).\end{align}$$

  2. In yet another data generation process, the "do(T=A)" operation gets the following data $$\begin{align} T&=A,\\ S&=F^{-1}_S(U_S),\\ Y&=F^{-1}_Y(T,S,U_Y).\end{align}$$

Q: Which data generation process is more likely to describe our hospital data?

No description has been provided for this image

The Dangers of Pure Data-driven Machine Learning¶

No description has been provided for this image

In our data, we found that given treatment B ($T=B$), patients are more likely to recover ($Y=1$) than with treatment $T=A$: $$ P(Y=1|T=B) > P(Y=1|T=A) $$

Is the above enough evidence to say that treatment B is better than A?

The "Simple Statistical Model" fallacy

  • In another hospital, it is possible that $P(Y=1|T=B)\approx 1$ and $P(Y=1|T=A)\approx 0$, which would allow us to build a simple predictive model
  • Still, even under this scenario, we could still have $P(Y=1|do(T=B))\approx 0$.
    • Using model simplicity to justify our classifier's decisions is an example of associational machine learning
      • Occam's raisor: the simplest explanation is likely the true explanation
        • Occam's raisor is a misleading principle for explaining cause and effect

Causal Execution Directed Acyclic Graph¶

We could describe the data generation process of the kidney stone example using the following random variables:

  • $S$ = Kidney stone size
  • $T$ = Treatment type
  • $Y$ = Treatment outcome $$\begin{align} S&=F^{-1}_S(U_\text{stone size}),\\ T&=F^{-1}_T(S,U_\text{treatment}),\\ Y&=F^{-1}_C(T,S,U_\text{outcome}),\end{align}$$
    where $U_\text{stone size},U_\text{treatment},U_\text{outcome} \in [0,1]$ are independent variables.

The above data generation can be described by an execution graph, called the causal Directed Acyclic Graph (DAG):

No description has been provided for this image

Confounder variables¶

  • We say kidney stone size ($S$) is a confounder variable, which is a common cause for both Treatment $T$ and outcome $Y$
No description has been provided for this image

Another data generation process for $P(Y,T,S)$:

$$\begin{align} S&=F^{-1}_S(U_\text{Zeus}),\\ T&=F^{-1}_T(U_\text{Zeus}),\\ Y&=F^{-1}_Y(U_\text{Zeus}),\end{align}$$

where $U_\text{Zeus} \sim \text{Uniform}(0,1)$ a decision of the Greek god Zeus.

Q: From data alone, can we tell which data generation process is the correct one?

No. From data alone, we cannot tell which data generation process is the correct one

Causal Directed Acyclic Graph (Causal DAG)¶

The DAG graph notation is as follows:

No description has been provided for this image

Structural Causal Models (SCMs)¶

Structural Causal Modeling (SCM) is a formal way to describe what we know about the data generation process.

  • Structural Causal Modeling is a combination of data generation equations and their graphical representation
    • Think of SCM as a description of the code that generated the data

(Galles & Pearl (1998)) shows that any data generation process can be described through a causal DAG.

  • The variables $X_1,\ldots,X_n$ are the endogenous variables
    • Endogenous variables are real quantities that one could measure
  • The variables $U_1,\ldots,U_m$ are called exogenous variables, $m \geq n$.
    • Exogenous variables are not explicitly modeled in our task (often they cannot be measured)
  • Directed Acyclic Graph (DAG) $G$ with endogenous variables as vertices $X_1,\ldots,X_n$
    • May also include exogenous variables $U_1,\ldots,U_m$ as vertices
  • Semantics: Parents = direct causes
    • $\text{PA}(H)$ are the parents of variable $H$ in the causal DAG (described next).
  • We define a vertex $X_i$ as $$X_i := f_i(\text{PA}(X_i), U_i),\quad i\in \{1,\ldots,n\}$$ where $U_i$ are denoted as noise variable (or just exogenous variables)

Independence between Cause and Mechanism (ICM) (Lemeire & Dirkx 2006), (Janzing & Schölkopf 2010)¶

  • Independence between Cause and Mechanism (ICM) generally assumes that:
  1. The mechanisms $\{f_i\}_{i=1}^n$ do not depend on the exogeneous variables $U_1,\ldots,U_m$
  2. The exogeneous variables $U_1,\ldots,U_m$ are independent.

The ICM principle is a foundational assumption in modern causal inference (Peters, Janzing, & Schölkopf, 2017) and plays a central role in connecting causality to machine learning, as emphasized in (Schölkopf et al., 2012).


Causal vs. Anticausal Learning (Schölkopf et al., 2012)¶

The ICM principle has a crucial practical consequence: the behavior of learning algorithms depends on whether we predict effects from causes or causes from effects.

  • Causal direction ($X \to Y$): We predict the effect $Y$ from the cause $X$. Since $P(X,Y) = P(Y|X)P(X)$ and ICM says the mechanism $P(Y|X)$ is independent of the input distribution $P(X)$, changes in $P(X)$ (covariate shift) do not affect the optimal predictor $P(Y|X)$.

    • Semi-supervised learning does not help (knowing $P(X)$ tells us nothing about $P(Y|X)$).
    • Domain adaptation is easier: the conditional $P(Y|X)$ transfers across domains.
  • Anticausal direction ($Y \to X$): We predict the cause $Y$ from the effect $X$ (e.g., predicting disease from symptoms, predicting class label from image). Now $P(X,Y) = P(X|Y)P(Y)$, and the optimal predictor $P(Y|X) \propto P(X|Y)P(Y)$ depends on both the mechanism $P(X|Y)$ and the marginal $P(Y)$.

    • Semi-supervised learning can help (knowing $P(X)$ constrains the marginal $P(Y)$).
    • Domain adaptation is harder: changes in $P(Y)$ affect the optimal predictor.
  • The ants/bees problem is anticausal — we predict the label (cause) from the image (effect). The background $Z$ acts as a confounder through the shared exogenous variable $U$, making the problem fundamentally harder than if we were in the causal direction.


Causal Discovery: Where Do DAGs Come From?¶

So far we have assumed the causal DAG is given. But in practice, we often need to discover it from data. This is the field of causal discovery (Spirtes, Glymour, & Scheines, 2000).

Key insight — Faithfulness assumption: We assume that the only conditional independencies in the data are those implied by the DAG structure (via d-separation). Under this assumption:

  • From observational data alone, we can identify the DAG only up to its Markov equivalence class — the set of DAGs that encode the same conditional independencies.
  • The PC algorithm (Spirtes et al., 2000) tests conditional independencies to reconstruct the equivalence class. The GES algorithm (Chickering, 2002) uses a score-based search.
  • Some edges remain unoriented — purely observational data cannot always determine causal direction.
  • Additional assumptions (e.g., non-Gaussianity in LiNGAM (Shimizu et al., 2006), or nonlinear additive noise (Peters et al., 2014)) can resolve these ambiguities.

Why this matters for CRL: Causal representation learning is essentially causal discovery in latent space — we must simultaneously learn the latent variables $Z$ from observations $X = g(Z)$ and discover their causal graph $\mathcal{G}_Z$. The identifiability challenges of standard causal discovery compound with those of representation learning.


Causal Effects¶

What happens with $T$ if we force $do(T=B)$, i.e., we "force" treatment B on patients (regardless of their kidney stone condition).

  • This "forcing" is called:
    • An intervention if it is done before our data is collected (e.g., to a new person).
      • Example: Clinical trials. Volunteers in the trial are forced to either take the drug or take the placebo.
    • Counterfactual reasoning if it is done after the data is collected. That is, we consider an alternative reality that goes against some fact in our data.

Consider the Kidney stone SCM:

  • $S$ = Kidney stone size
  • $T$ = Treatment type
  • $Y$ = Treatment outcome $$\begin{align} S&=F^{-1}_S(U_\text{stone size}),\\ T&=F^{-1}_T(S,U_\text{treatment}),\\ Y&=F^{-1}_C(T,S,U_\text{outcome}),\end{align}$$
    where $U_\text{stone size},U_\text{treatment},U_\text{outcome} \in [0,1]$ are independent variables.

The causal Directed Acyclic Graph (DAG) is:

No description has been provided for this image

Intervention: Now let's see what happens to $Y$ if we set $do(T=B)$: $$\begin{align} S&=F^{-1}_S(U_\text{stone size}),\\ T&=B,\\ Y&=F^{-1}_C(T,S,U_\text{outcome}).\end{align}$$

Q: Under this data generation process, does forcing treatment B changes the probability of a favorable outcome?

A: Yes (as we have seen before).


Now consider a counterfactual question:¶

  • Suppose we do not have kidney stone size in the data of patient $i$: $S_i = ?$.
  • Treatment for patient $i$ did not work $Y_i=0, T_i = A$ $$\begin{align} S&=F^{-1}_S(U_\text{stone size}),\\ T&=F^{-1}_T(S,U_\text{treatment}),\\ Y&=F^{-1}_C(T,S,U_\text{outcome}).\end{align}$$

Q: Counterfactual question: What if we had forced treatment $T_i = B$ instead? What is the probability the patient would have a different outcome?

  • This is described via Imbens notation: $P(Y_i(T_i = B)|T_i = A)$
  • Since the confounder $S_i$ is not observed, knowing that treatment $A$ was given and did not work $T_i = A, Y_i = 0$ means that $S_i$ was probably a large stone:
    • $P(S_i = \text{large} | T_i = A, Y_i = 0) > P(S_i = \text{large})$, that is, if treatment $A$ was given and did not work, the stone is more likely large than if we didn't have this information. $$\begin{align} S&\sim P(S|T_i = A, Y_i = 0),\\ T&=B,\\ U_\text{outcome}&\sim P(U_\text{outcome}|T_i = A, Y_i = 0)\\ Y&=F^{-1}_C(T,S,U_\text{outcome}).\end{align}$$

A: If you compute this, you will see that $P(Y_i(T_i = B)|T_i = A) < P(Y_i|\text{do}(T_i = B))$ since $P(S_i = \text{large} | T_i = A, Y_i = 0) > P(S_i = \text{large})$ and treatment $B$ is less effective on large stones than smaller ones.


Structural Causal Models¶

(Galles & Pearl (1998)) shows that any data generation process can be described through a causal DAG.

  • In our previous equations, the variables $U_\text{Zeus},U_Y,U_T,U_S$ are called exogenous variables
    • Exogenous variables are not explicitly modeled in our task (often they cannot be measured)
  • The variables $S,T,Y$ are the endogenous variables
    • Endogenous variables are real quantities that one could measure
  • $\text{PA}(Y)$ are the parents of variable $Y$ in the causal DAG (described next).

Causal Directed Acyclic Graph (Causal DAG)¶

A simple way to describe the above data generation process is through its "execution" graph (Causal DAG):

Example of the Causal DAG from $$\begin{align} S&=F^{-1}_S(U_\text{Zeus}),\\ T&=F^{-1}_T(U_\text{Zeus}),\\ Y&=F^{-1}_Y(T,U_\text{Zeus}).\end{align}$$

No description has been provided for this image
  • The solid arrows indicate a variable dependence in the SCM.
    • The solid arrows must form a Directed Acyclic Graph (DAG) over the described variables.
  • The dashed arrows show how the variables are related through undescribed variables

We could also include all variables in the causal DAG:

  • DAG nodes have two colors:
    • Gray means observed variables
    • White means unobserved variables
No description has been provided for this image

Expanding the Causal Model DAG¶

(Galles & Pearl (1998)) shows that any data generation process can always be represented by a DAG:

  • We can ALWAYS add exogenous variables to make the data generation process directed.
U = np.random.uniform(0,1)
Chiken = F_Chiken(Egg, U) 
Egg = F_Egg(Chiken, U)
  • E.g., dinosaurs already layed eggs way before chickens appeared on Earth. Can be described as
U_Dino = np.random.uniform(0,1)
Dinosaur = F_Dino(U_Dino)
U = np.random.uniform(0,1)
Egg = F_Egg(Dinosaur, U)
Chiken = F_Chiken(Egg, U) 

Predicting Causal Effects¶

  • Goal: We want to predict $P(Y|\text{do}(X=x))$

    • That is, we want to predict what happens to the probability distribution of $Y$ if we force $X=x$.
  • Causal Adjustment Formula (Adjustment for Direct Causes, Theorem 3.2.2 of (Pearl 2009)):

    • Suppose $Y$ is any set of random variables disjoint with $(X \cup C)$, where $C = \text{PA}(X)$ includes all direct parents of $X$ on the causal DAG.
    • Then, $$P(Y = y|\text{do}(X=x)) = \sum_{c} P(Y = y|C=c,X=x)P(C=c), \qquad \forall y \in \mathbb{Y}$$
  • Note the difference bettween the adjustment formula above and a standard conditional probability statement: $$P(Y = y|X=x) = \sum_{c} P(Y = y|C=c,X=x)P(C=c|X=x).$$

No description has been provided for this image

Causal Adjustment Formula Example:

  • T = Treatment
  • Y = Treatment outcome
  • S = Kidney stone size Let's assume the following causal DAG:
    No description has been provided for this image
    Let's compare $P(Y = 1|\text{do}(T=t))$ against $P(Y = 1| T=t)$, $t \in \{A,B\}$.
    No description has been provided for this image

The difference between conditional and interventional distributions:

  • $P(Y=1|T=A)= 0.78$

  • $P(Y=1|T=B)= 0.83$

  • $P(Y=1|\text{do}(T=A))= \sum_{s \in \{\text{small,large}\}} P(Y = 1|S=s,T=A)P(S=s) = 0.93 \times 0.51 + 0.73 \times 0.49 = 0.832$

  • $P(Y=1|\text{do}(T=B))= \sum_{s \in \{\text{small,large}\}} P(Y = 1|S=s,T=B)P(S=s) = 0.87 \times 0.51 + 0.69 \times 0.49 = 0.7818$

Beyond Back-Door Adjustment: The Front-Door Criterion and Do-Calculus¶

The adjustment formula (back-door criterion) requires observing all confounders. But what if the confounder is unobserved? Pearl's do-calculus (Pearl, 1995; 2009) provides a complete set of three rules for reducing interventional and counterfactual expressions to observational quantities, whenever such reduction is possible.

The Front-Door Criterion — Example: Does smoking ($X$) cause cancer ($Y$)?

  • The confounder (genetics, $U$) is unobserved: $U \to X$, $U \to Y$
  • But we can observe the mediator (tar deposits, $M$): $X \to M \to Y$
  • Then: $$P(Y|\text{do}(X=x)) = \sum_m P(M=m|X=x) \sum_{x'} P(Y|M=m, X=x')P(X=x')$$
  • This identifies the causal effect through the mediator without observing the confounder.

The Three Rules of Do-Calculus (informally): Given a causal DAG $G$, the following rules allow manipulation of $do()$ expressions. Let $\overline{G}_X$ denote the graph with incoming arrows to $X$ removed, and $\underline{G}_X$ the graph with outgoing arrows from $X$ removed:

  1. Insertion/deletion of observations: $P(Y|\text{do}(X),Z,W) = P(Y|\text{do}(X),W)$ if $(Y \perp\!\!\perp Z | X, W)$ in $\overline{G}_X$.
  2. Action/observation exchange: $P(Y|\text{do}(X),\text{do}(Z),W) = P(Y|\text{do}(X),Z,W)$ if $(Y \perp\!\!\perp Z | X, W)$ in $\overline{G}_X \underline{G}_Z$.
  3. Insertion/deletion of actions: $P(Y|\text{do}(X),\text{do}(Z),W) = P(Y|\text{do}(X),W)$ if $(Y \perp\!\!\perp Z | X, W)$ in $\overline{G}_{X,Z(S)}$ where $Z(S)$ is the set of $Z$-nodes that are not ancestors of any $W$-node in $\overline{G}_X$.

These rules are complete: any identifiable causal effect can be computed by applying them (Huang & Valtorta, 2006); (Shpitser & Pearl, 2006).

The Causal Hierarchy Theorem (Bareinboim, Correa, Ibeling, & Icard, 2022) formalizes the Ladder of Causation: the three layers (observational, interventional, counterfactual) almost always separate in a measure-theoretic sense. That is, observational data almost never determines interventional quantities without additional assumptions (e.g., a causal graph), and interventional data almost never determines counterfactual quantities. This makes the Ladder a theorem, not just a metaphor.


Example 2 (COVID in Israel, Aug 2021)¶

  • Covid-19 hospitalizations in Israel (Aug 17. 2021)
  • Data from Israeli government data dashboard
  • Data collected by Jeffrey Morris
No description has been provided for this image
  • Efficacy defined as $$\text{Efficacy} = \frac{\text{(severe cases Fully Vax per 100k)}}{\text{(All severe cases)}}.$$
No description has been provided for this image

Covid Causal Graph¶

  • COVID vulnerability determines disease severity
  • More vulnerable individuals more likely to have the vaccine
  • Older people are more vulnerable
No description has been provided for this image
  • Data from Israeli government data dashboard
  • Data collected by Jeffrey Morris
  • Age-conditional efficacy defined as $$\text{Efficacy | Age} = \frac{\text{(severe cases Fully Vax per 100k | Age)}}{\text{(All severe cases| Age)}}.$$
No description has been provided for this image

Zillow Offers: A Case Study in Failed Predictive Modeling for Interventions¶

  • Zillow Offers, launched as part of Zillow's iBuyer program, aimed to revolutionize the real estate market by using machine learning to predict home values and streamline the home buying and selling process.
    • While the concept seemed promising, its implementation faced significant challenges, ultimately leading to the program's discontinuation in late 2021.
    • This case study explores what went wrong, highlighting the importance of understanding the limitations of predictive models to provide suggestions for interventions.
No description has been provided for this image

Zillow Unsolicited Offer Example (my best-guess)¶

  • Consider the problem
    • $Z \in \{0,1\}$: House in the market
    • $I \in \{0,1\}$: House has serious issues = 1, no serious issues = 0
    • $B \in \{0,1\}$: How buyers (in average) will like (1) or dislike (0) the house
    • X = House characteristics, neighborhood, recent selling prices
    • $Y \in \mathbb{R}$ = House price
    No description has been provided for this image
    No description has been provided for this image

Simple Causal Modeling:

  • $Z \in \{0,1\}$: In the market (0 = false, 1 = true)
  • $I \in \{0,1\}$: House has serious issues = 1, no serious issues = 0
  • $B \in \{0,1\}$: How buyers (in average) will like (1) or dislike (0) the house
  • X = House characteristics, neighborhood, recent selling prices
  • $Y \in \mathbb{R}$ = House price
No description has been provided for this image
  • It's important to acknowledge that "house has serious issues" ($I$), something buyers will not like, acts as a confounder in the relationship between house characteristics and price.

  • By making unsolicited offers without explicitly modeling this confounder $I$, Zillow's intervention potentially introduces bias into its price predictions.

    • The act of offering a price independent of the seller's readiness to sell may alter the outcome variable ($Y$), leading to inaccurate estimations.
  • To mitigate this confounding effect and ensure accurate predictions, Zillow should have incorporated the Causal Adjustment Formula.

    • This formula allows for the isolation of the causal effect of house characteristics on price by statistically controlling for the influence of the confounder $I$.

Zillow Case Study: The Code (see companion notebook for full code)¶

A linear regression model trained on houses currently on the market ($I=0$) achieves excellent validation performance:

Metric Validation (I=0) Test (Zillow offers, I∈{0,1})
RMSE 9,142.81 245,109.06
MAPE 1.52% 100.30%
R² 0.99 -39.38

When Zillow uses this model to make unsolicited offers (buying at 80% of predicted price):

  • Total cost for Zillow: $184.15M

  • Total revenue after house sales: $114.97M

  • Total profit: $-69.17M (a catastrophic loss)

The model performs perfectly on the training distribution but fails completely when deployed as an intervention in the market — a textbook illustration of $P(Y|X) \neq P(Y|\text{do}(X))$.


Zillow Case Study Conclusion¶

From cnn.com:

In February 2021, Zillow appeared so confident in its ability to use artificial intelligence to estimate the value of homes that it announced a new option: for certain homes, its so-called "Zestimate" would also represent an initial cash offer from the company to purchase the property.

The decision, announced in early November 2021, marks a stunning defeat for Zillow. The real estate listing company took a $304 million inventory write-down in the third quarter, which it blamed on having recently purchased homes for prices that are higher than it thinks it can sell them. The company saw its stock plunge (8 billion dollar drop in market cap) and it now plans to cut 2,000 jobs, or 25% of its staff.

  • The root cause of this failure may be a failure to understand the distribution shift caused by an intervention.
    • Homeowners who accepted Zillow's offers were often those aware of subtle, hidden issues with their properties ($I=1$)
    • These issues are not captured by the features used to train the predictive model $X$.
    • These homeowners typically avoided putting their houses on the market because they would not sell for the prices they would see in their neighborhood for similar houses.
    • This mismatch between the model's predictions and real-world outcomes caused significant financial loss to Zillow.

Part II: Out-of-Distribution Tasks and Spurious Correlations¶

1. The Out-of-Distribution Challenge¶

Much is talked about the ability of large language models to learn language structure.

  • However, it is easy to show that these models are unable to extrapolate beyond the training data distribution

  • Consider the following example

    • (Train) All men are mortal. Socrates is a man. Therefore, Socrates is mortal.
    • (Train) All programmers are happy. Alice is a programmer. Therefore, Alice is happy.
    • (Test) All elephants are heavy. Pinocchio is a boy. Therefore, Pinocchio is $\langle$predict$\rangle$.

This is the answer from ChatGPT (GPT 3.5, before it used my question to guide its generator to give a better answer (not yet correct, since it says "not necessarily heavy" rather than the correct answer "boy")).

No description has been provided for this image

PS: Spending time "breaking" chatGPT is just giving free training data to OpenAI. The "breaking" happens once. You will never see it again since the generation is trained to avoid that type of case.

Why do LLMs fail at causal reasoning? The Causal Hierarchy Theorem (Bareinboim et al., 2022) tells us that observational data (Layer 1) almost never determines interventional (Layer 2) or counterfactual (Layer 3) quantities.

  • LLMs are trained on text, a form of observational data that sometimes describe causal relations, but not always.
  • So they are fundamentally limited to associational data unless they have access to additional causal structure.
  • Recent empirical work (Kıcıman et al., 2023); (Jin et al., 2024) has explored the extent to which LLMs can approximate causal reasoning, finding that while they can sometimes leverage causal knowledge embedded in their training corpus, they fail systematically on novel causal structures not seen during training
    • This is exactly as the CHT predicts: Layer 1 (associational) data may not be enough for Layer 2 (interventional) queries.

1.1. Impact of Correlations on Deep Learning (and Machine Learning in general)¶

Consider the supervised learning task of image classification between ants and bees. No description has been provided for this image No description has been provided for this image

Assume our training dataset is overwhelmingly correlated as:

  • bees on flowers,
  • ants on grass, leaves, or floor.

How well will our neural network perform in the task of identifying ants and bees in a dataset that is inversely correlated?

  • bees on grass, leaves, or floor,
  • ants on flowers.
No description has been provided for this image No description has been provided for this image

1.2. Example: Structural Causal Model of Ants and Bees¶

1st Functional Causal Modeling: Structural Causal Model (SCM)

This model is known as "anti-causal label". Obtain animal class $Y\in\{\text{"ant","bee"}\}$: $$Y:=F^{-1}_X(U),$$
where $$ U \sim \text{Uniform}(0,1)$$ is an exogenous variable (i.e., not measurable ("not real")).

Generate a flower or grass in the background $Z\in\{\text{grass image,flower image}\}$ $$Z:=F^{-1}_Z(U).$$

Obtain animal image: $$X:=f(Y,U).$$

The causal DAG is

No description has been provided for this image

2nd Functional Causal Modeling: Structural Causal Model (SCM)

Generate an ant or bee in the image $X\in\{\text{ant image,bee image}\}$: $$X:=F^{-1}_X(U),$$ where $$ U \sim \text{Uniform}(0,1)$$ is an exogenous variable (i.e., not measurable ("not real")).

Generate a flower or grass in the background $Z\in\{\text{grass image,flower image}\}$

$$Z:=F^{-1}_Z(U).$$

Obtain animal class $Y\in\{\text{"ant","bee"}\}$: $$Y:=f(X).$$

The causal DAG is

No description has been provided for this image

  • Let's use the 2nd causal model. Now assume whenever
    • $F^{-1}_X(U) = \text{ant image}$ has $F^{-1}_Z(U) = \text{grass background}$.
    • $F^{-1}_X(U) = \text{bee image}$ has $F^{-1}_Z(U) = \text{flower background}$.
  • Let $\text{Overlay}(X,Z)$ be the image we see in the training data: The insect placed on top of the background.
  • Then, it is impossible to tell if label bee means the insect or flowers and if label ant means the insect or grass.
    • In training data, the correlation between label and background is spurious
    • A spurious correlation refers to a connection between two variables that appears to be causal but is not causal.
      • Spurious correlation arise when observed dependencies between variables are due to some unobserved confounder (or happen by chance on small datasets).
  • What if the test data has the opposite association?
    • $F^{-1}_X(U) = \text{ant image}$ implies $F^{-1}_Z(U) = \text{flower background}$.
    • $F^{-1}_X(U) = \text{bee image}$ implies $F^{-1}_Z(U) = \text{grass background}$.
    • In the test data, a deep learning classifier focused on the spurious correlation between background and label would incorrectly predict ants as bees and vice-versa
      • This is called learning a shortcut

1.2.1. Example: Representations of ants and bees¶

Consider the following (idealized) case where both $F^{-1}_X$ and $F^{-1}_Z$ are invertible (bijective functions). This is just to more easily illustrate the issue. It can happen even in injective functions.

Let $\Gamma_X$ be some representation of $X$ (e.g., a neural network). Then, exists a representation $\Gamma_Z$ of $Z$ where $$ \Gamma_Z := \Gamma_X \circ F^{-1}_X \circ F_Z, $$ where $\circ$ is the function composition.

Note that $U = F_Z(Z)$ since $F^{-1}_Z$ is invertible and $X := F^{-1}_X(U)$ by definition. Hence, by construction, $$ \Gamma_X(X) = \Gamma_Z(Z). $$

Hence, under the condition that $Z$ and $X$ are able to recover $U$, it is impossible to distinguish $\Gamma_Z$ from $\Gamma_X$ in the training data. That is, exists a link function $g$ where $$ P(Y|X,Z) = g(\Gamma_X(X)) = g(\Gamma_Z(Z)). $$

That is why a CNN can learn to predict ants and bees by learning to represent flowers and grass.

1.3. Learning Classifiers Invariant to Spurious Correlations¶

Recalling that the causal DAG is

No description has been provided for this image

By the Adjustment for Direct Causes (Theorem 3.2.2, Pearl 2009), the ideal classifier would predict $$P(Y|\text{do}(X=x)) = \sum_{u} P(Y|U=u,X=x)P(U=u).\tag{1}$$

That is, if we force $\text{do}(X=\text{bee})$, the class should be "bee".

  • It is challenging to implement the above modification in practice because $U$ cannot be observed, and it is not measurable since it is an exogenous variable.

  • However, there is a possible solution to this conundrum. We can break the causal arrow going from $U$ to $Z$ in the directed acyclic graph (DAG). This way we have $Z' \perp\!\!\perp Y$ ($Z$ and $Y$ independent).

  • This can be achieved with the following data augmentation trick: $do(Z=Z')$, where $Z' \perp\!\!\perp Z$ but $P(Z')=P(Z)$.

  • Now we have this data augmentation creating a new causal DAG:

    No description has been provided for this image
  • Note that $P(Y,X,Z) \neq P(Y,X,Z')$.

The copy-paste procedure of (Ghiasi et al., 2021) is a great example of this data augmentation approach in practice. The original paper considers image segmentation (in 2023 this achieved state-of-the-art performance in segmentation)

No description has been provided for this image
  • Figure from Ghiasi, Golnaz, et al. "Simple copy-paste is a strong data augmentation method for instance segmentation." Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2021.

Example in Physics-informed ML

TRAIN with accute angles No description has been provided for this image
TEST with obtuse angles No description has been provided for this image

Example from: (Mouli, Alam, & Ribeiro, ICLR 2024)


1.4. OOD Benchmarks¶

There are now OOD benchmarks

No description has been provided for this image

Koh, P.W., Sagawa, S., Marklund, H., Xie, S.M., Zhang, M., Balsubramani, A., Hu, W., Yasunaga, M., Phillips, R.L., Gao, I. and Lee, T., 2021, July. Wilds: A benchmark of in-the-wild distribution shifts. In International Conference on Machine Learning (pp. 5637-5664). PMLR.


Part III: The Ladder of Causation¶

2. The Ladder of Causation: The Differences between Observational, Interventional, and Counterfactual Learning¶

No description has been provided for this image Inspired by figure in (Mackenzie & Pearl, 2018)
  • Observational learning: This is how this situation will unfold while I just watch

    • This is what observational (standard) Machine Learning is trying to do
    • Our predictions are always about joint and conditional distributions
  • Interventional learning: If I were given a second chance I would have acted differently

    • We resample all variables in the SCM, including the background variables, but force some variables to have a certain value
    • E.g., predict $P(Y^\text{(te)} |\text{do}(Z^\text{(te)} = \text{"flower"}))$
No description has been provided for this image
  • Counterfactual learning: What if I had intervened on that occasion? What would have happened?
    • A counterfactual describes something that goes against a fact

      • In causality, a counterfactual imagines what would have happened in an alternative universe where:
        • What if 1+ variables in the SCM had assumed different values? What would have happened with the other variables?
    • This is what Counterfactual Learning is trying to do

    • We reuse all sampled variables in the SCM, including the background variables, but force some variables to have a certain value

    • The counterfactual notation $P(Y^\text{(tr)}({X = \text{"bee"} })| X^\text{(tr)} = \text{"ant"},Z^\text{(tr)} = \text{"leaf"})$ represents the following statement: What would be the label of this training example (an ant on a leaf) if we had replaced the ant for a bee.

    • Data augmentation is a counterfactual task.


Counterfactual Data Augmentation?¶

No description has been provided for this image

Is this a proper counterfactual representation of this scene?

Credits: Google's Nano Banana 2.

Counterfactual Data Augmentation Example from (Mouli et al., ICLR 2022)¶
  • Consider the vision task of predicting whether a rod is upright
  • The original rod can be transformed by a set of rotations and translations
  • In test, the order of the transformations could be different
    • A representation that counts the number of copper-colored pixels in the green region will perform well in this task if the test data is sampled from the same distribution as the training data
    • This same representation fails if the order of the transformations is different
    • Note that there are multiple possible counterfactual images
    • Also note that traditional data augmentation does not work
No description has been provided for this image

Caution: Counterfactual data augmentation is not a silver bullet. (Mouli, Zhou, & Ribeiro, UAI Workshop on CRL, 2022) show that naive counterfactual augmentation can introduce systematic biases when the augmentation does not faithfully reflect the true causal mechanisms — a subtle but important failure mode that practitioners should be aware of.


Part IV: Environment-Invariant Representations¶

3. Environment-Invariant Representations¶

Consider the following causal DAG:

No description has been provided for this image

Let $\Gamma$ be the most-expressive representation of insect $X$ on background $Z$ that is environment-invariant to $\mathcal{E}$: $$\Gamma(X_{\bigcup_{E_i \in \mathcal{E}} \{E_i \leftarrow e_i\}}, Z_{\bigcup_{E_i \in \mathcal{E}} \{E_i \leftarrow e_i\}}) = \Gamma(X_{\bigcup_{E_i \in \mathcal{E}} \{E_i \leftarrow e'_i\}}, Z_{\bigcup_{E_i \in \mathcal{E}} \{E_i \leftarrow e'_i\}}), \quad \forall e_i,e'_i \in \text{supp}(E_i).$$

Now consider Equation $(1)$: $$P(Y | \text{do}(X=x),Z=z) = \sum_{{\bf e} \in \bigcup_{E \in \mathcal{E}} \text{supp}(E)} P(Y | X=x, Z=z, \mathcal{E} = {\bf e})P(\mathcal{E} = {\bf e}).$$

Then, under the ICM assumption: $$ P(Y | \text{do}(X=x),Z=z) = \sum_{{\bf e} \in \bigcup_{E \in \mathcal{E}} \text{supp}(E)} P(Y | X=x, Z=z, \mathcal{E} = {\bf e})P(\mathcal{E} = {\bf e}) = P(Y | \Gamma(X,Z)=\Gamma(x,z)). $$


3.1. Properties of Environment-Invariant Representations¶

Since $$ P(Y | X=x,Z=z, \text{do}(E=e)) = P(Y | \Gamma(X,Z)), $$ we have that the error of predicting $Y$ from $X$ and $Z$ does not depend on the environment variable $E$.

Hence, we expect the same error across multiple environments.

  • Invariant Risk Minimization (Arjovsky et al., 2019) uses this insight to train models that get the same error (loss) across environments
    • Note that empirically achieving the same error (loss) across training environments does not necessarily guarantee that the learned representation is perfectly environment-invariant, although it is motivated by this principle. Optimization challenges and model capacity limitations often mean the ideal is only approximated.
    • This contrasts with the traditional Empirical Risk Minimization (ERM) where the objective is simply to minimize the average risk across all available training data, pooling data from different environments together.
      • ERM does not explicitly penalize predictors that perform differently across environments; it only cares about the aggregate performance.
      • Consequently, ERM predictors may exploit environment-specific spurious correlations, leading to poor generalization when deployed in a new environment where those correlations no longer hold.

3.2. Environment-Invariant Representations¶

  • Invariant Representation learning comes in two flavors:
    • Data-driven: Invariant Risk Minimization (IRM) (Arjovsky et al., 2019) and Variance Risk Extrapolation (vREx) (Krueger et al., 2021)
      • Do not generally work beyond the observed environments in training if the map function between $X$ and $Y$ is non-linear (see (Rosenfeld et al., 2020) for an analysis of IRM).
      • "Adversarially fair representations" (Madras et al., 2018) - being invariant to some input attributes by making sure the representation cannot predict an environment-specific attribute
    • Model-driven invariant representations (e.g., (Mouli & Ribeiro, ICLR 2021)):
      • These assume a model and get an environment-invariant representation with respect to counterfactual changes to the training data
    • Model-driven causal structure discovery via meta-learning: (Mouli, Alam, & Ribeiro, ICLR 2024). For instance, MetaPhysiCa uses meta-learning across multiple trajectories of the same dynamical system (each with different unknown ODE parameters) to discover the shared causal structure governing the system.
      • Each trajectory acts as a different "environment," and the method discovers which basis functions (causal mechanisms) are shared vs. task-specific.
      • This shows how model-driven causal structure discovery is essential for OOD robustness in physics-informed ML.
    • Use causal adjustment formula: Predict parents and then adjust based on them in test (Iwasawa & Matsuo, 2021)
    • Many other approaches, e.g. (Eastwood et al., 2023)

3.3. vREx - Penalizing Risk Variance for Generalization (Krueger et al., 2021)¶

  • Goal: Learn predictors that generalize well to "unseen" (unlikely) environments by being robust to variations seen during training.
    • For non-linear models, this procedure requires training to have all environments we will see in test.
  • vREx Idea (Variance Risk Extrapolation): Instead of strictly enforcing invariance (like Invariant Risk Minimization - IRM, which can be hard), vRex encourages the model's performance (risk) to be stable across different training environments.
  • Mechanism: Penalize the variance of the empirical risks calculated across the available training environments ($\mathcal{E}_{tr}$).
  • Intuition: If a model performs similarly well (or poorly) across all known environments (low risk variance), it will be robust to a shift in environment distribution.

The vREx Objective Function¶

  • Assume training data is partitioned into $n$ distinct environments: $\mathcal{E}_{tr} = \{e_1, e_2, ..., e_n\}$.
  • Empirical Risk: For a model $f$ (e.g., parameterized by $\theta$) and a loss function $\ell$, the empirical risk on environment $e_i$ is: $$ R_{e_i}(f) = \frac{1}{|D_{e_i}|} \sum_{(x,y) \in D_{e_i}} \ell(f(x), y) $$ where $D_{e_i}$ is the dataset for environment $e_i$.
  • vREx Objective: The goal is to find a model $f$ that minimizes the sum of the average empirical risk and a penalty proportional to the variance of risks across environments: $$ \min_{f} \underbrace{\frac{1}{n} \sum_{i=1}^{n} R_{e_i}(f)}_{\text{Average ERM}} + \lambda \cdot \underbrace{\text{Var}_{i \in \{1..n\}} (R_{e_i}(f))}_{\text{Risk Variance Penalty}} $$
  • Interpretation:
    • The first term seeks good average performance across training environments (like standard ERM).
    • The second term explicitly penalizes models where the performance fluctuates significantly between environments.
    • $\lambda \ge 0$ is a hyperparameter controlling the strength of the variance penalty. $\lambda=0$ recovers average ERM. Higher $\lambda$ forces the risks $R_{e_i}(f)$ to be closer to each other.

3.4. Adversarially Fair Representations¶

  • Create a parameterized representation $\Gamma(x; {\bf W}_\Gamma)$ that is invariant to a target attribute $E$ (environment).
    • A concrete objective to achieve this representation is via the following minimax optimization (Madras et al., 2018):
      • Let $L_C$ denote a suitable classification loss (e.g., cross entropy), $L_\text{Dec}$ denote a suitable reconstruction loss (e.g., $L_2$ loss), and $L_\text{Adv}$ denote the loss the adversary classifier experiences when it tries to predict the forbidden atribute $E$ (environment).
      • Let $\{(y_i,x_i,e_i)\}_{i=1}^n$ be the training dataset, where $x_i$ are the feature of example $i$, $y_i$ its target label, and $e_i$ its environment.
      • The adversarial objective is then: $$ \hat{\bf W}_\Gamma, \hat{\bf W}_{f_\text{dec}}, \hat{\bf W}_\rho = \arg\min_{{\bf W}_\Gamma, {\bf W}_\rho} \max_{{\bf W}_g} \sum_{i=1}^n \alpha L_C(y_i,\rho(\Gamma(x_i; {\bf W}_\Gamma);{\bf W}_\rho)) + \beta L_\text{Dec}(x_i,f_\text{dec}(\Gamma(x_i; {\bf W}_\Gamma);{\bf W}_{f_\text{dec}})) + \gamma L_\text{Adv}(e_i,g(\Gamma(x_i; {\bf W}_\Gamma); {\bf W}_g)), $$ where hyperparameters $\alpha$, $\beta$, $\gamma$ respectively specify a desired balance between utility, reconstruction of the inputs, and environment invariance (fairness w.r.t. the forbidden attribute $e_i$ in the paper's original objective).

3.5. Domain Adaptation Through a Causal Lens¶

The causal/anticausal distinction from Part I has direct implications for domain adaptation — the problem of transferring a model from a source domain to a target domain with a different distribution.

(Zhang, Gong, Stojanov, Huang, Liu, & Glymour, AAAI 2015); (Zhang et al., NeurIPS 2020) established a general causal framework for domain adaptation:

  • Location-scale shift (changes in $P(X)$ only): If we are in the causal direction ($X \to Y$), the mechanism $P(Y|X)$ is invariant across domains (by ICM), so standard covariate shift correction works.
  • Conditional shift (changes in $P(Y|X)$): If we are in the anticausal direction ($Y \to X$), changes in $P(Y)$ propagate to $P(Y|X)$. Domain adaptation requires exploiting the invariant mechanism $P(X|Y)$ and estimating target $P(Y)$.
  • General shifts: When multiple mechanisms change simultaneously, (Gong, Zhang, Liu, Tao, Glymour, & Schölkopf, ICML 2016) showed that one should identify and transfer the conditionally invariant components — the subset of causal mechanisms that remain stable across domains.

Connection to CRL: Domain adaptation becomes a special case of CRL when the "domains" are viewed as different environments. The causal framework tells us which components of the model should transfer (the invariant mechanisms) and which should be re-estimated (the shifted mechanisms). This is exactly the SMS (Sparse Mechanism Shift) hypothesis formalized by (Schölkopf, 2019).


Part V: Why Invariance Alone Is Not Enough — The Need for Identifiability¶

The Gap Between Invariance and Causality¶

Environment-invariant representations (IRM, vREx) aim to find predictors with equal risk across environments. But equal risk does not imply causal representation. Why?

The Rosenfeld et al. (2020) failure mode: Consider a nonlinear data-generating process with spurious correlations. (Rosenfeld et al., 2020) showed that IRM can find representations that satisfy the invariance constraint across all training environments but still fail on test environments because:

  1. Multiple invariant solutions exist. In nonlinear settings, there can be many representations that achieve equal risk across training environments, but only the causal one generalizes to unseen environments.
  2. Finite environments are insufficient. With a finite number of training environments, the invariance constraint is underdetermined — it cannot distinguish the causal representation from spurious ones that happen to be invariant across the observed environments.
  3. The invariance penalty is non-convex. Even with sufficient environments, practical optimization of IRM often converges to suboptimal solutions.

The key insight: Invariance tells us what property a good representation should have (equal risk across environments), but identifiability tells us whether this property uniquely determines the representation. Without identifiability guarantees, we have no assurance that the representation we learn is the right one.

This is why we need Causal Representation Learning: CRL provides the identifiability theory that tells us exactly when and under what conditions the causal representation can be uniquely recovered — turning the vague goal of "learning invariant features" into a well-posed statistical problem.


Part VI: Disentangled Representations, Identifiability, and Causal Representation Learning¶

4. The Impossibility of Unsupervised Disentanglement and the Path to Identifiability¶

A central goal in representation learning is to discover disentangled representations: low-dimensional factors of variation that are independently controllable and interpretable. However, a landmark result by (Locatello et al., ICML 2019) showed that:

The unsupervised learning of disentangled representations is fundamentally impossible without inductive biases on both the models and the data.

This impossibility stems from nonlinear ICA: given observations $X = g(Z)$ where $g$ is an arbitrary nonlinear mixing function and $Z$ are independent latent sources, there exist infinitely many solutions that yield independent components but do not correspond to the true sources (Hyvärinen & Pajunen, 1999).

Why this matters for OOD generalization: If we cannot recover the true generative factors, we have no guarantee that the learned representation captures causal structure rather than spurious correlations. An entangled representation may mix causal factors with environment-specific noise, leading to failures under distribution shift — exactly the problem we discussed with ants and bees.


4.1. Nonlinear ICA: Breaking Impossibility with Auxiliary Information¶

The impossibility result motivated a wave of work on identifiable representation learning. The key insight is that additional structure or supervision can restore identifiability:

Temporal structure (Hyvärinen & Morioka, 2016; 2017): If the latent sources have temporal dependencies (e.g., nonstationary time series), then the sources can be identified up to component-wise transformations via time-contrastive learning (TCL).

Auxiliary variables (Khemakhem et al., NeurIPS 2020): The iVAE framework shows that if an observed auxiliary variable $u$ (e.g., domain index, time segment) modulates the distribution of the latent sources $p(z|u)$ through an exponential family, then the latent sources are identifiable up to permutation and element-wise transformations.

Multi-view / data augmentations (Von Kügelgen et al., NeurIPS 2021): Self-supervised learning with data augmentations provably isolates content (invariant across augmentations) from style (varying across augmentations). This formalizes when contrastive learning recovers meaningful factors.

Sparsity constraints (Zheng, Ng, & Zhang, NeurIPS 2022); (Zheng & Zhang, NeurIPS 2023): Structural sparsity in the mixing function (the Jacobian has sparse columns) enables identifiability without auxiliary variables. This resolves even the long-standing impossibility of Gaussian ICA under sparsity assumptions.


4.2. Connection: Environment-Invariant Representations as Partial Disentanglement¶

Recall from Part IV: environment-invariant representations $\Gamma$ are functions such that $P(Y | \text{do}(X)) = P(Y | \Gamma(X))$. From the identifiability perspective:

  • Invariant representations are a form of partial disentanglement: they separate the latent factors into those that are invariant across environments (content/causal factors) and those that vary (style/spurious factors).

  • (Von Kügelgen et al., NeurIPS 2021) formalized this by showing that contrastive self-supervised learning with data augmentations identifies content variables up to an invertible transformation of the content subspace. The augmentations act as "soft interventions" that change style while preserving content.

  • The Sparse Mechanism Shift (SMS) Hypothesis (Schölkopf, 2019); (Perry, von Kügelgen & Schölkopf, NeurIPS 2022): Distribution shifts in natural data tend to affect only a sparse subset of causal mechanisms. This aligns with the ICM principle and motivates methods that detect which mechanisms change across environments.


4.3. From Disentanglement to Causal Representation Learning¶

Causal Representation Learning (CRL) goes beyond disentanglement by recovering not just independent factors but also their causal relations — the full latent SCM. The seminal position paper (Schölkopf et al., Proceedings of the IEEE, 2021) articulated this vision:

The central problem for AI and causality is causal representation learning: the discovery of high-level causal variables from low-level observations.

Why CRL matters for OOD: if we can recover the latent causal graph $\mathcal{G}_Z$, we can predict the effects of interventions (distribution shifts) on the learned representation — exactly what standard ML fails to do (as seen with Zillow and ants/bees).


4.3.1. CRL from Interventions (von Kügelgen, Besserve, ..., Schölkopf, NeurIPS 2023)¶

(von Kügelgen et al., NeurIPS 2023) established the first nonparametric identifiability results for CRL from unknown interventions:

  • Setting: Observations $X = g(Z)$ where $g$ is an arbitrary nonlinear mixing and the latent SCM is general. Multiple datasets arise from unknown interventions.
  • Key result: The observational distribution plus one pair of distinct perfect interventions per latent node suffice to identify both the latent variables and their causal graph up to unavoidable ambiguities.
  • Significance: This shows that environmental diversity (multiple distribution shifts) provides the inductive bias needed for causal discovery in latent space, connecting OOD generalization to identifiability.

4.3.2. CRL from Multiple Distributions (Zhang, Xie, Ng, Zheng, ICML 2024)¶

(Zhang et al., ICML 2024) provided a general, completely nonparametric framework for CRL from heterogeneous data:

  • Setting: Multiple distributions arise from general (not necessarily hard) interventions or nonstationarity.
  • Key result: Under sparsity constraints on the recovered latent graph and sufficient change conditions on causal influences, one can recover the moralized graph of the latent DAG, and latent variables are related to the true causal variables in a specific, nontrivial way. In some cases, most latent variables can be recovered up to component-wise transformations.
  • Connection to OOD: This provides the theoretical foundation for why multi-environment data enables better generalization: the distribution changes carry information about the latent causal structure.

4.3.3. Temporal Causal Representation Learning (Chen et al., ICML 2024)¶

(Chen, Shen, Chen, Song, Sun, Yao, Liu, & Zhang, ICML 2024) — CaRiNG — extends CRL to the temporal setting under non-invertible generation processes:

  • Standard CRL methods assume the mixing $g$ is invertible. CaRiNG relaxes this to allow many-to-one mappings (e.g., image generation from discrete concepts), which is more realistic.
  • Key insight: Temporal structure + sufficient variability in the causal influences across time enables identifiability even without invertibility.

Related: (Song, Li, Chen, Zheng, Fan, Dong, & Zhang, NeurIPS 2024): Causal temporal representation learning with nonstationary sparse transitions establishes identifiability with sparse changes in the temporal causal graph.


4.3.4. Identifiable Exchangeable Mechanisms (Reizinger, Guo, Huszár, Schölkopf, Brendel, ICLR 2025)¶

(Reizinger et al., ICLR 2025) unified representation learning and causal structure learning under the exchangeability framework:

  • Key insight: Many identifiability results in both causal discovery and representation learning rely on the same assumption: the data is exchangeable but not i.i.d. The framework of Identifiable Exchangeable Mechanisms (IEM) provides a single theoretical lens for understanding when and why identifiability is possible.
  • Duality result: There exists a duality between structure identifiability and representation identifiability, leading to new identifiability conditions.
  • Implication: This bridges the historically separate communities of causal discovery and disentangled representation learning.

4.3.5. From Causal to Concept-Based Representations (Rajendran, Buchholz, Aragam, Schölkopf, Ravikumar, NeurIPS 2024)¶

(Rajendran et al., NeurIPS 2024) proposed relaxing causal notions with a geometric notion of concepts:

  • Instead of assuming we must recover the "true" generative latent space, the paper assumes that concepts can be represented linearly in the latent space.
  • Key result: Concepts defined this way can be provably recovered from diverse data, offering a more practical target than full causal variable recovery.
  • Significance: This connects the empirical success of linear probing in representation learning (e.g., in LLMs and vision models) with identifiability theory.

4.3.6. Extrapolation through a Causal Lens (Kong, Chen, Stojanov, Li, Xing, & Zhang, NeurIPS 2024)¶

(Kong et al., NeurIPS 2024): This work uses sparsity-based identifiability to improve our understanding of extrapolation — the ability to generalize to inputs outside the training distribution. By viewing extrapolation through the lens of causal factors and their sparse interactions, the paper provides conditions under which models can extrapolate reliably.

Connection to OOD: While IRM/vREx focus on interpolation across seen environments, this work addresses the harder problem of extrapolation, providing causal conditions under which generalization beyond the training support is possible.


4.3.7. Sparsity Principle for Partially Observable CRL (Xu, Yao, Lachapelle, ..., von Kügelgen, Locatello, Magliacane, ICML 2024)¶

(Xu et al., ICML 2024): Extends CRL to the partially observable case where not all latent causal variables have observed effects:

  • Sparsity assumption: Each observed variable is generated by a sparse subset of latent causes.
  • This is a natural assumption in many domains (e.g., in images, each region is influenced by a few objects/concepts).
  • Provides identifiability guarantees under partial observability, making CRL more applicable to real-world settings.

4.3.8. Multi-View Causal Representation Learning (Yao, Xu, Lachapelle, ..., von Kügelgen, Locatello, ICLR 2024 Spotlight)¶

(Yao et al., ICLR 2024): Establishes CRL identifiability from multiple views (e.g., different modalities or perspectives of the same scene) with partial observability:

  • Leverages shared latent structure across views to identify the causal variables.
  • This connects to multi-modal learning: different sensor modalities (vision, language, audio) can be seen as multiple views of a shared latent causal world.

4.4. From Theory to Practice: CRL Algorithms¶

The identifiability results above tell us when causal representations can be recovered. But how do we actually learn them? Here are the key algorithmic ideas:

iVAE (Khemakhem et al., 2020): The identifiable VAE extends the standard VAE by conditioning the prior on an auxiliary variable $u$ (e.g., domain index, time segment): $$\mathcal{L}_{\text{iVAE}}(\theta, \phi) = \mathbb{E}_{q_\phi(z|x)}[\log p_\theta(x|z)] - D_{\text{KL}}(q_\phi(z|x) \| p_\theta(z|u))$$ The key difference from a standard VAE is the conditional prior $p_\theta(z|u)$, assumed to be in the exponential family. This is what provides identifiability — the auxiliary variable $u$ "breaks the symmetry" that makes unsupervised nonlinear ICA impossible.

Contrastive learning for CRL (Von Kügelgen et al., 2021): Self-supervised contrastive objectives (e.g., SimCLR, BYOL) can be shown to provably recover the content subspace when data augmentations act as "soft interventions" on style variables. The practical takeaway: the choice of augmentations implicitly defines what is "content" vs. "style" — and therefore determines the causal semantics of the learned representation.

Mechanism sparsity regularization (Lachapelle et al., CLeaR 2022): Regularize the decoder Jacobian to be sparse, encouraging each latent to influence only a few observed dimensions. This directly operationalizes the sparsity identifiability results of (Zheng et al., 2022).

Score-based approaches (Varici et al., 2023): Leverage the fact that the score function (gradient of the log-density) changes across interventional environments in a structured way that reveals the latent causal graph. This avoids explicit likelihood computation and connects CRL to score matching.


4.5. Summary: The Landscape of Identifiability for OOD¶

Approach Inductive Bias Identifiability Level OOD Guarantee
Unsupervised VAE/GAN None (independence) Impossible (Locatello et al., 2019) None
iVAE (Khemakhem et al., 2020) Auxiliary variables, exponential family Component-wise Same aux. variable distribution
Sparsity ICA (Zheng et al., 2022) Sparse Jacobian Component-wise Under sparse mixing
IRM/vREx Multiple environments Partial (invariant subspace) Seen environments (linear); limited otherwise
Model-driven (Mouli & Ribeiro, 2021/22; MetaPhysiCa, 2024) Known symmetries / physics priors Task-specific invariance Under correct model specification
CRL from interventions (von Kügelgen et al., 2023) Multi-environment, nonparametric Latent variables + causal graph Unseen interventions
CRL multi-distribution (Zhang et al., 2024) Heterogeneous data, sparsity Moralized graph + partial component-wise General distribution shifts
IEM (Reizinger et al., 2025) Exchangeability Unified structure + representation Via exchangeability conditions

Part VII: Synthesis — From Prediction to Causation to Generalization¶


5. Overview¶

The lectures covered three deeply connected ideas:

1. Observational ML is insufficient for interventions. Standard ML predicts $P(Y|X)$, but real-world decisions require $P(Y|\text{do}(X))$. Without causal reasoning, predictive models fail catastrophically when used for decision-making (Zillow, treatment selection).

2. OOD generalization requires invariance to spurious correlations. Environment-invariant representations aim to capture only the causal mechanisms, discarding spurious associations. But purely data-driven approaches (IRM, vREx) face fundamental limitations without explicit causal models.

3. Causal Representation Learning provides the identifiability foundation. Recent advances show that:

  • Multi-environment data, temporal structure, or sparsity constraints enable provable recovery of latent causal variables.
  • Recovered causal representations are inherently robust to distribution shifts because causal mechanisms are invariant (ICM principle).
  • The field is converging: disentanglement, nonlinear ICA, causal discovery, and OOD generalization are different facets of the same fundamental problem.

Key Takeaway¶

The path from correlation to causation to generalization runs through identifiability. Without identifiable causal representations, we cannot distinguish genuine causal effects from spurious correlations, and our models will fail when the world changes — whether that means a new hospital, a new housing market, or ants on flowers instead of grass.


Open Problems and Research Frontiers¶

Despite rapid progress, fundamental challenges remain:

1. Finite-sample identifiability. Almost all CRL identifiability results assume infinite data. In practice, how many samples and how many environments do we need? The gap between asymptotic theory and practical sample complexity is largely unexplored. (Varici et al., NeurIPS 2024) have begun studying this for linear CRL, but the nonlinear case remains open.

2. Unknown number of latent variables. Most CRL methods assume the latent dimensionality is known. In reality, determining how many causal factors exist is itself a fundamental problem. Model selection for latent dimensionality in CRL is wide open.

3. Scaling to high-dimensional observations. CRL theory has been validated mainly on low-dimensional synthetic data. Scaling to realistic images, video, or language — where the latent space may have hundreds or thousands of dimensions — requires bridging CRL with modern generative models (diffusion models, hierarchical VAEs). How to maintain identifiability guarantees in these high-dimensional settings?

4. Nonparametric counterfactuals. Most CRL work focuses on Layer 2 (interventional) identifiability. Layer 3 (counterfactual) identifiability from observational data is much harder and requires stronger assumptions. When can we identify counterfactual quantities from multi-environment data?

5. Causal representation learning for foundation models. LLMs and vision foundation models learn powerful representations, but are these representations causal? Can we use CRL theory to understand when and why foundation model representations support causal reasoning? The concept-based approach of (Rajendran et al., 2024) is a promising start.

6. Active causal representation learning. Given a budget for experiments (interventions), which interventions should we perform to most efficiently identify the latent causal structure? This connects CRL to optimal experimental design and active learning.

References¶


References on Foundations¶

  • Pearl, J. (2009). Causality: Models, Reasoning, and Inference. Cambridge University Press, 2nd edition.
  • Galles, D. & Pearl, J. (1998). An axiomatic characterization of causal counterfactuals. Foundations of Science, 3(1), 151-182.
  • Peters, J., Janzing, D., & Schölkopf, B. (2017). Elements of Causal Inference: Foundations and Learning Algorithms. MIT Press.
  • Mackenzie, D. & Pearl, J. (2018). The Book of Why: The New Science of Cause and Effect. Basic Books.
  • Schölkopf, B., Janzing, D., Peters, J., Sgouritsa, E., Zhang, K., & Mooij, J. (2012). On causal and anticausal learning. ICML.
  • Spirtes, P., Glymour, C., & Scheines, R. (2000). Causation, Prediction, and Search. MIT Press, 2nd edition.
  • Bareinboim, E., Correa, J.D., Ibeling, D., & Icard, T. (2022). On Pearl's hierarchy and the foundations of causal inference. In Probabilistic and Causal Inference: The Works of Judea Pearl, ACM Books, pp. 507-556.
  • Huang, Y. & Valtorta, M. (2006). Pearl's calculus of intervention is complete. UAI.
  • Shpitser, I. & Pearl, J. (2006). Identification of joint interventional distributions in recursive semi-Markovian causal models. AAAI.

Causal Discovery¶

  • Chickering, D.M. (2002). Optimal structure identification with greedy search. JMLR, 3:507-554.
  • Shimizu, S., Hoyer, P.O., Hyvärinen, A., & Kerminen, A. (2006). A linear non-Gaussian acyclic model for causal discovery. JMLR, 7:2003-2030.
  • Peters, J., Mooij, J.M., Janzing, D., & Schölkopf, B. (2014). Causal discovery with continuous additive noise models. JMLR, 15:2009-2053.

Causality and Machine Learning¶

  • Schölkopf, B., Locatello, F., Bauer, S., Ke, N.R., Kalchbrenner, N., Goyal, A., & Bengio, Y. (2021). Toward causal representation learning. Proceedings of the IEEE, 109(5), 612-634.
  • Schölkopf, B. & von Kügelgen, J. (2022). From statistical to causal learning. Proceedings of the International Congress of Mathematicians (ICM). EMS Press.

Independence of Cause and Mechanism¶

  • Lemeire, J. & Dirkx, E. (2006). Causal models as minimal descriptions of multivariate systems.
  • Janzing, D. & Schölkopf, B. (2010). Causal inference using the algorithmic Markov condition. IEEE Transactions on Information Theory, 56(10), 5168-5194.
  • Schölkopf, B. (2019). Causality for machine learning. arXiv preprint arXiv:1911.10500.

OOD Generalization and Invariance¶

  • Arjovsky, M., Bottou, L., Gulrajani, I., & Lopez-Paz, D. (2019). Invariant Risk Minimization. arXiv preprint arXiv:1907.02893.
  • Krueger, D., Caballero, E., Jacobsen, J.-H., Zhang, A., Binas, J., Zhang, D., Le Priol, R., & Courville, A. (2021). Out-of-Distribution Generalization via Risk Extrapolation (REx). ICML, PMLR 139:5815-5826.
  • Rosenfeld, E., Ravikumar, P., & Risteski, A. (2020). The risks of invariant risk minimization. arXiv preprint arXiv:2010.05761.
  • Madras, D., Creager, E., Pitassi, T., & Zemel, R. (2018). Learning adversarially fair and transferable representations. arXiv preprint arXiv:1802.06309.
  • Mouli, S.C. & Ribeiro, B. (2021). Neural networks for learning counterfactual g-invariances from single environments. ICLR.
  • Mouli, S.C. & Ribeiro, B. (2022). Asymmetry learning for counterfactually-invariant classification in OOD tasks. ICLR (Oral).
  • Mouli, S.C., Zhou, Y., & Ribeiro, B. (2022). Bias challenges in counterfactual data augmentation. UAI Workshop on Causal Representation Learning.
  • Mouli, S.C., Alam, M.A., & Ribeiro, B. (2024). MetaPhysiCa: Improving OOD robustness in physics-informed machine learning. ICLR (Spotlight).
  • Iwasawa, Y. & Matsuo, Y. (2021). Test-time classifier adjustment module for model-agnostic domain generalization. NeurIPS.
  • Eastwood, C., Robey, A., Singh, S., von Kügelgen, J., Hassani, H., Pappas, G.J., & Schölkopf, B. (2023). Probable domain generalization via quantile risk minimization. NeurIPS.
  • Koh, P.W., Sagawa, S., et al. (2021). WILDS: A benchmark of in-the-wild distribution shifts. ICML.
  • Perry, R., von Kügelgen, J., & Schölkopf, B. (2022). Causal discovery in heterogeneous environments under the sparse mechanism shift hypothesis. NeurIPS.

Domain Adaptation and Causal Transfer¶

  • Zhang, K., Gong, M., & Schölkopf, B. (2015). Multi-source domain adaptation: A causal view. AAAI.
  • Gong, M., Zhang, K., Liu, T., Tao, D., Glymour, C., & Schölkopf, B. (2016). Domain adaptation with conditional transferable components. ICML.
  • Zhang, K., Gong, M., Stojanov, P., Huang, B., Liu, Q., & Glymour, C. (2020). Domain adaptation as a problem of inference on graphical models. NeurIPS.

LLMs and Causal Reasoning¶

  • Kıcıman, E., Ness, R., Sharma, A., & Tan, C. (2023). Causal reasoning and large language models: Opening a new frontier for causality. arXiv:2305.00050.
  • Jin, Z., Liu, J., Lyu, Z., Peng, S., Lamb, A., Magliacane, S., Cremers, D., Madan, K., Niu, L., Loghmani, B., & Schölkopf, B. (2024). CLadder: Assessing causal reasoning in language models. NeurIPS.

Data Augmentation and Counterfactuals¶

  • Ghiasi, G., Cui, Y., Srinivas, A., Qian, R., Lin, T.-Y., Cubuk, E.D., Le, Q.V., & Zoph, B. (2021). Simple copy-paste is a strong data augmentation method for instance segmentation. CVPR.

Disentanglement and Identifiability¶

  • Locatello, F., Bauer, S., Lucic, M., Rätsch, G., Gelly, S., Schölkopf, B., & Bachem, O. (2019). Challenging common assumptions in the unsupervised learning of disentangled representations. ICML.
  • Hyvärinen, A. & Pajunen, P. (1999). Nonlinear independent component analysis: Existence and uniqueness results00140-3). Neural Networks, 12(3), 429-439.
  • Hyvärinen, A. & Morioka, H. (2016). Unsupervised feature extraction by time-contrastive learning and nonlinear ICA. NeurIPS.
  • Hyvärinen, A. & Morioka, H. (2017). Nonlinear ICA of temporally dependent stationary sources. AISTATS.
  • Hyvärinen, A., Sasaki, H., & Turner, R.E. (2019). Nonlinear ICA using auxiliary variables and generalized contrastive learning. AISTATS.
  • Khemakhem, I., Kingma, D.P., Monti, R.P., & Hyvärinen, A. (2020). Variational autoencoders and nonlinear ICA: A unifying framework. AISTATS.

Causal Representation Learning — Schölkopf Group (MPI)¶

  • von Kügelgen, J., Sharma, Y., Gresele, L., Brendel, W., Schölkopf, B., Besserve, M., & Locatello, F. (2021). Self-supervised learning with data augmentations provably isolates content from style. NeurIPS.
  • von Kügelgen, J., Besserve, M., Liang, W., Gresele, L., Kekić, A., Bareinboim, E., Blei, D.M., & Schölkopf, B. (2023). Nonparametric identifiability of causal representations from unknown interventions. NeurIPS.
  • Reizinger, P., Gresele, L., Brady, J., von Kügelgen, J., Zietlow, D., Schölkopf, B., Martius, G., Brendel, W., & Besserve, M. (2022). Embrace the gap: VAEs perform independent mechanism analysis. NeurIPS.
  • Reizinger, P., Guo, S., Huszár, F., Schölkopf, B., & Brendel, W. (2025). Identifiable exchangeable mechanisms for causal structure and representation learning. ICLR.
  • Rajendran, G., Buchholz, S., Aragam, B., Schölkopf, B., & Ravikumar, P. (2024). From causal to concept-based representation learning. NeurIPS.
  • Buchholz, S., Rajendran, G., Rosenfeld, E., Aragam, B., Schölkopf, B., & Ravikumar, P. (2024). Learning linear causal representations from interventions under general nonlinear mixing. ICML.
  • Buchholz, S., Besserve, M., & Schölkopf, B. (2022). Function classes for identifiable nonlinear independent component analysis. NeurIPS.
  • Wendong, L., Kekić, A., von Kügelgen, J., Buchholz, S., Besserve, M., Gresele, L., & Schölkopf, B. (2023). Causal component analysis. NeurIPS.
  • Eastwood, C., Nicolicioiu, A.L., von Kügelgen, J., Kekić, A., Träuble, F., Dittadi, A., & Schölkopf, B. (2023). DCI-ES: An extended disentanglement framework with connections to identifiability. ICLR.
  • Träuble, F., Creager, E., Kilbertus, N., Locatello, F., Dittadi, A., Goyal, A., Schölkopf, B., & Bauer, S. (2021). On disentangled representations learned from correlated data. ICML.
  • Gresele, L., von Kügelgen, J., Stimper, V., Schölkopf, B., & Besserve, M. (2021). Independent mechanism analysis, a new concept? NeurIPS.

Causal Representation Learning — Kun Zhang Group (CMU / MBZUAI)¶

  • Zhang, K., Xie, S., Ng, I., & Zheng, Y. (2024). Causal representation learning from multiple distributions: A general setting. ICML, PMLR 235:60057-60075.
  • Zheng, Y., Ng, I., & Zhang, K. (2022). On the identifiability of nonlinear ICA: Sparsity and beyond. NeurIPS, 35:16411-16422.
  • Zheng, Y. & Zhang, K. (2023). Generalizing nonlinear ICA beyond structural sparsity. NeurIPS, 36:13326-13355.
  • Kong, L., Chen, G., Stojanov, P., Li, H., Xing, E.P., & Zhang, K. (2024). Towards understanding extrapolation: A causal lens. NeurIPS.
  • Kong, L., Chen, G., Huang, B., Xing, E.P., Chi, Y., & Zhang, K. (2024). Learning discrete concepts in latent hierarchical models. NeurIPS.
  • Chen, G., Shen, Y., Chen, Z., Song, X., Sun, Y., Yao, W., Liu, X., & Zhang, K. (2024). CaRiNG: Learning temporal causal representation under non-invertible generation process. ICML.
  • Song, X., Li, Z., Chen, G., Zheng, Y., Fan, Y., Dong, X., & Zhang, K. (2024). Causal temporal representation learning with nonstationary sparse transition. NeurIPS.
  • Sun, Y., Kong, L., Chen, G., Li, L., Luo, G., Li, Z., Zhang, Y., Zheng, Y., Yang, M., Stojanov, P., Segal, E., Xing, E.P., & Zhang, K. (2024). Causal representation learning from multimodal biomedical observations. arXiv:2411.06518.
  • Xie, S., Huang, B., Chen, Z., He, Y., Geng, Z., & Zhang, K. (2023). Identification of linear non-Gaussian latent hierarchical structure. ICLR.
  • Dong, X., Huang, B., Ng, I., Song, X., Zheng, Y., Jin, S., Legaspi, R., Spirtes, P., & Zhang, K. (2024). A versatile causal discovery framework to allow causally-related hidden variables. ICLR.
  • Li, L., Dai, H., Al Ghothani, H., Huang, B., Zhang, J., Harel, S., Bentwich, I., Chen, G., & Zhang, K. (2024). On causal discovery in the presence of deterministic relations. NeurIPS.
  • Chen, G., Li, Y., Liu, X., Li, Z., Al Suradi, E., Wei, D., & Zhang, K. (2024). LLCP: Learning latent causal processes for reasoning-based video question answer. ICLR.
  • Tang, Z., Wang, J., Liu, Y., Spirtes, P., & Zhang, K. (2024). Procedural fairness through decoupling objectionable data generating components. ICLR (Spotlight).

CRL — Other Key References¶

  • Yao, D., Xu, D., Lachapelle, S., Magliacane, S., Taslakian, P., Martius, G., von Kügelgen, J., & Locatello, F. (2024). Multi-view causal representation learning with partial observability. ICLR (Spotlight).
  • Xu, D., Yao, D., Lachapelle, S., Taslakian, P., von Kügelgen, J., Locatello, F., & Magliacane, S. (2024). A sparsity principle for partially observable causal representation learning. ICML.
  • Yao, D., Hamm, T., Brendel, W., Schölkopf, B., & Locatello, F. (2024). Unifying causal representation learning with the invariance principle. NeurIPS.
  • Lachapelle, S., Rodriguez Lopez, P., Sharma, Y., Everett, K.E., Le Priol, R., Lacoste, A., & Lacoste-Julien, S. (2022). Disentanglement via mechanism sparsity regularization: A new principle for nonlinear ICA. CLeaR.
  • Lachapelle, S., Mahajan, D., Mitliagkas, I., & Lacoste-Julien, S. (2023). Additive decoders for latent variables identification and cartesian-product extrapolation. NeurIPS.
  • Ahuja, K., Hartford, J., & Bengio, Y. (2022). Weakly supervised representation learning with sparse perturbations. NeurIPS.
  • Lippe, P., Magliacane, S., Löwe, S., Asano, Y.M., Cohen, T., & Gavves, S. (2022). CITRIS: Causal identifiability from temporal intervened sequences. ICML.
  • Yang, M., Liu, F., Chen, Z., Shen, X., Hao, J., & Wang, J. (2021). CausalVAE: Disentangled representation learning via neural structural causal models. CVPR.
  • Varici, B., Acarturk, E., Shanmugam, K., Kumar, A., & Tajer, A. (2023). Score-based causal representation learning with interventions. arXiv:2301.08230.
In [ ]: