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.
翻译:认识眼睛和嘴唇等歧视性细节对于区分细细类非常重要,因为它们具有相似的整体外观。在这方面,我们引入了任务差异最大化(TDM),这是一个微细细微微分数分类的简单模块。我们的目标是通过突出频道将不同类别的信息编码成不同的类别,使类别偏向性区域本地化。具体地说,TDM学习基于两个新颖组成部分的针对具体任务的频道重量:支持注意模块(SAM)和查询注意模块(QAM)。SAM产生一个支持性重量,代表每个类的频道有错的差别性力量。然而,由于SAM基本上仅以标签式的支持组合为基础,它可能易受到这种支持组合的偏向。因此,我们建议QAM补充SAM,通过提供查询权重,使与对象相关的渠道对给定的查询图像具有更大份量。通过将这两个重量结合起来,确定了一个等级式任务特定频道的重量。然后运用这些重量来制作任务适应性特征地图,更侧重于有区别性的细节。然而,由于SAM基本上只基于标签的支持组,因此它可能易受偏向这种支持。因此,我们提出的试验验证了它以前的分类方法的效用。