arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.04260cs.IRcs.CLcs.LG
收藏

小语言模型能否成为序列推荐的良好推理器?

Can Small Language Models be Good Reasoners for Sequential Recommendation?

Beijing University of Posts and Telecommunications(北京邮电大学);Ant Group(蚂蚁集团);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Beihang University(北京航空航天大学)

Yuling Wang, Changxin Tian, Binbin Hu, Yanhua Yu, Ziqi Liu, Zhiqiang Zhang, Jun Zhou, Liang Pang, Xiao Wang

AI总结:

本文提出逐步知识蒸馏框架SLIM,利用大模型CoT推理蒸馏小模型,使小模型以低成本获得序列推荐中的逐步推理能力。

摘要:

大语言模型(LLMs)凭借其卓越的语言理解和生成能力,为序列推荐开辟了新的前景。然而,要成功实现由LLMs赋能的序列推荐,仍有许多挑战需要解决。首先,用户行为模式往往十分复杂,仅依赖LLMs的一步推理可能导致错误或与任务无关的响应。其次,LLM(例如ChatGPT-175B)高昂的资源需求对真实的序列推荐系统而言过于庞大且不切实际。在本文中,我们提出了一种新颖的面向推荐的逐步知识蒸馏框架SLIM,为序列推荐器以“轻量”(即资源高效)的方式享有LLMs卓越推理能力铺平了一条有前景的道路。我们针对较大的教师模型引入了基于用户行为序列的CoT提示。教师模型生成的推理依据随后被用作标签,用于蒸馏下游较小的学生模型(例如LLaMA2-7B)。通过这种方式,学生模型获得了推荐任务中的逐步推理能力。我们将学生模型生成的推理依据编码为稠密向量,从而在基于ID和与ID无关的场景中增强推荐效果。大量实验证明了SLIM相较于最先进基线的有效性,进一步分析展示了其以可承受的成本生成有意义的推荐推理的能力。

英文摘要:

Large language models (LLMs) open up new horizons for sequential recommendations, owing to their remarkable language comprehension and generation capabilities. However, there are still numerous challenges that should be addressed to successfully implement sequential recommendations empowered by LLMs. Firstly, user behavior patterns are often complex, and relying solely on one-step reasoning from LLMs may lead to incorrect or task-irrelevant responses. Secondly, the prohibitively resource requirements of LLM (e.g., ChatGPT-175B) are overwhelmingly high and impractical for real sequential recommender systems. In this paper, we propose a novel Step-by-step knowLedge dIstillation fraMework for recommendation (SLIM), paving a promising path for sequential recommenders to enjoy the exceptional reasoning capabilities of LLMs in a "slim" (i.e., resource-efficient) manner. We introduce CoT prompting based on user behavior sequences for the larger teacher model. The rationales generated by the teacher model are then utilized as labels to distill the downstream smaller student model (e.g., LLaMA2-7B). In this way, the student model acquires the step-by-step reasoning capabilities in recommendation tasks. We encode the generated rationales from the student model into a dense vector, which empowers recommendation in both ID-based and ID-agnostic scenarios. Extensive experiments demonstrate the effectiveness of SLIM over state-of-the-art baselines, and further analysis showcasing its ability to generate meaningful recommendation reasoning at affordable costs.

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

↑