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

Region-Adaptive Sampling for Diffusion Transformers

该论文提出了区域自适应采样(RAS)策略,通过动态地为图像中的不同区域分配不同的采样率,显著提高了扩散模型采样的效率。

更新于 2025-02-17。作者:Ziming Liu、Yifan Yang、Chengruidong Zhang、Yiqi Zhang、Lili Qiu、Yang You、Yuqing Yang。

中文摘要

扩散模型(DMs)已成为众多领域中生成任务的领先选择。然而,它们依赖于多个序列的前向传递,这显著限制了实时性能。先前的方法主要集中于减少采样步骤或重用中间结果,但由于卷积U-Net结构的限制,未能利用图像空间区域内的变异性。通过利用扩散变压器(DiTs)处理可变数量标记的灵活性,我们引入了RAS,这是一种新颖的无训练采样策略,它根据DiT模型的关注点动态地为图像内的不同区域分配不同的采样比率。我们的主要观察是,在每个采样步骤中,模型集中在语义上有意义的区域,这些关注区域在连续步骤中表现出强烈的连续性。利用这一洞察,RAS只更新当前关注的区域,而其他区域则使用前一步骤缓存的噪声进行更新。模型的关注点是基于前一步骤的输出确定的,利用了我们观察到的时序一致性。我们在Stable Diffusion 3和Lumina-Next-T2I上评估了RAS,分别实现了2.36倍和2.51倍的速度提升,同时生成质量下降最小。此外,一项用户研究表明,RAS在人工评估下提供了相当的质量,同时实现了1.6倍的速度提升。我们的方法在更有效的扩散变压器方面迈出了重要的一步,增强了它们在实时应用中的潜力。

英文摘要

Diffusion models (DMs) have become the leading choice for generative tasks across diverse domains. However, their reliance on multiple sequential forward passes significantly limits real-time performance. Previous acceleration methods have primarily focused on reducing the number of sampling steps or reusing intermediate results, failing to leverage variations across spatial regions within the image due to the constraints of convolutional U-Net structures. By harnessing the flexibility of Diffusion Transformers (DiTs) in handling variable number of tokens, we introduce RAS, a novel, training-free sampling strategy that dynamically assigns different sampling ratios to regions within an image based on the focus of the DiT model. Our key observation is that during each sampling step, the model concentrates on semantically meaningful regions, and these areas of focus exhibit strong continuity across consecutive steps. Leveraging this insight, RAS updates only the regions currently in focus, while other regions are updated using cached noise from the previous step. The model's focus is determined based on the output from the preceding step, capitalizing on the temporal consistency we observed. We evaluate RAS on Stable Diffusion 3 and Lumina-Next-T2I, achieving speedups up to 2.36x and 2.51x, respectively, with minimal degradation in generation quality. Additionally, a user study reveals that RAS delivers comparable qualities under human evaluation while achieving a 1.6x speedup. Our approach makes a significant step towards more efficient diffusion transformers, enhancing their potential for real-time applications.

解读

一句话总结

该论文提出了区域自适应采样(RAS)策略,通过动态地为图像中的不同区域分配不同的采样率,显著提高了扩散模型采样的效率。

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

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

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

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

来源

机器可读索引:llms.txt