FlexMoRE: A Flexible Mixture of Rank-heterogeneous Experts for Efficient Federatedly-trained Large Language Models
Annemette Brok Pirchert, Jacob Nielsen, Mogens Henrik From, Lukas Galke Poech, Peter Schneider-Kamp
TL;DR
FlexMoRE addresses data-governance constraints by enabling federated training with rank-heterogeneous experts, combining a shared public base with low-rank adapters or full-size specialists. Derived via post-hoc adapter extraction (PHLoRA), each domain expert augments the base with a rank-appropriate correction, allowing flexible routing and inference-time composition. Regression analyses reveal task-typical rank needs: reasoning-heavy benchmarks benefit from higher ranks while knowledge-driven tasks saturate earlier, yielding meaningful memory savings without sacrificing performance. Empirically, FlexMoRE matches or surpasses full-size MoE baselines while using roughly one third the parameters, enabling scalable, decentralized LLM specialization with practical impact for regulated domains.
Abstract
Recent advances in mixture-of-experts architectures have shown that individual experts models can be trained federatedly, i.e., in isolation from other experts by using a common base model to facilitate coordination. However, we hypothesize that full-sized experts may not be necessary for all domains and that instead low-rank adapters may be sufficient. Here, we introduce FlexMoRE, a Flexible Mixture of Rank-heterogenous Experts, which may be either full-sized experts or adapters of a suitable rank. We systematically investigate the trade-off between expert rank and downstream task performance by evaluating $6$ experts with ranks $2^0$ to $2^{14}$ resulting in experiments covering 150 mixtures (96 with 2 experts, 54 with 7 experts) that are evaluated across $120$ tasks. For our experiments, we build on FlexOlmo and turn its pre-trained experts into low-rank versions. Our regression analysis from expert rank to downstream task performance reveals that the best-performing rank is substantially higher for reasoning-heavy benchmarks than for knowledge-heavy benchmarks. These findings on rank sensitivity come with direct implications for memory efficiency: Using optimal ranks, FlexMoRE yields improved downstream task performance (average score $47.18$) compared to the baseline FlexOlmo-style mixture of full-sized experts (average score $45.46$) at less than one third the parameters ($10.75$B for FlexMoRE vs. $33.27$B for FlexOlmo). All code will be made available.
