Fine-tuning large pre-trained language models on downstream tasks has become the de-facto learning paradigm in NLP. However, conventional approaches fine-tune all the parameters of the pre-trained model, which becomes prohibitive as the model size and the number of tasks grow. Recent work has proposed a variety of parameter-efficient transfer learning methods that only fine-tune a small number of (extra) parameters to attain strong performance. While effective, the critical ingredients for success and the connections among the various methods are poorly understood. In this paper, we break down the design of state-of-the-art parameter-efficient transfer learning methods and present a unified framework that establishes connections between them. Specifically, we re-frame them as modifications to specific hidden states in pre-trained models, and define a set of design dimensions along which different methods vary, such as the function to compute the modification and the position to apply the modification. Through comprehensive empirical studies across machine translation, text summarization, language understanding, and text classification benchmarks, we utilize the unified view to identify important design choices in previous methods. Furthermore, our unified framework enables the transfer of design elements across different approaches, and as a result we are able to instantiate new parameter-efficient fine-tuning methods that tune less parameters than previous methods while being more effective, achieving comparable results to fine-tuning all parameters on all four tasks.
翻译:在下游任务方面,对经过培训的大型语言模型进行微调,这已成为国家劳工局的脱法学习范式。然而,传统方法微调了经过培训的模式的所有参数,随着模型规模和任务数量的增加,这些参数变得令人望而却步。最近的工作提出了各种具有参数效率的转让学习方法,这些方法只能微调少量(外)参数,以取得强有力的业绩。虽然有效,但成功的关键因素和各种方法之间的联系却不易理解。在本文件中,我们打破了设计最先进的具有参数效率的转让学习方法,并提出了一个能建立它们之间联系的统一框架。具体地说,我们把这些方法作为修改在经过培训的模式中具体隐蔽状态的修改而加以调整,并界定了一套不同的设计层面,这些设计方法各不相同,例如对修改进行精细调整的功能和运用修改的位置等。我们通过对机器翻译、文本简略、语言理解和文本分类基准的综合经验研究,利用统一的观点来确定以前方法中的重要设计选择。此外,我们的统一框架使得设计要素的转让成为了在经过预先训练的模型中,同时调整的所有参数都是比现在更精确的参数,我们能够实现更精确的。