arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.00447cs.IR
收藏

TALLRec:一种有效且高效的调优框架,用于将大型语言模型与推荐对齐

TALLRec: An Effective and Efficient Tuning Framework to Align Large Language Model with Recommendation

Keqin Bao, Jizhi Zhang, Yang Zhang, Wenjie Wang, Fuli Feng, Xiangnan He

AI总结:

提出TALLRec框架,通过调优大型语言模型与推荐数据对齐,在少量样本下显著提升电影和图书推荐性能,并支持高效训练与跨领域泛化。

摘要:

大型语言模型(LLMs)在多个领域展示了卓越的性能,从而促使研究人员探索其在推荐系统中的潜在应用。初步尝试利用了LLMs的非凡能力,如丰富的知识和通过上下文学习实现的强大泛化能力,这涉及将推荐任务表述为提示。然而,由于LLM训练任务与推荐任务之间存在显著差异,以及预训练期间推荐数据不足,LLMs在推荐任务中的性能仍然次优。为了弥合这一差距,我们考虑通过使用推荐数据调优LLMs来构建一个大型推荐语言模型。为此,我们提出了一种高效且有效的调优框架,用于将LLMs与推荐对齐,即TALLRec。我们证明了所提出的TALLRec框架可以显著增强LLMs在电影和图书领域的推荐能力,即使在少于100个样本的有限数据集上也是如此。此外,所提出的框架非常高效,可以在单个RTX 3090上运行LLaMA-7B。进一步地,微调后的LLM表现出强大的跨领域泛化能力。我们的代码和数据可在https://github.com/SAI990323/TALLRec获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