arXiv:2507.22952cs.HCcs.CV2025-07被引 1

用大模型自动标注地图,让机器懂制图规范。

Automated Label Placement on Maps via Large Language Models

  • 将地图标注转为数据编辑任务,用大模型结合上下文生成坐标
  • 在真实地图数据集上,模型生成位置符合专业制图标准
  • 适合地图自动化、AI辅助设计等场景使用

地图标注是影响清晰度与可读性的关键环节。尽管重要,现有自动化系统仍难以融合制图规范、适应上下文或理解标注指令。本文提出一种新范式,将自动标注任务视为数据编辑问题,利用大语言模型(LLM)实现上下文感知的空间标注。为此,我们构建了首个公开的基准数据集MAPLE,涵盖多种地标类型及来自开源数据的标注信息。方法通过检索增强生成(RAG)获取每类地标的标注规范,嵌入提示词中,再由指令微调的LLM生成理想标签坐标。我们在四款开源LLM上评估性能,涵盖零样本与指令微调结果。结果显示,当结合结构化提示与领域检索时,大模型能准确执行空间编辑,生成结果与专家制图标准高度一致。本工作提供了一个可扩展的AI辅助地图完成框架,展示了基础模型在结构化数据编辑中的潜力。代码与数据见:https://github.com/HarryShomer/MAPLE。

原文摘要 · Abstract (English)

Label placement is a critical aspect of map design, serving as a form of spatial annotation that directly impacts clarity and interpretability. Despite its importance, label placement remains largely manual and difficult to scale, as existing automated systems struggle to integrate cartographic conventions, adapt to context, or interpret labeling instructions. In this work, we introduce a new paradigm for automatic label placement (ALP) that formulates the task as a data editing problem and leverages large language models (LLMs) for context-aware spatial annotation. To support this direction, we curate MAPLE, the first known benchmarking dataset for evaluating ALP on real-world maps, encompassing diverse landmark types and label placement annotations from open-source data. Our method retrieves labeling guidelines relevant to each landmark type leveraging retrieval-augmented generation (RAG), integrates them into prompts, and employs instruction-tuned LLMs to generate ideal label coordinates. We evaluate four open-source LLMs on MAPLE, analyzing both overall performance and generalization across different types of landmarks. This includes both zero-shot and instruction-tuned performance. Our results demonstrate that LLMs, when guided by structured prompts and domain-specific retrieval, can learn to perform accurate spatial edits, aligning the generated outputs with expert cartographic standards. Overall, our work presents a scalable framework for AI-assisted map finishing and demonstrates the potential of foundation models in structured data editing tasks. The code and data can be found at https://github.com/HarryShomer/MAPLE.

地图标注大模型数据编辑

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。