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

Causal Collaborative Filtering

Shuyuan Xu, Yingqiang Ge, Yunqi Li, Zuohui Fu, Xu Chen, Yongfeng Zhang · DOI

Introduction

Traditional recommendation algorithms, such as those powering Netflix or Amazon, primarily rely on associative learning. By identifying patterns like "Users who liked X also liked Y," these models find correlations in observational data. However, this reliance on correlation makes them vulnerable to Simpson’s Paradox—a statistical phenomenon where a trend appears in several groups of data but disappears or reverses when the groups are combined.

In the context of recommendations, an item might appear popular overall due to global trends, even if it is actually disliked by every specific demographic subgroup (e.g., age or gender). To resolve this, this paper introduces Causal Collaborative Filtering (CCF), a framework that shifts the focus from "What did the user do?" to the counterfactual "What would the user have done if we intervened to show them this item?"

A Unified Causal View

The authors propose that traditional Collaborative Filtering (CF) models, such as Matrix Factorization or Neural CF, are actually simplified "special cases" of a broader causal framework. By representing recommendation processes as causal graphs, CCF explicitly models the relationship between users ($U$), items ($V$), and outcomes ($Y$).

Causal graphs representing the evolution from simple associative models to the unified CCF framework.

Unlike passive observation, CCF employs conditional interventions (using Pearl’s $do$-calculus). Instead of estimating $P(Y|U, V)$, the model estimates $P(Y|U, do(V))$. This mathematical intervention removes the influence of previous system biases, ensuring the recommendation is based on the true causal effect of the item on the user's preference.

Counterfactual Constrained Learning

Because researchers cannot go back in time to observe alternative user actions, CCF generates "counterfactual histories." Using heuristic rules—such as "Keep One," "Delete One," or "Replace One" item from a user's interaction history—the model simulates alternative realities.

To ensure these simulations lead to robust learning, the authors implement a constrained learning framework using Lagrange multipliers. This forces the model to maintain consistency between its predictions in the "real world" and the "counterfactual world," effectively regularizing the model against the noisy biases that lead to Simpson's Paradox.

Experimental Evaluation

The CCF framework was evaluated on two key datasets: MovieLens-100k and Coat Shopping. The latter is particularly significant as it contains randomized trial data, providing a "gold standard" for evaluating causal models without the selection bias found in organic interaction data.

Key Results

CCF was tested across three base architectures: Matrix Factorization (MF), GRU4Rec, and Neural Collaborative Reasoning (NCR). The results demonstrated significant improvements in both accuracy and statistical stability:

  • Accuracy Gains: On the Coat dataset, CCF improved nDCG@10 by 13.8% over the standard Matrix Factorization baseline.
  • Paradox Reduction: CCF achieved the lowest "paradox rate" among all tested frameworks, proving that causal modeling leads to more reliable conclusions across demographic subgroups.
  • Constraint Sensitivity: The performance of the model is influenced by the weight of the causal constraint, with optimal weights consistently leading to higher nDCG scores compared to non-causal versions.
The impact of the causal constraint weight on recommendation accuracy (nDCG@10) across different model architectures.

Conclusion

Causal Collaborative Filtering represents a significant step toward more robust and personalized recommendation systems. By moving beyond simple correlation to model the underlying causal mechanisms of user behavior, CCF mitigates the risks of Simpson's Paradox and provides a versatile, model-agnostic framework for improving existing recommendation architectures. Future work will look toward using generative models like GANs to create even more realistic counterfactual histories and incorporating more complex environmental variables into the causal graphs.

Summary updated

BibTeX
@inproceedings{xu2021causal,
  author = {Shuyuan Xu and Yingqiang Ge and Yunqi Li and Zuohui Fu and Xu Chen and Yongfeng Zhang},
  title = {{Causal Collaborative Filtering}},
  booktitle = {ICTIR},
  year = {2021},
  doi = {10.1145/3578337.3605122},
}
Figure