SLMRec: Distilling Large Language Models into Small for Sequential Recommendation
Wujiang Xu, Qitian Wu, Zujie Liang, Jiaojiao Han, Xuying Ning, Yunxiao, Shi, Wenfang Lin, Yongfeng Zhang

TL;DR
This paper introduces SLMRec, a small language model for sequential recommendation that uses knowledge distillation to achieve comparable performance to large models while significantly reducing size and computational costs.
Contribution
The paper demonstrates that most layers of large language models are redundant for SR and proposes a distillation method to create efficient small models with comparable accuracy.
Findings
SLMRec achieves similar performance to large models with only 13% of parameters.
SLMRec provides up to 6.6x faster training and 8.0x faster inference.
Most intermediate layers of LLMs are redundant for SR tasks.
Abstract
Sequential Recommendation (SR) task involves predicting the next item a user is likely to interact with, given their past interactions. The SR models examine the sequence of a user's actions to discern more complex behavioral patterns and temporal dynamics. Recent research demonstrates the great impact of LLMs on sequential recommendation systems, either viewing sequential recommendation as language modeling or serving as the backbone for user representation. Although these methods deliver outstanding performance, there is scant evidence of the necessity of a large language model and how large the language model is needed, especially in the sequential recommendation scene. Meanwhile, due to the huge size of LLMs, it is inefficient and impractical to apply a LLM-based model in real-world platforms that often need to process billions of traffic logs daily. In this paper, we explore the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRecommender Systems and Techniques · Topic Modeling · Sentiment Analysis and Opinion Mining
MethodsPruning · Knowledge Distillation
