HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

HM: Hybrid Masking for Few-Shot Segmentation

Seonghyeon Moon Samuel S. Sohn Honglu Zhou Sejong Yoon Vladimir Pavlovic Muhammad Haris Khan Mubbasir Kapadia

HM: Hybrid Masking for Few-Shot Segmentation

Abstract

We study few-shot semantic segmentation that aims to segment a target object from a query image when provided with a few annotated support images of the target class. Several recent methods resort to a feature masking (FM) technique to discard irrelevant feature activations which eventually facilitates the reliable prediction of segmentation mask. A fundamental limitation of FM is the inability to preserve the fine-grained spatial details that affect the accuracy of segmentation mask, especially for small target objects. In this paper, we develop a simple, effective, and efficient approach to enhance feature masking (FM). We dub the enhanced FM as hybrid masking (HM). Specifically, we compensate for the loss of fine-grained spatial details in FM technique by investigating and leveraging a complementary basic input masking method. Experiments have been conducted on three publicly available benchmarks with strong few-shot segmentation (FSS) baselines. We empirically show improved performance against the current state-of-the-art methods by visible margins across different benchmarks. Our code and trained models are available at: https://github.com/moonsh/HM-Hybrid-Masking

Code Repositories

moonsh/hm-hybrid-masking
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-semantic-segmentation-on-coco-20iHSNet (HM, ResNet-50)
Mean IoU: 65.2
few-shot-semantic-segmentation-on-coco-20iHSNet (HM, ResNet-101)
Mean IoU: 66.5
few-shot-semantic-segmentation-on-coco-20iVAT (HM, ResNet-50)
Mean IoU: 65.1
few-shot-semantic-segmentation-on-coco-20i-1ASNet (HM, ResNet-50)
FB-IoU: 70.4
Mean IoU: 44.7
few-shot-semantic-segmentation-on-coco-20i-1HSNet (HM, ResNet-50)
FB-IoU: 70.8
Mean IoU: 44.3
few-shot-semantic-segmentation-on-coco-20i-1VAT (HM, ResNet-50)
FB-IoU: 70
Mean IoU: 43.2
few-shot-semantic-segmentation-on-coco-20i-1ASNet (HM, ResNet-101)
FB-IoU: 71.1
Mean IoU: 45.9
few-shot-semantic-segmentation-on-coco-20i-1HSNet (HM, ResNet-101)
FB-IoU: 71.5
Mean IoU: 46.5
few-shot-semantic-segmentation-on-coco-20i-2HSNet (HM, ResNet-50)
Mean IoU: 69.7
few-shot-semantic-segmentation-on-coco-20i-2HSNet (HM, ResNet-101)
Mean IoU: 70.9
few-shot-semantic-segmentation-on-coco-20i-2VAT (HM, ResNet-50)
Mean IoU: 69.7
few-shot-semantic-segmentation-on-coco-20i-5HSNet (HM, ResNet-50)
FB-IoU: 72.2
Mean IoU: 49.4
few-shot-semantic-segmentation-on-coco-20i-5ASNet (HM, ResNet-50)
FB-IoU: 72.2
Mean IoU: 48.4
few-shot-semantic-segmentation-on-coco-20i-5ASNet (HM, ResNet-101)
FB-IoU: 73.3
Mean IoU: 50.6
few-shot-semantic-segmentation-on-coco-20i-5VAT (HM, ResNet-50)
FB-IoU: 71.8
Mean IoU: 48.3
few-shot-semantic-segmentation-on-coco-20i-5HSNet (HM, ResNet-101)
FB-IoU: 72.9
Mean IoU: 50.6
few-shot-semantic-segmentation-on-fss-1000-1HSNet (HM, ResNet-50)
Mean IoU: 87.1
few-shot-semantic-segmentation-on-fss-1000-1VAT (HM, ResNet-50)
Mean IoU: 89.4
few-shot-semantic-segmentation-on-fss-1000-1HSNet (HM, ResNet-101)
Mean IoU: 87.8
few-shot-semantic-segmentation-on-fss-1000-1VAT (HM, ResNet-101)
Mean IoU: 90.2
few-shot-semantic-segmentation-on-fss-1000-5HSNet (HM, ResNet-101)
Mean IoU: 88.5
few-shot-semantic-segmentation-on-fss-1000-5HSNet (HM, ResNet-50)
Mean IoU: 88
few-shot-semantic-segmentation-on-fss-1000-5VAT (HM, ResNet-50)
Mean IoU: 89.9
few-shot-semantic-segmentation-on-fss-1000-5VAT (HM, ResNet-101)
Mean IoU: 90.5
few-shot-semantic-segmentation-on-pascal-5i-1VAT (HM, ResNet-50)
FB-IoU: 77.1
Mean IoU: 65.8
few-shot-semantic-segmentation-on-pascal-5i-1VAT (HM, ResNet-101)
FB-IoU: 79.4
Mean IoU: 67.8
few-shot-semantic-segmentation-on-pascal-5i-1HSNet (HM, ResNet-50)
FB-IoU: 76.5
Mean IoU: 65
few-shot-semantic-segmentation-on-pascal-5i-1HSNet (HM, ResNet-101)
FB-IoU: 77.8
Mean IoU: 66.7
few-shot-semantic-segmentation-on-pascal-5i-5HSNet (HM, ResNet-101)
FB-IoU: 79.7
Mean IoU: 69.3
few-shot-semantic-segmentation-on-pascal-5i-5HSNet (HM, ResNet-50)
FB-IoU: 77.7
Mean IoU: 67.1
few-shot-semantic-segmentation-on-pascal-5i-5VAT (HM, ResNet-50)
FB-IoU: 78.5
Mean IoU: 68.2
few-shot-semantic-segmentation-on-pascal-5i-5VAT (HM, ResNet-101)
FB-IoU: 81.5
Mean IoU: 70.9

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