Parameter Efficient Multi-task Model Fusion with Partial Linearization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tang, Anke, Shen, Li, Luo, Yong, Zhan, Yibing, Hu, Han, Du, Bo, Chen, Yixin, Tao, Dacheng
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909133113917440
author Tang, Anke
Shen, Li
Luo, Yong
Zhan, Yibing
Hu, Han
Du, Bo
Chen, Yixin
Tao, Dacheng
author_facet Tang, Anke
Shen, Li
Luo, Yong
Zhan, Yibing
Hu, Han
Du, Bo
Chen, Yixin
Tao, Dacheng
contents Large pre-trained models have enabled significant advances in machine learning and served as foundation components. Model fusion methods, such as task arithmetic, have been proven to be powerful and scalable to incorporate fine-tuned weights from different tasks into a multi-task model. However, efficiently fine-tuning large pre-trained models on multiple downstream tasks remains challenging, leading to inefficient multi-task model fusion. In this work, we propose a novel method to improve multi-task fusion for parameter-efficient fine-tuning techniques like LoRA fine-tuning. Specifically, our approach partially linearizes only the adapter modules and applies task arithmetic over the linearized adapters. This allows us to leverage the the advantages of model fusion over linearized fine-tuning, while still performing fine-tuning and inference efficiently. We demonstrate that our partial linearization technique enables a more effective fusion of multiple tasks into a single model, outperforming standard adapter tuning and task arithmetic alone. Experimental results demonstrate the capabilities of our proposed partial linearization technique to effectively construct unified multi-task models via the fusion of fine-tuned task vectors. We evaluate performance over an increasing number of tasks and find that our approach outperforms standard parameter-efficient fine-tuning techniques. The results highlight the benefits of partial linearization for scalable and efficient multi-task model fusion. The code is available at https://github.com/tanganke/peta
format Preprint
id arxiv_https___arxiv_org_abs_2310_04742
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Parameter Efficient Multi-task Model Fusion with Partial Linearization
Tang, Anke
Shen, Li
Luo, Yong
Zhan, Yibing
Hu, Han
Du, Bo
Chen, Yixin
Tao, Dacheng
Machine Learning
Large pre-trained models have enabled significant advances in machine learning and served as foundation components. Model fusion methods, such as task arithmetic, have been proven to be powerful and scalable to incorporate fine-tuned weights from different tasks into a multi-task model. However, efficiently fine-tuning large pre-trained models on multiple downstream tasks remains challenging, leading to inefficient multi-task model fusion. In this work, we propose a novel method to improve multi-task fusion for parameter-efficient fine-tuning techniques like LoRA fine-tuning. Specifically, our approach partially linearizes only the adapter modules and applies task arithmetic over the linearized adapters. This allows us to leverage the the advantages of model fusion over linearized fine-tuning, while still performing fine-tuning and inference efficiently. We demonstrate that our partial linearization technique enables a more effective fusion of multiple tasks into a single model, outperforming standard adapter tuning and task arithmetic alone. Experimental results demonstrate the capabilities of our proposed partial linearization technique to effectively construct unified multi-task models via the fusion of fine-tuned task vectors. We evaluate performance over an increasing number of tasks and find that our approach outperforms standard parameter-efficient fine-tuning techniques. The results highlight the benefits of partial linearization for scalable and efficient multi-task model fusion. The code is available at https://github.com/tanganke/peta
title Parameter Efficient Multi-task Model Fusion with Partial Linearization
topic Machine Learning
url https://arxiv.org/abs/2310.04742