Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

LD-MoLE: Learnable Dynamic Routing for Mixture of LoRA Experts

About

Recent studies have shown that combining parameter-efficient fine-tuning (PEFT) with mixture-of-experts (MoE) is an effective strategy for adapting large language models (LLMs) to the downstream tasks. However, most existing approaches rely on conventional TopK routing, which requires careful hyperparameter tuning and assigns a fixed number of experts to each token. In this work, we propose LD-MoLE, a Learnable Dynamic routing mechanism for Mixture of LoRA Experts that enables adaptive, token-dependent, and layer-wise expert allocation. Our method replaces the non-differentiable TopK selection with a differentiable routing function and a closed-form solution. Moreover, our design allows the model to adaptively determine the number of experts to activate for each token at different layers. In addition, we introduce an analytical sparsity control objective to regularize the number of activated experts. Extensive experiments on the Qwen3-1.7B and Llama-3.2-3B models show that LD-MoLE achieves the highest average scores compared to state-of-the-art baselines, across a diverse set of benchmarks. Our method not only achieves superior performance, but also demonstrates the ability to learn token-dependent and layer-wise expert allocation.

Yuan Zhuang, Yi Shen, Yuexin Bian, Qing Su, Shihao Ji, Yuanyuan Shi, Fei Miao• 2025

Related benchmarks

TaskDatasetResultRank
Question AnsweringMMLU-Pro
Accuracy55.98
56
Commonsense ReasoningHellaSwag
HellaSwag Score95.45
27
Common Sense ReasoningSWAG
Accuracy92.29
24
Science Question AnsweringARC
ARC Easy Accuracy92.11
16
EvaluationOverall Performance
Average Score85.18
12
Question AnsweringOpenBookQA
Open Accuracy88
12
Natural Language UnderstandingGLUE
CoLA Accuracy86.02
12
Showing 7 of 7 rows

Other info

Follow for update