PMSS: Pretrained Matrices Skeleton Selection for LLM Fine-tuning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Qibin, Hu, Xiaolin, Xu, Weikai, Liu, Wei, Luan, Jian, Wang, Bin
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909325509787648
author Wang, Qibin
Hu, Xiaolin
Xu, Weikai
Liu, Wei
Luan, Jian
Wang, Bin
author_facet Wang, Qibin
Hu, Xiaolin
Xu, Weikai
Liu, Wei
Luan, Jian
Wang, Bin
contents Low-rank adaptation (LoRA) and its variants have recently gained much interest due to their ability to avoid excessive inference costs. However, LoRA still encounters the following challenges: (1) Limitation of low-rank assumption; and (2) Its initialization method may be suboptimal. To this end, we propose PMSS(Pre-trained Matrices Skeleton Selection), which enables high-rank updates with low costs while leveraging semantic and linguistic information inherent in pre-trained weight. It achieves this by selecting skeletons from the pre-trained weight matrix and only learning a small matrix instead. Experiments demonstrate that PMSS outperforms LoRA and other fine-tuning methods across tasks with much less trainable parameters. We demonstrate its effectiveness, especially in handling complex tasks such as DROP benchmark(+3.4%/+5.9% on LLaMA2-7B/13B) and math reasoning(+12.89%/+5.61%/+3.11% on LLaMA2-7B, Mistral-7B and Gemma-7B of GSM8K). The code and model will be released soon.
format Preprint
id arxiv_https___arxiv_org_abs_2409_16722
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle PMSS: Pretrained Matrices Skeleton Selection for LLM Fine-tuning
Wang, Qibin
Hu, Xiaolin
Xu, Weikai
Liu, Wei
Luan, Jian
Wang, Bin
Computation and Language
Machine Learning
Low-rank adaptation (LoRA) and its variants have recently gained much interest due to their ability to avoid excessive inference costs. However, LoRA still encounters the following challenges: (1) Limitation of low-rank assumption; and (2) Its initialization method may be suboptimal. To this end, we propose PMSS(Pre-trained Matrices Skeleton Selection), which enables high-rank updates with low costs while leveraging semantic and linguistic information inherent in pre-trained weight. It achieves this by selecting skeletons from the pre-trained weight matrix and only learning a small matrix instead. Experiments demonstrate that PMSS outperforms LoRA and other fine-tuning methods across tasks with much less trainable parameters. We demonstrate its effectiveness, especially in handling complex tasks such as DROP benchmark(+3.4%/+5.9% on LLaMA2-7B/13B) and math reasoning(+12.89%/+5.61%/+3.11% on LLaMA2-7B, Mistral-7B and Gemma-7B of GSM8K). The code and model will be released soon.
title PMSS: Pretrained Matrices Skeleton Selection for LLM Fine-tuning
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2409.16722