Reproduce “On-Policy Morphing into Hybrid Attention Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Disen Lan, Xuanda Wang, Jianbin Zheng, Huafeng Kuang, Wei Tang, Yu Cheng
FlashMorph2 selects which Transformer layers retain full attention when converting a pretrained model to a hybrid with linear attention. It samples discrete layer arrangements, propagates their own hidden states, and adapts weights during selection. Across six Qwen3 configurations, it raises average RULER, LongBench, and recall scores over FlashMorph at the same attention budget; these are benchmark gains, not deployment speedups.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.