DoRA: Weight-Decomposed Low-Rank Adaptation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Liu, Shih-Yang, Wang, Chien-Yi, Yin, Hongxu, Molchanov, Pavlo, Wang, Yu-Chiang Frank, Cheng, Kwang-Ting, Chen, Min-Hung
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914862999797760
author Liu, Shih-Yang
Wang, Chien-Yi
Yin, Hongxu
Molchanov, Pavlo
Wang, Yu-Chiang Frank
Cheng, Kwang-Ting
Chen, Min-Hung
author_facet Liu, Shih-Yang
Wang, Chien-Yi
Yin, Hongxu
Molchanov, Pavlo
Wang, Yu-Chiang Frank
Cheng, Kwang-Ting
Chen, Min-Hung
contents Among the widely used parameter-efficient fine-tuning (PEFT) methods, LoRA and its variants have gained considerable popularity because of avoiding additional inference costs. However, there still often exists an accuracy gap between these methods and full fine-tuning (FT). In this work, we first introduce a novel weight decomposition analysis to investigate the inherent differences between FT and LoRA. Aiming to resemble the learning capacity of FT from the findings, we propose Weight-Decomposed Low-Rank Adaptation (DoRA). DoRA decomposes the pre-trained weight into two components, magnitude and direction, for fine-tuning, specifically employing LoRA for directional updates to efficiently minimize the number of trainable parameters. By employing \ours, we enhance both the learning capacity and training stability of LoRA while avoiding any additional inference overhead. \ours~consistently outperforms LoRA on fine-tuning LLaMA, LLaVA, and VL-BART on various downstream tasks, such as commonsense reasoning, visual instruction tuning, and image/video-text understanding. Code is available at https://github.com/NVlabs/DoRA.
format Preprint
id arxiv_https___arxiv_org_abs_2402_09353
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DoRA: Weight-Decomposed Low-Rank Adaptation
Liu, Shih-Yang
Wang, Chien-Yi
Yin, Hongxu
Molchanov, Pavlo
Wang, Yu-Chiang Frank
Cheng, Kwang-Ting
Chen, Min-Hung
Computation and Language
Computer Vision and Pattern Recognition
Among the widely used parameter-efficient fine-tuning (PEFT) methods, LoRA and its variants have gained considerable popularity because of avoiding additional inference costs. However, there still often exists an accuracy gap between these methods and full fine-tuning (FT). In this work, we first introduce a novel weight decomposition analysis to investigate the inherent differences between FT and LoRA. Aiming to resemble the learning capacity of FT from the findings, we propose Weight-Decomposed Low-Rank Adaptation (DoRA). DoRA decomposes the pre-trained weight into two components, magnitude and direction, for fine-tuning, specifically employing LoRA for directional updates to efficiently minimize the number of trainable parameters. By employing \ours, we enhance both the learning capacity and training stability of LoRA while avoiding any additional inference overhead. \ours~consistently outperforms LoRA on fine-tuning LLaMA, LLaVA, and VL-BART on various downstream tasks, such as commonsense reasoning, visual instruction tuning, and image/video-text understanding. Code is available at https://github.com/NVlabs/DoRA.
title DoRA: Weight-Decomposed Low-Rank Adaptation
topic Computation and Language
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2402.09353