paper-with-me

홈 › Papers

SpecAttn: Speculating Sparse Attention

2025-10-31 · Harsh Shah arxiv

Large Language Models (LLMs) face significant computational bottlenecks during inference due to the quadratic complexity of self-attention mechanisms, particularly as context lengths increase. We introduce SpecAttn, a novel training-free approach that seamlessly integrates with existing speculative decoding techniques to enable efficient sparse attention in pre-trained transformers. Our key insight is to exploit the attention weights already computed by the draft model during speculative decoding to identify important tokens for the target model, eliminating redundant computation while maintaining output quality. SpecAttn employs three core techniques: KL divergence-based layer alignment between draft and target models, a GPU-optimized sorting-free algorithm for top-p token selection from draft attention patterns, and dynamic key-value cache pruning guided by these predictions. By leveraging the computational work already performed in standard speculative decoding pipelines, SpecAttn achieves over 75% reduction in key-value cache accesses with a mere 15.29% increase in perplexity on the PG-19 dataset, significantly outperforming existing sparse attention methods. Our approach demonstrates that speculative execution can be enhanced to provide approximate verification without significant performance degradation.

📄 PDF Abstract BibTeX arXiv:2510.27641

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networks

2021-01-31 · Torsten Hoefler, Dan Alistarh, Tal Ben-Nun, Nikoli Dryden 외

The growing energy and performance costs of deep learning have driven the community to reduce the size of neural networks by selectively pruning components. Similarly to their biological counterparts, sparse networks gen…

Speculating Experts Accelerates Inference for Mixture-of-Experts

2026-03-09 · Vivan Madan, Prajwal Singhania, Abhinav Bhatele, Tom Goldstein 외 arxiv

Mixture-of-Experts (MoE) models have gained popularity as a means of scaling the capacity of large language models (LLMs) while maintaining sparse activations and reduced per-token compute. However, in memory-constrained…

Prospective Artificial Intelligence Approaches for Active Cyber Defence

2021-04-20 · Neil Dhir, Henrique Hoeltgebaum, Niall Adams, Mark Briers 외

Cybercriminals are rapidly developing new malicious tools that leverage artificial intelligence (AI) to enable new classes of adaptive and stealthy attacks. New defensive methods need to be developed to counter these thr…

Causal InferencePositionreinforcement-learningReinforcement Learning (RL)

Quantum effects in linguistic endeavors

2015-05-21

Classifying the information content of neural spike trains in a linguistic endeavor, an uncertainty relation emerges between the bit size of a word and its duration. This uncertainty is associated with the task of synchr…

Decoding ChatGPT: A Taxonomy of Existing Research, Current Challenges, and Possible Future Directions

2023-07-26 · Shahab Saquib Sohail, Faiza Farhat, Yassine Himeur, Mohammad Nadeem 외

Chat Generative Pre-trained Transformer (ChatGPT) has gained significant interest and attention since its launch in November 2022. It has shown impressive performance in various domains, including passing exams and creat…

Marketing