MoFE: Mixture of Frozen Experts Architecture
Jean Seo, Jaeyoon Kim, Hyopil Shin
TL;DR
MoFE tackles the resource-intensive nature of large language models by fusing PEFT with MoE while freezing FFN blocks to fix the trainable parameter budget. The architecture combines a base model, frozen FFN-based experts, and a router that selects up to two experts per token, maintaining a fixed trainable size (e.g., $0.34\ ext{B}$) regardless of the number of experts. Empirically, MoFE delivers substantial training-time savings and outperforms other PEFT methods on several benchmarks, while enabling knowledge transfer from domain-specific experts; however, full fine-tuning can still surpass MoFE in some cases. The results support MoFE as a viable option for resource-constrained scenarios and multi-domain proficiency, with insights into optimal training strategies and domain-expert composition.
Abstract
We propose the Mixture of Frozen Experts (MoFE) architecture, which integrates Parameter-efficient Fine-tuning (PEFT) and the Mixture of Experts (MoE) architecture to enhance both training efficiency and model scalability. By freezing the Feed Forward Network (FFN) layers within the MoE framework, MoFE significantly reduces the number of trainable parameters, improving training efficiency while still allowing for effective knowledge transfer from the expert models. This facilitates the creation of models proficient in multiple domains. We conduct experiments to evaluate the trade-offs between performance and efficiency, compare MoFE with other PEFT methodologies, assess the impact of domain expertise in the constituent models, and determine the optimal training strategy. The results show that, although there may be some trade-offs in performance, the efficiency gains are substantial, making MoFE a reasonable solution for real-world, resource-constrained environments.
