Open Access iconOpen Access

ARTICLE

crossmark

HMGS: Hierarchical Matching Graph Neural Network for Session-Based Recommendation

Pengfei Zhang1, Rui Xin1, Xing Xu1, Yuzhen Wang1, Xiaodong Li2, Xiao Zhang2, Meina Song2, Zhonghong Ou3,*

1 State Grid Hebei Information and Telecommunication Branch, Shijiazhuang, 050000, China
2 School of Computer Science (National Pilot Software Engineering School), Beijing University of Posts and Telecommunications, Beijing, 100876, China
3 State Key Laboratory of Networking and Switching Technology, Beijing University of Posts and Telecommunications, Beijing, 100876, China

* Corresponding Author: Zhonghong Ou. Email: email

Computers, Materials & Continua 2025, 83(3), 5413-5428. https://doi.org/10.32604/cmc.2025.062618

Abstract

Session-based recommendation systems (SBR) are pivotal in suggesting items by analyzing anonymized sequences of user interactions. Traditional methods, while competent, often fall short in two critical areas: they fail to address potential inter-session item transitions, which are behavioral dependencies that extend beyond individual session boundaries, and they rely on monolithic item aggregation to construct session representations. This approach does not capture the multi-scale and heterogeneous nature of user intent, leading to a decrease in modeling accuracy. To overcome these limitations, a novel approach called HMGS has been introduced. This system incorporates dual graph architectures to enhance the recommendation process. A global transition graph captures latent cross-session item dependencies, while a heterogeneous intra-session graph encodes multi-scale item embeddings through localized feature propagation. Additionally, a multi-tier graph matching mechanism aligns user preference signals across different granularities, significantly improving interest localization accuracy. Empirical validation on benchmark datasets (Tmall and Diginetica) confirms HMGS’s efficacy against state-of-the-art baselines. Quantitative analysis reveals performance gains of 20.54% and 12.63% in Precision@10 on Tmall and Diginetica, respectively. Consistent improvements are observed across auxiliary metrics, with MRR@10, Precision@20, and MRR@20 exhibiting enhancements between 4.00% and 21.36%, underscoring the framework’s robustness in multi-faceted recommendation scenarios.

Keywords

Session-based recommendation; graph network; multi-level matching

Cite This Article

APA Style
Zhang, P., Xin, R., Xu, X., Wang, Y., Li, X. et al. (2025). HMGS: Hierarchical Matching Graph Neural Network for Session-Based Recommendation. Computers, Materials & Continua, 83(3), 5413–5428. https://doi.org/10.32604/cmc.2025.062618
Vancouver Style
Zhang P, Xin R, Xu X, Wang Y, Li X, Zhang X, et al. HMGS: Hierarchical Matching Graph Neural Network for Session-Based Recommendation. Comput Mater Contin. 2025;83(3):5413–5428. https://doi.org/10.32604/cmc.2025.062618
IEEE Style
P. Zhang et al., “HMGS: Hierarchical Matching Graph Neural Network for Session-Based Recommendation,” Comput. Mater. Contin., vol. 83, no. 3, pp. 5413–5428, 2025. https://doi.org/10.32604/cmc.2025.062618



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 945

    View

  • 327

    Download

  • 0

    Like

Share Link