VRKG4Rec: Virtual Relational Knowledge Graphs for Recommendation

Lingyun Lu, Bang Wang, Zizhuo Zhang, Shenghao Liu, Han Xu
4/3/2022
cs.IRcs.AI

Official code: lulu0913/VRKG4Rec (19 stars, Python, last commit 2023-03-30).

Abstract

Incorporating knowledge graph as side information has become a new trend in recommendation systems. Recent studies regard items as entities of a knowledge graph and leverage graph neural networks to assist item encoding, yet by considering each relation type individually.

Show full abstract

However, relation types are often too many and sometimes one relation type involves too few entities. We argue that it is not efficient nor effective to use every relation type for item encoding. In this paper, we propose a VRKG4Rec model (Virtual Relational Knowledge Graphs for Recommendation), which explicitly distinguish the influence of different relations for item representation learning. We first construct virtual relational graphs (VRKGs) by an unsupervised learning scheme. We also design a local weighted smoothing (LWS) mechanism for encoding nodes, which iteratively updates a node embedding only depending on the embedding of its own and its neighbors, but involve no additional training parameters. We also employ the LWS mechanism on a user-item bipartite graph for user representation learning, which utilizes encodings of items with relational knowledge to help training representations of users. Experiment results on two public datasets validate that our VRKG4Rec model outperforms the state-of-the-art methods. The implementations are available at https://github.com/lulu0913/VRKG4Rec.

View on arXivView PDF

Code Implementations(1)

lulu0913/VRKG4RecOfficial100%

This is the PyTorch Implementation for our model VRKG4Rec (WSDM'23)

191PythonNov 10, 20223 years ago

Similar Papers

Cite this paper

@article{lu2022vrkgrec,
  title  = {VRKG4Rec: Virtual Relational Knowledge Graphs for Recommendation},
  author = {Lingyun Lu and Bang Wang and Zizhuo Zhang and Shenghao Liu and Han Xu},
  year   = {2022},
  eprint = {2204.01089},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.01089}
}

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

Discussion