mlsanityData to 7 Oct 2026

Efficient LLM Context Distillation

arXiv 2409.01930 ↗First posted 3 Sep 2024cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) demonstrate proficiency across diverse tasks but often require targeted adaptations for specific applications. Various methods have been proposed to facilitate this adaptation, including fewshot fine-tuning, in-context learning, and context distillation. This paper specifically investigates context distillation a method that extends the utility of task-specific examples by internalizing them, thus augmenting the example set accessible for model inference. We conduct a comparative analysis of context distillation with in-context learning (ICL) and few-shot fine-tuning (FT), aiming to ascertain the efficacy of context distillation in adapting models using minimal in-context examples. Employing matched datasets from Mobach, our experiments leverage OPT models of various sizes. The results indicate that context distillation effectively adapts models, with student models attaining comparable in-domain and out-of-domain accuracies to in-context learning. Although context distillation surpasses ICL in out-of-domain generalization, it does not achieve the performance levels of FT. However, the reduced dataset size and computational demands position context distillation as a viable alternative, especially for smaller datasets. Overall, this study presents context distillation as an efficient and potent method for customizing LLMs to specific tasks.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 11 of its 12 references that are in the map. First posted on arXiv 3 Sep 2024.

Builds on

11 of 12 references.

References · 11

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  3. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  4. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
  5. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
  6. 2021Datasets: A Community Library for Natural Language Processingcited by 526
  7. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 395
  8. 2020On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselinescited by 254
  9. 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
  10. 2022Learning by Distilling Contextcited by 128
  11. 2019Natural Language Understanding with the Quora Question Pairs Datasetcited by 51

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.