Learning for Visual Navigation by Imagining the Success

Mohammad Mahdi Kazemi Moghaddam, Ehsan Abbasnejad, Qi Wu, Javen Shi, Anton van den HengelarXiv 2021

TL;DR

This paper introduces ForeSIT, a novel module for visual navigation agents that learns to "imagine" successful future states. By conditioning navigation policies on these imagined sub-goals, ForeSIT significantly improves task completion rates, especially in complex environments and for longer trajectories, outperforming state-of-the-art methods.

What Problem Does This Paper Address?

Traditional reinforcement learning (RL) approaches to visual navigation often struggle to achieve high success rates, particularly in complex environments or when tasks require longer sequences of actions. These methods tend to learn policies focused on general obstacle avoidance and search, but frequently fail to complete tasks even when the target is visually accessible. A key challenge is the "credit assignment problem" in RL: determining which specific actions in a long sequence were crucial for success, especially when rewards are delayed until task completion. This makes it difficult for agents to learn robust strategies for reaching distant or complex targets.

Methods

The core innovation is the Foresight Sub-goal Imagination (ForeSIT) module. ForeSIT aims to address the limitations of traditional RL by enabling agents to "imagine" a successful future state, or sub-goal, that is likely to lead to task completion.

Here's a breakdown of their approach:

  • Sub-goal Selection: ForeSIT first identifies potential sub-goal states from successful past trajectories. It uses an attention mechanism to pinpoint states that have the highest correlation with achieving the final reward, effectively learning what a "good" intermediate step looks like.
  • Imagination Module (ForeSIT): Once a sub-goal is identified, ForeSIT learns to generate a latent representation of this imagined sub-goal state. This module is trained using a replay buffer of successful trajectories, conditioned on the initial state and the target object.
  • Integration with Policy: The generated imagined sub-goal is then integrated into the agent's navigation policy. This is achieved by conditioning the policy's action selection not only on the current state but also on the imagined future state. To prevent the policy from becoming too deterministic and to encourage exploration, a small amount of Gaussian noise is added to the imagined sub-goal during training, with the noise level adaptively reduced as the agent's success rate improves.
  • Actor-Critic Framework: ForeSIT is integrated into an Asynchronous Advantage Actor-Critic (A3C) algorithm, allowing for efficient, parallel training. A key aspect is the shared recurrent state encoding between the imagination module and the policy, ensuring that the imagined states are directly usable by the navigation policy.

Datasets

The primary environment used for training and evaluation is AI2THOR [13]. This is a simulator that provides photo-realistic indoor environments. The authors use two distinct setups within AI2THOR:

  • First Setup: Follows configurations from [33, 35], featuring a specific list of 20 target objects (e.g., pillow, laptop, garbage can). A trajectory is successful if the agent stops within a 1-meter radius of the target while it's visible.
  • Second Setup: Based on [5], with a modified list of target objects and a slightly relaxed success criterion (1.5-meter radius).

Key Insights and Ideas

  • Imagination as a Credit Assignment Tool: The paper frames "imagination" not just as a generative task, but as a powerful mechanism for solving the credit assignment problem in RL. By predicting a successful future state, the agent gets a clearer signal about what actions are truly beneficial.
  • Sub-goals are Key to Long-Horizon Tasks: The authors hypothesize that for longer navigation tasks, agents tend to forget their objective or get lost in complex visual details. Imagining a sub-goal acts as a "breadcrumb" or intermediate target, helping the agent stay on track.
  • Modularity and Generalizability: ForeSIT is designed as a plug-in module. It can be integrated with various RL algorithms (both adaptive and non-adaptive baselines) without requiring significant modifications to the underlying RL framework or additional environments for training.
  • Latent Space Representation is Sufficient: The experiments suggest that ForeSIT doesn't need to perfectly reconstruct every detail of a future state. Learning a representation in the latent space is sufficient for guiding the navigation policy effectively.

Key Results

  • Significant Performance Improvement: ForeSIT consistently improves performance across various baselines, including state-of-the-art methods like A3C and A3C+MAML.
  • Increased Success Rate (SR): In the AI2THOR benchmark, ForeSIT achieved substantial gains in success rate, with improvements of over 3% on average and even larger gains (over 6%) for longer trajectories.
  • Improved Path Efficiency (SPL): The Success weighted by Path Length (SPL) metric also saw improvements, indicating that ForeSIT helps agents find shorter, more direct paths, reducing futile wandering.
  • Robustness Across Setups: The method demonstrates effectiveness in both AI2THOR setups, suggesting its generalizability to different environmental configurations and object sets.
  • Qualitative Improvements: Figure 3 shows qualitative examples where ForeSIT-equipped agents navigate more intelligently and directly towards targets compared to baseline methods, which often exhibit wandering behavior.

