DexOPD: Dual-Extrapolation On-Policy Distillation for Diffusion Models

Yunchao Ke1,2,*,‡, Yanzhe Hu1,*, Yi Yang1, Jiachun Jin1, Zhihong Liu1, Zhijie Deng1,†

1Shanghai Jiao Tong University · 2Nankai University

*Equal contribution · ‡Work done during an internship at SJTU · †Correspondence: zhijied@sjtu.edu.cn

Consolidating specialist diffusion teachers. Task-specific reinforcement learning yields strong diffusion specialists for compositional generation, text rendering, and visual preference, yet each specialist sacrifices off-task quality. Multi-teacher on-policy distillation (OPD) unifies them into one student, and recent methods extrapolate along a frozen teacher–base velocity difference to build stronger proxy targets. However, because that direction remains locked between static models, late-stage student progress plateaus below the proxy-teacher ceiling.

TL;DR: DexOPD pairs extrapolated teacher targets with reward-guided historical student self-extrapolation. Using the velocity difference between the current student and its lagging EMA history, it samples same-noise candidate rollouts and converts their endpoint–reward covariance into an adaptive update direction—enabling one SD3.5-Medium LoRA to surpass all three specialist teachers simultaneously.
0.9534→0.9736
GenEval dense reward
Surpasses the GenEval specialist (0.9534), proxy teacher ceiling (0.9652), and DreOPD (0.9622).
0.9435→0.9515
OCR text rendering
Exceeds the single-task OCR specialist teacher (0.9435) and all evaluated multi-teacher OPD baselines.
6.2813→6.4875
DrawBench Aesthetic
+0.2062 over STEP-OPD* (6.2813) and +0.2713 over the Aesthetic specialist teacher (6.2162).
Method

The Dual-Extrapolation Setup

At each collection round, native student rollouts receive two complementary supervision signals: a fixed teacher-extrapolated proxy target and an evolving self-extrapolated reward direction.

01 · Teacher Extrapolation

Strengthen the frozen specialist

vproxy = vT + λ(vT − vB)

At every state visited by the native student rollout, query the matching frozen task specialist Tq and base model B. Extending their difference by λ = 1.2 forms a detached one-step Euler target μT,j that anchors multi-task competence from initialization.

02 · Historical Self-Extrapolation

Probe the student's recent progress

v(g) = vθ + g(vθ − vH)

Maintain a lagging historical EMA Hr (τ = 0.995) of the student adapter. From the same initial noise ε, integrate four candidate trajectories under gains 𝒢 = {0, 0.05, 0.25, 0.50}—reusing the native OPD endpoint directly as g = 0.

03 · Covariance & Joint Update

Aggregate pairwise reward contrasts

G = C / RMS(C),   ℒ = ℒOPD + βℒaux

Score the four decoded endpoints with task verifier Rq. Normalize their endpoint–reward covariance C to unit RMS to obtain direction G (muted to 0 when rewards tie), shift the auxiliary target along +G, and optimize both targets jointly (β = 1.8).

