arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.22748cs.SE
收藏

AutoMerge: 基于搜索的模型合并框架,用于有效模型重用

AutoMerge: Search-Based Model Merging Framework for Effective Model Reuse

Fudan University(复旦大学)

You Lu, Jiyang Zhang, Bihuan Chen, Chaofeng Sha, Dingji Wang, Xin Peng

AI总结:

AutoMerge提出了一种基于搜索的模型合并框架,通过分割模型并系统探索合并空间,以提高不同架构模型间的重用效率。

摘要:

软件重用长期以来被认为是软件工程中一个关键且广泛研究的主题,在软件工程中,它能带来显著的效益,如减少开发成本、提高软件质量和增强运营效率。这种范式通过模型重用延伸到深度学习领域。最近,模型合并在大型语言模型(LLMs)领域中出现,作为一种无训练的方法,通过将具有相同架构的多个任务特定模型作为源模型进行合并,而无需重新训练,从而增强LLMs中的模型重用。然而,此前的工作没有系统地研究这种做法是否能有效应用于其他具有不同架构的深度学习模型中。为弥补这一差距,我们提出了第一个系统研究,评估了五种模型合并技术在三个不同模型架构(LLMs、图像分类和自动驾驶)上的表现。我们的发现表明,直接应用现有模型合并技术会导致高度不一致的结果,并且在LLMs中远不如其成功。此外,单一的模型合并技术往往无法处理模型内部的异构结构特性,限制了其在不同模型架构上的应用。此外,模型合并技术的有效性对超参数配置高度敏感,从而限制了其在更广泛应用中的潜力。受这些见解的启发,我们提出了AutoMerge,一种新颖的基于搜索的模型合并框架,首先将复杂的模型分割成多个异构块,然后系统地探索合并空间,以识别合并技术及其超参数配置。

英文摘要:

Software reuse has long been recognized as a critical and widely studied topic in software engineering, offering substantial benefits in reducing development costs, improving software quality, and enhancing operational efficiency. This paradigm extends into deep learning through model reuse. Recently, model merging has emerged in the domain of large language models (LLMs) as a training-free approach that takes multiple task-specific models with the same architecture as source models and merges them without retraining, enhancing model reuse within LLMs. However, no prior work has systematically investigated whether such an approach can be effectively applied to other deep learning models with different architectures across domains. To bridge this gap, we present the first systematic study that evaluates five model merging techniques on three distinct model architectures across three domains: LLMs, image classification, and autonomous driving. Our findings reveal that directly applying existing model merging techniques leads to highly inconsistent results and falls notably short of their success within LLMs. Moreover, a single model merging technique often fails to handle the heterogeneous structural properties within a model, limiting its applicability to different model architectures across domains. Furthermore, the effectiveness of model merging techniques is highly sensitive to hyperparameter configurations, thereby constraining their potential for broader adoption. Inspired by these insights, we propose AutoMerge, a novel search-based model merging framework that first segments complex models into multiple heterogeneous blocks and then systematically explores the merging space to identify the merging technique and its hyperparameter configuration.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