HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

Sunghwan Hong Seokju Cho Jisu Nam Stephen Lin Seungryong Kim

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

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.

Code Repositories

Seokju-Cho/Volumetric-Aggregation-Transformer
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-semantic-segmentation-on-coco-20i-1VAT (ResNet-101)
FB-IoU: 68.8
Mean IoU: 41.3
few-shot-semantic-segmentation-on-coco-20i-5VAT (ResNet-101)
FB-IoU: 72.4
Mean IoU: 47.9
few-shot-semantic-segmentation-on-fss-1000-1VAT (ResNet-50)
FB-IoU: 93.8
Mean IoU: 90.1
few-shot-semantic-segmentation-on-fss-1000-1VAT (ResNet-101)
FB-IoU: 94
Mean IoU: 90.3
few-shot-semantic-segmentation-on-fss-1000-5VAT (ResNet-50)
FB-IoU: 94.2
Mean IoU: 90.7
few-shot-semantic-segmentation-on-fss-1000-5VAT (ResNet-101)
FB-IoU: 94.4
Mean IoU: 90.8
few-shot-semantic-segmentation-on-pascal-5i-1VAT (ResNet-101)
FB-IoU: 79.6
Mean IoU: 67.9
few-shot-semantic-segmentation-on-pascal-5i-1VAT (ResNet-50)
FB-IoU: 77.8
Mean IoU: 65.5
few-shot-semantic-segmentation-on-pascal-5i-5VAT (ResNet-101)
FB-IoU: 83.2
Mean IoU: 72
few-shot-semantic-segmentation-on-pascal-5i-5VAT (ResNet-50)
FB-IoU: 80.9
Mean IoU: 70.1
semantic-correspondence-on-pf-pascalVAT (ECCV)
PCK: 92.3
semantic-correspondence-on-pf-willowVAT (ECCV)
PCK: 81.6
semantic-correspondence-on-spair-71kVAT (ECCV)
PCK: 55.5

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp