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

Task Discrepancy Maximization for Fine-grained Few-Shot Classification

About

Recognizing discriminative details such as eyes and beaks is important for distinguishing fine-grained classes since they have similar overall appearances. In this regard, we introduce Task Discrepancy Maximization (TDM), a simple module for fine-grained few-shot classification. Our objective is to localize the class-wise discriminative regions by highlighting channels encoding distinct information of the class. Specifically, TDM learns task-specific channel weights based on two novel components: Support Attention Module (SAM) and Query Attention Module (QAM). SAM produces a support weight to represent channel-wise discriminative power for each class. Still, since the SAM is basically only based on the labeled support sets, it can be vulnerable to bias toward such support set. Therefore, we propose QAM which complements SAM by yielding a query weight that grants more weight to object-relevant channels for a given query image. By combining these two weights, a class-wise task-specific channel weight is defined. The weights are then applied to produce task-adaptive feature maps more focusing on the discriminative details. Our experiments validate the effectiveness of TDM and its complementary benefits with prior methods in fine-grained few-shot classification.

SuBeen Lee, WonJun Moon, Jae-Pil Heo• 2022

Related benchmarks

TaskDatasetResultRank
Few-shot classificationCUB (test)
Accuracy93.99
145
Few-shot classificationCUB-200-2011 (test)
5-way 1-shot Acc84.36
56
Few-shot classificationCUB bounding-box cropped 200-2011 (test)
Accuracy92.8
48
Few-shot classificationAircraft
Accuracy84.77
36
Few-shot classificationmeta-iNat (test)
Accuracy81.6
34
Few-shot classificationtiered meta-iNat (test)
Accuracy62.91
34
Few-shot Image ClassificationStanfordCars (test)
Accuracy (1-shot)65.67
29
Few-shot classificationCars (test)
Accuracy96.88
28
Image ClassificationStanford Dogs (test)
1-shot Accuracy51.57
21
Few-shot Image ClassificationDogs (test)
Accuracy89.85
18
Showing 10 of 11 rows

Other info

Code

Follow for update