2025-02-21 · 专家 · 计算机视觉 · 机器学习

RelaCtrl: Relevance-Guided Efficient Control for Diffusion Transformers

RelaCtrl通过分析控制信息的相关性,提出了一种高效可控生成框架,显著降低了参数和计算复杂度,同时提升了控制图像生成质量。

更新于 2025-02-21。作者:Ke Cao、Jing Wang、Ao Ma、Jiasong Feng、Zhanjie Zhang、Xuanhua He、Shanyuan Liu、Bo Cheng、Dawei Leng、Yuhui Yin、Jie Zhang。

中文摘要

扩散Transformer在推动文本到图像和文本到视频生成方面发挥着关键作用,这主要归因于其固有的可扩展性。然而,现有的受控扩散Transformer方法由于未能考虑不同Transformer层中控制信息的相关性变化,导致参数和计算开销巨大,资源分配效率低下。为此,我们提出了相关性引导的高效可控生成框架,RelaCtrl,它能够高效且资源优化地将控制信号集成到扩散Transformer中。首先,我们通过评估“控制网相关性分数”——即跳过每个控制层对生成质量和推理期间控制有效性的影响,来评估扩散Transformer中每一层对控制信息的相关性。基于相关性强度,我们随后调整控制层的定位、参数规模和建模能力,以减少不必要的参数和冗余计算。此外,为了进一步提高效率,我们将常用复制块中的自注意力机制和FFN替换为精心设计的二维洗牌混合器(TDSM),从而实现高效的令牌混合器和通道混合器。定性和定量实验结果表明,与PixArt-delta相比,我们的方法仅使用15%的参数和计算复杂度就实现了更优的性能。更多示例可在https://relactrl.github.io/RelaCtrl/查看。

英文摘要

The Diffusion Transformer plays a pivotal role in advancing text-to-image and text-to-video generation, owing primarily to its inherent scalability. However, existing controlled diffusion transformer methods incur significant parameter and computational overheads and suffer from inefficient resource allocation due to their failure to account for the varying relevance of control information across different transformer layers. To address this, we propose the Relevance-Guided Efficient Controllable Generation framework, RelaCtrl, enabling efficient and resource-optimized integration of control signals into the Diffusion Transformer. First, we evaluate the relevance of each layer in the Diffusion Transformer to the control information by assessing the "ControlNet Relevance Score"-i.e., the impact of skipping each control layer on both the quality of generation and the control effectiveness during inference. Based on the strength of the relevance, we then tailor the positioning, parameter scale, and modeling capacity of the control layers to reduce unnecessary parameters and redundant computations. Additionally, to further improve efficiency, we replace the self-attention and FFN in the commonly used copy block with the carefully designed Two-Dimensional Shuffle Mixer (TDSM), enabling efficient implementation of both the token mixer and channel mixer. Both qualitative and quantitative experimental results demonstrate that our approach achieves superior performance with only 15% of the parameters and computational complexity compared to PixArt-delta. More examples are available at https://relactrl.github.io/RelaCtrl/.

解读

一句话总结

RelaCtrl通过分析控制信息的相关性,提出了一种高效可控生成框架,显著降低了参数和计算复杂度,同时提升了控制图像生成质量。

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

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

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

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

来源