Global Context Enhanced Graph Neural Networks for Session-based Recommendation

Ziyang Wang, Wei Wei, Gao Cong, Xiao-Li Li, Xian-Ling Mao +1 more
6/9/2021
668 citations
cs.IR
transformer-attentiongnn

Official code: CCIIPLab/GCE-GNN (128 stars, Python, last commit 2021-03-16).

Abstract

Session-based recommendation (SBR) is a challenging task, which aims at recommending items based on anonymous behavior sequences. Almost all the existing solutions for SBR model user preference only based on the current session without exploiting the other sessions, which may contain both relevant and irrelevant item-transitions to the current session.

Show full abstract

This paper proposes a novel approach, called Global Context Enhanced Graph Neural Networks (GCE-GNN) to exploit item transitions over all sessions in a more subtle manner for better inferring the user preference of the current session. Specifically, GCE-GNN learns two levels of item embeddings from session graph and global graph, respectively: (i) Session graph, which is to learn the session-level item embedding by modeling pairwise item-transitions within the current session; and (ii) Global graph, which is to learn the global-level item embedding by modeling pairwise item-transitions over all sessions. In GCE-GNN, we propose a novel global-level item representation learning layer, which employs a session-aware attention mechanism to recursively incorporate the neighbors' embeddings of each node on the global graph. We also design a session-level item representation learning layer, which employs a GNN on the session graph to learn session-level item embeddings within the current session. Moreover, GCE-GNN aggregates the learnt item representations in the two levels with a soft attention mechanism. Experiments on three benchmark datasets demonstrate that GCE-GNN outperforms the state-of-the-art methods consistently.

View on arXivView PDF

Code Implementations(1)

CCIIPLab/GCE-GNNOfficial100%

The source code for "Global Context Enhanced Graph Neural Network for Session-based Recommendation".

12832PythonNov 12, 20205 years ago

Similar Papers

Cite this paper

@article{wang2021global,
  title  = {Global Context Enhanced Graph Neural Networks for Session-based Recommendation},
  author = {Ziyang Wang and Wei Wei and Gao Cong and Xiao-Li Li and Xian-Ling Mao and Minghui Qiu},
  year   = {2021},
  eprint = {2106.05081},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.05081}
}

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

Discussion