基于集合表示学习的会话推荐
Session-Based Recommendation with Set Representation Learning
摘要: 会话推荐旨在预测用户在会话中的下一次交互。现有方法多依赖序列建模,假设交互存在严格的时间顺序,但实际场景中用户行为常呈现弱顺序或无序特征,易导致推荐不稳定。本文提出一种基于集合表示学习的会话推荐模型SetRec,将会话建模为无序集合,直接捕捉物品间的全局共现关系,降低对顺序噪声的依赖。为提升表征稳健性,模型引入自监督重构任务,通过随机遮蔽与恢复交互项,迫使编码器学习潜在依赖关系,并与推荐预测任务联合优化,实现“重构 + 预测”的协同增强。实验在Yoochoose与Diginetica两个公开数据集上进行,结果表明SetRec在准确率和排序质量上均优于主流方法,有效缓解了数据稀疏与顺序噪声带来的问题,验证了集合化建模与自监督机制在会话推荐中的优势。
Abstract: Session-based recommendation aims to predict the next interaction within a user session. Existing methods often rely on sequential modeling, assuming strict temporal dependencies among interactions. However, in real-world scenarios, user behaviors are usually weakly ordered or unordered, leading to unstable recommendations. This paper proposes SetRec, a session-based recommendation model based on set representation learning. By modeling sessions as unordered sets, SetRec directly captures global co-occurrence relationships among items and reduces sensitivity to sequential noise. To enhance representation robustness, the model introduces a self-supervised reconstruction task that randomly masks and recovers session items, forcing the encoder to learn latent dependencies. The reconstruction is jointly optimized with the recommendation prediction task, forming a “reconstruction + prediction” framework. Experiments on two public datasets, Yoochoose and Diginetica, demonstrate that SetRec outperforms mainstream methods in both accuracy and ranking quality, effectively mitigating the challenges of data sparsity and noisy order. These results verify the advantages of set-based modeling and self-supervised mechanisms for session-based recommendation.
文章引用:黄晶. 基于集合表示学习的会话推荐[J]. 建模与仿真, 2025, 14(10): 235-247. https://doi.org/10.12677/mos.2025.1410620

参考文献

[1] Gao, C., Zheng, Y., Li, N., Li, Y., Qin, Y., Piao, J., et al. (2023) A Survey of Graph Neural Networks for Recommender Systems: Challenges, Methods, and Directions. ACM Transactions on Recommender Systems, 1, 1-51. [Google Scholar] [CrossRef
[2] Wang, S., Cao, L., Wang, Y., Sheng, Q.Z., Orgun, M.A. and Lian, D. (2021) A Survey on Session-Based Recommender Systems. ACM Computing Surveys, 54, 1-38. [Google Scholar] [CrossRef
[3] Garcin, F., Dimitrakakis, C. and Faltings, B. (2013) Personalized News Recommendation with Context Trees. Proceedings of the 7th ACM Conference on Recommender Systems, Hong Kong, 12-16 October 2013, 105-112. [Google Scholar] [CrossRef
[4] Hariri, N., Mobasher, B. and Burke, R. (2012) Context-Aware Music Recommendation Based on Latenttopic Sequential Patterns. Proceedings of the Sixth ACM Conference on Recommender Systems, Dublin Ireland, 9-13 September 2012, 131-138. [Google Scholar] [CrossRef
[5] Vaswani, A., Shazeer, N., Parmar, N., et al. (2017) Attention Is All You Need. Advances in Neural Information Processing Systems, 30, 1-11.
[6] Wagstaff, E., Fuchs, F.B., Engelcke, M., et al. (2022) Universal Approximation of Functions on Sets. The Journal of Machine Learning Research, 23, 6762-6817.
[7] Qi, C.R., Su, H., Mo, K., et al. (2017) Point-Net: Deep Learning on Point Sets for 3D Classification and Segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, 21-26 July 2017, 652-660.
[8] Zaheer, M., Kottur, S., Ravanbakhsh, S., et al. (2017) Deep Sets. Advances in Neural Information Processing Systems, 30, 3391-3401.
[9] Skianis, K., Nikolentzos, G., Limnios, S., et al. (2020) Rep the Set: Neural Networks for Learning Set Representations. 2020 International Conference on Artificial Intelligence and Statistics, Wednesday, 26-28 August 2020, 1410-1420.
[10] Lee, J., Lee, Y., Kim, J., et al. (2019) Set Transformer: A Framework for Attention-Based Permutation-Invariant Neural Networks. 2019 International Conference on Machine Learning, Long Beach, 9-15 June 2019, 3744-3753.
[11] Hidasi, B., Karatzoglou, A., Baltrunas, L., et al. (2015) Session-Based Recommendations with Recurrent Neural Networks. arXiv:1511.06939.
[12] Liu, Q., Zeng, Y., Mokhosi, R. and Zhang, H. (2018) STAMP: Short-Term Attention/Memory Priority Model for Session-Based Recommendation. Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, London, 19-23 August 2018, 1831-1839. [Google Scholar] [CrossRef
[13] Wu, S., Tang, Y., Zhu, Y., Wang, L., Xie, X. and Tan, T. (2019) Session-Based Recommendation with Graph Neural Networks. Proceedings of the AAAI Conference on Artificial Intelligence, 33, 346-353. [Google Scholar] [CrossRef
[14] Romero, D.W. and Cordonnier, J.B. (2020) Group Equivariant Stand-Alone Self-Attention for Vision. arXiv:2010.00977.
[15] Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A. and Zagoruyko, S. (2020) End-to-End Object Detection with Transformers. In: Vedaldi, A., Bischof, H., Brox, T. and Frahm, J.M., Eds., Lecture Notes in Computer Science, Springer International Publishing, 213-229. [Google Scholar] [CrossRef