Paper overview diagram showing (a) MOPD teacher extrapolation, (b) historical student self-extrapolation and reward aggregation into direction G, and (c) joint student update and EMA refresh.
Figure 1. Overview of the DexOPD framework. (a) Extrapolated task teachers supervise native student states via ℒOPD. (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.
A shared student state leads to three one-step predictions. The proxy extends beyond the specialist along the line from the base to the specialist.
One denoising step at a state visited by the student. The surface is schematic.

Extend the specialist's prediction

Ask the frozen base model and the task specialist for a velocity at the same state. Extend their difference beyond the specialist, then take one Euler step to obtain the proxy target.

vproxy = vT + λ (vT − vB)

The paper uses λ = 1.2 for teacher extrapolation.

Four trajectories share a noise sample and separate according to four student extrapolation gains. The native trajectory has gain zero.
One prompt and one noise sample. Each line uses a different gain throughout its rollout.

Follow the student's recent change

Use a historical exponential moving average as the reference. At each step, extrapolate the current student's velocity away from that reference. Four gains produce four endpoints for the task scorer.

v(g) = vS + g (vS − vH)

The gain g = 0 reuses the native student rollout.

Four candidate endpoints with illustrative scores of 0.2, 0.8, 0.6 and 0.4. Their endpoint–reward covariance gives direction G.
Illustrative endpoint positions and rewards. The arrow shows the direction of endpoint–reward covariance.

Turn reward differences into a direction

Weight each pair's endpoint difference by its reward difference. Their sum gives a direction toward higher reward. Normalize it to unit RMS to obtain G.

G = C / RMS(C)

On a native step, the auxiliary target shifts along G. The teacher and active auxiliary losses jointly update the student.

When does the reward signal activate?

A candidate group activates the auxiliary update (a = 1) whenever at least two of its four rewards differ and RMS(C) > 10−8. Discrete verifiers (GenEval, OCR) taper activity as easy prompts saturate, while continuous Aesthetic scoring remains active on 99.80% of groups.

Active auxiliary direction across 24,000 groups / task

GenEval
9.50%
OCR
26.44%
Aesthetic
99.80%

See online candidate diagnostics in Appendix C →

Figure 2. Interactive geometric intuition on the latent manifold. Switch tabs to inspect one-step teacher extrapolation, drag the slider to watch four same-noise candidate trajectories diverge, or toggle tied rewards to see the covariance gate mute the auxiliary direction (G = 0).
Quantitative Evaluation

It surpasses every specialist in one student

Evaluated after an identical budget of 1,000 optimizer updates at 512 × 512 resolution (40 Euler steps) across GenEval, OCR, and five DrawBench preference metrics.

Breaking past the proxy-teacher ceiling

GenEval reward over 1,000 updates. Hover or click any step to inspect exact scores.

Three-task optimization stability

Steady progress across all three tasks over 1,000 updates.

Three-objective profile across all 11 models

Single-task teachers peak on one column while dropping on the other two. Multi-teacher OPD consolidates all three, with DexOPD leading every column.

Table 1 · Multi-task generation performance after 1,000 updates

All 11 models and 14 metrics (154 scores) from the paper's main comparison.

Table 1. Multi-task generation performance after 1,000 updates.
Model GenEval OCR DrawBench
Single Two Count Colors Position Attr. Acc. Reward Aesthetic PickScore ImageReward CLIPScore HPSv2.1
(a) Base model
SD3.5-Medium 0.98440.77020.57140.81120.22000.51490.63360.6446 0.54865.38990.86140.83830.28950.2924
(b) Single-task specialist teachers
GenEval Teacher 1.00000.98480.92500.90690.97500.82750.93490.9534 0.65155.26350.85130.92770.28690.2673
OCR Teacher 0.97190.71720.60000.78190.22250.47250.61440.6617 0.94355.26050.85800.89720.29090.2732
Aesthetic Teacher 0.97190.88640.60630.86700.29500.65750.70660.4791 0.58816.21620.92331.50160.29600.3452
(c) Multi-task reinforcement learning
GRPO-Guard 0.98750.84600.76400.78460.24750.51740.67640.7202 0.72105.68120.87701.15310.29040.3091
DiffusionNFT 0.88440.62120.64290.73400.24500.44530.58170.7029 0.94345.36740.84120.63140.27870.2642
DiffusionART 0.84060.57070.54970.56650.19000.28110.48470.4427 0.90335.66730.82920.71930.27100.2653
(d) Multi-teacher on-policy distillation
DiffusionOPD 1.00000.99240.94720.89360.96500.83830.93730.9543 0.93716.18200.92371.51100.30060.3547
DreOPD 1.00000.98990.96270.90690.97250.87560.94950.9622 0.93546.21820.92371.52590.29860.3558
STEP-OPD* 1.00000.99490.93790.89890.97500.86570.94400.9562 0.93786.28130.92481.52070.29850.3566
DexOPD (ours) 1.00001.00000.96880.95480.95250.87500.95660.9736 0.95156.48750.91901.51270.29140.3484

Higher is better. Bold: best score; underline: second-best (including ties). GenEval reports six category accuracies, overall accuracy (Acc.), and dense reward. *Paper-based reproduction.

Ablations & Diagnostics

Dissecting dual extrapolation

Controlled experiments isolate teacher extrapolation, reward-guided self-extrapolation, evolving historical referencing, and batch-size scaling.

01 · Component ablation

Every component contributes across all three tasks

Removing teacher extrapolation (λ=0), dropping the student auxiliary branch (β=0), or anchoring to the frozen base (Hr=B) degrades every primary metric.

02 · Auxiliary-weight sensitivity (β sweep)

Balancing three tasks across 11 auxiliary weights

With λ = 1.2 fixed, β = 1.8 attains peak DrawBench Aesthetic (6.4875) while staying within 0.0007 of the GenEval peak and 0.0005 of the OCR peak. Hover or click any β to inspect all 7 metrics.

03 · Inference-time teacher extrapolation (λ trade-off)

Why standalone teacher extrapolation cannot replace distillation

Extrapolating a frozen specialist boosts its own target near λ ∈ [0.8, 1.4], but causes severe cross-task collapse at larger λ. Distilling at λ = 1.2 harvests strong targets without sacrificing off-task quality.

04 · Wall-clock training cost & batch scaling

Small-batch DexOPD matches DiffusionOPD speed while leading all three metrics

Measured on 8 × NVIDIA H20 GPUs over 1,000 updates. Reducing native batch size from 72 to 24 cuts update time to 25.59 s—matching standard single-trajectory DiffusionOPD (25.76 s) and outperforming STEP-OPD* (32.53 s).

DexOPD (small batch)Batch 24
25.59 s / update
GenEval 0.9680 · OCR 0.9488
Aesthetic 6.4857
DexOPD (default)Batch 72
68.18 s / update
GenEval 0.9736 · OCR 0.9515
Aesthetic 6.4875
DiffusionOPDBatch 72
25.76 s / update
GenEval 0.9543 · OCR 0.9371
Aesthetic 6.1820
STEP-OPD*Batch 72
32.53 s / update
GenEval 0.9562 · OCR 0.9378
Aesthetic 6.2813
Checkpoint & Inference

Run DexOPD

The public release provides the rank-32 evaluation EMA LoRA from update 1,000, loaded directly into Stable Diffusion 3.5 Medium via Diffusers and PEFT.

Step 01

Base model access

Accept the community license for Stable Diffusion 3.5 Medium on Hugging Face and authenticate locally.

stabilityai/stable-diffusion-3.5-medium
Step 02

Attach DexOPD LoRA

Load the released PEFT LoRA adapter (rank 32, α = 64, ~75 MB) onto the SD3.5-Medium transformer.

kyc001/DexOPD on Hugging Face
Step 03

Generate & compare

Run 40 Euler steps at CFG 4.5 (512 × 512 for paper benchmarks or 1024 × 1024 for high-resolution outputs).

Browse same-noise comparisons
Python · Diffusers + PEFT
import torch
from diffusers import StableDiffusion3Pipeline
from peft import PeftModel

pipe = StableDiffusion3Pipeline.from_pretrained(
    "stabilityai/stable-diffusion-3.5-medium", torch_dtype=torch.float16
)
pipe.transformer = PeftModel.from_pretrained(pipe.transformer, "kyc001/DexOPD")
pipe.to("cuda")
pipe.vae.to(dtype=torch.float32)

with torch.inference_mode(), torch.autocast("cuda", dtype=torch.float16):
    image = pipe(
        'A shop window with a sign that reads "OPEN LATE"',
        height=512, width=512, num_inference_steps=40, guidance_scale=4.5,
        generator=torch.Generator(device="cuda").manual_seed(42),
    ).images[0]
image.save("dexopd.png")
Reference

Citation

Ke, Hu, Yang, Jin, Liu, and Deng, 2026 · arXiv:2611.31969

BibTeX
@misc{ke2026dexopd,
  title         = {DexOPD: Dual-Extrapolation On-Policy Distillation for Diffusion Models},
  author        = {Yunchao Ke and Yanzhe Hu and Yi Yang and Jiachun Jin and Zhihong Liu and Zhijie Deng},
  year          = {2026},
  eprint        = {2611.31969},
  archivePrefix = {arXiv},
  primaryClass  = {cs.AI},
  url           = {https://arxiv.org/abs/2611.31969}
}