HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Visual and Textual Prior Guided Mask Assemble for Few-Shot Segmentation and Beyond

Chen Shuai Meng Fanman Zhang Runtong Qiu Heqian Li Hongliang Wu Qingbo Xu Linfeng

Visual and Textual Prior Guided Mask Assemble for Few-Shot Segmentation and Beyond

Abstract

Few-shot segmentation (FSS) aims to segment the novel classes with a few annotated images. Due to CLIP's advantages of aligning visual and textual information, the integration of CLIP can enhance the generalization ability of FSS model. However, even with the CLIP model, the existing CLIP-based FSS methods are still subject to the biased prediction towards base classes, which is caused by the class-specific feature level interactions. To solve this issue, we propose a visual and textual Prior Guided Mask Assemble Network (PGMA-Net). It employs a class-agnostic mask assembly process to alleviate the bias, and formulates diverse tasks into a unified manner by assembling the prior through affinity. Specifically, the class-relevant textual and visual features are first transformed to class-agnostic prior in the form of probability map. Then, a Prior-Guided Mask Assemble Module (PGMAM) including multiple General Assemble Units (GAUs) is introduced. It considers diverse and plug-and-play interactions, such as visual-textual, inter- and intra-image, training-free, and high-order ones. Lastly, to ensure the class-agnostic ability, a Hierarchical Decoder with Channel-Drop Mechanism (HDCDM) is proposed to flexibly exploit the assembled masks and low-level features, without relying on any class-specific information. It achieves new state-of-the-art results in the FSS task, with mIoU of $77.6$ on $\text{PASCAL-}5^i$ and $59.4$ on $\text{COCO-}20^i$ in 1-shot scenario. Beyond this, we show that without extra re-training, the proposed PGMA-Net can solve bbox-level and cross-domain FSS, co-segmentation, zero-shot segmentation (ZSS) tasks, leading an any-shot segmentation framework.

Benchmarks

BenchmarkMethodologyMetrics
few-shot-semantic-segmentation-on-coco-20i-1PGMA-Net (ResNet-101)
FB-IoU: 78.5
Mean IoU: 59.4
few-shot-semantic-segmentation-on-coco-20i-1PGMA-Net (ResNet-50)
FB-IoU: 75.8
Mean IoU: 54.3
few-shot-semantic-segmentation-on-coco-20i-5PGMA-Net (ResNet-50)
FB-IoU: 76.7
Mean IoU: 57.1
few-shot-semantic-segmentation-on-coco-20i-5PGMA-Net (ResNet-101)
FB-IoU: 79.4
Mean IoU: 61.8
few-shot-semantic-segmentation-on-pascal-5i-1PGMA-Net (ResNet-50)
FB-IoU: 83.5
Mean IoU: 74.1
few-shot-semantic-segmentation-on-pascal-5i-1PGMA-Net (ResNet-101)
FB-IoU: 86.2
Mean IoU: 77.6
few-shot-semantic-segmentation-on-pascal-5i-1PGMA-Net (ViT-B/16)
FB-IoU: 82.1
Mean IoU: 74.1
few-shot-semantic-segmentation-on-pascal-5i-5PGMA-Net (ResNet-101)
FB-IoU: 86.9
Mean IoU: 78.6
few-shot-semantic-segmentation-on-pascal-5i-5PGMA-Net (ViT-B/16)
FB-IoU: 82.5
Mean IoU: 74.6
few-shot-semantic-segmentation-on-pascal-5i-5PGMA-Net (ResNet-50)
FB-IoU: 84.2
Mean IoU: 75.2

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