Manuscript Offprint
arXiv:2610.36582Structured Maps for Landmark-Based Route Instructions with LLMs
Mifu Matsumoto ✉[0009-0001-5392-8393],
Yuki Nakanishi [0009-0006-3226-8564],
Tomoya Hashiguchi [0000-0003-0424-2755], and
Hiroaki Ohshima [0000-0002-9492-2246]
University of Hyogo, Hyogo, Japan
Abstract. To generate landmark-based route instructions, models must understand both map geometry and human landmark preferences. Although large language models (LLMs) show great abilities in language tasks, the best way to structure map data for these models is not yet established. This paper proposes a structured text representation for landmark selection tasks in route navigation, utilizing SVG format to encode spatial features. The structured text maintains a geometric connection with rendered map images, allowing language models to directly access spatial and semantic data. Using a new dataset created from human-written route descriptions and OpenStreetMap data, we evaluate models on two tasks: landmark selection at turns and around destinations. Experiments with five LLMs show that the proposed structured text input performs as well as or better than image-based PNG inputs. In addition, task-specific fine-tuning enables smaller local LLMs to effectively leverage map layouts to achieve high selection accuracy. These results demonstrate that structured text is an efficient and lightweight interface for spatial reasoning in human-oriented navigation.
Keywords: large language models, structured maps, landmark selection, route instructions, OpenStreetMap
1 Introduction
Navigation systems usually describe routes using quantitative information, such as directions, street names, or distances like “turn right after 300 meters.” Although these instructions are precise, users often find them difficult to follow because humans cannot accurately estimate distances or find abstract road names in physical environments .
In everyday life, people prefer to use recognizable landmarks, saying “turn right at Starbucks” or “the destination is next to McDonald’s.” These landmark-based instructions are intuitive because they connect navigation actions with visible features, thereby reducing the cognitive load during movement.
This paper addresses the problem of landmark selection from local maps using large language models (LLMs). Figure 1 illustrates the overview of this
M. Matsumoto et al.

