Abstract
This paper presents a unified framework for a physical robot to learn, generate, and follow natural language instructions within continuous, real-world environments. Unlike traditional symbolic approaches that rely on discrete grid-worlds, this method grounds linguistic concepts—specifically nouns and spatial prepositions—using probabilistic spatial models and Hidden Markov Models (HMMs) trained on weakly supervised sensor data. Experimental results demonstrate high accuracy, with the robot achieving over 94% correctness in both describing its own actions and executing complex navigation commands based on human input.
Introduction
The challenge of "grounding" language in robotics involves mapping discrete words to continuous physical states and trajectories. While many studies utilize simplified simulations where actions are symbolic, real-world applications must contend with noisy sensor data and non-discrete movement. This research addresses the problem of learning spatial meanings from unsegmented driving paths paired with human-written descriptions. By tackling the weakly supervised version of this problem, the authors demonstrate that a robot can learn these meanings without requiring manual alignment of specific words to specific path segments.
Methods
The framework is built upon three core pillars designed to handle the transition from continuous sensor data to discrete linguistic states:
- Probabilistic Spatial Models: Prepositions are modeled using von Mises distributions (circular versions of a Bell curve). The system distinguishes between static relations, such as "behind" or "left of" (modeled by position angles), and dynamic relations, such as "towards" or "away from" (modeled by velocity angles relative to an object).
- Weakly Supervised Learning via HMMs: To learn from unsegmented data, the system treats a sentence as a sequence of hidden states in a Hidden Markov Model. During training, the Baum-Welch algorithm automatically aligns specific segments of the robot's path with specific words in the sentence, refining the spatial models in the process.
- Generation and Comprehension:
- Generation: The robot uses a greedy heuristic to find the most concise yet accurate description of a path. It can generate recursive noun phrases (e.g., "the chair which is left of the stool") to disambiguate between multiple similar objects.
- Comprehension: To follow a command, the robot uses gradient ascent to plan a trajectory that maximizes the probability of the input sentence being "true," while applying barrier penalties to avoid physical collisions.
Experimental Setup and Results
The system was evaluated using a custom four-wheeled robot equipped with odometry and inertial sensors. The training corpus consisted of 250 sentences across 10 different floorplans containing common objects like bags, boxes, chairs, cones, stools, and tables. While training sentences involved 2-3 waypoints, testing for generation and comprehension involved more complex paths with 5-6 waypoints.
Independent human judges rated the system's performance based on correctness and completeness:
- Correctness: The robot achieved 94.6% correctness for generated descriptions and 96.2% for command execution (comprehension).
- Completeness: This metric scored 85.6%, as the generation algorithm occasionally erred on the side of being overly detailed to ensure successful disambiguation.
Discussion and Future Work
This work demonstrates that robots can learn complex spatial language from noisy, unsegmented data without explicit per-word labels. A key insight is the necessity of modeling velocity to distinguish dynamic relations like "towards" from static ones. Furthermore, the system's ability to automatically generate recursive spatial descriptions mimics human navigation strategies in complex spaces.
Future research will focus on expanding the vocabulary to include object manipulation (e.g., "pick up the bag") and scaling the system to handle unconstrained natural language. Additionally, integrating real-time computer vision to identify objects on the fly would allow the robot to operate in unknown environments without a pre-defined floorplan.
Summary updated