Abstract
Despite their remarkable performance, modern Diffusion Transformers are hindered by substantial resource requirements during inference, stemming from the fixed and large amount of compute needed for each denoising step. In this work, we revisit the conventional static paradigm that allocates a fixed compute budget per denoising iteration and propose a dynamic strategy instead. Our simple and sample-efficient framework enables pre-trained DiT models to be converted into \emph{flexible} ones -- dubbed FlexiDiT -- allowing them to process inputs at varying compute budgets. We demonstrate how a single \emph{flexible} model can generate images without any drop in quality, while reducing the required FLOPs by more than $40$\% compared to their static counterparts, for both class-conditioned and text-conditioned image generation. Our method is general and agnostic to input and conditioning modalities. We show how our approach can be readily extended for video generation, where FlexiDiT models generate samples with up to $75$\% less compute without compromising performance.
Abstract (translated)
尽管现代扩散变换器(Diffusion Transformers)在性能方面表现出色,但在推理过程中却由于每个去噪步骤所需固定且大量的计算资源而受到限制。在这项工作中,我们重新审视了传统的静态范式,该范式为每次去噪迭代分配固定的计算预算,并提出了一种动态策略来替代它。我们的简单且样本效率高的框架使得预训练的DiT模型能够转换成所谓的“灵活”模型(FlexiDiT),使其能够在不同计算预算下处理输入。 我们展示了单一的“灵活”模型如何在不降低质量的情况下生成图像,同时相比静态模型减少了超过40%所需的FLOPs,无论是针对类别条件还是文本条件下的图像生成。我们的方法是通用且与输入和调节模式无关的。我们还展示了该方法如何轻松扩展到视频生成,在这种情况下,FlexiDiT模型在不牺牲性能的情况下能够以高达75%的计算资源减少来生成样本。
URL
https://arxiv.org/abs/2502.20126