Skip to main content
Log in

Relevance-aware graph neural network for session-based recommendation

  • Regular Paper
  • Published:
Computing Aims and scope Submit manuscript

Abstract

Session-based recommendation aims to predict the next item a user may interact with based on sessions’ information. Most existing session-based recommendation models only rely on the information of item-to-item transitions. However, we argue that there exists another type of information in a session that can be mined and made use of, i.e., the information of item-to-item relevance, which could help increase a session-based recommendation model’s performance. In this case, a model named Relevance-Aware Graph Neural Network (RA-GNN) is proposed in this paper, which captures and utilizes both types of information carried in a session, i.e., both the information of item-to-item transitions and the information of item-to-item relevance. Specifically, our paper first proposes to construct a relevance graph and transition graphs, respectively, to capture two types of information. Then two different embedding modules are designed to learn transition and relevance embeddings for items, respectively. Regarding the embeddings for sessions, to obtain the long-term and short-term interest of users, we propose a module to derive the global and local embeddings of sessions, which are further combined to obtain the session embeddings. Experiments are conducted on three real-world datasets to compare the proposed RA-GNN with the state-of-the-art session-based recommendation models. According to the results of experiments, our proposed RA-GNN outperforms the comparison models. The results of experiments show that the proposed model could effectively capture both types of sessions’ information and obtain the interest of users more accurately, therefore improving the performance of session-based recommendation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

