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

Wuyang Zhang, Xiaolin XuarXiv 2026 · arXiv

TL;DR

CtrlFlow is a novel distillation method that accelerates diffusion models by nearly 2x while preserving the interpretable "base flow vs. guidance direction" interface of Classifier-Free Guidance (CFG). By using dual LoRA adapters and a unified distillation loss, it achieves single-pass efficiency without sacrificing the ability to adjust guidance scales post-hoc or diagnose model behavior.

What Problem Does This Paper Address?

Classifier-Free Guidance (CFG) is the industry standard for controlling the quality and alignment of generated images. However, it comes with a heavy "CFG tax": every sampling step requires two forward passes (one conditional, one unconditional), doubling the time it takes to generate an image.

Existing "single-pass" alternatives try to pay this tax upfront during training by distilling the guided model into a faster student. The problem is that most of these students produce a single "opaque" output. By collapsing the base flow ($v_0$) and the guidance direction ($g$) into one vector, these methods lose the transparency and per-step control that made CFG so useful. Furthermore, they often struggle to maintain quality when the user wants to change the guidance scale ($s$) at inference time without retraining.

Methods

The authors introduce CtrlFlow, which keeps the $v_0$ and $g$ components separate even in a single forward pass.

  1. Dual-Adapter Architecture: CtrlFlow attaches two lightweight Low-Rank Adaptation (LoRA) adapters to a frozen backbone (like DiT-XL/2). One adapter learns to predict the base flow, and the other learns the guidance direction. This adds only about 5% more parameters.
  2. Unified Multi-Scale Distillation: A major challenge in training such a model is "training-pressure mismatch." At inference, errors in the guidance direction are multiplied by the scale $s$. A naive loss would treat $v_0$ and $g$ errors equally. CtrlFlow uses a unified loss that supervises the composed output ($\hat{v}_0 + s \cdot \hat{g}$), naturally forcing the model to prioritize accuracy in the guidance branch at higher scales.
  3. Scale-Adaptive Modulation: To stabilize the model at extreme scales, CtrlFlow uses three "gates":
  4. Temporal Windowing: Damping guidance at the very beginning and end of the trajectory.
  5. Scale Dampening: Reducing the effective guidance magnitude as $s$ increases.
  6. Alignment Gating: Using the geometric relationship between $v_0$ and $g$ to attenuate guidance if it opposes the base flow—a feature only possible because the two are kept separate.
  7. Time-Grid Warping: To resolve "dead zones" (configurations where quality drops sharply), the authors redistribute the $N$ solver steps to focus more evaluations on high-curvature regions of the trajectory.
CtrlFlow training and inference overview. The student uses dual LoRAs to predict separate components, which are then modulated and combined.

Datasets

  • ImageNet 256x256: The primary benchmark for class-conditional generation.
  • MS-COCO: Used for a text-to-image pilot study using Stable Diffusion 2.1.
  • Backbones: The method was validated on both DiT-XL/2 and DiT-L/4 architectures.

Key Insights and Ideas

  • Interpretability as a Performance Booster: The "aha moment" is that keeping the components separate isn't just for show; it enables the Alignment Gate. By checking if the guidance direction is fighting the base flow, the model can automatically damp potential artifacts in real-time.
  • Solving the Mismatch: The authors prove that varying the guidance scale during training is necessary to "identify" the split between $v_0$ and $g$. Without scale variation, the model can't distinguish which part of the signal belongs to the base flow versus the guidance.
  • Efficiency without Fine-tuning: Unlike some methods that require fine-tuning the entire massive backbone, CtrlFlow achieves its results by only training small adapters, making it much more accessible for practitioners with limited compute.

Key Results

  • Speed: CtrlFlow achieves a 1.93x wall-clock speedup over standard CFG at 25 steps.
  • Quality: It matches CFG quality in 24 out of 25 tested $(N, s)$ configurations.
  • Robustness: As shown in the figure below, CtrlFlow tracks the teacher's performance across scales much better than previous state-of-the-art single-pass methods like AGD, which tend to "drift" and fail outside their specific training scale.
Figure 2: FID-50K vs. scale at N=25. CtrlFlow tracks CFG while the fixed- scale AGD variant (“AGD”) drifts past its training scale s = 2.
  • Comparison: In a head-to-head comparison (Table 1), CtrlFlow is the only single-pass method that offers both explicit access to $v_0/g$ and a post-hoc adjustable scale.
Table 1: Comparison of guidance methods. Ex- plicit v0/g: base flow and guidance direction separately accessible. Post-hoc s: guidance scale adjustable without retraining.

Limitations and Future Work

  • Scope: The main evaluation is limited to class-conditional ImageNet. While a Stable Diffusion pilot was successful, full-scale text-to-image and video generation remain for future work.
  • Hyperparameters: The modulation and warping functions rely on several hyperparameters. While the authors found them to be robust, they were tuned on a specific subset of configurations.
  • Theoretical Assumptions: The proof for "identifiability" (recovering the exact teacher split) assumes a perfect model with zero loss; in practice, the recovery is a very close approximation.

Summary updated

Abstract

Classifier-Free Guidance 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 N-step trajectory takes 2N 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.
BibTeX
@misc{zhang2026decompose,
  author = {Wuyang Zhang and Xiaolin Xu},
  title = {{Decompose the Distillation: Interpretable Single-Pass Guidance for Diffusion Models}},
  year = {2026},
  eprint = {2611.05755},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.05755},
}
Figure