An Efficient System for Automatic Map Storytelling -- A Case Study on Historical Maps

Ziyi Liu, Claudio Affolter, Sidi Wu, Yizi Chen, Lorenz Hurni
10/21/2024
cs.CVcs.AI

Official code: claudaff/automatic-map-storytelling (7 stars, last commit 2025-06-12). 1 more implementation below.

Abstract

Historical maps provide valuable information and knowledge about the past. However, as they often feature non-standard projections, hand-drawn styles, and artistic elements, it is challenging for non-experts to identify and interpret them. While existing image captioning methods have achieved remarkable success on natural images, their performance on maps is suboptimal as maps are underrepresented in their pre-training process. Despite the recent advance of GPT-4 in text recognition and map captioning, it still has a limited understanding of maps, as its performance wanes when texts (e.g., titles and legends) in maps are missing or inaccurate. Besides, it is inefficient or even impractical to fine-tune the model with users' own datasets. To address these problems, we propose a novel and lightweight map-captioning counterpart. Specifically, we fine-tune the state-of-the-art vision-language model CLIP to generate captions relevant to historical maps and enrich the captions with GPT-3.5 to tell a brief story regarding where, what, when and why of a given map. We propose a novel decision tree architecture to only generate captions relevant to the specified map type. Our system shows invariance to text alterations in maps. The system can be easily adapted and extended to other map types and scaled to a larger map captioning system. The code is open-sourced at https://github.com/claudaff/automatic-map-storytelling.

View on arXivView PDF

Code Implementations(2)

An Efficient System for Automatic Map Storytelling using Generative Pre-trained Transformer (GPT) Models – A Case Study on Historical Maps

74PythonJan 28, 20241 years ago
gpthistorical-mapsimage-captioningmap-storytelling

The demo for "An Efficient System for Automatic Map Storytelling – A Case Study on Historical Maps".

00CSS, HTMLOct 24, 202410 months ago

Similar Papers

Cite this paper

@article{liu2024efficient,
  title  = {An Efficient System for Automatic Map Storytelling -- A Case Study on Historical Maps},
  author = {Ziyi Liu and Claudio Affolter and Sidi Wu and Yizi Chen and Lorenz Hurni},
  year   = {2024},
  eprint = {2410.15780},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.15780v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.15780.svg)](https://codeofpaper.com/paper/2410.15780)

Discussion