Introduction
This paper, presented at the ACL-IJCNLP 2009 Software Demonstrations, introduces a prototype system designed to make walking directions feel less like a list of coordinates and more like a conversation with a local. By combining real-time data from multiple web APIs with a statistical Natural Language Generation (NLG) model, the authors demonstrate how to move beyond "turn left in 200 meters" toward more intuitive, landmark-based navigation.
The researchers developed an online application that generates natural language walking directions by integrating landmark data from sources like Wikipedia and OpenStreetMap. Instead of relying solely on street names, the system uses a statistical model trained on human-annotated corpora to produce instructions that prioritize recognizable landmarks, making them easier for pedestrians to follow.
The Navigation Challenge
Most traditional navigation systems are designed for drivers, focusing on street names and precise distances (e.g., "In 300 feet, turn right onto Main St"). However, cognitive science research—specifically by Tom & Denis (2003)—shows that pedestrians find landmarks (buildings, statues, parks) much more effective for way-finding.
The challenge lies in automation: how do you programmatically identify which landmarks are "salient" (noticeable) along a route and then weave them into a grammatically correct, natural-sounding sentence? This paper tackles the gap between raw geographic data and human-centric communication.
Methodology
The authors employ a hybrid approach that combines multi-source data integration with a data-driven generation pipeline:
Resource Integration
The system queries the Google Maps API for the basic route. It then "enriches" this route by querying several third-party resources for nearby landmarks:
- OpenStreetMap: For public transport hubs.
- Wikipedia: For historical buildings and statues.
- Google AJAX Search: For "yellow pages" style landmarks like restaurants and hotels.
- Wikimapia: For squares and prominent open spaces.
Statistical NLG Model
Rather than using rigid templates, the system uses a model trained on annotated corpora. It utilizes Frame Semantics (based on Fillmore’s work), specifically focusing on the SELF_MOTION frame.
The Generation Pipeline
- Mapping: Hardcoded rules map route segments to semantic frames. For example, a turning point is mapped to a
SELF_MOTIONframe where the "direction" is a semantic role. - Lexical Selection: The system chooses verbs based on their frequency in the training data. If the goal is a building, the system might choose "enter" or "reach" based on the statistical likelihood found in the corpus.
- Realization: Grammatical rules learned from the corpus determine how to combine these parts into full sentences (e.g., "walk" + "along" + "the building").
Datasets
The system was trained using a dataset from Marciniak & Strube (2005). This corpus is particularly valuable because it is annotated on four distinct levels: Token/POS, Grammatical (main verbs, arguments), Frame-semantics (semantic roles), and Temporal relationships.
Key Insights and Results
Human navigation is inherently relational. By mapping a GPS coordinate to a "Wikipedia-worthy" landmark, the system provides a cognitive anchor for the user. Using FrameNet-style semantics allows the system to generalize; whether walking past a statue or a post office, the underlying semantic frame (SELF_MOTION along a PATH) remains the same, allowing the statistical model to generate varied but natural phrasing.
As a software demonstration, the results are primarily qualitative, showcasing the prototype's ability to generate complex instructions. The paper provides a breakdown of verb choices for specific roles, illustrating the data-driven nature of the lexical selection.
For instance, when describing a DIRECTION, the system found that "continue" was used 25% of the time, while "make [a turn]" and "walk" were used 13% of the time. This statistical approach avoids the "robotic" repetition of template-based systems.
Limitations and Future Work
At the time of publication, the rules mapping route segments to semantic frames were still hardcoded. The authors aim to automate this mapping using machine learning. Additionally, the current system generates single instructions well but lacks a sophisticated "discourse level" model to ensure that a sequence of instructions flows naturally together. Finally, the authors plan to expand the training corpus to improve alignment with routes computed via modern mapping APIs.
Summary updated