DenseSAM: Semantic Enhance SAM for Efficient Dense Object Segmentation
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 7994-8002.
https://doi.org/10.24963/ijcai.2025/889
Keywords
- Computer Vision: CV: Segmentation, grouping and shape analysis
- Computer Vision: CV: Recognition (object detection, categorization)
- Computer Vision: CV: Scene analysis and understanding
- Multidisciplinary Topics and Applications: MTA: Health and medicine
Abstract
Dense object segmentation is essential for various applications, particularly in pathology image and remote sensing image analysis. However, distinguishing numerous similar and densely packed objects in this task presents significant challenges. Several methods, including CNN- and ViT-based approaches, have been proposed to tackle these issues. Yet, models trained on limited datasets exhibit limited generalization ability. The Segment Anything Model (SAM) has recently achieved significant progress in zero-shot segmentation but relies heavily on precise positional guidance. However, providing numerous accurate location prompts in dense scenarios is time-consuming. To overcome this limitation, we conducted an in-depth exploration of the SAM mechanism and found that its strong generalization ability stems from the encoder’s edge detection capability, which is semantically independent, making location prompts essential for segmentation. This insight inspired the development of DenseSAM, which replaces location prompts with semantic guidance for automatic segmentation in dense scenarios. Specifically, it uses local details to weaken the edges of background objects, leverages global context to enhance intra-class feature similarity, while further increasing contrast with the background, and integrates a dual-head decoding process to enable lightweight automatic semantic segmentation. Extensive experiments on pathology images demonstrate that DenseSAM delivers remarkable performance with minimal training parameters, providing a cost-effective and efficient solution. Moreover, experiments on remote sensing images further validate its excellent scalability, making DenseSAM suitable for various dense object segmentation domains. The code is available at https://github.com/imAzhou/DenseSAM.
@inproceedings{ijcai2025p889,
title = {DenseSAM: Semantic Enhance SAM for Efficient Dense Object Segmentation},
author = {Zhou, Linyun and Hu, Jiacong and Zhang, Shengxuming and Du, Xiangtong and Song, Mingli and Zhang, Xiuming and Feng, Zunlei},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {7994--8002},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/889},
url = {https://doi.org/10.24963/ijcai.2025/889},
}
TY - CPAPER TI - DenseSAM: Semantic Enhance SAM for Efficient Dense Object Segmentation AU - Zhou, Linyun AU - Hu, Jiacong AU - Zhang, Shengxuming AU - Du, Xiangtong AU - Song, Mingli AU - Zhang, Xiuming AU - Feng, Zunlei T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 7994 EP - 8002 DO - 10.24963/ijcai.2025/889 UR - https://doi.org/10.24963/ijcai.2025/889 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: