Skip to main content
QUICK REVIEW

[Paper Review] Towards a Unified View on Visual Parameter-Efficient Transfer Learning

Bruce X. B. Yu, Jianlong Chang|arXiv (Cornell University)|Oct 3, 2022
Multimodal Machine Learning ApplicationsComputer Science14 citations
TL;DR

This paper proposes V-PETL, a unified framework for visual parameter-efficient transfer learning that introduces Parallel Attention (PATT), a novel prefix-tuning variant, to improve the parameter-accuracy trade-off in vision tasks. By integrating PATT into vision transformers, the method achieves state-of-the-art performance with significantly fewer trainable parameters than full fine-tuning, outperforming AdaptFormer-Swin and even full-tuning on datasets like Something-Something V2 and HMDB51.

ABSTRACT

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.

Motivation & Objective

  • To address the challenge of high computational and storage costs in fine-tuning large vision models (LVMs) for downstream tasks.
  • To explore parameter-efficient transfer learning (PETL) techniques in vision, especially under-explored prefix-tuning.
  • To establish a unified framework for analyzing PETL techniques, data scale, and parameter position effects in vision.
  • To improve the parameter-accuracy trade-off in vision transfer learning using a novel PATT module.
  • To validate the effectiveness of PATT across multiple LVMs and downstream vision tasks.

Proposed method

  • Proposes a unified V-PETL framework to systematically study PETL techniques in vision, including prompt-tuning, adapter, and prefix-tuning.
  • Introduces Parallel Attention (PATT), a new prefix-tuning variant that decouples query and key projections in self-attention, enabling better gradient flow and parameter efficiency.
  • PATT is inserted before the multi-head attention module and learns task-specific representations in parallel with the main model.
  • The number of trainable parameters is controlled via a hyperparameter dbottle, allowing flexible adjustment of model capacity.
  • Employs a unified training protocol across multiple vision models (e.g., Swin, ViT, VideoMAE) and datasets (ImageNet, SSv2, HMDB51) to ensure fair comparison.
  • Uses a combination of supervised and self-supervised pre-trained models to evaluate generalization and robustness.

Experimental results

Research questions

  • RQ1How do different PETL techniques (e.g., prompt-tuning, adapter, prefix-tuning) compare in terms of accuracy and parameter efficiency in vision tasks?
  • RQ2What are the key differences between NLP and vision data that affect the design and performance of prefix-tuning in vision?
  • RQ3How does the position of trainable parameters influence the parameter-accuracy trade-off in vision transfer learning?
  • RQ4Can a novel prefix-tuning variant like PATT outperform existing PETL methods in vision?
  • RQ5How does the proposed method scale across different data scales and pre-training paradigms (supervised vs. self-supervised)?

Key findings

  • Our method, Swin-BAPAT with dbottle=32, achieves 86.55% Top-1 accuracy on SSv2, outperforming full-tuning (86.04%) with only 9.68% of the trainable parameters.
  • On HMDB51, Swin-BAPAT-32 achieves 57.18% Top-1 accuracy, surpassing full-tuning (46.41%) and AdaptFormer-Swin (55.69%) with significantly fewer parameters.
  • ViT-BAPAT-32 achieves 86.29% Top-1 accuracy on CIFAR-100, outperforming AdaptFormer-64 (85.90%) and matching full-tuning (86.04%) with only 2.47% of the parameters.
  • The PATT module enables consistent performance gains across multiple vision models (Swin, ViT) and datasets (image and video), including a 5.05% improvement over full-tuning on SSv2.
  • The method maintains strong performance even with small batch sizes (e.g., 16), making it practical for resource-constrained edge devices.
  • Extensive ablation shows that PATT improves gradient flow and parameter efficiency, especially in low-data regimes, validating its design choice.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.