MiLoRA: Harnessing Minor Singular Components for Parameter-Efficient LLM Finetuning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Hanqing, Li, Yixia, Wang, Shuo, Chen, Guanhua, Chen, Yun
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917941442772992
author Wang, Hanqing
Li, Yixia
Wang, Shuo
Chen, Guanhua
Chen, Yun
author_facet Wang, Hanqing
Li, Yixia
Wang, Shuo
Chen, Guanhua
Chen, Yun
contents Efficient finetuning of large language models (LLMs) aims to adapt the LLMs with reduced computational and memory cost. Previous LoRA-based approaches initialize the low-rank matrices with Gaussian distribution and zero values while keeping the original weight matrices frozen. However, the trainable model parameters optimized in an unguided subspace might interfere with the well-learned subspace of the pretrained weight matrices. In this paper, we propose MiLoRA, a simple yet effective LLM finetuning approach that only updates the minor singular components of the weight matrix while keeping the principal singular components frozen. It is observed that the minor matrix corresponds to the noisy or long-tail information, while the principal matrix contains important knowledge. The MiLoRA initializes the low-rank matrices within a subspace that is orthogonal to the principal matrix, thus the pretrained knowledge is expected to be well preserved. During finetuning, MiLoRA makes the most use of the less-optimized subspace for learning the labeled dataset. Extensive experiments on commonsense reasoning, math reasoning, instruction following and visual instruction following benchmarks present the superior performance of our method.
format Preprint
id arxiv_https___arxiv_org_abs_2406_09044
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MiLoRA: Harnessing Minor Singular Components for Parameter-Efficient LLM Finetuning
Wang, Hanqing
Li, Yixia
Wang, Shuo
Chen, Guanhua
Chen, Yun
Computation and Language
Efficient finetuning of large language models (LLMs) aims to adapt the LLMs with reduced computational and memory cost. Previous LoRA-based approaches initialize the low-rank matrices with Gaussian distribution and zero values while keeping the original weight matrices frozen. However, the trainable model parameters optimized in an unguided subspace might interfere with the well-learned subspace of the pretrained weight matrices. In this paper, we propose MiLoRA, a simple yet effective LLM finetuning approach that only updates the minor singular components of the weight matrix while keeping the principal singular components frozen. It is observed that the minor matrix corresponds to the noisy or long-tail information, while the principal matrix contains important knowledge. The MiLoRA initializes the low-rank matrices within a subspace that is orthogonal to the principal matrix, thus the pretrained knowledge is expected to be well preserved. During finetuning, MiLoRA makes the most use of the less-optimized subspace for learning the labeled dataset. Extensive experiments on commonsense reasoning, math reasoning, instruction following and visual instruction following benchmarks present the superior performance of our method.
title MiLoRA: Harnessing Minor Singular Components for Parameter-Efficient LLM Finetuning
topic Computation and Language
url https://arxiv.org/abs/2406.09044