paper-with-me

홈 › Papers

Echo: KV-Cache-Free Associative Recall with Spectral Koopman Operators

2026-05-07 · Anupama Sridhar, Alexander Johansen arxiv

Long chain-of-thought reasoning and agentic tool-calling produce traces spanning tens of thousands of tokens, yet Transformer KV caches grow linearly with sequence length, creating a memory bottleneck on commodity hardware. State-space models offer constant-memory recurrence but suffer a memory cliff: retrieval accuracy collapses once the gap between a stored fact and its query exceeds the effective horizon of the recurrent state. We introduce Echo, a KV-cache-free associative recall architecture built around Spectral Koopman Attention (SKA); a drop-in replacement for attention layers that augments SSM blocks with a closed-form dynamical operator whose sufficient statistics are accumulated in constant memory with no KV cache. Echo fits a spectral linear system to the key and value history via kernel ridge regression and retrieves through a learned power-iterated filter, all from $O(r^{2})$ streaming state where $r$ is a small projection rank. On the Multi-Query Associative Recall benchmark, a pure Mamba-2 SSM fails to exceed chance accuracy (${\sim}3\%$) across all gap lengths and KV-pair counts, while at the 50M parameter scale SKA-augmented models achieve $100\%$ retrieval accuracy on every configuration tested, including distractor gaps of $4{,}096$ tokens with $32$ KV pairs. Across five additional transfer benchmarks including needle-in-a-haystack, tool-trace, and multi-hop retrieval, SKA consistently outperforms both pure SSM and SSM+Attention hybrids while maintaining constant inference memory. Ablations confirm that the spectral operator, not the prefix masking strategy, drives the retrieval gain.

📄 PDF Abstract BibTeX arXiv:2605.06997

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Breaking the KV Cache Bottleneck: Fan Duality Model Achieves O(1) Decode Memory with Superior Associative Recall

2026-04-09 · Yasong Fan arxiv

We present FDM (Fan Duality Model), a linear sequence architecture that resolves the fundamental tension between memory efficiency and associative recall in sequence modeling. FDM separates sequence processing into two c…

Echo-Forcing: A Scene Memory Framework for Interactive Long Video Generation

2026-05-15 · Mingqiang Wu, Weilun Feng, Zhefeng Zhang, Haotong Qin 외 arxiv

Autoregressive video diffusion models enable open-ended generation through local attention and KV caching. However, existing training-free long-video optimization methods mainly focus on stable extension under a single p…

Video Generation

Tensor Cache: Eviction-conditioned Associative Memory for Transformers

2026-05-21 · Kabir Swain, Sijie Han, Daniel Karl I. Weidele, Mauro Martino 외 arxiv

Autoregressive Transformer KV caches grow linearly with context length; sliding-window caching bounds memory but discards evicted tokens entirely, so relevant evidence outside the window becomes inaccessible. We introduc…

BayesPCN: A Continually Learnable Predictive Coding Associative Memory

2022-05-20 · Jason Yoo, Frank Wood

Associative memory plays an important role in human intelligence and its mechanisms have been linked to attention in machine learning. While the machine learning community's interest in associative memories has recently …

BIG-bench Machine LearningMeta-Learning

Hybrid Associative Memories

2026-03-20 · Leon Lufkin, Tomás Figliolia, Beren Millidge, Kamesh Krishnamurthy arxiv

Recurrent neural networks (RNNs) and self-attention are both widely used sequence-mixing layers that maintain an internal memory. However, this memory is constructed using two orthogonal mechanisms: RNNs compress the ent…