Beyond Token Alignment: Event Completion for Cross-Tokenizer On-Policy Distillation
cs.CL, cs.AI
Submitted: 2026-09-28
Updated: 2026-09-28
Comments: 43 pages, 7 figures, 20 tables
Code: https://github.com/THUDM/slime
License: http://creativecommons.org/licenses/by/4.0/
The gist: On-policy distillation (OPD) transfers knowledge between language models through teacher supervision on student-generated trajectories.
Terminology
Abstract
On-policy distillation (OPD) transfers knowledge between language models through teacher supervision on student-generated trajectories. With different tokenizers, a single teacher token may require multiple student tokens to generate, creating intermediate states where the event is entered but not yet completed. Existing cross-tokenizer methods align tokens or text spans to construct comparable prediction targets. We study a complementary problem after partial generation: once the student produces a prefix of a teacher token, multiple next tokens may complete the same remaining bytes, but the teacher only specifies the required completion rather than how probability should be divided among these valid continuations. We introduce Event-Set Completion Distillation (ESCD), which complements cross-tokenizer probability alignment with completion-set supervision. ESCD aggregates prefix-related teacher events and supervises the total probability of byte-compatible one-step student completions, avoiding tokenizer-dependent probability splits among individual tokens. The method reuses student trajectories and predictions, requiring neither additional rollouts nor changes to the student vocabulary. Experiments demonstrate consistent gains in mathematics, code, and scientific reasoning across model families and tokenizers, extending to large-scale MoE distillation from a 1T teacher to a 35B student. Local analyses show that retaining completion sets better matches the reference supervision, while one-step completion covers over 99% of observed compatible teacher mass after partial event entry in the studied tokenizer pairs. These findings support event entry and event completion as complementary supervision targets for cross-tokenizer knowledge transfer. Code will be released on GitHub.
Sources
- On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes
- Multi-Level Optimal Transport for Universal Cross-Tokenizer Knowledge Distillation on Language Models
- Rethinking On-Policy Distillation of Large Language Models II: One Training Example
- ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools
- MiniLLM: On-Policy Distillation of Large Language Models
- Distilling the Knowledge in a Neural Network
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
- Entropy-Aware On-Policy Distillation of Language Models
- Sequence-Level Knowledge Distillation
- DistiLLM: Towards Streamlined Distillation for Large Language Models
- DistiLLM-2: A Contrastive Approach Boosts the Distillation of LLMs
- Autoregressive Knowledge Distillation through Imitation Learning
- Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation
- Qwen3 Technical Report
- Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
- X-Token: Projection-Guided Cross-Tokenizer Knowledge Distillation
- SimCT: Recovering Lost Supervision for Cross-Tokenizer On-Policy Distillation
- Knowledge Fusion of Large Language Models
- Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalization
- FrontierScience: Evaluating AI's Ability to Perform Expert-Level Scientific Tasks
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering