Causal Representation Learning for Generalisable Recommendation
summary
The gist
The gist: A CRL-motivated method for making predictive models more robust under distribution shift, characterized by an information-theoretic criterion that discards non-causal treatment latents.
In short
This method uses Causal Representation Learning (CRL) to make recommendation models more robust when deployed, addressing poor generalization due to distribution shift. It proposes an information-theoretic criterion that disentangles causal treatment factors from non-causal confounders in the model's representation. This results in better out-of-distribution performance and measurable online gains.
Key concepts
- Distribution Shift
- This occurs when the data the model sees during real use (the candidate distribution) is different from the data it was trained on (the training distribution). In recommender systems, this happens because past user behavior and platform filtering change over time, making offline tests unreliable.
- Disentanglement Criterion
- This is an objective function designed to optimize a model's representation. It balances rewarding representations that predict the outcome based on the treatment while penalizing any information shared with known confounders. The goal is to isolate the truly causal parts of the treatment from irrelevant noise.
- Information-Theoretic Criterion
- This criterion uses mutual information to mathematically define what constitutes a good representation. It specifically targets suppressing mutual information between the learned representation and known confounders, ensuring that the learned features focus on causal signals rather than spurious correlations.
Terminology used across episodes
This episode discusses
- Causal Representation Learning for Generalisable Recommendation · Paper Radio
- Invariant Risk Minimization
- Structural Causal Bottleneck Models · Paper Radio
- Mitigating Dual Latent Confounding Biases in Recommender Systems
- Distributionally Robust Causal Abstractions
- Representation Learning with Contrastive Predictive Coding
The paper
Causal Representation Learning for Generalisable Recommendation · Read on arXiv
Yorgos Felekis, Michael O’Riordan, Oriol Corcoll, Ciarán M. Gilligan-Lee
University of Warwick · Spotify · University College London
Predictive models trained on observational data often fail to generalise when deployed, especially when the training data is a product of the system being optimised. Recommender systems are a canonical example: they are trained on interaction logs confounded by the deployed policy, past user behaviour, and platform filtering. As a result, the training distribution differs from the candidate distribution scored at serving time, a gap that makes offline metrics unreliable predictors of online performance. We address the distribution shift problem with a method motivated by causal representation learning (CRL). We propose an information-theoretic disentanglement criterion and prove that its optimum excludes confounder-dependent non-causal information from the treatment representation. We derive a tractable variational lower bound making the criterion optimisable from finite observational data. The scope of our method is narrower than that of much of the CRL literature, in that we target better generalisation under distribution shift, not full identification of latent causal factors. This narrower target makes the method practical, requiring only existing confounded logs, applying to any standard supervised model, and adding no inference-time cost. Our headline evaluation is an A/B test with millions of users on Spotify, applied to a production ranker for personalised playlist generation. A CRL variant matched in capacity to the production baseline performed on par offline but delivered substantial online gains in listener engagement. Complementary evidence on a synthetic dataset with known causal structure and a semi-synthetic variant of the public KuaiRand recommendation dataset shows similar in-distribution performance to the baseline but gains under distribution shift. Across all three settings, adding our causal disentanglement objective yields better out-of-distribution generalisation.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "Causal Representation Learning for Generalisable Recommendation".
Jane: Here's the gist of the paper. A CRL-motivated method for making predictive models more robust under distribution shift, characterized by an information-theoretic criterion that discards non-causal treatment latents.
Tom: Problem Addressed Predictive models trained on observational data often fail to generalise to the distributions they encounter when deployed, especially when the training data is a product of the system being optimised.
Jane: Recommender systems are a canonical example: they are trained on interaction logs confounded by the deployed policy, past user behaviour, and platform filtering.
Tom: As a result, the training distribution differs substantially from the candidate distribution scored at serving time, a gap that makes offline metrics unreliable predictors of online performance.
Paper summary: Tom: So, we’re looking at this paper here called "Causal Representation Learning for Generalisable Recommendation". Jane, what's the main problem they're trying to solve with this?
Jane: Well, Tom, the big problem is that predictive models trained on observational data often fail when you put them into a real system. Specifically for recommender systems, they are trained on logs that are already influenced by the policies being deployed, past user behavior, and what’s happening on the platform right now.
Lu: Exactly. The training distribution is different from the distribution of what happens when you actually serve predictions at serving time, which means offline metrics just don't reliably predict online performance <ref:2605.27043#pg1>.
Meng: That sounds like exposure bias, right? I mean, if we only test on offline metrics, we’re missing the real-world impact of that policy shift <ref:2605.27043#pg1>.
Tom: Right. And this paper proposes using causal representation learning to tackle that distribution shift problem by finding a way to make the learned representations more robust under those shifts <ref:2605.27043#pg1>.
Jane: They propose an information-theoretic disentanglement criterion, which is essentially a way to balance two things: wanting the representation to predict the outcome versus penalizing it for carrying information about the confounders that aren't actually causal <ref:2605.27043#pg3>.
Lu: The core idea is that if a model’s predictions only rely on causal mechanisms, those predictions should stay valid even when things like policy changes happen between training and serving distributions <ref:2605.27043#pg2>.
Tom: And they claim their optimum for this criterion only depends on the causal components of the input, which is a pretty strong claim if you’re talking about complex logs <ref:2605.27043#pg1>.
Meng: But how do they actually make it work with just observational data? That sounds like it needs to be computationally tractable, or we can't deploy this in production <ref:2605.27043#pg1>.
Jane: They address that by deriving a variational lower bound, which makes the criterion optimisable even with finite observational data <ref:2605.27043#pg1>.
Lu: So they get a tractable objective function that lets you train this disentanglement criterion without needing perfect interventional or randomized data <ref:2605.27043#pg2>.
Tom: That’s important because classical causal representation learning methods often assume strong conditions like interventional or randomized data, which we just don't have on these logs <ref:2605.27043#pg1>.
Meng: So they’re moving away from those strict assumptions to make it applicable to real-world recommendation logs <ref:2605.27043#pg1>.
Jane: And they introduce this information-theoretic criterion, which is defined as J(g) equals I(g(T); Y Z) minus lambda I(g(T); Z) <ref:2605.27043#pg3>.
Lu: So the utility term pushes us to learn representations that are predictive of the outcome Y beyond the confounders Z, while the penalty term suppresses information shared with Z <ref:2605.27043#pg3>.
Tom: That means they’re explicitly trying to suppress that spurious pathway, you know, T ← TnC ← Z → Y that standard models might exploit <ref:2605.27043#pg3>.
Meng: So it’s not just about being predictive; it’s about being predictive in a way that ignores the noise caused by the confounders <ref:2605.27043#pg1>.
Paper summary: Jane: And they show that this objective achieves a certain goal, but they acknowledge their scope is narrower than some of the other causal representation learning literature, focusing on better generalization under distribution shift rather than fully identifying every latent causal factor <ref:2605.27043#pg1>.
Lu: That’s why it’s practical; it only targets the necessary components for better generalization, not trying to solve a problem that might be impossible with the data we have <ref:2605.27043#pg1>.
Tom: And they validate this by showing their method works on a synthetic SCM and even a semi-synthetic version of the KuaiRand dataset, which shows similar in-distribution performance but gains under distribution shift <ref:2605.27043#pg3>.
Meng: But what about the real world? How does this translate to actual listener engagement? That’s where I need to know it works beyond the benchmarks <ref:2605.27043#pg1>.
Jane: They have an A/B test with millions of users on Spotify for a production ranker for personalised playlist generation <ref:2605.27043#pg1>.
Tom: And the result there is pretty interesting; a CRL variant matched in capacity to the production baseline performed on par offline but delivered substantial online gains in listener engagement <ref:2605.27043#pg1>.
Meng: So it’s not just about matching offline performance, it’s about getting those real-world gains that matter for user behavior <ref:2605.27043#pg1>.
Lu: They also have complementary evidence on that synthetic dataset with a known causal structure and the KuaiRand variant showing similar in-distribution performance but gains under distribution shift <ref:2605.27043#pg3>.
Jane: So across all three settings—the synthetic data, the benchmark, and the live test—adding this causal disentanglement objective yields better out-of-distribution generalization <ref:2605.27043#pg3>.
Tom: It sounds like they’ve managed to isolate the causal components of the treatment representation on a problem where that split is known <ref:2605.27043#pg1>.
Meng: That’s good because it means we don't have to spend all our time trying to perfectly identify every single latent causal factor in the system <ref:2605.27043#pg1>.
Jane: And for someone just listening, the implication is that offline-only comparisons of recommendation models often under-detect the kind of generalization improvements that actually matter when you deploy them <ref:2605.27043#pg1>.
Lu: They’ve made it practical because it only requires existing confounded logs and adds no inference-time cost, which is something production engineers really need <ref:2605.27043#pg1>.
Tom: So, to wrap up this summary of "Causal Representation Learning for Generalisable Recommendation", the paper introduces an information-theoretic disentanglement criterion to improve model robustness under distribution shift <ref:2605.27043#pg1>.
Jane: It shows that this approach can match offline performance while delivering real online engagement gains in a live test on Spotify <ref:2605.27043#pg1>.
Lu: The main contribution is proving that the optimum only depends on the causal components of the input, and they've made it optimisable from finite observational data using a tractable variational lower bound <ref:2605.27043#pg1>.
Meng: It’s a solid approach because it doesn’t try to solve the problem of full latent causal identification, which is probably too much for current data setups <ref:2605.27043#pg1>.
Tom: And that focus on what works for generalization under shift seems like a really important direction for us in production systems <ref:2605.27043#pg1>.
Conclusion: Tom: So we’re wrapping up on "Causal Representation Learning for Generalisable Recommendation". This paper is basically about making those models that are trained on observational data actually work when they get used in the real world.
Jane: Right, so they're taking those recommendation systems—the ones trained on user logs—and figuring out how to make them handle shifts in data, you know, like when the platform changes things around.
Lu: The core idea is using a causal representation learning method to find a way to separate what’s actually causing the prediction from just the noise that comes with it. They propose an information-theoretic criterion for disentangling those two parts.
Meng: So, they’re trying to filter out all that confounding stuff—like past user behavior or platform filtering—to keep only the parts of the model that are truly causal. But how do you actually make a computer do that with messy log data?
Tom: They show a way to make it practical. They derive a variational lower bound, which means they get an objective function that you can optimize even when you only have finite observational data, not perfect interventional data. That’s the mechanics here.
Jane: So the authors are saying that instead of trying to perfectly identify every single hidden causal factor in the system, we just need to find those specific components that matter for generalization under distribution shift.
Lu: Exactly. They acknowledge their method is narrower than some of the other causal representation learning research because they aren't trying to do full identification; they’re targeting better generalization when the training data looks different from what you serve later.
Meng: That sounds like something we can actually deploy, since it doesn't add any inference time cost, which is huge for us at scale. But what does this actually mean for a user who just sees a playlist?
Tom: It means that those models we rely on right now might be failing in subtle ways when the system changes its behavior. This paper suggests that by adding this causal objective, you get better performance not just on the test set, but in real-world listener engagement.
Jane: So it boils down to this: offline metrics can lie about online performance because of distribution shift, and this method gives us a way to build models that are robust even when the world around them changes. This is going to be huge for how we trust these systems with real user data.
More episodes
- 2604.15273-How Embeddings Shape Graph Neural Networks: Classical vs Quantum-Oriented Node Representations
- 2605.08424-Generalized Wasserstein Flow Matching: Nested Couplings for Point Cloud Generation
- 2605.14879-Temporal Fair Division in Multi-Agent Systems: From Precise Alternation Metrics to Scalable Coordination Proxies
- 2605.18147-Tabular Foundation Models for Credit Risk Prediction: A Dedicated Review and Empirical Comparison
- 2605.22561-Regret-Based (epsilon, delta) -optimal Stopping Criteria for Bayesian Optimization
- 2605.23751-Approaching I/O-optimality for Approximate Attention
- 2605.29748-Instance-dependent Stochastic Lipschitz bandit
- 2606.04031-Transient Amplification in Cascaded Gradient Methods: Exact Minimax Laws and Tracking without Resonance
- 2606.09623-Joint user-item allocation for e-commerce marketing campaigns
- 2606.11319-Neural networks become centroid classifiers when trained on heavily corrupted inputs