Bi-View Contrastive Learning with Hypergraph for Enhanced Session-Based Recommendation
Abstract
:1. Introduction
- Breaking through the limitations of traditional hypergraph recommendations that rely on a single view, we propose a modeling architecture that integrates hypergraph views and intersection graph views. We innovatively design a cross-view contrastive learning mechanism combined with adversarial training to constrain the distribution differences in the bi-view embedding space, effectively alleviating data sparsity and mode collapse issues, and achieving information complementarity and model stability.
- For the first time, Transformer positional encoding is introduced into hypergraph recommendation models, constructing a hybrid representation learning module that captures both high-order relationships and temporal awareness. This addresses the defect of existing hypergraph methods ignoring the sequential information of items within sessions, significantly improving the modeling accuracy of users’ dynamic preferences.
- A multi-task learning framework that jointly optimizes contrastive learning, adversarial training, and recommendation prediction is proposed. This framework strengthens the accuracy and generalization ability of item representations in sparse scenarios, providing a new perspective on model optimization for complex session recommendation tasks.
- Extensive experiments on three benchmark datasets demonstrate significant superiority of this model and achieve notable improvements in recommendation effectiveness.
2. Related Work
2.1. Session-Based Recommendation
2.2. Hypergraph Learning
2.3. Contrastive Learning
3. Method
3.1. Problem Setup and Definitions
3.1.1. Problem Setup
3.1.2. Definition 1: Hypergraph View
3.1.3. Definition 2: Session View
3.2. Method Framework
3.2.1. Hypergraph View and Hypergraph Convolution
3.2.2. Transformer as Encoder
3.2.3. Predication
3.2.4. Session View and Graph Convolution
3.2.5. Cross-View Contrastive Learning
3.2.6. Adversarial Training and Constraints
3.2.7. Multi-Task Joint Learning
4. Experiments
4.1. Experimental Setup
4.1.1. Dataset
- Tmall (https://tianchi.aliyun.com/dataset/dataDetail?dataId=42, accessed on 1 January 2024): This dataset originates from the IJCAI-15 competition, containing anonymous user shopping records from the Tmall online shopping platform.
- Diginetica (https://competitions.codalab.org/competitions/11161#learn_the_details-data2, accessed on 1 January 2024): This dataset comes from the CIKM Cup 2016 personalized e-commerce search challenge, featuring five months of shopping click records on an e-commerce website.
- RetailRocket (https://www.kaggle.com/retailrocket/ecommerce-dataset, accessed on 1 January 2024): RetailRocket is a dataset released by an e-commerce website, which includes six months of user browsing activity, with all values hashed for privacy reasons.
4.1.2. Baselines
- POP [33]: Recommends items based on their click frequency within sessions.
- Item-KNN [34]: Recommends items similar to previously clicked ones in a session, based on the cosine similarity of session vectors.
- FPMC [6]: Combines Markov chains and matrix factorization to recommend the next item based on sequential behavior.
- GRU4REC [10]: Uses gated recurrent units to model user sequences and optimizes the model using a ranking-based loss function.
- NARM [11]: Integrates gated recurrent units and attention mechanisms to capture latent user intents and infer user preferences.
- STAMP [12]: Utilizes a self-attention mechanism, combining long-term interests with the most recent clicks to enhance SBR.
- FGNN [55]: Frames the next-item recommendation within a session as a graph classification problem, transforming the target session into a directed weighted graph and learning session features using a weighted attention graph structure and readout function.
- SR-GNN [36]: Applies gated recurrent units and graph convolutional layers to capture transitions between items.
- DHCN [14]: Constructs hypergraphs to learn inter-session and intra-session information and employs self-distinguishing contrastive learning to enhance SBR.
- Atten-Mixer [62]: A multi-level attention-mixing network, leveraging readings from both conceptual and instance views to enable hierarchical reasoning for item transitions.
4.1.3. Evaluation Metrics
- Precision@K
- MRR@K (Mean Reciprocal Rank@K)
4.1.4. Parameter Tuning
4.2. Experimental Results
- ↑: A higher proportion of relevant items in the top 10 recommendations, increasing the likelihood of users seeing effective results during the first-round interaction.
- ↑: Better overall quality of the recommendation list. Even when expanding the scope to the top 20 items, the model maintains high accuracy, demonstrating its strong broad coverage capability.
- ↑: The average rank of the first relevant item is closer to the top, allowing users to discover points of interest faster and reducing interaction costs.
- ↑: Even when extending to the top 20 items, the model efficiently identifies the first relevant item, proving the robustness of its ranking strategy—expanding the recommendation scope does not significantly sacrifice efficiency.
- Traditional SBR models such as POP and Item-KNN generally have lower accuracy compared to deep learning-based models like GRU4REC, NARM, STAMP, SR-GNN, and DHCN. This is due to the capability of deep learning technologies such as neural networks to capture deep features between items and sessions, while POP and Item-KNN rely on shallow statistics, or low-order sequential patterns, failing to capture long-range dependencies or multi-hop relationships.
- Methods that incorporate positional information, such as GRU4REC, NARM, STAMP, and SR-GNN, significantly outperform traditional methods like POP and FPMC that do not consider positional information. This is because the inclusion of positional information provides richer contextual information for the SBR system, allowing it to more precisely understand users’ real-time needs and preferences, underscoring the crucial role of capturing the sequential dependencies between items for performance improvement.
- Additionally, in methods based on RNNs, NARM and STAMP achieve better performance than GRU4REC. Although GRU4REC uses GRU neural networks to process sequence data, it lacks the use of current interest preferences of users. NARM and STAMP, by using attention mechanisms to learn the importance of each item, effectively capture the current interest preferences of users.
- Graph-based baseline methods like FGNN, SR-GNN, and DHCN outperform RNN-based methods, demonstrating the powerful session feature-learning capability of graph neural networks, which can capture more complex relationships between items. Among them, DHCN achieves higher accuracy than SR-GNN, proving that capturing information at different session levels (inter-session and intra-session information) is beneficial for accurately predicting user intentions.
- The BCHRec proposed in this paper outperforms all baseline methods on three datasets, demonstrating the powerful performance of hypergraph modeling and cross-view contrastive learning, as well as its effectiveness when applied to e-commerce data. BCHRec shows superior performance over DHCN primarily because DHCN only conducts self-distinguishing contrastive learning and does not fully utilize the information interaction between the two views. Atten Mixer also uses multi-view to model user intent, showing second best performance on all baseline models, but its utilization of graphs is insufficient and it also faces data sparsity issues, which limits its performance.
4.3. Ablation Study
4.4. Performance Comparison of Different Data Sparsity
4.5. Hyper-Parameter Sensitivities
4.5.1. Effect of Contrastive Loss Weight
4.5.2. Effect of Diversity Constraint Weight
4.5.3. Effect of Model Depth L
4.5.4. Effect of Transformer Module Depth
5. Conclusions
- Integrating multi-modal data, such as item images or textual descriptions, to enhance recommendation accuracy;
- Adapting the hypergraph-based approach to other domains, such as social recommendation or knowledge graph completion, where complex relationships are prevalent.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Li, W.; Zheng, W.; Xiao, X.; Wang, S. STAN: Stage-Adaptive Network for Multi-Task Recommendation by Learning User Lifecycle-Based Representation. In Proceedings of the 17th ACM Conference on Recommender Systems, Singapore, 18–22 September 2023; pp. 602–612. [Google Scholar]
- Mao, K.; Zhu, J.; Xiao, X.; Lu, B.; Wang, Z.; He, X. UltraGCN: Ultra simplification of graph convolutional networks for recommendation. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management, Online, 1–15 November 2021; pp. 1253–1262. [Google Scholar]
- Wang, X.; He, X.; Wang, M.; Feng, F.; Chua, T.S. Neural graph collaborative filtering. In Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval, Paris, France, 21–25 July 2019; pp. 165–174. [Google Scholar]
- Sarwar, B.; Karypis, G.; Konstan, J.; Riedl, J. Item-based collaborative filtering recommendation algorithms. In Proceedings of the 10th International Conference on World Wide Web, Hong Kong, China, 1–5 May 2001; pp. 285–295. [Google Scholar]
- Bonnin, G.; Jannach, D. Automated generation of music playlists: Survey and experiments. Acm Comput. Surv. (CSUR) 2014, 47, 1–35. [Google Scholar] [CrossRef]
- Rendle, S.; Freudenthaler, C.; Schmidt-Thieme, L. Factorizing personalized markov chains for next-basket recommendation. In Proceedings of the 19th International Conference on World Wide Web, Raleigh, NC, USA, 26–30 April 2010; pp. 811–820. [Google Scholar]
- Shani, G.; Heckerman, D.; Brafman, R.I.; Boutilier, C. An MDP-based recommender system. J. Mach. Learn. Res. 2005, 6, 1265–1295. [Google Scholar]
- Zimdars, A.; Chickering, D.M.; Meek, C. Using temporal data for making recommendations. arXiv 2013, arXiv:1301.2320. [Google Scholar]
- Tavakol, M.; Brefeld, U. Factored MDPs for detecting topics of user sessions. In Proceedings of the 8th ACM Conference on Recommender Systems, Foster City, CA, USA, 6–10 October 2014; pp. 33–40. [Google Scholar]
- Hidasi, B.; Karatzoglou, A.; Baltrunas, L.; Tikk, D. Session-based recommendations with recurrent neural networks. arXiv 2015, arXiv:1511.06939. [Google Scholar]
- Li, J.; Ren, P.; Chen, Z.; Ren, Z.; Lian, T.; Ma, J. Neural attentive session-based recommendation. In Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, Singapore, 6–10 November 2017; pp. 1419–1428. [Google Scholar]
- Liu, Q.; Zeng, Y.; Mokhosi, R.; Zhang, H. 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, London, UK, 19–23 August 2018; pp. 1831–1839. [Google Scholar]
- Yu, F.; Liu, Q.; Wu, S.; Wang, L.; Tan, T. A dynamic recurrent model for next basket recommendation. In Proceedings of the 39th International ACM SIGIR Conference on Research and Development in Information Retrieval, Pisa, Italy, 17–21 July 2016; pp. 729–732. [Google Scholar]
- Xia, X.; Yin, H.; Yu, J.; Wang, Q.; Cui, L.; Zhang, X. Self-supervised hypergraph convolutional networks for session-based recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtually, 2–9 February 2021; pp. 4503–4511. [Google Scholar]
- Xu, C.; Zhao, P.; Liu, Y.; Sheng, V.S.; Xu, J.; Zhuang, F.; Fang, J.; Zhou, X. Graph contextualized self-attention network for session-based recommendation. In Proceedings of the International Joint Conference on Artificial Intelligence, Macao, China, 10–16 August 2019; Volume 19, pp. 3940–3946. [Google Scholar]
- Chen, T.; Wong, R.C.W. Handling information loss of graph neural networks for session-based recommendation. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Virtual Event, 6–10 July 2020; pp. 1172–1180. [Google Scholar]
- Pan, Z.; Cai, F.; Chen, W.; Chen, H.; De Rijke, M. Star graph neural networks for session-based recommendation. In Proceedings of the 29th ACM International Conference on Information & Knowledge Management, Virtual, 19–23 October 2020; pp. 1195–1204. [Google Scholar]
- Feng, Y.; You, H.; Zhang, Z.; Ji, R.; Gao, Y. Hypergraph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, Hawai, HI, USA, 27 January–1 February 2019; pp. 3558–3565. [Google Scholar]
- Yadati, N.; Nimishakavi, M.; Yadav, P.; Nitin, V.; Louis, A.; Talukdar, P. Hypergcn: A new method for training graph convolutional networks on hypergraphs. Adv. Neural Inf. Process. Syst. 2019, 32, 1511–1522. [Google Scholar]
- Yang, Y.; Huang, C.; Xia, L.; Liang, Y.; Yu, Y.; Li, C. Multi-behavior hypergraph-enhanced transformer for sequential recommendation. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Washington, DC, USA, 14–18 August 2022; pp. 2263–2274. [Google Scholar]
- Ji, S.; Feng, Y.; Ji, R.; Zhao, X.; Tang, W.; Gao, Y. Dual channel hypergraph collaborative filtering. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Virtual Event, 6–10 July 2020; pp. 2020–2029. [Google Scholar]
- Yu, J.; Yin, H.; Li, J.; Wang, Q.; Hung, N.Q.V.; Zhang, X. Self-supervised multi-channel hypergraph convolutional network for social recommendation. In Proceedings of the Web Conference 2021, Ljubljana, Slovenia, 19–23 April 2021; pp. 413–424. [Google Scholar]
- Tan, S.; Bu, J.; Chen, C.; Xu, B.; Wang, C.; He, X. Using rich social media information for music recommendation via hypergraph model. ACM Trans. Multimed. Comput. Commun. Appl. (TOMM) 2011, 7, 1–22. [Google Scholar]
- Jing, M.; Zhu, Y.; Zang, T.; Wang, K. Contrastive self-supervised learning in recommender systems: A survey. ACM Trans. Inf. Syst. 2023, 42, 1–39. [Google Scholar] [CrossRef]
- Sun, F.Y.; Hoffmann, J.; Verma, V.; Tang, J. Infograph: Unsupervised and semi-supervised graph-level representation learning via mutual information maximization. arXiv 2019, arXiv:1908.01000. [Google Scholar]
- You, Y.; Chen, T.; Sui, Y.; Chen, T.; Wang, Z.; Shen, Y. Graph contrastive learning with augmentations. Adv. Neural Inf. Process. Syst. 2020, 33, 5812–5823. [Google Scholar]
- Wu, J.; Wang, X.; Feng, F.; He, X.; Chen, L.; Lian, J.; Xie, X. Self-supervised graph learning for recommendation. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, Virtual Event, 11–15 July 2021; pp. 726–735. [Google Scholar]
- Xu, J.; Wang, C.; Wu, C.; Song, Y.; Zheng, K.; Wang, X.; Wang, C.; Zhou, G.; Gai, K. Multi-behavior self-supervised learning for recommendation. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, Taipei, China, 23–27 July 2023; pp. 496–505. [Google Scholar]
- Shuai, J.; Zhang, K.; Wu, L.; Sun, P.; Hong, R.; Wang, M.; Li, Y. A review-aware graph contrastive learning framework for recommendation. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, 11–15 July 2022; pp. 1283–1293. [Google Scholar]
- He, X.; Liao, L.; Zhang, H.; Nie, L.; Hu, X.; Chua, T.S. Neural collaborative filtering. In Proceedings of the 26th International Conference on World Wide Web, Perth, Australia, 3–7 April 2017; pp. 173–182. [Google Scholar]
- Wang, J.; Caverlee, J. Recurrent recommendation with local coherence. In Proceedings of the 12th ACM International Conference on Web Search and Data Mining, Melbourne, Australia, 11–15 February 2019; pp. 564–572. [Google Scholar]
- Wang, J.; Louca, R.; Hu, D.; Cellier, C.; Caverlee, J.; Hong, L. Time to Shop for Valentine’s Day: Shopping Occasions and Sequential Recommendation in E-commerce. In Proceedings of the 13th International Conference on Web Search and Data Mining, Houston, TX, USA, 3–7 February 2020; pp. 645–653. [Google Scholar]
- Adomavicius, G.; Tuzhilin, A. Toward the next generation of recommender systems: A survey of the state-of-the-art and possible extensions. IEEE Trans. Knowl. Data Eng. 2005, 17, 734–749. [Google Scholar] [CrossRef]
- Davidson, J.; Liebald, B.; Liu, J.; Nandy, P.; Van Vleet, T.; Gargi, U.; Gupta, S.; He, Y.; Lambert, M.; Livingston, B.; et al. The YouTube video recommendation system. In Proceedings of the 4th ACM conference on Recommender systems, Barcelona, Spain, 26–30 September 2010; pp. 293–296. [Google Scholar]
- Yin, H.; Cui, B. Spatio-Temporal Recommendation in Social Media; Springer: Berlin/Heidelberg, Germany, 2016. [Google Scholar]
- Wu, S.; Tang, Y.; Zhu, Y.; Wang, L.; Xie, X.; Tan, T. Session-based recommendation with graph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, Hawaii, HI, USA, 27 January–1 February 2019; pp. 346–353. [Google Scholar]
- Qiu, R.; Li, J.; Huang, Z.; Yin, H. 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, Beijing, China, 3–7 November 2019; pp. 579–588. [Google Scholar]
- Wang, Z.; Wei, W.; Cong, G.; Li, X.L.; Mao, X.L.; Qiu, M. 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, Xi’an, China, 25–30 July 2020; pp. 169–178. [Google Scholar]
- Su, J.; Chen, C.; Liu, W.; Wu, F.; Zheng, X.; Lyu, H. Enhancing hierarchy-aware graph networks with deep dual clustering for session-based recommendation. In Proceedings of the ACM Web Conference 2023, Austin, TX, USA, 30 April–4 May 2023; pp. 165–176. [Google Scholar]
- Qiao, S.; Zhou, W.; Wen, J.; Zhang, H.; Gao, M. Bi-channel Multiple Sparse Graph Attention Networks for Session-based Recommendation. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management, Birmingham, UK, 21–25 October 2023; pp. 2075–2084. [Google Scholar]
- Chen, Q.; Guo, Z.; Li, J.; Li, G. Knowledge-enhanced multi-view graph neural networks for session-based recommendation. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, Taipei, China, 23–27 July 2023; pp. 352–361. [Google Scholar]
- Veličković, P.; Fedus, W.; Hamilton, W.L.; Liò, P.; Bengio, Y.; Hjelm, R.D. Deep graph infomax. arXiv 2018, arXiv:1809.10341. [Google Scholar]
- Yang, Y.; Wu, Z.; Wu, L.; Zhang, K.; Hong, R.; Zhang, Z.; Zhou, J.; Wang, M. Generative-contrastive graph learning for recommendation. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, Taipei, China, 23–27 July 2023; pp. 1117–1126. [Google Scholar]
- Zhao, S.; Wei, W.; Mao, X.L.; Zhu, S.; Yang, M.; Wen, Z.; Chen, D.; Zhu, F. Multi-view hypergraph contrastive policy learning for conversational recommendation. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, Taipei, China, 23–27 July 2023; pp. 654–664. [Google Scholar]
- Wan, Z.; Liu, X.; Wang, B.; Qiu, J.; Li, B.; Guo, T.; Chen, G.; Wang, Y. Spatio-temporal contrastive learning-enhanced GNNs for session-based recommendation. ACM Trans. Inf. Syst. 2023, 42, 1–26. [Google Scholar]
- Dong, H.V.; Fang, Y.; Lauw, H.W. A Contrastive Framework with User, Item and Review Alignment for Recommendation. arXiv 2025, arXiv:2501.11963. [Google Scholar]
- Wu, J.; Gan, W.; Lu, H.; Yu, P.S. Graph Contrastive Learning on Multi-label Classification for Recommendations. arXiv 2025, arXiv:2501.06985. [Google Scholar]
- Benson, A.R.; Gleich, D.F.; Leskovec, J. Higher-order organization of complex networks. Science 2016, 353, 163–166. [Google Scholar] [CrossRef] [PubMed]
- Whitney, H. Congruent graphs and the connectivity of graphs. In Hassler Whitney Collected Papers; Birkhäuser: Boston, MA, USA, 1992; pp. 61–79. [Google Scholar]
- Bai, S.; Zhang, F.; Torr, P.H. Hypergraph convolution and hypergraph attention. Pattern Recognit. 2021, 110, 107637. [Google Scholar] [CrossRef]
- Wu, F.; Souza, A.; Zhang, T.; Fifty, C.; Yu, T.; Weinberger, K. Simplifying graph convolutional networks. In Proceedings of the International Conference on Machine Learning, Taiyuan, China, 8–10 November 2019; pp. 6861–6871. [Google Scholar]
- Kang, W.C.; McAuley, J. Self-attentive sequential recommendation. In Proceedings of the 2018 IEEE International Conference on Data Mining (ICDM), IEEE, Singapore, 17–20 November 2018; pp. 197–206. [Google Scholar]
- Ye, Y.; Xia, L.; Huang, C. Graph masked autoencoder for sequential recommendation. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, Taipei, China, 23–27 July 2023; pp. 321–330. [Google Scholar]
- Sun, F.; Liu, J.; Wu, J.; Pei, C.; Lin, X.; Ou, W.; Jiang, P. BERT4Rec: Sequential recommendation with bidirectional encoder representations from transformer. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management, Beijing, China, 3–7 November 2019; pp. 1441–1450. [Google Scholar]
- Xia, X.; Yin, H.; Yu, J.; Shao, Y.; Cui, L. Self-supervised graph co-training for session-based recommendation. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management, Gold Coast, Australia, 1–5 November 2021; pp. 2180–2190. [Google Scholar]
- Xia, L.; Huang, C.; Xu, Y.; Zhao, J.; Yin, D.; Huang, J. Hypergraph contrastive collaborative filtering. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, 11–15 July 2022; pp. 70–79. [Google Scholar]
- Zou, D.; Wei, W.; Mao, X.L.; Wang, Z.; Qiu, M.; Zhu, F.; Cao, X. Multi-level cross-view contrastive learning for knowledge-aware recommender system. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, Madrid, Spain, 11–15 July 2022; pp. 1358–1368. [Google Scholar]
- Zhu, Y.; Xu, Y.; Yu, F.; Liu, Q.; Wu, S.; Wang, L. Graph contrastive learning with adaptive augmentation. In Proceedings of the Web Conference 2021, Ljubljana, Slovenia, 19–23 April 2021; pp. 2069–2080. [Google Scholar]
- Zhu, Y.; Xu, Y.; Yu, F.; Liu, Q.; Wu, S.; Wang, L. Deep graph contrastive representation learning. arXiv 2020, arXiv:2006.04131. [Google Scholar]
- Zhou, D.; Huang, J.; Schölkopf, B. Learning with hypergraphs: Clustering, classification, and embedding. Adv. Neural Inf. Process. Syst. 2006, 19, 1601–1608. [Google Scholar]
- Goodfellow, I.J.; Shlens, J.; Szegedy, C. Explaining and harnessing adversarial examples. arXiv 2014, arXiv:1412.6572. [Google Scholar]
- Zhang, P.; Guo, J.; Li, C.; Xie, Y.; Kim, J.B.; Zhang, Y.; Xie, X.; Wang, H.; Kim, S. Efficiently leveraging multi-level user intent for session-based recommendation via atten-mixer network. In Proceedings of the Sixteenth ACM International Conference on Web Search and Data Mining, Virtual, 27 February–3 March 2023; pp. 168–176. [Google Scholar]
Dataset | Tamll | Diginetica | RetailRocket |
---|---|---|---|
# of training sessions | 351,268 | 719,470 | 433,643 |
# of test sessions | 25,898 | 60,858 | 15,132 |
# of clicks | 818,479 | 982,961 | 1,331,815 |
# of items | 40,728 | 43,097 | 36,968 |
sparsity | 99.98% | 99.99% | 99.99% |
avg.len. | 6.69 | 5.12 | 5.43 |
Dataset | Metric | POP | Item-KNN | FPMC | GRU4REC | NARM | STAMP | FGNN | SR-GNN | DHCN | Atten-Mixer | BCHRec |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Tmall | P@10 | 1.67 | 6.65 | 13.10 | 9.47 | 19.17 | 22.63 | 20.67 | 23.41 | 25.14 | 31.79 | 32.02 * |
M@10 | 0.88 | 3.11 | 7.12 | 5.78 | 10.42 | 13.12 | 10.07 | 13.45 | 13.91 | 18.15 | 18.20 * | |
P@20 | 2.00 | 9.15 | 16.06 | 10.93 | 23.30 | 26.47 | 25.24 | 27.57 | 30.43 | 37.43 | 38.53 * | |
M@20 | 0.90 | 3.31 | 7.32 | 5.89 | 10.70 | 13.36 | 10.39 | 13.72 | 14.26 | 18.44 | 18.62 * | |
Diginetica | P@10 | 0.76 | 25.07 | 15.43 | 17.93 | 35.44 | 33.98 | 37.72 | 36.86 | 39.68 | 40.31 | 41.43 * |
M@10 | 0.26 | 10.77 | 6.20 | 7.33 | 15.13 | 14.26 | 15.95 | 15.52 | 17.42 | 17.04 | 18.07 * | |
P@20 | 0.89 | 35.75 | 26.53 | 29.45 | 49.70 | 45.64 | 50.58 | 50.73 | 52.99 | 54.37 | 54.93 * | |
M@20 | 0.20 | 11.57 | 6.95 | 8.33 | 16.17 | 14.32 | 16.84 | 17.59 | 18.34 | 18.14 | 18.86 * | |
RetailRocket | P@10 | 1.72 | 20.68 | 25.99 | 38.35 | 42.07 | 42.95 | 43.75 | 43.21 | 48.33 | 48.63 | 49.62 * |
M@10 | 0.69 | 4.29 | 13.38 | 23.27 | 24.88 | 24.61 | 26.11 | 26.07 | 28.59 | 27.95 | 29.67 * | |
P@20 | 1.97 | 10.23 | 32.37 | 44.01 | 50.22 | 50.96 | 50.99 | 50.32 | 56.00 | 56.66 | 57.73 * | |
M@20 | 0.75 | 4.56 | 13.82 | 23.67 | 24.59 | 25.17 | 26.21 | 26.57 | 29.11 | 28.52 | 30.26 * |
20% Tmall Dataset | ||||
method | P@10 | P@20 | M@10 | M@20 |
DHCN | 23.75 | 13.04 | 29.35 | 12.77 |
BCHRec | 31.42 | 17.83 | 37.69 | 17.33 |
20% Retailrocket Dataset | ||||
method | P@10 | P@20 | M@10 | M@20 |
DHCN | 47.06 | 27.56 | 55.23 | 28.31 |
BCHRec | 48.76 | 28.55 | 56.43 | 28.92 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, Z.; Wei, L. Bi-View Contrastive Learning with Hypergraph for Enhanced Session-Based Recommendation. Information 2025, 16, 267. https://doi.org/10.3390/info16040267
Wang Z, Wei L. Bi-View Contrastive Learning with Hypergraph for Enhanced Session-Based Recommendation. Information. 2025; 16(4):267. https://doi.org/10.3390/info16040267
Chicago/Turabian StyleWang, Zijun, and Lai Wei. 2025. "Bi-View Contrastive Learning with Hypergraph for Enhanced Session-Based Recommendation" Information 16, no. 4: 267. https://doi.org/10.3390/info16040267
APA StyleWang, Z., & Wei, L. (2025). Bi-View Contrastive Learning with Hypergraph for Enhanced Session-Based Recommendation. Information, 16(4), 267. https://doi.org/10.3390/info16040267