MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement
Not on the map. Why?
Abstract (arXiv)
This paper investigates how to leverage the powerful capabilities of the Segment Anything Model 2 (SAM2) to tackle few-shot segmentation (FSS) tasks. One major challenge lies in the substantial appearance differences between the support and query images, which may diminish the effectiveness of the memory-matching process in SAM2. Through systematic analysis, we find that the memory generated based on the categorical semantic information is robust to this appearance divergence and is more compatible with SAM2. Based on these observations, we propose a new Memory-Enhanced SAM2 (MESAM) method, which first introduces a Semantic-Visual Memory Generation (SVMG) module to separately construct a query semantic memory, a query foreground visual memory, and a support adaptive visual memory. Then, in our designed Interactive Semantic Memory Refinement (ISMR) module, we further enrich the obtained semantic memory with fine-grained visual details, and suppress its misatcivated background responses. Extensive experiments on the PASCAL-5i, COCO-20i, and LVIS-92i datasets demonstrate that MESAM consistently outperforms existing FSS methods, achieving new state-of-the-art segmentation performance. Our source code is available at: hrefhttps://github.com/tianyu-zou/MESAMhttps://github.com/tianyu-zou/MESAM.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 30 of its 48 references that are in the map. Submitted 6 Nov 2026.
Builds on
30 of 48 references.
References · 30
- 2014Microsoft COCO: Common Objects in Contextcited by 18,045
- 2023Segment Anythingcited by 8,603
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,888
- 2024SAM 2: Segment Anything in Images and Videoscited by 3,200
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,453
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,260
- 2023Segment Everything Everywhere All at Oncecited by 566
- 2017One-Shot Learning for Semantic Segmentationcited by 349
- 2023A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondencecited by 315
- 2020Prior Guided Feature Enrichment Network for Few-Shot Segmentationcited by 276
- 2021Adaptive Prototype Learning and Allocation for Few-Shot Segmentationcited by 209
- 2021Hypercorrelation Squeeze for Few-Shot Segmentationcited by 197
18 more
- 2020Prototype Mixture Models for Few-shot Semantic Segmentationcited by 192
- 2018SG-One: Similarity Guidance Network for One-Shot Semantic Segmentationcited by 170
- 2023Matcher: Segment Anything with One Shot Using All-Purpose Feature Matchingcited by 160
- 2021Few-Shot Segmentation via Cycle-Consistent Transformercited by 135
- 2021Self-Guided and Cross-Guided Learning for Few-Shot Segmentationcited by 94
- 2023Telling Left from Right: Identifying Geometry-Aware Semantic Correspondencecited by 94
- 2024VRP-SAM: SAM with Visual Reference Promptcited by 79
- 2024Bridge the Points: Graph-based Few-shot Segment Anything Semanticallycited by 45
- 2022Dynamic Prototype Convolution Network for Few-Shot Semantic Segmentationcited by 44
- 2024A Simple Image Segmentation Framework via In-Context Examplescited by 27
- 2023SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentationcited by 25
- 2016Fully Convolutional Networks for Semantic Segmentationcited by 16
- 2025SANSA: Unleashing the Hidden Semantics in SAM2 for Few-Shot Segmentationcited by 12
- 2024RevSAM2: Prompt SAM2 for Medical Image Segmentation via Reverse-Propagation without Fine-tuningcited by 8
- 2025Rethinking Few-Shot Medical Image Segmentation by SAM2: A Training-Free Framework with Augmentative Prompting and Dynamic Matchingcited by 5
- 2024High-Performance Few-Shot Segmentation with Foundation Models: An Empirical Studycited by 4
- 2025ProSAM: Enhancing the Robustness of SAM-based Visual Reference Segmentation with Probabilistic Promptscited by 4
- 2025Correspondence as Video: Test-Time Adaption on SAM2 for Reference Segmentation in the Wildcited by 1
Built on by
Not cited yet.