Turnout: Adaptive Attention Switching for Efficient Reasoning
Anna Kuzina, Mart van Baalen, Paul N. Whatmough, Babak Ehteshami Bejnordi
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.
Create a lesson
Related papers
DTS: Delta-Based Tile Scoring for Efficient Long-Context Sparse Attention
Shared title terminology · Emre Uğur, Jiawen Qi, Qinyu Chen
Parameter-Efficient Adaptation of Self-supervised Vision Backbones Survives Distribution Shift in Radar Micro-Doppler HAR
Shared title terminology · Keryan Chelouche, Petr Dobias, Nistor Grozavu et al.
Beyond Sample Hardness: Adaptive Data Selection through Learning Dynamics
Shared title terminology · Hai Gan, Suorong Yang, Guang Li et al.
Efficient VLA Reinforcement Learning via Subchunk Rollouts in Latent World Models
Shared title terminology · Nan Tang, Han-Tao Zhang, Jing-Cheng Pang et al.
Adapting AI Weather Foundation Models to a Changing Climate
Shared title terminology · Xinlei Xiong, Wenbo Hu, Shuxun Zhou et al.
THRIFTY: Cost-Constrained Reasoning-Data Synthesis for Small Language Models
Shared title terminology · Aasheesh Singh, Vishal Vaddina