Yunshuang Yuan, Frank Thiemann, Thorsten Dahms, Monika Sester
{"title":"SMOL-MapSeg: Segmenting historical maps by legend-oriented prompting","authors":"Yunshuang Yuan, Frank Thiemann, Thorsten Dahms, Monika Sester","doi":"10.1016/j.ophoto.2026.100138","DOIUrl":null,"url":null,"abstract":"<div><div>Historical maps offer valuable insights into Earth’s surface changes but pose challenges for modern segmentation models due to inconsistent visual styles and symbols. While deep learning models like UNet and pre-trained foundation models perform well in domains such as autonomous driving and medical imaging, they struggle with the variability of historical maps, where similar concepts appear in diverse forms. To overcome this, we propose legend-oriented prompting, which provides an explicit image–label pair to guide models in identifying the target visual patterns shown in the prompt. This allows users to define and segment target patterns on demand, enabling flexible legend-based segmentation that mimics human map reading. Our approach replaces the prompt encoder of the Segment Anything Model (SAM) with the newly proposed prompting mechanism and fine-tunes it on historical maps, creating the SMOL-MapSeg (Show Me One Label<span><span><sup>1</sup></span></span>) model. Unlike existing SAM-based fine-tuning methods that are class-agnostic or limited to fixed classes, SMOL-MapSeg is able to segment any target class across arbitrary datasets according to the class patterns defined by the prompt. Experiments show that a single SMOL-MapSeg model can accurately segment different classes, significantly outperforming baseline models. Moreover, it demonstrates strong generalization, even with limited training data, highlighting its potential for scalable and adaptable historical map analysis.</div></div>","PeriodicalId":100730,"journal":{"name":"ISPRS Open Journal of Photogrammetry and Remote Sensing","volume":"21 ","pages":"Article 100138"},"PeriodicalIF":7.0000,"publicationDate":"2026-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ISPRS Open Journal of Photogrammetry and Remote Sensing","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2667393226000244","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/8/11 0:00:00","PubModel":"Epub","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Historical maps offer valuable insights into Earth’s surface changes but pose challenges for modern segmentation models due to inconsistent visual styles and symbols. While deep learning models like UNet and pre-trained foundation models perform well in domains such as autonomous driving and medical imaging, they struggle with the variability of historical maps, where similar concepts appear in diverse forms. To overcome this, we propose legend-oriented prompting, which provides an explicit image–label pair to guide models in identifying the target visual patterns shown in the prompt. This allows users to define and segment target patterns on demand, enabling flexible legend-based segmentation that mimics human map reading. Our approach replaces the prompt encoder of the Segment Anything Model (SAM) with the newly proposed prompting mechanism and fine-tunes it on historical maps, creating the SMOL-MapSeg (Show Me One Label1) model. Unlike existing SAM-based fine-tuning methods that are class-agnostic or limited to fixed classes, SMOL-MapSeg is able to segment any target class across arbitrary datasets according to the class patterns defined by the prompt. Experiments show that a single SMOL-MapSeg model can accurately segment different classes, significantly outperforming baseline models. Moreover, it demonstrates strong generalization, even with limited training data, highlighting its potential for scalable and adaptable historical map analysis.
历史地图提供了对地球表面变化的宝贵见解,但由于视觉风格和符号不一致,对现代分割模型提出了挑战。虽然像UNet这样的深度学习模型和预训练的基础模型在自动驾驶和医学成像等领域表现良好,但它们难以应对历史地图的可变性,在历史地图中,类似的概念以不同的形式出现。为了克服这个问题,我们提出了面向图例的提示,它提供了一个显式的图像标签对来指导模型识别提示中显示的目标视觉模式。这允许用户根据需要定义和分割目标模式,实现灵活的基于图例的分割,模仿人类的地图阅读。我们的方法用新提出的提示机制取代了片段任意模型(SAM)的提示编码器,并在历史地图上对其进行微调,创建了SMOL-MapSeg (Show Me One Label1)模型。与现有的基于sam的微调方法(与类无关或仅限于固定类)不同,SMOL-MapSeg能够根据提示符定义的类模式跨任意数据集分割任何目标类。实验表明,单个SMOL-MapSeg模型可以准确地分割不同的类,显著优于基线模型。此外,即使在有限的训练数据下,它也表现出很强的泛化能力,突出了其在可扩展和适应性历史地图分析方面的潜力。