MEGA Hub

MoEGen: Mixture-of-Experts for Instance-Adaptive LoRA Generation

Authors

Do you know Yiming Zeng?You can claim authorship or link another user.Do you know Lei Lu?You can claim authorship or link another user.Do you know Zexin Li?You can claim authorship or link another user.Do you know Zhuochun Li?You can claim authorship or link another user.Do you know Shuoqiu Li?You can claim authorship or link another user.Do you know Shuyi Liao?You can claim authorship or link another user.Do you know Xidong Wu?You can claim authorship or link another user.Do you know Zeyu Zhang?You can claim authorship or link another user.Do you know Minmei Wang?You can claim authorship or link another user.Do you know Yu Zhao?You can claim authorship or link another user.Do you know Tingting Yu?You can claim authorship or link another user.Do you know Shangqian Gao?You can claim authorship or link another user.

Abstract

Parameter-efficient fine-tuning (PEFT) enables efficient adaptation of large language models, but existing MoE-based PEFT methods typically improve capacity by storing multiple full LoRA experts, causing adapter storage to grow linearly with the number of experts and restricting adaptation to a fixed expert pool. We ask whether MoE-based PEFT can produce instance-specific adaptations without explicitly storing a separate LoRA module for each expert. To address this gap, we propose MoEGen, an adaptation framework that shifts MoE-based PEFT from expert selection to expert-conditioned parameter generation. Instead of storing each expert as a full LoRA adapter, MoEGen represents each expert as a small learnable vector, termed an expert code. It routes each input over these vectors and uses their weighted combination to condition a lightweight hypernetwork that generates input-specific low-rank updates. This design decouples expert capacity from adapter storage while enabling instance-conditioned adaptation. Experiments on eight commonsense reasoning benchmarks show consistent improvements over strong static and MoE-based PEFT baselines across three backbones. MoEGen also performs strongly in joint medical and legal-domain adaptation.

Community

00