arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.03164cs.CL
收藏

基于适配器的预训练语言模型适配的有效性研究

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

National University of Singapore(新加坡国立大学);DAMO Academy, Alibaba Group(阿里巴巴集团达摩院);Nanyang Technological University(南洋理工大学);Singapore University of Technology and Design(新加坡科技设计大学)

Ruidan He, Linlin Liu, Hai Ye, Qingyu Tan, Bosheng Ding, Liying Cheng, Jia-Wei Low, Lidong Bing, Luo Si

摘要:

基于适配器的调优最近作为微调的替代方案出现。它的工作原理是将轻量级适配器模块添加到预训练的语言模型(PrLM)中,并且仅在学习下游任务时更新适配器模块的参数。因此,它只为每个新任务添加了一些可训练的参数,允许高度的参数共享。先前的研究表明,基于适配器的调整通常可以实现与微调相当的结果。然而,现有的工作只集中在基于适配器的调整的参数效率方面,而缺乏对其有效性的进一步调查。在本文中,我们研究后者。我们首先表明,基于适配器的调整比微调更好地缓解了遗忘问题,因为它产生的表示与初始PrLM产生的偏差较小。然后,我们在几个下游NLP任务和设置上实证比较了这两种调优方法。我们证明了1)基于适配器的调整优于微调低资源和跨语言的任务; 2)它是更强大的过拟合和不敏感的变化学习率。

英文摘要:

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 learning on a downstream task. As such, it adds only a few trainable parameters per new task, allowing a high degree of parameter sharing. Prior studies have shown that adapter-based tuning often achieves comparable results to fine-tuning. However, existing work only focuses on the parameter-efficient aspect of adapter-based tuning while lacking further investigation on its effectiveness. In this paper, we study the latter. We first show that adapter-based tuning better mitigates forgetting issues than fine-tuning since it yields representations with less deviation from those generated by the initial PrLM. We then empirically compare the two tuning methods on several downstream NLP tasks and settings. We demonstrate that 1) adapter-based tuning outperforms fine-tuning on low-resource and cross-lingual tasks; 2) it is more robust to overfitting and less sensitive to changes in learning rates.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