STEP-OPD: Rethinking Output Targets
and Internal Dynamics in On-Policy
Distillation for Diffusion Models

Qingyan Wei*1, Guangzhao Li*1,3, Xiaobing Tu2, Yinggui Wang2, Xiantao Zhang2, Jinkui Ren2, Xiaohong Liu1,3, Linfeng Zhang†1
1Shanghai Jiao Tong University 2Alibaba Group 3Shanghai Innovation Institute

*Equal contribution.  Corresponding author.

Abstract

On-policy distillation (OPD) has become an effective approach for consolidating multiple task-specialized image generation models into a single student. However, existing OPD methods optimize the student mainly to match the teacher's output velocity, making the teacher the upper limit of the optimization objective, while leaving the student's blockwise representation evolution underconstrained.

We propose STEP-OPD, an on-policy distillation framework for image generation that extends the student's learning target beyond the teacher and introduces explicit constraints on its internal representation evolution. Instead of treating the teacher as the final target, we use the velocity difference between each task-specific teacher and the shared base model as a direction for further learning and add a scaled version of this difference to the teacher velocity (output extrapolation). In addition, we align the direction and magnitude of representation changes between the student and teacher (representation change alignment), enabling the student to learn how representations are progressively transformed across network blocks.

Experiments on compositional alignment, text rendering, and human preference show that our method consistently improves standard OPD methods. In particular, it increases the GenEval score of DiffusionOPD from 0.927 to 0.961, while also improving OCR and all preference-based metrics. The resulting unified student surpasses the corresponding single-task teachers across all three capability groups.

0.961 GenEval Overall vs. 0.927 DiffusionOPD
0.946 OCR Accuracy surpasses OCR teacher
6.321 Aesthetic Score best among compared
3-in-1 Unified Student beats all task teachers

Motivation & Overview

Standard OPD is capped by exact teacher matching and underconstrains internal dynamics. STEP-OPD pushes the output target beyond the teacher and supervises blockwise representation changes.

STEP-OPD teaser: motivation and overview.
Upper left: standard OPD reaches its optimum at exact teacher matching, whereas output extrapolation shifts the learning target beyond the teacher. Lower left: representation change alignment improves GenEval and OCR without changing the output supervision target. Right: STEP-OPD achieves the strongest overall profile across compositional alignment, text rendering, and human preference.

Beyond-Teacher Targets

Extrapolate along the base→teacher velocity direction so the student is no longer upper-bounded by teacher matching.

Internal Dynamics

Align direction and magnitude of inter-block hidden-state changes, transferring how the teacher progressively transforms representations.

Multi-Expert Consolidation

One unified student consolidates compositional, OCR, and preference teachers—and surpasses each specialist on its own task.

Method

Built on the student's on-policy denoising trajectory, STEP-OPD adds two complementary objectives: task-specific output extrapolation (OE) and representation change alignment (RCA).

Overview of the STEP-OPD framework.
Overview of STEP-OPD. The student generates an on-policy trajectory; a latent state is selected by the underlying OPD query strategy. Left — RCA: align direction and magnitude of hidden-state changes across adjacent Transformer blocks between the routed teacher and the student. Right — OE: the velocity difference between the teacher and shared base model defines a task-specific improvement direction, scaled and added to construct a beyond-teacher target.
Component A · OE

Task-Specific Output Extrapolation

For each task teacher Tk and shared base B, construct ṽ = vT + αk(vT − vB). When α=0 this recovers standard OPD; when α>0 the target moves beyond the teacher along the base-to-teacher direction. Coefficients are task-specific (GenEval 0.01 / OCR 0.06 / Aesthetic 0.20) with a short warm-up.

Component B · RCA

Representation Change Alignment

Rather than matching absolute hidden states, align inter-block changes Δh = hl₁ − hl₀ in both direction (token-wise RMS-normalized MSE) and magnitude (log-RMS). Applied to 12 adjacent pairs covering all 24 Transformer blocks of SD3.5-M, RCA constrains internal evolution without extrapolating internal targets.

Quantitative Results

STEP-OPD consistently improves both DanceOPD and DiffusionOPD across compositional alignment (GenEval), text rendering (OCR), and human preference, and further surpasses single-task teachers.

