PERFT: Parameter-Efficient Routed Fine-Tuning for Mixture-of-Expert Model
Preprint
Abstract
The Mixture-of-Experts (MoE) paradigm has emerged as a powerful approach for scaling transformers with improved resource utilization. However, efficiently fine-tuning MoE models remains largely underexplored. Inspired by recent works on Parameter-Efficient Fine-Tuning (PEFT), we present a unified framework for integrating PEFT modules directly into the MoE mechanism. Aligning with the core principles and architecture of MoE, our framework encompasses a set of design dimensions including various functional and composition strategies. By combining design choices within our framework, we introduce Parameter-Efficient Routed Fine-Tuning (PERFT) as a flexible and scalable family of PEFT strategies tailored for MoE models. Extensive experiments on adapting OLMoE-1B-7B and Mixtral-8$\times$7B for commonsense and arithmetic reasoning tasks demonstrate the effectiveness, scalability, and intriguing dynamics of PERFT. Additionally, we provide empirical findings for each specific design choice to facilitate better application of MoE and PEFT.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Let the Expert Stick to His Last: Expert-Specialized Fine-Tuning for Sparse Architectural Large Language Models2024
- MEFT: Memory-Efficient Fine-Tuning through Sparse Adapter2024
- LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Models2023
- Knowledge Neurons in Pretrained Transformers2022
- WinoGrandeCommunications of the ACM, 2021
- Pre-trained models for natural language processing: A surveyScience China Technological Sciences, 2020
- Analyzing Individual Neurons in Pre-trained Language Models2020
- What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP ModelsProceedings of the AAAI Conference on Artificial Intelligence, 2019
- Parsing Algebraic Word Problems into EquationsTransactions of the Association for Computational Linguistics, 2015
- Adaptive Mixtures of Local ExpertsNeural Computation, 1991