Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

FD-Align: Feature Discrimination Alignment for Fine-tuning Pre-Trained Models in Few-Shot Learning

About

Due to the limited availability of data, existing few-shot learning methods trained from scratch fail to achieve satisfactory performance. In contrast, large-scale pre-trained models such as CLIP demonstrate remarkable few-shot and zero-shot capabilities. To enhance the performance of pre-trained models for downstream tasks, fine-tuning the model on downstream data is frequently necessary. However, fine-tuning the pre-trained model leads to a decrease in its generalizability in the presence of distribution shift, while the limited number of samples in few-shot learning makes the model highly susceptible to overfitting. Consequently, existing methods for fine-tuning few-shot learning primarily focus on fine-tuning the model's classification head or introducing additional structure. In this paper, we introduce a fine-tuning approach termed Feature Discrimination Alignment (FD-Align). Our method aims to bolster the model's generalizability by preserving the consistency of spurious features across the fine-tuning process. Extensive experimental results validate the efficacy of our approach for both ID and OOD tasks. Once fine-tuned, the model can seamlessly integrate with existing methods, leading to performance improvements. Our code can be found in https://github.com/skingorz/FD-Align.

Kun Song, Huimin Ma, Bochao Zou, Huishuai Zhang, Weiran Huang• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet 1k (test)
Top-1 Accuracy69.15
798
Image ClassificationImageNet V2 (test)
Top-1 Accuracy60.83
181
Image ClassificationImageNet-Sketch (test)
Top-1 Acc0.4423
132
Few-shot Image ClassificationminiImageNet (test)
Accuracy98.52
111
Few-shot classificationCUB-200-2011 (test)--
56
Few-shot classificationOmniglot
Accuracy94.81
38
Few-shot Image ClassificationDomainNet Clipart
Accuracy94.83
18
Few-shot classificationVGG-Flowers
Accuracy98.95
16
Few-shot classificationChestX
Accuracy24.95
13
Few-shot Image ClassificationEuroSAT--
11
Showing 10 of 25 rows

Other info

Code

Follow for update