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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RecRanker: Instruction Tuning Large Language Model as Ranker for Top-k Recommendation

Yanlin Qi, Linqi Song, Sichun Luo, Aojun Zhou et al.
11 citations
ACM Transactions on Information Systems
Recommender Systems and Techniques
8.57
article

RecRanker: Instruction Tuning Large Language Model as Ranker for Top-k Recommendation

Yanlin Qi, Linqi Song, Sichun Luo, Aojun Zhou, Yinya Huang, Yuanzhang Xiao, Zongpeng Li, Mingjie Zhan, Wei Shao, Bowei He, Yuxuan Yao, Haohan Zhao
article en
11 citations

Abstract

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

ACM Transactions on Information SystemsVol. 43(5)
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)
Quality Education
Openalex Percentile: Top 2%
Recommender Systems and Techniques
8.57
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.