On the Evaluation of Vision-and-Language Navigation Instructions

Ming Zhao, Peter Anderson, Vihan Jain, Su Wang, Alexander Ku, Jason Baldridge, Eugene Ie

TL;DR

This paper tackles the challenge of evaluating automatically generated navigation instructions for embodied AI agents. The authors demonstrate that standard text-based metrics are poor indicators of instruction quality and introduce a novel "instruction-trajectory compatibility model" that better correlates with human wayfinding success.

What Problem Does This Paper Address?

Vision-and-Language Navigation (VLN) agents are AI systems that follow natural language instructions to navigate 3D environments. To improve these agents, researchers have explored automatically generating navigation instructions. However, the effectiveness of these instruction generators has been poorly understood, largely due to a lack of reliable evaluation metrics. Existing methods often rely on standard text similarity metrics (like BLEU or ROUGE) that don't capture the nuances of visually-grounded instructions, or they require human evaluation, which is expensive and time-consuming. This paper aims to bridge this gap by evaluating current instruction generators with human wayfinders and proposing a new automated metric that correlates well with human performance.

Methods

The core contribution is a novel instruction-trajectory compatibility model. This model uses a dual-encoder architecture:

  • Instruction Encoder: A bi-directional LSTM processes instruction tokens, using contextualized embeddings from BERT.
  • Visual Encoder: A two-layer LSTM processes visual features from a sequence of panoramic images representing a trajectory.

These encoders project instructions and trajectories into a shared latent space. The compatibility score is then calculated as the cosine similarity between the final instruction and trajectory embeddings.

To train this model, the authors employ a combination of:

  • Positive Examples: Ground-truth instruction-trajectory pairs from the R2R dataset, augmented with paraphrased instructions.
  • Hard Negative Mining: This is crucial. They generate negative examples by:
  • Instruction Perturbations: Adversarially modifying existing instructions (e.g., swapping directional words, changing entities, shuffling phrases).
  • Trajectory Perturbations: Modifying the actual navigation paths (e.g., random walks, path reversals, viewpoint swaps).

They also explore different loss functions (cross-entropy, focal loss, contrastive loss) and find that a combination of contrastive and focal loss, along with BERT embeddings and paraphrased instructions, yields the best results.

Datasets

  • Room-to-Room (R2R) dataset: Used for training and evaluating VLN agents and for providing instruction-trajectory pairs. The paper uses the val-seen and val-unseen splits for evaluation.
  • PanGEA: An open-source annotation toolkit used to collect new human wayfinding data and instructions.

Key Insights and Ideas

  • Standard text metrics fail for navigation instructions: Metrics like BLEU, ROUGE, METEOR, and CIDEr are shown to be ineffective for evaluating grounded navigation instructions, as they don't correlate well with human wayfinding success.
  • Human instructors are the gold standard: Even the best automated instruction generators perform on par with or only slightly better than a simple template-based generator and significantly worse than human-written instructions.
  • Instruction perturbations are as important as trajectory perturbations: For training a robust compatibility model, it's crucial to perturb both the instructions and the trajectories to create challenging negative examples. This helps the model learn to distinguish good instructions from bad ones, not just good paths from bad ones.
  • A learned compatibility model is key: The proposed instruction-trajectory compatibility model shows the highest correlation with human wayfinding outcomes, especially when scoring individual instructions. This suggests it can serve as a valuable automated evaluation metric.

Key Results

  • Human wayfinders outperform models: Human instructions achieved the best performance across all path evaluation metrics and subjective quality assessments.
  • Instruction generators are weak: Models like Speaker-Follower and EnvDrop performed surprisingly poorly, often worse than adversarially perturbed human instructions.
  • Compatibility model performance: The best compatibility model achieved a test set AUC of 73.7% for instruction classification, significantly outperforming prior work.
  • Correlation with human judgments:
    • At the system-level, only SPICE showed a decent correlation with human wayfinding outcomes. Standard text metrics and even BERTScore showed little to no correlation.
  • At the instance-level (scoring individual instructions), the proposed compatibility model showed the strongest correlation, performing similarly to an ensemble of three VLN agents.

Limitations and Future Work

  • Out-of-domain systems: The compatibility model struggled to reliably rank systems that were significantly different from the training data (e.g., template-based generators or those using different annotator pools).
  • Transfer Learning: The authors mention they have yet to explore transfer learning for their compatibility model, which could be a future direction.
  • Further improvements in generation: The paper highlights that there's still significant room for improvement in instruction generation, as current models are far from human performance. The developed compatibility model can serve as a reward function or discriminator to drive future progress in this area.

Summary updated

Abstract

Vision-and-Language Navigation wayfinding agents can be enhanced by exploiting automatically generated navigation instructions. However, existing instruction generators have not been comprehensively evaluated, and the automatic evaluation metrics used to develop them have not been validated. Using human wayfinders, we show that these generators perform on par with or only slightly better than a template-based generator and far worse than human instructors. Furthermore, we discover that BLEU, ROUGE, METEOR and CIDEr are ineffective for evaluating grounded navigation instructions. To improve instruction evaluation, we propose an instruction-trajectory compatibility model that operates without reference instructions. Our model shows the highest correlation with human wayfinding outcomes when scoring individual instructions. For ranking instruction generation systems, if reference instructions are available we recommend using SPICE.
BibTeX
@inproceedings{zhao2021evaluation,
  author = {Ming Zhao and Peter Anderson and Vihan Jain and Su Wang and Alexander Ku and Jason Baldridge and Eugene Ie},
  title = {{On the Evaluation of Vision-and-Language Navigation Instructions}},
  booktitle = {EACL},
  year = {2021},
  doi = {10.18653/v1/2021.eacl-main.111},
}
Figure