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

视觉参数有效迁移学习的统一观点

Towards a Unified View on Visual Parameter-Efficient Transfer Learning

The Hong Kong Polytechnic University(香港理工大学);Huawei Inc.(华为公司)

Bruce X. B. Yu, Jianlong Chang, Lingbo Liu, Qi Tian, Chang Wen Chen

摘要:

参数有效迁移学习(PETL)的目标是通过微调少量参数来充分利用预先训练的大型模型中的表示知识。近年来,受自然语言处理(NLP)领域的启发,流行的PETL技术,如自动调谐和适配器,也已成功地应用于视觉领域。然而,前缀调整仍然未被探索的视觉任务。在这项工作中,我们打算使大型视觉模型(LVMs)适应下游任务,并具有良好的参数精度权衡。为了实现这一目标,我们提出了一个框架,一个统一的PETL视图称为视觉PETL(V-PETL),以调查不同的PETL技术的影响,下游域的数据规模,可训练参数的位置,以及影响权衡的其他方面。具体而言,我们分析了可训练参数的位置重要性以及NLP和视觉任务在数据结构和预训练机制方面的差异,同时实现各种PETL技术,特别是未开发的前缀调整技术。基于对NLP和视觉数据之间差异的全面理解,我们提出了一种新的前缀调整模块,称为并行注意力(PATT),用于视觉下游任务。通过不同的冻结LVMs的视觉任务进行了广泛的实证分析,研究结果表明,提出的PATT可以有效地促进其他PETL技术。一个有效的计划Swin-BAPAT来自拟议的V-PETL框架实现了显着更好的性能比国家的最先进的AdaptFormer-Swin略多的参数,并优于完全调整少得多的参数。代码和数据可在https://github.com/bruceyo/V-PETL上获得。

英文摘要:

Parameter efficient transfer learning (PETL) aims at making good use of the representation knowledge in the pre-trained large models by fine-tuning a small number of parameters. Recently, taking inspiration from the natural language processing (NLP) domain, popular PETL techniques such as prompt-tuning and Adapter have also been successfully applied to the vision domain. However, prefix-tuning remains under-explored for vision tasks. In this work, we intend to adapt large vision models (LVMs) to downstream tasks with a good parameter-accuracy trade-off. Towards this goal, we propose a framework with a unified view of PETL called visual-PETL (V-PETL) to investigate the effects of different PETL techniques, data scales of downstream domains, positions of trainable parameters, and other aspects affecting the trade-off. Specifically, we analyze the positional importance of trainable parameters and differences between NLP and vision tasks in terms of data structures and pre-training mechanisms while implementing various PETL techniques, especially for the under-explored prefix-tuning technique. Based on a comprehensive understanding of the differences between NLP and vision data, we propose a new variation of the prefix-tuning module called parallel attention (PATT) for vision downstream tasks. An extensive empirical analysis on vision tasks via different frozen LVMs has been carried and the findings show that the proposed PATT can effectively contribute to other PETL techniques. An effective scheme Swin-BAPAT derived from the proposed V-PETL framework achieves significantly better performance than the state-of-the-art AdaptFormer-Swin with slightly more parameters and outperforms full-tuning with far fewer parameters. Code and data are available at: https://github.com/bruceyo/V-PETL.

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

↑