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

卷积滤波器是更好的视觉Transformer适配器

Convolutional Bypasses Are Better Vision Transformer Adapters

Peking University(北京大学)

Shibo Jie, Zhi-Hong Deng

摘要:

预训练-微调范式在计算机视觉中被广泛采用。但是随着视觉Transformer(ViT)的大小呈指数级增长,考虑到更重的存储开销,完全微调变得令人望而却步。受语言Transformers上的参数高效迁移学习(PETL)的激励,最近的研究试图插入轻量级自适应模块(例如,适配器层或提示令牌)来预训练ViT,并且仅在预训练权重被冻结时微调这些模块。然而,这些模块最初被提出来微调语言模型,并没有考虑到专门用于视觉任务的先验知识。在本文中,我们建议在ViT中构建卷积神经网络(Convpass)作为自适应模块,只引入少量(小于0.5%的模型参数)的可训练参数来适应大的ViT。与其他PETL方法不同,Convpass受益于卷积层的硬编码归纳偏差,因此更适合视觉任务,特别是在低数据状态下。在VTAB-1 K基准测试和少样本学习数据集上的实验结果表明,Convpass的性能优于当前面向语言的自适应模块,说明了为适应视觉模型而定制面向视觉的自适应模块的必要性。

英文摘要:

The pretrain-then-finetune paradigm has been widely adopted in computer vision. But as the size of Vision Transformer (ViT) grows exponentially, the full finetuning becomes prohibitive in view of the heavier storage overhead. Motivated by parameter-efficient transfer learning (PETL) on language transformers, recent studies attempt to insert lightweight adaptation modules (e.g., adapter layers or prompt tokens) to pretrained ViT and only finetune these modules while the pretrained weights are frozen. However, these modules were originally proposed to finetune language models and did not take into account the prior knowledge specifically for visual tasks. In this paper, we propose to construct Convolutional Bypasses (Convpass) in ViT as adaptation modules, introducing only a small amount (less than 0.5% of model parameters) of trainable parameters to adapt the large ViT. Different from other PETL methods, Convpass benefits from the hard-coded inductive bias of convolutional layers and thus is more suitable for visual tasks, especially in the low-data regime. Experimental results on VTAB-1K benchmark and few-shot learning datasets show that Convpass outperforms current language-oriented adaptation modules, demonstrating the necessity to tailor vision-oriented adaptation modules for adapting vision models.

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

↑