NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Causal Representation Learning for Generalisable Recommendation

Yorgos Felekis, Michael O'Riordan, Oriol Corcoll, Ciarán Mark Gilligan-LeeNeurIPS 2026

TL;DR

Recommender systems often get trapped in their own feedback loops, learning spurious shortcuts from past system choices rather than true user preferences—a major reason offline test scores fail to predict live performance. Researchers from the University of Warwick, Spotify, and UCL developed a lightweight causal training objective that strips this confounding leakage out of item representations using only existing observational logs. Deployed to millions of Spotify listeners, it added zero inference cost and matched the baseline offline, yet unlocked substantial real-world gains in listener engagement.

What Problem Does This Paper Address?

Imagine training a model to predict whether a listener will enjoy a song. You train it on historical interaction logs—songs your previous recommendation algorithm chose to surface. This creates exposure bias: the training distribution is heavily skewed by past system decisions, user habits, and platform filters. Yet at serving time, your model must score a much broader, differently distributed pool of candidate tracks.

Because the deployed policy links item features ($T$) with user context ($Z$), standard supervised models accidentally absorb non-causal, spurious shortcuts. Formally, an item is an entangled mix of causal factors ($T_C$, the musical qualities that genuinely drive enjoyment $Y$) and non-causal factors ($T_{nC}$, attributes merely correlated with the user's history). Standard models exploit the backdoor path $T \leftarrow T_{nC} \leftarrow Z \rightarrow Y$. This shortcut works great on held-out historical logs (in-distribution), making offline metrics look fantastic, but breaks down when deployed live (out-of-distribution).

Hierarchical Causal Entanglement showing how causal and non-causal item factors mix, creating a spurious backdoor path through the user confounder Z.

Classical Causal Representation Learning (CRL) tries to solve this by mathematically identifying every underlying latent factor, which usually requires strict assumptions or costly randomized experiments. The authors ask: can we fix the offline-to-online gap using only existing observational logs?

Methods

Instead of attempting full latent identification, the authors aim for a narrower, more pragmatic target: causal purification. Assuming the relevant confounders $Z$ (user and session features) are observed, the model already receives $Z$ directly to predict the outcome $Y$. Therefore, the learned item representation $g(T)$ doesn't need to carry redundant information about $Z$.

The authors introduce a Disentanglement Criterion: $$J(g) = \underbrace{I(g(T); Y \mid Z)}_{\text{Utility}} - \lambda \underbrace{I(g(T); Z)}_{\text{Penalty}}$$

Here, $I$ denotes mutual information. The Utility term rewards $g(T)$ for predicting the outcome beyond what the user context $Z$ already explains (preserving $T_C$). The Penalty term punishes $g(T)$ for sharing mutual information with $Z$ (stripping out $Z$-correlated non-causal leakage $T_{nC}$). They prove that for a sweet-spot range of $\lambda$, this objective strictly prefers the uncompressed causal truth over entangled or overly compressed representations.

Because exact mutual information is intractable in high dimensions, they derive a computable variational bound using contrastive learning—bounding utility via InfoNCE and the penalty via NCE-CLUB. For seamless engineering integration, their practical recipe applies gradient reversal directly to an InfoNCE critic trying to match item representations with user representations, while tracking NCE-CLUB as a diagnostic check to verify mutual information actually drops. Because this is purely a training-time regularizer, it modifies any standard supervised architecture with zero inference-time overhead.

Datasets

The method is tested across three setups of escalating realism:

  • Synthetic Structural Causal Model (SCM): A 10-dimensional linear Gaussian setup where exact causal ($T_C$) and non-causal ($T_{nC}$) coordinates are known, allowing direct tests of intervention sensitivity.
  • Semi-Synthetic KuaiRand: Built on real user and video features from the public KuaiRand-Pure dataset, paired with synthetic nonlinear click outcomes and an injected shortcut feature correlated with user context during training, then randomized at test time.
  • Spotify Production Data: Observational interaction logs and a live two-week A/B test on a personalized playlist generation ranker serving millions of Spotify users.

Key Insights and Ideas

  • Full causal identification is overkill for robustness: You don't need to disentangle every microscopic latent variable to beat distribution shift; simply starving the item encoder of confounder information closes the spurious backdoor path.
  • Offline parity can hide online wins: Across all experiments, the CRL models look nearly identical to standard baselines on in-distribution metrics. Relying strictly on offline improvements to greenlight models would miss these out-of-distribution gains—a phenomenon known as effective robustness.
  • Gradient reversal works—if you verify the upper bound: Minimizing a lower bound on mutual information (InfoNCE) isn't mathematically guaranteed to lower true mutual information. Pairing it with an upper-bound diagnostic (NCE-CLUB) proved that production mutual information dropped by at least a factor of 5.
Figure 2: InfoNCE lower bound (dashed) and NCE-CLUB upper bound (solid) on I(g(T); Z) during a production CRL training run. Gradient reversal acts on the InfoNCE bound. NCE-CLUB is tracked only as a diagnostic. Both rise during the critic warm-up, then decay as gradient reversal drives MI down. Axis values are omitted for confidentiality. As discussed in Section 2.4, a conservative reading of the bounds gives a reduction in MI of at least a factor of 5.

Key Results

  • Synthetic SCM: When sweeping outcome noise from $0$ to $1$, the baseline model increasingly relies on spurious features, whereas the CRL model's sensitivity to non-causal interventions stays flat at nearly 0.00, without degrading Mean Absolute Error (MAE).
Figure 3: Synthetic SCM, sweep over outcome-noise scale σY ∈[0, 1] across 2,000 seeds per noise level. Lines are per-seed medians; shaded bands are the inter-quartile range across seeds. Left: intervention sensitivity | ˆY (T) −ˆY (T ′)|, where T ′ resamples the non-causal coordinates of T; lower is better, with 0 indicating that the model has not absorbed any signal from TnC. Right: paired ∆MAE = MAECRL −MAEbaseline per seed, centered on the zero line. The CRL penalty does not degrade predictive performance, and is in fact slightly better at higher noise levels.
  • Semi-Synthetic KuaiRand: Under target distribution shift, the standard DeepFM baseline's AUC drops from 0.7249 to 0.6914. The CRL variant holds steady—going from 0.7218 (source) to 0.7212 (target)—almost matching an oracle model trained with randomized shortcuts (0.7243) and improving Target NDCG@5 from 0.4501 to 0.4676.
  • Spotify Live A/B Test: Compared to a capacity-matched production ranker, the CRL model drove statistically significant online engagement gains: +0.75% in track streams, +0.50% in minutes played, and -0.61% in track skips—improvements on the same scale as a complete ground-up rebuild of their previous production ranker.

Limitations and Future Work

The theoretical guarantees rely on observability: the penalty can only block spurious pathways transmitted through observed confounders in $Z$. In real-world production systems, user and session features almost certainly miss unobserved confounders (like off-platform trends or user mood). While an informative, incomplete $Z$ clearly still helps in practice, the authors suggest a promising future direction: combining their disentanglement criterion with proximal causal inference, leveraging proxy variables to tackle hidden confounding.

Summary updated

BibTeX
@inproceedings{felekis2026causal,
  author = {Yorgos Felekis and Michael O'Riordan and Oriol Corcoll and Ciarán Mark Gilligan-Lee},
  title = {{Causal Representation Learning for Generalisable Recommendation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ub2HuIm8hN},
}
Figure