AlignSAM: Aligning Segment Anything Model to Open Context via Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Powered by massive curated training data, Segment Anything Model (SAM) has demonstrated its impressive generalization capabilities in open-world scenarios with the guidance of prompts. However, the vanilla SAM is class agnostic and heavily relies on user-provided prompts to segment objects of interest. Adapting this method to diverse tasks is crucial for accurate target identification and to avoid suboptimal segmentation results. In this paper, we propose a novel framework, termed AlignSAM, designed for automatic prompting for aligning SAM to an open context through reinforcement learning. Anchored by an agent, AlignSAM enables the generality of the SAM model across diverse downstream tasks while keeping its parameters frozen. Specifically, AlignSAM initiates a prompting agent to iteratively refine segmentation predictions by interacting with the foundational model. It integrates a reinforcement learning policy network to provide informative prompts to the foundational models. Additionally, a semantic recalibration module is introduced to provide fine-grained labels of prompts, enhancing the model's proficiency in handling tasks encompassing explicit and implicit semantics. Experiments conducted on various challenging segmentation tasks among existing foundation models demonstrate the superiority of the proposed AlignSAM over state-of-the-art approaches. Project page: urlhttps://github.com/Duojun-Huang/AlignSAM-CVPR2024.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 40 of its 71 references that are in the map. First posted on arXiv 1 Jun 2024.
Builds on
40 of 71 references.
References · 40
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Segment Anythingcited by 8,158
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
28 more
- 2022Visual Prompt Tuningcited by 1,674
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
- 2020Image Segmentation Using Deep Learning: A Surveycited by 659
- 2023Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentationcited by 485
- 2018Enhanced-alignment Measure for Binary Foreground Map Evaluationcited by 370
- 2014Recurrent Models of Visual Attentioncited by 344
- 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 317
- 2023Customized Segment Anything Model for Medical Image Segmentationcited by 277
- 2023Personalize Segment Anything Model with One Shotcited by 250
- 2019EGNet:Edge Guidance Network for Salient Object Detectioncited by 237
- 2020Multi-scale Interactive Network for Salient Object Detectioncited by 212
- 2023Matcher: Segment Anything with One Shot Using All-Purpose Feature Matchingcited by 142
- 2023SAM-CLIP: Merging Vision Foundation Models towards Semantic and Spatial Understandingcited by 111
- 2021Cross-Domain Adaptive Clustering for Semi-Supervised Domain Adaptationcited by 67
- 2020Reinforced active learning for image segmentationcited by 56
- 2021Enhanced Boundary Learning for Glass-like Object Segmentationcited by 48
- 2019Revisiting Shadow Detection: A New Benchmark Dataset for Complex Worldcited by 34
- 2017End-to-end Active Object Tracking via Reinforcement Learningcited by 27
- 2023RefSAM: Efficiently Adapting Segmenting Anything Model for Referring Video Object Segmentationcited by 24
- 2022Neighborhood Collective Estimation for Noisy Label Identification and Correctioncited by 22
- 2023Divide and Adapt: Active Domain Adaptation via Customized Learningcited by 13
- 2023FedDiv: Collaborative Noise Filtering for Federated Learning with Noisy Labelscited by 13
- 2022Progressive Glass Segmentationcited by 10
- 2024Inter-Domain Mixup for Semi-Supervised Domain Adaptationcited by 10
- 2024Adaptive Betweenness Clustering for Semi-Supervised Domain Adaptationcited by 9
- 2017Deep Reinforcement Learning for Visual Object Tracking in Videoscited by 8
- 2016Reinforcement Learning for Semantic Segmentation in Indoor Scenescited by 1
- 2020Gaussian RAM: Lightweight Image Classification via Stochastic Retina-Inspired Glimpse and Reinforcement Learningcited by 1
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 4.
8 papers.
- 2024SAM2-UNet: Segment Anything 2 Makes Strong Encoder for Natural and Medical Image Segmentationcited by 63
- 2024TP-DRSeg: Improving Diabetic Retinopathy Lesion Segmentation with Explicit Text-Prompts Assisted SAMcited by 13
- 2025SAM2-UNeXT: An Improved High-Resolution Baseline for Adapting Foundation Models to Downstream Segmentation Taskscited by 1
- 2026BALD-SAM: Disagreement-based Active Prompting in Interactive Segmentationcited by 1
- 2025Attack for Defense: Adversarial Agents for Point Prompt Optimization Empowering Segment Anything Modelcited by 0
- 2026Amped: Adaptive Multi-stage Non-edge Pruning for Edge Detectioncited by 0
- 2026What Pixels Are Enough? SEAMS: Sufficiency Saliency via MSE-Preservation Soft-Maskscited by 0
- 2026BOCCHI: A More Realistic and Challenging Benchmark for Local Motion Blur Detection with MSDCT-UNetcited by 0
- 2026BOCCHI: A More Realistic and Challenging Benchmark for Local Motion Blur Detection with MSDCT-UNet11 Jul 2026
- 2026What Pixels Are Enough? SEAMS: Sufficiency Saliency via MSE-Preservation Soft-Masks10 Jul 2026
- 2026Amped: Adaptive Multi-stage Non-edge Pruning for Edge Detection29 Mar 2026
- 2026BALD-SAM: Disagreement-based Active Prompting in Interactive Segmentation11 Mar 2026
- 2025Attack for Defense: Adversarial Agents for Point Prompt Optimization Empowering Segment Anything Model23 Sep 2025
- 2025SAM2-UNeXT: An Improved High-Resolution Baseline for Adapting Foundation Models to Downstream Segmentation Tasks5 Aug 2025
- 2024SAM2-UNet: Segment Anything 2 Makes Strong Encoder for Natural and Medical Image Segmentation16 Aug 2024
- 2024TP-DRSeg: Improving Diabetic Retinopathy Lesion Segmentation with Explicit Text-Prompts Assisted SAM22 Jun 2024