Fig. 1. Overview of the landmark selection task. The framework takes local geographic data as input, which is then processed by an LLM to select and output the optimal landmark.
landmark selection task. While LLMs excel at language tasks, understanding map geometry to select appropriate landmarks remains a major challenge. A straightforward approach is to render a map as an image for vision-language models (VLMs). However, image-based inputs force models to infer spatial relations directly from raw pixels, which is highly challenging when reading small text labels or identifying exact relative positions [24].
To solve this problem, we propose representing local map information in a structured SVG text format. Because SVG functions as both text and a geometric layout, it provides LLMs with direct access to coordinates and semantic categories without relying on pixel analysis. This text-based representation maintains a direct geometric connection with the rendered map image, enabling a fair and controlled comparison between the two modalities using the exact same underlying data.
To evaluate this approach, we establish two landmark selection tasks: selection at turns and selection around destinations. For our experiments, we use a dataset created from human-written restaurant access descriptions linked to OpenStreetMap(OSM) objects, reflecting real human landmark choices. Using this dataset, we investigate the following two research questions:
– RQ1: Which input representation is more effective for landmark selection, a rendered PNG map or an SVG text map?
– RQ2: Does task-specific fine-tuning on SVG text maps allow smaller local LLMs to improve landmark selection performance?
This study provides three main contributions:
– Dataset: We define two human-centric landmark selection tasks and construct a dataset linking real human descriptions with OSM objects.
– SVG Input: We show that the proposed structured SVG text input performs as well as or better than image-based PNG inputs for landmark selection.
– Fine-Tuning: We demonstrate that task-specific fine-tuning allows smaller local LLMs to understand map layouts and learn human landmark preferences effectively.
2.1 Landmarks in Spatial Cognition and Landmark Selection
Landmarks are vital to human spatial cognition. Humans organize spatial knowledge around recognizable objects rather than abstract coordinates, using them as cognitive points to orient themselves and remember routes [11, 26].
In route descriptions, people frequently select landmarks near decision points like intersections [3, 17]. A high-quality landmark must be recognizable and memorable [22], and landmark-based instructions significantly reduce cognitive load compared to distance-based methods [15, 4]. Furthermore, empirical evidence shows humans prefer qualitative place names over quantitative coordinates for location expressions [20].
However, automating this process is challenging because an optimal landmark must balance spatial relevance, visual salience, and communicative utility; simply choosing the nearest object is often insufficient. This motivates our work to evaluate whether LLMs can accurately mimic human landmark selection.
2.2 Route and Destination Description Generation
Generating route descriptions from geographic data has a long history. Early systems often relied on rule-based methods or templates [6], or focused on finding paths that are easy to describe rather than just the shortest distance [7]. Recent data-driven approaches treat this as a graph-to-text problem, modeling road networks and landmarks as spatial graphs to generate navigation instructions [21]. Rich semantic tags from OSM are also useful for helping models understand building functions and spatial attributes through predictive modeling [1] or LLM embeddings [16].
For descriptions around destinations, hybrid methods have combined geometric scoring with text generation. In these methods, OSM data is first used to score and filter candidate landmarks, and LLMs are then used to produce fluent descriptions based on those pre-selected landmarks .
Our work differs from these prior studies in two main ways. First, instead of using multi-stage methods that pre-filter candidates with hand-crafted rules, we require LLMs to select landmarks directly from raw structured map inputs. Second, we evaluate how fine-tuning on human data helps LLMs implicitly learn human landmark preferences without using manual scoring rules.
M. Matsumoto et al.
2.3 LLMs and VLMs for Map Understanding
While VLMs can process rendered map images directly, doing so is highly challenging. Recent benchmarks like CartoMapQA show that even strong VLMs struggle with fine-grained map reading, text label recognition, and route tracing [24]. Image encoders are effective for global semantic understanding, but they may abstract away precise spatial information that is required for tasks involving object relations, coordinates, or topology [23]. Furthermore, recent studies highlight a unique gap in text-based LLMs: while they resemble humans in choosing spatial words to describe object relationships, they still have fundamental limitations in maintaining accurate internal 2D spatial representations [25].
To address these limitations, recent studies propose converting spatial or visual data into structured textual or code-like formats before feeding them to LLMs. This approach has improved reasoning performance in robotics and various web or chart domains . Crucially, knowledge infusion studies demonstrate that LLMs can effectively process structured data directly from structured text formats without needing natural language translations .
Studies on graph reasoning with LLMs suggest that textual graph representations, such as adjacency lists, can be more effective than visual graph images for certain reasoning tasks [8]. This study builds on this insight by comparing structured SVG text directly with rendered PNG images to identify the optimal representation for human-centric landmark selection.
3 Task Definition
This study addresses the problem of selecting landmarks from local maps. Given a local map and a specific navigation context, the model is required to identify the correct landmark that matches real human choices.
We define two specific landmark selection tasks:
– Task 1: Landmark Selection at Turns. The model receives a local map around an intersection and a turning direction, such as turning left or turning right. The model must select the most appropriate landmark at the intersection to represent the turn.
– Task 2: Landmark Selection around Destinations. The model receives a local map around a target destination. The model must select a nearby landmark to describe the relative location of the destination.
In both tasks, the evaluation is based entirely on landmark selection accuracy. The goal is to determine whether the selected landmark matches the exact landmark that a human used in a real-world route description.
3.1 Task Settings
We assume that the local navigation context is already given, meaning our task does not find the entire route from a start to a destination. For Task 1, the model receives a local map around an intersection and the turning action, such as turning left or turning right. For Task 2, the model receives the target destination and its surrounding map. Under these settings, the model is provided with a list of available candidate landmarks from the map database, and it must output the correct landmark identifier.
In practical human navigation, landmarks are usually referred to by their proper names, such as Starbucks or McDonald's, rather than generic categories, such as a cafe or a restaurant. Therefore, our tasks require the model to understand both the spatial coordinates of these features and their semantic name attributes simultaneously to make a human-like selection.
3.2 Task 1: Landmark Selection at Turns
The first task focuses on landmark selection at intersections where a user makes a turn. When navigating an intersection, the model must identify a prominent reference point to clarify the turning action. The formal input and output of this task are defined as follows:
– Input: A local map M centered on an intersection, and a turning action a. The map M contains a set of landmark candidates , where each candidate has attributes including its proper name, semantic category, and spatial coordinates. The turning action a represents the route entering and leaving the intersection, which is either a left turn or a right turn.
– Output: A single landmark name selected by the model that best represents the turning action at the intersection.
Under this setting, the LLM processing the text-based map, or the vision-language model (VLM) processing the image-based map, is required to evaluate the candidates and output the exact landmark name that matches the human choice in the ground-truth data.
3.3 Task 2: Landmark Selection around Destinations
The second task focuses on landmark selection for describing a target destination by its relative location to a nearby landmark. When people identify a destination, they often refer to a more recognizable place in the immediate vicinity. In this study, we consider three specific types of spatial relations that were originally expressed in Japanese:
– next to: This relation corresponds to the Japanese phrases “隣” or “となり”.
– across from: This relation corresponds to the Japanese phrases “向かい” or “むかい”.
– beside: This relation corresponds to the Japanese phrases “横” or “よこ”.
M. Matsumoto et al.
We refer to these three terms collectively as target keywords.
The formal input and output of this task are defined as follows:
– Input: A local map centered on a target destination . The map contains the destination and a set of surrounding landmark candidates , where each candidate is associated with its proper name, semantic category, and spatial coordinates.
– Output: A single landmark name selected by the model that best describes the relative location of the destination .
Similar to Task 1, the model must process the given map information and select the single most appropriate landmark name from the candidate set L based on human spatial preferences.
3.4 Characteristics of the Tasks
The two tasks differ in their navigation contexts, but they share three critical challenges for spatial models:
– Spatial configuration understanding. The model must accurately interpret the geometric layout of roads, candidate landmarks, and the specific target point or movement direction from the map data.
– Human-centric landmark selection. The model must identify a landmark that is useful for human communication. The geometrically closest landmark is not always the best choice if it is obscure or hidden from the user’s perspective.
– Proper-name grounding. The model must process landmarks as named entities rather than generic objects. Because candidates are defined by their real names in the map database, the model must simultaneously reason about both spatial positions and semantic name attributes.
4 Dataset Construction
This section describes the construction of datasets for the two landmark selection tasks defined in Section 3. Our pipeline pairs human-written route descriptions with local map information, explicitly linking each textual landmark mention to its exact geometric counterpart in a map database.
4.1 Source of Human-Written Route Descriptions
We used restaurant access descriptions as a source of human-written text, as they reflect how people choose practical landmarks when explaining routes or locations to actual visitors. We collected restaurant metadata, including coordinates and Japanese access descriptions, using the Hot Pepper Gourmet Search API . From an initial pool of 136,490 raw descriptions, we filtered out generic expressions that do not explicitly mention landmarks, such as phrases describing only travel time or distance.
Hot Pepper Gourmet Web Service, https://webservice.recruit.co.jp/

