paper-with-me

홈 › Papers

Cached Adaptive Token Merging: Dynamic Token Reduction and Redundant Computation Elimination in Diffusion Model

2025-01-01 · Omid Saghatchian, Atiyeh Gh. Moghadam, Ahmad Nickabadi

Diffusion models have emerged as a promising approach for generating high-quality, high-dimensional images. Nevertheless, these models are hindered by their high computational cost and slow inference, partly due to the quadratic computational complexity of the self-attention mechanisms with respect to input size. Various approaches have been proposed to address this drawback. One such approach focuses on reducing the number of tokens fed into the self-attention, known as token merging (ToMe). In our method, which is called cached adaptive token merging(CA-ToMe), we calculate the similarity between tokens and then merge the r proportion of the most similar tokens. However, due to the repetitive patterns observed in adjacent steps and the variation in the frequency of similarities, we aim to enhance this approach by implementing an adaptive threshold for merging tokens and adding a caching mechanism that stores similar pairs across several adjacent steps. Empirical results demonstrate that our method operates as a training-free acceleration method, achieving a speedup factor of 1.24 in the denoising process while maintaining the same FID scores compared to existing approaches.

📄 PDF Abstract BibTeX arXiv:2501.00946

Code (1)

omidiu/ca_tome 공식 구현 pytorch

Tasks

DenoisingToken Reduction

Similar Papers 제목 키워드 기반

LiteVGGT: Boosting Vanilla VGGT via Geometry-aware Cached Token Merging

2025-12-04 · Zhijian Shu, Cheng Lin, Tao Xie, Wei Yin 외 arxiv

3D vision foundation models like Visual Geometry Grounded Transformer (VGGT) have advanced greatly in geometric perception. However, it is time-consuming and memory-intensive for long sequences, limiting application to l…

3D Reconstruction

VLN-Cache: Enabling Token Caching for VLN Models with Visual/Semantic Dynamics Awareness

2026-03-07 · Zihao Zheng, Zhihao Mao, Xingyue Zhou, Jiayu Chen 외 arxiv

Vision-and-Language Navigation (VLN) increasingly relies on large vision-language models, but their inference cost conflicts with real-time deployment. Token caching is a promising training-free strategy that avoids redu…

MergeDNA: Context-aware Genome Modeling with Dynamic Tokenization through Token Merging

2025-11-17 · Siyuan Li, Kai Yu, Anna Wang, Zicheng Liu 외 arxiv

Modeling genomic sequences faces two unsolved challenges: the information density varies widely across different regions, while there is no clearly defined minimum vocabulary unit. Relying on either four primitive bases …

FlowMM: Cross-Modal Information Flow Guided KV Cache Merging for Efficient Multimodal Context Inference

2025-10-29 · Kunxi Li, Yufan Xiong, Zhonghua Jiang, Yiyun Zhou 외 arxiv

Traditional KV cache eviction strategies, which discard less critical KV-pairs based on attention scores, often degrade generation quality, causing context loss or hallucinations. Recent efforts shift toward KV merging, …

AdaMerge: Salience-Aware Adaptive Token Merging for Training-Free Acceleration of Vision Transformers

2026-05-26 · Semi Lee, Hyejin Go, Hyesong Choi arxiv

The quadratic cost of self-attention in Vision Transformers (ViTs) constitutes a fundamental bottleneck for practical deployment, motivating a vibrant line of research on token reduction. Among existing approaches, token…