paper-with-me

홈 › Papers

Efficient Diffusion Transformer with Step-wise Dynamic Attention Mediators

2024-08-11 · Yifan Pu, Zhuofan Xia, Jiayi Guo, Dongchen Han, Qixiu Li, Duo Li, Yuhui Yuan, Ji Li, Yizeng Han, Shiji Song, Gao Huang, Xiu Li

This paper identifies significant redundancy in the query-key interactions within self-attention mechanisms of diffusion transformer models, particularly during the early stages of denoising diffusion steps. In response to this observation, we present a novel diffusion transformer framework incorporating an additional set of mediator tokens to engage with queries and keys separately. By modulating the number of mediator tokens during the denoising generation phases, our model initiates the denoising process with a precise, non-ambiguous stage and gradually transitions to a phase enriched with detail. Concurrently, integrating mediator tokens simplifies the attention module's complexity to a linear scale, enhancing the efficiency of global attention processes. Additionally, we propose a time-step dynamic mediator token adjustment mechanism that further decreases the required computational FLOPs for generation, simultaneously facilitating the generation of high-quality images within the constraints of varied inference budgets. Extensive experiments demonstrate that the proposed method can improve the generated image quality while also reducing the inference cost of diffusion transformers. When integrated with the recent work SiT, our method achieves a state-of-the-art FID score of 2.01. The source code is available at https://github.com/LeapLabTHU/Attention-Mediators.

📄 PDF Abstract BibTeX arXiv:2408.05710

Code (1)

leaplabthu/attention-mediators 공식 구현 pytorch

Tasks

Denoising

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Dynamic Diffusion Transformer

2024-10-04 · Wangbo Zhao, Yizeng Han, Jiasheng Tang, Kai Wang 외

Diffusion Transformer (DiT), an emerging diffusion model for image generation, has demonstrated superior performance but suffers from substantial computational costs. Our investigations reveal that these costs stem from …

Image Generation

RAPID^3: Tri-Level Reinforced Acceleration Policies for Diffusion Transformer

2025-09-26 · Wangbo Zhao, Yizeng Han, Zhiwei Tang, Jiasheng Tang 외 arxiv

Diffusion Transformers (DiTs) excel at visual generation yet remain hampered by slow sampling. Existing training-free accelerators - step reduction, feature caching, and sparse attention - enhance inference speed but typ…

Training-Free Efficient Video Generation via Dynamic Token Carving

2025-05-22 · Yuechen Zhang, Jinbo Xing, Bin Xia, Shaoteng Liu 외

Despite the remarkable generation quality of video Diffusion Transformer (DiT) models, their practical deployment is severely hindered by extensive computational requirements. This inefficiency stems from two key challen…

DenoisingVideo Generation

Hardware-Friendly Static Quantization Method for Video Diffusion Transformers

2025-02-20 · Sanghyun Yi, Qingfeng Liu, Mostafa El-Khamy

Diffusion Transformers for video generation have gained significant research interest since the impressive performance of SORA. Efficient deployment of such generative-AI models on GPUs has been demonstrated with dynamic…

QuantizationVideo GenerationVisual Question Answering (VQA)

CorGi: Contribution-Guided Block-Wise Interval Caching for Training-Free Acceleration of Diffusion Transformers

2025-12-30 · Yonglak Son, Suhyeok Kim, Seungryong Kim, Young Geun Kim arxiv

Diffusion transformer (DiT) achieves remarkable performance in visual generation, but its iterative denoising process combined with larger capacity leads to a high inference cost. Recent works have demonstrated that the …