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) requires agents to follow natural language instructions to reach goals in 3D environments. This paper identifies a critical flaw in current evaluation paradigms: agents often "cheat" by taking shortest-path shortcuts to the goal while ignoring the specific instructions provided. To address this, we introduce the Coverage weighted by Length Score (CLS) metric, which rewards adherence to the described path, and the Room-for-Room (R4R) dataset, featuring extended, non-shortest paths. Our results show that training with fidelity-oriented rewards forces agents to rely more heavily on linguistic cues, leading to more robust instruction-following behavior.

Introduction: The "Beeline" Problem

In standard VLN benchmarks like Room-to-Room (R2R), the target destination is typically reached via the shortest possible path. This setup inadvertently encourages agents to become "goal seekers" rather than "instruction followers." An agent can often ignore complex directions—such as "turn left at the sofa"—and simply learn to navigate directly to the most likely goal location.

Figure 1: Comparison of a shortcut (red) vs. instruction-following paths (blue/orange). Standard metrics like SPL reward the shortcut, while CLS penalizes the lack of fidelity.

As illustrated in Figure 1, an agent taking a shortcut (the red path) might achieve a high Success Rate (SR) or Success weighted by Path Length (SPL), despite failing to follow the actual instructions. This masks whether the agent truly understands the language or is merely exploiting the shortest-path bias of the dataset. In such cases, SPL might give a perfect 1.0, while CLS correctly identifies the failure with a much lower score (e.g., 0.23).

Measuring Fidelity with CLS

To move beyond simple goal-reaching metrics, we propose CLS (Coverage weighted by Length Score). This metric evaluates how well an agent’s trajectory aligns with the reference path described in the instructions. It is composed of two primary elements:

  1. Path Coverage (PC): Quantifies the fraction of the reference path visited by the agent.
  2. Length Score (LS): Penalizes trajectories that are significantly longer or shorter than the reference path, discouraging both wandering and excessive shortcutting.

By optimizing for CLS, we can incentivize agents to care about the journey as much as the destination.

The R4R Dataset

To provide a more challenging environment for instruction following, we introduced the Room-for-Room (R4R) dataset. R4R was created by algorithmically concatenating pairs of R2R paths to form longer, "twistier" trajectories that are explicitly not the shortest path between the start and end points. It contains approximately 233k training samples.

Figure 3: Distribution of path characteristics for R2R vs. R4R. R4R paths are significantly longer and involve more discrete steps, making them harder to solve via shortcuts.

As shown in Figure 3, R4R paths are roughly twice as long as those in R2R (averaging 20m vs 10m). Because these paths do not follow the shortest route, an agent that attempts to take a shortcut will deviate significantly from the reference path, making its failure to follow instructions immediately apparent through the CLS metric.

Experimental Results

We modified the Reinforced Cross-Modal Matching (RCM) agent to use CLS as a reward signal during reinforcement learning. This fidelity-oriented training yielded several key insights:

  • Superior Path Following: On the R4R Validation Unseen set, the fidelity-oriented agent achieved a 34.6% CLS, a substantial improvement over the 20.4% achieved by a standard goal-oriented agent.
  • Reduced Navigation Error: Even though the fidelity agent wasn't strictly optimized for shortest distance, its navigation error on R4R dropped from 8.45m to 8.08m.
  • Language Sensitivity: Ablation studies revealed that goal-oriented agents performed almost as well with no instructions as they did with full ones on R4R, proving they were ignoring the text. In contrast, the performance of our fidelity-oriented agent dropped sharply when instructions were removed, indicating it had successfully learned to "listen" to the guidance.

Conclusion

Evaluating VLN agents solely on their ability to reach a goal is insufficient for measuring true language understanding. By introducing the CLS metric and the R4R dataset, we provide the tools necessary to develop and evaluate agents that prioritize instruction fidelity. While a significant gap remains between current models and human performance, focusing on the path taken—not just the final room—is a crucial step toward building agents that can reliably follow complex, real-world instructions.

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