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

面向视觉-语言预训练模型的参数与计算高效迁移学习

Parameter and Computation Efficient Transfer Learning for Vision-Language Pre-trained Models

Institute of Artificial Intelligence, Xiamen University(厦门大学人工智能研究院)

Qiong Wu, Wei Yu, Yiyi Zhou, Shubin Huang, Xiaoshuai Sun, Rongrong Ji

AI总结:

本文提出动态架构跳过(DAS)方法,通过强化学习识别并跳过VLP模型中的冗余模块,在保持参数规模的同时降低推理计算量,实现参数与计算双高效迁移学习。

摘要:

随着参数量和计算量的不断增加,视觉-语言预训练(VLP)模型在下游任务适配中表现出高昂的支出。近期的研究主要关注VLP模型的参数高效迁移学习(PETL),仅更新少量参数。然而,过高的计算开销仍然困扰着VLP模型的应用。本文旨在实现VLP模型的参数与计算高效迁移学习(PCETL)。具体而言,PCETL不仅需要限制VLP模型中可训练参数的数量,还需要减少推理过程中的计算冗余,从而实现更高效的迁移。为了实现这一目标,我们提出了一种新颖的动态架构跳过(DAS)方法,用于有效的PCETL。DAS不是直接优化VLP模型的内在架构,而是首先通过基于强化学习(RL)的过程观察其模块对下游任务的重要性,然后根据获得的奖励,利用轻量级网络(即适配器)跳过冗余模块。在这种情况下,VLP模型能够在保持可训练参数规模的同时,加速其在下游任务上的推理。为了验证DAS,我们将其应用于两个具有代表性的VLP模型,即ViLT和METER,并在多个视觉-语言任务上进行了大量实验。实验结果不仅展示了DAS在降低计算复杂度方面的巨大优势,例如METER在VQA2.0上FLOPs降低了11.97%,还证实了其在参数规模和性能方面相对于现有PETL方法的竞争力。我们的源代码在附录中给出。

英文摘要:

With ever increasing parameters and computation, vision-language pre-trained (VLP) models exhibit prohibitive expenditure in downstream task adaption. Recent endeavors mainly focus on parameter efficient transfer learning (PETL) for VLP models by only updating a small number of parameters. However, excessive computational overhead still plagues the application of VLPs. In this paper, we aim at parameter and computation efficient transfer learning (PCETL) for VLP models. In particular, PCETL not only needs to limit the number of trainable parameters in VLP models, but also to reduce the computational redundancy during inference, thus enabling a more efficient transfer. To approach this target, we propose a novel dynamic architecture skipping (DAS) approach towards effective PCETL. Instead of directly optimizing the intrinsic architectures of VLP models, DAS first observes the significances of their modules to downstream tasks via a reinforcement learning (RL) based process, and then skips the redundant ones with lightweight networks, i.e., adapters, according to the obtained rewards. In this case, the VLP model can well maintain the scale of trainable parameters while speeding up its inference on downstream tasks. To validate DAS, we apply it to two representative VLP models, namely ViLT and METER, and conduct extensive experiments on a bunch of VL tasks. The experimental results not only show the great advantages of DAS in reducing computational complexity, e.g. -11.97% FLOPs of METER on VQA2.0, but also confirm its competitiveness against existing PETL methods in terms of parameter scale and performance. Our source code is given in our appendix.

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

↑