Longer prefixes become harder to rescue.
TRR measures teacher continuation on student prefixes. IDR reverses the roles, measuring student continuation on safe teacher prefixes.

1 The State Key Laboratory of Blockchain and Data Security, Zhejiang University
2 Ant Group
Learn from reliable supervision.
Update safety-critical tokens.
less rollout computation
of tokens backpropagated
largest evaluated model
Results across Qwen3 and DeepSeek-R1-Distill models · See the experiments below
On-Policy Self-Distillation (OPSD) has emerged as a promising paradigm for safety alignment, delivering dense, token-level supervision by distilling from a teacher conditioned on refusal-oriented privileged prompts. However, we reveal that this paradigm suffers from critical inefficiencies that degrade both training efficiency and general reasoning capabilities. Specifically, we diagnose two fundamental bottlenecks: (1) supervisory collapse over extended rollouts, where the teacher’s corrective efficacy degrades precipitously as the student’s generation prefix lengthens, injecting noisy gradients into late-stage tokens; and (2) gradient dilution from stylistic shifts, where the distillation objective is dominated by safety-irrelevant stylistic discrepancies induced by privileged prompting, washing out genuine safety signals and impairing base reasoning.
To resolve these issues, we propose Efficient On-Policy Self-Distilled Safety Alignment (EOPSA), which concentrates computational and gradient budgets exclusively on reliably supervised, safety-critical tokens. EOPSA incorporates two coordinated mechanisms: Adaptive Rollout Scheduling, which dynamically bounds the generation horizon guided by Teacher Rescue Rate (TRR), and Selective Distillation, which filters out safety-neutral tokens to restrict gradient updates to safety-pivotal transitions. Extensive evaluations across reasoning models up to 32B parameters demonstrate that EOPSA slashes rollout computation by ~50% and backpropagates through merely ~2% of tokens, consistently outperforming full-token distillation baselines in both safety compliance and reasoning retention.
Evidence from the paper’s analysis of teacher reliability and token-level divergence.
TRR measures teacher continuation on student prefixes. IDR reverses the roles, measuring student continuation on safe teacher prefixes.
The high-KL subset contains many function words, identical top-1 predictions, and safety-neutral lexical shifts.
EOPSA coordinates sequence-level truncation and token-level semantic filtering.
The same student-generated prefixes feed a frozen teacher. EOPSA adds a reliable horizon and a safety-critical token mask.
1/NK ∑ mt KL(PT ∥ PS)Only selected positions contributeTRR is measured at validation checkpoints; the longest reliable candidate caps generation.
The token mixing is a visual aid. Classification uses each student–teacher top-1 pair; no random shuffle is performed in training. Token counts and cutoff shown here are illustrative. Method and Algorithm 1 ↗
Select the longest candidate horizon whose validation Teacher Rescue Rate meets the reliability threshold. The default candidates are {128, 256, 1024}, with τ = 0.75.
Illustrative outcomes, not a rule for every sample. TRR measures rescue reliability over validation examples.
Use the top-1 student–teacher token pair to classify each position. Retain Pivot, Intent, and Risk; filter Function, Consistent, and Other. Match teacher and student distributions only at selected positions.
Reported training fraction. The example token count above is illustrative.
Teacher Rescue Rate (TRR) asks: can the teacher still steer a student’s unfinished answer toward safety?
At validation checkpoints, ARS selects the longest candidate horizon with TRR ≥ 0.75. As alignment improves, longer horizons can become available.
Conceptual animation · Candidate horizons: 128, 256, 1024. Drag to explore.
A large KL divergence can mean a change in style. EOPSA compares the student’s and teacher’s top-1 predictions and keeps only safety-critical transitions.
§4.2 · Appendix G. Token pairs share the same student prefix; selected positions receive distribution-level supervision.
Original results from the paper, including over-refusal and uncertainty.
Explore the reported results, benchmark by benchmark.
Swipe to explore all benchmarks →
71.37% base · 94.18% OPSD
74.65% base · 73.92% OPSD
643.53 for full-token OPSD
Table 1 · Reasoning is averaged across MATH-500, GPQA-D, HumanEval, and LiveCodeBench.
+36.74 points over the base model
7.41 optimized tokens per sample
Over-refusal: 6.20% EOPSA · 0.20% base (lower is better)
Table 1 · Safety averages four benchmarks. Reasoning averages MATH-500, GPQA-D, HumanEval and LiveCodeBench. Scores are percentages; bars use a 0–100 scale.
ARS reduces autoregressive rollout work. Selective Distillation concentrates gradient updates on safety-critical positions.
Qwen3-1.7B · Figure 5
Rollout time, training time, and effective data size.
Two cases from Appendix I: hypothetical framing at 1.7B and a chemistry-related jailbreak at 32B.
If you find this work useful for your research, please cite our paper.
@misc{liu2026eopsaefficientonpolicyselfdistilled,
title={EOPSA: Efficient On-Policy Self-Distilled Safety Alignment},
author={Qirui Liu and Yichen Sun and Yan Wang and Yu Mi and
Wei Cao and Yue Shen and Zhixuan Chu and Kui Ren},
year={2026},
eprint={2609.34519},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2609.34519}
}