atlas

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

AlignSAM: Aligning Segment Anything Model to Open Context via Reinforcement Learning

CVPR 2024 · Detection and segmentation › Open-set and few-shot detection · approach: Interactive and referring segmentation · 32 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.

Proposes AlignSAM, which keeps SAM frozen and trains a PPO-based RL prompting agent plus a semantic recalibration module (CLIP-Surgery text attention or visual-similarity branch) to automatically generate point prompts for adapting SAM to blur, shadow, glass, saliency, and semantic segmentation.

Problem

SAM is class-agnostic and depends on manual prompts, so adapting it to diverse downstream segmentation tasks (explicit and implicit semantics) without costly fine-tuning or gradient access is hard.

Approach

Formulate automatic point prompting as a sequential decision process: an actor-critic PPO agent selects patch-center points iteratively (reward +1/-1 for foreground/background), with a semantic recalibration module that labels prompts using CLIP-Surgery text attention (explicit tasks) or a learned visual branch (implicit tasks), while SAM stays frozen.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use AlignSAM instead of the strongest reported baselineSAM on CUHK blur detection · CUHKmIoU: 55.44 -> 68.47Helped
use AlignSAM instead of the strongest reported baselineSAM on SBU shadow detection · SBUmIoU: 19.52 -> 30.78Helped
use AlignSAM instead of the strongest reported baselineSAM on MSD glass detection · MSDmIoU: 41.35 -> 45.44Helped
use AlignSAM instead of the strongest reported baselineSAM on DUTS saliency detection · DUTSMAE: 0.104 -> 0.082Helped
use AlignSAM instead of the strongest reported baselineSAM on PASCAL VOC 2012 · PASCAL VOC 2012mIoU: 59.27 -> 62.09Helped
add reinforcement learning (ablation)AlignSAM on CUHK · CUHKmIoU: 59.75 -> 68.47Helped
add reinforcement learning (ablation)AlignSAM on SBU · SBUmIoU: 25.62 -> 30.78Helped
add reinforcement learning (ablation)AlignSAM on MSD · MSDmIoU: 33.41 -> 45.44Helped
add semantic recalibration module (ablation)AlignSAM on CUHK · CUHKmIoU: 66.89 -> 68.47Helped
add semantic recalibration module (ablation)AlignSAM on SBU · SBUmIoU: 21.29 -> 30.78Helped
add semantic recalibration module (ablation)AlignSAM on PASCAL VOC 2012 · PASCAL VOC 2012mIoU: 27.73 -> 62.09Helped
add multi-step interaction (ablation)AlignSAM on CUHK · CUHKmIoU: 46.92 -> 68.47Helped

Surprising findings

Limitations

Experimental setup

Datasets: CUHK SBU MSD DUTS PASCAL VOC 2012

Benchmarks: CUHK SBU MSD DUTS PASCAL VOC 2012

Metrics: mIoU F-measure BER E-measure MAE

Baselines: SAMed SEEM Painter PerSAM MSA

Builds on: Segment Anything Model PPO CLIP-Surgery PerSAM

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