2025-02-28 · 进阶 · 机器学习 · 计算机视觉

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

FlexiDiT提出了一种灵活的扩散变换器模型,通过调整图像块大小来动态分配计算资源,在保持生成样本质量的同时,显著降低了计算量。

更新于 2025-02-28。作者:Sotiris Anagnostidis、Gregor Bachmann、Yeongmin Kim、Jonas Kohler、Markos Georgopoulos、Artsiom Sanakoyeu、Yuming Du、Albert Pumarola、Ali Thabet、Edgar Schönfeld。

中文摘要

尽管现代扩散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 flexible ones -- dubbed FlexiDiT -- allowing them to process inputs at varying compute budgets. We demonstrate how a single 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.

解读

一句话总结

FlexiDiT提出了一种灵活的扩散变换器模型,通过调整图像块大小来动态分配计算资源,在保持生成样本质量的同时,显著降低了计算量。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt