Stay on the Path: Instruction Fidelity in Vision-and-Language Navigation

Vihan Jain, Gabriel Magalhães, Alexander Ku, Ashish Vaswani, Eugene Ie, Jason Baldridge

Abstract

Vision-and-Language Navigation (VLN) agents are typically evaluated on their ability to reach a goal, often ignoring the specific instructions provided. This paper identifies a critical bias in the standard Room-to-Room (R2R) dataset, where shortest-path trajectories allow agents to succeed by ignoring intermediate instructions. To address this, we introduce the Coverage weighted by Length Score (CLS) metric to evaluate path fidelity and the Room-for-Room (R4R) dataset, which features longer, more complex paths. Our findings demonstrate that training with fidelity-oriented rewards leads to agents that better adhere to instructions and exhibit stronger language dependency.

Introduction

In Vision-and-Language Navigation (VLN), an agent must interpret natural language instructions (e.g., "Go down the hall, turn left at the painting, and stop in the kitchen") to navigate a 3D environment. However, the popular Room-to-Room (R2R) benchmark presents a significant challenge: its reference paths are always the shortest possible routes between two points. This design creates a "shortcut" bias where agents can ignore the bulk of an instruction and simply head toward the goal to achieve a high score.

Existing metrics like Success weighted by Path Length (SPL) exacerbate this issue by rewarding efficiency over instruction following. If an agent takes a shortcut that bypasses the instructed path but reaches the goal faster, it receives a higher SPL score. This paper argues that for VLN to be truly effective, the "journey" must matter as much as the destination.

Methods

To shift the focus toward instruction fidelity, we propose a new evaluation framework and training objective.

Coverage weighted by Length Score (CLS)

We introduce CLS as a metric to measure how closely an agent's trajectory matches the reference path. It is defined as the product of Path Coverage (PC) and Length Score (LS). PC measures the extent to which the agent's path covers the reference nodes, while LS penalizes trajectories that are significantly longer or shorter than the reference path, scaled by the achieved coverage.

Metric definitions and desiderata coverage, highlighting the new CLS metric.

Fidelity-Oriented Reward

Beyond evaluation, we use CLS as a reward signal during reinforcement learning. By rewarding agents for staying on the described path, we incentivize them to ground their movements in the full instruction set. We implement this using a Reinforced Cross-Modal Matching (RCM) agent as a baseline, which utilizes an LSTM-based navigator and cross-modal attention to ground instructions in visual observations.

Datasets: R2R and R4R

While R2R is the standard benchmark, its reliance on shortest paths limits its utility for testing instruction following. We introduce Room-for-Room (R4R), created by algorithmically joining pairs of R2R paths where the end of one path was near the start of another. This resulted in 233,613 training samples with paths that are roughly twice as long (~20 meters) and follow more complex, non-shortest trajectories.

Comparison of R2R and R4R dataset distributions across steps, path length, direct-to-goal length, and instruction length.

As shown in the distributions above, R4R significantly increases the complexity of the navigation task, making it impossible to succeed by merely heading straight for the goal.

Key Results and Insights

Our experiments on R4R reveal that fidelity-oriented agents significantly outperform goal-oriented ones in path following. On the R4R "Validation Unseen" set, the fidelity-oriented agent achieved a 34.6% CLS score, compared to only 20.4% for the goal-oriented baseline. Using the CLS reward also reduced navigation error from 8.45m to 8.08m.

A critical insight from our ablation studies is the language dependency of these agents. Goal-oriented agents performed nearly as well when given only the last five words of an instruction, indicating they were mostly ignoring the "journey" descriptions. In contrast, agents trained with the CLS reward showed a massive performance drop when instructions were truncated, proving they actually rely on the language to navigate.

Conclusion

This work highlights the importance of instruction fidelity in VLN. By introducing the CLS metric and the R4R dataset, we provide the tools necessary to move beyond simple goal-seeking behavior. Future work should continue to explore constrained navigation tasks where adhering to the path is a functional requirement, such as avoiding hazards mentioned in the text.

Summary updated

BibTeX
@inproceedings{jain2019stay,
  author = {Vihan Jain and Gabriel Magalhães and Alexander Ku and Ashish Vaswani and Eugene Ie and Jason Baldridge},
  title = {{Stay on the Path: Instruction Fidelity in Vision-and-Language Navigation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  url = {https://openreview.net/forum?id=vdljaOKwO2},
}
Figure