Manuscript Offprint

arXiv:2611.05755

Decompose the Distillation: Interpretable Single-Pass Guidance for Diffusion Models

Wuyang Zhang, Xiaolin Xu

Abstract

Classifier-Free Guidance (CFG) is a widely used inference-time guidance rule for conditional image generation with diffusion models, which exposes a guidance scale that adjusts conditioning strength after training. This flexibility requires conditional and unconditional model evaluations at every sampling step, so an NN-step trajectory takes 2N2N forward passes. Single-pass alternatives reduce such cost, yet most collapse CFG's two components into one opaque guided prediction, losing the separable base flow and guidance direction that support per-step control and diagnostics, even when the scale remains adjustable. This work introduces CtrlFlow, a single-pass guidance method that preserves CFG's separable base-flow and guidance-direction interface. To preserve both components at one-pass cost, CtrlFlow attaches two lightweight LoRA adapters to a frozen backbone, each adding 2.5% parameters, and predicts the base flow and guidance direction from one pass of the shared frozen backbone. Because the guidance scale multiplies the guidance direction only after the forward pass, one evaluation yields the guided velocity at any scale, so a single trained checkpoint remains adjustable at inference without retraining. Preserving two outputs introduces a training mismatch: inference amplifies guidance-direction errors by the chosen scale, while naive component-wise losses weight both outputs equally. To align training with this composed inference-time error, CtrlFlow uses a unified multi-scale distillation loss. Residual guidance errors can still persist at extreme scales, where even small guidance-direction errors are amplified by the guidance scale. To reduce this inference-time error, CtrlFlow applies scale-adaptive modulation to damp velocity-field errors and time-grid warping to concentrate solver evaluations where the trajectory changes most rapidly. On ImageNet 256×256256 \times 256 with the DiT-XL/2 backbone, CtrlFlow matches CFG within a pre-specified tolerance in 24 of 25 (N,s)(N,s) configurations, against 20 of 25 for a matched scale-conditioned opaque student, and achieves a measured 1.93×1.93\times wall-clock speedup at N=25N=25.

1 Introduction

In conditional image generation with diffusion models [Ho et al., 2020, Song et al., 2021, Rombach et al., 2022], each sample should both look like a plausible natural image and match the conditioning signal, such as the requested class in class-conditional generation [Dhariwal and Nichol, 2021, Peebles and Xie, 2023]. Achieving both goals simultaneously is challenging: stronger guidance improves condition matching, whereas overly strong guidance can introduce visible artifacts [Sadat et al., 2025a] and make the model produce similar outputs instead of diverse valid images for the same condition [Karras et al., 2024, Kynkäänniemi et al., 2024]. Inference-time guidance methods [Dhariwal and Nichol, 2021, Ho and Salimans, 2021] address this trade-off by letting

*Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

practitioners control the strength of the conditioning signal during sampling. Classifier-Free Guidance (CFG) [Ho and Salimans, 2021], the most widely adopted such method and a foundation for many later variants, implements this control with a scalar guidance scale ss that can be tuned after training. Because CFG compares two predictions from the same network at every sampling step, practitioners obtain per-sample, per-step control over the quality-alignment trade-off without retraining. This flexibility carries a cost: every guided step requires two network evaluations rather than one, so an NN-step trajectory takes 2N2N forward passes and wall-clock latency nearly doubles [Ho et al., 2020, Song et al., 2021, Rombach et al., 2022].

