UrbanSAM: Learning Invariance-Inspired Adapters for Segment Anything Models in Urban Construction

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Chenyu, Hong, Danfeng, Zhang, Bing, Li, Yuxuan, Camps-Valls, Gustau, Zhu, Xiao Xiang, Chanussot, Jocelyn
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917931972034560
author Li, Chenyu
Hong, Danfeng
Zhang, Bing
Li, Yuxuan
Camps-Valls, Gustau
Zhu, Xiao Xiang
Chanussot, Jocelyn
author_facet Li, Chenyu
Hong, Danfeng
Zhang, Bing
Li, Yuxuan
Camps-Valls, Gustau
Zhu, Xiao Xiang
Chanussot, Jocelyn
contents Object extraction and segmentation from remote sensing (RS) images is a critical yet challenging task in urban environment monitoring. Urban morphology is inherently complex, with irregular objects of diverse shapes and varying scales. These challenges are amplified by heterogeneity and scale disparities across RS data sources, including sensors, platforms, and modalities, making accurate object segmentation particularly demanding. While the Segment Anything Model (SAM) has shown significant potential in segmenting complex scenes, its performance in handling form-varying objects remains limited due to manual-interactive prompting. To this end, we propose UrbanSAM, a customized version of SAM specifically designed to analyze complex urban environments while tackling scaling effects from remotely sensed observations. Inspired by multi-resolution analysis (MRA) theory, UrbanSAM incorporates a novel learnable prompter equipped with a Uscaling-Adapter that adheres to the invariance criterion, enabling the model to capture multiscale contextual information of objects and adapt to arbitrary scale variations with theoretical guarantees. Furthermore, features from the Uscaling-Adapter and the trunk encoder are aligned through a masked cross-attention operation, allowing the trunk encoder to inherit the adapter's multiscale aggregation capability. This synergy enhances the segmentation performance, resulting in more powerful and accurate outputs, supported by the learned adapter. Extensive experimental results demonstrate the flexibility and superior segmentation performance of the proposed UrbanSAM on a global-scale dataset, encompassing scale-varying urban objects such as buildings, roads, and water.
format Preprint
id arxiv_https___arxiv_org_abs_2502_15199
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle UrbanSAM: Learning Invariance-Inspired Adapters for Segment Anything Models in Urban Construction
Li, Chenyu
Hong, Danfeng
Zhang, Bing
Li, Yuxuan
Camps-Valls, Gustau
Zhu, Xiao Xiang
Chanussot, Jocelyn
Computer Vision and Pattern Recognition
Object extraction and segmentation from remote sensing (RS) images is a critical yet challenging task in urban environment monitoring. Urban morphology is inherently complex, with irregular objects of diverse shapes and varying scales. These challenges are amplified by heterogeneity and scale disparities across RS data sources, including sensors, platforms, and modalities, making accurate object segmentation particularly demanding. While the Segment Anything Model (SAM) has shown significant potential in segmenting complex scenes, its performance in handling form-varying objects remains limited due to manual-interactive prompting. To this end, we propose UrbanSAM, a customized version of SAM specifically designed to analyze complex urban environments while tackling scaling effects from remotely sensed observations. Inspired by multi-resolution analysis (MRA) theory, UrbanSAM incorporates a novel learnable prompter equipped with a Uscaling-Adapter that adheres to the invariance criterion, enabling the model to capture multiscale contextual information of objects and adapt to arbitrary scale variations with theoretical guarantees. Furthermore, features from the Uscaling-Adapter and the trunk encoder are aligned through a masked cross-attention operation, allowing the trunk encoder to inherit the adapter's multiscale aggregation capability. This synergy enhances the segmentation performance, resulting in more powerful and accurate outputs, supported by the learned adapter. Extensive experimental results demonstrate the flexibility and superior segmentation performance of the proposed UrbanSAM on a global-scale dataset, encompassing scale-varying urban objects such as buildings, roads, and water.
title UrbanSAM: Learning Invariance-Inspired Adapters for Segment Anything Models in Urban Construction
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2502.15199