On-Policy Attention Linearization
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:48 UTC · 86defef9ae13 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "YMhs6LEDZH"- }- ],- "title": "On-Policy Attention Linearization",- "authors": [],- "abstract": "Hybrid transformer architectures that replace most softmax attention layers with linear attention offer transformer-level quality at a fraction of the memory cost. Rather than pretraining such models, a growing body of work distills them from already trained full-attention transformers by aligning the attention layers' hidden states and matching the models' next-token distributions. We find that these distilled models often collapse on long-context retrieval and reasoning tasks, particularly when operating in thinking mode, where the efficiency gains of hybrid architectures matter most. Since linear attention layers must compress context into a fixed-size state, their errors compound over long sequences. As off-policy distillation never teaches the student model to recover from this drift, tasks that necessitate longer sequence lengths become especially challenging. We introduce On-Policy Attention Linearization (OPAL) in which the hybrid attention student samples its own long-context trajectories and receives dense supervision from the frozen full-attention teacher. Applying OPAL to Qwen3-4B and MiMo-7B-RL-0530, we recover $87-94\\%$ of full attention performance on commonsense reasoning, $100\\%$ on needle-in-a-haystack (NIAH) retrieval, and $82-89\\%$ on mathematical reasoning with only 3B training tokens. We achieve these results without Supervised Fine-Tuning (SFT) or Reinforcement Learning with Verifiable Rewards (RLVR) training stages and outperform competitive methods that utilize such techniques by $32\\%$ on long-context retrieval in terms of recovery to teacher.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "8c575a01-14ee-4ffd-97a2-c45f7f6b5ff6"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "On-Policy Attention Linearization",+ "authors": [],+ "abstract": "Hybrid transformer architectures that replace most softmax attention layers with linear attention offer transformer-level quality at a fraction of the memory cost. Rather than pretraining such models, a growing body of work distills them from already trained full-attention transformers by aligning the attention layers' hidden states and matching the models' next-token distributions. We find that these distilled models often collapse on long-context retrieval and reasoning tasks, particularly when operating in thinking mode, where the efficiency gains of hybrid architectures matter most. Since linear attention layers must compress context into a fixed-size state, their errors compound over long sequences. As off-policy distillation never teaches the student model to recover from this drift, tasks that necessitate longer sequence lengths become especially challenging. We introduce On-Policy Attention Linearization (OPAL) in which the hybrid attention student samples its own long-context trajectories and receives dense supervision from the frozen full-attention teacher. Applying OPAL to Qwen3-4B and MiMo-7B-RL-0530, we recover $87-94\\%$ of full attention performance on commonsense reasoning, $100\\%$ on needle-in-a-haystack (NIAH) retrieval, and $82-89\\%$ on mathematical reasoning with only 3B training tokens. We achieve these results without Supervised Fine-Tuning (SFT) or Reinforcement Learning with Verifiable Rewards (RLVR) training stages and outperform competitive methods that utilize such techniques by $32\\%$ on long-context retrieval in terms of recovery to teacher.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}