Low-rank Attention Side-Tuning for Parameter-Efficient Fine-Tuning
Ningyuan Tang, Minghao Fu, Ke Zhu, Jianxin Wu
TL;DR
This paper tackles the GPU memory and speed bottlenecks of parameter-efficient fine-tuning (PEFT) by proposing LAST, a side-tuning framework that completely freezes the pretrained backbone and its outputs while learning a side-network built from Low-rank Self-Attention (LSA) blocks. The LSA module projects tokens to a very low dimension $r$ ($r \ll d$), performs self-attention in this reduced space, and projects back, eliminating reliance on large FFNs and avoiding backpropagation through the backbone. A bias correction is introduced to ensure the pretrained representation remains properly isolated, yielding a representation $u_m - \sum_{i=0}^{m-1} z_i$ that separates the task-specific component from the frozen backbone. LAST enables highly parallelizable training across multiple hyperparameter settings and achieves state-of-the-art PEFT performance on VTAB-1K and FGVC datasets with substantially reduced memory footprint (e.g., around $1.33$ GB on ViT-B/16) and faster training times, while remaining scalable to large backbones such as ViT-g. The approach promises practical impact by enabling efficient fine-tuning of very large models on modest hardware and suggests extensions to other backbones and modalities, including large language models.
Abstract
In finetuning a large pretrained model to downstream tasks, parameter-efficient fine-tuning (PEFT) methods can effectively finetune pretrained models with few trainable parameters, but suffer from high GPU memory consumption and slow training speed. Because learnable parameters from these methods are entangled with the pretrained model, gradients related to the frozen pretrained model's parameters have to be computed and stored during finetuning. We propose Low-rank Attention Side-Tuning (LAST), which disentangles the trainable module from the pretrained model by freezing not only parameters but also outputs of the pretrained network. LAST trains a side-network composed of only low-rank self-attention modules. By viewing the pretrained model as a frozen feature extractor, the side-network takes intermediate output from the pretrained model and focus on learning task-specific knowledge. We also show that LAST can be highly parallel across multiple optimization objectives, making it very efficient in downstream task adaptation, for example, in finding optimal hyperparameters. LAST outperforms previous state-of-the-art methods on VTAB-1K and other visual adaptation tasks with roughly only 30\% of GPU memory footprint and 60\% of training time compared to existing PEFT methods, but achieves significantly higher accuracy.
