Skip to main content

Advertisement

Log in

TSESRec: A transformer-facilitated set extension model for session-based recommendation

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

Session-based recommendation presents a challenging task, aimed at recommending subsequent items based on anonymous behavioral sequences. The current session-based recommendation methods heavily rely on the order of interactions. However, we observed that the interaction order within a session might not be reliable because interactions often contain noise, such as unintentional or erroneous interactions. In such cases, overemphasizing the order can interfere with the recommendation results. This paper proposes a new hypothesis regarding the relationship between interaction order and recommendation results, suggesting that observed historical interactions constitute unordered feature data, and the order of interactions does not affect session recommendation outcomes. To validate the aforementioned hypothesis, we represent sessions in the form of sets and propose a Transformer-facilitated set extension model for session-based recommendation (TSESRec). We validated the effectiveness of the above hypothesis through comparative experiments on the TSESRec model. The model performed well compared to other advanced baselines, outperforming all baselines on specific-length datasets, indicating its advantages for session-based recommendations.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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
Algorithm 1
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Data availability

No datasets were generated or analyzed during the current study.

References

  1. Schafer JB, Konstan JA, Riedl J (2001) E-commerce recommendation applications. Data Min Knowl Discov 5:115–153

    Article  Google Scholar 

  2. Anandhan A, Shuib L, Ismail MA, Mujtaba G (2018) Social media recommender systems: review and open research issues. IEEE Access 6:15608–15628

    Article  Google Scholar 

  3. Zhou R, Khemmarat S, Gao L (2010) The impact of youtube recommendation system on video views. In: Proceedings of the 10th ACM SIGCOMM Conference on Internet Measurement, pp. 404–410

  4. 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 

  5. Garcin F, Dimitrakakis C, Faltings B (2013) Personalized news recommendation with context trees. In: Proceedings of the 7th ACM Conference on Recommender Systems, pp. 105–112

  6. Hariri N, Mobasher B, Burke R (2012) Context-aware music recommendation based on latenttopic sequential patterns. In: Proceedings of the Sixth ACM Conference on Recommender Systems, pp. 131–138

  7. Hidasi B, Karatzoglou A, Baltrunas L, Tikk D (2015) Session-based recommendations with recurrent neural networks. arXiv preprint arXiv:1511.06939

  8. Tang J, Wang K (2018) Personalized top-n sequential recommendation via convolutional sequence embedding. In: Proceedings of the Eleventh ACM International Conference on Web Search and Data Mining, pp. 565–573

  9. 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, vol. 33, pp. 346–353

  10. Shaw P, Uszkoreit J, Vaswani A (2018) Self-attention with relative position representations. arXiv preprint arXiv:1803.02155

  11. Xia X, Yin H, Yu J, Wang Q, Cui L, Zhang X (2011) Self-supervised hypergraph convolutional networks for session-based recommendation. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 35, pp. 4503–4511

  12. Wu S, Sun F, Zhang W, Xie X, Cui B (2022) Graph neural networks in recommender systems: a survey. ACM Comput Surv 55(5):1–37

    Article  Google Scholar 

  13. Lin Z, Tian C, Hou Y, Zhao WX (2022) Improving graph collaborative filtering with neighborhood-enriched contrastive learning. In: Proceedings of the ACM Web Conference 2022, pp. 2320–2329

  14. Wagstaff E, Fuchs FB, Engelcke M, Osborne MA, Posner I (2022) Universal approximation of functions on sets. J Mach Learn Res 23(1):6762–6817

    MathSciNet  Google Scholar 

  15. Jaakkola T, Haussler D (1998) Exploiting generative models in discriminative classifiers. Adv Neural Inf Process Syst v. 11

  16. Jebara T, Kondor R, Howard A (2004) Probability product kernels. J Mach Learn Res 5:819–844

    MathSciNet  Google Scholar 

  17. Kondor R, Jebara T (2003) A kernel between sets of vectors. In: Proceedings of the 20th International Conference on Machine Learning (ICML-03), pp. 361–368

  18. Grauman K, Darrell T (2007) The pyramid match kernel: efficient learning with sets of features. J Mach Learn Res 8(4)

  19. Qi CR, Su H, Mo K, Guibas LJ (2017) Pointnet: Deep learning on point sets for 3d classification and segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 652–660

  20. Murphy RL, Srinivasan B, Rao V, Ribeiro B (2018) Janossy pooling: Learning deep permutation-invariant functions for variable-size inputs. arXiv preprint arXiv:1811.01900

  21. Skianis K, Nikolentzos G, Limnios S, Vazirgiannis M (2020) Rep the set: Neural networks for learning set representations. In: International Conference on Artificial Intelligence and Statistics, pp. 1410–1420 . PMLR

  22. Lee J, Lee Y, Kim J, Kosiorek A, Choi S, Teh YW (2019) Set transformer: a framework for attention-based permutation-invariant neural networks. In: International Conference on Machine Learning, pp. 3744–3753 . PMLR

  23. Di Bello FA, Dreyer E, Ganguly S, Gross E, Heinrich L, Ivina A, Kado M, Kakati N, Santi L, Shlomi J et al (2023) Reconstructing particles in jets using set transformer and hypergraph prediction networks. Eur Phys J C 83(7):596

    Article  Google Scholar 

  24. 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, pp. 1831–1839

  25. Wang S, Hu L, Cao L (2017) Perceiving the next choice with comprehensive transaction embeddings for online recommendation. In: Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD 2017, Skopje, Macedonia, September 18–22, 2017, Proceedings, Part II 17, pp. 285–302 . Springer

  26. Gwadabe TR, Liu Y (2022) Ic-gar: item co-occurrence graph augmented session-based recommendation. Neural Comput Appl 34(10):7581–7596

    Article  Google Scholar 

  27. Romero DW, Cordonnier J-B (2020) Group equivariant stand-alone self-attention for vision. arXiv preprint arXiv:2010.00977

  28. Wen Q, Zhou T, Zhang C, Chen W, Ma Z, Yan J, Sun L (2022) Transformers in time series: a survey. arXiv preprint arXiv:2202.07125

  29. Zaheer M, Kottur S, Ravanbakhsh S, Poczos B, Salakhutdinov RR, Smola AJ (2017) Deep sets. Adv Neural Inf Process Syst 30

  30. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser Ł, Polosukhin I (2017) Attention is all you need. Adv Neural Inf Process Syst 30

  31. Dai Z, Yang Z, Yang Y, Carbonell J, Le QV, Salakhutdinov R (2019) Transformer-xl: Attentive language models beyond a fixed-length context. arXiv preprint arXiv:1901.02860

  32. Haviv A, Ram O, Press O, Izsak P, Levy O (2022) Transformer language models without positional encodings still learn positional information. arXiv preprint arXiv:2203.16634

  33. He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778

  34. Hidasi B, Karatzoglou A (2018) Recurrent neural networks with top-k gains for session-based recommendations. In: Proceedings of the 27th ACM International Conference on Information and Knowledge Management, pp. 843–852

  35. Das AS, Datar M, Garg A, Rajaram S (2007) Google news personalization: scalable online collaborative filtering. In: Proceedings of the 16th International Conference on World Wide Web, pp. 271–280

  36. Zhao Q, Zhang Y, Friedman D, Tan F (2015) E-commerce recommendation with personalized promotion. In: Proceedings of the 9th ACM Conference on Recommender Systems, pp. 219–226

  37. Davidson J, Liebald B, Liu J, Nandy P, Van Vleet T, Gargi U, Gupta S, He Y, Lambert M, Livingston B (2010) et al.: The youtube video recommendation system. In: Proceedings of the Fourth ACM Conference on Recommender Systems, pp. 293–296

  38. 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, pp. 811–820

  39. Gwadabe TR, Al-hababi MAM, Liu Y (2023) Simgnn: simplified graph neural networks for session-based recommendation. Appl Intell 53(19):22789–22802

    Article  Google Scholar 

  40. Pan Z, Cai F, Chen W, Chen H, De Rijke M (2020) Star graph neural networks for session-based recommendation. In: Proceedings of the 29th ACM International Conference on Information & Knowledge Management, pp. 1195–1204

  41. 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, pp. 1419–1428

  42. Wang J, Xie H, Wang FL, Lee L-K, Wei M (2023) Jointly modeling intra-and inter-session dependencies with graph neural networks for session-based recommendations. Inf Process Manag 60(2):103209

    Article  Google Scholar 

  43. Ludewig M, Jannach D (2018) Evaluation of session-based recommendation algorithms. User Model User Adapt Interact 28:331–390

    Article  Google Scholar 

  44. Caselles-Dupré H, Lesaint F, Royo-Letelier J (2018) Word2vec applied to recommendation: hyperparameters matter. In: Proceedings of the 12th ACM Conference on Recommender Systems, pp. 352–356

Download references

Acknowledgements

This work was supported by the National Social Science Fund of China (No. 22CGL050) and National Natural Science Foundation of China (NSFC72234004). The financial support is gratefully acknowledged.

Author information

Authors and Affiliations

Authors

Contributions

C.L. performed methodology, validation, and writing—review and editing. T.Y. presented methodology, validation, and writing—original draft. X.Z. provided validation and writing—review and editing. L.Z. carried out methodology, writing—original draft, and writing—review and editing. X.G. conducted validation and writing—review and Editing.

Corresponding authors

Correspondence to Xianghong Zhou or Lixin Zhou.

Ethics declarations

Conflict of interest

The authors declare no conflict of interest.

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

Liu, C., Yu, T., Zhou, X. et al. TSESRec: A transformer-facilitated set extension model for session-based recommendation. J Supercomput 81, 304 (2025). https://doi.org/10.1007/s11227-024-06814-2

Download citation

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11227-024-06814-2

Keywords