fwDiT: Boosting Diffusion Transformers with Cross-Step Feature Forwarding
Summary
Diffusion transformers (DiTs) are widely used for visual generation, but they still depend on guidance to produce high-quality samples, and guidance has its own drawbacks. The authors point to a bottleneck in sampling: each step computes rich internal features, yet consecutive steps exchange information only through the much lower-dimensional sample space.
They propose fwDiT, which forwards late-layer features from one sampling step to the next. A trainable projector maps those features into forwarded features that are added to the model's input, and a LoRA adapter on the frozen pre-trained model learns to use them. With about two epochs of fine-tuning, the unguided ImageNet 256x256 FID of SiT-XL/2 falls from 8.67 to 1.74, and that of REPA from 6.00 to 1.36. The authors report this outperforms the pre-trained models with classifier-free guidance (CFG) at a matched sampling budget. A single epoch lets SiT-L/2 outperform the larger, longer-trained SiT-XL/2, and about half an hour on one GPU more than halves the unguided FID of SiT-XL/2. The forwarded features alone, without the adapter, also improve the pre-trained model considerably. Two inference-time knobs, adapter scaling and feature-space CFG (F-CFG), improve results further, reaching 1.30 FID on REPA.
Why it matters for builders
For builders running DiTs, the paper describes an adaptation that keeps the pre-trained model frozen and trains only a projector and a LoRA adapter, at a cost the authors describe as cheap: minutes to a couple of epochs. It targets the reliance on guidance, which can matter when guidance costs or side effects are a concern. The adapter scale and F-CFG give controls that can be adjusted at inference time. The abstract reports results only for ImageNet 256x256 with SiT and REPA models, so it does not show how well the approach carries over to other resolutions, datasets, model families or tasks, nor what it costs at inference beyond the matched sampling budget comparison.
Takeaways
- fwDiT passes late-layer features from one sampling step to the next, instead of only the sample.
- About two epochs of fine-tuning cut unguided FID from 8.67 to 1.74 on SiT-XL/2 and from 6.00 to 1.36 on REPA.
- Reported to beat the pre-trained models with CFG at a matched sampling budget.
- Forwarded features alone, without the trained adapter, already improve the pre-trained model.
- Adapter scaling and F-CFG add inference-time control, reaching 1.30 FID on REPA; evidence is limited to ImageNet 256x256.
AI summary of the abstract, auto-checked by a second AI model. It may miss nuance the full paper has: read the paper. Something wrong? Report an error.
Why it's here
- 28 upvotes on Hugging Face Daily Papers
- Links its code
Abstract
Diffusion transformers (DiTs) dominate visual generation, yet they still rely on guidance to produce high-quality samples, which comes with its own drawbacks. We identify an overlooked bottleneck in the sampling process: each step computes rich internal features, yet consecutive steps communicate only through the much lower-dimensional sample space. We propose fwDiT, which forwards late-layer features from one sampling step to the next: a trainable projector maps them to forwarded features that are added to the model's input, and a LoRA adapter on the frozen pre-trained model learns to use them. Remarkably, about two epochs of fine-tuning suffice to reduce the unguided ImageNet 256x256 FID of SiT-XL/2 from 8.67 to 1.74 and that of REPA from 6.00 to 1.36, outperforming the pre-trained models with classifier-free guidance (CFG) at a matched sampling budget. Even shorter fine-tuning is effective: a single epoch allows SiT-L/2 to outperform the larger and longer-trained SiT-XL/2, and about half an hour on a single GPU more than halves the unguided FID of SiT-XL/2. Interestingly, we find that the forwarded features alone, without the adapter trained to process them, dramatically improve the pre-trained model. We further propose two inference-time knobs specific to our framework: adapter scaling, which controls the adapter's influence, and feature-space CFG (F-CFG), which amplifies the condition-specific component of the forwarded features. We study their behavior and use them to further improve results, e.g., to 1.30 FID on REPA. Beyond its strong performance and cheap adaptation, fwDiT opens the door to studying information pathways in feature space to further improve DiTs. Project page: https://danielgilo.github.io/fwdit/
Abstract from arXiv (metadata CC0). The paper is shared under arXiv non-exclusive licence.