Large Language Models (LLMs) have demonstrated remarkable performance across diverse domains, thereby prompting researchers to explore their potential for use in recommendation systems. Initial attempts have leveraged the exceptional capabilities of LLMs, such as rich knowledge and strong generalization through In-context Learning, which involves phrasing the recommendation task as prompts. Nevertheless, the performance of LLMs in recommendation tasks remains suboptimal due to a substantial disparity between the training tasks for LLMs and recommendation tasks, as well as inadequate recommendation data during pre-training. To bridge the gap, we consider building a Large Recommendation Language Model by tunning LLMs with recommendation data. To this end, we propose an efficient and effective Tuning framework for Aligning LLMs with Recommendation, namely TALLRec. We have demonstrated that the proposed TALLRec framework can significantly enhance the recommendation capabilities of LLMs in the movie and book domains, even with a limited dataset of fewer than 100 samples. Additionally, the proposed framework is highly efficient and can be executed on a single RTX 3090 with LLaMA-7B. Furthermore, the fine-tuned LLM exhibits robust cross-domain generalization. Our code and data are available at https://github.com/SAI990323/TALLRec.
翻译:大语言模型(LLM)在各个领域展示了优异的性能,促使研究人员探索了它们在推荐系统中的潜力。初步尝试利用LLM的优异能力,如通过上下文学习丰富的知识和强大的泛化,其中涉及将推荐任务构建为提示。尽管如此,由于LLM的训练任务和推荐任务之间存在较大的差异,以及在预训练期间缺乏推荐数据,LLM在推荐任务中的性能仍然不够优秀。为了弥补这一差距,我们考虑通过使用推荐数据来调整LLM,从而构建大型推荐语言模型。为此,我们提出了一种高效而有效的调整框架,即TALLRec,用于将LLM与推荐任务对齐。我们证明了所提出的TALLRec框架可以显著提高LLM在电影和图书领域的推荐能力,即使只有少于100个样本的有限数据集。此外,所提出的框架非常高效,可以在单个RTX 3090中执行LLaMA-7B。此外,调整后的LLM表现出强大的跨领域泛化能力。我们的代码和数据可在https://github.com/SAI990323/TALLRec上获得。