Transformer-based Localization from Embodied Dialog with Large-scale Pre-training

Meera Hahn, James M. Rehg

TL;DR

This paper introduces LED-Bert, a novel transformer-based model for "Localization via Embodied Dialog" (LED). By leveraging a panoramic navigation graph representation of environments and a large-scale pre-training strategy, LED-Bert significantly outperforms previous methods in helping an agent locate itself based on a dialog with another agent.

What Problem Does This Paper Address?

The paper tackles the challenging problem of "Localization via Embodied Dialog" (LED). Imagine two AI agents: one, an "Observer," is navigating an unknown indoor environment, describing its surroundings in natural language. The other, a "Locator," has a map of the environment and must figure out where the Observer is based solely on the dialog. This is a complex task because it requires the Locator to ground abstract language descriptions to specific spatial locations within a potentially complex, multi-room environment. The existing "Where Are You?" (WAY) dataset, while providing a setting for this, has a relatively small number of episodes, making it difficult to train large transformer models that typically require vast amounts of data. Furthermore, previous approaches used top-down 2D floor maps, which might not be the most effective representation for this task.

Methods

The core contribution is the LED-Bert model, a visiolinguistic transformer adapted from ViLBERT. Key methodological innovations include:

  • Panoramic Navigation Graph Representation: Instead of traditional top-down maps, the environment is represented as a graph of panoramic nodes. Each node captures a first-person view (FPV) of a location, and edges represent traversability between these nodes. This representation is argued to better align with the visual information the Observer agent experiences and potentially facilitate stronger grounding.
  • LED-Bert Architecture: This model is designed to score the alignment between dialogs and navigation graph nodes. It's a dual-stream transformer (one for visual inputs, one for text) that uses co-attention layers to fuse information.
  • Large-Scale Pre-training Strategy: To overcome the data limitations of the WAY dataset, LED-Bert is pre-trained in four stages. This curriculum leverages large-scale, disembodied web data (like English Wikipedia, Conceptual Captions) and other embodied AI tasks (like Room2Room navigation instructions) before fine-tuning on the WAY dataset. This strategy aims to build robust visual and linguistic grounding capabilities.
  • Graph-based Localization: The LED task is reframed as predicting the most likely node in the navigation graph that corresponds to the Observer's location, based on the dialog.

Datasets

  • WAY (Where Are You?) Dataset: This dataset, introduced by Hahn et al. (2020), is used for training and evaluating the LED task. It contains episodes of an Observer navigating and describing its environment while a Locator tries to pinpoint its location via dialog. The paper notes its relatively small size (approx. 6K episodes).
  • Pre-training Datasets:
    • English Wikipedia and BooksCorpus (for language stream pre-training).
  • Conceptual Captions (for visual-linguistic pre-training).
  • Room2Room dataset (for embodied navigation instruction pre-training).
  • Matterport3D environments (used to derive the navigation graph representation).

Key Insights and Ideas

  • Panoramic Nodes Beat Top-Down Maps: The paper hypothesizes and demonstrates that using panoramic navigation graph nodes as the environment representation is more effective for LED than traditional top-down floor maps. This is likely because panoramic views directly capture the visual context an agent experiences, aiding in grounding dialog.
  • Pre-training is Crucial for Small Datasets: The success of transformer models hinges on large-scale data. The proposed multi-stage pre-training curriculum is essential for adapting these powerful models to the relatively small WAY dataset, enabling them to learn effective visiolinguistic representations.
  • Aligning Dialog with Spatial Nodes: The core idea of LED-Bert is to directly model the compatibility between spoken language and specific locations (nodes) in a spatial graph, rather than predicting pixel coordinates on a map. This shift in representation and modeling is key to their improved performance.

Key Results

  • State-of-the-Art Performance: LED-Bert significantly outperforms all baselines on the WAY dataset, achieving improvements in both accuracy and localization error.
  • Accuracy Gains: On the test split, LED-Bert improved accuracy at 0 meters by 8.21 absolute percentage points compared to the best baseline.
  • Human Performance Gap: While LED-Bert is SOTA, there remains a gap between its performance and that of human locators, particularly in novel environments.

Limitations and Future Work

  • Human Performance Gap: The authors acknowledge that their model still lags behind human performance, especially on unseen environments. This suggests that further improvements in generalization and understanding complex spatial reasoning are needed.
  • GNN Pre-training: The paper notes that while Graph Convolutional Networks (GCNs) show some improvement, a straightforward large-scale web-data pre-training schema for GNNs on this task is lacking. Future work could explore this.
  • Generalizability: While the pre-training strategy helps, achieving robust generalization to entirely new environments and dialog styles remains an ongoing challenge.

Summary updated

BibTeX
@inproceedings{hahn2022transformer,
  author = {Meera Hahn and James M. Rehg},
  title = {{Transformer-based Localization from Embodied Dialog with Large-scale Pre-training}},
  booktitle = {AACL/IJCNLP},
  year = {2022},
  url = {https://openreview.net/forum?id=WmvNV7TWJ1},
}
Figure