作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2026, Vol. 52 ›› Issue (10): 94-105. doi: 10.19678/j.issn.1000-3428.0252002

• 计算智能与模式识别 • 上一篇    

SECRS:基于语义增强的对话推荐系统

刘春, 王汝婷, 林泓   

  1. 武汉理工大学计算机与人工智能学院, 湖北 武汉 430070
  • 收稿日期:2025-01-02 修回日期:2025-03-18 发布日期:2026-09-29
  • 作者简介:刘春,女,讲师、博士,主研方向为数据挖掘、机器学习;王汝婷,硕士研究生;林泓(通信作者),副教授,E-mail:linhong@whut.edu.cn。

SECRS: Semantic Enhanced Conversational Recommender System

LIU Chun, WANG Ruting, LIN Hong   

  1. School of Computer Science and Artificial Intelligence, Wuhan University of Technology, Wuhan 430070, Hubei, China
  • Received:2025-01-02 Revised:2025-03-18 Published:2026-09-29

摘要: 对话推荐系统(CRS)根据用户的多轮交互提供个性化的推荐,在电子商务和电影咨询等领域具有广阔的应用前景。然而现有工作未针对性地提取实际对话中项目间的关联信息,同时在语义融合时未考虑单词与实体共存情况的权重分配,导致系统不能全面提取对话文本所反映的语义信息,进而影响系统的对话生成能力与个性化推荐能力。因此,本文提出一种基于语义增强的对话推荐系统(SECRS),构建可调优的提示来指示预训练语言模型DialoGPT完成对话推荐任务。首先提出会话增强的项目嵌入提取方法,利用图神经网络挖掘实际对话中项目间的转承和共现关系来增强项目的语义。其次提出自适应的语义融合方法,将会话增强的项目嵌入与实体嵌入进行加权相加,再通过独立映射与联合融合的方式将会话增强前后的实体嵌入分别与单词嵌入进行融合,构成对话任务和推荐任务中语义增强的提示,从而提升系统的语言表达能力和个性化推荐能力。在两个数据集上的实验结果表明,SECRS优于多数主流的对话推荐系统,与基线UniCRS相比,SECRS在ReDIAL数据集上的Recall@10指标提高8.33%,Distinct-4指标提高45.15%。对比实验与消融实验的结果表明,SECRS能生成更精确的推荐结果及语言更丰富的回复。

关键词: 对话推荐, 语义融合, 提示学习, 预训练语言模型, 图神经网络

Abstract: Conversational Recommender System (CRS) can provide personalized recommendations through multi-round user interactions. It has broad application prospects in fields such as e-commerce and movie consultation. However, existing studies neither specifically extract the association information between items in actual dialogues nor consider the weight distribution when words and entities coexist. This results in the inability of the system to comprehensively extract the semantic information reflected in the conversation text and consequently affects its ability to generate fluent responses and personalized recommendations. To address these limitations, this study proposes Semantic Enhanced Conversational Recommender System (SECRS), which tunes the pretrained language model DialoGPT with tunable prompts to perform conversational recommendation tasks. First, this study develops a session-enhanced item extraction method using graph neural networks to enhance the semantic information of item-level entities, which mines the transitivity and co-occurrence relations among items. Second, it introduces an adaptive semantic fusion method, which weighs session-enhanced item embeddings and entity embeddings, then fuses the entity embeddings before and after session enhancement with the word embeddings by independent mapping and joint fusion, respectively, to constitute the semantic-enhanced prompts in the conversational task and recommendation task. These methods improve the linguistic expressions and personalized recommendation capabilities of the system. The experimental results on two datasets show that SECRS outperforms the mainstream CRSs. Compared with the baseline model UniCRS, SECRS achieves an 8.33% increase in Recall@10 and a 45.15% improvement in Distinct-4 on the ReDIAL dataset. Comparison and ablation experiments demonstrate that the SECRS can generate responses with more satisfying recommendations and a more diverse language.

Key words: conversational recommendation, semantic fusion, prompt learning, pretrained language model, graph neural networks

中图分类号: