arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.09804cs.CVcs.AIcs.CLcs.LG
收藏

VL-PET:通过粒度控制实现视觉与语言参数高效微调

VL-PET: Vision-and-Language Parameter-Efficient Tuning via Granularity Control

The Chinese University of Hong Kong(香港中文大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Centre for Perceptual and Interactive Intelligence(感知与交互智能中心)

Zi-Yuan Hu, Yanyang Li, Michael R. Lyu, Liwei Wang

AI总结:

针对视觉语言模型参数高效微调中模块修改过多及编码器、解码器功能差异问题,提出粒度控制的 VL-PET 框架与轻量模块,在多类图文和视频文本任务上显著提升性能。

摘要:

随着预训练语言模型(PLM)的模型规模迅速增长,全量微调在模型训练和存储方面变得成本过高。在视觉与语言(VL)领域,参数高效微调(PET)技术被提出,用于将模块化修改(例如 Adapter 和 LoRA)集成到编码器-解码器 PLM 中。通过微调少量可训练参数,这些技术能够取得与全量微调相当的性能。然而,过多的模块化修改以及忽视编码器与解码器之间的功能差异,可能导致性能下降,而现有 PET 技术(例如 VL-Adapter)忽略了这些关键问题。本文提出视觉与语言参数高效微调(Vision-and-Language Parameter-Efficient Tuning,VL-PET)框架,通过一种新颖的粒度控制机制对模块化修改实施有效控制。考虑到该机制生成的不同粒度控制矩阵,可以从该框架实例化多种与模型无关的 VL-PET 模块,从而更好地权衡效率与有效性。我们进一步提出轻量级 PET 模块设计,以增强编码器的 VL 对齐与建模能力,并维持解码器的文本生成能力。在四个图文任务和四个视频文本任务上进行的大量实验证明了 VL-PET 框架的效率、有效性和可迁移性。特别是,在图文任务上,采用轻量级 PET 模块设计的 VL-PET-large 在 BART-base(T5-base)上分别显著优于 VL-Adapter 2.92%(3.41%)和 LoRA 3.37%(7.03%)。此外,我们验证了将 VL-PET 设计用于现有 PET 技术所带来的增强效果,使其能够获得显著性能提升。代码可在 https://github.com/HenryHZY/VL-PET 获取。

英文摘要:

As the model size of pre-trained language models (PLMs) grows rapidly, full fine-tuning becomes prohibitively expensive for model training and storage. In vision-and-language (VL), parameter-efficient tuning (PET) techniques are proposed to integrate modular modifications (e.g., Adapter and LoRA) into encoder-decoder PLMs. By tuning a small set of trainable parameters, these techniques perform on par with full fine-tuning. However, excessive modular modifications and neglecting the functionality gap between the encoders and decoders can lead to performance degradation, while existing PET techniques (e.g., VL-Adapter) overlook these critical issues. In this paper, we propose a Vision-and-Language Parameter-Efficient Tuning (VL-PET) framework to impose effective control over modular modifications via a novel granularity-controlled mechanism. Considering different granularity-controlled matrices generated by this mechanism, a variety of model-agnostic VL-PET modules can be instantiated from our framework for better efficiency and effectiveness trade-offs. We further propose lightweight PET module designs to enhance VL alignment and modeling for the encoders and maintain text generation for the decoders. Extensive experiments conducted on four image-text tasks and four video-text tasks demonstrate the efficiency, effectiveness and transferability of our VL-PET framework. In particular, our VL-PET-large with lightweight PET module designs significantly outperforms VL-Adapter by 2.92% (3.41%) and LoRA by 3.37% (7.03%) with BART-base (T5-base) on image-text tasks. Furthermore, we validate the enhanced effect of employing our VL-PET designs on existing PET techniques, enabling them to achieve significant performance improvements. Our code is available at https://github.com/HenryHZY/VL-PET.

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

↑