  Large language models (LLMs) have demonstrated remarkable capabilities and
have been extensively deployed across various domains, including recommender
systems. Numerous studies have employed specialized \textit{prompts} to harness
the in-context learning capabilities intrinsic to LLMs. For example, LLMs are
prompted to act as zero-shot rankers for listwise ranking, evaluating candidate
items generated by a retrieval model for recommendation. Recent research
further uses instruction tuning techniques to align LLM with human preference
for more promising recommendations. Despite its potential, current research
overlooks the integration of multiple ranking tasks to enhance model
performance. Moreover, the signal from the conventional recommendation model is
not integrated into the LLM, limiting the current system performance.
  In this paper, we introduce RecRanker, tailored for instruction tuning LLM to
serve as the \textbf{Ranker} for top-\textit{k} \textbf{Rec}ommendations.
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
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
prompt 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.
