RecRanker: Instruction Tuning Large Language Model as Ranker for Top-k Recommendation
Large language models (LLMs) have demonstrated remarkable capabilities and have been extensively deployed across various domains, including recommender systems. Prior research has employed specialized prompts to leverage the in-context learning capabilities of LLMs for recommendation purposes. More recent studies have utilized instruction tuning techniques to align LLMs with human preferences, promising more effective recommendations. However, existing methods suffer from several limitations. The full potential of LLMs is not fully elicited due to low-quality tuning data and the overlooked integration of conventional recommender signals. Furthermore, LLMs may generate inconsistent responses for different ranking tasks in the recommendation, potentially leading to unreliable results. In this article, we introduce Ranker for top- k Recommendations (RecRanker), tailored for instruction tuning LLMs to serve as the Ranker for top- k Recommendations. Specifically, we introduce importance-aware sampling, clustering-based sampling, and penalty for repetitive sampling for sampling high-quality, representative, and diverse training data. To enhance the prompt, we introduce a position shifting strategy to mitigate position bias and augment the prompt with auxiliary information from conventional recommendation models, thereby enriching the contextual understanding of the LLM. Subsequently, we utilize the sampled data to assemble an instruction-tuning dataset with the augmented prompts comprising three distinct ranking tasks: pointwise, pairwise, and listwise rankings. We further propose a hybrid ranking method to enhance the model performance by ensembling these ranking tasks. Our empirical evaluations demonstrate the effectiveness of our proposed RecRanker in both direct and sequential recommendation scenarios. 1
Authors
- Yanlin Qi (ORCID: https://orcid.org/0000-0002-5482-3593)
- Linqi Song (ORCID: https://orcid.org/0000-0003-2756-4984)
- Sichun Luo (ORCID: https://orcid.org/0000-0001-8753-9137)
- Aojun Zhou (ORCID: https://orcid.org/0000-0002-4742-8624)
- Yinya Huang (ORCID: https://orcid.org/0000-0002-0686-0832)
- Yuanzhang Xiao (ORCID: https://orcid.org/0000-0002-5821-8569)
- Zongpeng Li (ORCID: https://orcid.org/0000-0001-5351-2075)
- Mingjie Zhan
- Wei Shao (ORCID: https://orcid.org/0000-0001-7531-1055)
- Bowei He (ORCID: https://orcid.org/0000-0002-0360-2950)
- Yuxuan Yao (ORCID: https://orcid.org/0009-0009-3955-7272)
- Haohan Zhao (ORCID: https://orcid.org/0009-0003-6084-1522)
Institutions
- University of Hawaiʻi at Mānoa (US)
- Xidian University (CN)
- City University of Hong Kong (HK)
- Chinese University of Hong Kong (HK)
- Chinese Academy of Sciences (CN)
- Harbin Institute of Technology (CN)
- City University of Hong Kong, Shenzhen Research Institute (CN)
- Group Sense (China) (CN)
- Hong Kong Academy of Medicine (CN)
Publication Details
- Journal
- ACM Transactions on Information Systems
- Published
- 2024-11-29
- DOI
- https://doi.org/10.1145/3705728
- Citations
- 11
- Primary Topic
- Recommender Systems and Techniques
- Type
- article
- Field-Weighted Citation Impact
- 8.57