Less is More: Task-aware Layer-wise Distillation for Language Model Compression
Not on the map. Why?
Abstract (arXiv)
Layer-wise distillation is a powerful tool to compress large models (i.e. teacher models) into small ones (i.e., student models). The student distills knowledge from the teacher by mimicking the hidden representations of the teacher at every intermediate layer. However, layer-wise distillation is difficult. Since the student has a smaller model capacity than the teacher, it is often under-fitted. Furthermore, the hidden representations of the teacher contain redundant information that the student does not necessarily need for the target task's learning. To address these challenges, we propose a novel Task-aware layEr-wise Distillation (TED). TED designs task-aware filters to align the hidden representations of the student and the teacher at each layer. The filters select the knowledge that is useful for the target task from the hidden representations. As such, TED reduces the knowledge gap between the two models and helps the student to fit better on the target task. We evaluate TED in two scenarios: continual pre-training and fine-tuning. TED demonstrates significant and consistent improvements over existing distillation methods in both scenarios. Code is available at https://github.com/cliang1453/task-aware-distillation.
Key facts. Cited by 91 papers in the map (data through 7 Oct 2026). Builds on 34 of its 57 references that are in the map. First posted on arXiv 4 Oct 2022.
Builds on
34 of 57 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
22 more
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2018Neural Network Acceptability Judgmentscited by 952
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
- 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
- 2018A Simple Method for Commonsense Reasoningcited by 223
- 2020BERT-of-Theseus: Compressing BERT by Progressive Module Replacingcited by 112
- 2020Analyzing Individual Neurons in Pre-trained Language Modelscited by 97
- 2020MixKD: Towards Efficient Distillation of Large-scale Language Modelscited by 65
- 2020Contrastive Distillation on Intermediate Representations for Language Model Compressioncited by 57
- 2022MoEBERT: from BERT to Mixture-of-Experts via Importance-Guided Adaptationcited by 37
- 2021Follow Your Path: a Progressive Method for Knowledge Distillationcited by 9
Built on by
Citing papers per year: 2023: 8; 2024: 38; 2025: 25; 2026: 20.
91 papers.
Sort:
By area:
- 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
- 2023A Survey on Model Compression for Large Language Modelscited by 263
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2024Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and Applicationcited by 55
- 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
- 2024CodecLM: Aligning Language Models with Tailored Synthetic Datacited by 39
- 2023Students Parrot Their Teachers: Membership Inference on Model Distillationcited by 31
- 2024A Survey of Small Language Modelscited by 31
38 more
- 2023Adapting Large Language Models for Content Moderation: Pitfalls in Data Engineering and Supervised Fine-tuningcited by 28
- 2024ApiQ: Finetuning of 2-Bit Quantized Large Language Modelcited by 27
- 2023AD-KD: Attribution-Driven Knowledge Distillation for Language Model Compressioncited by 26
- 2024DDK: Distilling Domain Knowledge for Efficient Large Language Modelscited by 25
- 2024LLAVADI: What Matters For Multimodal Large Language Models Distillationcited by 25
- 2024PromptKD: Distilling Student-Friendly Knowledge for Generative Language Models via Prompt Tuningcited by 24
- 2024Align-KD: Distilling Cross-Modal Alignment Knowledge for Mobile Vision-Language Model Enhancementcited by 21
- 2025ABKD: Pursuing a Proper Allocation of the Probability Mass in Knowledge Distillation via α-β-Divergencecited by 21
- 2024Faster and Lighter LLMs: A Survey on Current Challenges and Way Forwardcited by 20
- 2024SLMRec: Distilling Large Language Models into Small for Sequential Recommendationcited by 18
- 2024BiLD: Bi-directional Logits Difference Loss for Large Language Model Distillationcited by 16
- 2024A Comprehensive Survey of Compression Algorithms for Language Modelscited by 15
- 2025A Token is Worth over 1,000 Tokens: Efficient Knowledge Distillation through Low-Rank Clonecited by 15
- 2024Toward Adaptive Large Language Models Structured Pruning via Hybrid-grained Weight Importance Assessmentcited by 13
- 2025DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decodingcited by 13
- 2023Module-wise Adaptive Distillation for Multimodality Foundation Modelscited by 12
- 2024Quantifying Knowledge Distillation Using Partial Information Decompositioncited by 12
- 2025LLM-Oriented Token-Adaptive Knowledge Distillationcited by 12
- 2024PLaD: Preference-based Large Language Model Distillation with Pseudo-Preference Pairscited by 11
- 2024Preference-Guided Refactored Tuning for Retrieval Augmented Code Generationcited by 10
- 2025The Efficiency vs. Accuracy Trade-off: Optimizing RAG-Enhanced LLM Recommender Systems Using Multi-Head Early Exitcited by 10
- 2024Inference Optimization of Foundation Models on AI Acceleratorscited by 9
- 2025SelfAug: Mitigating Catastrophic Forgetting in Retrieval-Augmented Generation via Distribution Self-Alignmentcited by 9
- 2025Put Teacher in Student's Shoes: Cross-Distillation for Ultra-compact Model Compression Frameworkcited by 8
- 2025SCOUT: Teaching Pre-trained Language Models to Enhance Reasoning via Flow Chain-of-Thoughtcited by 7
- 2026UniSD: Towards a Unified Self-Distillation Framework for Large Language Modelscited by 6
- 2024Over-parameterized Student Model via Tensor Decomposition Boosted Knowledge Distillationcited by 5
- 2024Optimising TinyML with Quantization and Distillation of Transformer and Mamba Models for Indoor Localisation on Edge Devicescited by 5
- 2023RingMo-lite: A Remote Sensing Multi-task Lightweight Network with CNN-Transformer Hybrid Frameworkcited by 4
- 2023Towards the Fundamental Limits of Knowledge Transfer over Finite Domainscited by 4
- 2024Adversarial Moment-Matching Distillation of Large Language Modelscited by 4
- 2024LaDiMo: Layer-wise Distillation Inspired MoEfiercited by 4
- 2024Redundant Queries in DETR-Based 3D Detection Methods: Unnecessary and Prunablecited by 4
- 2024TINED: GNNs-to-MLPs by Teacher Injection and Dirichlet Energy Distillationcited by 4
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2025Towards Harnessing the Collaborative Power of Large and Small Models for Domain Taskscited by 4
- 2025HBLLM: Wavelet-Enhanced High-Fidelity 1-Bit Quantization for LLMscited by 4
- 2024VTrans: Accelerating Transformer Compression with Variational Information Bottleneck based Pruningcited by 3
50 most cited of 91 All 91 (JSON)
- 2026From Parameters to Behaviors: A Survey of Model Fusion for Large Language Models17 Sep 2026
- 2026Layer-wise Curriculum Learning for Efficient LLM Compression16 Sep 2026
- 2026Reliability Scaling Laws for Quantized Large Language Models12 Jul 2026
- 2026NITP: Next Implicit Token Prediction for LLM Pre-training24 May 2026
- 2026A Study on Hidden Layer Distillation for Large Language Model Pre-Training12 May 2026
- 2026ReAD: Reinforcement-Guided Capability Distillation for Large Language Models11 May 2026
- 2026Locking Pretrained Weights via Deep Low-Rank Residual Distillation11 May 2026
- 2026Chain-based Distillation for Effective Initialization of Variable-Sized Small Language Models8 May 2026
- 2026UniSD: Towards a Unified Self-Distillation Framework for Large Language Models7 May 2026
- 2026AGPO: Asymmetric Group Policy Optimization for Verifiable Reasoning and Search Ads Relevance at JD7 May 2026
- 2026A Unified Approach to Interpreting Knowledge Distillation for Large Language Models via Interactions5 May 2026
- 2026DLink: Distilling Layer-wise and Dominant Knowledge from EEG Foundation Models16 Apr 2026
38 more
- 2026X-KD: General Experiential Knowledge Distillation for Large Language Models13 Feb 2026
- 2026Pedagogically-Inspired Data Synthesis for Language Model Knowledge Distillation12 Feb 2026
- 2026Late-to-Early Training: LET LLMs Learn Earlier, So Faster and Better5 Feb 2026
- 2026SALAAD: Sparse And Low-Rank Adaptation via ADMM for Large Language Model Inference1 Feb 2026
- 2026Investigating the Robustness of Subtask Distillation under Spurious Correlation31 Jan 2026
- 2026Drive-KD: Multi-Teacher Distillation for VLMs in Autonomous Driving29 Jan 2026
- 2026BrainDistill: Implantable Motor Decoding with Task-Specific Knowledge Distillation24 Jan 2026
- 2026Distilling Lightweight Domain Experts from Large ML Models by Identifying Relevant Subspaces9 Jan 2026
- 2025LOIP:Collaborative Lossless LLM Inference Serving with Offloading-based Pipeline Parallelism on Edge Devices26 Dec 2025
- 2025HBLLM: Wavelet-Enhanced High-Fidelity 1-Bit Quantization for LLMs30 Nov 2025
- 2025TabDistill: Distilling Transformers into Neural Nets for Few-Shot Tabular Classification7 Nov 2025
- 2025Few-Shot Knowledge Distillation of LLMs With Counterfactual Explanations24 Oct 2025
- 2025Leave It to the Experts: Detecting Knowledge Distillation via MoE Expert Signatures19 Oct 2025
- 2025LLM-Oriented Token-Adaptive Knowledge Distillation13 Oct 2025
- 2025Characterizing Model Behavior Under Synthetic Data Training: An Empirical Study Across Scales and Mixing Ratios1 Oct 2025
- 2025Knowledge distillation through geometry-aware representational alignment27 Sep 2025
- 2025SelfAug: Mitigating Catastrophic Forgetting in Retrieval-Augmented Generation via Distribution Self-Alignment4 Sep 2025
- 2025Flipping Knowledge Distillation: Leveraging Small Models' Expertise to Enhance LLMs in Text Matching8 Jul 2025
- 2025Put Teacher in Student's Shoes: Cross-Distillation for Ultra-compact Model Compression Framework7 Jul 2025
- 2025SCOUT: Teaching Pre-trained Language Models to Enhance Reasoning via Flow Chain-of-Thought30 May 2025
- 2025Matryoshka Model Learning for Improved Elastic Student Models29 May 2025
- 2025DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decoding25 May 2025
- 2025Towards Revealing the Effectiveness of Small-Scale Fine-tuning in R1-style Reinforcement Learning23 May 2025
- 2025A Token is Worth over 1,000 Tokens: Efficient Knowledge Distillation through Low-Rank Clone19 May 2025
- 2025ABKD: Pursuing a Proper Allocation of the Probability Mass in Knowledge Distillation via α-β-Divergence7 May 2025
- 2025Towards Harnessing the Collaborative Power of Large and Small Models for Domain Tasks24 Apr 2025
- 2025A Knowledge-Informed Deep Learning Paradigm for Generalizable and Stability-Optimized Car-Following Models19 Apr 2025
- 2025WindowKV: Task-Adaptive Group-Wise KV Cache Window Selection for Efficient LLM Inference23 Mar 2025
- 2025Efficient Knowledge Distillation via Curriculum Extraction21 Mar 2025
- 2025Accelerate 3D Object Detection Models via Zero-Shot Attention Key Pruning11 Mar 2025
- 2025Sample-aware Adaptive Structured Pruning for Large Language Models8 Mar 2025
- 2025Pastiche Novel Generation Creating: Fan Fiction You Love in Your Favorite Author's Style21 Feb 2025
- 2025The Efficiency vs. Accuracy Trade-off: Optimizing RAG-Enhanced LLM Recommender Systems Using Multi-Head Early Exit4 Jan 2025
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024Activating Distributed Visual Region within LLMs for Efficient and Effective Vision-Language Training and Inference17 Dec 2024
- 2024TINED: GNNs-to-MLPs by Teacher Injection and Dirichlet Energy Distillation15 Dec 2024
- 2024Optimising TinyML with Quantization and Distillation of Transformer and Mamba Models for Indoor Localisation on Edge Devices12 Dec 2024
- 2024Redundant Queries in DETR-Based 3D Detection Methods: Unnecessary and Prunable3 Dec 2024
50 newest of 91 All 91 (JSON)
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
- 2025The Efficiency vs. Accuracy Trade-off: Optimizing RAG-Enhanced LLM Recommender Systems Using Multi-Head Early Exitcited by 10
- 2025WindowKV: Task-Adaptive Group-Wise KV Cache Window Selection for Efficient LLM Inferencecited by 0
- 2025LOIP:Collaborative Lossless LLM Inference Serving with Offloading-based Pipeline Parallelism on Edge Devicescited by 0
- 2025LOIP:Collaborative Lossless LLM Inference Serving with Offloading-based Pipeline Parallelism on Edge Devices26 Dec 2025
- 2025WindowKV: Task-Adaptive Group-Wise KV Cache Window Selection for Efficient LLM Inference23 Mar 2025
- 2025The Efficiency vs. Accuracy Trade-off: Optimizing RAG-Enhanced LLM Recommender Systems Using Multi-Head Early Exit4 Jan 2025
- 2024A Survey on Efficient Inference for Large Language Models22 Apr 2024
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights26 Feb 2024
- 2024Align-KD: Distilling Cross-Modal Alignment Knowledge for Mobile Vision-Language Model Enhancementcited by 21
- 2025SCOUT: Teaching Pre-trained Language Models to Enhance Reasoning via Flow Chain-of-Thoughtcited by 7
- 2025Towards Revealing the Effectiveness of Small-Scale Fine-tuning in R1-style Reinforcement Learningcited by 3
- 2026AGPO: Asymmetric Group Policy Optimization for Verifiable Reasoning and Search Ads Relevance at JDcited by 2
- 2025Characterizing Model Behavior Under Synthetic Data Training: An Empirical Study Across Scales and Mixing Ratioscited by 0
- 2026AGPO: Asymmetric Group Policy Optimization for Verifiable Reasoning and Search Ads Relevance at JD7 May 2026
- 2025Characterizing Model Behavior Under Synthetic Data Training: An Empirical Study Across Scales and Mixing Ratios1 Oct 2025
- 2025SCOUT: Teaching Pre-trained Language Models to Enhance Reasoning via Flow Chain-of-Thought30 May 2025
- 2025Towards Revealing the Effectiveness of Small-Scale Fine-tuning in R1-style Reinforcement Learning23 May 2025
- 2024Align-KD: Distilling Cross-Modal Alignment Knowledge for Mobile Vision-Language Model Enhancement2 Dec 2024
- 2024LLAVADI: What Matters For Multimodal Large Language Models Distillationcited by 25
- 2025DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decodingcited by 13
- 2024Activating Distributed Visual Region within LLMs for Efficient and Effective Vision-Language Training and Inferencecited by 3
- 2025DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decoding25 May 2025
- 2024Activating Distributed Visual Region within LLMs for Efficient and Effective Vision-Language Training and Inference17 Dec 2024
- 2024LLAVADI: What Matters For Multimodal Large Language Models Distillation28 Jul 2024
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
- 2023A Survey on Model Compression for Large Language Modelscited by 263
- 2023Efficient Large Language Models: A Surveycited by 183
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2024Survey on Knowledge Distillation for Large Language Models: Methods, Evaluation, and Applicationcited by 55
- 2024What is the Role of Small Models in the LLM Era: A Surveycited by 41
- 2024A Survey of Small Language Modelscited by 31
- 2023Adapting Large Language Models for Content Moderation: Pitfalls in Data Engineering and Supervised Fine-tuningcited by 28
- 2024ApiQ: Finetuning of 2-Bit Quantized Large Language Modelcited by 27
- 2023AD-KD: Attribution-Driven Knowledge Distillation for Language Model Compressioncited by 26
- 2024DDK: Distilling Domain Knowledge for Efficient Large Language Modelscited by 25
12 most cited of 67 All 67 (JSON)
- 2026From Parameters to Behaviors: A Survey of Model Fusion for Large Language Models17 Sep 2026
- 2026Layer-wise Curriculum Learning for Efficient LLM Compression16 Sep 2026
- 2026Reliability Scaling Laws for Quantized Large Language Models12 Jul 2026
- 2026A Study on Hidden Layer Distillation for Large Language Model Pre-Training12 May 2026
- 2026ReAD: Reinforcement-Guided Capability Distillation for Large Language Models11 May 2026
- 2026Locking Pretrained Weights via Deep Low-Rank Residual Distillation11 May 2026
- 2026Chain-based Distillation for Effective Initialization of Variable-Sized Small Language Models8 May 2026
- 2026UniSD: Towards a Unified Self-Distillation Framework for Large Language Models7 May 2026
- 2026A Unified Approach to Interpreting Knowledge Distillation for Large Language Models via Interactions5 May 2026
- 2026DLink: Distilling Layer-wise and Dominant Knowledge from EEG Foundation Models16 Apr 2026
- 2026X-KD: General Experiential Knowledge Distillation for Large Language Models13 Feb 2026
- 2026Late-to-Early Training: LET LLMs Learn Earlier, So Faster and Better5 Feb 2026
12 newest of 67 All 67 (JSON)