Low-Rank Rescaled Vision Transformer Fine-Tuning: A Residual Design Approach

Wei Dong, Xing Zhang, Bihui Chen, Dawei Yan, Zhijun Lin, Qingsen Yan, Peng Wang, Yang Yang

TL;DR

Fine-tuning massive pre-trained models for new tasks usually requires a delicate trade-off between learning task-specific features and preserving the model's original generalization capabilities. This paper introduces Residual-based Low-Rank Rescaling (RLRR), a parameter-efficient fine-tuning (PEFT) strategy that uses a novel singular value decomposition (SVD) framework to balance this trade-off. RLRR achieves state-of-the-art performance across major vision benchmarks while adding zero computational overhead during inference.

What Problem Does This Paper Address?

When adapting large pre-trained Vision Transformers (ViTs) to downstream tasks, full fine-tuning (updating all parameters) is computationally expensive and prone to overfitting, especially when data is scarce. Parameter-Efficient Fine-Tuning (PEFT) methods solve this by freezing the core model and training a tiny set of auxiliary parameters.

However, existing PEFT approaches suffer from a fundamental tension:

  1. Over-adaptation: Methods like Adapters or Scaling & Shifting Features (SSF) directly alter the model's internal weight distributions, which can distort the pre-trained model's robust, generalized representations.
  2. Under-adaptation: Methods like Low-Rank Adaptation (LoRA) apply weak perturbations that might not flexibly adapt to drastically different downstream tasks when matrix dimensions are large.

The authors address this gap by analyzing the tuning dynamics of existing PEFT methods through the lens of Singular Value Decomposition (SVD) and proposing a method that precisely balances adaptation flexibility with representation preservation.

Methods

The SVD Analytical Framework

The authors mathematically break down a pre-trained weight matrix $W$ into its singular values (spectrum) and singular vectors using SVD. By mapping existing PEFT methods onto this framework, they show exactly how different strategies distort or preserve the underlying matrix structure.

Residual-based Low-Rank Rescaling (RLRR)

To achieve a better balance, the authors propose RLRR. Instead of adding a completely separate parallel bottleneck path (like LoRA) or simply scaling features (like SSF), RLRR scales the pre-trained weight matrix from both sides using low-rank scaling vectors, while maintaining a residual connection to the original matrix.

The fine-tuning formulation for a weight matrix $W$ is expressed as: $$\Delta W = s_{left} \odot W \odot s_{right}^\top$$ $$W_{new} = W + \Delta W$$

Where $s_{left}$ and $s_{right}$ are learnable scaling vectors applied row-wise and column-wise, and $\odot$ denotes the Hadamard product.

Illustration of the proposed RLRR method showing the residual structure and dual-sided scaling vectors analyzed via SVD.

Zero-Overhead Inference (Re-parameterization)

Because these scaling operations are linear, the learned vectors can be mathematically merged back into the frozen weight matrix once training is complete: $$W_{re-param} = (1 + s_{left}s_{right}^\top) \odot W$$

This structural re-parameterization means that during deployment, the model incurs zero extra storage space, zero extra parameters, and zero latency overhead.

Datasets

The authors evaluated RLRR on two primary visual adaptation benchmarks:

  • VTAB-1k (Visual Task Adaptation Benchmark): Contains 19 diverse visual classification tasks divided into three groups: Natural (standard images), Specialized (medical and remote sensing images), and Structured (synthetic/simulated environments). Each task is strictly limited to only 1,000 training images.
  • FGVC (Fine-Grained Visual Classification): Consists of 5 distinct datasets focusing on fine-grained details: CUB-200-2011 (birds), NABirds, Oxford Flowers, Stanford Dogs, and Stanford Cars.

Key Insights and Ideas

  • The Importance of the Residual Anchor: A key finding is that dual-sided scaling ($s_{left}$ and $s_{right}$) actually hurts performance if used alone because it excessively distorts the original weight matrix. However, when anchored by the original frozen matrix via a residual design ($W + \Delta W$), it unlocks superior tuning flexibility without losing the pre-trained model's intrinsic knowledge.
  • Module-Wide Deployment Wins: Through ablation studies, the authors found that applying RLRR across all internal Transformer modules (Multi-Head Attention, Feed-Forward Networks, and LayerNorm) yields the highest accuracy gains as the network depth increases.
Figure 2. Ablation study using the VIT-B/16 backbone on the CIFAR-100 dataset to evaluate the impact of incorporating RLRR adaptation across different module and layer combinations.

Key Results

  • State-of-the-Art on VTAB-1k: RLRR achieved a mean accuracy of 74.5% (and 75.1% when using an AugReg-enhanced backbone), outperforming full fine-tuning (65.6%), LoRA (72.3%), and SSF (73.1%) while introducing only 0.33M trainable parameters.
  • Superior Scalability: When tested on larger architectures like ViT-Large and ViT-Huge, RLRR consistently outperformed competing PEFT methods, beating the previous state-of-the-art by 2.7% on ViT-Large and 2.6% on ViT-Huge.
  • Architectural Versatility: Beyond standard ViTs, RLRR proved robust when applied to hierarchical architectures like the Swin Transformer, achieving a top mean accuracy of 73.0% on VTAB-1k.

Limitations and Future Work

  • Training Parameter Count: While RLRR introduces zero parameter overhead during inference, it requires slightly more trainable parameters during the training phase (0.33M) compared to ultra-lightweight alternatives like ARC (0.13M) or FacT (0.07M).
  • Future Directions: The authors plan to explore how well this dual-sided residual rescaling strategy transfers to other deep learning domains, specifically targeting Natural Language Processing (NLP) tasks and large language models.

Summary updated

Abstract

Parameter-efficient fine-tuning for pre-trained Vision Transformers aims to adeptly tailor a model to downstream tasks by learning a minimal set of new adaptation parameters while preserving the frozen majority of pre-trained parameters. Striking a balance between retaining the generalizable representation capacity of the pre-trained model and acquiring task-specific features poses a key challenge. Currently, there is a lack of focus on guiding this delicate trade-off. In this study, we approach the problem from the perspective of Singular Value Decomposition (SVD) of pre-trained parameter matrices, providing insights into the tuning dynamics of existing methods. Building upon this understanding, we propose a Residual-based Low-Rank Rescaling (RLRR) fine-tuning strategy. This strategy not only enhances flexibility in parameter tuning but also ensures that new parameters do not deviate excessively from the pre-trained model through a residual design. Extensive experiments demonstrate that our method achieves competitive performance across various downstream image classification tasks, all while maintaining comparable new parameters. We believe this work takes a step forward in offering a unified perspective for interpreting existing methods and serves as motivation for the development of new approaches that move closer to effectively considering the crucial trade-off mentioned above. Our code is available at \href{https://github.com/zstarN70/RLRR.git}{https://github.com/zstarN70/RLRR.git}.
BibTeX
@inproceedings{dong2024low,
  author = {Wei Dong and Xing Zhang and Bihui Chen and Dawei Yan and Zhijun Lin and Qingsen Yan and Peng Wang and Yang Yang},
  title = {{Low-Rank Rescaled Vision Transformer Fine-Tuning: A Residual Design Approach}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure