瓶中融合:可微自适应合并(DAM)及从平均到自动化的路径
Merging in a Bottle: Differentiable Adaptive Merging (DAM) and the Path from Averaging to Automation
AI总结:
本文提出可微自适应合并(DAM)方法,通过缩放系数优化模型集成以降低计算需求,并对比了从简单平均到超参数驱动的多种模型合并技术,发现高相似度下简单平均方法同样具竞争力。
摘要:
通过合并模型,AI系统能够结合独立语言模型的不同优势,在无需大量重训练的情况下实现多种能力间的平衡。然而,由于训练方法和微调的差异,整合过程可能错综复杂,通常需要专业知识和反复完善。本文探讨了跨不同复杂度的模型合并技术,考察了进化策略等自动化方法与DARE、TIES-Merging等超参数驱动方法以及Model Soups等简单方法相比所处的位置。此外,我们提出了可微自适应合并(DAM),这是一种高效的、自适应的合并方法,作为进化合并的替代方案,通过缩放系数优化模型集成,最大程度减少计算需求。研究结果表明,当模型相似度较高时,即使是像Model Soups这样的简单平均方法也具有竞争力,凸显了每种技术的独特优势与局限性。我们已在GitHub开源了DAM,包括实现代码和实验流程:https://github.com/arcee-ai/DAM。
英文摘要:
By merging models, AI systems can combine the distinct strengths of separate language models, achieving a balance between multiple capabilities without requiring substantial retraining. However, the integration process can be intricate due to differences in training methods and fine-tuning, typically necessitating specialized knowledge and repeated refinement. This paper explores model merging techniques across a spectrum of complexity, examining where automated methods like evolutionary strategies stand compared to hyperparameter-driven approaches such as DARE, TIES-Merging and simpler methods like Model Soups. In addition, we introduce Differentiable Adaptive Merging (DAM), an efficient, adaptive merging approach as an alternative to evolutionary merging that optimizes model integration through scaling coefficients, minimizing computational demands. Our findings reveal that even simple averaging methods, like Model Soups, perform competitively when model similarity is high, underscoring each technique's unique strengths and limitations. We open-sourced DAM, including the implementation code and experiment pipeline, on GitHub: https://github.com/arcee-ai/DAM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。