EDT:受类人素描启发的高效扩散Transformer框架
EDT: An Efficient Diffusion Transformer Framework Inspired by Human-like Sketching
AI总结:
针对基于Transformer的扩散概率模型计算量大的问题,研究提出受类人素描启发的EDT框架,结合轻量化架构、免训练注意力调制矩阵及专属掩码训练策略,实现了训练与推理的显著加速及更优的图像合成性能。
摘要:
基于Transformer的扩散概率模型(Diffusion Probabilistic Models, DPMs)已展现出比基于CNN的DPMs更大的潜力,但其庞大的计算需求阻碍了广泛的实际应用。为降低基于Transformer的DPMs的计算开销,本研究提出了高效扩散Transformer(Efficient Diffusion Transformer, EDT)框架。该框架包含轻量化设计的扩散模型架构,以及受类人素描启发、无需训练的注意力调制矩阵及其在EDT中的交替排布方式。此外,我们专门为EDT提出了一种令牌关系增强的掩码训练策略,以提升其令牌关系学习能力。大量实验验证了EDT的有效性。EDT框架降低了训练与推理成本,且图像合成性能超越了现有基于Transformer的扩散模型,实现了整体性能的显著提升。在更低FID的情况下,EDT-S、EDT-B和EDT-XL与对应规模的MDTv2相比,训练阶段分别实现了3.93倍、2.84倍和1.92倍的加速,推理阶段分别实现了2.29倍、2.29倍和2.22倍的加速。源代码已发布于https://github.com/xinwangChen/EDT。
英文摘要:
Transformer-based Diffusion Probabilistic Models (DPMs) have shown more potential than CNN-based DPMs, yet their extensive computational requirements hinder widespread practical applications. To reduce the computation budget of transformer-based DPMs, this work proposes the Efficient Diffusion Transformer (EDT) framework. The framework includes a lightweight-design diffusion model architecture, and a training-free Attention Modulation Matrix and its alternation arrangement in EDT inspired by human-like sketching. Additionally, we propose a token relation-enhanced masking training strategy tailored explicitly for EDT to augment its token relation learning capability. Our extensive experiments demonstrate the efficacy of EDT. The EDT framework reduces training and inference costs and surpasses existing transformer-based diffusion models in image synthesis performance, thereby achieving a significant overall enhancement. With lower FID, EDT-S, EDT-B, and EDT-XL attained speed-ups of 3.93x, 2.84x, and 1.92x respectively in the training phase, and 2.29x, 2.29x, and 2.22x respectively in inference, compared to the corresponding sizes of MDTv2. The source code is released at https://github.com/xinwangChen/EDT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。