paper-with-me

홈 › Papers

IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reuse

2026-03-12 · Yushi Bai, Qian Dong, Ting Jiang, Xin Lv, Zhengxiao Du, Aohan Zeng, Jie Tang, Juanzi Li arxiv

Long-context agentic workflows have emerged as a defining use case for large language models, making attention efficiency critical for both inference speed and serving cost. Sparse attention addresses this challenge effectively, and DeepSeek Sparse Attention (DSA) is a representative production-grade solution: a lightweight lightning indexer selects the top-k most relevant tokens per query, reducing core attention from $O(L^2)$ to $O(Lk)$. However, the indexer itself retains $O(L^2)$ complexity and must run independently at every layer, despite the fact that the resulting top-k selections are highly similar across consecutive layers. We present IndexCache, which exploits this cross-layer redundancy by partitioning layers into a small set of Full layers that run their own indexers and a majority of Shared layers that simply reuse the nearest Full layer's top-k indices. We propose two complementary approaches to determine and optimize this configuration. Training-free IndexCache applies a greedy search algorithm that selects which layers to retain indexers by directly minimizing language modeling loss on a calibration set, requiring no weight updates. Training-aware IndexCache introduces a multi-layer distillation loss that trains each retained indexer against the averaged attention distributions of all layers it serves, enabling even simple interleaved patterns to match full-indexer accuracy. Experimental results on a 30B DSA model show that IndexCache can remove 75% of indexer computations with negligible quality degradation, achieving up to 1.82$\times$ prefill speedup and 1.48$\times$ decode speedup compared to standard DSA. These positive results are further confirmed by our preliminary experiments on the production-scale GLM-5 model (Figure 1).

📄 PDF Abstract BibTeX arXiv:2603.12201

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Sparse-dLLM: Accelerating Diffusion LLMs with Dynamic Cache Eviction

2025-08-04 · Yuerong Song, Xiaoran Liu, Ruixiao Li, Zhigeng Liu 외 arxiv

Diffusion Large Language Models (dLLMs) enable breakthroughs in reasoning and parallel decoding but suffer from prohibitive quadratic computational complexity and memory overhead during inference. Current caching techniq…

AVGGT: Rethinking Global Attention for Accelerating VGGT

2025-12-02 · Xianbing Sun, Zhikai Zhu, Zhengyu Lou, Bo Yang 외 arxiv

Models such as VGGT and $π^3$ have shown strong multi-view 3D performance, but their heavy reliance on global self-attention results in high computational cost. Existing sparse-attention variants offer partial speedups, …

db-SP: Accelerating Sparse Attention for Visual Generative Models with Dual-Balanced Sequence Parallelism

2025-11-28 · Siqi Chen, Ke Hong, Tianchen Zhao, Ruiqi Xie 외 arxiv

Scaling Diffusion Transformer (DiT) inference via sequence parallelism is critical for reducing latency in visual generation, but is severely hampered by workload imbalance when applied to models employing block-wise spa…

PulseCol: Periodically Refreshed Column-Sparse Attention for Accelerating Diffusion Language Models

2026-05-20 · Yanyi Lyu, Letian Chen, Futing Sun, Miao Zhang 외 arxiv

Inference in diffusion large language models (dLLMs) is computationally expensive, as full self-attention must be repeatedly executed at each step of the denoising process without KV cache. Recent sparse attention method…

Computational Efficiency

Centaur: A Chiplet-based, Hybrid Sparse-Dense Accelerator for Personalized Recommendations

2020-05-12 · Ranggi Hwang, Taehun Kim, Youngeun Kwon, Minsoo Rhu

Personalized recommendations are the backbone machine learning (ML) algorithm that powers several important application domains (e.g., ads, e-commerce, etc) serviced from cloud datacenters. Sparse embedding layers are a …

CPU