DreOPD: Degraded-Reference Extrapolative On-Policy Distillation for Flow-matching Models

Mingfeng Lin1,*,  Chengfei Cai2,*,  Lin Xu1,  Yuxiang Wei3,  Liang Han1,✉

1Harbin Institute of Technology (Shenzhen)    2Zhejiang University    3Harbin Institute of Technology

* Equal contribution    Corresponding author

Representative images generated by DreOPD and its average reward performance.
Left: Representative images generated by DreOPD across diverse subjects, scenes, and text-rendering scenarios. Right: Our method achieves the highest average performance across the evaluated reward metrics.

Abstract

Flow-matching models are now a mainstream method for image generation, but their adaptation to diverse downstream scenarios typically relies on post-training, which may cause conflicts among task-specific optimization objectives. Reinforcement learning enables direct optimization of task-specific rewards beyond the original models, yet trajectory-level optimization may incur high-variance gradients and cross-task interference. On-policy distillation (OPD) offers dense and stable supervision on student rollouts, but conventional teacher matching remains imitation-based. We propose DreOPD, a Degraded-reference extrapolative OPD method for flow-matching models that bridges these two paradigms. DreOPD converts implicit reward extrapolation into closed-form velocity regression, enabling extrapolative post-training with the stability of OPD. It further uses a mildly degraded reference to strengthen the teacher–reference contrast, yielding a clearer extrapolation direction. Experiments on single- and multi-teacher settings show that DreOPD outperforms OPD and multi-task RL baselines in average performance, while surpassing specialized teachers on most metrics.

Motivation

Deploying flow-matching models across objectives such as prompt following, text rendering, and aesthetics exposes a fundamental trade-off. Reinforcement learning can improve beyond existing models but suffers from high-variance trajectory-level gradients and cross-task interference. On-policy distillation is stable and dense, but imitation-based: a shared student merely interpolates among specialized teachers rather than exceeding them.

  • Beyond imitation. We derive a closed-form target that extends flow-based OPD from teacher imitation to reward extrapolation.
  • Reward interpretation. We characterize conditions under which the teacher–reference contrast is reward-aligned, and introduce controlled reference degradation to strengthen it.
  • Strong results. Across single- and multi-teacher settings, DreOPD achieves the best average performance while surpassing specialized teachers on most metrics.
Conceptual comparison of standard OPD and DreOPD in the multi-task setting.
Conceptual comparison in the multi-task setting. Left: standard OPD regresses a shared student toward task-specific teacher velocities, encouraging interpolation among teachers. Right: DreOPD uses a shared degraded reference to construct targets that extrapolate through each teacher, moving the student beyond each teacher along its teacher–reference direction.

Method

DreOPD converts trajectory-level implicit reward extrapolation into a per-state, closed-form velocity target, so that extrapolative post-training reduces to stable velocity regression on student rollouts.

1. Implicit reward extrapolation objective

Generalized OPD reinterprets teacher matching through the implicit reward log(πTref) and introduces a scaling coefficient λ. At λ=1 the reference terms cancel and it reduces to reverse-KL teacher matching; the regime λ>1 (ExOPD) amplifies the teacher–reference contrast beyond imitation.

2. Closed-form extrapolated velocity target

Under shared-covariance Gaussian flow transitions, the conditional objective at each student-visited state is strongly convex in the velocity and admits a unique closed-form optimizer. This turns a trajectory-level contrast into a simple per-state target, avoiding likelihood-ratio gradients over the denoising path.

At λ=1 this recovers teacher imitation vλ=vT; for λ>1 it moves beyond the teacher along the teacher–reference direction. The displacement from the teacher makes the roles of extrapolation strength and reference explicit:

3. On-policy velocity regression

We train the student by regressing toward the (stop-gradient) target on its own current rollouts, giving dense and stable supervision with the extrapolative direction baked into the target.

4. Reward interpretation & degraded reference

At the distribution level, the optimum is a reward tilt of the reference, and the expected reward increases monotonically with λ. Since the step beyond the teacher scales with vT−vref, a mildly degraded reference enlarges this reward-aligned contrast while preserving generative structure, strengthening extrapolation.

Results

We evaluate DreOPD with SD3.5-M at 512×512 across three text-to-image objectives: compositional correctness (GenEval), text rendering (OCR), and aesthetic quality (PickScore, ClipScore, HPSv2.1), plus out-of-domain Aesthetic and ImageReward.

Single-Teacher Distillation

Method GenEvalOCR PickScoreClipScoreHPSv2.1
SD3.5-M (w/o CFG)0.25290.137720.5190.23840.2052
SD3.5-M0.62730.507922.3310.28370.2795
Teacher0.94700.923924.0340.29630.3460
Flow-OPD0.9501 +.00310.9279 +.004024.006 −.0280.2957 −.00060.3445 −.0015
DiffusionOPD0.9648 +.01780.9246 +.000724.008 −.0260.2955 −.00080.3454 −.0006
Ours (w/o DeRef.)0.9708 +.02380.9322 +.008324.034 +.0000.2946 −.00170.3492 +.0032
Ours0.9710 +.02400.9364 +.012524.037 +.0030.2955 −.00080.3497 +.0037