Model Sing Two Cnt Col Pos C-Attr Overall OCR Pick Aes HPS ImgRwd
(a) Base Models
FLUX.1-Dev 0.7780.4270.6280.6490.0680.2530.467 0.49622.6485.7370.2920.796
SD3.5-L 0.7030.3890.5250.6280.1400.2650.442 0.63521.9735.2990.2640.688
SD3.5-M+CFG 0.8690.4950.5690.7150.1480.3550.525 0.55922.3985.3890.2800.853
(b) Single-Task Teachers
GenEval Teacher 0.9940.9520.9440.9230.9620.8330.935 0.40122.0695.2470.2490.614
OCR Teacher 0.8720.4720.5940.7230.1450.3550.527 0.93822.2825.2560.2720.918
Aes Teacher 0.7440.4220.5880.6760.1630.3230.486 0.57624.0316.2200.3461.504
(c) Diffusion/Flow RL & Multi-Objective OPD
Flow-GRPO 1.0000.9720.9500.9240.9650.8450.943 0.92423.5005.9220.3211.346
DiffusionNFT 1.0000.9680.9540.9370.9630.8180.940 0.91023.8006.0100.3311.490
DanceOPD 0.9750.9390.9340.9040.9400.8030.916 0.94323.8366.1590.3281.423
+ STEP-OPD (Ours) 1.0000.9600.9500.9410.9700.8450.944 0.95723.9946.2970.3441.518
DiffusionOPD 1.0000.9620.9380.9260.9480.7900.927 0.94123.9416.2080.3401.503
+ STEP-OPD (Ours) 1.0000.9900.9880.9570.9800.8530.961 0.94624.0536.3210.3491.533

Best in bold blue, second-best underlined. Evaluation at 512×512.

Qualitative Comparison

Across compositional alignment, text rendering, and human preference, STEP-OPD consolidates the strengths of specialized teachers with more accurate prompt adherence and text rendering while keeping strong visual quality.

Qualitative comparison of SD3.5-M, teachers, DiffusionOPD, and STEP-OPD.
Qualitative comparison of SD3.5-M, task-specific teachers, DiffusionOPD, and STEP-OPD under the same prompts and seeds. STEP-OPD better captures objects, attributes, spatial relations, and rendered text, while also producing more detailed and coherent preference-oriented images.

Ablation Study

RCA and OE emphasize complementary aspects of generation. Combining them yields the best balance across all three capability groups.

Component Ablation (on DiffusionOPD)

RCA lifts GenEval/OCR; OE drives preference gains; both together win overall.

  • DiffusionOPD0.927 / 0.941 / 6.208
  • + RCA only0.959 / 0.944 / 6.217
  • + OE only0.957 / 0.943 / 6.312
  • + STEP-OPD (OE+RCA)0.961 / 0.946 / 6.321

Metrics: GenEval / OCR / Aesthetic

RCA Gap Reduction

Median paired relative reduction of representation-change gap under RCA.

  • GenEval trajectory−96.4%
  • OCR trajectory−74.2%
  • Aesthetic trajectory−63.5%

Output matching alone leaves blockwise dynamics underconstrained.

Qualitative ablation of RCA and OE.
Qualitative ablation of RCA and OE. Without RCA, the bowl shows spurious internal structures; RCA yields cleaner geometry. Without OE, fabric texture is flatter; OE produces richer fine-grained detail. Each pair uses the same prompt and random seed.
Representation change gap distributions with and without RCA.
Representation change gap distributions. Adding RCA to DiffusionOPD shifts discrepancy distributions toward lower values across GenEval, OCR, and Aesthetic, confirming that the student explicitly learns the teacher's inter-block transformation dynamics.

BibTeX

@misc{wei2026stepopd,
  title         = {STEP-OPD: Rethinking Output Targets and Internal Dynamics
                   in On-Policy Distillation for Diffusion Models},
  author        = {Qingyan Wei and Guangzhao Li and Xiaobing Tu and Yinggui Wang
                   and Xiantao Zhang and Jinkui Ren and Xiaohong Liu and Linfeng Zhang},
  year          = {2026},
  eprint        = {2608.04887},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2608.04887}
}