Manuscript Offprint

arXiv:2610.21250

FocusOPD: Structure-Guided On-Policy Distillation for Diffusion Models

Xinrui Lin, Shumin Wang, Suqi Song, Fan Li, Yanyong Zhang

ABSTRACT

Multi-teacher on-policy distillation enables rectified-flow models with diffusion-transformer architectures to combine task-specific capabilities within a single student. However, matching model outputs does not guarantee that their internal representations are aligned, and it remains unclear where and when additional feature supervision is most useful. We analyze the teacher–student feature mismatch across Transformer blocks and denoising timesteps, and find that the mismatch is concentrated in deeper Transformer blocks during early denoising and persists after OPD distillation, indicating ineffective distillation. Motivated by this observation, we introduce FocusOPD, which augments the base OPD objective with token-wise directional feature alignment restricted to deep layers and early denoising steps. Across two rectified-flow backbones and multiple OPD objectives, FocusOPD improves capability transfer in compositional generation, text rendering, and preference-based evaluation. On the primary benchmark, it improves over DiffusionOPD from 0.953 to 0.967 on GenEval, from 23.797 to 23.944 on PickScore, and from 6.052 to 6.199 on LAION-Aesthetic. Ablations show that selective deep and early supervision is more effective and efficient than alignment over the full network and trajectory.

1 INTRODUCTION

On-policy distillation (OPD) transfers teacher behavior through feedback on student-generated trajectories (Agarwal et al., 2024; Lu & Thinking Machines Lab, 2025). For diffusion models, multi-teacher OPD integrates specialized capabilities, including compositional generation, text rendering, and alignment with human preferences, into a single student (Ma et al., 2026; Li et al., 2026; Fang et al., 2026). Recent methods select denoising states for teacher feedback and align representation changes across network blocks (Zhou et al., 2026; Wei et al., 2026). Yet these developments leave open how the value of supervision varies across blocks and denoising stages. We therefore ask: what patterns characterize the utility of additional feature supervision across network depth and denoising steps?

To investigate this question, we begin by examining teacher–student feature mismatch in SD3.5-M Esser et al. (2024) and Z-Image (Z-Image Team et al., 2025). Evaluating teacher and student on the same noisy inputs, we find that feature mismatch is generally larger in deeper blocks and during early, high-noise denoising. Its relative organization remains qualitatively similar before and after output-level OPD, even though its magnitude may change. We call this a persistent depth–temporal structure. The marginal trends locate larger discrepancies; the joint profiles reveal that their organization persists through training. Neither observation alone explains the underlying mechanism.

We examine two mechanisms consistent with this structure. Two lemmas characterize how local discrepancies propagate across network blocks and how weaker observations preserve prior-dependent

∗^{*}Equal contribution.

†^{\dagger}Corresponding authors.

(a) Across depth

Figure

(b) Across denoising

Figure 1: Teacher–student feature MSE across (a) transformer blocks and (b) denoising steps, ordered from high to low noise. Different curves indicate different groups of (a)denoising steps (b)blocks.

differences in a Gaussian denoising model. Building on this account, we derive a local criterion for selective feature supervision: under local smoothness and gradient-compatibility conditions, allocating a fixed auxiliary weight to sufficiently larger discrepancies can yield greater output-loss reduction for small auxiliary updates. Two lightweight diagnostics support the proposed mechanisms: upstream differences dominate mismatch at selected deep blocks, and noise-dependent scaling improves held-out prediction over a timestep control.

Motivated by this analysis, we introduce FocusOPD, a straightforward way to use the persistent depth–temporal structure in multi-teacher OPD (MOPD). It augments the base output objective with tokenwise cosine alignment of conditional image features in deep layers during early denoising. Output and feature queries are specified independently, and inference requires no additional components. On SD3.5-M with DiffusionOPD, it improves GenEval from 0.953 to 0.967, OCR accuracy from 0.958 to 0.960, and PickScore from 23.797 to 23.944, and ImageReward from 1.471 to 1.517. The ablations show that gains depend on supervision placement: Last-12/Front-40% reaches LAION-Aesthetic 6.214 with a 432 MiB feature cache, whereas full-trajectory supervision yields a GenEval score of 0.951, and supervising all blocks raises it only to 0.965 while doubling the cache. Our main contributions are:

• Observation (Section 1). We identify persistent structure of teacher-student mismatch across depth and denoising time in the MOPD of SD3.5-M and Z-Image.

• Theory & Evidence (Sections 3–4). We characterize two mismatch mechanisms, support them with targeted diagnostics, and derive a conditional local criterion for selective supervision.

• Method (Section 5). We introduce FocusOPD, aligning deep features in early denoising steps while retaining the base OPD protocol.

• Experiments & Insights (Section 6). We improve capability transfer across composition, text rendering, and preference metrics. The ablations show that selective supervision of deep layers during early denoising is effective, while broader temporal or depth coverage adds cost without consistent gains.

References (25)