TL;DR
When you deploy an LLM in the real world, its system prompt quickly bloats with endless hotfixes, edge-case rules, and tool updates. Trying to repeatedly bake those growing prompt patches directly into the model's weights—so you can keep prompts short and cheap—causes the model to mysteriously degrade after the very first update. This paper uncovers why this recursive "prompt internalization" collapses, and introduces a clever training recipe that recycles the model's own confusion to keep it learning smoothly over time.
What Problem Does This Paper Address?
Anyone maintaining an LLM in production knows the "Franken-prompt" problem: every time the model fails, engineers slap a new rule ("experience patch") onto the system prompt. Eventually, inference gets slow and expensive. The standard fix is prompt internalization—using self-distillation to teach a student model with a short, compact prompt to mimic the behavior of a teacher model reading the massive, full prompt.
Previously, researchers treated this as a one-off compression task. Move the prompt into the weights once, and you're done. But real-world deployment is continuous. Next week, you'll have new patches, and you have to distill them into the checkpoint you already updated last week, rather than starting over from the base model.
The authors formalize this realistic loop as Continuous Experience Internalization (CEI)—and discover that standard self-distillation completely breaks down here. While an "oracle" model reading the ever-growing full prompt gets monotonically smarter, a recursively updated student peaks at Stage 1 and then actively degrades, forgetting old rules, ignoring new ones, and hallucinating with supreme confidence.
Methods
Instead of simply filtering out bad training data or throwing standard preference optimization (like DPO) at the problem, the authors reshape the geometry of the supervision signal using Recycled Internalization Training (RIT). RIT splits each update stage into two complementary modules:
- MUSE (Isolating Teacher Variance): Sometimes a teacher model gets the right final answer, but its underlying token probabilities (logits) are brittle and spiky—if you reorder the prompt patches slightly, its internal reasoning shifts. Directly distilling sharp, unstable logits makes the student overconfident in noise. MUSE perturbs the oracle prompt (reordering patches, raising temperature) to check for consensus. If the views agree, it applies entropy-aware logit smoothing to flatten out "pseudo-confident" spikes before training the student.
- RACE (Recycling Student Errors): What happens when MUSE catches conflicting teacher views, protocol violations, or stubborn errors inherited from the previous student checkpoint? Instead of throwing them away, RACE recycles them into soft-margin preference pairs. Crucially, unlike standard binary DPO, RACE calibrates the penalty margin: genuine teacher ambiguity gets a gentle nudge, while high-confidence "carry-over" errors from previous stages get hit with strong corrective gradients. High-value fixes are saved in an anchor buffer for replay so old rules aren't forgotten.
Datasets
To diagnose this phenomenon properly, the authors built CEI-Bench, a stage-wise benchmark spanning three distinct domains:
- GSM8K (mathematical reasoning)
- BBH / BIG-Bench Hard (compositional reasoning)
- AgentInstruct (agentic tool use and strict protocol following)
Unlike static benchmarks, CEI-Bench introduces sequential chains of 9 realistic experience patches derived from actual failure cases, tracking not just overall task accuracy, but old-patch retention, new-patch absorption, and high-confidence error rates across stages.
Key Insights and Ideas
- Patches don't go stale; the student's "brain" gets full: A natural suspicion is that fine-tuned models simply stop caring about new prompt rules. The authors prove this false with a neat "dynamic-oracle" check: if you explicitly paste Patch 2 onto an already-internalized Stage-1 student, its accuracy jumps right back up. The rules still work—the model just fails to digest them into its parameters.
- Subspace Collapse blocks new rules: Why can't it digest them? Standard cross-entropy distillation compresses the model's hidden representations toward the dominant task manifold (shrinking the covariance trace). By Stage 2 or 3, there's less orthogonal "free space" left to project new patches onto without overwriting old ones.
- Gradient Confirmation Bias amplifies hallucinations: Because Stage $t$ initializes from Stage $t-1$, any mistake the previous student learned starts with a prior probability near 1. If an uncertain teacher assigns even a tiny non-zero probability to that wrong token, the gradient math turns into an echo chamber, reinforcing the inherited error and drowning out the subtle signal of new patches.
Key Results
Tested primarily on Qwen2.5-7B-Instruct—and validated across Llama-3.1-8B, Gemma-2-9B, and GLM-4-9B—RIT turns downward collapse curves back into upward learning trajectories.
- Reversing Collapse: On Qwen2.5-7B at Stage 3, RIT beats vanilla self-distillation by +3.9 points on GSM8K (91.8% vs. 87.9%), +5.5 on BBH (72.6% vs. 67.1%), and +11.9 on AgentInstruct (46.9% vs. 35.0%).
- Cross-Model Recovery: Across all four 7B–9B model families, RIT recovers 39% to 72% of the performance gap lost between vanilla recursive distillation and the full-prompt oracle.
- Clean Division of Labor: Ablations confirm the theory beautifully—running MUSE alone spikes new-patch absorption (44% $\rightarrow$ 61%), running RACE alone rescues old-patch retention (73% $\rightarrow$ 82%), and combining them hits 87% retention and 66% absorption while slashing high-confidence hallucinations by roughly 40% (from 18.2% down to 10.9%).
Limitations and Future Work
The authors are upfront about the boundaries of their setup: experiments are currently scoped to 7B–9B parameter models, three structured task families, and relatively short patch ladders (mainly 3 stages, with stress tests up to Stage 5). Open-ended creative tasks and massive frontier scales remain untested. Furthermore, RIT isn't a free lunch—generating multi-view teacher perturbations adds training-time compute overhead, and while it delays collapse, a fixed-size model still has finite parameter capacity. Finally, better internalization is a double-edged sword: if an engineering team writes a biased or flawed prompt patch, RIT will very reliably bake that flaw straight into the model's weights, making pre-deployment auditing essential.
Summary updated