知识图谱与大语言模型的语义增强推荐方法
A Semantic-Enhanced Recommendation Method Integrating Knowledge Graphs and Large Language Models
摘要: 针对传统知识图谱推荐方法在异构知识融合困难、局部语义挖掘不足和复杂关联关系建模能力有限等问题,提出一种知识图谱与大语言模型的语义增强推荐方法LLM-KGRec。首先,利用大语言模型对多源异构知识图谱进行语义标准化,统一实体表达与关系表示。其次,围绕候选物品构建局部知识子图,并借助大语言模型挖掘局部知识的深层语义信息。进一步,引入全局跨源语义检索机制,补充候选物品的外部语义上下文。最后,融合交互特征、知识图谱结构特征与多粒度语义特征,实现推荐预测。实验表明,所提方法在多个公开数据集上的NDCG@10, Recall@10等指标均优于对比模型,在数据稀疏和复杂语义场景下表现出较好的鲁棒性与泛化能力。
Abstract: To address the limitations of traditional knowledge graph-based recommendation methods in heterogeneous knowledge fusion, local semantic mining, and complex relational modeling, a semantic-enhanced recommendation method integrating knowledge graphs and large language models, named LLM-KGRec, is proposed. First, a large language model is employed to perform semantic standardization on multi-source heterogeneous knowledge graphs, so as to unify entity expressions and relation representations. Second, local knowledge subgraphs are constructed around candidate items, and the large language model is used to capture the deep semantic information embedded in local structures. Furthermore, a global cross-source semantic retrieval mechanism is introduced to supplement external semantic context for candidate items. Finally, interaction features, structural features of the knowledge graph, and multi-granularity semantic features are fused to achieve recommendation prediction. Experimental results on multiple public datasets show that the proposed method outperforms baseline models in terms of NDCG@10, Recall@10, and other evaluation metrics, and demonstrates better robustness and generalization ability in sparse-data, cold-start, and complex semantic scenarios.
文章引用:顾凯, 苗秀琪, 陆明航. 知识图谱与大语言模型的语义增强推荐方法[J]. 软件工程与应用, 2026, 15(2): 254-266. https://doi.org/10.12677/sea.2026.152024

参考文献

[1] Li, Y., Liu, K., Satapathy, R., Wang, S. and Cambria, E. (2024) Recent Developments in Recommender Systems: A Survey [Review Article]. IEEE Computational Intelligence Magazine, 19, 78-95. [Google Scholar] [CrossRef
[2] Gheewala, S., Xu, S. and Yeom, S. (2025) In-Depth Survey: Deep Learning in Recommender Systems—Exploring Prediction and Ranking Models, Datasets, Feature Analysis, and Emerging Trends. Neural Computing and Applications, 37, 10875-10947. [Google Scholar] [CrossRef
[3] Zhang, J., Zain, A.M., Zhou, K., Chen, X. and Zhang, R. (2024) A Review of Recommender Systems Based on Knowledge Graph Embedding. Expert Systems with Applications, 250, Article ID: 123876. [Google Scholar] [CrossRef
[4] Zhang, Y. and Gu, X. (2024) Enhancing User and Item Representation with Collaborative Signals for KG-Based Recommendation. Neural Computing and Applications, 36, 6681-6699. [Google Scholar] [CrossRef
[5] Wu, L., Zheng, Z., Qiu, Z., Wang, H., Gu, H., Shen, T., et al. (2024) A Survey on Large Language Models for Recommendation. World Wide Web, 27, Article No. 60. [Google Scholar] [CrossRef
[6] Spillo, G., Musto, C., Mannavola, M., de Gemmis, M., Lops, P. and Semeraro, G. (2025) GAL-KARS: Exploiting LLMs for Graph Augmentation in Knowledge-Aware Recommender Systems. Proceedings of the 33rd ACM Conference on User Modeling, Adaptation and Personalization, New York, 16-19 June 2025, 73-82. [Google Scholar] [CrossRef
[7] Xi, Y., Liu, W., Lin, J., Cai, X., Zhu, H., Zhu, J., et al. (2024) Towards Open-World Recommendation with Knowledge Augmentation from Large Language Models. 18th ACM Conference on Recommender Systems, Bari, 14-18 October 2024, 12-22. [Google Scholar] [CrossRef
[8] Di Palma, D. (2023) Retrieval-Augmented Recommender System: Enhancing Recommender Systems with Large Language Models. Proceedings of the 17th ACM Conference on Recommender Systems, Singapore, 18-22 September 2023, 1369-1373. [Google Scholar] [CrossRef
[9] Rendle, S., Freudenthaler, C., Gantner, Z. and Schmidt-Thieme, L. (2009) BPR: Bayesian Personalized Ranking from Implicit Feedback. Proceedings of the 25th Conference on Uncertainty in Artificial Intelligence, Montreal, 18-21 June 2009, 452-461.
[10] Harper, F.M. and Konstan, J.A. (2015) The MovieLens Datasets: History and Context. ACM Transactions on Interactive Intelligent Systems, 5, 1-19. [Google Scholar] [CrossRef
[11] Devika, P. and Milton, A. (2024) Book Recommendation System: Reviewing Different Techniques and Approaches. International Journal on Digital Libraries, 25, 803-824. [Google Scholar] [CrossRef
[12] He, X., Deng, K., Wang, X., Li, Y., Zhang, Y. and Wang, M. (2020) LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation. Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval, 25-30 July 2020, 639-648. [Google Scholar] [CrossRef
[13] Zhang, F., Yuan, N.J., Lian, D., Xie, X. and Ma, W. (2016) Collaborative Knowledge Base Embedding for Recommender Systems. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, 13-17 August 2016, 353-362. [Google Scholar] [CrossRef
[14] Wang, X., He, X., Cao, Y., Liu, M. and Chua, T. (2019) KGAT: Knowledge Graph Attention Network for Recom-mendation. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, 4-8 August 2019, 950-958. [Google Scholar] [CrossRef
[15] Wang, X., Huang, T., Wang, D., Yuan, Y., Liu, Z., He, X., et al. (2021) Learning Intents behind Interactions with Knowledge Graph for Recommendation. Proceedings of the Web Conference 2021, Ljubljana, 19-23 April 2021, 878-887. [Google Scholar] [CrossRef