paper-with-me

홈 › Papers

On the Effectiveness of Parameter-Efficient Fine-Tuning

2022-11-28 · Zihao Fu, Haoran Yang, Anthony Man-Cho So, Wai Lam, Lidong Bing, Nigel Collier

Fine-tuning pre-trained models has been ubiquitously proven to be effective in a wide range of NLP tasks. However, fine-tuning the whole model is parameter inefficient as it always yields an entirely new model for each task. Currently, many research works propose to only fine-tune a small portion of the parameters while keeping most of the parameters shared across different tasks. These methods achieve surprisingly good performance and are shown to be more stable than their corresponding fully fine-tuned counterparts. However, such kind of methods is still not well understood. Some natural questions arise: How does the parameter sparsity lead to promising performance? Why is the model more stable than the fully fine-tuned models? How to choose the tunable parameters? In this paper, we first categorize the existing methods into random approaches, rule-based approaches, and projection-based approaches based on how they choose which parameters to tune. Then, we show that all of the methods are actually sparse fine-tuned models and conduct a novel theoretical analysis of them. We indicate that the sparsity is actually imposing a regularization on the original model by controlling the upper bound of the stability. Such stability leads to better generalization capability which has been empirically observed in a lot of recent research works. Despite the effectiveness of sparsity grounded by our theory, it still remains an open problem of how to choose the tunable parameters. To better choose the tunable parameters, we propose a novel Second-order Approximation Method (SAM) which approximates the original problem with an analytically solvable optimization function. The tunable parameters are determined by directly optimizing the approximation function. The experimental results show that our proposed SAM model outperforms many strong baseline models and it also verifies our theoretical analysis.

📄 PDF Abstract BibTeX arXiv:2211.15583

Code (1)

fuzihaofzh/analyzeparameterefficientfinetune 공식 구현 pytorch

Tasks

Natural Questionsparameter-efficient fine-tuning

Similar Papers 제목 키워드 기반

Parameter-Efficient Fine-Tuning of Large Language Models for Unit Test Generation: An Empirical Study

2024-11-04 · André Storhaug, Jingyue Li

The advent of large language models (LLMs) like GitHub Copilot has significantly enhanced programmers' productivity, particularly in code generation. However, these models often struggle with real-world tasks without fin…

Code Generationparameter-efficient fine-tuning

Towards Adaptive Prefix Tuning for Parameter-Efficient Language Model Fine-tuning

2023-05-24 · Zhen-Ru Zhang, Chuanqi Tan, Haiyang Xu, Chengyu Wang 외

Fine-tuning large pre-trained language models on various downstream tasks with whole parameters is prohibitively expensive. Hence, Parameter-efficient fine-tuning has attracted attention that only optimizes a few task-sp…

Language ModelingLanguage ModellingNERparameter-efficient fine-tuning

On the Effectiveness of Adapter-based Tuning for Pretrained Language Model Adaptation

2021-06-06 · ACL 2021 5 · Ruidan He, Linlin Liu, Hai Ye, Qingyu Tan 외

Adapter-based tuning has recently arisen as an alternative to fine-tuning. It works by adding light-weight adapter modules to a pretrained language model (PrLM) and only updating the parameters of adapter modules when le…

Language ModelingLanguage Modelling

Effectiveness of Data Augmentation for Parameter Efficient Tuning with Limited Data

2023-03-05 · Stephen Obadinma, Hongyu Guo, Xiaodan Zhu

Recent work has demonstrated that using parameter efficient tuning techniques such as prefix tuning (or P-tuning) on pretrained language models can yield performance that is comparable or superior to fine-tuning while dr…

Data AugmentationSentenceSentence Embeddings

Parameter Efficient Quasi-Orthogonal Fine-Tuning via Givens Rotation

2024-04-05 · Xinyu Ma, Xu Chu, Zhibang Yang, Yang Lin 외

With the increasingly powerful performances and enormous scales of pretrained models, promoting parameter efficiency in fine-tuning has become a crucial need for effective and efficient adaptation to various downstream t…