MapSAM: Adapting Segment Anything Model for Automated Feature Detection in Historical Maps
Not on the map. Why?
Abstract (arXiv)
Automated feature detection in historical maps can significantly accelerate the reconstruction of the geospatial past. However, this process is often constrained by the time-consuming task of manually digitizing sufficient high-quality training data. The emergence of visual foundation models, such as the Segment Anything Model (SAM), offers a promising solution due to their remarkable generalization capabilities and rapid adaptation to new data distributions. Despite this, directly applying SAM in a zero-shot manner to historical map segmentation poses significant challenges, including poor recognition of certain geospatial features and a reliance on input prompts, which limits its ability to be fully automated. To address these challenges, we introduce MapSAM, a parameter-efficient fine-tuning strategy that adapts SAM into a prompt-free and versatile solution for various downstream historical map segmentation tasks. Specifically, we employ Weight-Decomposed Low-Rank Adaptation (DoRA) to integrate domain-specific knowledge into the image encoder. Additionally, we develop an automatic prompt generation process, eliminating the need for manual input. We further enhance the positional prompt in SAM, transforming it into a higher-level positional-semantic prompt, and modify the cross-attention mechanism in the mask decoder with masked attention for more effective feature aggregation. The proposed MapSAM framework demonstrates promising performance across two distinct historical map segmentation tasks: one focused on linear features and the other on areal features. Experimental results show that it adapts well to various features, even when fine-tuned with extremely limited data (e.g. 10 shots).
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 30 of its 48 references that are in the map. First posted on arXiv 11 Nov 2024.
Builds on
30 of 48 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Segment Anythingcited by 8,234
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2016Layer Normalizationcited by 5,669
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,351
18 more
- 2020Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domainscited by 2,200
- 2022Visual Prompt Tuningcited by 1,681
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
- 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 758
- 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 620
- 2022Vision Transformer Adapter for Dense Predictionscited by 565
- 2023Segment Everything Everywhere All at Oncecited by 548
- 2022Images Speak in Images: A Generalist Painter for In-Context Visual Learningcited by 318
- 2023Customized Segment Anything Model for Medical Image Segmentationcited by 280
- 2023Personalize Segment Anything Model with One Shotcited by 250
- 2023RSPrompter: Learning to Prompt for Remote Sensing Instance Segmentation based on Visual Foundation Modelcited by 181
- 2021Fast Convergence of DETR with Spatially Modulated Co-Attentioncited by 176
- 2020Rethinking Transformer-based Set Prediction for Object Detectioncited by 156
- 2022Head2Toe: Utilizing Intermediate Representations for Better Transfer Learningcited by 83
- 2023Self-Prompting Large Vision Models for Few-Shot Medical Image Segmentationcited by 35
- 2024Low-resource finetuning of foundation models beats state-of-the-art in histopathologycited by 11
- 2021ICDAR 2021 Competition on Historical Map Segmentationcited by 5
- 2024SamLP: A Customized Segment Anything Model for License Plate Detectioncited by 3
Built on by
Citing papers per year: 2025: 4; 2026: 3.
7 papers.
- 2025Few-Shot Segmentation of Historical Maps via Linear Probing of Vision Foundation Modelscited by 3
- 2025DIGMAPPER: A Modular System for Automated Geologic Map Digitizationcited by 2
- 2025MapSAM2: Adapting SAM2 for Automatic Segmentation of Historical Map Images and Time Seriescited by 1
- 2025Automatic Uncertainty-Aware Synthetic Data Bootstrapping for Historical Map Segmentationcited by 0
- 2026Generalizable Multiscale Segmentation of Heterogeneous Map Collectionscited by 0
- 2026Zero-Shot SAM2 Segmentation and Vision Transformer-Based Recognition of Elamite Cuneiform Symbols from Degraded Tablet Imagescited by 0
- 2026Automated Detection and Encoding of Cartographic Signs in Historical Mapscited by 0
- 2026Automated Detection and Encoding of Cartographic Signs in Historical Maps9 Oct 2026
- 2026Zero-Shot SAM2 Segmentation and Vision Transformer-Based Recognition of Elamite Cuneiform Symbols from Degraded Tablet Images19 Aug 2026
- 2026Generalizable Multiscale Segmentation of Heterogeneous Map Collections5 Mar 2026
- 2025Automatic Uncertainty-Aware Synthetic Data Bootstrapping for Historical Map Segmentation19 Nov 2025
- 2025MapSAM2: Adapting SAM2 for Automatic Segmentation of Historical Map Images and Time Series31 Oct 2025
- 2025Few-Shot Segmentation of Historical Maps via Linear Probing of Vision Foundation Models27 Jun 2025
- 2025DIGMAPPER: A Modular System for Automated Geologic Map Digitization19 Jun 2025