Abstract
Vision-Language Navigation (VLN) requires agents to execute natural language instructions in complex 3D environments. A primary hurdle in this field is generalization to unseen environments. We present the Contrastive Instruction-Trajectory Learning (CITL) framework, which enhances existing VLN backbones by teaching agents to differentiate between similar and dissimilar instruction-path pairs. CITL utilizes coarse-grained and fine-grained contrastive objectives alongside a pairwise sample-reweighting mechanism. Our approach achieves state-of-the-art results on major benchmarks, significantly improving navigation efficiency and success rates in novel settings.
Introduction
Vision-Language Navigation (VLN) tasks an autonomous agent with navigating a 3D environment based on natural language instructions, such as "Walk past the kitchen, turn left at the sofa, and stop by the fireplace." The core challenge lies in generalization; most existing models learn to follow instructions step-by-step but struggle when placed in a new, "unseen" house. These models often treat each instruction-trajectory pair in isolation, failing to learn from the subtle differences between a correct path and a slightly incorrect one. Furthermore, they frequently ignore the temporal continuity of instructions, leading to brittle navigation policies that break if the agent loses its place in the sequence.
Methodology
The CITL framework is designed to be integrated into existing VLN backbones (e.g., RecBERT or EnvDrop). It introduces three primary components to address the limitations of standard supervised learning in VLN:
- Coarse-grained Contrastive Learning: This module focuses on the relationship between full instructions and full trajectories. To create "positive" samples, the authors use data augmentation, such as back-translating instructions and generating slightly sub-optimal but valid paths. "Negative" samples are either completely different pairs or trajectories that deviate significantly from the goal.
- Fine-grained Contrastive Learning: This addresses temporal continuity by breaking instructions into smaller "sub-instructions." A contrastive loss ensures that sub-instructions that are neighbors in time have similar embeddings, while non-neighbors are pushed apart in the embedding space.
- Pairwise Sample-Reweighting Mechanism: To focus on the most informative data, CITL uses a pair-mining strategy to identify "hard" samples. It employs Circle Loss to dynamically adjust the weights of different pairs during training, preventing the gradient from being dominated by easy, repetitive samples.
To handle the large number of negative samples required for effective contrastive learning without excessive computational cost, the framework implements a Memory Bank to store and reuse representations from previous training batches.
Experimental Results
The model was evaluated on three major VLN benchmarks: R2R (Room-to-Room), R4R (Room-for-Room), and RxR (Room-Across-Room). CITL demonstrated consistent improvements across all benchmarks, particularly in narrowing the performance gap between "seen" and "unseen" environments.
On the R2R benchmark, CITL-enhanced models improved the Success weighted by Path Length (SPL)—a metric balancing accuracy and efficiency—by 2% to 4%. In semi-supervised experiments, CITL-enhanced models trained on only 10% of the data performed nearly as well as baseline models trained on 100% of the data, highlighting the framework's data efficiency.
Conclusion
CITL provides a robust framework for improving VLN generalization by explicitly contrasting optimal trajectories with sub-optimal ones and maintaining temporal awareness through sub-instruction learning. While the quality of contrastive learning is dependent on the data augmentation strategy, the results indicate that learning general navigation principles through contrastive objectives is a powerful alternative to simple imitation. Future work may explore adversarial approaches to generate harder negative samples and the application of these principles to continuous, physics-based environments.
Summary updated