Fig. 2. Examples of dataset instances constructed from raw access descriptions. The left panel shows an instance for Task 1, where an intersection, an underlined landmark, and a turning direction are extracted. The right panel shows an instance for Task 2, where an underlined landmark around the destination is identified.
4.2 Filtering and Extraction via LLMs
We first performed a keyword-based screening to collect candidate descriptions. For the turn-based task, we extracted texts containing explicit Japanese turning expressions, which are either “turn right” or “turn left”. For the destination-based task, we targeted the three target keywords defined in Section 3.
Because descriptions based solely on distance or road names could still contain these keywords, we subsequently utilized an LLM to analyze the screened text. Specifically, GPT-3.5 Turbo via the Azure OpenAI Service was employed for this verification and extraction step. The model verified the presence of a concrete landmark and extracted the landmark name from the description.
4.3 Linking to OpenStreetMap and Manual Verification
The extracted landmark names must be grounded in an actual map database. For each restaurant, we queried OSM objects within a 1,000-meter radius of its coordinates. We aligned candidate landmarks primarily using the OSM name tag, while associated geometry and category tags provided the spatial attributes.
Because landmark names in human descriptions are frequently abbreviated or written differently, automated string matching is insufficient. Therefore, we conducted a manual inspection to check the data and correct any mismatches. We manually identified the specific intersections and route directions for Task 1, and verified the spatial relationships between the restaurants and nearby matched landmarks for Task 2. When a single human-written description contained multiple sequential turns or intersections, we treated each turning point as a separate, independent evaluation instance linked to its respective spatial coordinates while discarding vague descriptions that could not be verified on the map.
Through this filtering, extraction, and manual verification pipeline, we finally constructed two datasets: 500 instances for Task 1 and 339 instances for Task 2. Figure 2 illustrates examples of the final dataset instances and how the spatial context is identified for each task.
M. Matsumoto et al.
5 Structured Map Representation
This section describes how we represent local map information as structured text for LLMs. While a straightforward approach renders a map as a PNG image for VLMs, pixel-based inputs force the network to recognize text labels, road geometry, and directions directly from raw pixels, which often introduces optical character recognition errors and spatial reasoning difficulties.
To overcome this limitation, we convert map database information into a structured textual representation that preserves the spatial relations among roads, landmarks, and navigation targets. By representing a local map as structured text, a model gains direct access to symbolic attributes such as proper names and semantic categories while inferring spatial relations from standardized coordinates. We adopt SVG as our format because it describes geometric elements like points and lines within highly readable text. Furthermore, SVG allows an exact geometric correspondence between the structured-text input and a rendered map image, enabling a fair comparison between text-based and image-based modalities using the identical underlying map data.
5.1 Local Map Extraction
For each instance, we extract a local map centered on the relevant navigation context, which is the target intersection for Task 1 and the destination restaurant for Task 2. The extraction range is determined by a zoom level of 18 and a pixel rendering size, covering a local geographic area of approximately meters. This scale captures nearby roads and landmarks visible and useful for human route descriptions.
Road networks are obtained using OSMnx, and landmark candidates are collected from OSM objects within this bounding area. We include named objects belonging to specific functional categories such as amenity, shop, tourism, leisure, historic, and building. Each candidate is represented by its proper name obtained from the OSM name tag and position, along with its semantic category when available in the map database.
5.2 Coordinate Normalization
The geographic coordinates of roads and landmarks are converted into normalized two-dimensional coordinates. We define a standardized coordinate system where the upper-left corner of the local map is mapped to and the lower-right corner is mapped to , positioning the target intersection or destination precisely at the center .
This system eliminates the need for the model to interpret raw latitude and longitude values directly, making relative spatial positions straightforward to infer from textual tokens. For example, a landmark at (51, 32) can be logically deduced as being slightly to the right and above the center point.
(0, 0)

