LoRA Meets Dropout under a Unified Framework

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Sheng, Chen, Liheng, Jiang, Jiyue, Xue, Boyang, Kong, Lingpeng, Wu, Chuan
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913363610566656
author Wang, Sheng
Chen, Liheng
Jiang, Jiyue
Xue, Boyang
Kong, Lingpeng
Wu, Chuan
author_facet Wang, Sheng
Chen, Liheng
Jiang, Jiyue
Xue, Boyang
Kong, Lingpeng
Wu, Chuan
contents With the remarkable capabilities, large language models (LLMs) have emerged as essential elements in numerous NLP applications, while parameter-efficient finetuning, especially LoRA, has gained popularity as a lightweight approach for model customization. Meanwhile, various dropout methods, initially designed for full finetuning with all the parameters updated, alleviates overfitting associated with excessive parameter redundancy. Hence, a possible contradiction arises from negligible trainable parameters of LoRA and the effectiveness of previous dropout methods, which has been largely overlooked. To fill this gap, we first confirm that parameter-efficient LoRA is also overfitting-prone. We then revisit transformer-specific dropout methods, and establish their equivalence and distinctions mathematically and empirically. Building upon this comparative analysis, we introduce a unified framework for a comprehensive investigation, which instantiates these methods based on dropping position, structural pattern and compensation measure. Through this framework, we reveal the new preferences and performance comparisons of them when involved with limited trainable parameters. This framework also allows us to amalgamate the most favorable aspects into a novel dropout method named HiddenKey. Extensive experiments verify the remarkable superiority and sufficiency of HiddenKey across multiple models and tasks, which highlights it as the preferred approach for high-performance and parameter-efficient finetuning of LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2403_00812
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LoRA Meets Dropout under a Unified Framework
Wang, Sheng
Chen, Liheng
Jiang, Jiyue
Xue, Boyang
Kong, Lingpeng
Wu, Chuan
Computation and Language
Artificial Intelligence
With the remarkable capabilities, large language models (LLMs) have emerged as essential elements in numerous NLP applications, while parameter-efficient finetuning, especially LoRA, has gained popularity as a lightweight approach for model customization. Meanwhile, various dropout methods, initially designed for full finetuning with all the parameters updated, alleviates overfitting associated with excessive parameter redundancy. Hence, a possible contradiction arises from negligible trainable parameters of LoRA and the effectiveness of previous dropout methods, which has been largely overlooked. To fill this gap, we first confirm that parameter-efficient LoRA is also overfitting-prone. We then revisit transformer-specific dropout methods, and establish their equivalence and distinctions mathematically and empirically. Building upon this comparative analysis, we introduce a unified framework for a comprehensive investigation, which instantiates these methods based on dropping position, structural pattern and compensation measure. Through this framework, we reveal the new preferences and performance comparisons of them when involved with limited trainable parameters. This framework also allows us to amalgamate the most favorable aspects into a novel dropout method named HiddenKey. Extensive experiments verify the remarkable superiority and sufficiency of HiddenKey across multiple models and tasks, which highlights it as the preferred approach for high-performance and parameter-efficient finetuning of LLMs.
title LoRA Meets Dropout under a Unified Framework
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2403.00812