Grounding Complex Navigational Instructions Using Scene Graphs

Michiel de Jong, Satyapriya Krishna, Anuva AgarwalarXiv 2021

Abstract

Training a reinforcement learning agent to carry out natural language instructions is limited by the available supervision, i.e. knowing when the instruction has been carried out. We adapt the CLEVR visual question answering dataset to generate complex natural language navigation instructions and accompanying scene graphs, yielding an environment-agnostic supervised dataset. To demonstrate the use of this data set, we map the scenes to the VizDoom environment and use the architecture in Chaplot et al. (2017) to train an agent to carry out these more complex language instructions.

Introduction

In the field of embodied AI, "grounding" refers to an agent's ability to link natural language symbols to visual observations and physical actions. While current agents can handle simple commands like "go to the red torch," scaling to complex instructions involving spatial relationships (e.g., "left of" or "in front of") remains a significant challenge.

The primary bottleneck is the reward function. Training a reinforcement learning (RL) agent requires knowing exactly when a task is completed. For relational tasks, manual labeling is expensive and often environment-specific. This research proposes a method to generate complex instructions and their corresponding rewards automatically using environment-agnostic scene graphs, decoupling the logic of the instruction from the specific pixels of the simulation.

Methodology

The researchers utilized a Gated-Attention architecture. This model processes visual input via a CNN and language via a GRU, using a sigmoid-activated linear layer to "attend" to specific visual features based on the instruction.

The Gated-Attention architecture used for processing images and instructions to learn a navigation policy.

The core technical contribution is the Environment Mapping process:

  1. Scene Graph Adaptation: Scene graphs from the CLEVR dataset (originally for Visual Question Answering) were used to describe objects and their spatial relationships.
  2. Instruction Generation: Functional program templates were modified to generate navigation commands instead of questions.
  3. VizDoom Integration: These abstract scene graphs were mapped into the ViZDoom 3D environment, translating CLEVR coordinates and objects into the game engine.
  4. Curriculum Learning: Recognizing that complex tasks are difficult to learn from scratch, the training pipeline gradually increased the proportion of relational instructions.

Key Insights and Results

A critical finding was the failure of "cold starts." Training an agent exclusively on complex instructions resulted in zero learning, as the agent could not simultaneously master object identification and spatial logic.

However, Curriculum Learning acted as a catalyst. By starting with simple instructions and gradually introducing complex ones, the agent was able to "bootstrap" its understanding.

Performance of the agent using a curriculum mixture of 25% simple and 75% complex instructions, showing successful learning for both types over time.

Following the full curriculum, the agent achieved high performance:

  • 0.95 accuracy on simple instructions with 5 objects.
  • 0.86 accuracy on complex instructions with 5 objects.

The inclusion of an LSTM layer in the policy module was also crucial. Because instructions like "left of the red column" are relative to the agent's starting orientation, the agent requires a "memory" of its frame of reference as it moves through the environment.

Limitations and Future Work

The study identified two main failure modes: navigation errors (getting stuck on geometry) and identification errors (navigating to the reference object instead of the target).

A significant limitation is the Frame of Reference problem. Instructions are currently static, based on the agent's view at the start of the episode. If the agent rotates 180 degrees, "left" and "right" are effectively swapped relative to its new orientation. Future work will explore dynamic instruction sets and improved memory architectures to help agents maintain spatial orientation during complex maneuvers.

Summary updated

BibTeX
@misc{jong2021grounding,
  author = {Michiel de Jong and Satyapriya Krishna and Anuva Agarwal},
  title = {{Grounding Complex Navigational Instructions Using Scene Graphs}},
  year = {2021},
  eprint = {2106.01607},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.01607},
}
Figure