运筹与管理 ›› 2025, Vol. 34 ›› Issue (9): 17-24.DOI: 10.12005/orms.2025.0270

• 理论分析与方法探讨 • 上一篇    下一篇

基于多属性感知图神经网络的会话推荐方法研究

梁雨欣, 甘明鑫, 张雄涛   

  1. 北京科技大学 经济管理学院,北京 100083
  • 收稿日期:2023-05-24 出版日期:2025-09-25 发布日期:2026-01-19
  • 通讯作者: 甘明鑫(1978-),女,北京人,博士,教授,研究方向:智能信息推荐,社交媒体计算。Email: ganmx@ustb.edu.cn。
  • 作者简介:梁雨欣(2001-),女,山西阳泉人,硕士,研究方向:智能信息推荐。
  • 基金资助:
    国家自然科学基金资助项目(72271024,71871019)

Research on Session-based Recommendation Method with Multi-attribute-aware Graph Neural Network

LIANG Yuxin, GAN Mingxin, ZHANG Xiongtao   

  1. School of Economics and Management, University of Science and Technology Beijing, Beijing 100083, China
  • Received:2023-05-24 Online:2025-09-25 Published:2026-01-19

摘要: 图神经网络具备建模项目间复杂转移关系的优势,在会话推荐领域被广泛应用。然而,现有基于图神经网络的会话推荐方法在学习项目间转移关系时大多忽略项目的属性信息,导致会话兴趣难以得到充分表示。考虑到项目属性信息对会话兴趣建模具有辅助作用,提出一种基于多属性感知图神经网络的会话推荐方法。首先,基于多头自注意力机制对属性关联进行建模,优化所有属性表示。其次,设计一种属性感知的图神经网络对项目转移关系进行学习,以综合多属性信息更充分建模项目表示。最后,采用软注意力机制对会话中的项目表示进行整合,以获取用于会话推荐的多属性感知会话兴趣表示。实验采用来自Cosmetics网站的两个公开基准数据集对所提方法的有效性和合理性进行验证。实验结果表明:与当前多种主流会话推荐方法相比,所提方法在多项评价指标上均表现出较优的推荐性能。

关键词: 多属性信息, 属性关联, 会话推荐, 图神经网络, 注意力机制

Abstract: In the era of the Internet information explosion, the efficiency of information acquisition has dropped sharply, which leads to an issue of information overload. In this context, how to support users to obtain valuable information from massive data has become a hot social concern. Recommender systems, as one type of decision support systems, effectively alleviate the information overload problem and have been widely used in online service platforms, such as social medias, e-commerce websites, and so on. However, conventional recommendation methods rely on users’ long-term historical behaviors, which leads to the fact that the recommendation performance suffers when users’ identity information and historical behaviors are unavailable. To overcome this limitation, session-based recommendation models users’ short-term interests in real-time and analyzes the current session sequences based on incomplete user information to provide dynamic recommendation. Hence, session-based recommendation has come to be popular now.
Since they have the advantage of modeling complex transitions among items, graph neural networks have been a hot technology in the session-based recommendation. However, existing studies have largely ignored the attribute information of items when learning item transitions, which results in inadequate session interest representation. Considering that category information is informative in understanding users’ session interests, some studies have combined category information to enrich item transitions and showed effective session-based recommendation performance. However, category information is only one type of item attributes;multi-attributes(e.g., brand, price) of items are not explored effectively in learning item transitions, resulting in inadequate representation of the session interest.
To this end, we propose a novel graph neural network named multi-attribute-aware graph neural network, short for MASR, for session-based recommendation. First, MASR models the attribute association with the multi-head self-attention mechanism to optimize the representations of all attributes. And then, an attribute-aware graph neural network is designed to learn item transitions in the session, which effectively improves item representations by synthesizing the multi-attribute information. Finally, the soft attention mechanism is used to integrate item representations in the session to fully obtain the multi-attribute-aware session representation to provide recommendation.
To validate the effectiveness and rationality of the proposed method, we perform a series of experiments on two publicly available benchmark datasets obtained from the Cosmetics site. The results of two ablation experiments confirm the effectiveness of considering both attribute association and multi-attribute information in item transitions. Based on our parametric experiments, we have determined that the optimal number of layers for the attribute-aware graph neural network on both datasets is 2. In addition, we conduct comparative experiments between MASR and four popular session-based recommendation models. The results of the experiment confirm the proposed method outperforms other mainstream models in terms of Precision, Hit Rate (HR), and Mean Reciprocal Rank (MRR) on both datasets. Specifically, our method achieves about 20% and 2% improvement in terms of MRR for two datasets.
Despite demonstrating superior performance in the session-based recommendation, the proposed method has certain limitations. Specifically, our method only concentrates on item transitions within the current session and has not yet effectively addressed item transitions across sessions. Therefore, it may lead to limited performance of the session-based recommendation when the length of a session is limited. In the future research, we will combine multi-attribute information with item transitions across sessions to further improve the performance of session-based recommendation.

Key words: multi-attribute information, attribute association, session-based recommendation, graph neural network, attention mechanism

中图分类号: