HM3: Hierarchical Multi-Objective Model Merging for Pretrained Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhou, Yu, Wu, Xingyu, Wu, Jibin, Feng, Liang, Tan, Kay Chen
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929518469447680
author Zhou, Yu
Wu, Xingyu
Wu, Jibin
Feng, Liang
Tan, Kay Chen
author_facet Zhou, Yu
Wu, Xingyu
Wu, Jibin
Feng, Liang
Tan, Kay Chen
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_18893
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle HM3: Hierarchical Multi-Objective Model Merging for Pretrained Models
Zhou, Yu
Wu, Xingyu
Wu, Jibin
Feng, Liang
Tan, Kay Chen
Machine Learning
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.
title HM3: Hierarchical Multi-Objective Model Merging for Pretrained Models
topic Machine Learning
url https://arxiv.org/abs/2409.18893