Not Every Token Deserves Softmax
Novel attention mechanism addressing memory-computation tradeoffs in large language models, relevant for ML architecture research.
AI Summary
Researchers introduce Attention Routing Kernels (Ark), a new architecture that dynamically routes tokens to either softmax attention or linear recurrence, reducing memory usage by 25-90% while maintaining performance.
Excerpt
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),
