paper-with-me

Papers

FastCache: Fast Caching for Diffusion Transformer Through Learnable Linear Approximation

2025-05-26 · Dong Liu, Jiayi Zhang, YiFan Li, Yanxuan Yu, Ben Lengerich, Ying Nian Wu

Diffusion Transformers (DiT) are powerful generative models but remain computationally intensive due to their iterative structure and deep transformer stacks. To alleviate this inefficiency, we propose FastCache, a hidden-state-level caching and compression framework that accelerates DiT inference by exploiting redundancy within the model's internal representations. FastCache introduces a dual strategy: (1) a spatial-aware token selection mechanism that adaptively filters redundant tokens based on hidden state saliency, and (2) a transformer-level cache that reuses latent activations across timesteps when changes are statistically insignificant. These modules work jointly to reduce unnecessary computation while preserving generation fidelity through learnable linear approximation. Theoretical analysis shows that FastCache maintains bounded approximation error under a hypothesis-testing-based decision rule. Empirical evaluations across multiple DiT variants demonstrate substantial reductions in latency and memory usage, with best generation output quality compared to other cache methods, as measured by FID and t-FID. Code implementation of FastCache is available on GitHub at https://github.com/NoakLiu/FastCache-xDiT.

📄 PDF Abstract BibTeX arXiv:2505.20353

Code (1)

noakliu/fastcache-xdit 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Accelerating Frequency Domain Diffusion Models with Error-Feedback Event-Driven Caching

2026-04-24 · Dong Liu, Haisheng Wang, Yanxuan Yu arxiv

Diffusion models achieve remarkable success in time series generation. However, slow inference limits their practical deployment. We propose E$^2$-CRF (Error-Feedback Event-Driven Cumulative Residual Feature caching) to …

FORA: Fast-Forward Caching in Diffusion Transformer Acceleration

2024-07-01 · Pratheba Selvaraju, Tianyu Ding, Tianyi Chen, Ilya Zharkov 외

Diffusion transformers (DiT) have become the de facto choice for generating high-quality images and videos, largely due to their scalability, which enables the construction of larger models for enhanced performance. Howe…

Denoising

Adaptive Caching for Faster Video Generation with Diffusion Transformers

2024-11-04 · Kumara Kahatapitiya, Haozhe Liu, Sen He, Ding Liu 외

Generating temporally-consistent high-fidelity videos can be computationally expensive, especially over longer temporal spans. More-recent Diffusion Transformers (DiTs) -- despite making significant headway in this conte…

DenoisingVideo Generation

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

Towards Stabilized and Efficient Diffusion Transformers through Long-Skip-Connections with Spectral Constraints

2024-11-26 · Guanjie Chen, Xinyu Zhao, Yucheng Zhou, Xiaoye Qu 외

Diffusion Transformers (DiT) have emerged as a powerful architecture for image and video generation, offering superior quality and scalability. However, their practical application suffers from inherent dynamic feature i…

DenoisingImage GenerationVideo Generation