arXiv:2611.04386cs.CVNov 2026

Manuscript Offprint

arXiv:2611.04386

StepX-OPD: Rethinking Multi-Teacher On-Policy Distillation in Diffusion Models

Chenru Wang, Xuanyang Zhang, Yucheng Han, Wenbo Nie, Wei Cheng, Xianfang Zeng, Gang YU, Chi Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

ABSTRACT

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. Because a decomposition of the rollout's KL weights velocity mismatch most heavily near the clean end, 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.

Figure

Figure

Figure 1: Training cost for the displayed optimization stages (left) and four-step performance across nine benchmarks after fixed axis-wise normalization (right).

∗^{*}Work done during an internship at StepFun.

†^{\dagger}Project lead.

1^{1}Corresponding author.

1 INTRODUCTION

Flow matching and diffusion models are widely used for text-to-image generation (Lipman et al., 2023; Esser et al., 2024). A model prepared for deployment must meet two needs at once: it must be capable across composition, text rendering, image quality, and human preference, and it must be fast, measured by how few sampling steps its inference requires. Models meet these needs through two separate lines of post-training, one that integrates capabilities into a single model and one that compresses its sampling trajectory into a few steps. These two lines are developed independently, each advancing its own need while leaving the other untouched. Yet both needs are placed on the same deployed model, so capability integration and step distillation constrain that model together.

Existing methods address these two deployment needs separately. Capability integration builds on on-policy distillation, which supervises the student on states the student itself generates (Agarwal et al., 2024). In continuous image generation, DiffusionOPD (Li et al., 2026), Flow-OPD (Fang et al., 2026), and DanceOPD (Zhou et al., 2026) use analytic transition KL or local regression to integrate capabilities, but retain full-step sampling. Step distillation, by contrast, starts from a teacher whose capabilities are already fixed. DMD (Yin et al., 2024b) and DMD2 (Yin et al., 2024a) use a frozen teacher score and an auxiliary fake-score estimator, while Qwen-Image-Flash (Wu et al., 2026) combines a base teacher with a post-trained teacher. TDM (Luo et al., 2025), CDM (Liu et al., 2026b), and SenseFlow (Ge et al., 2025) move supervision toward student-generated trajectories or nearby states, which improves the few-step trajectory. These compression methods still treat teacher capabilities as inputs. A multi-capability few-step model therefore continues to rely on a serial pipeline: multi-teacher capability integration first produces a full-step multi-capability model, and step distillation then treats that model as a fixed teacher for few-step compression. The serial pipeline lengthens training, because compression starts only once the full-step capability model finishes. Fig. 1 reports the training cost each optimization stage carries. Beyond this training cost, it leaves open the question: do the capabilities integrated into the full-step model still hold once its sampling trajectory is compressed to a few steps?

We test this directly by comparing each full-step capability model with its few-step compressed counterpart: Tab. 1 reports lower aggregate scores for every one of them after compression, with larger declines on individual metrics. Fig. 4 shows that these full-step OPD models already render prompt words into images more often than the base model, on prompts that neither request nor forbid text, before their trajectories are shortened. Transition matching in continuous-image OPD and marginal matching in DMD (Yin et al., 2024b) and TDM (Luo et al., 2025) both admit reverse-KL interpretations over different distributions and states. Theorem A.3 analyzes this relationship through a reverse-KL decomposition.

Motivated by this decomposition, we propose StepX-OPD, which integrates capabilities and compresses sampling in one training run, without an intermediate full-step OPD model. Frozen specialists supervise the student directly on the states its current few-step rollout visits, with each mini-batch going to the specialist for its training source. Because this decomposition weights the low-noise part of the rollout most heavily, StepX-OPD also regresses the student's velocity there, telling it not only which distribution to land in but also which direction to move.

We evaluate StepX-OPD on SD3.5-Medium (Esser et al., 2024) and FLUX.1-dev (Labs et al., 2025) across GenEval (Ghosh et al., 2023), OCR accuracy (Chen et al., 2023), DeQA (You et al., 2025), PickScore (Kirstain et al., 2023) and their normalized Average, against sequential Flow-OPD + TDM and DiffusionOPD + TDM baselines. On both architectures, StepX-OPD achieves the highest Average among the few-step systems, 0.8901 and 0.8902, and exceeds the forty-step Flow-OPD model, and on SD3.5-Medium it trains with about 37% fewer GPU-hours than DiffusionOPD + TDM. On prompts that do not request text, recurrence rises from 21 images for the SD3.5-Medium base to 218 for DiffusionOPD, and StepX-OPD, trained with the DiffusionOPD teachers, reduces it to 94, and to 84 with its precise-teacher variant.

Our contributions are summarized as follows:

  • We introduce StepX-OPD, which trains capability integration and few-step compression together on the student's current rollout, with the routed specialist supplying both the distribution-matching and the velocity-regression targets.

  • We measure unintended prompt-word rendering on prompts that neither request nor forbid text, find it rises with capability integration, and give a variant that reduces it.

  • We show under a common protocol that every full-step capability model we evaluate scores lower once compressed, and that StepX-OPD attains the highest Average among the few-step systems on both architectures and, on SD3.5-Medium, trains with about 37% fewer GPU-hours than sequential DiffusionOPD + TDM.

References (33)