Which way is 'right'?: Uncovering limitations of Vision-and-Language Navigation model

Meera Hahn, Amit Raj, James M. Rehg · DOI

Abstract

Vision-and-Language Navigation (VLN) models have achieved significant performance gains on standard benchmarks, yet their actual comprehension of spatial language remains under-explored. This paper investigates whether these models truly follow directional instructions or rely on "shortcuts" like high-dimensional noun-matching. Through systematic ablation and counterfactual testing, we reveal that many top-performing models largely ignore spatial cues. To address this, we propose new training objectives—Spatial Language Loss (SLL) and path shuffling—which force models to ground directional language, resulting in improved generalization and a more robust understanding of navigation instructions.

Introduction

Vision-and-Language Navigation (VLN) requires an autonomous agent to navigate a 3D environment following natural language instructions, such as "Walk past the green sofa and turn right at the piano." While multi-modal Transformer models have pushed benchmark scores to new heights, there is a growing suspicion that these agents are "cheating." In many indoor datasets, environments are visually distinct enough that identifying a specific landmark (like a "piano") often leaves only one logical path, potentially allowing models to bypass the actual semantics of spatial language in favor of simple keyword matching.

Methodology

To determine if models are truly learning spatial semantics, we employ a "diagnostic by destruction" approach. This involves systematically altering the input instructions to observe performance degradation across different linguistic categories.

  1. Ablation via Masking: We mask specific parts of speech—nouns, verbs, adjectives—and spatial terms (e.g., "left", "right", "toward") to quantify their contribution to the model's success.
  2. The "Swap" Test: A counterfactual experiment where directional terms are inverted (e.g., replacing "left" with "right"). A model truly following instructions should see a significant performance drop under these conditions.
  3. Enhanced Training Procedures: We introduce Shuffling (creating hard negatives by reordering path images) and Spatial Language Loss (SLL) (forcing the model to predict masked spatial tokens based on visual paths) to encourage better grounding of directional language.
Figure 1: Examples of the masking and swap strategies used to diagnose model reliance on different linguistic cues.

Datasets

The study primarily utilizes the R2R (Room-to-Room) dataset, alongside linguistic analyses of REVERIE and RxR (Room-Across-Room). These datasets are grounded in the Matterport3D (MP3D) environment, which provides panoramic views of real-world indoor spaces. However, the limited number of training environments (61 in MP3D) may contribute to environment bias, where models memorize layouts rather than learning navigation logic.

Key Insights

  • The Noun Trap: Path-ranking models, which evaluate pre-generated paths, are particularly prone to ignoring directions. Masking "left" and "right" resulted in less than a 2% performance drop, whereas masking nouns caused a massive crash in success rates.
  • The "Swap" Paradox: Alarmingly, for some top models, swapping "left" for "right" actually increased performance slightly, suggesting that directional cues were treated as noise rather than actionable instructions.
  • Sequential vs. Path-Ranking: Sequential models, which decide actions step-by-step, tend to pay more attention to directions but are more susceptible to "cascading errors" where a single wrong turn leads to total failure.

Key Results

Diagnostic tests on models like VLN-BERT and AirBert confirmed they ignore directional cues, showing almost no change in Success Rate (SR) when spatial tokens were masked. However, by implementing Shuffling + SLL, we developed a version of VLN-BERT that achieved a 5% absolute increase in Success Rate on unseen environments.

Figure 3: Success rates across different ablation types. Note the significant performance drop for all models when nouns are masked, compared to the minimal impact of masking spatial or directional words.

Crucially, this improved model demonstrated better linguistic grounding. In the "Swap" test, the Shuffling+SLL model exhibited a 3.19% drop in performance—the largest delta recorded—indicating that it had finally begun to incorporate directional cues into its decision-making process.

Conclusion

The reliance on object-matching shortcuts is a significant hurdle for VLN generalization. Future work should focus on increasing environmental diversity and generating "object-sparse" but "direction-dense" instructions. While programmatic data generation shows promise, capturing the full complexity of human natural language remains a key challenge for developing truly capable navigation agents.

Summary updated

BibTeX
@inproceedings{hahn2023which,
  author = {Meera Hahn and Amit Raj and James M. Rehg},
  title = {{Which way is 'right'?: Uncovering limitations of Vision-and-Language Navigation model}},
  booktitle = {AAMAS},
  year = {2023},
}
Figure