Reinforced Negative Sampling over Knowledge Graph for Recommendation

Xiang Wang, Yaokun Xu, Xiangnan He, Yixin Cao, Meng Wang +1 more
3/12/2020
cs.IRcs.LG

Official code: xiangwang1223/kgpolicy (138 stars, Python, MIT, last commit 2023-07-06).

Abstract

Properly handling missing data is a fundamental challenge in recommendation. Most present works perform negative sampling from unobserved data to supply the training of recommender models with negative signals.

Show full abstract

Nevertheless, existing negative sampling strategies, either static or adaptive ones, are insufficient to yield high-quality negative samples --- both informative to model training and reflective of user real needs. In this work, we hypothesize that item knowledge graph (KG), which provides rich relations among items and KG entities, could be useful to infer informative and factual negative samples. Towards this end, we develop a new negative sampling model, Knowledge Graph Policy Network (KGPolicy), which works as a reinforcement learning agent to explore high-quality negatives. Specifically, by conducting our designed exploration operations, it navigates from the target positive interaction, adaptively receives knowledge-aware negative signals, and ultimately yields a potential negative item to train the recommender. We tested on a matrix factorization (MF) model equipped with KGPolicy, and it achieves significant improvements over both state-of-the-art sampling methods like DNS and IRGAN, and KG-enhanced recommender models like KGAT. Further analyses from different angles provide insights of knowledge-aware sampling. We release the codes and datasets at https://github.com/xiangwang1223/kgpolicy.

View on arXivView PDF

Code Implementations(1)

MIT

Reinforced Negative Sampling over Knowledge Graph for Recommendation, WWW2020

13837Python, DockerfileAug 13, 20193 years agoMIT
explainable-recommendationknowledge-aware-recommendationknowledge-based-recommendationknowledge-graphknowledge-graph-dataset+6 more

Similar Papers

Cite this paper

@article{wang2020reinforced,
  title  = {Reinforced Negative Sampling over Knowledge Graph for Recommendation},
  author = {Xiang Wang and Yaokun Xu and Xiangnan He and Yixin Cao and Meng Wang and Tat-Seng Chua},
  year   = {2020},
  eprint = {2003.05753},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.05753}
}

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/2003.05753.svg)](https://codeofpaper.com/paper/2003.05753)

Discussion