paper-with-me

홈 › Papers

Token Caching for Diffusion Transformer Acceleration

2024-09-27 · Jinming Lou, Wenyang Luo, Yufan Liu, Bing Li, Xinmiao Ding, Weiming Hu, Jiajiong Cao, Yuming Li, Chenguang Ma

Diffusion transformers have gained substantial interest in diffusion generative modeling due to their outstanding performance. However, their high computational cost, arising from the quadratic computational complexity of attention mechanisms and multi-step inference, presents a significant bottleneck. To address this challenge, we propose TokenCache, a novel post-training acceleration method that leverages the token-based multi-block architecture of transformers to reduce redundant computations among tokens across inference steps. TokenCache specifically addresses three critical questions in the context of diffusion transformers: (1) which tokens should be pruned to eliminate redundancy, (2) which blocks should be targeted for efficient pruning, and (3) at which time steps caching should be applied to balance speed and quality. In response to these challenges, TokenCache introduces a Cache Predictor that assigns importance scores to tokens, enabling selective pruning without compromising model performance. Furthermore, we propose an adaptive block selection strategy to focus on blocks with minimal impact on the network's output, along with a Two-Phase Round-Robin (TPRR) scheduling policy to optimize caching intervals throughout the denoising process. Experimental results across various models demonstrate that TokenCache achieves an effective trade-off between generation quality and inference speed for diffusion transformers. Our code will be publicly available.

📄 PDF Abstract BibTeX arXiv:2409.18523

Code (0)

등록된 구현이 없습니다.

Tasks

DenoisingScheduling

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 설명 없음
Pruning 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
Focus 설명 없음
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 제목 키워드 기반

Accelerating Diffusion Transformers with Token-wise Feature Caching

2024-10-05 · Chang Zou, Xuyang Liu, Ting Liu, Siteng Huang 외

Diffusion transformers have shown significant effectiveness in both image and video synthesis at the expense of huge computation costs. To address this problem, feature caching methods have been introduced to accelerate …

Video Generation

Accelerating Diffusion Transformers with Dual Feature Caching

2024-12-25 · Chang Zou, Evelyn Zhang, Runlin Guo, Haohang Xu 외

Diffusion Transformers (DiT) have become the dominant methods in image and video generation yet still suffer substantial computational costs. As an effective approach for DiT acceleration, feature caching methods are des…

Video Generation

Compute Only 16 Tokens in One Timestep: Accelerating Diffusion Transformers with Cluster-Driven Feature Caching

2025-09-12 · Zhixin Zheng, Xinyu Wang, Chang Zou, Shaobo Wang 외 arxiv

Diffusion transformers have gained significant attention in recent years for their ability to generate high-quality images and videos, yet still suffer from a huge computational cost due to their iterative denoising proc…

Text-to-Video Generation

ProCache: Constraint-Aware Feature Caching with Selective Computation for Diffusion Transformer Acceleration

2025-12-19 · Fanpu Cao, Yaofo Chen, Zeng You, Wei Luo arxiv

Diffusion Transformers (DiTs) have achieved state-of-the-art performance in generative modeling, yet their high computational cost hinders real-time deployment. While feature caching offers a promising training-free acce…

SODA: Sensitivity-Oriented Dynamic Acceleration for Diffusion Transformer

2026-03-07 · Tong Shao, Yusen Fu, Guoying Sun, Jingde Kong 외 arxiv

Diffusion Transformers have become a dominant paradigm in visual generation, yet their low inference efficiency remains a key bottleneck hindering further advancement. Among common training-free techniques, caching offer…