C2KD: Cross-layer and Cross-head Knowledge Distillation for Small Language Model-based Recommendation

Sequential recommenders predict users' next interactions based on historical behavior and are essential in modern recommendation systems.While Large Language Models (LLMs) show promise, their size and high inference costs limit deployment on resource-constrained devices.Small Language Models (SLMs) provide a more efficient alternative for edge devices, but bridging the recommendation performance gap between LLMs and SLMs remains challenging.Typical approaches like supervised fine-tuning or vanilla knowledge distillation (KD) often lead to suboptimal performance or even negative transfer.Our motivational experiments reveal key issues with vanilla KD methods: feature imitation suffers from redundancy and uneven recommendation ability across layers, while prediction mimicking faces conflicts caused by differing weight distributions of prediction heads.To address these challenges, we propose a simple yet effective framework, C2KD, to transfer taskrelevant knowledge from two complementary dimensions.Specifically, our method incorporates: (1) cross-layer feature imitation, which uses a dynamic router to select the most relevant teacher layers and assimilate task-relevant knowledge from the teacher's late layers, allowing the student to concentrate on the teacher's specialized knowledge; and (2) cross-head logit distillation, which maps the intermediate features of the student to the teacher's output head, thereby minimizing prediction discrepancies between the teacher and the student.Extensive experiments across diverse model families demonstrate that our approach enables 1Bparameter SLMs to achieve competitive performance compared to LLMs (e.g., Llama3-8B), offering a practical solution for real-world ondevice sequential recommendations.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.917
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

C2KD: Cross-layer and Cross-head Knowledge Distillation for Small Language Model-based Recommendation

Changyi Ma, Xiao Chen, Qing Li, Wenqi Fan et al.
Topic Modeling
article

C2KD: Cross-layer and Cross-head Knowledge Distillation for Small Language Model-based Recommendation

Changyi Ma, Xiao Chen, Qing Li, Wenqi Fan, Zhaoxiang Zhang
article en

Abstract

Sequential recommenders predict users' next interactions based on historical behavior and are essential in modern recommendation systems.While Large Language Models (LLMs) show promise, their size and high inference costs limit deployment on resource-constrained devices.Small Language Models (SLMs) provide a more efficient alternative for edge devices, but bridging the recommendation performance gap between LLMs and SLMs remains challenging.Typical approaches like supervised fine-tuning or vanilla knowledge distillation (KD) often lead to suboptimal performance or even negative transfer.Our motivational experiments reveal key issues with vanilla KD methods: feature imitation suffers from redundancy and uneven recommendation ability across layers, while prediction mimicking faces conflicts caused by differing weight distributions of prediction heads.To address these challenges, we propose a simple yet effective framework, C2KD, to transfer taskrelevant knowledge from two complementary dimensions.Specifically, our method incorporates: (1) cross-layer feature imitation, which uses a dynamic router to select the most relevant teacher layers and assimilate task-relevant knowledge from the teacher's late layers, allowing the student to concentrate on the teacher's specialized knowledge; and (2) cross-head logit distillation, which maps the intermediate features of the student to the teacher's output head, thereby minimizing prediction discrepancies between the teacher and the student.Extensive experiments across diverse model families demonstrate that our approach enables 1Bparameter SLMs to achieve competitive performance compared to LLMs (e.g., Llama3-8B), offering a practical solution for real-world ondevice sequential recommendations.

Institute of Automation (CN)
Hong Kong Polytechnic University
Quality Education
Openalex Percentile: Top 90%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

C2KD: Cross-layer and Cross-head Knowledge Distillation for Small Language Model-based Recommendation — Changyi Ma, Xiao Chen, et al. · (2025) | TGRS Research Map | TGRS