This paper, presented at ICTIR '23, introduces Causal Collaborative Filtering (CCF), a framework designed to move recommender systems beyond simple correlation-based learning toward a more robust causal understanding of user preferences.
TL;DR
Traditional recommendation algorithms often fall prey to Simpson’s Paradox, where overall data trends contradict subgroup preferences, leading to poor recommendations. CCF addresses this by integrating causal inference and counterfactual reasoning into a unified framework, significantly improving recommendation accuracy while mitigating statistical paradoxes.
What Problem Does This Paper Address?
Most Collaborative Filtering (CF) models rely on associative learning—they find correlations between users and items. However, correlation is not causation. A major pitfall of this approach is Simpson’s Paradox: a statistical phenomenon where a trend appears in several different groups of data but disappears or reverses when these groups are combined.
In a recommender system, this might mean an item appears popular overall but is actually disliked by specific demographic subgroups (e.g., age or gender). If a model only learns the "overall" trend, it makes inaccurate personalized decisions. The authors demonstrate that this paradox is prevalent in real-world datasets like MovieLens-100k and is even amplified by standard models like Matrix Factorization.
Methods
The authors propose Causal Collaborative Filtering (CCF), which re-imagines recommendation as answering a "what if" question: What would the user's preference be if we intervened to recommend this specific item?
Key components include:
- A Unified Causal View: The authors show that traditional CF models are actually special cases of CCF operating under simplified (and often unrealistic) causal graphs.
- Mediator Analysis: They introduce the user's interaction history ($X$) as a mediator between the user ($U$) and the recommended item ($V$). This allows for conditional intervention using Pearl’s $do$-calculus, specifically estimating $P(y|u, do(v))$.
- Counterfactual Reasoning: Since we only observe what a user did do, CCF generates "counterfactual worlds"—scenarios where the user had a slightly different history. They use heuristic rules like "Keep One," "Delete One," or "Replace One" to create these alternative histories.
- Counterfactual Constrained Learning: The framework adds a constraint to the model's loss function. It forces the model's predicted preference to align with the estimated causal preference derived from both real and counterfactual examples. This is implemented for both discrete item spaces and continuous embedding spaces.
Datasets
The framework was evaluated on two real-world datasets:
- MovieLens-100k: A standard benchmark for recommendation.
- Coat Shopping: A unique dataset containing both observational data and randomized trial data (where users gave feedback on randomly assigned items), providing a "ground truth" for causal effects.
Key Insights and Ideas
- Causality as a Generalization: By viewing CF through a causal lens, the authors provide a theoretical bridge between many disparate recommendation algorithms.
- History as a Mediator: Recognizing that a user's past actions ($X$) are what a recommendation engine ($g$) actually uses to pick an item ($V$) is a crucial step in correctly modeling the causal path to a user's preference ($Y$).
- The Power of "What If": The core "aha moment" is that by training a model to be consistent across both real and counterfactual histories, it becomes less sensitive to the biases and paradoxical trends present in purely observational data.
- Mitigating Paradox Improves Performance: The results show a strong positive correlation between a model's ability to reduce Simpson's Paradox and its overall recommendation accuracy (nDCG).
Key Results
CCF was tested against several causal baselines (like CausE and IPS) across three base models: Matrix Factorization (MF), GRU4Rec (sequential), and Neural Collaborative Reasoning (NCR).
- Performance Boost: CCF consistently outperformed the original base models and other causal frameworks. For example, on MovieLens-100k with an MF base, CCF variants improved nDCG@10 by up to 3.7% and Hit@1 by 13%.
- Paradox Reduction: CCF achieved the best results in mitigating Simpson's Paradox. In many cases, it reduced the percentage of paradoxical item pairs by over 40% compared to the base models.
Limitations and Future Work
- Heuristic Counterfactuals: The current method relies on simple heuristic rules to generate counterfactual histories. The authors suggest that learning-based approaches for generating more realistic counterfactuals could be a promising direction.
- Causal Graph Complexity: The proposed causal graph, while more advanced than standard CF, is still relatively simple. Real-world recommendation environments involve many more variables (context, time, multiple mediators) that could be incorporated into more complex causal graphs.
- Computational Overhead: Generating and training on counterfactual examples adds computational complexity, which might need optimization for extremely large-scale systems.
Summary updated