LoRA-drop: Efficient LoRA Parameter Pruning based on Output Evaluation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhou, Hongyun, Lu, Xiangyu, Xu, Wang, Zhu, Conghui, Zhao, Tiejun, Yang, Muyun
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913396319846400
author Zhou, Hongyun
Lu, Xiangyu
Xu, Wang
Zhu, Conghui
Zhao, Tiejun
Yang, Muyun
author_facet Zhou, Hongyun
Lu, Xiangyu
Xu, Wang
Zhu, Conghui
Zhao, Tiejun
Yang, Muyun
contents Low-Rank Adaptation (LoRA) is currently the most commonly used Parameter-efficient fine-tuning (PEFT) method, it introduces auxiliary parameters for each layer to fine-tune the pre-trained model under limited computing resources. However, it still faces resource consumption challenges during training when scaling up to larger models. Most previous studies have tackled this issue by using pruning techniques, which involve removing LoRA parameters deemed unimportant. Nonetheless, these efforts only analyze LoRA parameter features to evaluate their importance, such as parameter count, size, and gradient. In fact, the output of LoRA (product of LoRA parameter and hidden state), directly impacts the final results. Preliminary experiments indicate that a fraction of LoRA elements possesses significantly high output values, substantially influencing the layer output. Motivated by the observation, we propose LoRA-drop. Concretely, LoRA-drop evaluates the importance of LoRA based on the LoRA output. Then we retain LoRA for important layers and the other layers share the same LoRA. We conduct abundant experiments with models of different scales on NLU and NLG tasks. Results demonstrate that LoRA-drop can achieve performance comparable to full fine-tuning and LoRA, while retaining 50\% of the LoRA parameters on average.
format Preprint
id arxiv_https___arxiv_org_abs_2402_07721
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LoRA-drop: Efficient LoRA Parameter Pruning based on Output Evaluation
Zhou, Hongyun
Lu, Xiangyu
Xu, Wang
Zhu, Conghui
Zhao, Tiejun
Yang, Muyun
Machine Learning
Computation and Language
Low-Rank Adaptation (LoRA) is currently the most commonly used Parameter-efficient fine-tuning (PEFT) method, it introduces auxiliary parameters for each layer to fine-tune the pre-trained model under limited computing resources. However, it still faces resource consumption challenges during training when scaling up to larger models. Most previous studies have tackled this issue by using pruning techniques, which involve removing LoRA parameters deemed unimportant. Nonetheless, these efforts only analyze LoRA parameter features to evaluate their importance, such as parameter count, size, and gradient. In fact, the output of LoRA (product of LoRA parameter and hidden state), directly impacts the final results. Preliminary experiments indicate that a fraction of LoRA elements possesses significantly high output values, substantially influencing the layer output. Motivated by the observation, we propose LoRA-drop. Concretely, LoRA-drop evaluates the importance of LoRA based on the LoRA output. Then we retain LoRA for important layers and the other layers share the same LoRA. We conduct abundant experiments with models of different scales on NLU and NLG tasks. Results demonstrate that LoRA-drop can achieve performance comparable to full fine-tuning and LoRA, while retaining 50\% of the LoRA parameters on average.
title LoRA-drop: Efficient LoRA Parameter Pruning based on Output Evaluation
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2402.07721