In-context Learning Distillation: Transferring Few-shot Learning Ability of Pre-trained Language Models
Not on the map. Why?
Abstract (arXiv)
Given the success with in-context learning of large pre-trained language models, we introduce in-context learning distillation to transfer in-context few-shot learning ability from large models to smaller models. We propose to combine in-context learning objectives with language modeling objectives to distill both the ability to read in-context examples and task knowledge to the smaller models. We perform in-context learning distillation under two different few-shot learning paradigms: Meta In-context Tuning (Meta-ICT) and Multitask In-context Tuning (Multitask-ICT). Multitask-ICT performs better on multitask few-shot learning but also requires more computation than Meta-ICT. Our method shows consistent improvements for both Meta-ICT and Multitask-ICT on two benchmarks: LAMA and CrossFit. Our extensive experiments and analysis reveal that in-context learning objectives and language modeling objectives are complementary under the Multitask-ICT paradigm. In-context learning objectives achieve the best performance when combined with language modeling objectives.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 34 of its 42 references that are in the map. First posted on arXiv 20 Dec 2022.
Builds on
34 of 42 references.
References · 34
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
22 more
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 256
- 2021GPT3Mix: Leveraging Large-scale Language Models for Text Augmentationcited by 185
- 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
- 2021Meta-learning via Language Model In-context Tuningcited by 163
- 2021CrossFit: A Few-shot Learning Challenge for Cross-task Generalization in NLPcited by 142
- 2020BERT-of-Theseus: Compressing BERT by Progressive Module Replacingcited by 112
- 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 78
- 2022On the Relation between Sensitivity and Accuracy in In-context Learningcited by 71
- 2021Annealing Knowledge Distillationcited by 61
- 2021BERT Learns to Teach: Knowledge Distillation with Meta Learningcited by 61
- 2020XtremeDistil: Multi-stage Distillation for Massive Multilingual Modelscited by 38
- 2022Weakly Supervised Data Augmentation Through Prompting for Dialogue Understandingcited by 32
- 2019Revisiting Knowledge Distillation via Label Smoothing Regularizationcited by 29
- 2020TextBrewer: An Open-Source Knowledge Distillation Toolkit for Natural Language Processingcited by 25
- 2020Towards Zero-Shot Knowledge Distillation for Natural Language Processingcited by 20
- 2021RAIL-KD: RAndom Intermediate Layer Mapping for Knowledge Distillationcited by 18
- 2021A Short Study on Compressing Decoder-Based Language Modelscited by 16
- 2021Pro-KD: Progressive Distillation by Following the Footsteps of the Teachercited by 16
- 2022CILDA: Contrastive Data Augmentation using Intermediate Layer Knowledge Distillationcited by 4
Built on by
Citing papers per year: 2023: 4; 2024: 21; 2025: 7; 2026: 4.
36 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
- 2024LLM-based Multi-Agent Reinforcement Learning: Current and Future Directionscited by 67
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2024HOBBIT: A Mixed Precision Expert Offloading System for Fast MoE Inferencecited by 53
- 2024A Survey on Transformer Compressioncited by 44
- 2024LLaVA-MoD: Making LLaVA Tiny via MoE Knowledge Distillationcited by 43
- 2023HyPoradise: An Open Baseline for Generative Speech Recognition with Large Language Modelscited by 41
24 more
- 2024Accurate LoRA-Finetuning Quantization of LLMs via Information Retentioncited by 40
- 2024Basis Sharing: Cross-Layer Parameter Sharing for Large Language Model Compressioncited by 34
- 2024In-Context Editing: Learning Knowledge from Self-Induced Distributionscited by 33
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2025AgentDistill: Training-Free Agent Distillation with Generalizable MCP Boxescited by 28
- 2025RLRC: Reinforcement Learning-based Recovery for Compressed Vision-Language-Action Modelscited by 20
- 2025When Reasoning Meets Compression: Understanding the Effects of LLMs Compression on Large Reasoning Modelscited by 12
- 2026Self-Supervised On-Policy Distillation for Reasoning Language Modelscited by 10
- 2024PatentGPT: A Large Language Model for Intellectual Propertycited by 8
- 2023A Performance Evaluation of a Quantized Large Language Model on Various Smartphonescited by 7
- 2026PAINT: Partial-Solution Adaptive Interpolated Training for Self-Distilled Reasonerscited by 7
- 2024A Survey of Transformer-based Language Models with Focus on Efficiencycited by 6
- 2025Unlocking the Potential of Generative AI through Neuro-Symbolic Architectures: Benefits and Limitationscited by 6
- 2024CogniDual Framework: Self-Training Large Language Models within a Dual-System Theoretical Framework for Improving Cognitive Taskscited by 5
- 2026Large Language Model Post-Training: A Unified View of Off-Policy and On-Policy Learningcited by 5
- 2024LSAQ: Layer-Specific Adaptive Quantization for Large Language Model Deploymentcited by 4
- 2024FASTNav: Fine-tuned Adaptive Small-language-models Trained for Multi-point Robot Navigationcited by 3
- 2024Inference Optimizations for Large Language Models: Effects, Challenges, and Practical Considerationscited by 2
- 2025Large Language models for Time Series Analysis: Techniques, Applications, and Challengescited by 2
- 2025Improving In-Context Learning with Reasoning Distillationcited by 1
- 2024AdaPTwin: Low-Cost Adaptive Compression of Product Twins in Transformerscited by 0
- 2024FTP: A Fine-grained Token-wise Pruner for Large Language Models via Token Routingcited by 0
- 2025Enhancing Contrastive Demonstration Selection with Semantic Diversity for Robust In-Context Machine Translationcited by 0
- 2026OPSRD: On-Policy Self-Role Distillationcited by 0
- 2026OPSRD: On-Policy Self-Role Distillation30 Sep 2026
- 2026Self-Supervised On-Policy Distillation for Reasoning Language Models17 May 2026
- 2026PAINT: Partial-Solution Adaptive Interpolated Training for Self-Distilled Reasoners29 Apr 2026
- 2026Large Language Model Post-Training: A Unified View of Off-Policy and On-Policy Learning9 Apr 2026
- 2025RLRC: Reinforcement Learning-based Recovery for Compressed Vision-Language-Action Models21 Jun 2025
- 2025AgentDistill: Training-Free Agent Distillation with Generalizable MCP Boxes17 Jun 2025
- 2025Large Language models for Time Series Analysis: Techniques, Applications, and Challenges21 May 2025
- 2025Improving In-Context Learning with Reasoning Distillation14 Apr 2025
- 2025Enhancing Contrastive Demonstration Selection with Semantic Diversity for Robust In-Context Machine Translation12 Apr 2025
- 2025When Reasoning Meets Compression: Understanding the Effects of LLMs Compression on Large Reasoning Models2 Apr 2025
- 2025Unlocking the Potential of Generative AI through Neuro-Symbolic Architectures: Benefits and Limitations16 Feb 2025
- 2024LSAQ: Layer-Specific Adaptive Quantization for Large Language Model Deployment24 Dec 2024
24 more
- 2024FTP: A Fine-grained Token-wise Pruner for Large Language Models via Token Routing16 Dec 2024
- 2024FASTNav: Fine-tuned Adaptive Small-language-models Trained for Multi-point Robot Navigation20 Nov 2024
- 2024HOBBIT: A Mixed Precision Expert Offloading System for Fast MoE Inference3 Nov 2024
- 2024Basis Sharing: Cross-Layer Parameter Sharing for Large Language Model Compression2 Oct 2024
- 2024CogniDual Framework: Self-Training Large Language Models within a Dual-System Theoretical Framework for Improving Cognitive Tasks5 Sep 2024
- 2024LLaVA-MoD: Making LLaVA Tiny via MoE Knowledge Distillation28 Aug 2024
- 2024Inference Optimizations for Large Language Models: Effects, Challenges, and Practical Considerations6 Aug 2024
- 2024In-Context Editing: Learning Knowledge from Self-Induced Distributions17 Jun 2024
- 2024AdaPTwin: Low-Cost Adaptive Compression of Product Twins in Transformers13 Jun 2024
- 2024LLM-based Multi-Agent Reinforcement Learning: Current and Future Directions17 May 2024
- 2024How Far Are We From AGI: Are LLMs All We Need?16 May 2024
- 2024A Survey of Transformer-based Language Models with Focus on Efficiency15 May 2024
- 2024PatentGPT: A Large Language Model for Intellectual Property28 Apr 2024
- 2024A Survey on Efficient Inference for Large Language Models22 Apr 2024
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights26 Feb 2024
- 2024A Survey on Knowledge Distillation of Large Language Models20 Feb 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
- 2024Accurate LoRA-Finetuning Quantization of LLMs via Information Retention8 Feb 2024
- 2024A Survey on Transformer Compression5 Feb 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
- 2023A Performance Evaluation of a Quantized Large Language Model on Various Smartphones19 Dec 2023
- 2023Efficient Large Language Models: A Survey6 Dec 2023
- 2023HyPoradise: An Open Baseline for Generative Speech Recognition with Large Language Models27 Sep 2023
- 2023A Survey on Model Compression for Large Language Models15 Aug 2023
- 2025When Reasoning Meets Compression: Understanding the Effects of LLMs Compression on Large Reasoning Modelscited by 12
- 2026Self-Supervised On-Policy Distillation for Reasoning Language Modelscited by 10
- 2026PAINT: Partial-Solution Adaptive Interpolated Training for Self-Distilled Reasonerscited by 7
- 2025Improving In-Context Learning with Reasoning Distillationcited by 1
- 2026Self-Supervised On-Policy Distillation for Reasoning Language Models17 May 2026
- 2026PAINT: Partial-Solution Adaptive Interpolated Training for Self-Distilled Reasoners29 Apr 2026
- 2025Improving In-Context Learning with Reasoning Distillation14 Apr 2025
- 2025When Reasoning Meets Compression: Understanding the Effects of LLMs Compression on Large Reasoning Models2 Apr 2025
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
- 2024A Survey on Efficient Inference for Large Language Models22 Apr 2024
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights26 Feb 2024
- 2024LLaVA-MoD: Making LLaVA Tiny via MoE Knowledge Distillationcited by 43
- 2024LLaVA-MoD: Making LLaVA Tiny via MoE Knowledge Distillation28 Aug 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
- 2024A Survey on Transformer Compressioncited by 44
- 2023HyPoradise: An Open Baseline for Generative Speech Recognition with Large Language Modelscited by 41
- 2024Accurate LoRA-Finetuning Quantization of LLMs via Information Retentioncited by 40
- 2024Basis Sharing: Cross-Layer Parameter Sharing for Large Language Model Compressioncited by 34
- 2024In-Context Editing: Learning Knowledge from Self-Induced Distributionscited by 33
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024PatentGPT: A Large Language Model for Intellectual Propertycited by 8
12 most cited of 24 All 24 (JSON)
- 2026OPSRD: On-Policy Self-Role Distillation30 Sep 2026
- 2026Large Language Model Post-Training: A Unified View of Off-Policy and On-Policy Learning9 Apr 2026
- 2025Large Language models for Time Series Analysis: Techniques, Applications, and Challenges21 May 2025
- 2025Enhancing Contrastive Demonstration Selection with Semantic Diversity for Robust In-Context Machine Translation12 Apr 2025
- 2025Unlocking the Potential of Generative AI through Neuro-Symbolic Architectures: Benefits and Limitations16 Feb 2025
- 2024LSAQ: Layer-Specific Adaptive Quantization for Large Language Model Deployment24 Dec 2024
- 2024FTP: A Fine-grained Token-wise Pruner for Large Language Models via Token Routing16 Dec 2024
- 2024FASTNav: Fine-tuned Adaptive Small-language-models Trained for Multi-point Robot Navigation20 Nov 2024
- 2024Basis Sharing: Cross-Layer Parameter Sharing for Large Language Model Compression2 Oct 2024
- 2024Inference Optimizations for Large Language Models: Effects, Challenges, and Practical Considerations6 Aug 2024
- 2024In-Context Editing: Learning Knowledge from Self-Induced Distributions17 Jun 2024
- 2024AdaPTwin: Low-Cost Adaptive Compression of Product Twins in Transformers13 Jun 2024
12 newest of 24 All 24 (JSON)