(100, 0)
(0, 100)
(100, 100)
Fig. 3. Example of a local map represented in the normalized coordinate space, originally expressed in Japanese.
<svg width="256" height="256" viewBox="0 0 100 100"> <g id="road_network"> <line id="e1" x1="22" y1="88" x2="14" y2="95" /> ... </g> <g id="navigation_vectors" data-turn_direction="left"> <line id="vector_start" x1="37" y1="61" x2="50" y2="50" data-type="start" /> <line id="vector_goal" x1="50" y1="50" x2="10" y2="4" data-type="goal" /> </g> <g id="pois"> <g id="poi_0" data-category="bicycle" data-name="Ogawa Cycle"> <circle cx="51" cy="32" /> </g> ... </g> </svg>Fig. 4. Example of the structured SVG representation used as input to the LLMs.
5.3 SVG Text Components and Structure
The structured map is encoded as an SVG text snippet containing four primary elements:
– Road network: Roads represented as line segments with explicit start and end coordinates.
M. Matsumoto et al.
– Navigation vectors: Incoming and outgoing route vectors indicating how a user enters and leaves the intersection for Task 1.
– Target point: The fixed center point representing the target intersection or destination.
– Landmark candidates: Group elements containing explicit data-name, data-category, and coordinate attributes.
Figure 3 shows the visualized example of a local map, and Figure 4 shows the corresponding structured SVG text tokens provided to the models.
5.4 Input Modalities and Prompting Setup
For the text-based modality, the structured map text is fed to the model along with a task-specific prompt instructing it to analyze the spatial layout and output a JSON object containing a single name field, which must match one of the proper names in the input map attributes. The prompts are tailored to each task's context, directing the model to analyze routing directions for Task 1 or infer appropriate spatial relations for Task 2. The complete prompt templates for the proposed text-based method are provided in Appendix A.
To establish a controlled evaluation, we prepare a corresponding image-based modality as the comparative condition, using an identical PNG map rendered directly from the same underlying geographic data. This image-based counterpart visually displays the road network, route directions, center point, and text labels. The image is provided to VLMs with an equivalent prompt instructing them to analyze visual pixels, track route paths, and output their decisions in the identical JSON format to ensure a rigorous modality comparison. The corresponding image-input prompts are also detailed in Appendix A.
6 Experimental Setup
6.1 Experimental Configuration
The evaluation framework operates in two distinct stages. In the first stage for RQ1, we compare modalities by feeding the models the exact same local map information represented either as a rendered PNG image or as structured SVG text. While prompts are customized for modality-specific formats, both configurations employ structurally equivalent task descriptions and identical JSON output rules to ensure a fair comparison.
In the second stage for RQ2, we evaluate the effects of task-specific parameter-efficient adaptation. Based on the modality advantages established in RQ1, we adopt the structured SVG text format as the foundational input for all fine-tuning experiments, conducting controlled performance comparisons for each local model before and after training across both Task 1 and Task 2.
Table 1. Fine-tuning batch sizes and optimal checkpoint epochs for each model and task.
| Model | Task 1 Batch size | Epochs | Task 2 Batch size | Epochs |
|---|---|---|---|---|
| Llama-3-ELYZA-JP-8B | 128 | 95 | 128 | 52 |
| ELYZA-Thinking-1.0-Qwen-32B | 16 | 21 | 4 | 10 |
| Gemma3:27B | 4 | 6 | 2 | 7 |
6.2 Fine-Tuning Environment and Hyperparameters
For computationally efficient adaptation, we employ Low-Rank Adaptation[10] and Quantized Low-Rank Adaptation[5], implemented via the Unsloth framework[9]. Across all models, we apply a uniform adapter configuration with a LoRA rank and an alpha value of 16. The base learning rate is set to utilizing the AdamW 8-bit optimizer under a constant learning rate scheduler. To prevent overfitting, early stopping is applied based on validation set loss. Table 1 details the customized batch sizes and training epochs of the optimal checkpoints utilized for each respective model and task.
6.3 Evaluation Metric and Output Parsing
The definitive quantitative metric is landmark selection accuracy. For each test instance, the model must output a JSON object containing a single name field. Text-based models must select a string matching one of the SVG data-name attributes, while vision-based models read text labels directly from the visual canvas. Invalid JSON formatting or missing target fields are strictly penalized as incorrect predictions.
An output is correct if and only if the extracted landmark string matches the human ground truth. With test instances, where in our setup, let and denote the predicted and reference landmarks for instance , respectively. Selection accuracy is formalized as:
As established in Section 3, the textual phrasing of the generated instruction is not scored by lexical similarity metrics, ensuring the evaluation isolates the core spatial reasoning capacity required to ground human landmark choices.
7 Results and Discussion
This section presents empirical results regarding map representation, fine-tuning impacts, and qualitative error patterns.
M. Matsumoto et al.
Table 2. Landmark selection accuracy comparison between PNG image input and structured SVG text input.
| Model | Task 1 | Task 2 | ||
|---|---|---|---|---|
| PNG | SVG | PNG | SVG | |
| GPT-5.2 | 34% | 34% | 40% | 55% |
| Gemma3:27B | 14% | 27% | 26% | 39% |
| Llama4 | 21% | 25% | 24% | 28% |
| Llama-3-ELYZA-JP-8B | N/A | 25% | N/A | 35% |
| ELYZA-Thinking-1.0-Qwen-32B | N/A | 24% | N/A | 39% |
Table 3. Landmark selection accuracy before and after fine-tuning across both tasks.
| Model | Task 1 | Task 2 | ||
|---|---|---|---|---|
| Base | Fine-Tuned | Base | Fine-Tuned | |
| Llama-3-ELYZA-JP-8B | 24% | 49% | 35% | 48% |
| ELYZA-Thinking-1.0-Qwen-32B | 24% | 38% | 39% | 54% |
| Gemma3:27B | 27% | 53% | 39% | 36% |
7.1 RQ1: Effect of Map Representation
Table 2 compares landmark selection accuracy between rendered PNG images and structured SVG text inputs. The results demonstrate that the structured-text representation consistently performs as well as or substantially better than the image-based input across all configurations.
In Task 1, Gemma3:27B doubles its accuracy from for PNG to for SVG. This trend is even more pronounced in Task 2, where Gemma3:27B jumps to and GPT-5.2 achieves its highest performance of using SVG text. These findings support the hypothesis that rich spatial data is more accessible when serialized as structured text rather than flattened into raw pixels.
This distinct advantage stems from two factors. First, the text format provides exact landmark names and normalized coordinates as symbolic tokens, bypassing optical character recognition errors inherent in visual processing. Second, the structured layout makes spatial geometry explicit. While a visual image requires a model to simultaneously resolve visual recognition and spatial relations from raw pixels, the SVG representation presents the map directly as an organized topology of named objects and coordinates, allowing the model to focus entirely on landmark selection. We thus answer RQ1 by concluding that structured-text map representation is consistently more effective than image-based inputs.
7.2 RQ2: Effect of Fine-Tuning
To address RQ2, we evaluate task-specific adaptation via LoRA or QLoRA using the structured SVG text format exclusively. Table 3 compiles the performance of the three open-weights local models before and after adaptation.
In Task 1, fine-tuning yields substantial, uniform performance leaps across all architectures, with Llama-3-ELYZA-JP-8B reaching 49% and Gemma3:27B climbing to 53%. This confirms that targeted adaptation successfully teaches smaller local models to internalize human visual and communicative preferences at intersections. In Task 2, the effects remain highly positive for most architectures, where ELYZA-Thinking-1.0-Qwen-32B rises to 54%, though Gemma3:27B exhibits a slight fluctuation from 39% to 36%. This single variation suggests a delicate optimization trade-off, where aggressive parameter tuning on localized destination contexts can occasionally conflict with pre-existing spatial heuristics. Crucially, the broader results answer RQ2 affirmatively, demonstrating that task-specific fine-tuning unlocks sophisticated human-aligned spatial reasoning within efficient, local models.
7.3 Qualitative Error Analysis
We systematically reviewed instances where fine-tuned local models failed to match human ground truth, classifying errors into three distinct categories. The first category is the selection of another plausible landmark, where the model selected a spatially reasonable object that differed from the specific human reference in dense urban layouts. The second category is spatial alignment failures caused by misinterpreting vector coordinates, leading to landmarks on the incorrect side of the street. The third category is output formatting violations such as failing to generate a valid JSON object, though this error was extremely rare due to robust constraint adherence.
The prevalence of the first error type reveals that real-world landmark selection is rarely unique; when multiple salient structures exist, different human annotators choose different reference points. Therefore, our automated exact-match evaluation likely understates the practical, real-world utility of the model outputs.
7.4 Limitations and Future Directions
While our findings validate the efficacy of structured map representations, this study has three main boundaries. First, our evaluation relies strictly on exact-match landmark selection accuracy without executing human evaluations to gauge linguistic naturalness or practical clarity. Bridging this gap requires designing multi-reference verification frameworks or field studies. Second, the current framework omits visual salience features such as building volumes, heights, or prominent signage, which heavily dictate human visual attention. Third, the dataset is bounded by its modest overall sample size. Expanding the corpus scale across diverse spatial environments will be essential to foster more robust, generalized models of human landmark selection.
M. Matsumoto et al.
8 Conclusion
This paper presented a novel framework for landmark-based route instruction generation by converting local geographic data into a structured SVG text format for LLMs. Our empirical evaluations yielded two pivotal findings. First, the structured SVG representation consistently matched or outperformed the visual PNG baseline, confirming that LLMs benefit more from direct exposure to symbolic and geometric tokens than from raw pixels. Second, parameter-efficient fine-tuning on a modest dataset unleashed substantial performance gains in local open-weights models, demonstrating an efficient pathway for alignment with human spatial communication.
While these results validate our core thesis, they outline essential vectors for future research. Our analysis confirmed that human landmark selection is rarely unique; thus, developing multi-reference evaluation metrics or conducting human utility assessments will be crucial for more accurate measurement. Furthermore, enriching SVG representations with visual salience metadata such as building colors, dimensions, and heights remains a vital next step to ensure model-selected landmarks are both geometrically precise and highly visible in physical environments.
Acknowledgments. This work was supported by JSPS KAKENHI Grant Numbers JP25K03229, JP25K03228, and JP24K03228.
Disclosure of Interests. The authors have no competing interests to declare that are relevant to the content of this article.
Generative AI Usage Disclosure. During the preparation of this work, the authors used Gemini 3.5 Flash in order to improve the English phrasing and readability of the manuscript. After using this tool, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.
References
-
Atwal, K.S., Anderson, T., Pfoser, D., Züfle, A.: Predicting building types using openstreetmap. Scientific Reports 12 (2022)
-
Burnett, G.: 'Turn right at the traffic lights': The requirement for landmarks in vehicle navigation systems. Journal of Navigation 53(3), 499–510 (2000)
-
Denis, M.: The description of routes: A cognitive approach to the production of spatial discourse. Current Psychology of Cognition 16, 409–458 (1997)
-
Denis, M., Pazzaglia, F., Cornoldi, C., Bertolo, L.: Spatial discourse and navigation: An analysis of route directions in the city of venice. Applied Cognitive Psychology: The Official Journal of the Society for Applied Research in Memory and Cognition 13(2), 145–174 (1999)
-
Dettmers, T., Pagnoni, A., Holtzman, A., Zettlemoyer, L.: QLoRA: Efficient fine-tuning of quantized LLMs. In: Proceedings of the 37th Annual Conference on Neural Information Processing Systems (NeurIPS 2023). pp. 10088–10115 (2023)
-
Dräger, M., Koller, A.: Generation of landmark-based navigation instructions from open-source data. In: Proceedings of the 13th Conference of the European Chapter of the Association for Computational Linguistics (EACL 2012). pp. 757–766 (2012)
-
Duckham, M., Winter, S., Robinson, M.: Including landmarks in routing instructions. Journal of Location Based Services 4(1), 28–52 (2010)
-
Fatemi, B., Halcrow, J., Perozzi, B.: Talk like a graph: Encoding graphs for large language models. In: Proceedings of the 12th International Conference on Learning Representations (ICLR 2024) (2024)
-
Han, D., Han, M., team, U.: Unsloth (2023), http://github.com/unslothai/unsloth
-
Hu, E., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., Chen, W.: LoRA: Low-rank adaptation of large language models. In: Proceedings of the 10th International Conference on Learning Representations (ICLR 2022) (2022)
-
Kevin, L.: The Image of the City, chap. 3, pp. 46–90. MIT Press (1960)
-
Lee, K., Joshi, M., Turc, I., Hu, H., Liu, F., Eisenschlos, J., Khandelwal, U., Shaw, P., Chang, M.W., Toutanova, K.: Pix2Struct: Screenshot parsing as pretraining for visual language understanding. In: Proceedings of the 40th International Conference on Machine Learning (ICML 2023). pp. 18893–18912 (2023)
-
Liang, J., Huang, W., Xia, F., Xu, P., Hausman, K., Ichter, B., Florence, P., Zeng, A.: Code as Policies: Language model programs for embodied control. In: Proceedings of the 40th IEEE International Conference on Robotics and Automation (ICRA 2023). pp. 9493–9500 (2023)
-
Liu, F., Eisenschlos, J., Piccinno, F., Krichene, S., Pang, C., Lee, K., Joshi, M., Chen, W., Collier, N., Altun, Y.: DePlot: One-shot visual language reasoning by plot-to-table translation. In: Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (ACL 2023). pp. 10381–10399 (2023)
-
Lovelace, K.L., Hegarty, M., Montello, D.R.: Elements of good route directions in familiar and unfamiliar environments. In: Proceedings of the 4th International Conference on Spatial Information Theory (COSIT 1999). pp. 65–82 (1999)
-
Memduhoğlu, A., Fulman, N., Zipf, A.: Enriching building function classification using large language model embeddings of openstreetmap tags. Earth Science Informatics 17(6), 5403–5418 (2024)
-
Michon, P.E., Denis, M.: When and why are visual landmarks used in giving directions? In: Proceedings of the 5th International Conference on Spatial Information Theory (COSIT 2001). pp. 292–305 (2001)
-
Moiseev, F., Dong, Z., Alfonseca, E., Jaggi, M.: SKILL: Structured knowledge infusion for large language models. In: Proceedings of the 2022 Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL 2022). pp. 1581–1588 (2022)
-
Muroň, M., Dařena, F., Procházka, D., Kern, R.: Automatically generated place descriptions for accurate location identification: a hybrid approach with rule-based methods and LLM. Spatial Cognition & Computation 25(4), 269–311 (2025)
-
Richter, D., Winter, S., Richter, K.F., Stirling, L.: How people describe their place: identifying predominant types of place descriptions. In: Proceedings of the 1st ACM SIGSPATIAL International Workshop on Crowdsourced and Volunteered Geographic Information 2012 (GEOCROWD 2012). pp. 30–37 (2012)
-
Schumann, R., Riezler, S.: Generating landmark navigation instructions from maps as a graph-to-text problem. In: Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (ACL-IJCNLP 2021). pp. 489–502 (2021)
M. Matsumoto et al.
-
Sorrows, M.E., Hirtle, S.C.: The nature of landmarks for real and electronic spaces. In: Proceedings of the 4th International Conference on Spatial Information Theory (COSIT 1999). pp. 37–50 (1999)
-
Tong, S., Liu, Z., Zhai, Y., Ma, Y., LeCun, Y., Xie, S.: Eyes wide shut? exploring the visual shortcomings of multimodal LLMs. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition 2024 (CVPR 2024). pp. 9568–9578 (2024)
-
Ung, H.Q., Habault, G., Nishimura, Y., Niu, H., Legaspi, R., Oya, T., Kojima, R., Taya, M., Ono, C., Minamikawa, A., Liu, Y.: CartoMapQA: A fundamental benchmark dataset evaluating vision-language models on cartographic map understanding. In: Proceedings of the 33rd ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACM SIGSPATIAL 2025). pp. 40–453 (2025)
-
Wu, W., Deng, W.: Spatial representation of large language models in 2D scene. In: Proceedings of the 4th Workshop on Generation, Evaluation and Metrics (GEM ). pp. 18–29 (2025)
-
Yesiltepe, D., Conroy Dalton, R., Ozbil Torun, A.: Landmarks in wayfinding: A review of the existing literature. Cognitive Processing 22(3), 369–410 (2021)
A Experimental Prompts
This appendix presents English translations of the prompt templates used in our experiments. In the actual experiments, these prompts were administered in Japanese and the templates provided below accurately reflect the semantic structure and content of the original Japanese instructions.
(a) SVG Input Prompt
Role and Objective
You are an advanced navigation AI analysis system with high spatial reasoning capabilities. Your mission is to interpret the provided SVG map data and identify the most appropriate landmark feature to guide the user for a given turning direction.
Output Format
You must output the result strictly in the following JSON format. Do not include Markdown code blocks. Output only the raw JSON data. { "landmark": "Exact extracted string from data-name attribute", "instruction": "Navigation guide text" }
SVG Schema Definition (Crucial)
The input SVG contains the following custom attributes. You must adhere to these definitions during analysis:
- 'data-name':
- The official name of the object. Must be used verbatim in the 'landmark' field.
- 'data-category':
- The type of the feature (e.g., 'convenience', 'school', 'restaurant').
- 'data-turn_direction':
- The movement direction for navigation in this map (e.g., 'right', 'left').
- 'data-type':
- <line> Represents roads
- 'start': The entry route approaching the intersection.
- 'goal': The exit route leaving the intersection.
Landmark Extraction Rules
- Verbatim Extraction:
- Extract the exact string from data-name within the <g ...> tags in the SVG.
- No Hallucination:
- Never output any landmark name that does not explicitly exist as a data-name attribute in the SVG data.
Task Instructions
The user is currently approaching an intersection. Based on the SVG map data, identify the best landmark and generate a natural navigation instruction.
Analysis Steps
- Route Verification:
- Check the angle from the start path to the goal path within <g id="navigation_vectors"> to understand the intersection layout and turning direction.
- Feature Search:
- Verify the coordinates of features within <g id="pois">.
- Analyze the relative spatial relationships in the SVG coordinate system (0-100) with respect to the intersection center (cx, cy). 3. Instruction Generation:
- Generate a user-centric guide, such as
Turn right at the [landmark] on your right corner...
Input Data
- Movement Action: {turn_dir}
- Map Data (SVG):
xml {svg_content}
(b) PNG Input Prompt
Role and Objective
You are an advanced navigation AI with high visual recognition capabilities. Your mission is to visually analyze the provided map image (PNG) and identify the most appropriate landmark feature for the specified turning direction to generate a navigation guide.
Output Format
You must output the result strictly in the following JSON format. Do not include Markdown code blocks. Output only the raw JSON data. { "landmark": "Name of the landmark recognized from the image", "instruction": "Navigation guide text" }
Visual Definition of the Image
Elements in the image are rendered based on the following rules. Please make your decision based on these colors and layouts:
- Route Information:
- Green line/point: The start location (entry route).
- Blue line/point: The goal location (exit route).
- Red point: The center of the intersection.
- Landmarks (POI):
- Gray circles: The locations of buildings.
- Black text: The official names of those buildings.
- Note: Only recognize names explicitly written as text within the image as your target landmarks.
Landmark Extraction Rules
- Strict OCR Compliance:
- Accurately read the black text labels within the image.
- Do not imagine or output any building name that is not explicitly written in the image.
Task Instructions
The user is currently entering the intersection from the green route (Start) and exiting via the blue route (Goal). Based on the image layout and the movement action specified below, identify the best landmark and generate a clear instruction.
Analysis Steps
- Route Verification: Visually trace the flow from
green' toblue' and confirm the direction. - Landmark Identification: Search for a building feature that has a visible text label written on it.
- Instruction Generation: Using that feature as your landmark, generate a natural user guide, such as
Turn right at the [landmark] on your right corner...
Input Data
- Movement Action: {turn_dir}
Fig. 5. Prompt templates for Task 1.
M. Matsumoto et al.
(a) SVG Input Prompt
Role and Objective
You are an advanced navigation AI analysis system with high spatial reasoning capabilities. Your mission is to analyze the provided SVG map data and generate a destination guide using surrounding POI landmarks for a user arriving near their final destination. Your objective is not simply to select the nearest landmark. Identify the optimal landmark that makes it easiest for a human to visually locate the destination, and generate a clear description of their relative spatial relationship.
Output Format
You must output the result strictly in the following JSON format. Do not include Markdown code blocks. Output only the raw JSON data. { "landmark": "Exact extracted string from data-name attribute", "instruction": "Navigation guide text" }
SVG Schema Definition (Crucial)
The input SVG uses a 2D coordinate system from (0,0) to (100,100). Follow these definitions:
<g id="target">(Destination): The target destination for navigation. Typically located around (50,50). The data-name is the destination name.<circle>within<g id="pois">(Landmark Candidates): Up to 16 objects extracted in order of proximity. Attributes: cx, cy, data-name, data-category.- Road Networks (<line>): Represents the road layout and structure.
Landmark Extraction Rules
- Verbatim Extraction: Use the exact string from the data-name attribute in the SVG character for character.
- No Hallucination: Never output any name that does not exist as a data-name attribute in the SVG data.
Landmark Selection Rules
- No Proximity-Only Selection: The physically closest POI is not always the best landmark for humans.
- Focus on Visibility and Context: Consider the road layout (e.g., across the street) and the visibility inferred from data-category.
Instruction Generation Rules
Explain the spatial relationship between the landmark and the destination naturally. Use intuitive expressions like:
next to [landmark]',across from [landmark]',beside [landmark]'
Analysis Steps
- Target Verification: Check coordinates of <g id="target">.
- Spatial Reasoning: Analyze the position of each POI relative to the target and roads. Evaluate its appropriateness using its data-category.
- Guide Generation: Construct a clear instruction based on the selected landmark.
Input Data
- Destination: {target_shop}
- Map Data (SVG):
<xml {svg_content}
(b) PNG Input Prompt
Role and Objective
You are an advanced navigation AI with high visual recognition and spatial reasoning capabilities. Your mission is to visually analyze the provided `map image (PNG)' near the destination, identify the optimal landmark that makes it easiest for a user to locate their target, and generate a clear navigation guide.
Output Format
You must output the result strictly in the following JSON format. Do not include Markdown code blocks. Output only the raw JSON data. { "landmark": "Name of the landmark recognized from the image", "instruction": "Navigation guide text" }
Visual Definition of the Image
Elements in the image are rendered based on the following rules. Please make your decision based on these colors and layouts:
- Destination Information:
- Red point: The target destination for the current guide.
- Red text: The official name of the destination.
- Landmarks (POI):
- Gray circles: The locations of surrounding buildings.
- Black text: The official names of those buildings.
- Note: Only recognize names explicitly written as text within the image as your target landmarks.
- Road Information:
- Gray lines: Represents the road layout and structure on the map.
Important: Landmark Extraction Rules
- Strict OCR Compliance:
- In the landmark field of your output, accurately read the black text labels within the image and use the exact string character for character without any modifications.
- No Hallucination:
- Never output any landmark name that is not explicitly written as a text label in the image, and never create fictional names.
Landmark Selection Rules
- No Proximity-Only Selection: The physically closest POI is not always the best landmark for humans.
- Focus on Road Layout and Visibility: Consider the spatial arrangement visible in the image. Select the single most appropriate feature that a human standing at the scene would find easiest to use as a reference point.
Instruction Generation Rules
Deduce the spatial relationship between the identified landmark and the destination from the image, and explain it naturally. Instead of using abstract distances, your description must include intuitive spatial expressions that can be easily understood at the scene, such as:
next to [landmark]'across from [landmark]'beside [landmark]'
Analysis Steps
- Destination Verification: Locate the
red pointandred textin the image to grasp the baseline destination. - Spatial Reasoning of Surrounding POIs: Analyze the spatial relationship between the destination and the surrounding
gray circlesand black text, as well as the positions of the roads. - Landmark Selection and Guide Generation: Take the user's perspective and construct a clear instruction (instruction) based on the selected landmark.
Input Data
- Destination: {target_shop}
Fig. 6. Prompt templates for Task 2.