Weak feature representation problem has influenced the performance of few-shot classification task for a long time. To alleviate this problem, recent researchers build connections between support and query instances through embedding patch features to generate discriminative representations. However, we observe that there exists semantic mismatches (foreground/ background) among these local patches, because the location and size of the target object are not fixed. What is worse, these mismatches result in unreliable similarity confidences, and complex dense connection exacerbates the problem. According to this, we propose a novel Clustered-patch Element Connection (CEC) layer to correct the mismatch problem. The CEC layer leverages Patch Cluster and Element Connection operations to collect and establish reliable connections with high similarity patch features, respectively. Moreover, we propose a CECNet, including CEC layer based attention module and distance metric. The former is utilized to generate a more discriminative representation benefiting from the global clustered-patch features, and the latter is introduced to reliably measure the similarity between pair-features. Extensive experiments demonstrate that our CECNet outperforms the state-of-the-art methods on classification benchmark. Furthermore, our CEC approach can be extended into few-shot segmentation and detection tasks, which achieves competitive performances.
翻译:弱特征表示问题长期以来影响Few-shot分类任务的性能。为了解决这个问题,近期的研究人员通过嵌入补丁特征来建立支持和查询实例之间的连接,以生成有区分度的表示形式。然而,我们观察到这些局部补丁之间存在语义不匹配(前景/背景),因为目标对象的位置和大小不固定。更糟糕的是,这些不匹配会导致不可靠的相似性置信度,并且复杂的密集连接会加剧这个问题。基于此,我们提出一种新颖的聚簇补丁元素连接(CEC)层来解决这个问题。CEC层利用补丁聚类和元素连接操作来分别收集和建立可靠的具有高相似性补丁特征的连接。此外,我们提出一个CECNet,包括基于CEC层的注意力模块和距离度量。前者用于从全局聚簇补丁特征中生成更具区分度的表示形式,后者用于可靠地测量成对特征之间的相似度。广泛的实验证明,我们的CECNet在分类基准上优于最先进的方法。此外,我们的CEC方法可以扩展到Few-shot分割和检测任务中,具有竞争力的性能。