Hugging Face Daily PapersYuxiao Yang, Tianrun Yu, Shangzhe Li1 min readpaperadvanced
When EOS Tokens Disagree: Understanding Length Inflation in On-Policy Distillation
Summary
On-policy distillation (OPD) can lead to excessively long student responses, a phenomenon called length inflation. This paper identifies "termination-token mismatch" between base students and post-trained teachers as a key source, where models place stopping probability on different EOS tokens. Treating functionally equivalent EOS tokens as a shared semantic stopping action substantially mitigate…
- On-policy distillation (OPD) can cause student LLMs to generate excessively long responses, exhausting generation budgets.
- A primary cause is "termination-token mismatch" where student and teacher models use different EOS tokens for stopping.
- This mismatch occurs even when models like Qwen3, Llama, and Gemma declare identical stopping token sets.
- Aligning decoding stopping sets is insufficient; treating functionally equivalent EOS tokens as a shared semantic action is crucial.
Engineers working on LLM distillation or fine-tuning should understand this mechanism to prevent common issues like response length inflation and improve model efficiency.
7/10
