Megadose Built for builders and researchers.

On-Policy Morphing into Hybrid Attention Models

· ArXiv · AI/CL/LG ·
FlashMorph2 improves layer selection by testing discrete hybrid architectures while adapting model weights.

The method chooses which layers retain full attention when converting a pretrained Transformer under a fixed budget. It evaluates sampled architectures using their own hidden states and jointly updates selection scores and model weights during recovery. Across Qwen3 models and linear-attention variants, the authors report average gains over FlashMorph of 2.42 points on RULER, 1.08 on LongBench and 0.76 on recall-intensive tasks. Layer selection took 0.72–3.57 GPU hours across models ranging from 0.6B to 8B parameters.

ArXiv · AI/CL/LG's note

score 5

Categories: Research