Several recent works attacked this 2N2N overhead. Across these attempts, speed is typically gained by giving up some facet of CFG's interface, leaving practitioners to choose between latency and control. One route distills guidance into a single-pass student that takes the scale as a network input, as in AGD [Jensen and Sadat, 2025], which trains an adapter on a frozen backbone, and Guidance-Free Training (GFT) [Chen et al., 2025a], which fine-tunes the whole model. Both halve the forward passes and keep the scale adjustable, but each pass commits to one scale and returns an opaque guided velocity with no separable base flow or guidance direction. Model Guidance [Tang et al., 2025] and Entropy Rectifying Guidance [Ifriqi et al., 2025] take a different route, building guidance directly into the model. Both methods run in a single pass, yet both collapse the base/guidance split and surrender the post-hoc scale knob that motivated CFG. A complementary pattern keeps two passes and improves the guidance step instead. CFG-Zero* [Fan et al., 2025] and APG [Sadat et al., 2025a] sharpen the guided update, while retaining the conditional and unconditional evaluations. Autoguidance [Karras et al., 2024] makes the second evaluation cheaper by replacing the unconditional model with a smaller trained network. None of these two-pass refinements reduces the 2N2N evaluation count. For the goal of CFG-like control at lower latency, these trade-offs reduce to three axes. Single-pass compute measures whether each step uses one network evaluation or two. The criterion of explicit access to v0v_0 and gg concerns whether the method's inference interface keeps base flow and guidance direction separately available for control or diagnosis. The remaining axis, post-hoc ss, captures whether the method exposes a guidance-scale knob that is not tied to a single training scale and can be varied at inference without retraining. Table 1 organizes existing methods along these axes. Scale-conditioned students such as AGD and GFT already combine single-pass compute with post-hoc ss, so the missing piece is the interface: to our knowledge, no prior single-pass method keeps v0v_0 and gg separately available.

Motivated by this missing intersection, we observe that CFG's two-prediction structure exposes an interpretable interface between a base flow v0v_0 and a guidance direction gg, which should be preserved rather than collapsed into a single opaque prediction. The base flow captures how the model moves toward the data manifold without conditioning, while the guidance direction encodes how the conditioning signal redirects that flow. Existing single-pass efficient methods compress this interface into a single opaque output. To preserve it at one-pass cost, CtrlFlow attaches two lightweight LoRA adapters [Hu et al., 2022], each adding 2.5% parameters, to a frozen backbone and computes both components in a single forward pass. As a result, the guidance scale ss multiplies the guidance direction after the forward pass, so ss remains adjustable at inference and no retraining is needed. Unlike a scale input, this lets one evaluation yield the guided velocity at every ss. In addition to post-hoc scale control, the preserved interface opens a diagnostic channel unavailable to opaque single-pass methods. Norm maps reveal

Table 1: Comparison of guidance methods. Explicit v0/gv_0/g: base flow and guidance direction separately accessible. Post-hoc ss: guidance scale adjustable without retraining.

MethodSingle PassExplicit v0/gPost-hoc s
Two-Pass (NFE = 2N)
CFG✗✓†✓
CFG + Interval✗✓†✓
CFG-Zero*✗✗§✓
APG✗~‡✓
Autoguidance✗✗✓
Single-Pass (NFE = N)
AGD✓✗✓||
GFT✓✗✓||
Model Guidance✓✗✗
ERG✓✗✗
CtrlFlow (Ours)✓✓✓

†Via two evaluations, not one pass.

‡Projects relative to vcondv_{cond}, two passes.

§Rescales combined update, split not preserved.

¶Smaller unconditional net, split not preserved.

||Scale is a network input, one opaque output per pass.

where guidance acts spatially, while alignment maps reveal whether guidance reinforces or opposes the base flow, and this geometric signal later enables the alignment-based correction in Section 3.4.

Preserving the decomposition is not free, however, because distilling this interface exposes three challenges that require explicit handling.

(i) Training-pressure mismatch. Supervising the two components independently creates a mismatch between training pressure and inference-time error importance within the fixed adapter budget. Inference weights guidance errors by s, but a naive component-wise loss treats both components equally, so the guidance adapter receives weaker gradient signal than its inference-time importance warrants. A unified distillation objective sidesteps this mismatch by supervising only the composed output, which aligns gradient pressure with the composed inference-time error (Section 3.3).

(ii) Error amplification. At high guidance scales with low step counts, small prediction errors in the guidance direction are magnified by s, producing visible artifacts. Scale-adaptive modulation addresses this amplification by targeting three sources of error (Section 3.4). Temporal windowing narrows the guidance-active interval as s grows, while scale dampening reduces the guidance magnitude above a tuned threshold. Alignment-based correction then uses the geometric agreement between base flow and guidance direction, a signal that no opaque single-pass student exposes.

