arXiv Machine Learning

Forgetful Attention: A Trainable Support-Vector Memory with Certified Selection and Exact Unlearning

arXiv:2607. 12204v1 Announce Type: new Abstract: Attention can be viewed as an online learner over context, yet existing test-time memories cannot certify that dropping a token leaves outputs unchanged or delete its influence outright.

Hugging Face Trending Papers
Jul 2

A Hippocampus for Linear Attention: An Exact Memory for What the Recurrent State Forgets

Linear-attention and state-space language models compress the prefix into a fixed-size recurrent state, yielding O(1) memory at the cost of a lossy exact memory: when many key--value associations compete, earlier facts are overwritten and needle recall degrades. Inspired by Complementary Learning Systems, we give linear attention a hippocampal complement.

arXiv Machine Learning
Nov 6

Muir: Linear Attention with Sensitivity-Allocated Gating and Matched-Filter Readout

Muir is a new linear‑attention architecture that consolidates gating mechanisms into a low‑rank projection and uses a matched‑filter readout to re‑weight state rows. It improves over GDN‑2 and Transformers across a wide range of model sizes, lowering perplexity, boosting commonsense accuracy, and enhancing extractive recall while maintaining comparable throughput. The design also includes a numerically stable parallel update for efficient training on large chunk sizes.

By Tushaar Gangavarapu, Gil Tabak, Clemens JS Schaefer
arXiv Computation and Language
Oct 19

First Passage Attention

The paper introduces First Passage Attention (FPA), a new attention mechanism that replaces the traditional summation of decay contributions with a path‑extrema approach, lowering a key’s logit based on the deepest dip of a learned scalar field over the intervening span. FPA generalises the Forgetting Transformer (FoX) and, when the field and levels share a learned walk, naturally forms a stack of alive keys. Experiments show that a constant‑dimension FPA head can realise any subset of keys left alive by subsequent dips, outperforming softmax heads and FoX baselines in synthetic tasks, and matching FoX perplexity while achieving perfect passkey retrieval at eight times the training length in a 110M‑parameter language model.

By Yuxuan Liu
arXiv Computation and Language
Aug 28

TwinKV: A Composable Repair Pass for KV Cache Eviction via Pairwise Key Redundancy

TwinKV is a training‑free, attention‑free repair pass that identifies and swaps orphaned and redundant tokens in a KV cache, improving long‑context inference for small models. It works by detecting near‑duplicate keys and can be composed with existing eviction policies without altering their scoring rules. Experiments on Qwen3‑4B and Llama‑3.2‑1B across LongBench, LooGLE, RULER, and MMLU‑Pro show that TwinKV consistently improves performance for most configurations, especially at tighter compression ratios.

By Hong Chen, Yudong Zeng, Yongwei Huang, Zuhao Ouyang, Junyan Zhang, Xuming Hu
arXiv AI
Jul 14

Remembering Distinct Items, Not Tokens: A Learnable Dirichlet-Process Cache Between State-Space Models and Attention

arXiv:2607. 09889v1 Announce Type: cross Abstract: Fixed-state sequence models compress an unbounded past into a bounded state, which caps their associative recall at roughly the state dimension; attention escapes the cap by keeping a key-value entry for every token, at quadratic compute and a cache that grows with the sequence.

By Siddharth Pal, Viktoria Rojkova