atlas

Research map / Detection and segmentation / Open-set and few-shot detection

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

NeurIPS 2025 · Detection and segmentation › Open-set and few-shot detection · approach: Few-shot segmentation · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Adapts a frozen SAM2 (Hiera-L) with lightweight AdaptFormer bottleneck adapters in its last two encoder stages, trained with a propagate-across-targets clip objective, to turn its memory-attention tracking into semantic few-shot segmentation and promptable FSS.

Problem

Few-shot segmentation requires matching semantically related objects across images and producing accurate masks; SAM2's features are tuned for instance tracking and perform poorly on high semantic-shift benchmarks.

Approach

Reinterpret SAM2's prompt-and-propagate memory mechanism as semantic tracking across a pseudo-video of reference and target images, and disentangle latent semantics in SAM2 features via small adapters trained with multi-target propagation where predicted targets become pseudo-references.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
adapt SAM2 with SANSA adaptersSAM2 Hiera-Large · LVIS-92ᶦ 1-shotmIoU: +13.6%Helped
adapt SAM2 with SANSA adaptersSAM2 Hiera-Large · COCO-20ᶦ 1-shotmIoU: +1.5%Helped
adapt SAM2 with SANSA adaptersSAM2 Hiera-Large · FSS-1000 1-shotmIoU: +3.4%Helped
adapt SAM2 with SANSA adaptersSAM2 Hiera-Large · COCO-20ᶦ 5-shotmIoU: -2.5%Hurt
replace SAM2 adapters with full fine-tuning (ablation)SAM2 on COCO-20ᶦ · COCO-20ᶦmIoU: 60.2 -> 51.6Hurt
replace SAM2 adapters with decoder fine-tuning (ablation)SAM2 on COCO-20ᶦ · COCO-20ᶦmIoU: 60.2 -> 52.1Hurt
replace AdaptFormer with MONA (ablation)SAM2 on COCO-20ᶦ · COCO-20ᶦmIoU: 60.2 -> 56.9Hurt
increase AdaptFormer bottleneck to 0.8× channel dimension (ablation)SAM2 on COCO-20ᶦ · COCO-20ᶦmIoU: 60.2 -> 58.2Hurt
place adapters in stages 0–1 instead of the last two stages (ablation)SAM2 on COCO-20ᶦ · COCO-20ᶦmIoU: 60.2 -> 38.7Hurt
add sequential propagation during training, using J=3 rather than J=1 (ablation)SANSA · COCO-20ᶦ 1-shotmIoU: 57.0 -> 60.2Helped
increase training sequence length from J=3 to J=4 (ablation)SANSA · COCO-20ᶦ 1-shotmIoU: 60.2 -> 59.8Hurt
increase training sequence length from J=3 to J=4 (ablation)SANSA · LVIS-92ᶦ 1-shotmIoU: 49.6 -> 49.6No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: COCO-20i FSS-1000 LVIS-92i PASCAL-Part PACO-Part ADE20K PACO

Benchmarks: LVIS-92i COCO-20i FSS-1000 PASCAL-Part PACO-Part

Metrics: mIoU

Baselines: SAM 2 PerSAM Matcher GF-SAM AMFormer HMNet VRP-SAM SegIC DiffewS SegGPT SINE Painter

Builds on: SAM2 AdaptFormer Matcher GF-SAM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy