Research into Few-shot Semantic Segmentation (FSS) has attracted great attention, with the goal to segment target objects in a query image given only a few annotated support images of the target class. A key to this challenging task is to fully utilize the information in the support images by exploiting fine-grained correlations between the query and support images. However, most existing approaches either compressed the support information into a few class-wise prototypes, or used partial support information (e.g., only foreground) at the pixel level, causing non-negligible information loss. In this paper, we propose Dense pixel-wise Cross-query-and-support Attention weighted Mask Aggregation (DCAMA), where both foreground and background support information are fully exploited via multi-level pixel-wise correlations between paired query and support features. Implemented with the scaled dot-product attention in the Transformer architecture, DCAMA treats every query pixel as a token, computes its similarities with all support pixels, and predicts its segmentation label as an additive aggregation of all the support pixels' labels -- weighted by the similarities. Based on the unique formulation of DCAMA, we further propose efficient and effective one-pass inference for n-shot segmentation, where pixels of all support images are collected for the mask aggregation at once. Experiments show that our DCAMA significantly advances the state of the art on standard FSS benchmarks of PASCAL-5i, COCO-20i, and FSS-1000, e.g., with 3.1%, 9.7%, and 3.6% absolute improvements in 1-shot mIoU over previous best records. Ablative studies also verify the design DCAMA.
翻译:对少见的语义分解( FSS) 的研究引起了极大关注, 目标就是在查询图像中分割目标对象, 只给出了几个目标类的附加支持图像 。 这个挑战性任务的关键是充分利用支持图像中的信息, 利用查询和支持图像之间的细微比分关系。 然而, 大多数现有方法要么将支持信息压缩到几个类级原型中, 要么在像素一级使用部分支持信息( 例如, 仅前方), 从而造成不可忽略的信息损失 。 在本文中, 我们建议 Dense pixel- sycle- server- supportal- supliformation A- server- server- service- service- service- service- service- service- service- serviceal- serviceal- serviceal- servil- serviceal laveal- laveal- laveal- suptraceal- suptra the Excial- SA- Excial- excial- sl- excial- sceal- sceal- laveal- coceal- coceal- sl- sl- sl- sl- sl- sl- sl- sl- sl- sl- sl- sl- delviewmal- coal- sl- sl- sluptal- slational- slationsional- sltal- sil- sl- sil- sl 和Sal- sil- sil- siltal- sl- sl- sal- sal- sl- sl- sl- sl- sl- sl- 和sal- sal- sal- sal- ladal- sal- ladal- lapal- ladal- sl 和sl- 和s- sal- coalsl- 和所有 FA- sal- ladal- SA- sl- 和Sal- sl