Hybrid Mamba for Few-Shot Segmentation
Qianxiong Xu, Xuanyi Liu, Lanyun Zhu, Guosheng Lin, Cheng Long, Ziyue Li, Rui Zhao
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 367a68ac-ded5-4e47-b3e1-8a93c8a95d46Cited by top-tier papers13
- KITS: Inductive Spatio-Temporal Kriging with Increment Training StrategyQianxiong Xu, Cheng Long, Ziyue Li, Sijie Ruan et al.AAAI 2025 · 19 citations
- Foreground-Covering Prototype Generation and Matching for SAM-Aided Few-Shot SegmentationSuho Park, SuBeen Lee, Hyun Seok Seong, Jaejoon Yoo et al.AAAI 2025 · 9 citations
- SANSA: Unleashing the Hidden Semantics in SAM2 for Few-Shot SegmentationClaudia Cuttano, Gabriele Trivigno, Giuseppe Averta, Carlo MasoneNeurIPS 2025 · 9 citations
- Balancing Conservatism and Aggressiveness: Prototype-Affinity Hybrid Network for Few-Shot SegmentationTianyu Zou, Shengwu Xiong, Ruilin Yao, Yi RongICCV 2025 · 5 citations
- Object-Level Correlation for Few-Shot SegmentationChunlin Wen, Yu Zhang, Jie Fan, Hongyuan Zhu et al.ICCV 2025 · 5 citations
Builds on33
- Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan et al.ICCV 2021 · 4,909 citations
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
- VMamba: Visual State Space ModelYue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu et al.NeurIPS 2024 · 3,199 citations
- Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang et al.ICML 2024 · 1,725 citations
- PANet: Few-Shot Image Semantic Segmentation With Prototype AlignmentKaixin Wang, Jun Hao Liew, Yingtian Zou, Daquan Zhou et al.ICCV 2019 · 1,404 citations
Related papers
- Suppressing the Heterogeneity: A Strong Feature Extractor for Few-shot SegmentationZhengdong Hu, Yifan Sun, Yi YangICLR 2023
- Few-Shot Semantic Segmentation with Cyclic Memory NetworkGuo-Sen Xie, Huan Xiong, Jie Liu, Yazhou Yao et al.ICCV 2021 · 70 citations
- Self-Calibrated Cross Attention Network for Few-Shot SegmentationQianxiong Xu, Wenting Zhao, Guosheng Lin, Cheng LongICCV 2023 · 76 citations
- Bidirectional Reciprocative Information Communication for Few-Shot Semantic SegmentationYuanwei Liu, Junwei Han, Xiwen Yao, Salman Khan et al.ICML 2024 · 6 citations
- Hypercorrelation Squeeze for Few-Shot SegmenationJuhong Min, Dahyun Kang, Minsu ChoICCV 2021 · 413 citations
