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

HyperPELT:语言和视觉与语言任务的统一参数有效语言模型调整

HyperPELT: Unified Parameter-Efficient Language Model Tuning for Both Language and Vision-and-Language Tasks

Nankai University(南开大学);Huawei Technologies(华为技术有限公司)

Zhengkun Zhang, Wenya Guo, Xiaojun Meng, Yasheng Wang, Yadao Wang, Xin Jiang, Qun Liu, Zhenglu Yang

摘要:

预训练和微调的工作流程已经成为解决各种NLP和V&L(视觉和语言)下游任务的流行范例。随着预训练模型容量的快速增长,如何执行参数高效微调对于快速迁移学习和部署变得相当重要。在本文中,我们设计了一个新的统一的参数有效的迁移学习框架,有效地工作在纯语言和V&L任务。特别地,我们使用一个共享的超网络,该超网络将可训练的超嵌入作为输入,并输出用于微调预训练的语言模型中的不同小模块的权重,例如调整插入到多头注意力块中的参数(即,前缀调谐)和前馈块(即,适配器调谐)。我们定义一组嵌入(例如,层,块,任务和视觉嵌入)作为计算超嵌入的关键组件,因此可以支持纯语言和V&L任务。我们提出的框架在多任务学习中增加了更少的可训练参数,同时与最先进的方法相比,实现了更好的性能和迁移能力。在GLUE基准测试和多个V&L任务上的实证结果证实了我们的框架在文本和视觉模态上的有效性。

英文摘要:

The workflow of pretraining and fine-tuning has emerged as a popular paradigm for solving various NLP and V&L (Vision-and-Language) downstream tasks. With the capacity of pretrained models growing rapidly, how to perform parameter-efficient fine-tuning has become fairly important for quick transfer learning and deployment. In this paper, we design a novel unified parameter-efficient transfer learning framework that works effectively on both pure language and V&L tasks. In particular, we use a shared hypernetwork that takes trainable hyper-embeddings as input, and outputs weights for fine-tuning different small modules in a pretrained language model, such as tuning the parameters inserted into multi-head attention blocks (i.e., prefix-tuning) and feed-forward blocks (i.e., adapter-tuning). We define a set of embeddings (e.g., layer, block, task and visual embeddings) as the key components to calculate hyper-embeddings, which thus can support both pure language and V&L tasks. Our proposed framework adds fewer trainable parameters in multi-task learning while achieving superior performances and transfer ability compared to state-of-the-art methods. Empirical results on the GLUE benchmark and multiple V&L tasks confirm the effectiveness of our framework on both textual and visual modalities.

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

↑