跳到正文
arXiv (AI + Vision + Imaging)· Eros Fan\`i, O\u{g}uzhan Ersoy·· 7 天前AI 评分38

DUME:无需训练的专家语言模型动态升级方案

Training-Free Dynamic Upcycling of Expert Language Models

AI 导读

DUME 提出一种无需额外训练的方法,将不同领域训练的稠密专家模型复用组合为统一的 MoE 模型,并保持原有专家能力。该方法利用岭回归闭式解省去后续优化,支持专家动态增删,在 115M 至 9B 参数、多种架构的因果语言建模与推理实验中持续优于基线,推理场景平均达到稠密专家模型性能的 104%。

正文 · 原文

arXiv:2603.29765v2 Announce Type: replace Abstract: Large Language Models (LLMs) have achieved remarkable performance on a wide range of specialized tasks, exhibiting strong problem-solving capabilities. However, training these models is prohibitively expensive, and they often lack domain-specific expertise because they rely on general knowledge datasets. Expertise finetuning can address this issue; however, it often leads to overspecialization, and developing a single multi-domain expert remains difficult due to diverging objectives. Furthermore, multitask training is challenging due to interference and catastrophic forgetting. Existing work proposes combining the expertise of dense models within a Mixture of Experts (MoE) architecture, although this approach still requires multitask finetuning. To address these issues, we introduce Dynamic Upcycling MoE (DUME), a novel approach that reuses dense experts trained on different domains to construct a unified MoE model. Our method builds a single multitask model that preserves the capabilities of the original dense experts without requiring additional training. DUME is both cost-efficient and scalable: by leveraging the closed-form solution of ridge regression, it eliminates the need for further optimization and enables experts to be added or removed dynamically. Our extensive experiments on different tasks (in causal language modeling and reasoning settings) with several model sizes (between 115M and 9B parameters) and architectures demonstrate that DUME consistently outperforms baseline approaches. In particular, in a reasoning setting, DUME can also surpass the dense expert model's performance in its domain, achieving 104% of the dense expert's performance on average. Finally, we also show that the DUME model can be fine-tuned to further improve performance in complex reasoning scenarios. Our code is available at: github.com/gensyn-ai/dume.

来源:arXiv (AI + Vision + Imaging) · arxiv.org