arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.23136cs.IR
收藏

基于定制化上下文学习的大语言模型推荐系统实时个性化方法

Real-Time Personalization for LLM-based Recommendation with Customized In-Context Learning

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

AI总结:

针对大语言模型推荐系统更新成本高、现有方案微调后易丧失上下文学习能力的问题,提出RecICL框架,通过定制推荐专属上下文学习实现无需模型更新的实时个性化推荐,实验验证了其有效性。

摘要:

传统推荐系统可通过频繁更新适配新用户兴趣,但由于训练成本极高,即便采用加速方法,频繁更新基于大语言模型(LLM)的推荐系统也不具备可行性。本研究探索在完全不更新模型的前提下,利用上下文学习(ICL)适配动态用户兴趣——该技术可让LLM从输入中提供的少样本示例学习新任务。将新兴趣示例作为ICL少样本,LLM可直接学习实时兴趣,无需更新模型。然而现有基于LLM的推荐器在推荐微调过程中往往会丧失上下文学习能力,而原始LLM的上下文学习又缺乏推荐任务针对性。为解决该问题,我们提出RecICL,为实时推荐定制面向推荐任务的上下文学习机制。RecICL以上下文学习格式组织训练样本,确保微调过程中上下文学习能力得以保留且与推荐任务对齐。大量实验证明,RecICL可在无需模型更新的情况下有效实现实时推荐。我们的代码已发布于https://github.com/ym689/rec_icl。

英文摘要:

Frequently updating Large Language Model (LLM)-based recommender systems to adapt to new user interests -- as done for traditional ones -- is impractical due to high training costs, even with acceleration methods. This work explores adapting to dynamic user interests without any model updates by leveraging In-Context Learning (ICL), which allows LLMs to learn new tasks from few-shot examples provided in the input. Using new-interest examples as the ICL few-shot examples, LLMs may learn real-time interest directly, avoiding the need for model updates. However, existing LLM-based recommenders often lose the in-context learning ability during recommendation tuning, while the original LLM's in-context learning lacks recommendation-specific focus. To address this, we propose RecICL, which customizes recommendation-specific in-context learning for real-time recommendations. RecICL organizes training examples in an in-context learning format, ensuring that in-context learning ability is preserved and aligned with the recommendation task during tuning. Extensive experiments demonstrate RecICL's effectiveness in delivering real-time recommendations without requiring model updates. Our code is available at https://github.com/ym689/rec_icl.

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

↑