让历史地图自动讲故事,识别难、理解难的问题有解了
An Efficient System for Automatic Map Storytelling -- A Case Study on Historical Maps
- 用CLIP+GPT-3.5组合,生成贴合历史地图内容的解说文案
- 决策树筛选地图类型,确保描述精准不跑偏
- 对文字缺失或错误不敏感,适合非专家使用
历史地图蕴含丰富过往信息,但因投影不标准、手绘风格和艺术元素,非专业人士难以识别与解读。现有图像字幕方法在自然图像上表现优异,但在地图上效果不佳,因地图在预训练中代表性不足。尽管GPT-4在文本识别与地图字幕方面进步显著,但当地图中的文字(如标题、图例)缺失或错误时,其性能明显下降。此外,用用户自定义数据集微调模型效率低甚至不可行。为此,我们提出一种轻量级地图字幕系统:将最先进的视觉语言模型CLIP微调用于生成历史地图相关字幕,并通过GPT-3.5扩展生成包含‘何处、何物、何时、为何’的简短故事。设计新型决策树架构,仅生成与指定地图类型相关的字幕。系统对地图中文字变化具有鲁棒性,可轻松适配其他地图类型,并支持扩展为大规模地图字幕系统。代码已开源于https://github.com/claudaff/automatic-map-storytelling。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。