Why is teaching an AI a skill through practice different from just showing it instructions once?
Why does context distillation differ from simply training on prompt content?
This explores why 'baking a prompt into a model' (training it to act as though an instruction were present, using its own prompted answers as targets) works differently from simply fine-tuning the model on the prompt's text. The corpus has no paper on context distillation by name, but several notes cover the same idea under other labels.
This explores why 'baking a prompt into a model' (training it to act as though an instruction were present, using its own prompted answers as targets) works differently from simply fine-tuning the model on the prompt's text. The collection doesn't name context distillation directly, so this answer is built from related findings. The core difference is in what the model learns. Training on prompt content teaches it to predict those words. Distillation teaches it the behavior those words produce, so the instruction can be removed and the behavior stays.
The closest match in the collection is consistency training Can models learn to ignore irrelevant prompt changes?. It uses the same move: run the model on a clean prompt, then train it to give that same answer when the prompt is wrapped in distractions. Because the targets come from the model itself, they don't go stale the way hand-written fine-tuning data does. The data matches what the model can currently do, not what some annotator assumed. A version that works on internal activations goes further. It matches the model's inner states, not just its output text, which hints that distillation is really about moving a computation, not copying words.
Why does that matter? Text alone is a weak lever. Models often ignore what's in their context when it conflicts with strong habits from training Why do language models ignore information in their context?. Prompting can only bring out knowledge the model already has, never add new knowledge Can prompt optimization teach models knowledge they lack?. So training on a prompt's words treats it as something to memorize. Distillation treats the prompt as a way to steer the model, records where the steering leads, and makes that the new default. It is also limited in the same way: it can only lock in behavior the prompted model could already produce.
The less obvious point is that turning context into weights takes real computation. One line of work argues that the long-context bottleneck isn't memory but the compute needed to fold old context into the model's weights during offline 'sleep' phases. Performance improves with more consolidation passes Is long-context bottleneck really about memory or compute?. Seen that way, context distillation is one form of consolidation, and it is a deliberate choice about which lessons belong in weights and which should stay in the prompt.
That choice can go the other way. Fast-Slow Training keeps task-specific lessons in optimized prompts and updates weights only a little. It reaches the same performance faster and with much less catastrophic forgetting Can splitting adaptation into two channels reduce forgetting?. So the real question isn't 'distill or train on the text?' but 'should this lesson live in the weights at all?' Distillation makes sense for stable behavior you always want. Prompts suit lessons that change or apply only to certain tasks.
Sources 5 notes
Two methods—BCT (output-level) and ACT (activation-level)—train models to respond identically to clean and wrapped prompts by using the model's own clean responses as targets, eliminating specification and capability staleness inherent in standard SFT.
Research demonstrates that LMs generate outputs inconsistent with their context because parametric knowledge from training dominates over in-context information. Textual prompting alone cannot override strong priors; causal intervention in representations is required.
Prompting works entirely within a model's pre-existing training distribution and cannot supply domain knowledge absent from training data. This creates a hard ceiling: no prompt strategy can compensate for missing foundational knowledge, only reorganize what already exists.
Research shows the bottleneck is not memory capacity but the compute required to consolidate evicted context into fast weights during offline sleep phases. Performance improves with more consolidation passes, following a test-time scaling pattern on harder reasoning tasks.
Fast-Slow Training routes task-specific lessons into optimized prompts while keeping parameter updates minimal, reaching equivalent performance 1.4–3x faster with substantially less catastrophic forgetting and plasticity loss, demonstrating that forgetting is a misallocation problem rather than an inherent cost.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Learning To Retrieve Prompts for In-Context Learning
- Spurious Forgetting in Continual Learning of Language Models
- Consistency Training Helps Stop Sycophancy and Jailbreaks
- Learning, Fast and Slow: Towards LLMs That Adapt Continually
- Retaining by Doing: The Role of On-Policy Data in Mitigating Forgetting
- Recursive Language Models
- How new data permeates LLM knowledge and how to dilute it
- Injecting Domain-Specific Knowledge into Large Language Models: A Comprehensive Survey