Turnout: Adaptive Attention Switching for Efficient Reasoning
Anna Kuzina, Mart van Baalen, Paul N. Whatmough, Babak Ehteshami Bejnordi
Key points
From the paper's conclusion- Empirical evaluation of our method shows that the learned adaptive policy achieves a better accuracy-efficiency Pareto frontier on reasoning tasks compared to fixed switching and static hybrid baselines.
Abstract
Post-hoc transformer linearization replaces the key-value cache of full attention, which grows linearly with generation length, with a fixed size state. This change reduces memory consumption but often hurts accuracy. In reasoning tasks, which require long generations, this effect is especially pronounced. In this work we introduce Turnout, a method that mitigates accuracy loss as a result of linearization, while maintaining its memory-reduction benefits. We apply post-hoc linearization to a pretrained full-attention model, training a linear path through distillation while leaving the original full-attention path unchanged. During response generation, the resulting hybrid model retains both paths and uses a learned policy to control when each layer switches from full to linear attention. We train the policy with reinforcement learning using a reward that balances answer correctness and memory use. Empirical evaluation of our method shows that the learned adaptive policy achieves a better accuracy-efficiency Pareto frontier on reasoning tasks compared to fixed switching and static hybrid baselines.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Bridging KV-Cache Quantization and Linear Attention: From Theory to Pretrained Weight MigrationarXiv · 2026
- MemOnce: A Scalable Memory Architecture for Large Language ModelsarXiv · 2026
- Random Attention: Rethinking KV Cache Eviction for Efficient ReasoningarXiv · 2026
- KV-Kaizen: Learning Context-Adaptive Cache Compression ChoicesarXiv · 2026
- RoCoKV: Accelerating LLM Inference Serving through Uncertainty and Redundancy Aware KV Cache CompressionarXiv · 2026
- On-Policy Morphing into Hybrid Attention ModelsarXiv · 2026