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

强化模型合并

Reinforced Model Merging

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);National University of Singapore(新加坡国立大学);Nanyang Technological University(南洋理工大学);School of Software Technology, Zhejiang University(浙江大学软件学院)

Jiaqi Han, Jingwen Ye, Shunyu Liu, Haofei Zhang, Jie Song, Zunlei Feng, Mingli Song

AI总结:

提出强化模型合并框架,通过环境与智能体交互逐层搜索最优合并架构,无需梯度计算,加速百倍,在视觉与NLP数据集上达最优性能。

摘要:

大型语言模型的成功引起了人们对模型合并技术的广泛关注,尤其是无训练方法,这些方法在参数空间内结合模型能力。然而,仍存在两个挑战:(1)对所有参数统一处理导致性能下降;(2)基于搜索的算法往往效率低下。在本文中,我们提出了一种创新框架,称为强化模型合并(RMM),该框架包含一个针对合并任务量身定制的环境和智能体。这些组件相互作用以执行逐层合并操作,旨在搜索最优合并架构。值得注意的是,RMM在原始模型上不进行任何梯度计算,使其适用于边缘设备。此外,通过在评估过程中使用数据子集,我们解决了奖励反馈阶段的瓶颈,从而将RMM加速高达100倍。大量实验表明,RMM在各种视觉和NLP数据集上实现了最先进的性能,并有效克服了现有基线方法的局限性。我们的代码可在https://github.com/WuDiHJQ/Reinforced-Model-Merging获取。

英文摘要:

The success of large language models has garnered widespread attention for model merging techniques, especially training-free methods which combine model capabilities within the parameter space. However, two challenges remain: (1) uniform treatment of all parameters leads to performance degradation; (2) search-based algorithms are often inefficient. In this paper, we present an innovative framework termed Reinforced Model Merging (RMM), which encompasses an environment and agent tailored for merging tasks. These components interact to execute layer-wise merging actions, aiming to search the optimal merging architecture. Notably, RMM operates without any gradient computations on the original models, rendering it feasible for edge devices. Furthermore, by utilizing data subsets during the evaluation process, we addressed the bottleneck in the reward feedback phase, thereby accelerating RMM by up to 100 times. Extensive experiments demonstrate that RMM achieves state-of-the-art performance across various vision and NLP datasets and effectively overcomes the limitations of the existing baseline methods. Our code is available at https://github.com/WuDiHJQ/Reinforced-Model-Merging.

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

↑