paper-with-me

홈 › Papers

Augmenting Attention with Exponentially Decaying Memory Improves Query-Aware KV Sparsity

2026-05-27 · Xiuying Wei, Caglar Gulcehre arxiv

Efficient inference is critical for long-context language models, where attention computation and KV-cache access dominate the cost. Recent work RAT+, introduces a recurrence-augmented attention backbone that enables flexible dilated attention at inference time. In this paper, we investigate whether this exponentially decaying memory can also improve existing query-aware sparse inference methods. Using representative methods including Quest, MoBA, and SnapKV, we show that RAT+ consistently improves accuracy over standard attention across sparse budgets on eight needle-in-a-haystack tasks. We validate these gains both on the released checkpoints from the RAT+ paper and on OLMo2-7B, which we continue pretraining with the added memory module for 10B tokens. Finally, we propose two hypotheses explaining why this memory module benefits query-aware sparse inference and design targeted experiments to support them.

📄 PDF Abstract BibTeX arXiv:2605.28640

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Investigation of event-based memory surfaces for high-speed tracking, unsupervised feature extraction and object recognition

2016-03-14 · Saeed Afshar, Gregory Cohen, Tara Julia Hamilton, Jonathan Tapson 외

In this paper we compare event-based decaying and time based-decaying memory surfaces for high-speed eventbased tracking, feature extraction, and object classification using an event-based camera. The high-speed recognit…

Object Recognition

Dynamical Systems as Temporal Feature Spaces

2019-07-15 · Peter Tino

Parameterized state space models in the form of recurrent networks are often used in machine learning to learn from data streams exhibiting temporal dependencies. To break the black box nature of such models it is import…

State Space ModelsTime SeriesTime Series Analysis

LeetDecoding: A PyTorch Library for Exponentially Decaying Causal Linear Attention with CUDA Implementations

2025-01-05 · Jiaping Wang, Simiao Zhang, Qiao-Chu He, Yifan Chen

The machine learning and data science community has made significant while dispersive progress in accelerating transformer-based large language models (LLMs), and one promising approach is to replace the original causal …

GPU

How Memory in Optimization Algorithms Implicitly Modifies the Loss

2025-02-04 · Matias D. Cattaneo, Boris Shigida

In modern optimization methods used in deep learning, each update depends on the history of previous iterations, often referred to as memory, and this dependence decays fast as the iterates go further into the past. For …

Exponentially Decaying Bag-of-Words Input Features for Feed-Forward Neural Network in Statistical Machine Translation

2016-08-01 · ACL 2016 8 · Jan-Thorsten Peter, Weiyue Wang, Hermann Ney
Automatic Speech Recognition (ASR)Language ModelingLanguage ModellingMachine Translation+2