Context Distillation
Transfers behavior induced by a conditioning context into model weights.
Method
Have a teacher generate targets with an extended instruction/context; train a student on those targets with reduced context.
Applications
Prompt compression, transferring conditioned behavior.
Advantages
May reduce repeated prompt cost.
Limitations
Can memorize facts or inherit errors; cannot replace live retrieval of changing or private facts.
Alternatives
RAG, knowledge distillation, retrieval-augmented fine-tuning.
Example
Distill responses conditioned on a fixed assistant instruction.
Editorial clarification
Body describes context distillation. RAFT instead fine-tunes with retrieved relevant and distractor documents; it is not context-free distillation.
Sources
Educational reference only, not professional advice.
All algorithms