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

SPTNet: An Efficient Alternative Framework for Generalized Category Discovery with Spatial Prompt Tuning

About

Generalized Category Discovery (GCD) aims to classify unlabelled images from both `seen' and `unseen' classes by transferring knowledge from a set of labelled `seen' class images. A key theme in existing GCD approaches is adapting large-scale pre-trained models for the GCD task. An alternate perspective, however, is to adapt the data representation itself for better alignment with the pre-trained model. As such, in this paper, we introduce a two-stage adaptation approach termed SPTNet, which iteratively optimizes model parameters (i.e., model-finetuning) and data parameters (i.e., prompt learning). Furthermore, we propose a novel spatial prompt tuning method (SPT) which considers the spatial property of image data, enabling the method to better focus on object parts, which can transfer between seen and unseen classes. We thoroughly evaluate our SPTNet on standard benchmarks and demonstrate that our method outperforms existing GCD methods. Notably, we find our method achieves an average accuracy of 61.4% on the SSB, surpassing prior state-of-the-art methods by approximately 10%. The improvement is particularly remarkable as our method yields extra parameters amounting to only 0.117% of those in the backbone architecture. Project page: https://visual-ai.github.io/sptnet.

Hongjun Wang, Sagar Vaze, Kai Han• 2024

Related benchmarks

TaskDatasetResultRank
Generalized Category DiscoveryImageNet-100
All Accuracy90.1
138
Generalized Category DiscoveryCIFAR-100
Accuracy (All)81.3
133
Generalized Category DiscoveryStanford Cars
Accuracy (All)59
128
Generalized Category DiscoveryCUB
Accuracy (All)76.3
113
Generalized Category DiscoveryCIFAR-10
All Accuracy97.3
105
Generalized Category DiscoveryFGVC Aircraft
Accuracy (All)59.3
82
Generalized Category DiscoveryCUB-200 (test)
Overall Accuracy65.8
63
Generalized Category DiscoveryHerbarium19
Score (All Categories)43.4
47
Generalized Category DiscoveryAircraft (test)
Accuracy (All)59.3
38
Fine-grained object category discoveryStanford Cars (test)
Accuracy59
38
Showing 10 of 18 rows

Other info

Follow for update