
Aviv Bick, Arshia Afzal, Roger Waleffe, Aakash Lahoti, Mostofa Ali Patwary, Mohammad Shoeybi, Bryan Catanzaro, Eric Poe Xing, Albert Gu · arXiv 2026 · 2026
DOI: 10.48550/arxiv.2612.06276
Counts differ because each database indexes a different set of publications. We treat OpenAlex as the canonical count; Google Scholar is not shown (no API, and crawling it violates its ToS).
Softmax and linear attention sit at opposite ends of a memory tradeoff because they compare tokens with different kernels. The former uses an exponential kernel and caches every token, growing memory linearly with length; the latter uses a linear kernel, which factorizes so that the past compresses into a fixed-size recurrent state, at the cost of limited recall. In both cases the kernel is fixed, so neither adapts computation or memory to the input. We introduce Attention Routing Kernels (Ark), an architecture that chooses the kernel separately for each token, in every layer and KV group. A learned router sends each token to exactly one of two memories: tokens that need the exponential kernel stay in a KV cache, and the rest are folded into a fixed-size recurrent state. Every query reads both memories. The routing split governs cost: training combines a linear-time recurrent pass with pairwise attention over retained keys, while inference carries a fixed-size recurrent state plus the retained entries in the KV cache. Across 400M–2B parameters, Ark is competitive with Transformers and with hybrids that interleave softmax- and linear-attention layers, while storing about 90% and 25–53% less memory, respectively. Ark's smaller memory thus speeds up long-context decoding: at 64K, the 2B model is faster than a GLA hybrid and faster than FlashAttention-4. Code is available at https://github.com/goombalab/ark.
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) 2018 · 2018 · 46039 citations90% match
2014 · 34004 citations90% match
2019 · 33225 citations90% match
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) 2019 · 2019 · 17465 citations90% match
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) 2023 · 2023 · 14309 citations90% match
2014 · 13959 citations90% match
arXiv (Cornell University) 2013 · 2013 · 11714 citations95% match
No comments yet — start the discussion below.
2019 · 11662 citations90% match
Transactions of the Association for Computational Linguistics 2017 · 2017 · 9887 citations90% match
2014 · 8653 citations90% match