(iii) Dead zones. In our diagnostics, certain (N,s)(N,s) configurations show large FID degradation that is better explained by temporal under-resolution of the solver than by a globally inaccurate learned velocity field. A scale-dependent time-warp controller redistributes the existing NN evaluations near critical trajectory regions without adding forward passes (Section 3.5). With this warp, all observed dead-zone failures except the extreme (2,8)(2,8) setting are resolved (Appendix D.13), leaving 24 of 25 configurations within tolerance.

We evaluate on ImageNet 256 × 256 with the DiT-XL/2 backbone [Peebles and Xie, 2023]. Under the FID tolerance defined in Section 4, these mechanisms recover CFG-match quality while retaining one-pass sampling. CtrlFlow matches CFG quality across all five tested step counts at s=1s=1 and across four of five at s=8s=8. At N=25N=25, wall-clock time falls from 843 ms per image to 437 ms, a 1.93×1.93\times speedup. Beyond the training range of s≤8s \leq 8, CtrlFlow remains competitive: it outperforms CFG at s=10s=10 (FID 28.41 versus 31.24) and trails CFG by 3.1 FID at the more extreme s=12s=12 setting in our DiT-XL/2 protocol. Against a scale-conditioned opaque student with the same capacity, teacher, and curriculum (AGD-MultiScale), CtrlFlow is on par at (25,2)(25,2) and 0.96 to 4.14 FID lower at the harder tested configurations, matches CFG in 24 of 25 configurations against 20 of 25, and keeps top-1 class accuracy within 2 points of CFG.

Our contributions are organized around preserving and exploiting this interface.

• Interpretable single-pass guidance interface. CtrlFlow exposes both v0v_0 and g in one forward pass with 5% parameter overhead, while keeping the guidance scale ss adjustable at inference without retraining. The dual-adapter architecture and unified distillation objective that enable this interface are described in Sections 3.2 and 3.3.

• Decomposition-enabled stabilization. CtrlFlow combines temporal windowing and scale dampening with an alignment-based correction that only the preserved split makes possible, reducing error amplification across the tested range of ss. At (4,8)(4,8), these modulations lower FID from 73.41 to 63.42 before time warping is applied (Section 3.4, Table 3). These mechanisms also help opaque students, but with every transferable mechanism given to a matched opaque student, CtrlFlow remains 1.3 to 2.1 FID lower (Section 4.3).

• Dead-zone removal. Scale-dependent time-grid warping resolves all observed dead-zone failures except (2,8)(2,8), leaving 24 of 25 configurations within tolerance without additional forward passes (Section 3.5).

• CFG-match quality at one-pass cost. Across the 25-point (N,s)(N,s) grid on DiT-XL/2, CtrlFlow matches CFG quality in 24 of 25 cases, against 20 of 25 for the matched scale-conditioned opaque student, and the measured N=25N=25 latency shows a 1.93×1.93\times wall-clock speedup over CFG (Section 4, Table 2). On DiT-L/4, CtrlFlow stays within 0.19 FID of CFG at (25,2)(25,2) and outperforms CFG at the tested high-scale settings, and a Stable Diffusion 2.1 pilot adds text conditioning (Section 4.5).