Single-teacher distillation on three independent tasks. GenEval and OCR are reported by their respective students; PickScore, ClipScore, and HPSv2.1 by the aesthetics student. The Teacher row combines the in-domain scores of three task-specific teachers. Bold: best. Subscripts show absolute changes from the corresponding teacher (green = gain, red = drop). DeRef. = degraded reference.

Multi-Teacher Distillation

Model GenEvalOCRPickScoreClipScoreHPSv2.1 AestheticImgRewardAverage
SD3.5-M (w/o CFG)0.25290.137720.5190.23840.20525.161−0.54710.0000
SD3.5-M0.62730.507922.3310.28370.27955.3960.83240.5219
Single-Task RL Teachers
GenEval Teacher0.94700.628620.0840.28700.26445.2460.89760.5755
OCR Teacher0.65620.923922.2250.29190.27205.2660.88810.5963
Aes Teacher0.49350.501424.0340.29630.34606.2321.50710.8120
Multi-Task RL
Flow-GRPO0.73990.767322.6770.28930.29015.4691.05390.6527
GRPO-Guard0.90020.927823.1970.29590.31375.8241.35820.8394
DiffusionNFT0.95100.949123.1820.28690.28125.3991.06990.6939
Cascade NFT0.93760.882723.8030.29200.33056.0061.49070.9029
On-Policy Distillation
Flow-OPD0.9395 −.00750.8756 −.004823.262 −.7720.2975 +.00120.3070 −.00395.692 −.5401.3251 −.1820.8189
DiffusionOPD0.9607 +.01370.9242 +.000323.980 −.0540.2962 −.00010.3422 −.00386.191 −.0411.5017 −.00540.9680
Ours (w/o DeRef)0.9668 +.01980.9281 +.004224.032 −.0020.2956 −.00070.3487 +.00276.239 +.0071.5172 +.00010.9841
Ours0.9681 +.02110.9362 +.012324.035 +.0010.2959 −.00040.3487 +.00276.292 +.0601.5245 +.01740.9939

Single-task RL, multi-task RL, and multi-teacher OPD. Bold: best; Blue rows: Ours; Gray cells: in-domain reward. Average is the mean of min-max normalized scores across all metrics. Subscripts show absolute changes from the corresponding teacher. DreOPD reaches the best average (0.9939) and surpasses teachers on most metrics.

Qualitative comparison of base model, teachers, multi-task RL, OPD baselines and DreOPD.
Qualitative comparison of the base model, single-task teachers, multi-task RL, OPD baselines, and DreOPD.

Ablation Studies

Impact of the extrapolation factor λ

λ GEOCRPickClipHPS AesIR
0.5.921.89923.707.2941.32416.031.411
0.75.950.91823.925.2961.33646.131.483
1.0.958.92623.988.2963.34266.201.504
1.25.968.93624.034.2959.34876.291.525
1.5.961.93824.019.2945.35056.261.523

Ablation on λ. In-domain: GenEval (GE), OCR, PickScore (Pick), ClipScore (Clip), HPSv2.1 (HPS); OOD: Aesthetic (Aes), ImageReward (IR). Bold: best. Extrapolation (λ>1) improves over teacher matching, peaking around λ=1.25.

Degraded reference construction

Method GEOCRPickClipHPS AesIRAvg.
w/o DeRef..967.92824.03.2956.34876.241.517.558
Reference Velocity Quantization
4-bit.962.92324.03.2950.34826.281.524.566
8-bit.968.93624.04.2959.34876.291.525.926
Reference Weight Quantization
4-bit.959.92023.96.2929.34896.301.523.372
8-bit.961.93124.05.2949.34906.281.525.739
Reference Velocity Gaussian Perturbation
σ = 0.01.959.92324.01.2954.34776.271.520.358
σ = 0.1.960.92524.04.2948.34916.281.521.594

Ablation on the degraded reference. Bold: best. Mild velocity quantization (8-bit) yields the strongest, most structurally faithful teacher–reference contrast; overly aggressive degradation captures corruption artifacts rather than task-relevant differences.

Noise level & sampling

Ablation on noise level comparing ODE and SDE sampling and a policy-gradient variant.
Ablation on the noise level. Comparison of deterministic ODE sampling with SDE sampling at noise levels 0.3, 0.5, and 0.7, and a policy-gradient variant at noise level 0.3, on GenEval, PickScore, and OCR.

Additional Qualitative Results

Additional examples across the three objectives. Use the tabs to switch between tasks.

Conclusion

DreOPD translates trajectory-level implicit reward extrapolation into a closed-form velocity target, extending on-policy distillation from teacher imitation to teacher–reference extrapolation while retaining regression-based training. A mildly degraded reference strengthens a reward-aligned contrast without disrupting generative structure. Across single- and multi-teacher settings, DreOPD achieves the best average performance while surpassing teachers on most metrics, establishing reward extrapolation as an effective framework for consolidating specialized flow models.

BibTeX

@article{lin2026dreopd,
  title={DreOPD: Degraded-Reference Extrapolative On-Policy Distillation for Flow-matching Models},
  author={Lin, Mingfeng and Cai, Chengfei and Xu, Lin and Wei, Yuxiang and Han, Liang},
  journal={arXiv preprint arXiv:2608.09233},
  year={2026}
}