FlashMorph2
A layer-selection method that efficiently converts a pretrained Transformer into a hybrid attention model. It uses on-policy evaluation, directly sampling discrete architectures and evaluating them end-to-end with their own hidden states, while jointly optimizing layer-selection scores and model weights.
Timeline (last 90 days)
FlashMorph2 directly samples a discrete hybrid architecture and evaluates end-to-end using that architecture's own hidden states, eliminating the distribution mismatch between layer selection and inference.
FlashMorph2 jointly optimizes the layer selection scores and the model weights under the same recovery objective, coupling layer selection with recovery training.
FlashMorph2 completes layer selection on model scales from 0.6B to 8B in only 0.72 to 3.57 GPU hours.
Compared with FlashMorph, FlashMorph2 improves by an average of +2.42 points on RULER, +1.08 points on LongBench, and +0.76 points on recall-intensive tasks.
FlashMorph2's experiments are based on the Qwen3 series models and several linear attention variants.
Whether the FlashMorph2 method can be transferred to other architectures (such as MoE or combinations of mixture-of-experts and linear attention) remains to be verified.
All Facts (6)
FlashMorph2 directly samples a discrete hybrid architecture and evaluates end-to-end using that architecture's own hidden states, eliminating the distribution mismatch between layer selection and inference.
50%UnverifiedFlashMorph2 jointly optimizes the layer selection scores and the model weights under the same recovery objective, coupling layer selection with recovery training.
50%UnverifiedFlashMorph2 completes layer selection on model scales from 0.6B to 8B in only 0.72 to 3.57 GPU hours.
50%UnverifiedCompared with FlashMorph, FlashMorph2 improves by an average of +2.42 points on RULER, +1.08 points on LongBench, and +0.76 points on recall-intensive tasks.
50%UnverifiedFlashMorph2's experiments are based on the Qwen3 series models and several linear attention variants.
50%UnverifiedWhether the FlashMorph2 method can be transferred to other architectures (such as MoE or combinations of mixture-of-experts and linear attention) remains to be verified.
50%