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

基于预训练语言模型和知识蒸馏的轻量级序列推荐

Pre-trained Language Model and Knowledge Distillation for Lightweight Sequential Recommendation

University of Science and Technology of China(中国科学技术大学)

Li Li, Mingyue Cheng, Zhiding Liu, Hao Zhang, Qi Liu, Enhong Chen

AI总结:

针对预训练语言模型在实时推荐中推理慢的问题,提出基于知识蒸馏的两阶段序列推荐算法,将预训练知识迁移至轻量级模型,在提升准确率的同时实现及时推荐。

摘要:

序列推荐基于历史行为对用户兴趣进行建模,以提供个性化推荐。以往的序列推荐算法主要采用神经网络提取用户兴趣特征,取得了良好的性能。然而,由于推荐系统数据集的稀疏性,这些算法通常采用小规模网络框架,导致泛化能力较弱。近期,一系列基于大型预训练语言模型的序列推荐算法被提出。尽管如此,考虑到推荐系统的实时性需求,在实际场景中应用预训练语言模型进行快速推荐仍面临挑战。为此,我们提出了一种基于预训练语言模型和知识蒸馏的序列推荐算法。该算法的核心是通过知识蒸馏实现跨领域的预训练知识迁移并实现轻量级推理。算法分为两个阶段:第一阶段,我们在推荐数据集上微调预训练语言模型,将预训练知识迁移至推荐任务;第二阶段,我们对训练好的语言模型进行蒸馏,将所学知识迁移至轻量级模型。在多个公开推荐数据集上的大量实验表明,所提算法提升了推荐准确率并提供了及时的推荐服务。

英文摘要:

Sequential recommendation models user interests based on historical behaviors to provide personalized recommendation. Previous sequential recommendation algorithms primarily employ neural networks to extract features of user interests, achieving good performance. However, due to the recommendation system datasets sparsity, these algorithms often employ small-scale network frameworks, resulting in weaker generalization capability. Recently, a series of sequential recommendation algorithms based on large pre-trained language models have been proposed. Nonetheless, given the real-time demands of recommendation systems, the challenge remains in applying pre-trained language models for rapid recommendations in real scenarios. To address this, we propose a sequential recommendation algorithm based on a pre-trained language model and knowledge distillation. The key of proposed algorithm is to transfer pre-trained knowledge across domains and achieve lightweight inference by knowledge distillation. The algorithm operates in two stages: in the first stage, we fine-tune the pre-trained language model on the recommendation dataset to transfer the pre-trained knowledge to the recommendation task; in the second stage, we distill the trained language model to transfer the learned knowledge to a lightweight model. Extensive experiments on multiple public recommendation datasets show that the proposed algorithm enhances recommendation accuracy and provide timely recommendation services.

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

↑