Metraipolis › archive › dc_f0c2a301fc5f

On-Policy Attention Linearization — arXiv:2609.31947

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.31947
License (as archived)
CC0-1.0
Archived
2026-10-07T22:36:08.913Z
SHA-256 of the archived text
d5d5200b49dc09f858b64a9f0b0355682711a4390feee74f64cc4e8afae81dc3
Stable URL of this page
https://metraipolis.com/documento/dc_f0c2a301fc5f

How to cite

On-Policy Attention Linearization — arXiv:2609.31947 — arXiv (en), https://arxiv.org/abs/2609.31947 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f0c2a301fc5f (Metraipolis archive dc_f0c2a301fc5f, sha256 d5d5200b49dc09f858b64a9f0b0355682711a4390feee74f64cc4e8afae81dc3)
BibTeX
@misc{dcf0c2a301fc5f,
  title = {On-Policy Attention Linearization — arXiv:2609.31947},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.31947},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f0c2a301fc5f; sha256 d5d5200b49dc09f858b64a9f0b0355682711a4390feee74f64cc4e8afae81dc3},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.31947. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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. However, 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 $83$--$93\%$ on mathematical reasoning with only 3B training tokens. We achieve these results without supervised fine-tuning (SFT) or reinforcement learning with verifiable rewards (RLVR). Compared with the strongest prior linearization method, which recovers $68\%$ of its teacher's retrieval performance and $21.6\%$ absolute average mathematical reasoning accuracy, OPAL fully recovers retrieval and achieves $67.6$--$72.2\%$ on math reasoning.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.LG).
Categorie arXiv: Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.31947 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T22:14:27.558Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).