Submitted:
27 September 2025
Posted:
28 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Work
3. Methodology
- 1)
- LLaMA-based Semantic Retriever for candidate generation;
- 2)
- Transformer-XL Long-Sequence Encoder with graph-enhanced item transitions;
- 3)
- Fine-Grained Interest Module inspired by Deep Interest Network (DIN);
- 4)
- Multi-Head Cross-Attention Reranker.
3.1. Semantic Candidate Generation with LLaMA-2-7B
3.2. Long-Sequence Session Encoder
3.3. Fine-Grained Interest Modeling with DIN
- : candidate item embedding
- MLP_DIN = [256 → 128 → 1]
3.4. Multi-Head Cross-Attention Reranking
3.5. Loss Function
3.5.1. Final Loss Aggregation
3.6. Data Preprocessing
- Learnable ID embedding
- One-hot categorical feature
- These are combined via a two-layer MLP:
3.7. Experiment Results
3.7.1. Ablation Study
4. Conclusion
References
- L. Wu, Z. Zheng, Z. Qiu, H. Wang, H. Gu, T. Shen, C. Qin, C. Zhu, H. Zhu, Q. Liu et al., “A survey on large language models for recommendation,” World Wide Web, vol. 27, no. 5, p. 60, 2024.
- L. Li, Y. Zhang, D. Liu, and L. Chen, “Large language models for generative recommendation: A survey and visionary discussions,” arXiv preprint arXiv:2309.01157, 2023.
- C. Li, H. Hu, Y. Zhang, M.-Y. Kan, and H. Li, “A conversation is worth a thousand recommendations: A survey of holistic conversational recommender systems,” arXiv preprint arXiv:2309.07682, 2023.
- L. Zhang, C. Li, Y. Lei, Z. Sun, and G. Liu, “An empirical analysis on multi-turn conversational recommender systems,” in Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, 2024, pp. 841–851.
- D. Yang, F. Chen, and H. Fang, “Behavior alignment: a new perspective of evaluating llm-based conversational recommendation systems,” in Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, 2024, pp. 2286–2290.
- H. He, X. Yang, F. Huang, F. Yi, and S. Liang, “Gat4rec: Sequential recommendation with a gated recurrent unit and transformers,” Mathematics, vol. 12, no. 14, p. 2189, 2024. [CrossRef]
- S. Li, R. Xie, Y. Zhu, X. Ao, F. Zhuang, and Q. He, “User-centric conversational recommendation with multi-aspect user modeling,” in Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, 2022, pp. 223–233.
- X. Wang, K. Zhou, J.-R. Wen, and W. X. Zhao, “Towards unified conversational recommender systems via knowledge-enhanced prompt learning,” in Proceedings of the 28th ACM SIGKDD conference on knowledge discovery and data mining, 2022, pp. 1929–1937.
- J. Ferrando, G. Sarti, A. Bisazza, and M. R. Costa-Jussà, “A primer on the inner workings of transformer-based language models,” arXiv preprint arXiv:2405.00208, 2024.
- R. Thoppilan, D. De Freitas, J. Hall, N. Shazeer, A. Kulshreshtha, H.-T. Cheng, A. Jin, T. Bos, L. Baker, Y. Du et al., “Lamda: Language models for dialog applications,” arXiv preprint arXiv:2201.08239, 2022.






| Model | Recall@20 | NDCG@20 | MRR | AUC |
|---|---|---|---|---|
| Popularity Baseline | 0.108 | 0.056 | 0.037 | 0.624 |
| GRU4Rec | 0.248 | 0.139 | 0.099 | 0.712 |
| Transformer-XL Rec | 0.271 | 0.157 | 0.113 | 0.731 |
| RecAgent-LLaMA (Full) | 0.324 | 0.203 | 0.145 | 0.784 |
| Variant | Recall@20 | NDCG@20 | MRR |
|---|---|---|---|
| w/o LLaMA Retriever | 0.286 | 0.174 | 0.121 |
| w/o DIN Module | 0.294 | 0.179 | 0.127 |
| w/o GAT Session Graph | 0.302 | 0.185 | 0.134 |
| Full Model | 0.324 | 0.203 | 0.145 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).