Flow-based diffusion models have become a mainstream paradigm for text-to-image generation, where task-specific post-training produces specialist models with complementary strengths. Multi-teacher on-policy distillation (OPD) offers an efficient way to consolidate these specialists into a single unified student. Recent methods strengthen supervision through teacher extrapolation, constructing stronger proxy teachers that allow distilled students to surpass the original specialists. However, their extrapolation directions remain defined solely by frozen teacher and reference models, leaving the student's own training progress unexploited. To address this limitation, we introduce DexOPD, a dual-extrapolation on-policy distillation method for diffusion models. DexOPD retains extrapolated teacher supervision while leveraging a lagging historical student as the reference for student self-extrapolation. Sampling across multiple self-extrapolation gains from shared initial noise broadens exploration along the student's evolving trajectory, and task rewards convert pairwise differences in candidate quality into a normalized auxiliary regression direction. Empirically, we evaluate DexOPD on GenEval, OCR, and DrawBench. The resulting unified SD3.5-Medium student achieves a GenEval reward of 0.9736, an OCR score of 0.9515, and a DrawBench Aesthetic score of 6.4875, surpassing the corresponding specialist teachers as well as all evaluated OPD and multi-task reinforcement learning baselines across these three benchmarks while preserving standard single-model inference.
Figures & tables
Figure 1: Qualitative highlights and multi-task benchmark performance. Top: representative images generated by our unified DexOPD student across compositional, text-rendering, and aesthetic prompts. Bottom: OCR and DrawBench Aesthetic (AES) scores are shown as horizontal bar charts; the radar chart reports six GenEval metrics normalized by each metric’s maximum across the compared models, with raw DexOPD scores annotated.
Figure 2: The student need not trail the proxy teacher. GenEval learning curves for three multi-teacher OPD methods over 1,000 optimizer updates. The inset magnifies the highlighted late-training interval (updates 500–1,000), comparing final scores against the native RL teacher and extrapolated proxy-teacher references.
Figure 3: Overview of DexOPD. (a) Extrapolated task teachers supervise native student states via LOPD . (b) Historical self-extrapolation against Hr generates same-noise candidates whose endpoint–reward covariance produces the unit-RMS direction G . (c) Teacher and auxiliary targets jointly update the student before the historical EMA reference is refreshed. In (a), m indexes tasks; student and history subscripts in (b,c) index training rounds (denoted q and r in the text).
Model
GenEval
OCR
DrawBench
Sing.
Two
Cnt.
Col.
Pos.
Attr.
Acc.
Reward
AES
Pick
IR
CLIP
HPS
(a) Base model
SD3.5-Medium
0.9844
0.7702
0.5714
0.8112
0.2200
0.5149
0.6336
0.6446
0.5486
5.3899
0.8614
0.8383
0.2895
0.2924
(b) Single-task specialist teachers
GenEval
1.0000
0.9848
0.9250
0.9069
0.9750
0.8275
0.9349
0.9534
0.6515
5.2635
0.8513
0.9277
0.2869
0.2673
OCR
0.9719
0.7172
0.6000
0.7819
0.2225
0.4725
0.6144
0.6617
0.9435
5.2605
0.8580
0.8972
0.2909
0.2732
Table 1: Multi-task generation performance after 1,000 updates. GenEval sub-categories and Acc. report classification accuracies; Reward denotes the dense GenEval reward score. AES, Pick, IR, CLIP, and HPS correspond to Aesthetic, PickScore, ImageReward, CLIPScore, and HPSv2.1. Higher is better across all columns. Bold and underline denote the best and second-best results, respectively. ∗ : paper-based reproduction.
Figure 4: Three-task learning dynamics over 1,000 optimizer updates. Curves compare (a) DexOPD, (b) multi-task DiffusionNFT, and (c) multi-task DiffusionART. The left vertical axis measures GenEval and OCR scores; the right vertical axis in (a) measures DrawBench Aesthetic.
Figure 5: Qualitative comparison on six representative prompts. From left to right, each row shows outputs from the GenEval, OCR, and Aesthetic specialist teachers, DiffusionOPD, DreOPD, and DexOPD generated from shared initial noise.
Configuration
GenEval
OCR
Aesthetic
PickScore
ImageReward
CLIPScore
HPSv2.1
DexOPD (default)
0.9736
0.9515
6.4875
0.9190
1.5127
0.2914
0.3484
No teacher extrapolation ( λ=0 )
0.9515
0.9357
6.2930
0.9215
1.4903
0.2960
0.3366
No student auxiliary ( β=0 )
0.9669
0.9408
6.4410
0.9185
1.4957
0.2944
0.3527
Frozen-base reference ( Hr=B )
0.9633
0.9512
6.2548
0.8844
1.4034
0.2843
0.3254
Table 2: Component ablation at 1,000 updates. Each variant modifies a single design element of DexOPD under identical optimization schedules. Bold marks the best result per column, and the highlighted row denotes our default configuration.
β
GenEval
OCR
Aesthetic
PickScore
ImageReward
CLIPScore
HPSv2.1
0.0
0.9669
0.9408
6.4410
0.9185
1.4957
0.2944
0.3527
0.4
0.9743
0.9414
6.4533
0.9190
1.5036
0.2911
0.3478
0.8
0.9647
0.9452
6.4689
0.9192
1.5045
0.2919
0.3477
1.2
0.9717
0.9500
6.4718
0.9198
1.5123
0.2919
0.3481
1.6
0.9526
0.9437
6.4622
0.9201
1.5118
0.2919
0.3470
1.8
0.9736
0.9515
6.4875
0.9190
1.5127
0.2914
0.3484
Table 3: Auxiliary-weight ablation at 1,000 updates. Selected values of β with λ=1.2 fixed; the complete 11-point sweep is provided in Appendix D . Bold and underline mark the best and second-best values per column.
Figure 6: Inference-time teacher extrapolation. Each specialist RL teacher is evaluated on its own target metric as extrapolation strength λ varies from 0.0 to 2.0. On-task scores peak around λ∈[0.8,1.4] and degrade under excessive extrapolation.
Teacher
λ
GenEval
OCR
Aesthetic
PickScore
ImageReward
CLIPScore
HPSv2.1
GenEval
0.0
0.9534
0.6515
5.2635
0.8513
0.9277
0.2869
0.2673
0.4
0.9578
0.4302
5.2781
0.8439
0.5093
0.2739
0.2458
0.8
0.9651
0.4559
5.2781
0.8420
0.4716
0.2717
0.2452
1.2
0.9652
0.4714
5.2611
0.8401
0.4643
0.2710
0.2429
1.6
0.9637
0.4733
5.2501
0.8375
0.4041
0.2672
0.2415
2.0
0.9623
0.4872
5.2526
0.8358
0.3536
0.2645
0.2387
Table 4: Multi-metric effects of teacher inference extrapolation. Selected extrapolation strengths λ for each specialist teacher. Bold marks the best displayed on-task score per teacher. Higher is better for all metrics; the complete sweep appears in Appendix E .
Appendix figures & tables25 assets
Supplementary material from the paper’s appendix.
Appendix
Setting
Value
Image resolution
512×512
LoRA rank / scaling α
32 / 64
Optimizer / learning rate
AdamW / 3×10−4
Adam coefficients (β1,β2)
(0.9,0.999)
Adam ϵ / weight decay
10−8 / 10−4
Gradient norm clipping
1.0
Appendix
Table A.1 : Default DexOPD training configuration. One update corresponds to a single optimizer step.
Split
File rows
Unique prompts
GenEval training
50,000
33,199
OCR training
19,653
19,649
Pick-a-Pic training
25,432
25,432
GenEval evaluation
2,212
553
OCR evaluation
1,018
1,018
DrawBench evaluation
1,000
200
Appendix
Table A.2 : Training and evaluation prompt splits.
Task
g
Δr
Win (%)
Tie (%)
Loss (%)
GenEval
0.05
−0.0003
1.4708
96.9750
1.5542
0.25
−0.0010
2.7375
94.4667
2.7958
0.50
−0.0065
3.1583
92.6292
4.2125
OCR
0.05
0.0002
4.6833
90.5875
4.7292
0.25
0.0012
7.9250
83.7125
8.3625
0.50
0.0004
9.4000
79.8667
10.7333
Appendix
Table C.1 : Pairwise outcomes of positive-gain candidates against the same-noise native endpoint. Each row aggregates 24,000 online comparisons across the default run; Δr=rg−r0 denotes the mean signed reward difference.
Figure C.1 : Online candidate rewards and auxiliary activity across training. Rows display native rollout reward, mean candidate reward difference Δr=rg−r0 , and the fraction of groups with active direction G . Thin traces indicate per-round means; bold curves average 25-round windows (1,200 groups per task). The horizontal axis indexes optimizer updates prior to each collection round.
β
GenEval
OCR
Aesthetic
PickScore
ImageReward
CLIPScore
HPSv2.1
0.0
0.9669
0.9408
6.4410
0.9185
1.4957
0.2944
0.3527
0.2
0.9715
0.9356
6.4511
0.9185
1.5086
0.2922
0.3485
0.4
0.9743
0.9414
6.4533
0.9190
1.5036
0.2911
0.3478
0.6
0.9681
0.9460
6.4629
0.9187
1.5023
0.2912
0.3484
0.8
0.9647
0.9452
6.4689
0.9192
1.5045
0.2919
0.3477
1.0
0.9698
0.9478
6.4594
0.9195
1.5124
0.2952
0.3532
Appendix
Table D.1 : Complete auxiliary-weight sweep at 1,000 updates. All runs fix λ=1.2 . Bold and underline mark the best and second-best values for each metric; the highlighted row denotes the default β=1.8 . Higher is better for all metrics.
Figure E.1 : On-task performance across the full native teacher extrapolation sweep. Open circles mark each specialist teacher’s peak score on its target benchmark.
λ
GenEval
OCR
Aesthetic
PickScore
ImageReward
CLIPScore
HPSv2.1
0.0
0.9534
0.6515
5.2635
0.8513
0.9277
0.2869
0.2673
0.2
0.9531
0.4157
5.2942
0.8446
0.5511
0.2745
0.2463
0.4
0.9578
0.4302
5.2781
0.8439
0.5093
0.2739
0.2458
0.6
0.9581
0.4316
5.2622
0.8424
0.4636
0.2732
0.2443
0.8
0.9651
0.4559
5.2781
0.8420
0.4716
0.2717
0.2452
1.0
0.9630
0.4775
5.2512
0.8410
0.4545
0.2709
0.2439
Appendix
Table E.1 : Full GenEval teacher inference sweep. Bold marks the on-task maximum.
λ
GenEval
OCR
Aesthetic
PickScore
ImageReward
CLIPScore
HPSv2.1
0.0
0.6617
0.9435
5.2605
0.8580
0.8972
0.2909
0.2732
0.2
0.6214
0.9566
5.2438
0.8391
0.6339
0.2912
0.2508
0.4
0.5914
0.9580
5.1923
0.8357
0.5848
0.2891
0.2456
0.6
0.5765
0.9523
5.1718
0.8314
0.5108
0.2879
0.2423
0.8
0.5613
0.9616
5.1091
0.8262
0.4202
0.2855
0.2370
1.0
0.5574
0.9534
5.0735
0.8223
0.3461
0.2816
0.2333
Appendix
Table E.2 : Full OCR teacher inference sweep. Bold marks the on-task maximum.
λ
GenEval
OCR
Aesthetic
PickScore
ImageReward
CLIPScore
HPSv2.1
0.0
0.4791
0.5881
6.2162
0.9233
1.5016
0.2960
0.3452
0.2
0.5288
0.6173
6.3069
0.9222
1.4916
0.2962
0.3425
0.4
0.5011
0.6017
6.3491
0.9228
1.5071
0.2959
0.3444
0.6
0.4711
0.5949
6.3883
0.9204
1.5077
0.2941
0.3446
0.8
0.4499
0.5686
6.4164
0.9170
1.4932
0.2940
0.3440
1.0
0.4418
0.5491
6.4108
0.9128
1.4785
0.2925
0.3427
Appendix
Table E.3 : Full Aesthetic teacher inference sweep. Bold marks the on-task maximum.
Figure E.2 : Selected off-task responses under teacher extrapolation. Each panel tracks an off-task metric during one specialist’s λ sweep. The dashed horizontal line marks zero ImageReward.
Figure F.1 : Learning curves for small-batch DexOPD (batch size 24). Horizontal dashed lines denote the default batch-72 endpoints at update 1,000.
Batch
Updates
GenEval
OCR
Aesthetic
PickScore
ImageReward
CLIPScore
HPSv2.1
24
100
0.8542
0.9321
5.8772
0.8999
1.3730
0.2965
0.3147
24
200
0.9100
0.9485
6.1263
0.9069
1.4773
0.2957
0.3325
24
300
0.9379
0.9416
6.3668
0.9140
1.5182
0.2945
0.3423
24
400
0.9462
0.9445
6.3896
0.9146
1.5027
0.2910
0.3442
24
500
0.9591
0.9444
6.4040
0.9174
1.5090
0.2931
0.3443
24
600
0.9579
0.9388
6.4314
0.9183
1.4958
0.2935
0.3455
Appendix
Table F.1 : Seven-metric checkpoint progression for small-batch DexOPD (batch size 24). The bottom row lists the default batch-72 endpoint at 1,000 updates for reference. Bold marks the best batch-24 score on each primary target metric; higher is better for all metrics.
Method
Batch
GenEval ↑
OCR ↑
Aesthetic ↑
s/update ↓
DiffusionOPD
72
0.9543
0.9371
6.1820
25.76
DreOPD
24
0.9622
0.9354
6.2182
9.73
STEP-OPD ∗
72
0.9562
0.9378
6.2813
32.53
DexOPD
72
0.9736
0.9515
6.4875
68.18
DexOPD (small batch)
24
0.9680
0.9488
6.4857
25.59
Appendix
Table F.2 : Training time and target-task performance. Average wall-clock time per optimizer update is measured on eight H20 GPUs. Batch indicates the number of native samples per update. Bold and underline denote the best and second-best target scores among the listed methods. ∗ : paper-based reproduction.
Figure G.1 : Selected GenEval outputs from the unified DexOPD student (1/6). Labels summarize the requested objects, counts, colors, or spatial relations.
Figure G.2 : Selected GenEval outputs from the unified DexOPD student (2/6). Labels summarize the requested objects, counts, colors, or spatial relations.
Figure G.3 : Selected GenEval outputs from the unified DexOPD student (3/6). Labels summarize the requested objects, counts, colors, or spatial relations.
Figure G.4 : Selected GenEval outputs from the unified DexOPD student (4/6). Labels summarize the requested objects, counts, colors, or spatial relations.
Figure G.5 : Selected GenEval outputs from the unified DexOPD student (5/6). Labels summarize the requested objects, counts, colors, or spatial relations.
Figure G.6 : Selected GenEval outputs from the unified DexOPD student (6/6). Labels summarize the requested objects, counts, colors, or spatial relations.
Figure G.7 : Selected OCR outputs from the unified DexOPD student (1/6). Labels indicate the requested target text.
Figure G.8 : Selected OCR outputs from the unified DexOPD student (2/6). Labels indicate the requested target text.
Figure G.9 : Selected OCR outputs from the unified DexOPD student (3/6). Labels indicate the requested target text.
Figure G.10 : Selected OCR outputs from the unified DexOPD student (4/6). Labels indicate the requested target text.
Figure G.11 : Selected OCR outputs from the unified DexOPD student (5/6). Labels indicate the requested target text.
Figure G.12 : Selected OCR outputs from the unified DexOPD student (6/6). Labels indicate the requested target text.
Reinforcement learning has emerged as a powerful tool for improving diffusion-based text-to-image models, but existing methods are largely limited to single-task optimization. Extending RL to multiple tasks is challenging: joint optimization suffers from cross-task interference and imbalance, while cascade RL is cumbersome and prone to catastrophic forgetting. We propose DiffusionOPD, a new multi-task training paradigm for diffusion models based on Online Policy Distillation (OPD). DiffusionOPD first trains task-specific teachers independently, then distills their capabilities into a unified student along the student own rollout trajectories. This decouples single-task exploration from multi-task integration and avoids the optimization burden of solving all tasks jointly from scratch. Theoretically, we lift the OPD framework from discrete tokens to continuous-state Markov processes, deriving a closed-form per-step KL objective that unifies both stochastic SDE and deterministic ODE refinement via mean-matching. We formally and empirically demonstrate that this analytic gradient provides lower variance and better generality compared to conventional PPO-style policy gradients. Extensive experiments show that DiffusionOPD consistently surpasses both multi-reward RL and cascade RL baselines in training efficiency and final performance, while achieving state-of-the-art results on all evaluated benchmarks.
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 output-level supervision alone leaves the student's blockwise representation evolution underconstrained, which weakens the transfer of capabilities that must be progressively developed across layers. 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. In addition, we align the direction and magnitude of representation changes between the student and teacher, 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, showing that output extrapolation enables beyond-teacher learning. And representation change alignment provides complementary guidance for the student's internal transformations.
Qingyan Wei, Guangzhao Li, Xiaobing Tu +5
Shanghai Jiao Tong University · Shanghai Innovation Institute · Alibaba Group
A deployable text-to-image diffusion model must hold several capabilities at once, such as instruction following, text rendering and human preference, and must sample in a few steps. Capabilities and few-step sampling are built in separate stages: a full-step model first consolidates capabilities through multi-teacher on-policy distillation, then serves as a fixed teacher for step distillation. Every full-step model we evaluate scores lower once compressed, and the second stage cannot begin until the first finishes. We introduce StepX-OPD, which merges the two stages: one student acquires every capability while learning to sample in a few steps, so frozen specialists supervise it on the states its own rollout visits rather than on a longer trajectory it never runs. Motivated by a decomposition of the rollout's KL, we also regress the student's velocity on the low-noise part of the rollout. Separately, we find that capability integration makes models write prompt words into images on prompts that never asked for text, and we give a variant that lowers it. We evaluate on SD3.5-Medium and FLUX.1-dev across instruction following, text rendering, image quality and human preference. On both architectures, StepX-OPD attains the highest normalized average score among the four-step methods compared and exceeds the forty-step Flow-OPD model, and on SD3.5-Medium it trains with about 37% fewer GPU-hours than sequential DiffusionOPD followed by step distillation.