Fine-Tuning SAM for Forward-Looking Sonar With Collaborative Prompts and Embedding
The Segment Anything Model (SAM) represents a significant advancement in semantic segmentation, particularly for natural images, but encounters notable limitations when applied to forward-looking sonar (FLS) images. The primary challenges lie in the inherent boundary ambiguity of FLS images, which complicates the use of prompt strategies for accurate boundary delineation, and the lack of effective interaction between prompts and image features. In this letter, we introduce a collaborative prompting strategy to address these issues by generating dense prompt embeddings and sonar tokens that focus on contour and boundary features, thereby replacing the original dense prompt embedding and IoU token. To further enhance segmentation, we employ embedding compensation techniques based on Mamba and KAN, which increase boundary information to image embedings and improve the fusion of prompts within image embeddings. We conducted comprehensive experiments, including comparative analyses and ablation studies, to validate the superiority of our proposed approach. Results show that our method significantly improves segmentation performance for FLS images, effectively addressing boundary ambiguity and optimizing prompt utilization. The source code and dataset will be available on https://github.com/darkseid-arch/FLSSAM.
Authors
- Zhen Wang (ORCID: https://orcid.org/0000-0002-5765-0827)
- Nan Xu (ORCID: https://orcid.org/0000-0001-9912-2347)
- Zhu‐Hong You (ORCID: https://orcid.org/0000-0003-1266-2696)
- Jiayuan Li (ORCID: https://orcid.org/0009-0007-7241-5597)
Institutions
- Hohai University (CN)
- Northwestern Polytechnical University (CN)
Publication Details
- Journal
- IEEE Geoscience and Remote Sensing Letters
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/lgrs.2025.3562182
- Citations
- 2
- Primary Topic
- Embedded Systems Design Techniques
- Type
- article
- Field-Weighted Citation Impact
- 4.54
Funders
- National Natural Science Foundation of China
- Xi'an Municipal Bureau of Science and Technology
- China National Funds for Distinguished Young Scientists
- Postdoctoral Research Foundation of China