mlsanityData to 14 Oct 2026

FS-SAM2: Adapting Segment Anything Model 2 for Few-Shot Semantic Segmentation via Low-Rank Adaptation

arXiv 2509.12105 ↗First posted 15 Sep 2025cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Few-shot semantic segmentation has recently attracted great attention. The goal is to develop a model capable of segmenting unseen classes using only a few annotated samples. Most existing approaches adapt a pre-trained model by training from scratch an additional module. Achieving optimal performance with these approaches requires extensive training on large-scale datasets. The Segment Anything Model 2 (SAM2) is a foundational model for zero-shot image and video segmentation with a modular design. In this paper, we propose a Few-Shot segmentation method based on SAM2 (FS-SAM2), where SAM2's video capabilities are directly repurposed for the few-shot task. Moreover, we apply a Low-Rank Adaptation (LoRA) to the original modules in order to handle the diverse images typically found in standard datasets, unlike the temporally connected frames used in SAM2's pre-training. With this approach, only a small number of parameters is meta-trained, which effectively adapts SAM2 while benefiting from its impressive segmentation performance. Our method supports any K-shot configuration. We evaluate FS-SAM2 on the PASCAL-5i, COCO-20i and FSS-1000 datasets, achieving remarkable results and demonstrating excellent computational efficiency during inference. Code is available at https://github.com/fornib/FS-SAM2

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 29 of its 35 references that are in the map. First posted on arXiv 15 Sep 2025.

Builds on

29 of 35 references.

References · 29

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  4. 2023Segment Anythingcited by 8,234
  5. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  6. 2024SAM 2: Segment Anything in Images and Videoscited by 2,863
  7. 2019PANet: Few-Shot Image Semantic Segmentation with Prototype Alignmentcited by 449
  8. 2017One-Shot Learning for Semantic Segmentationcited by 337
  9. 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 290
  10. 2020Prior Guided Feature Enrichment Network for Few-Shot Segmentationcited by 271
  11. 2021Hypercorrelation Squeeze for Few-Shot Segmentationcited by 193
  12. 2019Feature Weighting and Boosting for Few-Shot Segmentationcited by 189
17 more
  1. 2019FSS-1000: A 1000-Class Dataset for Few-Shot Segmentationcited by 160
  2. 2024Medical SAM 2: Segment medical images as video via Segment Anything Model 2cited by 154
  3. 2023Matcher: Segment Anything with One Shot Using All-Purpose Feature Matchingcited by 142
  4. 2021Few-Shot Segmentation via Cycle-Consistent Transformercited by 133
  5. 2022Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentationcited by 114
  6. 2024Low-Rank Few-Shot Adaptation of Vision-Language Modelscited by 104
  7. 2023Hierarchical Dense Correlation Distillation for Few-Shot Segmentationcited by 84
  8. 2024VRP-SAM: SAM with Visual Reference Promptcited by 75
  9. 2022Dense Cross-Query-and-Support Attention Weighted Mask Aggregation for Few-Shot Segmentationcited by 65
  10. 2022Feature-Proxy Transformer for Few-Shot Segmentationcited by 58
  11. 2022Singular Value Fine-tuning: Few-shot Segmentation requires Few-parameters Fine-tuningcited by 50
  12. 2024Bridge the Points: Graph-based Few-shot Segment Anything Semanticallycited by 35
  13. 2023Self-Calibrated Cross Attention Network for Few-Shot Segmentationcited by 32
  14. 2023Semantic Image Segmentation: Two Decades of Researchcited by 27
  15. 2024A Novel Benchmark for Few-Shot Semantic Segmentation in the Era of Foundation Modelscited by 13
  16. 2024RevSAM2: Prompt SAM2 for Medical Image Segmentation via Reverse-Propagation without Fine-tuningcited by 7
  17. 2024MSDNet: Multi-Scale Decoder for Few-Shot Semantic Segmentation via Transformer-Guided Prototypingcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.