Abstract
Fine-tuning massive pre-trained vision models for diverse downstream tasks presents significant storage and computational challenges. While Parameter-Efficient Fine-Tuning (PEFT) methods like Adapters and LoRA mitigate these issues by freezing the backbone and adding sparse trainable parameters, they often rely on fixed, human-designed heuristics for parameter placement. This paper presents Sensitivity-aware visual Parameter-efficient fine-Tuning (SPT), a novel framework that adaptively identifies and tunes the most "sensitive" parameters for a specific task. By employing a two-stage scheme of sensitivity identification and adaptive allocation, SPT achieves state-of-the-art performance across 24 benchmarks, including FGVC and VTAB-1k, while tuning less than 1% of the model.
Introduction
The rapid scaling of vision models, such as ViT and Swin Transformer, has made full fine-tuning increasingly impractical. PEFT methods offer a solution by introducing a small number of trainable parameters. However, existing approaches suffer from a "one-size-fits-all" limitation, inserting modules into fixed positions regardless of the task's domain. This ignores the domain gap—the reality that a model must adapt differently when transitioning from natural images to specialized domains like medical imaging or synthetic scenes. SPT addresses this by asking: where should trainable parameters be introduced, and how should they be allocated for a specific task?
Methodology
SPT operates through a two-stage process designed to be both surgical and efficient:
- Sensitivity Identification: Before training, SPT performs a single forward and backward pass using a small data batch (e.g., 400 samples). It utilizes a first-order Taylor expansion of the loss function (squared gradients) to estimate parameter sensitivity. This process is highly efficient, requiring only about 5.5 seconds on a single GPU.
- Adaptive Allocation: Based on the identified sensitivity, SPT allocates a tuning budget ($\tau$). It employs unstructured tuning for individual sensitive weights and structured tuning (e.g., LoRA or Adapters) for weight matrices that exceed a sensitivity threshold ($\sigma_{opt}$), providing higher representational capacity where the model needs it most.
Experimental Evaluation
The researchers evaluated SPT on a comprehensive suite of 24 downstream recognition tasks, including Fine-Grained Visual Classification (FGVC) and the VTAB-1k benchmark.
Key Results
- Performance Boost: SPT-Adapter improved the standard Adapter method by 4.2% on FGVC and 1.4% on VTAB-1k using a ViT-B/16 backbone.
- Superior to Full Fine-Tuning: On self-supervised backbones (MAE), SPT-Adapter outperformed full fine-tuning by a massive 5.8% mean accuracy, proving that targeted tuning prevents overfitting in foundation models.
- Efficiency: Despite the sensitivity-check step, total training time remains comparable to standard PEFT due to the one-time, low-cost nature of the sensitivity estimation.
Key Insights
- Sensitivity is Task-Specific: Different tasks "activate" different layers. For example, "Structured" tasks (synthetic/geometric) require significantly more tuning in the middle layers of a ViT compared to standard "Natural" tasks.
- Attention is Robust: The Query ($W_q$) and Key ($W_k$) matrices in the self-attention mechanism are consistently the least sensitive across tasks, suggesting that pre-trained patch relationships are highly reusable.
- Hybrid Granularity: The study demonstrates that a combination of individual weight updates and structured modules (like LoRA) provides a more flexible and powerful adaptation mechanism than either alone.
Conclusion
SPT provides a surgical and efficient approach to model adaptation, achieving state-of-the-art results with minimal parameter updates. While currently focused on classification and segmentation, the method's ability to bridge the domain gap through adaptive allocation makes it a promising candidate for future expansion into dense prediction and multi-modal vision-language tasks.
Summary updated