SOTAVerified

Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentation

2022-07-22Code Available1· sign in to hype

Sunghwan Hong, Seokju Cho, Jisu Nam, Stephen Lin, Seungryong Kim

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

This paper presents a novel cost aggregation network, called Volumetric Aggregation with Transformers (VAT), for few-shot segmentation. The use of transformers can benefit correlation map aggregation through self-attention over a global receptive field. However, the tokenization of a correlation map for transformer processing can be detrimental, because the discontinuity at token boundaries reduces the local context available near the token edges and decreases inductive bias. To address this problem, we propose a 4D Convolutional Swin Transformer, where a high-dimensional Swin Transformer is preceded by a series of small-kernel convolutions that impart local context to all pixels and introduce convolutional inductive bias. We additionally boost aggregation performance by applying transformers within a pyramidal structure, where aggregation at a coarser level guides aggregation at a finer level. Noise in the transformer output is then filtered in the subsequent decoder with the help of the query's appearance embedding. With this model, a new state-of-the-art is set for all the standard benchmarks in few-shot segmentation. It is shown that VAT attains state-of-the-art performance for semantic correspondence as well, where cost aggregation also plays a central role.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
COCO-20i (1-shot)VAT (ResNet-101)Mean IoU41.3Unverified
COCO-20i (5-shot)VAT (ResNet-101)Mean IoU47.9Unverified
FSS-1000 (1-shot)VAT (ResNet-101)Mean IoU90.3Unverified
FSS-1000 (1-shot)VAT (ResNet-50)Mean IoU90.1Unverified
FSS-1000 (5-shot)VAT (ResNet-101)Mean IoU90.8Unverified
FSS-1000 (5-shot)VAT (ResNet-50)Mean IoU90.7Unverified
PASCAL-5i (1-Shot)VAT (ResNet-101)Mean IoU67.9Unverified
PASCAL-5i (1-Shot)VAT (ResNet-50)Mean IoU65.5Unverified
PASCAL-5i (5-Shot)VAT (ResNet-101)Mean IoU72Unverified
PASCAL-5i (5-Shot)VAT (ResNet-50)Mean IoU70.1Unverified

Reproductions