TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Hybrid Mamba for Few-Shot Segmentation

Hybrid Mamba for Few-Shot Segmentation

Qianxiong Xu, Xuanyi Liu, Lanyun Zhu, Guosheng Lin, Cheng Long, Ziyue Li, Rui Zhao

2024-09-29Few-Shot Semantic Segmentation
PaperPDFCode(official)

Abstract

Many few-shot segmentation (FSS) methods use cross attention to fuse support foreground (FG) into query features, regardless of the quadratic complexity. A recent advance Mamba can also well capture intra-sequence dependencies, yet the complexity is only linear. Hence, we aim to devise a cross (attention-like) Mamba to capture inter-sequence dependencies for FSS. A simple idea is to scan on support features to selectively compress them into the hidden state, which is then used as the initial hidden state to sequentially scan query features. Nevertheless, it suffers from (1) support forgetting issue: query features will also gradually be compressed when scanning on them, so the support features in hidden state keep reducing, and many query pixels cannot fuse sufficient support features; (2) intra-class gap issue: query FG is essentially more similar to itself rather than to support FG, i.e., query may prefer not to fuse support features but their own ones from the hidden state, yet the success of FSS relies on the effective use of support information. To tackle them, we design a hybrid Mamba network (HMNet), including (1) a support recapped Mamba to periodically recap the support features when scanning query, so the hidden state can always contain rich support information; (2) a query intercepted Mamba to forbid the mutual interactions among query pixels, and encourage them to fuse more support features from the hidden state. Consequently, the support information is better utilized, leading to better performance. Extensive experiments have been conducted on two public benchmarks, showing the superiority of HMNet. The code is available at https://github.com/Sam1224/HMNet.

Results

