Skip to main navigation Skip to search Skip to main content

Adapting Shortcut with Normalizing Flow: An Efficient Tuning Framework for Visual Recognition

  • Yaoming Wang
  • , Bowen Shi
  • , Xiaopeng Zhang
  • , Jin Li
  • , Yuchen Liu
  • , Wenrui Dai
  • , Chenglin Li
  • , Hongkai Xiong
  • , Qi Tian*
  • *Corresponding author for this work
  • Shanghai Jiao Tong University
  • Huawei Cloud Computing Technologies

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Pretraining followed by fine-tuning has proven to be effective in visual recognition tasks. However, fine-tuning all parameters can be computationally expensive, particularly for large-scale models. To mitigate the computational and storage demands, recent research has explored Parameter-Efficient Fine-Tuning (PEFT), which focuses on tuning a minimal number of parameters for efficient adaptation. Existing methods, however, fail to analyze the impact of the additional parameters on the model, resulting in an unclear and suboptimal tuning process. In this paper, we introduce a novel and effective PEFT paradigm, named SNF (Shortcut adaptation via Normalization Flow), which utilizes normalizing flows to adjust the shortcut layers. We highlight that layers without Lipschitz constraints can lead to error propagation when adapting to downstream datasets. Since modifying the over-parameterized residual connections in these layers is expensive, we focus on adjusting the cheap yet crucial shortcuts. Moreover, learning new information with few parameters in PEFT can be challenging, and information loss can result in label information degradation. To address this issue, we propose an information-preserving normalizing flow. Experimental results demonstrate the effectiveness of SNF. Specifically, with only 0.036M parameters, SNF surpasses previous approaches on both the FGVC and VTAB-1k benchmarks using ViT/B-16 as the backbone. The code is available at https://github.com/Wang-Yaoming/SNF

Original languageEnglish
Title of host publicationProceedings - 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023
PublisherIEEE Computer Society
Pages15965-15974
Number of pages10
ISBN (Electronic)9798350301298
DOIs
StatePublished - 2023
Externally publishedYes
Event2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023 - Vancouver, Canada
Duration: 18 Jun 2023 → 22 Jun 2023

Publication series

NameProceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition
Volume2023-June
ISSN (Print)1063-6919

Conference

Conference2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023
Country/TerritoryCanada
CityVancouver
Period18/06/23 → 22/06/23

Keywords

  • continual
  • low-shot
  • meta
  • or long-tail learning
  • Transfer

Fingerprint

Dive into the research topics of 'Adapting Shortcut with Normalizing Flow: An Efficient Tuning Framework for Visual Recognition'. Together they form a unique fingerprint.

Cite this