atlas

Research map / Large language models / Language, safety and interpretability

SLMRec: Distilling Large Language Models into Small for Sequential Recommendation

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows intermediate LLM layers are redundant for sequential recommendation and distills a deep LLM-based E4SRec teacher into a 4-layer student (SLMRec) with feature-level losses, matching a 32-layer model at ~13% parameters and up to 6.6x/8.0x speedups.

Problem

LLM-based sequential recommenders are too large (7B+ parameters) to deploy efficiently on industrial platforms, and it is unclear how much LLM depth is actually needed for sequential recommendation.

Approach

Find that intermediate LLaMA layers are largely redundant for sequential recommendation, then distill a deeper E4SRec teacher into a shallow LLM student using cosine and L2 hidden-state feature losses plus multi-layer supervision adapters, with a theoretical argument that stacked attention layers can be approximated by a single layer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
distill an 8-layer teacher into a 4-layer studentE4SRec · MovieMRR: 19.74 -> 20.36Helped
distill an 8-layer teacher into a 4-layer studentE4SRec · ClothMRR: 18.77 -> 18.74No clear effect
distill an 8-layer teacher into a 4-layer studentE4SRec · MusicHR@1: 5.62 -> 5.72Helped
distill an 8-layer teacher into a 4-layer studentE4SRec · SportHR@1: 6.40 -> 6.62Helped
add feature norm regularization to cosine feature distillation (ablation)SLMRec · MusicHR@1: 5.62 -> 5.95Helped
add multiple supervision to cosine feature distillation (ablation)SLMRec · ClothHR@1: 16.10 -> 16.85Helped
add feature norm regularization and multiple supervision to cosine feature distillation (ablation)SLMRec · MovieHR@1: 14.83 -> 15.29Helped
add feature norm regularization and multiple supervision to cosine feature distillation (ablation)SLMRec · SportHR@1: 6.25 -> 6.62Helped
use block number B=4 instead of B=1 or B=2 (ablation)SLMRec · Clothrecommendation performanceHelped

Surprising findings

Limitations

Experimental setup

Datasets: Amazon18 Cloth Amazon18 Movie Amazon18 Music Amazon18 Sport

Benchmarks: Amazon18 Cloth Amazon18 Movie Amazon18 Music Amazon18 Sport

Metrics: HR@1 HR@5 NDCG@5 MRR training time inference time

Baselines: GRU4Rec Caser HGN BERT4Rec SASRec LightSANs S^3-Rec DuoRec MAERec Open-P5 E4SRec

Builds on: E4SRec SASRec LoRA Open-P5

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy