电商场景下融合语义信息与对比学习的协同过滤推荐方法
A Collaborative Recommendation Filtering Method Integrating Semantic Information and Contrastive Learning in E-Commerce Scenarios
摘要: 针对电商场景中用户–物品交互数据稀疏、协同过滤模型难以刻画物品语义内涵的问题,本文提出一种融合大语言模型语义增强与对比对齐机制的推荐模型LLMRec。该模型以LightGCN为基础框架,引入预训练语言模型生成的物品语义嵌入,并设计Top-p Gate融合机制对语义特征进行自适应激活,同时构建对比学习约束协同嵌入与语义嵌入之间的一致性。实验结果表明,在Amazon Books数据集上,LLMRec在Recall@20与NDCG@50指标上取得较优结果,其中对比对齐模块更倾向于改善更深排序范围内的整体排序结构(NDCG@50),而语义增强模块更偏向于提升Top-K精排阶段的相关性表现。上述结果体现了两模块在不同排序深度上的互补作用,并表明该框架在电商推荐场景中具有一定的应用潜力。
Abstract: In e-commerce scenarios, user-item interaction data are usually sparse, making it difficult for conventional collaborative filtering models to effectively capture the semantic characteristics of items. To address this issue, this paper proposes a recommendation model named LLMRec, which integrates large language model-based semantic enhancement with a contrastive alignment mechanism. Built upon the LightGCN framework, LLMRec incorporates semantic embeddings generated by a pretrained language model to enrich item representations. A Top-p Gate fusion mechanism is further designed to adaptively activate semantic features, while a contrastive learning objective is introduced to enforce representation consistency between collaborative embeddings and semantic embeddings. Experimental results on the Amazon Books dataset demonstrate that LLMRec achieves superior performance in terms of Recall@20 and NDCG@50. Specifically, the contrastive alignment module tends to improve the overall ranking structure in deeper ranking ranges (NDCG@50), whereas the semantic enhancement module mainly contributes to the relevance performance in the Top-K refinement stage. These results indicate the complementary effects of the two modules at different ranking depths and suggest that the proposed framework has promising potential for e-commerce recommendation scenarios.
文章引用:程实, 朱子涵, 张圣琪, 成耀. 电商场景下融合语义信息与对比学习的协同过滤推荐方法[J]. 电子商务评论, 2026, 15(5): 703-711. https://doi.org/10.12677/ecl.2026.155568

参考文献

[1] Lee, S., Ahn, J. and Kim, N. (2024) Embedding Enhancement Method for LightGCN in Recommendation Information Systems. Electronics, 13, Article 2282. [Google Scholar] [CrossRef
[2] Koohi, H., Kobti, Z., Farzi, T. and Mahmodi, E. (2024) UDIS: Enhancing Collaborative Filtering with Fusion of Dimensionality Reduction and Semantic Similarity. Electronics, 13, Article 4073. [Google Scholar] [CrossRef
[3] Cao, Z., Cheng, M., Zhang, X. and Zhang, D. (2025) Hierarchical Heterogeneous Graph Convolution Network and Improved LightGCN for Service Recommendation. The Journal of Supercomputing, 81, Article No. 1552. [Google Scholar] [CrossRef
[4] 成耀, 张铎, 周宇, 何金凤, 程实. 基于模糊聚类的电商企业不平衡财务数据风险预测方法[J]. 电子商务评论, 2025, 14(1): 640-647.
[5] Dou, W., Shen, D., Zhou, X., Kou, Y., Nie, T., Cui, H., et al. (2026) Weakly-Supervised Entity Matching via Llm-Guided Data Augmentation and Knowledge Transfer. Knowledge-Based Systems, 335, Article 115238. [Google Scholar] [CrossRef
[6] Yang, S., Jing, M., Wang, S., Wang, J., Xing, W., Hu, Y., et al. (2025) Exploring LLM-Based Generative Recommender Systems: Corpora, Customization, and Evaluation Insights. Innovation in Aging, 9, igaf122.2248. [Google Scholar] [CrossRef
[7] Zhao, H., Xiang, Z., Wu, L. and Guo, Y. (2026) Beyond Popularity Bias in E-Commerce: Aligning Collaborative Knowledge with Large Language Models via Causal Intervention for Robust Recommendations. Decision Support Systems, 202, Article 114599. [Google Scholar] [CrossRef
[8] Li, Y., Yang, Q., Yu, L., Tian, S. and Fan, X. (2026) Robust Graph Contrastive Learning for Recommender Systems: Addressing Data Sparsity and Noise. Information Systems, 136, Article 102625. [Google Scholar] [CrossRef
[9] Kang, G., Chen, Z., Wang, Y., Liu, J., Xiao, Y. and Shi, M. (2025) Feature-Enhanced Web API Recommendation via Large Language Model and Heterogeneous Graph. Service Oriented Computing and Applications, 2025, 1-15. [Google Scholar] [CrossRef
[10] Li, Y., Li, C., Jia, C., Zu, B. and Wang, H. (2025) Contrastive Learning of Adaptive Social Information Fusion for Recommender Systems. Neurocomputing, 648, Article 130654. [Google Scholar] [CrossRef
[11] Forouzandeh, S., Krivitsky, P.N. and Chandra, R. (2025) Multiview Graph Dual-Attention Deep Learning and Contrastive Learning for Multi-Criteria Recommender Systems. Expert Systems with Applications, 291, Article 128378. [Google Scholar] [CrossRef
[12] Li, D., Lu, J., Wang, Z., Wang, J., Wang, X., Shi, F., et al. (2025) Recommender System Based on Noise Enhancement and Multi-View Graph Contrastive Learning. Applied Soft Computing, 177, Article 113220. [Google Scholar] [CrossRef
[13] 吴荞睿, 罗丽, 赵才荣. 基于循环一致性约束的LLM增强型语言模型训练框架[J/OL]. 计算机科学: 1-10.
https://link.cnki.net/urlid/50.1075.TP.20250717.1432.008, 2026-02-08.
[14] 韩滕跃. 基于多模态信息的推荐算法研究[D]: [博士学位论文]. 北京: 北京邮电大学, 2023.
[15] 张洪磊, 李浥东, 邬俊, 等. 基于隐私保护的联邦推荐算法综述[J]. 自动化学报, 2022, 48(9): 2142-2163.