LEGO: Sizing Rules for Budget-Aware Dense-to-MoE Conversion of Vision-Language Models
Qishen Yin ⋅ ZiangWu ⋅ Juntong Wu ⋅ Peng Jin ⋅ Hao Li ⋅ Tanghui Jia ⋅ Liuhan Chen ⋅ Bin Zhu ⋅ Li Yuan
Abstract
We propose LEGO, a budget-aware Dense-to-MoE methodology that converts pretrained vision-language models into sparse FFN-MoE variants under a target architectural budget $(P_{\mathrm{total}}, P_{\mathrm{active}})$. Our study is motivated by a counterintuitive recovery pattern: the same activation ratio can work well for some dense backbones but lead to sharp performance drops in others under the same recovery recipe, indicating that raw sparsity alone is an unreliable design rule. Through controlled recovery experiments across VLM families and scales, we identify the activated-FFN-to-hidden ratio $D_I/D_H$ as a backbone-comparable structural measure and summarize empirical sizing rules for avoiding severe bottlenecks and identifying where gains taper off. LEGO operationalizes these rules through a discrete budget-aware search over Split, Upcycle, and Hybrid constructions and introduces a moment-matching scaling factor to reduce the initialization scale shift caused by sparse FFN aggregation. Finally, we use a two-stage multimodal recovery recipe that first stabilizes the sparse LLM with the vision tower frozen, then jointly fine-tunes the full VLM. Under matched data and training protocols, the reported LEGO configurations match or exceed the recovery quality of the Split-only and Upcycle-only baselines, while the sizing rules help focus architecture search on a small set of candidates.
Successful Page Load