HybridMoE: LoRA-Based LLMs Fine-Tune With Hybrid Mixture of Experts
Abstract
<bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">P</b>arameter-<bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">E</b>fficient <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">F</b>ine-<bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">T</b>uning (PEFT) of <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">L</b>arge <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">L</b>anguage <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">M</b>odels (LLMs) in multitask scenarios is cutting-edge research currently. This paper introduces an innovative PEFT approach, named HybridMoE, by applying the <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Lo</b>w-<bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">R</b>ank <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">A</b>daptation (LoRA) network into the <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">M</b>ixture-<bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">o</b>f-<bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">E</b>xpert (MoE) architecture. Considering the similarity and diversity between multiple tasks, we introduce the Multi-A MoE and Multi-B MoE architectures to allow experts of MoE to share either the decomposition <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$A$</tex-math></inline-formula> matrix or <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$B$</tex-math></inline-formula> matrix among themselves. HybridMoE integrates the Multi-A and Multi-B architectures, and the multiple tasks automatically learn to choose either of them through a gating network. Extensive experiments show that HybridMoE outperforms MoLoRA in performance on the HuggingFace Open LLM benchmark with various open-sourced LLMs, including LLaMA-2, Baichuan2, Qwen, and Yi. By sharing the parameters, HybridMoE requires fewer trainable parameters and is more efficient. The experimental results demonstrate that HybridMoE provides a novel solution for fine-tuning LLMs, striking a balance between performance and resource allocation, and opening up possibilities for broader research directions.
BibTeX
@article{lin2025hybridmoe,
author = {Song Lin and Yufei Ma and Sen Liu and Junhua Shi and Linbo Jin and Dehong Gao and Shanqing Yu and Qi Xuan and Xiaoyan Cai and Libin Yang},
title = {{HybridMoE: LoRA-Based LLMs Fine-Tune With Hybrid Mixture of Experts}},
journal = {IEEE Transactions on Audio Speech and Language Processing},
year = {2025},
doi = {10.1109/taslpro.2025.3637555},
}Ask Althea to put this paper to the test.
Loading related content...