跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.24809 · v1

On-Policy Morphing into Hybrid Attention Models

首次提交 2026-11-19 01:45
版本更新 2026-11-19 01:45
雷达观测 2026-11-19 15:04
arXiv ↗PDF ↗

摘要

Hybrid attention models combine full and linear attention to achieve a better quality--efficiency trade-off. Converting pretrained Transformers into such models requires identifying which layers should retain full attention under a prescribed budget. We identify two off-policy mismatches in FlashMorph's layer selection: (i) continuous branch interpolation and teacher-forced hidden states differ from discrete hybrid computation; and (ii) frozen model weights fail to account for parameter adaptation during subsequent recovery. We introduce FlashMorph2, an on-policy layer-selection method that (I) evaluates sampled discrete hybrid architectures end to end using their own hidden states, and (II) jointly optimizes layer-selection scores and model weights under the recovery objective to reflect post-adaptation performance. Experiments across Qwen3 model scales and linear-attention variants show that FlashMorph2 consistently outperforms existing layer-selection methods, improving average scores over FlashMorph by +2.42+2.42 points on RULER, +1.08+1.08 on LongBench, and +0.76+0.76 on recall-intensive tasks, while completing layer selection in only 0.720.72--3.573.57 GPU hours across 0.6B--8B models, demonstrating high efficiency and scalability.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-19 01:45 · 最新观测版本

On-Policy Morphing into Hybrid Attention Models

Hybrid attention models combine full and linear attention to achieve a better quality--efficiency trade-off. Converting pretrained Transformers into such models requires identifying which layers should retain full attention under a prescribed budget. We identify two off-policy mismatches in FlashMorph's layer selection: (i) continuous branch interpolation and teacher-forced hidden states differ from discrete hybrid computation; and (ii) frozen model weights fail to account for parameter adaptation during subsequent recovery. We introduce FlashMorph2, an on-policy layer-selection method that (I) evaluates sampled discrete hybrid architectures end to end using their own hidden states, and (II) jointly optimizes layer-selection scores and model weights under the recovery objective to reflect post-adaptation performance. Experiments across Qwen3 model scales and linear-attention variants show that FlashMorph2 consistently outperforms existing layer-selection methods, improving average scores over FlashMorph by +2.42+2.42 points on RULER, +1.08+1.08 on LongBench, and +0.76+0.76 on recall-intensive tasks, while completing layer selection in only 0.720.72--3.573.57 GPU hours across 0.6B--8B models, demonstrating high efficiency and scalability.

查看此版本解读 →查看此版本原文 ↗