TaskDatasetMetricValueModel
Few-Shot LearningCOCO-20i (5-shot)FB-IoU77.6HMNet (ResNet-50)
Few-Shot LearningCOCO-20i (5-shot)Mean IoU58.9HMNet (ResNet-50)
Few-Shot LearningCOCO-20i (5-shot)FB-IoU75.5HMNet (VGG-16)
Few-Shot LearningCOCO-20i (5-shot)Mean IoU54.5HMNet (VGG-16)
Few-Shot LearningPASCAL-5i (1-Shot)FB-IoU81.6HMNet (ResNet-50)
Few-Shot LearningPASCAL-5i (1-Shot)Mean IoU70.4HMNet (ResNet-50)
Few-Shot LearningPASCAL-5i (1-Shot)FB-IoU79.2HMNet (VGG-16)
Few-Shot LearningPASCAL-5i (1-Shot)Mean IoU67.3HMNet (VGG-16)
Few-Shot LearningCOCO-20i (1-shot)FB-IoU74.5HMNet (ResNet-50)
Few-Shot LearningCOCO-20i (1-shot)Mean IoU52.1HMNet (ResNet-50)
Few-Shot LearningCOCO-20i (1-shot)FB-IoU72.6HMNet (VGG-16)
Few-Shot LearningCOCO-20i (1-shot)Mean IoU49.1HMNet (VGG-16)
Few-Shot LearningPASCAL-5i (5-Shot)FB-IoU84.4HMNet (ResNet-50)
Few-Shot LearningPASCAL-5i (5-Shot)Mean IoU74.1HMNet (ResNet-50)
Few-Shot LearningPASCAL-5i (5-Shot)FB-IoU82.6HMNet (VGG-16)
Few-Shot LearningPASCAL-5i (5-Shot)Mean IoU71.1HMNet (VGG-16)
Few-Shot Semantic SegmentationCOCO-20i (5-shot)FB-IoU77.6HMNet (ResNet-50)
Few-Shot Semantic SegmentationCOCO-20i (5-shot)Mean IoU58.9HMNet (ResNet-50)
Few-Shot Semantic SegmentationCOCO-20i (5-shot)FB-IoU75.5HMNet (VGG-16)
Few-Shot Semantic SegmentationCOCO-20i (5-shot)Mean IoU54.5HMNet (VGG-16)
Few-Shot Semantic SegmentationPASCAL-5i (1-Shot)FB-IoU81.6HMNet (ResNet-50)
Few-Shot Semantic SegmentationPASCAL-5i (1-Shot)Mean IoU70.4HMNet (ResNet-50)
Few-Shot Semantic SegmentationPASCAL-5i (1-Shot)FB-IoU79.2HMNet (VGG-16)
Few-Shot Semantic SegmentationPASCAL-5i (1-Shot)Mean IoU67.3HMNet (VGG-16)
Few-Shot Semantic SegmentationCOCO-20i (1-shot)FB-IoU74.5HMNet (ResNet-50)
Few-Shot Semantic SegmentationCOCO-20i (1-shot)Mean IoU52.1HMNet (ResNet-50)
Few-Shot Semantic SegmentationCOCO-20i (1-shot)FB-IoU72.6HMNet (VGG-16)
Few-Shot Semantic SegmentationCOCO-20i (1-shot)Mean IoU49.1HMNet (VGG-16)
Few-Shot Semantic SegmentationPASCAL-5i (5-Shot)FB-IoU84.4HMNet (ResNet-50)
Few-Shot Semantic SegmentationPASCAL-5i (5-Shot)Mean IoU74.1HMNet (ResNet-50)
Few-Shot Semantic SegmentationPASCAL-5i (5-Shot)FB-IoU82.6HMNet (VGG-16)
Few-Shot Semantic SegmentationPASCAL-5i (5-Shot)Mean IoU71.1HMNet (VGG-16)
Meta-LearningCOCO-20i (5-shot)FB-IoU77.6HMNet (ResNet-50)
Meta-LearningCOCO-20i (5-shot)Mean IoU58.9HMNet (ResNet-50)
Meta-LearningCOCO-20i (5-shot)FB-IoU75.5HMNet (VGG-16)
Meta-LearningCOCO-20i (5-shot)Mean IoU54.5HMNet (VGG-16)
Meta-LearningPASCAL-5i (1-Shot)FB-IoU81.6HMNet (ResNet-50)
Meta-LearningPASCAL-5i (1-Shot)Mean IoU70.4HMNet (ResNet-50)
Meta-LearningPASCAL-5i (1-Shot)FB-IoU79.2HMNet (VGG-16)
Meta-LearningPASCAL-5i (1-Shot)Mean IoU67.3HMNet (VGG-16)
Meta-LearningCOCO-20i (1-shot)FB-IoU74.5HMNet (ResNet-50)
Meta-LearningCOCO-20i (1-shot)Mean IoU52.1HMNet (ResNet-50)
Meta-LearningCOCO-20i (1-shot)FB-IoU72.6HMNet (VGG-16)
Meta-LearningCOCO-20i (1-shot)Mean IoU49.1HMNet (VGG-16)
Meta-LearningPASCAL-5i (5-Shot)FB-IoU84.4HMNet (ResNet-50)
Meta-LearningPASCAL-5i (5-Shot)Mean IoU74.1HMNet (ResNet-50)
Meta-LearningPASCAL-5i (5-Shot)FB-IoU82.6HMNet (VGG-16)
Meta-LearningPASCAL-5i (5-Shot)Mean IoU71.1HMNet (VGG-16)

Related Papers

Adapter Naturally Serves as Decoupler for Cross-Domain Few-Shot Semantic Segmentation2025-06-09DINOv2-powered Few-Shot Semantic Segmentation: A Unified Framework via Cross-Model Distillation and 4D Correlation Mining2025-04-22FSSUWNet: Mitigating the Fragility of Pre-trained Models with Feature Enhancement for Few-Shot Semantic Segmentation in Underwater Images2025-04-01Exploring Few-Shot Defect Segmentation in General Industrial Scenarios with Metric Learning and Vision Foundation Models2025-02-03AdaSemSeg: An Adaptive Few-shot Semantic Segmentation of Seismic Facies2025-01-28Overcoming Support Dilution for Robust Few-shot Semantic Segmentation2025-01-23Few-shot Structure-Informed Machinery Part Segmentation with Foundation Models and Graph Neural Networks2025-01-17DSV-LFS: Unifying LLM-Driven Semantic Cues with Visual Features for Robust Few-Shot Segmentation2025-01-01