mlsanityData to 14 Oct 2026

MEND: Meta dEmonstratioN Distillation for Efficient and Effective In-Context Learning

arXiv 2403.06914 ↗First posted 11 Mar 2024cs.CL cs.AIcited by 15

Not on the map. Why?

Abstract (arXiv)

Large Language models (LLMs) have demonstrated impressive in-context learning (ICL) capabilities, where a LLM makes predictions for a given test input together with a few input-output pairs (demonstrations). Nevertheless, the inclusion of demonstrations leads to a quadratic increase in the computational overhead of the self-attention mechanism. Existing solutions attempt to distill lengthy demonstrations into compact vectors. However, they often require task-specific retraining or compromise LLM's in-context learning performance. To mitigate these challenges, we present Meta dEmonstratioN Distillation (MEND), where a language model learns to distill any lengthy demonstrations into vectors without retraining for a new downstream task. We exploit the knowledge distillation to enhance alignment between MEND and LLM, achieving both efficiency and effectiveness simultaneously. MEND is endowed with the meta-knowledge of distilling demonstrations through a two-stage training process, which includes meta-distillation pretraining and fine-tuning. Comprehensive evaluations across seven diverse ICL task partitions using decoder-only (GPT-2) and encoder-decoder (T5) attest to MEND's prowess. It not only matches but often outperforms the Vanilla ICL as well as other state-of-the-art distillation models, while significantly reducing the computational demands. This innovation promises enhanced scalability and efficiency for the practical deployment of large language models

Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 19 of its 24 references that are in the map. First posted on arXiv 11 Mar 2024.

Builds on

19 of 24 references.

References · 19

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  4. 2020Scaling Laws for Neural Language Modelscited by 6,586
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  7. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  8. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  9. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  10. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  11. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,055
  12. 2016HyperNetworkscited by 1,027
7 more
  1. 2020UnifiedQA: Crossing Format Boundaries With a Single QA Systemcited by 476
  2. 2023Learning to Compress Prompts with Gist Tokenscited by 390
  3. 2021CrossFit: A Few-shot Learning Challenge for Cross-task Generalization in NLPcited by 142
  4. 2022Learning by Distilling Contextcited by 138
  5. 2022Structured Prompting: Scaling In-Context Learning to 1,000 Examplescited by 81
  6. 2022HyperTuning: Toward Adapting Large Language Models without Back-propagationcited by 46
  7. 2021Learning to Generate Task-Specific Adapters from Task Descriptioncited by 28

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 5; 2026: 5.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Brewing Knowledge in Context: Distillation Perspectives on In-Context Learning
  2. 2023Dr.ICL: Demonstration-Retrieved In-context Learning
  3. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  4. 2023Meta-training with Demonstration Retrieval for Efficient Few-shot Learning
  5. 2023Are Human-generated Demonstrations Necessary for In-context Learning?
  6. 2024SeCoKD: Aligning Large Language Models for In-Context Learning with Fewer Shots
  7. 2025Leveraging In-Context Learning for Language Model Agents
  8. 2022Self-Generated In-Context Learning: Leveraging Auto-regressive Language Models as a Demonstration Generator