Enhancing Large Language Models with Multi-Type Collaborative Semantics for Recommendation
DOI:
https://doi.org/10.54097/98xf9220Keywords:
Recommender Systems, Large Language Models, Heterogeneous Graphs, Collaborative Filtering.Abstract
Recommender systems play an essential role in helping users discover relevant content on digital platforms. Traditional collaborative‑filtering approaches focus on user–item interactions and often ignore additional semantic signals such as tags or categories. Recently, large language models (LLMs) have demonstrated strong ability to interpret textual information, but current LLM‑based recommenders either concentrate solely on text or rely on hand‑crafted prompts. This paper presents a unified framework that integrates heterogeneous graph neural networks with LLMs to capture multi‑type relations among users, items, tags and categories. The study employs a heterogeneous graph encoder (HGT) to learn collaborative embeddings, align these embeddings to the LLM token space, and construct structured prompts that incorporate both graph and textual information. Experiments on MovieLens‑1M and Amazon Beauty datasets show that the proposed model improves area under the curve (AUC) and normalized discounted cumulative gain (NDCG) over both traditional and recent LLM‑based baselines. The results suggest that combining graph structure with language understanding leads to more accurate and interpretable recommendations.
References
[1] Hu, Z., Dong, Y., Wang, K., & Sun, Y. (2020, April). Heterogeneous graph transformers. In Proceedings of the web conference 2020 (pp. 2704-2710).
[2] Dai, S., Shao, N., Zhao, H., Yu, W., Si, Z., Xu, C., ... & Xu, J. (2023, September). Uncovering chatgpt’s capabilities in recommender systems. In Proceedings of the 17th ACM Conference on Recommender Systems (pp. 1126-1132).
[3] Koren, Y., Bell, R., & Volinsky, C. (2009). Matrix factorization techniques for recommender systems. Computer, 42(8), 30-37.
[4] He, X., Deng, K., Wang, X., Li, Y., Zhang, Y., & Wang, M. (2020, July). Lightgcn: Simplifying and powering graph convolution network for recommendation. In Proceedings of the 43rd International ACM SIGIR conference on research and development in Information Retrieval (pp. 639-648).
[5] Kang, W. C., & McAuley, J. (2018, November). Self-attentive sequential recommendation. In 2018 IEEE international conference on data mining (ICDM) (pp. 197-206). IEEE.
[6] Zhao, Z., Fan, W., Li, J., Liu, Y., Mei, X., Wang, Y., ... & Li, Q. (2024). Recommender systems in the era of large language models (llms). IEEE Transactions on Knowledge and Data Engineering, 36(11), 6889-6907.
[7] Acharya, A., Singh, B., & Onoe, N. (2023, September). Llm based generation of item-description for recommendation system. In Proceedings of the 17th ACM conference on recommended systems (pp. 1204-1207).
[8] Zhang, J., Xie, R., Hou, Y., Zhao, X., Lin, L., & Wen, J. R. (2023). Recommendation as instruction following: A large language model empowered recommendation approach. ACM Transactions on Information Systems.
[9] Zhang, Y., Feng, F., Zhang, J., Bao, K., Wang, Q., & He, X. (2025). Collm: Integrating collaborative embeddings into large language models for recommendation. IEEE Transactions on Knowledge and Data Engineering.
[10] Zheng, B., Hou, Y., Lu, H., Chen, Y., Zhao, W. X., Chen, M., & Wen, J. R. (2024, May). Adapting large language models by integrating collaborative semantics for recommendation. In 2024 IEEE 40th International Conference on Data Engineering (ICDE) (pp. 1435-1448). IEEE
[11] Zhang, J., Hou, Y., Xie, R., Sun, W., McAuley, J., Zhao, W. X., ... & Wen, J. R. (2024, May). Agentcf: Collaborative learning with autonomous language agents for recommender systems. In Proceedings of the ACM Web Conference 2024 (pp. 3679-3689).
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