References

  1. Zhang C, Wang C (2022) Item sequential recommendation based on graph embedding model. Appl Intell. https://doi.org/10.1007/s10489-022-03452-0

    Article  Google Scholar 

  2. Li J, Wang Y, McAuley J (2020) Time interval aware self-attention for sequential recommendation. In: Proceedings of the 13th international conference on web search and data mining (WSDM), pp 322–330

  3. Chang L, Chen W, Huang J, Bin C, Wang W (2021) Exploiting multi-attention network with contextual influence for point-of-interest recommendation. Appl Intell 51:1904–1917

    Article  Google Scholar 

  4. Sojahrood ZB, Taleai M (2021) A poi group recommendation method in location-based social networks based on user influence. Expert Syst Appl 171:114593

    Article  Google Scholar 

  5. Liu L, Wang L, Lian T (2021) Case4sr: using category sequence graph to augment session-based recommendation. Knowl-Based Syst 212:106558

    Article  Google Scholar 

  6. Wu S, Tang Y, Zhu Y, Wang L, Xie X, Tan T (2019) Session-based recommendation with graph neural networks. In: Proceedings of the AAAI conference on artificial intelligence (AAAI), vol 33, pp 346–353

  7. Wu Y, Gou J (2021) Leveraging neighborhood session information with dual attentive neural network for session-based recommendation. Neurocomputing 439:234–242

    Article  Google Scholar 

  8. Zhang J, Ma C, Zhong C, Mu X, Wang L (2021) MBPI: mixed behaviors and preference interaction for session-based recommendation. Appl Intell 51:7440–7452

    Article  Google Scholar 

  9. Rendle S, Freudenthaler C, Schmidt-Thieme L (2010) Factorizing personalized markov chains for next-basket recommendation. In: Proceedings of the 19th international conference on World Wide Web (WWW), pp 811–820

  10. Le D-T, Fang Y, Lauw HW (2016) Modeling sequential preferences with dynamic user and context factors. In: Joint European conference on machine learning and knowledge discovery in databases, Springer, pp 145–161

  11. Hidasi B, Karatzoglou A, Baltrunas L, Tikk D (2016) Session-based recommendations with recurrent neural networks. In: International conference on learning representations (ICLR), pp 1–10

  12. Li J, Ren P, Chen Z, Ren Z, Lian T, Ma J (2017) Neural attentive session-based recommendation. In: Proceedings of the 2017 ACM on conference on information and knowledge management (CIKM), pp.1419–1428

  13. Wang S, Cao L, Wang Y, Sheng QZ, Orgun MA, Lian D (2021) A survey on session-based recommender systems. ACM Comput Surv (CSUR) 54(7):1–38

    Article  Google Scholar 

  14. Wang N, Wang S, Wang Y, Sheng QZ, Orgun M (2020) Modelling local and global dependencies for next-item recommendations. In: International conference on web information systems engineering (WISE), pp 285–300

  15. Zhou J, Cui G, Hu S, Zhang Z, Yang C, Liu Z, Wang L, Li C, Sun M (2020) Graph neural networks: a review of methods and applications. AI Open 1:57–81

    Article  Google Scholar 

  16. Yang F, Zhang H, Tao S (2022) Simplified multilayer graph convolutional networks with dropout. Appl Intell 52:4776–4791

    Article  Google Scholar 

  17. Qiu R, Li J, Huang Z, Yin H (2019) Rethinking the item order in session-based recommendation with graph neural networks. In: Proceedings of the 28th ACM international conference on information and knowledge management (CIKM), pp. 579–588

  18. Wang Z, Wei W, Cong G, Li X-L, Mao X-L, Qiu M (2020) Global context enhanced graph neural networks for session-based recommendation. In: Proceedings of the 43rd international ACM SIGIR conference on research and development in information retrieval (SIGIR), pp 169–178

  19. Shani G, Heckerman D, Brafman RI, Boutilier C (2005) An MDP-based recommender system. J Mach Learn Res 6:1265–1295

    MathSciNet  MATH  Google Scholar 

  20. Eirinaki M, Vazirgiannis M, Kapogiannis D (2005) Web path recommendations based on page ranking and markov models. In: Proceedings of the 7th annual ACM international workshop on web information and data management (WIDM), pp 2–9

  21. Zhang Z, Nasraoui O (2007) Efficient hybrid web recommendations based on Markov clickstream models and implicit search. In: IEEE/WIC/ACM international conference on web intelligence (WI’07), IEEE, pp 621–627

  22. Tan YK, Xu X, Liu Y (2016) Improved recurrent neural networks for session-based recommendations. In: Proceedings of the 1st workshop on deep learning for recommender systems, pp 17–22

  23. Xu C, Zhao P, Liu Y, Sheng VS, Xu J, Zhuang F, Fang J, Zhou X (2019) Graph contextualized self-attention network for session-based recommendation. In: Proceedings of the 28th international joint conference on artificial intelligence (IJCAI), pp 3940–3946

  24. Yu F, Zhu Y, Liu, Q, Wu S, Wang L, Tan T (2020) Tagnn: Target attentive graph neural networks for session-based recommendation. In: Proceedings of the 43rd International ACM SIGIR conference on research and development in information retrieval (SIGIR), pp 1921–1924

  25. Scarselli F, Gori M, Tsoi AC, Hagenbuchner M, Monfardini G (2008) The graph neural network model. IEEE Trans Neural Netw 20(1):61–80

    Article  Google Scholar 

  26. Hamilton WL, Ying R, Leskovec J (2017) Inductive representation learning on large graphs. In: Proceedings of the 31st International conference on neural information processing systems (NIPS), pp 1025–1035

  27. Li Y, Tarlow D, Brockschmidt M, Zemel R (2016) Gated graph sequence neural networks. In: International conference on learning representations (ICLR), pp 1–20

  28. Kipf TN, Welling M (2017) Semi-supervised classification with graph convolutional networks. In: International conference on learning representations (ICLR), pp 1–14

  29. Veličković P, Cucurull G, Casanova A, Romero A, Lio P, Bengio Y (2018) Graph attention networks. In: International conference on learning representations (ICLR), pp 1–12

  30. Li R, Wang S, Zhu F, Huang J (2018) Adaptive graph convolutional neural networks. In: Proceedings of the AAAI conference on artificial intelligence (AAAI), pp 3546–3553

  31. He X, Deng K, Wang X, Li Y, Zhang Y, Wang M (2020) Lightgcn: Simplifying and powering graph convolution network for recommendation. In: Proceedings of the 43rd international ACM SIGIR conference on research and development in information retrieval (SIGIR), pp 639–648

  32. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser Ł, Polosukhin I (2017) Attention is all you need. In: Advances in neural information processing systems (NIPS), pp 5998–6008

  33. Zangerle E, Pichl M, Gassler W, Specht G (2014) # nowplaying music dataset: Extracting listening behavior from twitter. In: Proceedings of the first international workshop on internet-scale multimedia management, pp 21–26

  34. Sarwar B, Karypis G, Konstan J, Riedl J (2001) Item-based collaborative filtering recommendation algorithms. In: Proceedings of the 10th international conference on World Wide Web (WWW), pp 285–295

  35. Liu Q, Zeng Y, Mokhosi R, Zhang H (2018) Stamp: short-term attention/memory priority model for session-based recommendation. In: Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining (SIGKDD), pp 1831–1839

  36. Liu L, Wang L, Lian T (2021) Case4sr: using category sequence graph to augment session-based recommendation. Knowl-Based Syst 212:106558

    Article  Google Scholar 

  37. Wang H, Zeng Y, Chen J, Han N, Chen H (2023) Interval-enhanced graph transformer solution for session-based recommendation. Expert Syst Appl 213:118970

    Article  Google Scholar 

  38. Guo W, Yang Y, Hu Y, Wang C, Guo H, Zhang Y, Tang R, Zhang W, He X (2021) Deep graph convolutional networks with hybrid normalization for accurate and diverse recommendation. In: Proceedings of 3rd workshop on deep learning practice for high-dimensional sparse data with KDD (KDD)

Download references

Acknowledgements

This work is supported by the National Natural Science Foundation of China under Project No. 61977013.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bo Yang.

Ethics declarations

Conflict of interest

The authors have no relevant financial or non-financial interests to disclose.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zeng, Y., Yang, B., Wen, X. et al. Relevance-aware graph neural network for session-based recommendation. Computing 105, 2311–2335 (2023). https://doi.org/10.1007/s00607-023-01185-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00607-023-01185-7

Keywords

Mathematics Subject Classification

Navigation