arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.18893cs.LG
收藏

HM3:面向预训练模型的分层多目标模型合并

HM3: Hierarchical Multi-Objective Model Merging for Pretrained Models

The Hong Kong Polytechnic University(香港理工大学);Chongqing University(重庆大学)

Yu Zhou, Xingyu Wu, Jibin Wu, Liang Feng, Kay Chen Tan

AI总结:

本文提出HM3框架,将架构空间模型合并建模为强化学习任务,并结合多目标优化学习帕累托前沿,以支持跨架构预训练模型的定制化合并。

摘要:

模型合并是一种将多个大型预训练模型组合为单一模型,以获得更强性能和更广泛任务适应性的技术。由于能够绕过对原始训练数据和进一步训练过程的需求,该技术在大型预训练模型开发中日益受到关注。然而,现有大多数模型合并方法仅专注于探索参数空间,并且只合并具有相同架构的模型。尽管在架构空间内进行合并具有潜力,但由于搜索空间巨大以及层兼容性方面的挑战,相关研究仍处于早期阶段。本文将架构空间合并过程建模为强化学习任务,标志着向更灵活、更全面的模型合并技术迈出了重要进展。我们利用权重向量的离线采样来训练策略网络和价值网络,随后将其用于合并策略的在线优化。此外,本文引入多目标优化范式,以适应不同用户的任务偏好,通过学习最优模型的帕累托前沿来提供定制化的合并建议。在文本翻译、数学推理和代码生成等多个任务上的实验结果验证了所提框架在模型合并中的有效性和优越性。代码将在审稿流程结束后公开发布。

英文摘要:

Model merging is a technique that combines multiple large pretrained models into a single model with enhanced performance and broader task adaptability. It has gained popularity in large pretrained model development due to its ability to bypass the need for original training data and further training processes. However, most existing model merging approaches focus solely on exploring the parameter space, merging models with identical architectures. Merging within the architecture space, despite its potential, remains in its early stages due to the vast search space and the challenges of layer compatibility. This paper marks a significant advance toward more flexible and comprehensive model merging techniques by modeling the architecture-space merging process as a reinforcement learning task. We train policy and value networks using offline sampling of weight vectors, which are then employed for the online optimization of merging strategies. Moreover, a multi-objective optimization paradigm is introduced to accommodate users' diverse task preferences, learning the Pareto front of optimal models to offer customized merging suggestions. Experimental results across multiple tasks, including text translation, mathematical reasoning, and code generation, validate the effectiveness and superiority of the proposed framework in model merging. The code will be made publicly available after the review process.

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

↑