MapTrace: Scalable Data Generation for Route Tracing on Maps
Artemis Panagopoulou, Aveek Purohit, Achin Kulshrestha, Soroosh Yazdani, Mohit Goyal
TL;DR
This work tackles the limited spatial reasoning of multimodal language models by introducing MapTrace, a task that demands pixel-precise route tracing on maps. It presents a scalable synthetic data pipeline that generates 23k path annotations across 4k maps, enabling effective fine-tuning of open and proprietary MLLMs. Experiments show substantial gains in path-tracing robustness and alignment metrics on real-world MapBench data, underscoring that fine-grained spatial reasoning can be taught with synthetic supervision. The approach opens the door to scalable spatial benchmarks and applications in robotics, AR/VR, and wayfinding systems, while highlighting ongoing domain-transfer challenges from synthetic to real maps.
Abstract
While Multimodal Large Language Models have achieved human-like performance on many visual and textual reasoning tasks, their proficiency in fine-grained spatial understanding, such as route tracing on maps remains limited. Unlike humans, who can quickly learn to parse and navigate maps, current models often fail to respect fundamental path constraints, in part due to the prohibitive cost and difficulty of collecting large-scale, pixel-accurate path annotations. To address this, we introduce a scalable synthetic data generation pipeline that leverages synthetic map images and pixel-level parsing to automatically produce precise annotations for this challenging task. Using this pipeline, we construct a fine-tuning dataset of 23k path samples across 4k maps, enabling models to acquire more human-like spatial capabilities. Using this dataset, we fine-tune both open-source and proprietary MLLMs. Results on MapBench show that finetuning substantially improves robustness, raising success rates by up to 6.4 points, while also reducing path-tracing error (NDTW). These gains highlight that fine-grained spatial reasoning, absent in pretrained models, can be explicitly taught with synthetic supervision.
