U ni PELT : A Unified Framework for Parameter-Efficient Language Model Tuning (2022)

Abstract: Recent parameter-efficient language model tuning (PELT) methods manage to match the performance of fine-tuning with much fewer trainable parameters and perform especially well when training data is limited. However, different PELT methods may perform rather differently on the same task, making it nontrivial to select the most appropriate method for a specific task, especially considering the fast-growing number of new PELT methods and tasks. In light of model diversity and the difficulty of model selection, we propose a unified framework, UniPELT, which incorporates different PELT methods as submodules and learns to activate the ones that best suit the current data or task setup via gating mechanism. On the GLUE benchmark, UniPELT consistently achieves 1 4% gains compared to the best individual PELT method that it incorporates and even outperforms fine-tuning under different setups. Moreover, UniPELT generally surpasses the upper bound that takes the best performance of all its submodules used individually on each task, indicating that a mixture of multiple PELT methods may be inherently more effective than single methods.

## introduction as pre-trained language models (plms) @xcite grow larger and larger @xcite , it becomes increasingly infeasible to perform conventional fine-tuning, where separate replicas of the model parameters are modified per single task. to solve the issue, there has recently been a surge of studies on parameter-efficient language model tuning (pelt), namely how to effectively tune the plms with fewer trainable parameters. existing pelt research generally aims at achieving performance comparable to fine-tuning with as few trainable parameters as possible, which has seen significant progress -the task-specific trainable parameters used in most recent approaches @xcite are almost negligible compared to the total parameters of the plm (<1%). a more challenging yet less studied problem is whether one can achieve better performance than fine-tuning with fewer parameters. recent studies @xcite @xcite find that some pelt methods are more effective than fine-tuning on certain tasks when training data is limited, possibly due to the reduced risk of overfitting. however, as found in our experiments ( in light of the diverse performance of pelt methods and the cost of selecting the best method, we propose a unified pelt framework, named unipelt, which incorporates different pelt methods as submodules and learns to dynamically activate the (combination of) submodules that best suit the current data or task setup. as a result, model selection is no longer needed and consistently better performance is achieved under different setups. the activation of each submodule in unipelt is controlled by gating mechanism, which learns to favor (assign more weight to) the submodules that positively contribute to a given task. in addition, since the number of parameters introduced by each submodule is generally small, combining multiple methods leads to negligible losses in model efficiency. we select four representative pelt methods for our study -adapter @xcite , lora @xcite , and bitfit @xcite , which largely cover the major categories of pelt methods. we perform two sets of analysis that carefully examines (i) the characteristics of individual pelt methods and (ii) their effectiveness when coordinated by unipelt under various setups. 2 extensive experiments on the glue benchmark @xcite , with 32 setups (8 tasks ×4 data sizes) and 1,000+ runs, not only reveal the diverse behavior of pelt methods, but also show that unipelt is more effective and robust than using each method alone in various task and data setups. specifically, unipelt consistently improves the best submodule that it incorporates by 1~4 points and even outperforms fine-tuning, achieving the best average performance on the glue benchmark under different setups. moreover, unipelt generally surpasses the upper bound that takes the best performance of all its submodules used individually on each task, which suggests that unipelt maintains (near) optimal performance under different setups. the fact that unipelt outperforms the upper bound also implies that a mixture of pelt methods involving different parts of the plm architecture may be inherently more effective than individual methods. contributions. (1) we conduct a comprehensive study of representative pelt methods and carefully examine their differences and commonalities in terms of performance and characteristics. ( 2) we propose a unified pelt framework that can incorporate existing methods as submodules and automatically learn to activate the appropriate submodules for a given task. (3) our proposed framework achieves better average performance than finetuning and the pelt methods that it incorporates under various setups, often performing the best and never the worst at per-task level, exhibiting superior effectiveness and robustness with negligible losses in model efficiency. ## experiments we conduct extensive experiments with 8 tasks × 4 data sizes × 7 methods × 5 runs per setup, along with additional analysis for particular methods, resulting in 1,000+ runs in total.