Paper deep dive
Hesitation-Aware On-Policy Distillation for Diffusion Language Models
Jianguo Huang, Lipeng Wan, Yanchen Deng, Bo An
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Diffusion large language models (dLLMs) generate text by iterative unmasking. At each denoising step, a dLLM proposes a token at every masked position, but the decoder commits only a confident subset of these proposals. Trace-based on-policy distillation (TOPD) builds on this process by matching the student to a stronger teacher, yet only at the committed positions. We argue that this discards much of the useful signal, which resides in the uncommitted proposals, where the student has made a prediction but is not yet confident enough to commit it. We call these proposals hesitations. In our pilot study on an SDAR-4B student, hesitations make up only 24% of supervisable state-position pairs but carry 66% of the teacher-student divergence. To exploit this signal, we propose Hesitation-Aware On-Policy Distillation (HOPD), which extends teacher distribution matching to every masked position of each denoising step. Because hesitations are not equally informative, we further allocate supervision using hindsight from the completed trajectory, placing more weight on positions whose proposal was later disagreed with the final token and on blocks where first-step proposals rarely survive. Since both models already produce distributions at all masked positions, HOPD requires no additional forward passes over TOPD. The only extra cost is evaluating the loss at more positions. With SDAR-1.7B and SDAR-4B students distilled from TraDo-8B-Instruct, HOPD achieves the best average score among the evaluated methods on five math and coding benchmarks, under both static and dynamic decoding and at both scales. It also speeds up decoding. On SDAR-4B, the HOPD student hesitates less and commits 11% more tokens per denoising step than TOPD, while reaching higher accuracy.
Tags
Links
- Source: https://arxiv.org/abs/2609.33301v1
- Canonical: https://arxiv.org/abs/2609.33301v1
Trouble viewing inline? Open PDF directly ā
Full Text
70,689 characters extracted from source content.
Expand or collapse full text
Hesitation-Aware On-Policy Distillation for Diffusion Language Models Jianguo Huang Affiliation: Nanyang Technological University, Singapore Lipeng Wan Affiliation: Xiāan Jiaotong University, China Yanchen Deng ā thanks: Corresponding author Affiliation: Nanyang Technological University, Singapore Bo An Affiliation: Nanyang Technological University, Singapore Abstract Diffusion large language models (dLLMs) generate text by iterative unmasking. At each denoising step, a dLLM proposes a token at every masked position, but the decoder commits only a confident subset of these proposals. Trace-based on-policy distillation (TOPD) builds on this process by matching the student to a stronger teacher, yet only at the committed positions. We argue that this discards much of the useful signal, which resides in the uncommitted proposals, where the student has made a prediction but is not yet confident enough to commit it. We call these proposals hesitations. In our pilot study on an SDAR-4B student, hesitations make up only 24% of supervisable stateāposition pairs but carry 66% of the teacherāstudent divergence. To exploit this signal, we propose Hesitation-Aware On-Policy Distillation (HOPD), which extends teacher distribution matching to every masked position of each denoising step. Because hesitations are not equally informative, we further allocate supervision using hindsight from the completed trajectory, placing more weight on positions whose proposals often disagree with the final token and on blocks whose first-step proposals rarely survive. Since both models already produce distributions at all masked positions, HOPD requires no additional forward passes over TOPD. The only extra cost is evaluating the loss at more positions. With SDAR-1.7B and SDAR-4B students distilled from TraDo-8B-Instruct, HOPD achieves the best average score among the evaluated methods on five math and coding benchmarks, under both static and dynamic decoding and at both scales. It also speeds up decoding: on SDAR-4B, the HOPD student hesitates less and commits 11% more tokens per denoising step than TOPD, while reaching higher accuracy. 1 Introduction Much of the reasoning ability of large language models (LLMs) is acquired in post-training (Guo et al., 2025; Chu et al., 2025). Although diffusion large language models (dLLMs) (Sahoo et al., 2024; Nie et al., 2026; Arriola et al., 2025; Ye et al., 2025; Cheng et al., 2026) have emerged as a competitive non-autoregressive alternative, post-training for strong reasoning remains challenging, largely because the current recipes fail to jointly satisfy the desiderata of an effective training signal: dense supervision at every token and on-policy states drawn from the modelās own generation process. Supervised fine-tuning (SFT) provides dense supervision by training the model to reconstruct a fixed target response corrupted with random masks, whereas the randomly masked states it learns from diverge from the partially decoded states encountered at inference, giving rise to exposure bias and weaker generalization. Reinforcement learning with verifiable rewards (RLVR), by contrast, trains on the modelās own rollouts and thereby avoids this mismatch, at the cost of sparse and high-variance sequence-level rewards that render credit assignment over long denoising trajectories difficult and optimization expensive (Zhao et al., 2025b; Wang et al., 2026c; Ou et al., 2026). On-policy distillation (OPD) (Agarwal et al., 2024; Lu and Thinking Machines Lab, 2025) satisfies both desiderata by having the student sample its own outputs and querying a stronger teacher for a dense token-level signal on exactly those samples. Unlike an autoregressive student, which makes exactly one prediction per state, a dLLM student proposes a token for every masked position at each denoising step and commits only the subset selected by a decoding rule. Therefore, extending OPD to dLLMs requires deciding at which of these positions the teacher signal should be applied. Trace-based on-policy distillation (TOPD) (Ren et al., 2026) resolves this choice by supervising only the trace, namely the token decisions committed along the trajectory, which are precisely those that constitute the final response. This supervision scheme is aligned with the underlying decoding process, as the committed tokens are the actions taken by the decoder at each step, and trajectory-level RL for dLLMs likewise evaluates each denoising step only at the tokens it unmasks (Wang et al., 2026c; Huang et al., 2026; Zhan, 2025; Wang et al., 2026b; Pan et al., 2026). However, trace-only supervision leaves out every proposal that the decoder declines to commit at the current denoising step. We refer to such uncommitted proposals as hesitations, since a proposal whose confidence falls short of the commitment criterion is withheld much as a speaker hesitates before uttering an expression (Maclay and Osgood, 1959). A hesitated position remains masked and is predicted again at subsequent steps until one of its proposals is finally committed, so the committed token is only the last in a series of predictions at that position. TOPD reaches only this last prediction, whereas supervising hesitations allows the teacher to guide the entire series, including how quickly it becomes confident enough to be committed. A pilot study on the rollouts of the base SDAR-4B student confirms that this signal is substantial, revealing that hesitations account for only 24% of supervisable stateāposition pairs but 66% of the teacherāstudent divergence, while the student already closely matches the teacher at many of the positions supervised by TOPD. The same study further shows that disagreement varies systematically with the studentās proposal history, being larger on average at positions whose proposals more often differ from the final token and in blocks whose first-step proposals less often match the final tokens. These observations motivate Hesitation-Aware On-Policy Distillation (HOPD), which extends teacher distribution matching from the committed positions to every masked position of each visited state. Because both models already produce distributions at all masked positions, this expansion requires no forward passes beyond those of TOPD. Guided by the second finding of the pilot study, HOPD further allocates supervision within the expanded target set according to hindsight from the completed trajectory, assigning greater weight to positions whose proposals more often differ from the final token and to blocks whose first-step proposals less often match the final tokens. Since the teacher now shapes the studentās predictions at hesitations as well, we expect HOPD to raise the studentās confidence in teacher-supported tokens, allowing more positions to reach the commitment threshold earlier and thereby accelerating decoding. Experiments on SDAR-1.7B and SDAR-4B students confirm that HOPD improves both accuracy and decoding efficiency over TOPD. We summarize our main contributions as follows: ⢠We identify hesitations as supervisable stateāposition pairs omitted by trace-only distillation, and show in a pilot study that they carry most of the teacherāstudent divergence and that this divergence varies systematically with the studentās proposal history. ⢠We propose HOPD, which extends teacher distribution matching to all masked positions of each visited state without additional forward passes, and complement it with hindsight weights derived from the completed trajectory so as to direct more supervision toward positions and blocks where the studentās predictions are least settled. ⢠We evaluate HOPD against SFT, off-policy distillation, trajectory-aware RL, and TOPD on five math and coding benchmarks. HOPD achieves the highest average score under both decoding rules at both scales, commits 11% more tokens per denoising step than TOPD on SDAR-4B, and extends to the full-attention LLaDA-8B-Instruct. 2 Preliminaries 2.1 Masked Diffusion Language Models Let V be the vocabulary, [M]ā[M] a special mask token, and q a prompt. A response state sā(āŖ[M])Lsā(VāŖ\[M]\)^L is a length-L sequence in which some positions are masked, and we denote the set of these masked positions by ā³ā”(s)M(s). A dLLM is a denoiser ĻĪø _Īø that, given (q,s)(q,s), outputs in a single forward pass a categorical distribution ĻĪø(ā ā£q,s,j) _Īø(Ā· q,s,j) over V for every masked position jāā³ā”(s)j (s). Block attention. Block-attention dLLMs, such as SDAR (Cheng et al., 2026) and TraDo (Wang et al., 2026c), partition the response into consecutive blocks of size B and apply a block-causal attention mask, under which a position in block b attends to the prompt and to all positions in blocks ā¤b⤠b, but to none in later blocks. Generation therefore proceeds block by block, with each block starting fully masked, being denoised in at most K steps, and then being frozen before the next block begins. Because attention within a block is bidirectional, its B positions can be revealed in any order, which the decoding rule determines at inference time. In the block-wise objectives below, we slightly abuse ā³ā”(s)M(s) to denote only the masked positions of the current block. Decoding rules. At denoising step t, given the current state sts_t, the model proposes a token x^t,jā¼ĻĪø(ā ā£q,st,j) x_t,j _Īø(Ā· q,s_t,j) for every masked position j of the current block, together with a confidence ct,j=ĻĪøā(x^t,jā£q,st,j)c_t,j= _Īø( x_t,j q,s_t,j). A decoding rule then chooses which proposals to commit, and the committed tokens are written into the state. Static decoding commits the B/KB/K highest-confidence positions at each step, assuming K divides B (Appendix B.4), whereas dynamic decoding commits every position with ct,j>Ļc_t,j>Ļ and falls back to the highest-confidence position when none qualifies, so that the number of commits varies across steps. Under either rule, the masked positions of the current block are partitioned as ā³ā”(st)=AtāŖRtM(s_t)=A_tāŖ R_t into a committed set AtA_t and an uncommitted set RtR_t, whose positions remain masked and are proposed again at the next step. 2.2 On-Policy Distillation On-policy distillation (OPD) (Agarwal et al., 2024) is a post-training method in which a student model learns from its own rollouts rather than from teacher-generated trajectories. For an autoregressive student ĻĪø _Īø and a frozen teacher Ļtea _tea, OPD samples a response yā¼ĻĪø(ā ā£q)y _Īø(Ā· q) and minimizes a token-level divergence between the next-token distributions of the two models along the same prefixes. Recent OPD methods (Gu et al., 2024; Lu and Thinking Machines Lab, 2025) adopt the reverse KL divergence, whose mode-seeking behavior encourages the student to concentrate on the modes preferred by the teacher: āOPD(Īø)=q,yā¼ĻĪøāiDKL(ĻĪø(ā ā£q,y<i)ā„Ļtea(ā ā£q,y<i)).L_OPD(Īø)=E_q,\,y _Īø _iD_KL\! ( _Īø(Ā· q,y_<i)\,\|\, _tea(Ā· q,y_<i) ). (1) When evaluating the divergence over the full vocabulary is costly, the reverse KL admits a single-sample score-function estimator (Lu and Thinking Machines Lab, 2025) which, treating the sampled prefixes as fixed, uses only the sampled token x=yix=y_i: āĪøāāāāĪøālogāĻĪøā(xā£q,y<i)āsgā[logā”Ļteaā(xā£q,y<i)ālogā”ĻĪøā(xā£q,y<i)], _ĪøLā- _Īø _Īø(x q,y_<i)\;sg\! [ _tea(x q,y_<i)- _Īø(x q,y_<i) ], (2) where sgsg denotes the stop-gradient operator. Given the prefix y<iy_<i, Equation 1 evaluates the divergence only at the next-token position. In a dLLM, however, each denoising step produces distributions over all masked positions, while the decoder commits only a subset. Extending OPD to dLLMs therefore requires specifying a target set of positions for each visited state. Trace-Based OPD for dLLMs. For a dLLM rollout, the decoding trajectory is ξ=(s0,s1,ā¦,sT)ξ=(s_0,s_1,ā¦,s_T): s0s_0 is fully masked, sTs_T is the final response, and step t moves from sts_t to st+1s_t+1 by writing the proposals at the committed positions AtA_t into the state. Trace-Based OPD (TOPD) (Ren et al., 2026) evaluates the teacher and the student on the same pre-action state sts_t, i.e., the state before the commitment at step t is applied, and at the same position, and matches them with the reverse KL. Specifically, the loss of TOPD is given by: āTOPD(Īø)=q,ξā¼ĻĪøāt:|At|>01|At|ājāAtDKL(ĻĪø(ā ā£q,st,j)ā„Ļtea(ā ā£q,st,j)).L_TOPD(Īø)=E_q,\,ξ _Īø _t:\,|A_t|>0 1|A_t| _jā A_tD_KL\! ( _Īø(Ā· q,s_t,j)\,\|\, _tea(Ā· q,s_t,j) ). (3) In this paired objective, the teacher signal is dense at the token level and aligned with the studentās diffusion trace. Only committed proposals are written into the state and thus form the trajectory, so AtA_t is a natural target set. TOPD inherits this trace principle from TraceRL (Wang et al., 2026c). 3 Where Does the Teacher Disagree? A Pilot Study TOPD relies on the decoderās commitment decisions to determine where teacher supervision is applied. In this section, we first measure the disagreement that this choice leaves out, and then ask whether simple statistics of the completed trajectory can identify positions and blocks with greater average disagreement. The two analyses motivate, respectively, the expanded target set of HOPD and its hindsight-based weighting. Hesitations. Since both the student and the teacher output a distribution over the vocabulary at every masked position jāā³ā”(st)=AtāŖRtj (s_t)=A_tāŖ R_t, each such stateāposition pair is supervisable regardless of whether its proposal is committed, which makes commitment and supervision two distinct decisions. We call a supervisable pair (st,j)(s_t,j) with jāRtjā R_t a hesitation, as its proposal is left uncommitted and the student predicts the same position again at a later step. Letting x^t,j x_t,j denote the sampled proposal and sT,js_T,j the final token at position j, we partition the supervisable pairs into three categories: ⢠committed: jāAtjā A_t, so the proposal is written into the state and becomes the final token. TOPD supervises exactly these pairs. ⢠deferred: jāRtjā R_t and x^t,j=sT,j x_t,j=s_T,j, so the uncommitted proposal matches the token eventually committed there. ⢠retracted: jāRtjā R_t and x^t,jā sT,j x_t,jā s_T,j, so the uncommitted proposal differs from the token eventually committed. Deferred and retracted pairs constitute the hesitations. The two kinds of hesitation call for opposite behavior. A deferred proposal already matches the final token, so ideally the student would commit it sooner. A retracted proposal is later abandoned, so remaining uncertain there is appropriate. Figure 1: Hesitation pilot study on the rollouts of the base SDAR-4B student under dynamic decoding, with TraDo-8B-Instruct as the teacher. Left: share of all supervisable stateāposition pairs (light blue) and share of the total teacherāstudent reverse KL (dark blue) in each commitment category. Middle: mean per-position KL, averaged over each positionās recorded steps and grouped by the retraction count eje_j, i.e., the number of uncommitted proposals at position j that differ from its final token. Right: mean per-block KL, averaged over masked positions within each step and then over steps, grouped by the first-step mismatch count eb(0)e_b^(0), i.e., the number of positions in block b whose first proposal differs from the final token; only complete four-position blocks are included. Error bars in the middle and right panels are 95% confidence intervals. Setup of our pilot study. We sample one trajectory per prompt from base SDAR-4B-Chat on the MATH training prompts, using dynamic decoding with the training settings (Appendix B). At each recorded pre-action state, we evaluate the student and the frozen TraDo-8B-Instruct teacher on the same masked positions and measure their KL divergence. Figure 1 summarizes the results, and Appendix A gives the experimental details. Hesitations carry most of the divergence. As shown in Figure 1 (left), committed pairs account for 75.8%75.8\% of all recorded stateāposition pairs, whereas deferred and retracted pairs account for only 11.5%11.5\% and 12.7%12.7\%, respectively. Despite comprising less than a quarter of the pairs, the two hesitation categories carry 66.1%66.1\% of the total teacherāstudent reverse KL. Trace-only supervision therefore omits a disproportionate share of the disagreement, located precisely at positions that the student must predict again before committing a token. Hindsight and disagreement. We next ask whether the studentās proposal history, which becomes available once a trajectory is complete, indicates where the disagreement is concentrated. At the position level, we define the retraction count eje_j as the number of sampled proposals at position j that differ from its final token, thereby counting disagreements with the eventual outcome rather than changes between successive proposals. As shown in Figure 1 (middle), the mean KL of a position, averaged over its recorded steps, grows from 0.090.09 for positions without retractions to 0.500.50, 0.610.61, and 0.720.72 for one, two, and three or more retractions. At the block level, we define the first-step retention Ļb _b as the fraction of positions in block b whose first proposal matches the final token, regardless of whether that proposal is committed, and observe an analogous trend in Figure 1 (right), where the mean KL of a block rises from 0.070.07 to 0.380.38, 0.450.45, and 0.500.50 as the first-step mismatch count eb(0)=Bā”(1āĻb)e_b^(0)=B(1- _b) increases from zero to three. Since both statistics average the KL over denoising steps rather than summing it, these trends do not merely reflect a larger KL sum accumulated over more steps. Taken together, these observations motivate the two key points: extending supervision to hesitations, and using hindsight from the completed trajectory to allocate this supervision across positions and blocks. We treat the hindsight statistics as heuristic signals for this allocation and evaluate their effect on training separately in Section 6. 4 Hesitation-Aware On-Policy Distillation Figure 2: Overview of HOPD. Left: Dynamic decoding of a four-token block (Ļ=0.9Ļ=0.9). Blue proposals are committed, while yellow proposals are hesitations whose positions remain masked. Right: At each visited pre-action state, the student matches the frozen teacherās distributions at all masked positions, including hesitations. Position and block weights are computed from the completed trajectoryās retraction counts and first-step retention, respectively. Building on these findings, we propose Hesitation-Aware On-Policy Distillation (HOPD), which extends teacher distribution matching from the committed positions to every masked position of each visited state, and weights this supervision using hindsight from the completed trajectory. We first describe how training states are collected, then present the objective together with its per-position loss and hindsight weights, and finally discuss its implications for inference. On-policy states. At each rollout round, the current student generates trajectories that define the visited pre-action states sts_t. At each such state, the student is matched to the frozen teacher, while the sampled trajectories remain fixed during the subsequent updates. Hindsight weighting. Motivated by the pilot study, we define position and block weights using the retraction count eje_j and first-step retention Ļb _b introduced in Section 3: wj=1+ej,wb=maxā”(1āĻb,Ļmin),Ļmin=0.1.w_j=1+e_j, w_b= (1- _b, _ ), _ =0.1. (4) These weights emphasize positions with more retractions and blocks with lower first-step retention. Intuitively, wjw_j reflects hesitation before settling on a choice: how often the student proposes alternatives to the token eventually committed at a position. In contrast, wbw_b reflects the fragility of first impressions: the fraction of a blockās initial proposals that do not survive in the final response. The floor Ļmin _ ensures that every block retains a positive weight. Both weights are computed from the completed trajectory and shared across the training rows. Training objective. For each row, HOPD matches the student and the frozen teacher on the same state at every masked position, ā³ā”(st)=AtāŖRtM(s_t)=A_tāŖ R_t. The objective is given by: āHāOāPāD(Īø)=q,ξā¼ĻĪøāt:|ā³ā”(st)|>0wbā”(t)1|ā³ā”(st)|ājāā³ā”(st)wjāt,j(Īø),L_HOPD(Īø)=E_q,\,ξ _Īø _t:\,|M(s_t)|>0w_b(t)\, 1|M(s_t)| _j (s_t)w_j\, _t,j(Īø), (5) where āt,j _t,j is the per-position distribution-matching loss, bā”(t)b(t) is the block denoised at step t. Figure 2 illustrates how HOPD combines student-generated trajectories, teacher distribution matching, and hindsight weighting. Full-vocabulary reverse KL. For the per-position loss āt,j _t,j, we use full-vocabulary reverse KL to directly match the student and teacher distributions. Rather than estimating the divergence from a single sampled token, we evaluate it over the entire vocabulary at each recorded state and position: āt,j(Īø)=DKL(ĻĪø(ā ā£q,st,j)ā„Ļtea(ā ā£q,st,j)),jāā³(st). _t,j(Īø)=D_KL\! ( _Īø(Ā· q,s_t,j)\,\|\, _tea(Ā· q,s_t,j) ), j (s_t). (6) This removes token-sampling noise from the per-position divergence evaluation, while the reverse-KL direction penalizes probability mass that the student assigns to tokens with little teacher support. Neither the uncommitted proposal nor the studentās final token is used as a hard target: the target is the teacherās distribution at that state and position. Inference. HOPD does not change the decoding rule. During the training process, teacher-supported predictions may reach the confidence threshold earlier, allowing more commitments per step at the inference stage. Section 5.2 evaluates the resulting decoding efficiency empirically. 5 Experiments 5.1 Setup Models and data. Main experiments use SDAR-4B-Chat and SDAR-1.7B-Chat (Cheng et al., 2026) as students and TraDo-8B-Instruct (Wang et al., 2026c) as the teacher. For mathematical post-training, we use the MATH training set (Hendrycks et al., 2021), retaining level 3ā5 problems, yielding 8K tasks. For the coding setting, we use 6K verified problems from PrimeIntellect (Jaghouar et al., 2024), verified by DeepCoder (Luo et al., 2025). Rollout and training. Training rollouts use dynamic decoding with threshold Ļ=0.9Ļ=0.9 and temperature 1.01.0. A rollout round samples one response for each of 64 prompts with the JetEngine inference engine (Cheng et al., 2026), synchronized with the live student before every round, and applies one epoch of training on the resulting trace rows. A round thus contains multiple optimizer steps rather than a single update. Appendix B.1 lists every hyperparameter. Baselines. SFT is semi-autoregressive supervised fine-tuning (Wang et al., 2026c) on fixed teacher responses: every 4-token block of a TraDo-8B-Instruct response is corrupted with an independent mask rate drawn from [0.1,0.9][0.1,0.9] and reconstructed with a block-wise cross entropy. Off-policy applies the full-vocabulary reverse KL at the committed positions of frozen teacher trajectories instead of the current studentās (Ren et al., 2026). TraceRL (Wang et al., 2026c) is trajectory-aware RL with verifiable rewards. For SDAR-4B, we evaluate the released TraDo-4B-Instruct, and for SDAR-1.7B we train with the public implementation. TOPD (Ren et al., 2026) uses the sampled-token reverse-KL estimator. We also evaluate a full-vocabulary reverse-KL variant of TOPD in Appendix B.6. Appendix B.2 gives the baseline configurations. Evaluation. We report MATH500 (Lightman et al., 2024), AIME2024 (Mathematical Association of America, 2024), and GSM8K (Cobbe et al., 2021) for mathematics, and LiveCodeBench-v2 (Jain et al., 2025) and LiveBench (White et al., 2025) for coding, under both static and dynamic (Ļ=0.9Ļ=0.9) following the evaluation setting with TraceRL (Wang et al., 2026c). MATH500, GSM8K, and the coding benchmarks report avg@3; AIME2024 reports avg@20. Checkpoints are selected on MATH500 or LiveCodeBench-v2 under each decoding rule (Appendix B.4). 5.2 Main Results Table 1: The main benchmark results across different math and coding tasks. āStaticā refers to static sampling, and āDynamicā refers to dynamic sampling. Model MATH500 AIME2024 GSM8K LiveCodeBench-v2 LiveBench Avg. Static Dynamic Static Dynamic Static Dynamic Static Dynamic Static Dynamic Static Dynamic TraDo-8B-Instruct (teacher) 78.5 75.5 13.3 11.0 92.3 91.2 25.9 22.4 22.7 20.6 46.5 44.1 SDAR-1.7B-Chat 61.7 54.2 4.0 4.7 80.9 78.4 7.2 4.2 5.2 4.2 31.8 29.1 + SFT 49.2 46.3 1.0 3.8 77.0 74.7 7.8 6.6 6.2 8.6 28.2 28.0 + Off-policy 63.3 56.6 6.8 3.2 81.6 75.1 11.3 9.1 11.7 7.8 34.9 30.4 + TraceRL 62.5 56.1 6.7 3.5 81.1 78.7 9.4 4.7 10.7 5.7 34.1 29.7 + TOPD 64.5 58.1 2.2 3.2 81.9 78.2 10.4 7.7 9.4 6.2 33.7 30.7 + HOPD (ours) 66.8 59.5 3.7 5.0 83.6 78.8 11.1 8.9 10.9 9.9 35.2 32.4 SDAR-4B-Chat 70.5 66.1 7.5 7.8 90.5 88.9 19.3 11.7 19.0 9.6 41.4 36.8 + SFT 60.7 53.3 5.7 4.8 83.7 81.7 12.9 11.0 12.8 10.9 35.1 32.3 + Off-policy 75.6 71.3 7.8 8.0 91.3 90.1 21.5 19.3 19.3 17.2 43.1 41.2 + TraceRL (TraDo-4B-Instruct) 76.2 71.0 7.7 8.8 91.3 89.7 18.0 13.9 14.8 9.9 41.6 38.7 + TOPD 74.9 71.3 11.2 7.2 92.0 90.0 21.9 18.6 19.8 17.4 43.9 40.9 + HOPD (ours) 74.9 72.5 15.0 9.7 91.1 90.7 20.9 19.8 22.1 19.8 44.8 42.5 Main results. Table 1 shows that HOPD achieves the highest five-benchmark average among the evaluated training methods at both model scales under both decoding rules. Relative to TOPD, the average gains are 1.51.5/1.71.7 percentage points on SDAR-1.7B and 0.90.9/1.61.6 on SDAR-4B under static/dynamic decoding, respectively. Moreover, the advantage of HOPD is particularly consistent under dynamic decoding: On SDAR-1.7B, it also outperforms TOPD on every benchmark under both decoding rules. On SDAR-4B, its static AIME2024 and LiveBench scores are the highest, improving over TOPD by 3.83.8 and 2.32.3 points, respectively. These results demonstrate the effectiveness of HOPD across model scales and decoding strategies. Figure 3: Accuracy against committed tokens per denoising step on MATH500 (dynamic decoding) as the commit threshold Ļ goes from 0.50.5 to 0.990.99, right to left along each curve; large markers denote the training threshold Ļ=0.9Ļ=0.9. Left: SDAR-4B. Right: SDAR-1.7B. Decoding speed. To evaluate the decoding efficiency of students trained with HOPD, we sweep the commit threshold Ļā0.5,0.7,0.8,0.9,0.95,0.99Ļā\0.5,0.7,0.8,0.9,0.95,0.99\ during dynamic decoding and measure the average number of committed tokens per denoising step. Figure 3 shows that HOPD achieves a better accuracyāefficiency trade-off than TOPD on MATH500 at both model scales. On SDAR-4B, this advantage is particularly clear in the high-accuracy regime: at every evaluated threshold Ļā„0.9Ļā„ 0.9, the HOPD-trained student achieves the highest accuracy among the compared methods. At the training threshold Ļ=0.9Ļ=0.9, it reaches 72.5%72.5\% accuracy versus 71.3%71.3\% for TOPD, while committing 11%11\% more tokens per denoising step. Wall-clock throughput results are reported in Appendix B.5. Table 2: Commitment categories after training. Base TOPD HOPD Proportion of pairs Committed 75.2% 72.6% 77.1% Deferred 11.9% 12.0% 10.5% Retracted 12.9% 15.4% 12.4% Predictive entropy (nats) Committed 0.141 0.177 0.124 Deferred 0.962 1.173 1.017 Retracted 1.433 1.984 1.615 Revisiting hesitations after training. We revisit the pilot analysis using the math-trained SDAR-4B students. Table 2 shows that TOPD shifts pairs from committed to retracted and raises the entropy in every category, so the student becomes less certain overall. In contrast, HOPD has the largest committed proportion and the smallest deferred and retracted shares, and its entropy is lower than TOPDās in every category. At deferred pairs in particular, HOPD largely avoids the loss of certainty under TOPD (1.0171.017 vs. 1.1731.173 nats, against 0.9620.962 for the base student), and such pairs are rarer than even for the base student. Fewer deferred pairs mean fewer proposals that already match the final token but are held back, so more positions are committed at each step, consistent with the faster decoding in Figure 3. Table 3: Full-attention model: LLaDA-8B-Instruct with ESPO-trained teachers. Model MATH500 AIME2024 GSM8K LiveCodeBench-v2 LiveBench Avg. Static Dynamic Static Dynamic Static Dynamic Static Dynamic Static Dynamic Static Dynamic LLaDA-8B-Instruct 36.8 37.4 0.0 0.0 81.8 82.2 6.5 6.6 7.3 7.8 26.5 26.8 + ESPO (teacher) 37.4 36.0 0.0 0.0 83.3 82.8 8.4 7.3 12.8 12.0 28.4 27.6 + TOPD 38.2 38.3 0.3 0.3 83.8 82.2 6.8 6.1 10.2 9.4 27.9 27.3 + HOPD (ours) 39.0 38.1 0.2 0.2 82.2 82.4 7.7 6.1 13.0 10.7 28.4 27.5 6 Discussion and Ablation Studies Generalization to full-attention models. To assess the applicability of HOPD to full-attention dLLMs, we apply it to LLaDA-8B-Instruct, using its ESPO-trained math and code variants (Ou et al., 2026) as the respective teachers. Training uses 32-token blocks with a 128-token future horizon. Detailed experimental settings are provided in Appendix C.1. As shown in Table 3, HOPD achieves higher average scores than TOPD under static (28.428.4 vs. 27.927.9) and dynamic (27.527.5 vs. 27.327.3) decoding. For example, on LiveBench under static decoding, HOPD scores 13.013.0 compared with 10.210.2 for TOPD. These results support the applicability of HOPD to the full-attention LLaDA model. Table 4: Comparison of divergence objectives on math with SDAR-4B-Chat. Static Dynamic Per-position loss MATH500 AIME2024 GSM8K Avg. MATH500 AIME2024 GSM8K Avg. Full forward KL 75.6 9.8 91.1 58.8 71.1 8.8 90.3 56.7 Full JSD (β=0.5β=0.5) 75.9 8.2 91.5 58.5 71.8 8.5 90.6 57.0 Sampled-token reverse KL 75.3 7.8 91.7 58.3 71.9 8.3 91.0 57.1 Full reverse KL 74.9 15.0 91.1 60.3 72.5 9.7 90.7 57.6 Effect of divergence objectives. A key design choice in HOPD is the divergence used for per-position distribution matching between the frozen teacher and the student. We compare three full-vocabulary objectives (forward KL, reverse KL, and JensenāShannon divergence, JSD) and sampled-token reverse KL, on math tasks with SDAR-4B-Chat in Table 4. Experimental settings are provided in Appendix C.2. Full reverse KL has the highest reported three-benchmark average in this comparison (60.360.3 static, 57.657.6 dynamic). In contrast, other objectives provide limited improvements. We therefore adopt full-vocabulary reverse KL as the default objective. Table 5: Comparison of hindsight weights on math. Bold: best per column. Static Dynamic Weights MATH500 AIME2024 GSM8K Avg. MATH500 AIME2024 GSM8K Avg. Uniform (wj=wb=1w_j=w_b=1) 75.5 11.2 91.2 59.3 72.5 9.7 90.2 57.5 wjw_j only (wb=1w_b=1) 75.3 8.5 91.5 58.4 71.5 8.5 90.8 56.9 wbw_b only (wj=1w_j=1) 75.5 7.8 92.0 58.4 72.3 10.0 90.5 57.6 wjw_j and wbw_b (HOPD) 74.9 15.0 91.1 60.3 72.5 9.7 90.7 57.6 Discussion on hindsight weights. We evaluate whether weighting by trajectory hesitation provides further gains over uniform supervision of all masked positions. Table 5 compares four weighting configurations with the all-masked target set and full-vocabulary reverse KL fixed. On SDAR-4B, combining position and block weights improves the static average from 59.359.3 to 60.360.3, with AIME2024 increasing from 11.211.2 to 15.015.0, while the dynamic average improves slightly from 57.557.5 to 57.657.6. Similar average gains over uniform weighting hold for SDAR-1.7B math and for code at both scales (Appendix C.3). These results support using trajectory hesitation to guide the allocation of supervision, beyond simply including all masked positions. 7 Related Work Diffusion language models. Most current dLLMs are masked diffusion models with an absorbing-state corruption process (Austin et al., 2021; Sahoo et al., 2024; Shi et al., 2024; Ou et al., 2025), trained from scratch (Nie et al., 2026; Zhu et al., 2026; Bie et al., 2025) or from autoregressive weights (Gong et al., 2025; Ye et al., 2025). Block diffusion decodes fixed-size blocks left to right with bidirectional attention within a block (Arriola et al., 2025). SDAR adapts autoregressive checkpoints into this form (Cheng et al., 2026), and TraDo trains them further with RL (Wang et al., 2026c). Inference uses confidence-based parallel decoding with KV caches (Wu et al., 2026; Ma et al., 2025), and several methods revoke, defer, or correct low-confidence tokens at inference time (Hong et al., 2026; Shu et al., 2026; Schiff et al., 2026; Frkovic et al., 2026). Among post-training methods, SFT reconstructs randomly masked targets and is sensitive to the mask pattern (Wang et al., 2026c; Ren et al., 2026); RL methods must approximate intractable sequence likelihoods (Zhao et al., 2025b; Zhu et al., 2026; Zhao et al., 2025a; Wang et al., 2026a; Ou et al., 2026; Zhong et al., 2026), with MDPO training on decoding states (He et al., 2025) and TraceRL assigning credit along the decoding trace (Wang et al., 2026c), both from a scalar reward. HOPD also trains along the decoding trace but uses the teacherās distribution at every visited state as the signal and leaves the decoder unchanged. On-policy distillation. Knowledge distillation matches a student to a teacherās output distribution (Hinton et al., 2015). Sequence-level distillation trains on teacher-generated outputs (Kim and Rush, 2016) and, like SFT, is subject to exposure bias (Ross et al., 2011). On-policy distillation instead queries the teacher on student samples (Agarwal et al., 2024; Gu et al., 2024; Xu et al., 2025). For masked diffusion, TOPD (Ren et al., 2026) distills a stronger dLLM teacher on the committed decisions of the studentās decoding trace, and dOPSD (Dat et al., 2026) performs self-distillation with the studentās own trajectory as privileged information. Unlike TOPD, HOPD also matches teacher and student distributions at masked positions whose proposals are not committed at the current step, bringing the studentās hesitations into on-policy distillation. 8 Conclusion We presented HOPD, a hesitation-aware on-policy distillation for diffusion large language models. Our pilot study shows that positions whose proposals are not committed account for a disproportionate share of teacherāstudent disagreement, yet are omitted by previous methods. Motivated by this finding, HOPD extends teacher supervision to all masked positions along student rollouts and uses trajectory hindsight to reweight this supervision, without changing the decoder or requiring additional model forward passes for a given rollout. Across five math and coding benchmarks, HOPD achieves the highest average scores among the evaluated methods on SDAR-1.7B and SDAR-4B under both static and dynamic decoding. It also improves the accuracyāefficiency trade-off on MATH500 and extends to full-attention LLaDA. These results highlight the value of supervising the studentās hesitations rather than restricting distillation to committed decisions. AI use statement In this work, we used generative AI tools for no tasks with required disclosure. We have not used generative AI tools for developing conceptual frameworks, proposing hypotheses, designing experiments, implementing methods, translation, generating synthetic data, cleaning datasets, or interpreting results, and formulating mathematical claims, writing proofs, and qualitative data analysis are not applicable to this work. Additionally, we used generative AI tools for editing the manuscript to improve readability and assisting with the design of scientific figures. We have reviewed all AI-assisted work. All AI-suggested text edits were checked by the authors to preserve the original meaning, and all figure content was verified by the authors against our experimental results. We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI. Reproducibility Statement To facilitate reproducibility, we provide detailed implementation settings, hyperparameters, and additional experimental details in the appendix. References Agarwal et al. (2024) R. Agarwal, N. Vieillard, Y. Zhou, P. Stanczyk, S. Ramos Garea, M. Geist, and O. Bachem On-policy distillation of language models: learning from self-generated mistakes. In ICLR, Cited by: §C.2, §1, §2.2, §7. Arriola et al. (2025) M. Arriola, A. Gokaslan, J. Chiu, Z. Yang, Z. Qi, J. Han, S. Sahoo, and V. Kuleshov Block diffusion: interpolating between autoregressive and diffusion language models. In ICLR, Cited by: §1, §7. Austin et al. (2021) J. Austin, D. D. Johnson, J. Ho, D. Tarlow, and R. Van Den Berg Structured denoising diffusion models in discrete state-spaces. In NeurIPS, p. 17981ā17993. Cited by: §7. Bie et al. (2025) T. Bie, M. Cao, K. Chen, L. Du, M. Gong, Z. Gong, Y. Gu, J. Hu, Z. Huang, Z. Lan, et al. LLaDA 2. 0: scaling up diffusion language models to 100B. arXiv preprint arXiv:2512.15745. Cited by: §7. Cheng et al. (2026) S. Cheng, Y. Bian, D. Liu, Y. Jiang, Y. Liu, L. Zhang, Q. Yao, Z. Tian, W. Wang, Q. Guo, et al. SDAR: a synergistic diffusion-autoregression paradigm for scalable sequence generation. In Findings of ACL, p. 22058ā22075. Cited by: §B.4, Table 7, §1, §2.1, §5.1, §5.1, §7. Chu et al. (2025) T. Chu, Y. Zhai, J. Yang, S. Tong, S. Xie, D. Schuurmans, Q. V. Le, S. Levine, and Y. Ma SFT memorizes, RL generalizes: a comparative study of foundation model post-training. arXiv preprint arXiv:2501.17161. Cited by: §1. Cobbe et al. (2021) K. Cobbe, V. Kosaraju, M. Bavarian, M. Chen, H. Jun, L. Kaiser, M. Plappert, J. Tworek, J. Hilton, R. Nakano, et al. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168. Cited by: §5.1. Dat et al. (2026) P. T. Dat, Q. Li, and X. Wang dOPSD: on-policy self-distillation for diffusion language models. arXiv preprint arXiv:2607.04428. Cited by: §7. Frkovic et al. (2026) S. Frkovic, M. Jazbec, D. Zhang, C. A. Naesseth, I. Bogunovic, and E. Nalisnick Re-evaluating confidence remasking in masked diffusion language models. arXiv preprint arXiv:2606.12232. Cited by: §7. Gong et al. (2025) S. Gong, S. Agarwal, Y. Zhang, J. Ye, L. Zheng, M. Li, C. An, P. Zhao, W. Bi, J. Han, et al. Scaling diffusion language models via adaptation from autoregressive models. In ICLR, Cited by: §7. Gu et al. (2024) Y. Gu, L. Dong, F. Wei, and M. Huang MiniLLM: knowledge distillation of large language models. In ICLR, Cited by: §2.2, §7. Guo et al. (2025) D. Guo, D. Yang, H. Zhang, J. Song, P. Wang, Q. Zhu, R. Xu, R. Zhang, S. Ma, X. Bi, et al. DeepSeek-R1: incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948. Cited by: §1. He et al. (2025) H. He, K. Renz, Y. Cao, and A. Geiger MDPO: overcoming the training-inference divide of masked diffusion language models. arXiv preprint arXiv:2508.13148. Cited by: §7. Hendrycks et al. (2021) D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874. Cited by: §5.1. Hinton et al. (2015) G. Hinton, O. Vinyals, and J. Dean Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531. Cited by: §7. Hong et al. (2026) F. Hong, G. Yu, Y. Ye, H. Huang, H. Zheng, Y. Zhang, Y. Wang, and J. Yao Wide-in, narrow-out: revokable decoding for efficient and effective dLLMs. In ICLR, Cited by: §7. Huang et al. (2026) Z. Huang, Z. Chen, Z. Wang, T. Li, and G. Qi Reinforcing the diffusion chain of lateral thought with diffusion language models. In NeurIPS, p. 152677ā152710. Cited by: §1. Jaghouar et al. (2024) S. Jaghouar, J. M. Ong, M. Basra, F. Obeid, J. Straube, M. Keiblinger, E. Bakouch, L. Atkins, M. Panahi, C. Goddard, et al. INTELLECT-1 technical report. arXiv preprint arXiv:2412.01152. Cited by: §5.1. Jain et al. (2025) N. Jain, A. Gu, W. Li, F. Yan, T. Zhang, S. Wang, A. Solar-Lezama, K. Sen, and I. Stoica LiveCodeBench: holistic and contamination free evaluation of large language models for code. In ICLR, Cited by: §5.1. Kim and Rush (2016) Y. Kim and A. M. Rush Sequence-level knowledge distillation. In EMNLP, p. 1317ā1327. Cited by: §7. Lightman et al. (2024) H. Lightman, V. Kosaraju, Y. Burda, H. Edwards, B. Baker, T. Lee, J. Leike, J. Schulman, I. Sutskever, and K. Cobbe Letās verify step by step. In ICLR, Cited by: §5.1. Lu and Thinking Machines Lab (2025) K. Lu and Thinking Machines Lab On-policy distillation. Note: Thinking Machines Lab: Connectionism External Links: Link, Document Cited by: §1, §2.2, §2.2. Luo et al. (2025) M. Luo, S. Tan, R. Huang, A. Patel, A. Ariyak, Q. Wu, X. Shi, R. Xin, C. Cai, M. Weber, C. Zhang, L. E. Li, R. A. Popa, and I. Stoica DeepCoder: a fully open-source 14b coder at o3-mini level. Note: Notion Blog Cited by: §5.1. Ma et al. (2025) X. Ma, R. Yu, G. Fang, and X. Wang Dkv-Cache: the cache for diffusion language models. In NeurIPS, Cited by: §7. Maclay and Osgood (1959) H. Maclay and C. E. Osgood Hesitation phenomena in spontaneous english speech. Word 15 (1), p. 19ā44. Cited by: §1. Mathematical Association of America (2024) Mathematical Association of America American invitational mathematics examination (AIME) 2024. Note: https://artofproblemsolving.com/wiki/index.php/AIME_Problems_and_Solutions Cited by: §5.1. Nie et al. (2026) S. Nie, F. Zhu, Z. You, X. Zhang, J. Ou, J. Hu, J. Zhou, Y. Lin, J. Wen, and C. Li Large language diffusion models. In NeurIPS, p. 50608ā50646. Cited by: §C.1, §1, §7. Ou et al. (2026) J. Ou, J. Han, M. Xu, S. Xu, J. Xie, S. Ermon, Y. Wu, and C. Li Principled RL for diffusion LLMs emerges from a sequence-level perspective. In ICLR, Cited by: §C.1, §1, §6, §7. Ou et al. (2025) J. Ou, S. Nie, K. Xue, F. Zhu, J. Sun, Z. Li, and C. Li Your absorbing discrete diffusion secretly models the conditional distributions of clean data. In ICLR, Cited by: §7. Pan et al. (2026) L. Pan, S. Tao, Y. Zhai, Z. Fu, L. Fang, M. He, L. Zhang, Z. Liu, B. Ding, A. Liu, et al. d-TreeRPO: towards more reliable policy optimization for diffusion language models. In ACL, p. 21801ā21822. Cited by: §1. Ren et al. (2026) H. Ren, Z. Huang, C. Yuan, J. Zhao, and K. Liu Trace-based on-policy distillation for masked diffusion language models. arXiv preprint arXiv:2607.16872. Cited by: §B.2, §B.4, §B.4, Table 9, §C.1, §1, §2.2, §5.1, §7, §7. Ross et al. (2011) S. Ross, G. Gordon, and D. Bagnell A reduction of imitation learning and structured prediction to no-regret online learning. In AISTATS, p. 627ā635. Cited by: §7. Sahoo et al. (2024) S. S. Sahoo, M. Arriola, Y. Schiff, A. Gokaslan, E. Marroquin, J. T. Chiu, A. Rush, and V. Kuleshov Simple and effective masked diffusion language models. In NeurIPS, p. 130136ā130184. Cited by: §1, §7. Schiff et al. (2026) Y. Schiff, O. Belhasin, R. Uziel, G. Wang, M. Arriola, G. Turok, R. Zilberstein, M. Elad, and V. Kuleshov Learn from your mistakes: self-correcting masked diffusion models. arXiv preprint arXiv:2602.11590. Cited by: §7. Shi et al. (2024) J. Shi, K. Han, Z. Wang, A. Doucet, and M. Titsias Simplified and generalized masked diffusion for discrete data. In NeurIPS, p. 103131ā103167. Cited by: §7. Shu et al. (2026) Y. Shu, Y. Tian, C. Xu, Y. Wang, and H. Chen Deferred commitment decoding for diffusion language models. arXiv preprint arXiv:2601.02076. Cited by: §7. Wang et al. (2026a) C. Wang, P. Rashidinejad, A. D. Su, S. Jiang, S. Wang, S. Zhao, C. Zhou, S. Shen, F. Chen, T. Jaakkola, et al. SPG: sandwiched policy gradient for masked diffusion language models. In ICLR, Cited by: §7. Wang et al. (2026b) G. Wang, G. Turok, Y. Schiff, M. Arriola, and V. Kuleshov D2: improving reasoning in diffusion language models via trajectory likelihood estimation. In ICML, Cited by: §1. Wang et al. (2026c) Y. Wang, L. Yang, B. Li, Y. Tian, K. Shen, and M. Wang Revolutionizing reinforcement learning framework for diffusion large language models. In ICLR, Cited by: §B.2, §B.3, §B.4, §B.4, §B.4, Table 7, Table 9, §1, §1, §2.1, §2.2, §5.1, §5.1, §5.1, §7. White et al. (2025) C. White, S. Dooley, M. Roberts, A. Pal, B. Feuer, S. Jain, R. Shwartz-Ziv, N. Jain, K. Saifullah, S. Dey, et al. LiveBench: a challenging, contamination-limited LLM benchmark. In ICLR, Cited by: §5.1. Wu et al. (2026) C. Wu, H. Zhang, S. Xue, Z. Liu, S. Diao, L. Zhu, P. Luo, S. Han, and E. Xie Fast-dLLM: training-free acceleration of diffusion llm by enabling kv cache and parallel decoding. In ICLR, Cited by: §B.4, §7. Xu et al. (2025) W. Xu, R. Han, Z. Wang, L. Le, D. Madeka, L. Li, W. Wang, R. Agarwal, C. Lee, and T. Pfister Speculative knowledge distillation: bridging the teacher-student gap through interleaved sampling. In ICLR, Cited by: §7. Ye et al. (2025) J. Ye, Z. Xie, L. Zheng, J. Gao, Z. Wu, X. Jiang, Z. Li, and L. Kong Dream 7B: diffusion large language models. arXiv preprint arXiv:2508.15487. Cited by: §1, §7. Zhan (2025) A. Zhan Simple policy gradients for reasoning with diffusion language models. arXiv preprint arXiv:2510.04019. Cited by: §1. Zhao et al. (2025a) H. Zhao, D. Liang, W. Tang, D. Yao, and N. Kallus DiffPO: training diffusion LLMs to reason fast and furious via reinforcement learning. arXiv preprint arXiv:2510.02212. Cited by: §7. Zhao et al. (2025b) S. Zhao, D. Gupta, Q. Zheng, and A. Grover D1: scaling reasoning in diffusion large language models via reinforcement learning. In NeurIPS, p. 56729ā56762. Cited by: §1, §7. Zhong et al. (2026) J. Zhong, K. Wang, D. Ding, Z. Feng, H. Bai, Y. Xiang, J. Sun, and Q. Xu Stabilizing reinforcement learning for diffusion language models. arXiv preprint arXiv:2603.06743. Cited by: §7. Zhu et al. (2026) F. Zhu, R. Wang, S. Nie, X. Zhang, C. Wu, J. Zhou, Y. Lin, J. Wen, and C. Li LLaDA 1.5: variance-reduced preference optimization for large language diffusion models. In ACL, p. 11425ā11460. Cited by: §7. Appendix A Pilot Study Details Setup. We use base SDAR-4B-Chat as the student and prompts from the MATH training set. The model generates one trajectory per prompt using the protocol in Section 3, with seed 1234. A categoryās pair proportion is its number of pairs divided by the total number of recorded supervisable pairs, and its KL proportion is the sum of KL over its pairs divided by the sum over all recorded supervisable pairs. Position- and block-level aggregation. Figure 1 uses the base modelās trajectories. Let jT_j be the steps with a KL measurement at position j, and bT_b the recorded denoising steps of block b. The middle and right panels respectively aggregate āĀÆj=1|j|āātājāt,j,āĀÆb=1|b|āātāb1|ā³ā”(st)|āājāā³ā”(st)āt,j. _j= 1|T_j| _t _j _t,j, _b= 1|T_b| _t _b 1|M(s_t)| _j (s_t) _t,j. Table 6 gives the group sizes and means. The error bars in the middle and right panels are percentile 95%95\% confidence intervals from 5,0005,000 bootstrap draws with seed 12341234. Each draw resamples the 256256 prompts with replacement, retaining each sampled promptās entire trajectory, and recomputes the group means. Thus, positions and blocks within a trajectory are not treated as independent bootstrap units. Table 6: Statistics behind the middle and right panels of Figure 1. Each unit is a position in the middle panel and a complete four-position block in the right panel. Unit Group Units Prompts Mean KL 95% CI Position ej=0e_j=0 141,254 256 0.0924 [0.0872,0.0979][0.0872,0.0979] ej=1e_j=1 14,588 256 0.5044 [0.4857,0.5245][0.4857,0.5245] ej=2e_j=2 4,545 255 0.6084 [0.5845,0.6341][0.5845,0.6341] ejā„3e_jā„ 3 1,114 223 0.7196 [0.6786,0.7655][0.6786,0.7655] Block eb(0)=0e_b^(0)=0 29,416 256 0.0672 [0.0629,0.0718][0.0629,0.0718] eb(0)=1e_b^(0)=1 5,718 256 0.3824 [0.3612,0.4068][0.3612,0.4068] eb(0)=2e_b^(0)=2 3,339 255 0.4530 [0.4334,0.4740][0.4334,0.4740] eb(0)=3e_b^(0)=3 1,709 244 0.5021 [0.4787,0.5265][0.4787,0.5265] Hesitation and correctness. For each trajectory, the hesitation rate is the fraction of supervisable pairs whose proposals are not committed. Its mean is higher for incorrect than for correct responses (27.6% vs. 22.8%), with a bootstrap 95% confidence interval of [2.9, 6.7] percentage points for the difference. The gap also persists within response-length bins; for example, the rates are 32.5% vs. 23.6% for responses of 300ā600 tokens. Appendix B Experimental Details This appendix shows the details needed to reproduce the experiments of Section 5.1: the training configuration shared by the on-policy distillation runs (Appendix B.1), the configuration of every method in Table 1 (Appendix B.2), the prompt templates (Appendix B.3), and the evaluation protocol, including decoding, grading, and checkpoint selection (Appendix B.4). B.1 Training Configuration Table 7 lists the settings shared by the on-policy distillation runs behind the main results. Rollouts use dynamic decoding: at each denoising step the engine commits every masked position of the current block whose sampled-token probability exceeds Ļ=0.9Ļ=0.9, and the B/K=1B/K=1 most confident position when none does. The step budget K=4K=4 equals the block size B=4B=4, so a block closes in one to four steps and the budget never binds. TOPD and HOPD are trained with the same code base, models, data, rollout protocol, and optimizer; they differ only in the objective, which Appendix B.2 specifies method by method together with the configuration of every other baseline. Table 7: Training configuration shared by the TOPD and HOPD runs of Table 1 Setting Value Models Student SDAR-4B-Chat or SDAR-1.7B-Chat (Cheng et al., 2026) Teacher TraDo-8B-Instruct (Wang et al., 2026c), frozen Precision bfloat16 weights, bf16 mixed precision Gradient checkpointing enabled Parallelism DeepSpeed ZeRO-2, no offload; 4 GPUs (2 GPUs with accumulation for the 1.7B code run) Data Math prompts MATH training set, levels 3ā5 (8,523 problems) Code prompts PrimeIntellect, verified stdio problems (5,954) Max prompt length 784 tokens Rollout (on-policy sampling) Inference engine JetEngine, weights synchronized with the student before every round Prompts per round / responses per prompt 64 / 1 Block size / denoising steps per block 4 / 4 Decoding rule dynamic: commit every position with cj>0.9c_j>0.9, top-1 fallback Confidence cjc_j probability of the sampled token Temperature / top-p / top-k 1.0 / 1.0 / off Max response length 2000 tokens Rollout seed 1234 Optimization Optimizer AdamW, β1=0.9 _1=0.9, β2=0.999 _2=0.999, ϵ=10ā8ε=10^-8 Learning rate 2Ć10ā72Ć 10^-7, constant Weight decay 0 Effective batch size 16 trace rows (4 per GPU Ć 4 GPUs Ć 1 accumulation) Gradient clipping (max norm) 1.0 Rollout rounds / epochs per round 30 / 1 Checkpoint cadence every 5 rounds B.2 Baseline Configurations Every baseline method in Table 1 starts from the same student checkpoint, uses the same prompts, prompt template, and response limit, is evaluated with the same pipeline, and, where a teacher is involved, uses the same frozen TraDo-8B-Instruct. Table 8 summarizes what each method trains on. The paragraphs below give the remaining settings. Anything not mentioned follows Table 7. Table 8: What each baseline method of Table 1 trains on. States: inputs on which the loss is evaluated. Positions: response positions that receive gradient at each state. Method Training states Signal Supervised positions Per-position loss SFT fixed teacher responses under random block masks teacher tokens masked positions of each block cross entropy Off-policy frozen teacher trajectories teacher distribution committed positions of the teacherās trace full-vocabulary reverse KL TraceRL student rollouts verifiable reward committed positions along the trace clipped policy gradient with KL penalty TOPD student rollouts teacher distribution committed positions AtA_t sampled-token reverse-KL estimator HOPD student rollouts teacher distribution all masked positions ā³ā”(st)M(s_t) full-vocabulary reverse KL with hindsight weights Semi-autoregressive SFT. The SFT data are fixed teacher responses, one per training prompt and generated with the rollout protocol of Table 7. Training follows the semi-autoregressive objective of Wang et al. (2026c): each 4-token block of the response is corrupted with a random mask rate, and the model is trained with cross entropy on the masked positions under block-causal attention. Off-policy distillation. This baseline evaluates on the teacherās trajectories instead of the studentās. The frozen teacher generates one trajectory per prompt; trace rows are built from the committed positions of the teacherās trace, student and teacher are evaluated on the teacherās pre-action states, and the full-vocabulary reverse KL is minimized. TraceRL. For SDAR-4B, we evaluate the released TraDo-4B-Instruct, which was obtained from SDAR-4B-Chat with TraceRL and a diffusion value model on math and coding data. For SDAR-1.7B, no released checkpoint exists, so we train with the public implementation separately on the math and the code prompts: rollouts use the same dynamic decoding as our distillation runs, the update is the recipeās PPO-style objective with a KL penalty, rewards are the binary answer match for math and the fraction of unit tests passed for code, and no value model is used. TOPD. Our TOPD baseline is the trace-based on-policy distillation of Ren et al. (2026), re-implemented in the code base of HOPD so that the two share the rollout, state reconstruction, and optimizer. Each round samples one trajectory per prompt from the live student, builds one row per denoising step with the committed positions as targets, and applies the sampled-token estimator of equation 2; the detached teacherāstudent log-probability gap is clipped to [ā2,2][-2,2] before it scales the gradient. Rows and positions are unweighted. HOPD. HOPD shares the rollout, row construction, and optimizer settings of TOPD and changes only the objective to equation 5: every masked position of every visited state is a target, the per-position loss is the full-vocabulary reverse KL, and positions and rows carry the hindsight weights wjw_j and wbw_b of Section 4 at their raw scale. B.3 Prompt Templates All SDAR runs use one prompt surface for student rollouts, teacher supervision, SFT data generation, and evaluation. The templates below are the ones in our training code; the evaluation code released with TraceRL (Wang et al., 2026c) builds the same strings for math problems and for stdio coding problems, and it prompts the coding benchmarks. The teacher receives the same prompt as the student together with the studentās partially denoised response. Training uses only stdio coding problems, since the PrimeIntellect snapshot contains no other kind. The long instruction lines are wrapped here for display only; each template keeps them on a single line. Math template.<|im_start|>user problem Please reason step by step, and put your final answer within .<|im_end|> <|im_start|>assistant Code template (stdio).<|im_start|>user This is the problem: problem You should put your code in āpython ā. Use input() to read input and print() to produce output in your script. <|im_end|> <|im_start|>assistant B.4 Evaluation Protocol Static and dynamic decoding. Both model families generate the response block by block. Within a block, each denoising step proposes a token at every masked position, with a confidence equal to the probability of the proposed token, and a decoding rule chooses which proposals to commit; the others stay masked and are proposed again at the next step. Static decoding commits a fixed number of positions per step, the B/KB/K with the highest confidence, so every block takes exactly K steps whatever its content. Dynamic decoding commits every position whose confidence exceeds Ļ=0.9Ļ=0.9, and the single highest-confidence position when none does, so the number of commits per step follows the modelās confidence: a block the model is sure about finishes in fewer steps, while an uncertain one still takes up to K steps. On SDAR we use the evaluation setting released with TraDo and TraceRL (Wang et al., 2026c): blocks have B=4B=4 tokens and K=4K=4 steps, so static decoding commits one token per step; sampling uses temperature 1.01.0, top-p=1.0p=1.0, and a 2000-token limit; and a finished block enters the key-value cache before the next block starts fully masked. Decoding on LLaDA. LLaDA-8B-Instruct attends bidirectionally over the whole sequence, so we decode it with our reimplementation of the prefix-cache sampler of Fast-dLLM (Wu et al., 2026), following Ren et al. (2026). The response starts fully masked and is filled in 32-token blocks. At the first step of a block the model reads the prompt, the committed prefix, the current block, and at most the next 128 masked positions; positions beyond this horizon are left out of the input. The key-value cache of the prompt and committed prefix is then kept, and the remaining steps of the block recompute only the current block and its horizon. Each step proposes, at every masked position of the block, the argmax of Gumbel-perturbed logits at temperature 0.10.1, and its confidence is the probability of that token under the unscaled softmax. The commit rules are those above with K=32K=32 steps per block, so static decoding again commits one token per step; generation stops at 512 new tokens on math and 1,024 on code. The temperature, block size, horizon, 512-token math budget, and Ļ=0.9Ļ=0.9 follow the LLaDA evaluation of Ren et al. (2026). Since they report no coding results, the 1,024-token code budget is the default of the dLLM-RL LLaDA configuration (Wang et al., 2026c). Table 9 lists the inference settings of both backbones. Table 9: Inference settings. SDAR settings follow Wang et al. (2026c); LLaDA settings follow Ren et al. (2026), except the code budget, which is the dLLM-RL default. Static and dynamic decoding differ only in the commit rule and, on SDAR, in top-k. With K=BK=B, static decoding commits one token per step, and dynamic decoding needs at most as many steps. On LLaDA, each proposal is the argmax of Gumbel-perturbed logits at the listed temperature, with no nucleus or top-k truncation. āāā: not used. Setting SDAR-4B / 1.7B-Chat LLaDA-8B-Instruct Max new tokens 2000 512 (math), 1024 (code) Block size B / steps per block K 4 / 4 32 / 32 Future horizon ā 128 Temperature 1.0 0.1 Top-p 1.0 ā Top-k (static / dynamic) 1 / ā ā / ā Commit threshold Ļ (dynamic) 0.9 Evaluation library and grading. SDAR generation and the grading of both model families use dLLM-RL, the evaluation code released with TraceRL (Wang et al., 2026c), which runs SDAR through a vendored copy of the JetEngine inference engine (Cheng et al., 2026). We verified that it reproduces the published TraDo-4B-Instruct numbers to within one point (MATH500 76.276.2 vs. 75.675.6, GSM8K 91.391.3 vs. 91.291.2, static). MATH500, AIME2024, and GSM8K answers are matched against the reference answer by dLLM-RL, first as normalized strings and then for symbolic equivalence with SymPy. On LiveCodeBench-v2 and LiveBench, a program counts as correct only if it passes every hidden stdio test. The teacher row of Table 1 is quoted from Ren et al. (2026). The pilot study (Section 3) instead decodes with our training-side JetEngine under dynamic decoding and the training settings of Section 5.1, and grades math answers with OpenCompass. Checkpoint selection. SDAR runs are evaluated every 5 rollout rounds on MATH500 (math) or LiveCodeBench-v2 (code), and LLaDA runs every four rounds on MATH500 (math) or LiveBench (code). Under each decoding rule, the best round on this selection benchmark is then evaluated on the remaining benchmarks. B.5 Wall-Clock Throughput Figure 4 repeats the threshold sweep of Figure 3 with wall-clock generation throughput on the horizontal axis. At every threshold the HOPD student generates 44ā18%18\% more tokens per second than TOPD on SDAR-4B and 88ā23%23\% more on SDAR-1.7B. Figure 4: Accuracy against wall-clock generation throughput on MATH500 (dynamic decoding), for the threshold sweep of Figure 3. Left: SDAR-4B. Right: SDAR-1.7B. B.6 TOPD with Full-Vocabulary Reverse KL The TOPD baseline in Table 1 uses a sampled-token reverse-KL estimator, whereas HOPD computes the reverse KL over the full vocabulary. To examine whether the advantage of HOPD persists when TOPD uses the same per-position divergence, we additionally evaluate a full-vocabulary reverse-KL variant of TOPD. This variant retains supervision only at committed positions, with uniform position and row weights, but replaces the clipped sampled-token surrogate with full-vocabulary reverse KL. The remaining training settings, evaluation protocol, and checkpoint-selection rule are unchanged (Appendices B.1 and B.4). Table 10: Comparison with full-vocabulary reverse-KL TOPD. Each entry reports static/dynamic scores; Avg. is the unweighted mean over the five benchmarks. Sampled-token TOPD and HOPD results are repeated from Table 1. Method MATH500 AIME2024 GSM8K LCB-v2 LiveBench Avg. SDAR-1.7B-Chat TOPD (sampled-token) 64.5/58.1 2.2/3.2 81.9/78.2 10.4/7.7 9.4/6.2 33.7/30.7 TOPD (full reverse KL) 64.4/57.7 4.3/3.7 81.3/76.7 10.2/8.6 7.6/7.6 33.6/30.9 HOPD 66.8/59.5 3.7/5.0 83.6/78.8 11.1/8.9 10.9/9.9 35.2/32.4 SDAR-4B-Chat TOPD (sampled-token) 74.9/71.3 11.2/7.2 92.0/90.0 21.9/18.6 19.8/17.4 43.9/40.9 TOPD (full reverse KL) 74.8/70.9 7.8/9.2 91.6/90.8 22.0/20.2 22.7/19.8 43.8/42.2 HOPD 74.9/72.5 15.0/9.7 91.1/90.7 20.9/19.8 22.1/19.8 44.8/42.5 Table 10 shows that full-vocabulary reverse KL has mixed effects on TOPD across tasks and decoding rules. In particular, it raises TOPDās five-benchmark average on SDAR-4B under dynamic decoding from 40.940.9 to 42.242.2, narrowing the gap to HOPD (42.542.5). Nevertheless, HOPD achieves a higher five-benchmark average than both TOPD variants at both model scales under both decoding rules. This comparison matches the per-position divergence but does not isolate the effect of supervising hesitations, since HOPD also uses hindsight weights. Appendix C Discussion and Ablation Details C.1 Full-Attention Model Configuration We use LLaDA-8B-Instruct (Nie et al., 2026) as the student and the ESPO-trained LLaDA-8B-Instruct math and code models (Ou et al., 2026) as the corresponding teachers. The math teacher is merged from its released LoRA. Table 11 outlines a four-GPU training configuration based on the LLaDA recipe of Ren et al. (2026). For both math and code, the effective batch size is 32 trace rows: 8 per GPU Ć 4 GPUs Ć 1 gradient accumulation step. Table 11: Experimental configuration for TOPD and HOPD on LLaDA-8B-Instruct. Setting Math Code Models and data Student LLaDA-8B-Instruct Frozen teacher ESPO-Math ESPO-Code Training dataset MATH (8,523 problems) PrimeIntellect (5,954 problems) Max prompt length 400 tokens 512 tokens Rollout (on-policy sampling) Inference engine Fast-dLLM Prompts per round / responses per prompt 32 / 1 Decoding rule low-confidence static Block size / denoising steps per block 32 / 32 Future horizon 128 tokens Sampling temperature 0.8 Max response length 512 tokens Optimization Optimizer AdamW, β1=0.9 _1=0.9, β2=0.999 _2=0.999, ϵ=10ā8ε=10^-8 Learning rate 2Ć10ā72Ć 10^-7 Weight decay 0 Precision / gradient checkpointing bfloat16 / enabled Parallelism 4 GPUs, DeepSpeed ZeRO-2, CPU optimizer offload Per-GPU batch size / gradient accumulation 8 / 1 Effective batch size 32 trace rows (8Ć4Ć1=328Ć 4Ć 1=32) Gradient clipping (max norm) 1.0 Rollout rounds / epochs per round 30 / 1 Checkpoint cadence every 4 rounds Seed 1234 Distillation objective top-k reverse KL (k=10k=10) Training dynamics. Decoding, grading, and checkpoint selection follow Appendix B.4; Table 12 gives the selection-benchmark trajectories. On math, TOPD reaches its peak earlier and then decays, whereas HOPD starts lower, dips once around rounds 8ā12, and ends higher. Table 12: Selection-benchmark accuracy (static/dynamic) of the LLaDA-8B runs of Table 3 every fourth round: MATH500 for math runs, LiveBench for code runs. Bold: selected round per decoder. Run 4 8 12 16 20 24 30 TOPD, math 38.1/37.8 37.3/37.1 38.2/37.6 38.0/37.5 37.5/38.3 37.1/37.2 37.0/37.3 HOPD, math 37.6/37.1 37.0/36.7 37.6/36.0 38.5/37.0 38.2/37.5 37.7/37.2 39.0/38.1 TOPD, code 10.2/9.4 9.6/8.1 10.2/9.3 8.3/8.6 6.0/7.8 7.8/9.4 6.8/6.2 HOPD, code 9.4/5.5 10.9/9.4 11.2/9.4 9.9/6.2 13.0/10.7 9.6/9.9 10.9/7.0 C.2 Divergence Objectives The runs of Table 4 keep the objective equation 5, with the all-masked target set and both hindsight weights, and the training configuration of Table 7; only the per-position loss āt,j _t,j changes. Write p=ĻĪø(ā ā£q,st,j)p= _Īø(Ā· q,s_t,j) and r=Ļtea(ā ā£q,st,j)r= _tea(Ā· q,s_t,j) for the student and teacher distributions at masked position j of state sts_t. The full reverse KL is equation 6, āt,j=DKL(pā„r)=āvp(v)logpā”(v)rā”(v) _t,j=D_KL(p\,\|\,r)= _vp(v) p(v)r(v), and the full forward KL swaps the arguments, āt,jFKL=DKL(rā„p)=āvr(v)logrā”(v)pā”(v). ^FKL_t,j=D_KL(r\,\|\,p)= _vr(v) r(v)p(v). (7) JSD follows the generalized JensenāShannon divergence of Agarwal et al. (2024): with the mixture mβ=(1āβ)āp+βārm_β=(1-β)\,p+β\,r, āt,jJSD=(1āβ)DKL(pā„mβ)+βDKL(rā„mβ), ^JSD_t,j=(1-β)\,D_KL(p\,\|\,m_β)+β\,D_KL(r\,\|\,m_β), (8) and β=0.5β=0.5 gives the symmetric JensenāShannon divergence. These three losses use the full vocabulary. The sampled-token loss reads only the token x^j x_j that the student proposed at position j in state sts_t, whether or not it was committed, and applies the estimator of equation 2 through the surrogate āt,jST=ālogā”pā”(x^j)āsgā[logā”rā”(x^j)ālogā”pā”(x^j)], ^ST_t,j=- p( x_j)\;sg\! [ r( x_j)- p( x_j) ], (9) with the detached log-probability gap clipped to [ā2,2][-2,2] as in TOPD (Appendix B.2). C.3 Hindsight Weights: Rounds and Code Setup. We compare uniform, position-only, block-only, and combined weighting, keeping full-vocabulary reverse KL fixed. Checkpoints are selected separately under each decoding rule, using MATH500 for math and LiveCodeBench-v2 for code; the remaining benchmarks are evaluated at the selected checkpoints. The combined-weight results reuse the HOPD runs in Table 1. Math results and training trajectories. Table 13 extends the math ablation to SDAR-1.7B. Combined weighting achieves the highest average under both static and dynamic decoding (51.451.4 and 47.847.8, respectively), compared with 51.051.0 and 46.746.7 for uniform weighting. Table 14 reports MATH500 accuracy every five rounds for the two model scales in Tables 5 and 13, with selected rounds in bold. For the SDAR-1.7B position-only run, static MATH500 accuracy declines from 62.262.2 at round 20 to 47.347.3 at round 30. Code results. Table 15 reports the corresponding code ablations. Combined weighting achieves the highest average on SDAR-4B under both static and dynamic decoding (21.521.5 and 19.819.8, respectively), and on SDAR-1.7B under static decoding (11.011.0). Under dynamic decoding on SDAR-1.7B, position-only weighting achieves the highest average (9.99.9 versus 9.49.4 for combined weighting). Thus, combined weighting performs well across the evaluated settings, but the best weighting scheme can depend on the task and decoding rule. Table 13: Hindsight weights on math for SDAR-1.7B-Chat, companion of Table 5; same protocol. Bold: best per column. Static Dynamic Weights MATH500 AIME2024 GSM8K Avg. MATH500 AIME2024 GSM8K Avg. uniform (wj=wb=1w_j=w_b=1) 64.1 7.0 81.8 51.0 58.4 4.2 77.6 46.7 wjw_j only 62.2 2.0 82.7 49.0 57.1 4.0 77.6 46.2 wbw_b only 65.4 4.8 81.7 50.6 58.6 3.8 77.0 46.5 wjw_j and wbw_b (HOPD) 66.8 3.7 83.6 51.4 59.5 5.0 78.8 47.8 Table 14: MATH500 accuracy (static/dynamic, avg@3) every fifth round for the runs of Table 5. Bold: round selected under each decoding rule (static/dynamic). Student Weights 5 10 15 20 25 30 SDAR-4B uniform 74.4/70.6 74.8/72.5 75.5/71.2 73.1/70.7 75.4/71.7 74.6/71.4 wjw_j only 73.6/70.7 75.3/70.1 75.1/70.3 74.0/71.0 74.3/70.9 73.9/71.5 wbw_b only 73.1/71.5 72.8/71.8 75.5/71.3 74.3/71.5 74.9/72.3 74.3/71.8 wjw_j and wbw_b 73.3/71.3 74.6/70.5 74.5/71.6 74.9/71.1 73.5/72.5 73.9/71.4 SDAR-1.7B uniform 59.2/56.1 61.8/56.7 63.0/56.5 61.8/57.4 64.1/57.3 62.9/58.4 wjw_j only 56.3/56.1 57.3/56.1 57.1/56.4 62.2/57.1 52.7/53.1 47.3/50.5 wbw_b only 63.7/58.1 65.4/58.6 62.7/58.1 60.5/57.5 54.2/54.9 65.1/57.7 wjw_j and wbw_b 62.5/58.4 59.7/57.3 58.0/58.0 66.8/58.7 63.7/59.5 63.0/58.1 Table 15: Hindsight weights on code, companion of Table 5. Checkpoints selected on LiveCodeBench-v2 per decoding rule, LiveBench at the selected round. Bold: best per column. Static Dynamic Student Weights LiveCodeBench-v2 LiveBench Avg. LiveCodeBench-v2 LiveBench Avg. SDAR-4B uniform 21.2 21.5 21.4 19.5 18.0 18.8 wjw_j only 21.8 20.8 21.3 20.0 18.5 19.3 wbw_b only 20.6 19.3 20.0 19.5 19.3 19.4 wjw_j and wbw_b 20.9 22.1 21.5 19.8 19.8 19.8 SDAR-1.7B uniform 10.3 9.4 9.9 8.7 9.1 8.9 wjw_j only 10.4 10.4 10.4 9.8 9.9 9.9 wbw_b only 10.0 8.6 9.3 8.3 8.3 8.3 wjw_j and wbw_b 11.1 10.9 11.0 8.9 9.9 9.4