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.









Similar content being viewed by others
Data availability
No datasets were generated or analyzed during the current study.
References
Schafer JB, Konstan JA, Riedl J (2001) E-commerce recommendation applications. Data Min Knowl Discov 5:115–153
Anandhan A, Shuib L, Ismail MA, Mujtaba G (2018) Social media recommender systems: review and open research issues. IEEE Access 6:15608–15628
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
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
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
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
Hidasi B, Karatzoglou A, Baltrunas L, Tikk D (2015) Session-based recommendations with recurrent neural networks. arXiv preprint arXiv:1511.06939
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
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
Shaw P, Uszkoreit J, Vaswani A (2018) Self-attention with relative position representations. arXiv preprint arXiv:1803.02155
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
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
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
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
Jaakkola T, Haussler D (1998) Exploiting generative models in discriminative classifiers. Adv Neural Inf Process Syst v. 11
Jebara T, Kondor R, Howard A (2004) Probability product kernels. J Mach Learn Res 5:819–844
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
Grauman K, Darrell T (2007) The pyramid match kernel: efficient learning with sets of features. J Mach Learn Res 8(4)
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
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
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
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
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
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
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
Gwadabe TR, Liu Y (2022) Ic-gar: item co-occurrence graph augmented session-based recommendation. Neural Comput Appl 34(10):7581–7596
Romero DW, Cordonnier J-B (2020) Group equivariant stand-alone self-attention for vision. arXiv preprint arXiv:2010.00977
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
Zaheer M, Kottur S, Ravanbakhsh S, Poczos B, Salakhutdinov RR, Smola AJ (2017) Deep sets. Adv Neural Inf Process Syst 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
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
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
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
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
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
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
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
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
Gwadabe TR, Al-hababi MAM, Liu Y (2023) Simgnn: simplified graph neural networks for session-based recommendation. Appl Intell 53(19):22789–22802
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
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
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
Ludewig M, Jannach D (2018) Evaluation of session-based recommendation algorithms. User Model User Adapt Interact 28:331–390
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
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
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
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.
About this article
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
Accepted:
Published:
DOI: https://doi.org/10.1007/s11227-024-06814-2