mlsanityData to 14 Oct 2026

SLMRec: Distilling Large Language Models into Small for Sequential Recommendation

arXiv 2405.17890 ↗First posted 28 May 2024cs.IR cs.CL cs.LGcited by 18

On the map: Knowledge distillation → Distillation for recommender systems

Abstract (arXiv)

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 influence of LLMs' depth by conducting extensive experiments on large-scale industry datasets. Surprisingly, our motivational experiments reveal that most intermediate layers of LLMs are redundant, indicating that pruning the remaining layers can still maintain strong performance. Motivated by this insight, we empower small language models for SR, namely SLMRec, which adopt a simple yet effective knowledge distillation method. Moreover, SLMRec is orthogonal to other post-training efficiency techniques, such as quantization and pruning, so that they can be leveraged in combination. Comprehensive experimental results illustrate that the proposed SLMRec model attains the best performance using only 13% of the parameters found in LLM-based recommendation models while simultaneously achieving up to 6.6x and 8.0x speedups in training and inference time costs, respectively. Besides, we provide a theoretical justification for why small language models can perform comparably to large language models in SR.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Placed in Distillation for recommender systems, one of 12 directions in Knowledge distillation. Builds on 64 of its 78 references that are in the map. First posted on arXiv 28 May 2024.

Builds on

64 of 78 references.

References · 64

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  7. 2020Scaling Laws for Neural Language Modelscited by 6,586
  8. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  9. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  10. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  11. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  12. 2022Locating and Editing Factual Associations in GPTcited by 2,691
38 more
  1. 2018Self-Attentive Sequential Recommendationcited by 1,184
  2. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  3. 2023PaLM 2 Technical Reportcited by 1,162
  4. 2020LightGCN: Simplifying and Powering Graph Convolution Network for Recommendationcited by 1,139
  5. 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 964
  6. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  7. 2019Are Sixteen Heads Really Better than One?cited by 816
  8. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 737
  9. 2015Session-based Recommendations with Recurrent Neural Networkscited by 695
  10. 2021Knowledge Neurons in Pretrained Transformerscited by 601
  11. 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
  12. 2018Personalized Top-N Sequential Recommendation via Convolutional Sequence Embeddingcited by 476
  13. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
  14. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
  15. 2022Recommendation as Language Processing (RLP): A Unified Pretrain, Personalized Prompt & Predict Paradigm (P5)cited by 402
  16. 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 385
  17. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 383
  18. 2023TALLRec: An Effective and Efficient Tuning Framework to Align Large Language Model with Recommendationcited by 337
  19. 2020S^3-Rec: Self-Supervised Learning for Sequential Recommendation with Mutual Information Maximizationcited by 311
  20. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 251
  21. 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 251
  22. 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 243
  23. 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 226
  24. 2024Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendationscited by 188
  25. 2023LLMRec: Large Language Models with Graph Augmentation for Recommendationcited by 172
  26. 2016How to learn a graph from smooth signalscited by 146
  27. 2020RecBole: Towards a Unified, Comprehensive and Efficient Framework for Recommendation Algorithmscited by 138
  28. 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
  29. 2021Contrastive Learning for Representation Degeneration Problem in Sequential Recommendationcited by 121
  30. 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
  31. 2019Hierarchical Gating Networks for Sequential Recommendationcited by 101
  32. 2023CoLLM: Integrating Collaborative Embeddings into Large Language Models for Recommendationcited by 100
  33. 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
  34. 2022Less is More: Task-aware Layer-wise Distillation for Language Model Compressioncited by 93
  35. 2024Wukong: Towards a Scaling Law for Large-Scale Recommendationcited by 74
  36. 2023Collaborative Large Language Model for Recommender Systemscited by 64
  37. 2023GenRec: Large Language Model for Generative Recommendationcited by 63
  38. 2021p-Laplacian Based Graph Neural Networkscited by 39

50 most cited of 64 All 64 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 10; 2026: 8.

18 papers.

Sort:

By area:

  1. 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 47
  2. 2025A Survey on Collaborative Mechanisms Between Large and Small Language Modelscited by 14
  3. 2025Massive Activations are the Key to Local Detail Synthesis in Diffusion Transformerscited by 7
  4. 2025Masked Diffusion for Generative Recommendationcited by 7
  5. 2026AEL: Evolving Agent Harness in Open-Ended Environmentscited by 6
  6. 2026Mixture of Sequence: Theme-Aware Mixture-of-Experts for Long-Sequence Recommendationcited by 4
  7. 2026LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learningcited by 3
  8. 2025QUPID: Quantified Understanding for Enhanced Performance, Insights, and Decisions in Korean Search Enginescited by 1
  9. 2025Uncertainty-Aware Collaborative System of Large and Small Models for Multimodal Sentiment Analysiscited by 1
  10. 2025Token-Controlled Re-ranking for Sequential Recommendation via LLMscited by 1
  11. 2025HSTU-BLaIR: Lightweight Contrastive Text Embedding for Generative Recommendercited by 0
  12. 2025Selection and Exploitation of High-Quality Knowledge from Large Language Models for Recommendationcited by 0
6 more
  1. 2025From What to Why: Thought-Space Recommendation with Small Language Modelscited by 0
  2. 2026Sensory-Aware Sequential Recommendation via Review-Distilled Representationscited by 0
  3. 2026Structuring and Tokenizing Distributed User Interest Context for Generative Recommendationcited by 0
  4. 2026Awakening Diffusion Transformers: Eliciting Stronger Generation and Understanding via Massive Activation Modulationcited by 0
  5. 2026TSPORec: Token Selection via Preference Optimization for LLM-Based Sequential Recommendationcited by 0
  6. 2026P3Rec: Distilling Prior--Posterior Preference Reasoning for LLM-based Recommendationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024DELRec: Distilling Sequential Pattern to Enhance LLMs-based Sequential Recommendation
  2. 2024LLM-ESR: Large Language Models Enhancement for Long-tailed Sequential Recommendation
  3. 2024The Elephant in the Room: Rethinking the Usage of Pre-trained Language Model in Sequential Recommendation
  4. 2024CALRec: Contrastive Alignment of Generative LLMs for Sequential Recommendation
  5. 2024Can Small Language Models be Good Reasoners for Sequential Recommendation?
  6. 2026Pre-trained LLMs Meet Sequential Recommenders: Efficient User-Centric Knowledge Distillation
  7. 2025What Makes LLMs Effective Sequential Recommenders? A Study on Preference Intensity and Temporal Context
  8. 2025LLMDiRec: LLM-Enhanced Intent Diffusion for Sequential Recommendation ↗