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

Improving Visual Prompt Tuning by Gaussian Neighborhood Minimization for Long-Tailed Visual Recognition

About

Long-tail learning has garnered widespread attention and achieved significant progress in recent times. However, even with pre-trained prior knowledge, models still exhibit weaker generalization performance on tail classes. The promising Sharpness-Aware Minimization (SAM) can effectively improve the generalization capability of models by seeking out flat minima in the loss landscape, which, however, comes at the cost of doubling the computational time. Since the update rule of SAM necessitates two consecutive (non-parallelizable) forward and backpropagation at each step. To address this issue, we propose a novel method called Random SAM prompt tuning (RSAM-PT) to improve the model generalization, requiring only one-step gradient computation at each step. Specifically, we search for the gradient descent direction within a random neighborhood of the parameters during each gradient update. To amplify the impact of tail-class samples and avoid overfitting, we employ the deferred re-weight scheme to increase the significance of tail-class samples. The classification accuracy of long-tailed data can be significantly improved by the proposed RSAM-PT, particularly for tail classes. RSAM-PT achieves the state-of-the-art performance of 90.3\%, 76.5\%, and 50.1\% on benchmark datasets CIFAR100-LT (IF 100), iNaturalist 2018, and Places-LT, respectively. The source code is temporarily available at https://github.com/Keke921/GNM-PT.

Mengke Li, Ye Liu, Yang Lu, Yiqun Zhang, Yiu-ming Cheung, Hui Huang• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-LT (test)
Top-1 Acc (All)80.4
159
Image ClassificationCIFAR-100-LT Imbalance Ratio 100
Top-1 Acc0.903
88
Image ClassificationCIFAR-100-LT Imbalance Ratio 10
Top-1 Acc91.8
83
Image ClassificationCIFAR-100-LT (Imbalance Ratio 50)
Top-1 Accuracy91.2
61
Long-Tailed Image ClassificationPlaces-LT (test)
Accuracy50.1
61
Long-Tailed Image ClassificationiNat (val test)
Overall Accuracy76.5
17
Long-Tailed Image ClassificationPlaces-LT (val test)
Overall Accuracy50.1
15
Image ClassificationCIFAR100-LT Imbalance Ratio 200
Top-1 Acc89.2
8
Showing 8 of 8 rows

Other info

Code

Follow for update