arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.20126cs.LGcs.CV
收藏

FlexiDiT:您的扩散Transformer可以以更少的计算轻松生成高质量样本

FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Compute

Meta GenAI;KAIST(韩国科学技术院)

Sotiris Anagnostidis, Gregor Bachmann, Yeongmin Kim, Jonas Kohler, Markos Georgopoulos, Artsiom Sanakoyeu, Yuming Du, Albert Pumarola, Ali Thabet, Edgar Schönfeld

AI总结:

FlexiDiT通过动态分配计算预算,将预训练扩散Transformer转换为灵活模型,在图像和视频生成中分别减少40%和75%的FLOPs,且不损失质量。

摘要:

尽管现代扩散Transformer表现出色,但其推理过程中因每个去噪步骤需要固定且大量的计算而受到资源需求的严重阻碍。在这项工作中,我们重新审视了传统静态范式,即为每次去噪迭代分配固定计算预算,并提出了动态策略。我们简单且样本高效的框架能够将预训练的DiT模型转换为灵活模型——称为FlexiDiT——使其能够在不同的计算预算下处理输入。我们展示了单个灵活模型如何在无质量下降的情况下生成图像,同时与静态模型相比,在类别条件和文本条件图像生成中,所需FLOPs减少超过40%。我们的方法具有通用性,且对输入和条件模态不敏感。我们展示了该方法如何轻松扩展到视频生成,其中FlexiDiT模型在不影响性能的情况下,以最多减少75%的计算量生成样本。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