Abstract
Few-shot classification (FSC) aims to recognize new categories from minimal examples. While Vision Transformers (ViTs) excel at this, their massive size makes full fine-tuning computationally expensive and storage-intensive. This paper investigates Parameter-Efficient Fine-Tuning (PEFT) methods, conducting over 1,800 experiments to establish robust baselines. We introduce LN-TUNE and ATTNSCALE, which update less than 1.2% of parameters while outperforming complex state-of-the-art techniques across diverse benchmarks like Meta-Dataset and ORBIT.
Introduction
Few-shot classification is a critical capability for flexible AI, enabling models to learn from a handful of examples. Vision Transformers (ViTs) have shown great promise in this area, but their parameter counts pose significant challenges for deployment on edge devices. Parameter-Efficient Fine-Tuning (PEFT) has emerged as a solution, updating only a fraction of the model. However, the lack of standardized evaluation protocols has led to a fragmented landscape. This work provides a rigorous empirical study to identify the most effective PEFT strategies.
Methods and Baselines
The authors evaluate existing PEFT methods such as LoRA and Prompt-tuning alongside two newly proposed simple baselines:
- LN-TUNE: This method involves freezing the entire ViT except for the LayerNorm parameters, which account for a mere 0.08% of the total parameters.
- ATTNSCALE: A modification of the "eTT" method that learns a simple scaling factor for every entry in the attention matrices, combined with a domain-residual adapter. It is roughly 9x more parameter-efficient than the method it improves upon.
The study explores how different pre-training objectives, such as self-supervised (DINO) and supervised (DeiT), influence the effectiveness of these fine-tuning methods.
Experimental Setup
Evaluation is conducted on two major benchmarks:
- Meta-Dataset (MD): A collection of 10 sub-datasets designed to test generalization across diverse visual domains (e.g., Omniglot, Aircraft, VGG-Flower).
- ORBIT: A real-world dataset consisting of noisy, low-resolution videos of everyday objects collected by people who are blind or have low vision.
Key Insights and Results
A primary finding is that simplicity often yields the best results. LN-TUNE consistently outperforms more complex methods and even full-model fine-tuning in several supervised scenarios.
Key results include:
- LN-TUNE achieved 79.1% accuracy on Meta-Dataset with a ViT-S/16 (DINO), surpassing the full fine-tuning baseline of 77.5% while updating 1,000x fewer parameters.
- ATTNSCALE set a new state-of-the-art for self-supervised ViTs on Meta-Dataset with 79.4% accuracy.
- The "best" method is highly dependent on the pre-training objective and the degree of domain shift. For instance, prompt-tuning is effective for near-domain tasks, while LoRA or LN-TUNE are superior for far-domain shifts like hand-drawn characters.
Conclusion
This study demonstrates that "embarrassingly simple" methods like LayerNorm tuning can serve as powerful baselines for few-shot learning. While no single method dominates all scenarios, the established baselines provide a clear path forward for surgical PEFT design. Future work should address the memory footprint of backpropagation to further enable on-device learning.
Summary updated