mlsanityData to 13 Oct 2026

Training Plug-n-Play Knowledge Modules with Deep Context Distillation

arXiv 2503.08727 ↗First posted 11 Mar 2025cs.LG cs.AIcited by 23

Not on the map. Why?

Abstract (arXiv)

Dynamically integrating new or rapidly evolving information after (Large) Language Model pre-training remains challenging, particularly in low-data scenarios or when dealing with private and specialized documents. In-context learning and retrieval-augmented generation (RAG) face limitations, including their high inference costs and their inability to capture global document information. In this paper, we propose a way of modularizing knowledge by training document-level Knowledge Modules (KMs). KMs are lightweight components implemented as parameter-efficient LoRA modules, which are trained to store information about new documents and can be easily plugged into models on demand. We show that next-token prediction performs poorly as the training objective for KMs. We instead propose Deep Context Distillation: we learn KMs parameters such as to simulate hidden states and logits of a teacher that takes the document in context. Our method outperforms standard next-token prediction and pre-instruction training techniques, across two datasets. Finally, we highlight synergies between KMs and RAG.

Key facts. Cited by 23 papers in the map (data through 13 Oct 2026). Builds on 34 of its 41 references that are in the map. First posted on arXiv 11 Mar 2025.

Builds on

34 of 41 references.

References · 34

  1. 2024The Llama 3 Herd of Modelscited by 14,486
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,231
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,376
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,180
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,221
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,876
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,831
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,281
  9. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,433
  10. 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,041
  11. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 813
  12. 2014Distributed Representations of Sentences and Documentscited by 677
22 more
  1. 2017The NarrativeQA Reading Comprehension Challengecited by 592
  2. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 404
  3. 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 205
  4. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 194
  5. 2022Learning by Distilling Contextcited by 132
  6. 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
  7. 2024Speculative Knowledge Distillation: Bridging the Teacher-Student Gap Through Interleaved Samplingcited by 87
  8. 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compressioncited by 84
  9. 2024Towards Modular LLMs by Building and Reusing a Library of LoRAscited by 72
  10. 2024Learning to Route Among Specialized Experts for Zero-Shot Generalizationcited by 65
  11. 2024Inference Scaling for Long-Context Retrieval Augmented Generationcited by 65
  12. 2024Synthetic continued pretrainingcited by 58
  13. 2024Instruction-tuned Language Models are Better Knowledge Learnerscited by 55
  14. 2024Online Adaptation of Language Models with a Memory of Amortized Contextscited by 35
  15. 2024LongHealth: A Question Answering Benchmark with Long Clinical Documentscited by 33
  16. 2024In-Context Editing: Learning Knowledge from Self-Induced Distributionscited by 33
  17. 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
  18. 2023Dodo: Dynamic Contextual Compression for Decoder-only LMscited by 23
  19. 2022Knowledge Distillation as Efficient Pre-training: Faster Convergence, Higher Data-efficiency, and Better Transferabilitycited by 21
  20. 2024AdapterSwap: Continuous Training of LLMs with Data Removal and Access-Control Guaranteescited by 14
  21. 2023Plug-and-Play Document Modules for Pre-trained Modelscited by 6
  22. 2023Plug-and-Play Knowledge Injection for Pre-trained Language Modelscited by 6

Built on by

Cited by year (2026 to 13 Oct)

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

23 papers.

Sort:

By area:

  1. 2026Privileged Information Distillation for Language Modelscited by 84
  2. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 75
  3. 2026Expanding the Capabilities of Reinforcement Learning via Text Feedbackcited by 49
  4. 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 39
  5. 2026Understanding LoRA as Knowledge Memory: An Empirical Analysiscited by 12
  6. 2026Skill-to-LoRA: From Using Skills to Learning Behaviors for Token-Efficient LLM Agentscited by 9
  7. 2025LoRA-Augmented Generation (LAG) for Knowledge-Intensive Language Taskscited by 8
  8. 2026Position: Modular Memory is the Key to Continual Learning Agentscited by 7
  9. 2025Adapt Once, Thrive with Updates: Transferable Parameter-Efficient Fine-Tuning on Evolving Base Modelscited by 5
  10. 2026Context Distillation as Latent Memory Managementcited by 5
  11. 2025PERK: Long-Context Reasoning as Test-Time Learningcited by 4
  12. 2026ReasonCACHE: Teaching LLMs To Reason Without Weight Updatescited by 3
11 more
  1. 2026Nectar: Neural Estimation of Cached-Token Attention via Regressioncited by 2
  2. 2026Doc-to-Atom: Learning to Compile and Compose Memory Atomscited by 2
  3. 2026Cartridges++: KV Cache Compression without Off-Context Derailmentcited by 2
  4. 2025IA2: Alignment with ICL Activations Improves Supervised Fine-Tuningcited by 1
  5. 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignmentcited by 1
  6. 2026Language Models Need Sleep: Learning to Self-Modify and Consolidate Memoriescited by 1
  7. 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inferencecited by 0
  8. 2026Frames2LoRA: Parametric Video Internalization for Vision-Language Modelscited by 0
  9. 2026Where Should a Document Live: Context, Representations, or Parameters?cited by 0
  10. 2026Instruct, Not Answer: Using Instruction Privileges in On-Policy Context Distillationcited by 0
  11. 2026HyperThink: Text-to-Parameter Hypernetworks for Efficient Reasoningcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026KDFP: A first-principles approach to knowledge distillation in large language models
  2. 2024Efficient Knowledge Injection in LLMs via Self-Distillation
  3. 2025A Dual-Space Framework for General Knowledge Distillation of Large Language Models
  4. 2025Knowledge Distillation and Dataset Distillation of Large Language Models: Emerging Trends, Challenges, and Future Directions
  5. 2024Intermediate Distillation: Data-Efficient Distillation from Black-Box LLMs for Information Retrieval
  6. 2026DistillLens: Symmetric Knowledge Distillation Through Logit Lens
  7. 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancement
  8. 2026Knowledge Capsules: Structured Nonparametric Memory Units for LLMs