Attend to Not Attended: Structure-then-Detail Token Merging for Post-training DiT Acceleration

Haipeng Fang, Sheng Tang, Juan Cao, Enshuo Zhang, Fan Tang +1 more
5/1/2025

No official code found. Best implementation: ICTMCG/SDTM (17 stars, last commit 2025-09-29).

Abstract

Diffusion transformers have shown exceptional performance in visual generation but incur high computational costs. Token reduction techniques that compress models by sharing the denoising process among similar tokens have been introduced. However, existing approaches neglect the denoising priors of the diffusion models, leading to suboptimal acceleration and diminished image quality. This study proposes a novel concept: attend to prune feature redundancies in areas not attended by the diffusion process. We analyze the location and degree of feature redundancies based on the structure-then-detail denoising priors. Subsequently, we introduce SDTM, a structure-then-detail token merging approach that dynamically compresses feature redundancies. Specifically, we design dynamic visual token merging, compression ratio adjusting, and prompt reweighting for different stages. Served in a post-training way, the proposed method can be integrated seamlessly into any DiT architecture. Extensive experiments across various backbones, schedulers, and datasets showcase the superiority of our method, for example, it achieves 1.55× acceleration with negligible impact on image quality. Project page: https://github.com/ICTMCG/SDTM.

View on arXivView PDF

Code Implementations(1)

ICTMCG/SDTMCommunity64%

Official repository for "Attend to Not Attended: Structure-then-Detail Token Merging for Post-training DiT Acceleration", which has been accepted by CVPR 2025.

172Shell, PythonMar 24, 20251 years ago

Similar Papers

Cite this paper

@article{fang2025attend,
  title  = {Attend to Not Attended: Structure-then-Detail Token Merging for Post-training DiT Acceleration},
  author = {Haipeng Fang and Sheng Tang and Juan Cao and Enshuo Zhang and Fan Tang and Tong-Yee Lee},
  year   = {2025},
  eprint = {2505.11707},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2505.11707},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.11707.svg)](https://codeofpaper.com/paper/2505.11707)

Discussion