Causal Inference for Knowledge Graph based Recommendation

Yinwei Wei, Xiang Wang, Liqiang Nie, Shaoyu Li, Dingxian Wang +1 more
12/20/2022
cs.IR

Official code: iLearn-Lab/TKDE23-KGCR (8 stars, Python, last commit 2026-04-06).

Abstract

Knowledge Graph (KG), as a side-information, tends to be utilized to supplement the collaborative filtering (CF) based recommendation model. By mapping items with the entities in KGs, prior studies mostly extract the knowledge information from the KGs and inject it into the representations of users and items.

Show full abstract

Despite their remarkable performance, they fail to model the user preference on attributes in the KG, since they ignore that (1) the structure information of KG may hinder the user preference learning, and (2) the user's interacted attributes will result in the bias issue on the similarity scores. With the help of causality tools, we construct the causal-effect relation between the variables in KG-based recommendation and identify the reasons causing the mentioned challenges. Accordingly, we develop a new framework, termed Knowledge Graph-based Causal Recommendation (KGCR), which implements the deconfounded user preference learning and adopts counterfactual inference to eliminate bias in the similarity scoring. Ultimately, we evaluate our proposed model on three datasets, including Amazon-book, LastFM, and Yelp2018 datasets. By conducting extensive experiments on the datasets, we demonstrate that KGCR outperforms several state-of-the-art baselines, such as KGNN-LS, KGAT and KGIN.

View on arXivView PDF

Code Implementations(1)

[TKDE 2023] Official Implementation for Causal Inference for Knowledge Graph based Recommendation

81PythonApr 21, 20227 months ago

Similar Papers

Cite this paper

@article{wei2022causal,
  title  = {Causal Inference for Knowledge Graph based Recommendation},
  author = {Yinwei Wei and Xiang Wang and Liqiang Nie and Shaoyu Li and Dingxian Wang and Tat-Seng Chua},
  year   = {2022},
  eprint = {2212.10046},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.10046}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.10046.svg)](https://codeofpaper.com/paper/2212.10046)

Discussion