Jointly modeling intra- and inter-session dependencies with graph neural networks for session-based recommendations

Jingjing Wang, Haoran Xie, Fu Lee Wang, Lap Kei Lee, Mingqiang Wei

Research output: Contribution to journalArticlepeer-review

16 Citations (Scopus)


Recently, graph neural networks (GNNs) have achieved promising results in session-based recommendation. Existing methods typically construct a local session graph and a global session graph to explore complex item transition patterns. However, studies have seldom investigated the repeat consumption phenomenon in a local graph. In addition, it is challenging to retrieve relevant adjacent nodes from the whole training set owing to computational complexity and space constraints. In this study, we use a GNN to jointly model intra- and inter-session item dependencies for session-based recommendations. We construct a repeat-aware local session graph to encode the intra-item dependencies and generate the session representation with positional awareness. Then, we use sessions from the current mini-batch instead of the whole training set to construct a global graph, which we refer to as the session-level global graph. Next, we aggregate the K-nearest neighbors to generate the final session representation, which enables easy and efficient neighbor searching. Extensive experiments on three real-world recommendation datasets demonstrate that RN-GNN outperforms state-of-the-art methods.

Original languageEnglish
Article number103209
JournalInformation Processing and Management
Issue number2
Publication statusPublished - Mar 2023


  • Graph attention neural networks
  • Reverse-position
  • Session-based recommendation


Dive into the research topics of 'Jointly modeling intra- and inter-session dependencies with graph neural networks for session-based recommendations'. Together they form a unique fingerprint.

Cite this