CopRA: A Progressive LoRA Training Strategy

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhuang, Zhan, Wang, Xiequn, Zhang, Yulong, Li, Wei, Zhang, Yu, Wei, Ying
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929568568311808
author Zhuang, Zhan
Wang, Xiequn
Zhang, Yulong
Li, Wei
Zhang, Yu
Wei, Ying
author_facet Zhuang, Zhan
Wang, Xiequn
Zhang, Yulong
Li, Wei
Zhang, Yu
Wei, Ying
contents Low-Rank Adaptation (LoRA) is a parameter-efficient technique for rapidly fine-tuning foundation models. In standard LoRA training dynamics, models tend to quickly converge to a local optimum near the initialization. However, this local optimum may not be ideal for out-of-distribution data or tasks such as merging and pruning. In this work, we propose a novel progressive training strategy for LoRA with random layer dropping. This strategy also optimizes the Shapley value of LoRA parameters in each layer, treating each layer as a player in a cooperative game. We refer to this method as Cooperative LoRA (CopRA). Our experimental results demonstrate that parameters trained with CopRA exhibit linear mode connectivity, which enables efficient model merging. This also paves the way for federated learning and multi-task learning via LoRA merging. Additionally, by optimizing the Shapley value, CopRA shows superior performance in pruning tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2410_22911
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CopRA: A Progressive LoRA Training Strategy
Zhuang, Zhan
Wang, Xiequn
Zhang, Yulong
Li, Wei
Zhang, Yu
Wei, Ying
Machine Learning
Low-Rank Adaptation (LoRA) is a parameter-efficient technique for rapidly fine-tuning foundation models. In standard LoRA training dynamics, models tend to quickly converge to a local optimum near the initialization. However, this local optimum may not be ideal for out-of-distribution data or tasks such as merging and pruning. In this work, we propose a novel progressive training strategy for LoRA with random layer dropping. This strategy also optimizes the Shapley value of LoRA parameters in each layer, treating each layer as a player in a cooperative game. We refer to this method as Cooperative LoRA (CopRA). Our experimental results demonstrate that parameters trained with CopRA exhibit linear mode connectivity, which enables efficient model merging. This also paves the way for federated learning and multi-task learning via LoRA merging. Additionally, by optimizing the Shapley value, CopRA shows superior performance in pruning tasks.
title CopRA: A Progressive LoRA Training Strategy
topic Machine Learning
url https://arxiv.org/abs/2410.22911