References (100)

  • Visual generation without guidance
  • Toward guidance-free AR visual generation via condition contrastive alignment
  • Adaptive time-stepping schedules for diffusion models
  • CFG++: Manifold-constrained classifier free guidance for diffusion models
  • Diffusion models beat GANs on image synthesis
  • Cfg-zero*: Improved classifier-free guidance for flow matching models, 2025 (opens arXiv in a new tab)
  • Pareesa Ameneh Golnari. Lora-enhanced distillation on guided diffusion models, 2023. URL https://arxiv.org/abs/2312.06899. (opens arXiv in a new tab)
  • Deep Residual Learning for Image Recognition
  • CLIPScore: A reference-free evaluation metric for image captioning (opens the publisher in a new tab)
  • Classifier-free diffusion guidance
  • Denoising Diffusion Probabilistic Models
  • Plug-and-play diffusion distillation
  • LoRA: Low-rank adaptation of large language models
  • Entropy rectifying guidance for diffusion and flow models, 2025 (opens arXiv in a new tab)
  • Efficient distillation of classifier-free guidance using adapters
  • Guiding a diffusion model with a bad version of itself
  • Dynamic negative guidance of diffusion models: Towards immediate content removal
  • Improved precision and recall metric for assessing generative models
  • Applying guidance in a limited interval improves sample and distribution quality in diffusion models
  • Microsoft COCO: Common Objects in Context
  • Flow matching for generative modeling
  • Dpm-solver: a fast ode solver for diffusion probabilistic model sampling in around 10 steps
  • Latent consistency models: Synthesizing high-resolution images with few-step inference, 2024
  • Classifier-free guidance with adaptive scaling, 2025 (opens arXiv in a new tab)
  • On distillation of guided diffusion models (opens the publisher in a new tab)
  • Scalable Diffusion Models with Transformers (opens the publisher in a new tab)
  • Rise: Randomized input sampling for explanation of black-box models, 2018 (opens arXiv in a new tab)
  • High-Resolution Image Synthesis with Latent Diffusion Models (opens the publisher in a new tab)
  • Align your steps: optimizing sampling schedules in diffusion models
  • Eliminating oversaturation and artifacts of high guidance scales in diffusion models
  • No training, no problem: Rethinking classifier-free guidance for diffusion models
  • Progressive distillation for fast sampling of diffusion models
  • Grad-cam: Visual explanations from deep networks via gradient-based localization (opens the publisher in a new tab)
  • Score-based generative modeling through stochastic differential equations
  • Consistency models
  • Diffusion models without classifier-free guidance, 2025 (opens arXiv in a new tab)
  • Gradient surgery for multi-task learning
  • Top-down neural attention by excitation backprop (opens the publisher in a new tab)
  • Diffusionnft: Online diffusion reinforcement with forward process, 2026 (opens arXiv in a new tab)
  • Progressive distillation [Salimans and Ho, 2022] repeatedly halves the number of sampling steps
  • Kynkäänniemi et al. [2024] showed that guidance degrades quality at high noise levels and adds nothing near convergence
  • Section B.1 analyzes capacity allocation under the unified loss
  • All gradients are with respect to the trainable adapter parameters only, as the backbone is frozen throughout
  • Let $\boldsymbol{\theta} = (\mathbf{A}_{0}, \mathbf{B}_{0}, \mathbf{A}_{g}, \mathbf{B}_{g})$ denote the trainable LoRA adapter parameters
  • The two adapter parameter sets $(\mathbf{A}_{0}, \mathbf{B}_{0})$ and $(\mathbf{A}_{g}, \mathbf{B}_{g})$ are disjoint
  • The $s^2$ factor follows from squaring the chain-rule factor $s$ in $\nabla_{\theta_g} \mathcal{L}$, so Equation 11 holds without assumptions
  • It then states the exact decomposition of the modulated output against the CFG velocity, which separates the estimation error that modulation suppresses from the bias that it deliberately introduces (Section B.2.5)
  • The student produces approximations $\hat{\mathbf{v}}_0 = \mathbf{v}_0 + \epsilon_0$ and $\hat{\mathbf{g}} = \mathbf{g} + \epsilon_g$, where $\epsilon_0$ and $\epsilon_g$ are the prediction errors at timestep $t$
  • At $s = 8$, the guidance-error contribution is amplified by a factor of 8 while the base error remains at unit weight
  • The bounds in this subsection compare the modulated student with the equally modulated teacher field $\mathbf{v}_0 + s\gamma \mathbf{g}$
  • The following decomposition makes the gap between the two explicit
  • Because the high-scale target is intentionally not CFG, the CFG-Match criterion of Section 4.1 counts improvements over CFG as matches, which makes it one-sided
  • The trapezoidal rule on a fine grid of $K$ points yields the following costs
  • The warped schedule is computed once per $(N, s)$ configuration and cached
  • The window center remains fixed at $\mu=0.5$, the midpoint of the $[0,1]$ time interval
  • Below this threshold, both mechanisms remain inactive, leaving low-$s$ generation unmodified
  • These configurations span (25, 2), (25, 8), (8, 4), (4, 2), and (4, 8)
  • The matched scale-conditioned baseline appears in Appendix D.2
  • FID-50K ($\downarrow$) for all 25 configurations on ImageNet $256\times256$
  • The more informative baseline for judging the decomposition is a student that sees the same range of scales but keeps a single opaque output
  • Grid match
  • The most notable result appears at $(25, 8)$, where the Recall of the fixed-scale AGD variant collapses to 0.14 compared with CFG's 0.32, signaling severe mode dropping
  • Best single-pass result per column in bold
  • IS provides a complementary quality signal to FID by measuring both per-sample classifiability and overall diversity
  • This check matters for CtrlFlow because temporal windowing and scale dampening reduce the effective guidance at high $s$, which could in principle lower FID by weakening conditioning
  • The FID gains therefore reflect a favorable balance between image quality and condition alignment rather than silently weakened conditioning
  • The three mechanisms differ in this respect
  • Bold marks the best single-pass (NFE = $N$) entry per column
  • Without warping, the ratio exceeds 1.10 at four configurations where $N \leq 4$ and $s \geq 6$, corroborating the dead-zone phenomenon
  • Table 18 tests $s \in \{10,12\}$ beyond the training range at $N=25$
  • To assess whether the decomposition transfers to a different architecture scale, we train CtrlFlow on DiT-L/4 (458M parameters, patch size 4) using an identical protocol
  • CtrlFlow reaches 32.14 vs. 34.82 at (25, 8) and 76.38 vs. 82.41 at (4, 8)
  • Because $\beta_{\text{GFT}}$ and $s$ parameterize different families, each method is swept over its own control, and $\beta_{\text{GFT}} = 1/(1+s)$ serves only as a nominal correspondence
  • We read this as comparable sample quality with a difference in what each checkpoint costs and exposes
  • DiT-XL/2 already operates in the latent space of the Stable Diffusion autoencoder, so the mechanism is exercised under latent diffusion, and this pilot adds text conditioning
  • The $\mathbf{v}_0$ adapter consistently outperforms the $\mathbf{g}$ adapter by a margin of 0.04 to 0.11, a gap that arises because the unconditional velocity aligns closely with the frozen backbone's prior
  • Section 4.4 reports the component-swap test, which asks whether the learned components can substitute for the teacher's without degrading generation quality
  • The conditional anchor is marginally lower at $s=1$, where its first branch targets $\mathbf{v}_{\mathrm{cond}}$ directly, and at high $s$, consistent with its smaller guidance coefficient
  • Component diagnostics on fixed $(\mathbf{x}_t, c, t)$ states agree with this gap
  • Rows show $(N=25,s=2)$, $(N=25,s=8)$, and $(N=4,s=8)$, and columns show CFG (2N passes), the fixed-scale AGD variant ($s=2$, $N$ passes, labeled “AGD”), and CtrlFlow ($N$ passes)
  • At (25, 2), all methods produce visually similar outputs, consistent with the small FID gaps in Table 2
  • Each block of three rows corresponds to one class, and columns show CFG (2N passes), the fixed-scale AGD variant ($N$ passes, labeled “AGD”), and CtrlFlow ($N$ passes) at a shared seed
  • Figure 7 extends this analysis to two additional classes, butterfly and volcano, to test whether the observed patterns generalize
  • To test whether guidance concentrates on the conditioned object, we compute guidance-norm maps on forward-noised ImageNet validation images and score them against the ground-truth object boxes
  • Every two-pass baseline runs its official public implementation with default hyperparameters on DiT-XL/2 ImageNet 256×256
  • C)</td><td>$\mathcal{U}[1, 8]$</td><td>[1, 12]</td><td>1</td><td>✓</td></tr></table>
  • Inference relies on DPM-Solver-2 (second-order, multistep) with velocity prediction and the uniform-then-warped timestep schedule
  • Training and inference run in bf16 mixed precision with TF32 enabled on 8×A100 (80 GB)
  • A [No] or [N/A] answer to this question will not be perceived well by the reviewers
  • Limitations
  • The authors should reflect on how these assumptions might be violated in practice and what the implications would be
  • The authors should use their best
  • Reviewers will be specifically instructed to not penalize honesty concerning limitations
  • Appendix C provides all hyperparameter values, and Appendix E specifies the baseline protocol, cost measurement, and implementation details
  • Making the paper reproducible is important, regardless of whether the code and data are provided or not
  • For example
  • Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark)
  • See the NeurIPS code and data submission guidelines (
  • If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why
  • The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified

Couldn't load all references. Reload the page to try again.