比较三种轻量级模型融合方法,发现动态路由最有效但更复杂。
Trade-offs in Ensembling, Merging and Routing Among Parameter-Efficient Experts
- 非均匀融合比简单平均更能提升性能
- 动态路由比固定融合带来更大效果提升
- 聚类与贪心选择可降低路由计算开销
尽管使用轻量适配器微调的大语言模型在多任务上表现优异,但其单任务性能依赖于微调策略。通过三种主流融合方式——集成(ensemble)、合并(merging)和路由(routing),可将多个具有不同优势的独立训练模型整合用于多任务学习。然而,这些方法的设计选择仍缺乏系统研究,复杂融合技术的优势尚未明确。本文通过实证评估三者的权衡,回答两个核心问题:超越均匀集成或合并是否有意义?路由的灵活性是否值得其带来的复杂性?结果表明,非均匀集成与合并能提升性能,而路由带来更大增益。为缓解路由的计算成本,我们分析了专家选择技术,发现聚类与贪心子集选择可在极低开销下保持良好性能。这些发现推动了对多任务学习中模型融合机制的理解。
原文摘要 · Abstract (English)
While large language models (LLMs) fine-tuned with lightweight adapters achieve strong performance across diverse tasks, their performance on individual tasks depends on the fine-tuning strategy. Fusing independently trained models with different strengths has shown promise for multi-task learning through three main strategies: ensembling, which combines outputs from independent models; merging, which fuses model weights via parameter averaging; and routing, which integrates models in an input-dependent fashion. However, many design decisions in these approaches remain understudied, and the relative benefits of more sophisticated ensembling, merging and routing techniques are not fully understood. We empirically evaluate their trade-offs, addressing two key questions: What are the advantages of going beyond uniform ensembling or merging? And does the flexibility of routing justify its complexity? Our findings indicate that non-uniform ensembling and merging improve performance, but routing offers even greater gains. To mitigate the computational cost of routing, we analyze expert selection techniques, showing that clustering and greedy subset selection can maintain reasonable performance with minimal overhead. These insights advance our understanding of model fusion for multi-task learning.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。