Conditional Driving from Natural Language Instructions

Junha Roh, Chris Paxton, Andrzej Pronobis, Ali Farhadi, Dieter Fox

Abstract

Widespread adoption of self-driving cars will depend not only on their safety but largely on their ability to interact with human users. Just like human drivers, self-driving cars will be expected to follow complex, multi-step natural language instructions. This paper introduces a hierarchical model that separates high-level reasoning (interpreting language) from low-level execution (steering and throttle). By doing so, the system achieves high navigation success and remains robust even when users provide misleading or poorly timed commands.

Introduction

Most autonomous vehicle (AV) research focuses on following a pre-defined GPS path. However, real-world driving often involves spontaneous human interaction—think of a passenger saying, "Actually, pull over at the next corner," or "Take the second left to avoid the construction." Existing end-to-end models often struggle with these scenarios because they try to map raw pixels and words directly to steering angles. This creates hurdles related to long-horizon planning and handling ambiguous or physically impossible human instructions.

Overview of the navigation task where natural language instructions are decomposed into a sequence of sub-tasks like 'Left', 'Right', and 'Lanefollow'.

Methodology: Hierarchical Language-Grounded Driving

The researchers propose a hierarchical language-grounded driving agent. Instead of a monolithic network, the architecture consists of two specialized layers:

  1. High-level Policy ($\pi_h$): This layer processes the natural language instruction and the current camera image. It employs Gated Attention (GA) to focus on visual features relevant to the command. It outputs a sequence of high-level sub-tasks: left, right, straight, or lanefollow.
  2. Low-level Policy ($\pi_{\tau}$): This layer executes the specific sub-task provided by the high-level policy. Using the camera feed, it generates continuous control signals: steering angle and throttle.
The hierarchical model architecture. The high-level policy $\pi_h$ generates sub-tasks $\tau_i$ from instructions, while the low-level policy $\pi_{\tau_i}$ produces real-time control actions $a_t$.

The model is trained using Conditional Imitation Learning, learning from expert driver-navigator pairs. A switching signal $e_t$ allows the agent to transition between sub-tasks upon completion, ensuring smooth execution of multi-step commands.

Experimental Setup and Datasets

The study utilizes the CARLA simulator. Training was conducted in "Town1," and generalization was tested in the previously unseen "Town2." To ensure realistic language data, the authors collected messy human speech from a two-player game, categorizing instructions into Single ("Turn left"), Double ("Turn left then right"), and Ordinal ("Take the second left").

Key Insights and Results

  • Hierarchy is Essential: A "Single Policy" baseline mapping language directly to control failed on complex instructions. Decoupling the "what" (language) from the "how" (driving) is critical for long-horizon navigation.
  • Visual Context as a Safety Filter: The high-level policy can ignore "misleading" instructions by recognizing visual impossibilities (e.g., "go straight" at a T-junction), prioritizing safe behavior.
  • Generalization via Segmentation: Models using semantic segmentation generalized significantly better to new environments than those using raw RGB images, which saw a performance drop of over 30% in unseen towns.
  • Performance: In Town2, the hierarchical model achieved a 97% success rate across all instruction types when using ground-truth segmentation, vastly outperforming the Neural Modular Control (NMC) baseline.

Conclusion

The proposed hierarchical approach successfully bridges the gap between linguistic understanding and continuous vehicle control. While currently limited to a fixed set of sub-tasks, future work aims to integrate object detection to handle landmark-based instructions (e.g., "turn at the yellow house") and transition the system to real-world physical vehicles.

Summary updated

BibTeX
@inproceedings{roh2019conditional,
  author = {Junha Roh and Chris Paxton and Andrzej Pronobis and Ali Farhadi and Dieter Fox},
  title = {{Conditional Driving from Natural Language Instructions}},
  booktitle = {Conference on Robot Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=ZDGBktkGu0k},
}
Figure