TL;DR
This paper introduces KGCR (Knowledge Graph-based Causal Recommendation), a framework that applies causal inference to untangle user preferences from the complex structure of Knowledge Graphs (KGs). By using causal interventions and counterfactual reasoning, the authors successfully remove structural biases and "attribute shortcuts," leading to more accurate and fine-grained recommendations across major benchmarks.
What Problem Does This Paper Address?
Knowledge Graphs (KGs) are powerful tools for recommendation systems because they link items (like movies) to attributes (like directors or genres). However, the authors identify two major "hidden" traps in standard KG-based models:
- Structural Entanglement: In a KG, attributes are often bundled together by the items they describe. If a user watches Aliens II, they are exposed to "Fiction," "Michael Biehn," and "James Cameron" simultaneously. Standard models struggle to distinguish which specific attribute the user actually liked, leading to "blurry" user profiles.
- Attribute Bias (The Shortcut Problem): Items with a high number of attributes that overlap with a user's history tend to get higher similarity scores simply because there are more "paths" (shortcuts) between them. This creates a bias where an item might be recommended just because it has many shared tags, even if it doesn't align with the user's core preferences.
Methods
The authors reframe recommendation as a causal problem using a Causal Graph with five variables: User preference ($U$), Item representation ($I$), Interacted attributes ($A$), KG structure ($K$), and the final Score ($S$). To fix the issues mentioned above, they implement two key causal strategies:
- Deconfounded User Learning (Causal Intervention): To solve entanglement, they use do-calculus to "intervene" on the attribute variable. By virtually cutting the link between the KG structure and the attributes, they force the model to learn user preferences as if every attribute had an equal chance of being seen. This is implemented using a "backdoor adjustment" approximated via the Normalized Weighted Geometric Mean (NWGM).
- Debiased Scoring (Counterfactual Inference): To solve the shortcut problem, they ask a counterfactual question: "What would the score be if we only considered the attributes, bypassing the actual user preference?" By calculating this "Natural Direct Effect" (the bias) and subtracting it from the "Total Effect," they arrive at the Total Indirect Effect—a cleaner, debiased similarity score.
- Architecture: The model uses TransE for initial KG embeddings and a light-weight Graph Convolutional Network (GCN) on bipartite graphs (user-attribute and item-attribute) to propagate information.
Datasets
The model was evaluated on three widely-used public benchmarks:
- Amazon-book: A dense dataset for book recommendations.
- LastFM: A music recommendation dataset.
- Yelp2018: A business/restaurant recommendation dataset.
These datasets represent different real-world scenarios (shopping, music, and local services) with varying levels of KG density and complexity.
Key Insights and Ideas
- The KG is a Confounder: The paper’s most significant "aha moment" is treating the KG structure ($K$) as a confounder that creates spurious correlations between what a user sees and what they actually like.
- More Info $\neq$ Better Signal: The authors prove that simply injecting more KG data can actually introduce noise. Without causal adjustment, the model might recommend a movie just because it shares a genre and an actor with a previous watch, even if the user only cares about the director.
- Causality as a Filter: Instead of building a more complex neural network, the authors used causal "filters" (intervention and counterfactuals) to refine the signals already present in the data.
Key Results
KGCR consistently outperformed state-of-the-art baselines like KGAT and KGIN across all datasets:
- Performance Boost: KGCR achieved relative improvements in Recall@20 of 3.79% on Amazon-book, 5.93% on LastFM, and 6.66% on Yelp2018.
- NDCG Improvements: Similar gains were seen in Normalized Discounted Cumulative Gain (NDCG), with a peak improvement of 7.47% on the Yelp2018 dataset.
- Ablation Success: Removing either the deconfounding component or the counterfactual inference component led to a significant drop in performance, proving that both "untangling" the preferences and "debiasing" the scores are necessary.
Limitations and Future Work
- Popularity Bias: While the model addresses attribute-based bias, it doesn't explicitly tackle global item popularity bias (the tendency to recommend "blockbusters" regardless of niche attributes).
- Causal Discovery: The current model assumes the causal graph is known and fixed. The authors suggest that future work could involve discovering the causal relations between different entities in the KG dynamically.
- Attribute Distribution: The paper notes that the distribution of attributes across items can still cause issues, suggesting a need for more sophisticated ways to handle how attributes are "weighted" across the entire graph.
Summary updated