AIJan 5, 2024

Parameter-Efficient Sparsity Crafting from Dense to Mixture-of-Experts for Instruction Tuning on General Tasks

arXiv:2401.02731v436 citationsh-index: 8Has CodeEMNLP
Originality Incremental advance
AI Analysis

This work addresses the challenge of expanding model capacity efficiently for instruction tuning in NLP, offering a parameter-efficient solution that reduces computational costs and memory requirements.

The paper tackles the performance limitations of large language models across multiple tasks during instruction tuning by introducing parameter-efficient sparsity crafting (PESC), which converts dense models into sparse mixture-of-experts models with minimal parameter increase, resulting in a best sparse model that outperforms other sparse and dense models and shows superior general capabilities compared to GPT-3.5.

Large language models (LLMs) have demonstrated considerable proficiency in general natural language processing (NLP) tasks. Instruction tuning, a successful paradigm, enhances the ability of LLMs to follow natural language instructions and exhibit robust generalization across general tasks. However, these models often encounter performance limitations across multiple tasks due to constrained model capacity. Expanding this capacity during the instruction tuning phase poses significant challenges. To address this issue, we introduce parameter-efficient sparsity crafting (PESC), which crafts dense models into sparse models using the mixture-of-experts (MoE) architecture. PESC integrates adapters into the MoE layers of sparse models, differentiating experts without altering the individual weights within these layers. This method significantly reduces computational costs and GPU memory requirements, facilitating model capacity expansion through a minimal parameter increase when guaranteeing the quality of approximation in function space compared to original sparse upcycling. Our empirical evaluation demonstrates the effectiveness of the PESC method. Using PESC during instruction tuning, our best sparse model outperforms other sparse and dense models and exhibits superior general capabilities compared to GPT-3.5. Our code is available at https://github.com/wuhy68/Parameter-Efficient-MoE.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes