[Paper Review] General Evaluation for Instruction Conditioned Navigation using Dynamic Time Warping
Introduces nDTW, a normalized Dynamic Time Warping metric for evaluating instruction-conditioned navigation, and SDTW, its success-constrained variant, showing stronger correlation with human judgments and improving RL reward signals on VLN tasks.
In instruction conditioned navigation, agents interpret natural language and their surroundings to navigate through an environment. Datasets for studying this task typically contain pairs of these instructions and reference trajectories. Yet, most evaluation metrics used thus far fail to properly account for the latter, relying instead on insufficient similarity comparisons. We address fundamental flaws in previously used metrics and show how Dynamic Time Warping (DTW), a long known method of measuring similarity between two time series, can be used for evaluation of navigation agents. For such, we define the normalized Dynamic Time Warping (nDTW) metric, that softly penalizes deviations from the reference path, is naturally sensitive to the order of the nodes composing each path, is suited for both continuous and graph-based evaluations, and can be efficiently calculated. Further, we define SDTW, which constrains nDTW to only successful paths. We collect human similarity judgments for simulated paths and find nDTW correlates better with human rankings than all other metrics. We also demonstrate that using nDTW as a reward signal for Reinforcement Learning navigation agents improves their performance on both the Room-to-Room (R2R) and Room-for-Room (R4R) datasets. The R4R results in particular highlight the superiority of SDTW over previous success-constrained metrics.
Motivation & Objective
- Motivate a metric that better captures fidelity to reference trajectories in instruction-conditioned navigation beyond traditional success-based metrics.
- Define and normalize DTW for navigational paths in discrete/continuous environments, ensuring scale/density invariance and interpretability.
- Propose SDTW to combine success with fidelity, and demonstrate human-aligned evaluation and practical RL benefits.
Proposed method
- Adapt DTW to navigation by using environment-distance as the per-step cost.
- Normalize DTW by |R| and a threshold d_th, then apply a negative exponential to obtain nDTW in [0,1].
- Define SDTW = SR * nDTW to capture both success and trajectory fidelity.
- Provide quadratic-time exact computation via dynamic programming, with linear-time approximations possible (e.g., FastDTW via node sampling).
Experimental results
Research questions
- RQ1Does nDTW better correlate with human judgments of path similarity than existing metrics?
- RQ2Can nDTW be effectively used as a reward signal to improve RL agents on VLN tasks?
- RQ3Does SDTW capture both success and fidelity more effectively than prior metrics like SPL, SED, CLS?
- RQ4Is the metric applicable to both graph-based and continuous navigation settings?
- RQ5What is the impact of nDTW/SDTW on Room-to-Room (R2R) and Room-for-Room (R4R) performance?
Key findings
- nDTW and SDTW show substantially higher correlation with human rankings of path pairs than competing metrics in corresponding unconstrained and success-constrained evaluations.
- Using nDTW as a reward signal improves agent performance on R2R and R4R tasks compared to traditional reward schemes.
- SDTW provides a clearer signal for indicating both success and fidelity than SPL, SED, or CLS across evaluated settings.
- InRL experiments, fidelity-oriented rewards based on nDTW yield competitive or superior results across standard VLN metrics.
- nDTW is computable in O(|R||Q|) time exactly and can be approximated in linear time with sampling, enabling scalable evaluation and learning.
- The authors provide human experiments and extensive comparisons demonstrating the advantages of nDTW/SDTW over existing measures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.