[Paper Review] Convolutional Bypasses Are Better Vision Transformer Adapters
Convpass inserts lightweight trainable convolutional bypasses in ViT, achieving superior performance to language-oriented PETL methods on VTAB-1K and few-shot tasks with minimal trainable parameters, and demonstrating strong domain generalization.
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.
Motivation & Objective
- Highlight the mismatch between language-oriented PETL modules and visual inductive bias in ViT.
- Propose Convpass as a vision-oriented PETL module that preserves pretrained weights while adding convolutional inductive bias.
- Demonstrate Convpass effectiveness on VTAB-1K, few-shot learning, and domain-generalization settings.
- Show that Convpass can outperform existing PETL methods with fewer trainable parameters.
Proposed method
- Propose Convpass as a parallel, convolutional bottleneck block inserted to ViT blocks, reconstructing 2D spatial structure for tokens.
- Use a three-layer Convpass: 1x1 channel reduction, 3x3 spatial convolution, 1x1 channel expansion.
- Restore 2D structure by treating tokens as 2D patches, with the [cls] token treated as an image.
- Train only Convpass modules and the classification head while freezing pretrained ViT weights.
- Analyze Convpass via an unraveled view of ViT showing parallel trainable paths including Convpass and MHSA/MLP blocks.
- Compare vision-oriented Convpass with language-oriented PETL modules (VPT, Adapter, AdaptFormer, LoRA, NOAH).
- Evaluate on VTAB-1K with ViT-B/16 pretrained on ImageNet-21K and additional CLIP-based domain-generalization experiments.
Experimental results
Research questions
- RQ1Can vision-oriented adaptation modules outperform language-oriented PETL modules when fine-tuning ViT on visual tasks?
- RQ2Does introducing convolutional inductive bias via Convpass improve data efficiency, especially in low-data regimes (few-shot and VTAB-1K subsets)?
- RQ3How does Convpass affect domain generalization, including vision-language models like CLIP, compared to baseline PETL methods?
Key findings
- Convpass attn (Convpass inserted alongside MHSA) and Convpass (parallel to MHSA/MLP) achieve strong VTAB-1K performance, with Convpass attaining best average results among PETL methods.
- Convpass attn achieves 12 state-of-the-art results out of 19 tasks on VTAB-1K, and Convpass (full) attains the best average performance, 1.1 percentage points higher than the previous SOTA (NOAH) across VTAB-1K tasks.
- Convpass introduces roughly 0.33 million trainable parameters for ViT-B/16 (86M backbone), which is far smaller than full fine-tuning yet yields superior accuracy.
- Convpass demonstrates strong few-shot learning gains across five fine-grained datasets, outperforming baselines in most shot settings, illustrating improved data efficiency.
- In domain-generalization experiments with CLIP, Convpass_CLIP outperforms several CLIP-tailored PETL baselines on source and most target domains, showing robustness to domain shift.
- Compared to backbone variants with inherent visual inductive bias (Swin, ConvNeXt), ViT with Convpass can surpass full fine-tuning of biased backbones, indicating Convpass effectively compensates for ViT’s lack of visual inductive bias.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.