mlsanityData to 7 Oct 2026

SANSA: Unleashing the Hidden Semantics in SAM2 for Few-Shot Segmentation

arXiv 2505.21795 ↗First posted 27 May 2025cs.CVcited by 8

Not on the map. Why?

Abstract (arXiv)

Few-shot segmentation aims to segment unseen object categories from just a handful of annotated examples. This requires mechanisms that can both identify semantically related objects across images and accurately produce segmentation masks. We note that Segment Anything 2 (SAM2), with its prompt-and-propagate mechanism, offers both strong segmentation capabilities and a built-in feature matching process. However, we show that its representations are entangled with task-specific cues optimized for object tracking, which impairs its use for tasks requiring higher level semantic understanding. Our key insight is that, despite its class-agnostic pretraining, SAM2 already encodes rich semantic structure in its features. We propose SANSA (Semantically AligNed Segment Anything 2), a framework that makes this latent structure explicit, and repurposes SAM2 for few-shot segmentation through minimal task-specific modifications. SANSA achieves state-of-the-art performance on few-shot segmentation benchmarks specifically designed to assess generalization, outperforms generalist methods in the popular in-context setting, supports various prompts flexible interaction via points, boxes, or scribbles, and remains significantly faster and more compact than prior approaches. Code is available at https://github.com/ClaudiaCuttano/SANSA.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 79 of its 95 references that are in the map. First posted on arXiv 27 May 2025.

Builds on

79 of 95 references.

References · 79

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2023Segment Anythingcited by 8,158
  6. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  7. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  8. 2017Mask R-CNNcited by 7,259
  9. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  10. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  11. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  12. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
38 more
  1. 2024SAM 2: Segment Anything in Images and Videoscited by 2,784
  2. 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
  3. 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
  4. 2016Matching Networks for One Shot Learningcited by 2,246
  5. 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,215
  6. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
  7. 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,013
  8. 2018Panoptic Segmentationcited by 796
  9. 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 714
  10. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
  11. 2019Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)cited by 657
  12. 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
  13. 2023Segment Everything Everywhere All at Oncecited by 546
  14. 2018Meta-Learning with Latent Embedding Optimizationcited by 476
  15. 2019PANet: Few-Shot Image Semantic Segmentation with Prototype Alignmentcited by 449
  16. 2023Emergent Correspondence from Image Diffusioncited by 437
  17. 2018Measuring the Intrinsic Dimension of Objective Landscapescited by 364
  18. 2017One-Shot Learning for Semantic Segmentationcited by 337
  19. 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 317
  20. 2023A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondencecited by 297
  21. 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 287
  22. 2023Personalize Segment Anything Model with One Shotcited by 250
  23. 2014Detect What You Can: Detecting and Representing Objects using Holistic Models and Body Partscited by 230
  24. 2021Associating Objects with Transformers for Video Object Segmentationcited by 225
  25. 2022Splicing ViT Features for Semantic Appearance Transfercited by 209
  26. 2021Adaptive Prototype Learning and Allocation for Few-Shot Segmentationcited by 207
  27. 2021Hypercorrelation Squeeze for Few-Shot Segmentationcited by 193
  28. 2019Feature Weighting and Boosting for Few-Shot Segmentationcited by 189
  29. 2021Efficient Visual Pretraining with Contrastive Detectioncited by 150
  30. 2021On the Effectiveness of Adapter-based Tuning for Pretrained Language Model Adaptationcited by 147
  31. 2022Decoupling Features in Hierarchical Propagation for Video Object Segmentationcited by 146
  32. 2023PACO: Parts and Attributes of Common Objectscited by 146
  33. 2023Matcher: Segment Anything with One Shot Using All-Purpose Feature Matchingcited by 142
  34. 2020Few-Shot Segmentation Without Meta-Learning: A Good Transductive Inference Is All You Need?cited by 135
  35. 2021Few-Shot Segmentation via Cycle-Consistent Transformercited by 133
  36. 2022Learning What Not to Segment: A New Perspective on Few-Shot Segmentationcited by 120
  37. 2022VICRegL: Self-Supervised Learning of Local Visual Featurescited by 118
  38. 2022Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentationcited by 114

50 most cited of 79 All 79 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 8.

8 papers.