Limitations and Future Work

  • Exploration: The authors acknowledge that while their method improves navigation, they intend to further investigate the role of imagination in enabling better exploration strategies.
  • Learning from Failures: A future direction is to explore how to learn from failures by updating imagined sub-goals that did not lead to success.
  • Computational Cost: While the integration is efficient, training an imagination module alongside a navigation policy adds computational overhead.
  • Imagination Intervals: The paper found that imagining sub-goals at fixed intervals (Ours-INT) led to performance degradation, suggesting that a single, well-chosen sub-goal might be more effective than multiple, potentially conflicting ones.

Summary updated

Abstract

Visual navigation is often cast as a reinforcement learning (RL) problem. Current methods typically result in a suboptimal policy that learns general obstacle avoidance and search behaviours. For example, in the target-object navigation setting, the policies learnt by traditional methods often fail to complete the task, even when the target is clearly within reach from a human perspective. In order to address this issue, we propose to learn to imagine a latent representation of the successful (sub-)goal state. To do so, we have developed a module which we call Foresight Imagination (ForeSIT). ForeSIT is trained to imagine the recurrent latent representation of a future state that leads to success, e.g. either a sub-goal state that is important to reach before the target, or the goal state itself. By conditioning the policy on the generated imagination during training, our agent learns how to use this imagination to achieve its goal robustly. Our agent is able to imagine what the (sub-)goal state may look like (in the latent space) and can learn to navigate towards that state. We develop an efficient learning algorithm to train ForeSIT in an on-policy manner and integrate it into our RL objective. The integration is not trivial due to the constantly evolving state representation shared between both the imagination and the policy. We, empirically, observe that our method outperforms the state-of-the-art methods by a large margin in the commonly accepted benchmark AI2THOR environment. Our method can be readily integrated or added to other model-free RL navigation frameworks.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
AI2-THOR · AI2THOR · First SetupA3C+ForeSITSR36.80split: test · setup=first · success-distance=1 m
Source quote
L182: A3C+ForeSIT\xspace │ 15.23 {± 0.4} │ 36.80 {± 1.1} │ 13.14 {± 0.3} │ 27.55 {± 1.4}
AI2-THOR · AI2THOR · First SetupA3C+ForeSITSR>527.55+6.11 vs baselinesplit: test · setup=first · success-distance=1 m · trajectory-length=>5 steps
Source quote
L182: A3C+ForeSIT\xspace │ 15.23 {± 0.4} │ 36.80 {± 1.1} │ 13.14 {± 0.3} │ 27.55 {± 1.4}
AI2-THOR · AI2THOR · Second SetupA3C+ORG+ForeSITSR68.0+2.7 vs baselinesplit: test · setup=second · success-distance=1.5 m
Source quote
L186: A3C+ORG+ForeSIT\xspace │ 39.41 {± 0.3} │ 68.0 {± 0.6} │ 36.85 {± 0.4} │ 56.11 {± 0.8}
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
AI2-THOR · AI2THOR · First SetupA3C baselineSR33.04split: test · setup=first · success-distance=1 m
Source quote
L180: \textbf{A3C \cite{savn}} │ 14.68 │ 33.04 │ 11.69 │ 21.44
AI2-THOR · AI2THOR · First SetupA3C baselineSR>521.44split: test · setup=first · success-distance=1 m · trajectory-length=>5 steps
Source quote
L180: \textbf{A3C \cite{savn}} │ 14.68 │ 33.04 │ 11.69 │ 21.44
AI2-THOR · AI2THOR · Second SetupA3C+ORG baselineSR65.3split: test · setup=second · success-distance=1.5 m
Source quote
L185: A3C+ORG \cite{tpn_anu} │ 37.5 │ 65.3 │ 36.1 │ 54.8
BibTeX
@misc{moghaddam2021learning,
  author = {Mohammad Mahdi Kazemi Moghaddam and Ehsan Abbasnejad and Qi Wu and Javen Shi and Anton van den Hengel},
  title = {{Learning for Visual Navigation by Imagining the Success}},
  year = {2021},
  eprint = {2103.00446},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.00446},
}
Figure