PointSAM: Pointly-Supervised Segment Anything Model for Remote Sensing Images
Nanqing Liu, Xun Xu, Yongyi Su, Haojie Zhang, Heng-Chao Li
TL;DR
PointSAM addresses the domain gap between remote sensing and natural images by fine-tuning SAM with only point annotations through a self-training framework. It introduces Prototype-based Regularization (PBR) to align target and predicted prototypes via Hungarian matching, and Negative Prompt Calibration (NPC) to refine masks in densely packed RSI scenes; these components are supported by offline FINCH-based prototype generation, a FIFO memory bank for online prototypes, and LoRA-based encoder fine-tuning. The approach yields consistent, state-of-the-art gains across NWPU VHR-10, WHU, and HRSID-inshore datasets, significantly narrowing the gap to fully supervised methods and even enabling a point-to-box pathway for rotated-object detection. The results demonstrate the practical viability of point-based supervision for RSI segmentation and suggest broader applicability to other point-supervised tasks.
Abstract
Segment Anything Model (SAM) is an advanced foundational model for image segmentation, which is gradually being applied to remote sensing images (RSIs). Due to the domain gap between RSIs and natural images, traditional methods typically use SAM as a source pre-trained model and fine-tune it with fully supervised masks. Unlike these methods, our work focuses on fine-tuning SAM using more convenient and challenging point annotations. Leveraging SAM's zero-shot capabilities, we adopt a self-training framework that iteratively generates pseudo-labels for training. However, if the pseudo-labels contain noisy labels, there is a risk of error accumulation. To address this issue, we extract target prototypes from the target dataset and use the Hungarian algorithm to match them with prediction prototypes, preventing the model from learning in the wrong direction. Additionally, due to the complex backgrounds and dense distribution of objects in RSI, using point prompts may result in multiple objects being recognized as one. To solve this problem, we propose a negative prompt calibration method based on the non-overlapping nature of instance masks. In brief, we use the prompts of overlapping masks as corresponding negative signals, resulting in refined masks. Combining the above methods, we propose a novel Pointly-supervised Segment Anything Model named PointSAM. We conduct experiments on RSI datasets, including WHU, HRSID, and NWPU VHR-10, and the results show that our method significantly outperforms direct testing with SAM, SAM2, and other comparison methods. Furthermore, we introduce PointSAM as a point-to-box converter and achieve encouraging results, suggesting that this method can be extended to other point-supervised tasks. The code is available at https://github.com/Lans1ng/PointSAM.
