MemoNav: Working Memory Model for Visual Navigation

Hongxin Li, Zeyu Wang, Xu Yang, Yuran Yang, Shuqi Mei, Zhaoxiang Zhang

Introduction

In the domain of Image-goal navigation (ImageNav), an autonomous agent is tasked with navigating to a specific location within an unfamiliar environment, guided solely by a single goal image. While modern agents often employ "topological maps"—graph-based representations where nodes denote landmarks and edges represent traversable paths—they frequently encounter two significant bottlenecks that hinder efficiency in complex environments.

First, agents often suffer from information overload. Most current models treat every visited node with equal weight, leading to a proliferation of redundant data. In expansive or intricate layouts, these unnecessary nodes distract the agent, often resulting in circular paths or inefficient backtracking. Second, there is a notable lack of global context. Because node features typically capture only local visual information, agents struggle to form a cohesive "scene-level" understanding of the overall environment layout, making long-range planning difficult.

The MemoNav Architecture

To address these challenges, the authors propose MemoNav, a model inspired by Cowan’s working memory theory in cognitive neuroscience. MemoNav structures the agent's memory into three distinct, interacting layers designed to filter noise and maintain global awareness.

The MemoNav architecture overview, illustrating the flow from visual observations to the working memory generation and policy network.

Memory Layers

  • Short-Term Memory (STM): This serves as the foundational topological map. As the agent explores, it populates the STM with nodes containing local visual features extracted via a ResNet encoder.
  • Selective Forgetting Module: This is the core innovation of MemoNav. The model computes attention scores for every node in the STM relative to the current goal image. Nodes falling below a specific attention threshold are temporarily "forgotten" or masked from the decision-making process. This mechanism forces the agent to prioritize the most relevant landmarks.
  • Long-Term Memory (LTM): To preserve global context, the architecture introduces a "global node" connected to every node in the map. This LTM node continuously aggregates features from the entire STM, learning a high-level representation of the complete scene. This ensures that even when specific nodes are forgotten, the agent retains a sense of the overall spatial structure.
  • Working Memory (WM): A Graph Attention Network (GATv2) fuses the retained STM nodes with the LTM representation. This synthesized Working Memory is the primary input for the policy network, which determines the agent's next action.

Experimental Evaluation

The researchers evaluated MemoNav using two prominent 3D environment simulators: Gibson, utilized for training and testing on "hard" episodes, and Matterport3D (M3D), used to assess the model's cross-dataset generalization capabilities.

Crucially, the study moved beyond standard single-goal tasks by introducing a multi-goal dataset (700 episodes for Gibson, 1008 for M3D). In these scenarios, the agent must reach a sequence of goals, providing a rigorous test of whether the memory model can manage increasing complexity without becoming cluttered over time.

Analysis of Selective Forgetting

A key insight from the study is that forgetting is not a failure but a functional tool for navigation. By pruning the map of redundant nodes, the agent avoids "redundant circles"—the tendency to oscillate between irrelevant but proximal nodes.

Performance differences in Success Rate (SR) and Success weighted by Path Length (SPL) across varying forgetting thresholds for 1-goal to 4-goal tasks.

The authors discovered a significant correlation between task difficulty and the optimal forgetting threshold. As shown in the performance plots, while simple tasks benefit from lower thresholds, complex multi-goal tasks (3 or 4 goals) see performance gains with higher thresholds. This suggests that as the mental map grows larger, the necessity of filtering irrelevant information becomes increasingly critical for maintaining navigational efficiency.

Key Results and Performance

MemoNav established new state-of-the-art benchmarks across several key metrics:

  • Gibson (1-goal): The model achieved a 74.7% Success Rate (SR), a notable improvement over the previous leading model, VGM (70.0%).
  • Multi-goal Efficiency: In 2-goal tasks on Gibson, MemoNav improved the Success weighted by Path Length (SPL) from 17.1% to 20.1%, indicating more direct and efficient trajectories.
  • Qualitative Smoothness: Path visualizations demonstrate that MemoNav produces significantly smoother trajectories with fewer abrupt orientation changes compared to models that attempt to retain all historical map data.

Limitations and Future Directions

While MemoNav represents a significant step forward, several avenues for future research remain. Currently, the forgetting threshold is a fixed hyperparameter; a trainable, adaptive threshold that adjusts to environmental complexity in real-time could offer greater robustness. Additionally, while the model "forgets" nodes during inference, these nodes remain in memory for localization, meaning the raw computational footprint is not yet reduced. Finally, expanding the training data beyond Western-style interiors (Gibson) would help mitigate potential cultural biases in architectural navigation.

Summary updated

BibTeX
@inproceedings{li2024memonav,
  author = {Hongxin Li and Zeyu Wang and Xu Yang and Yuran Yang and Shuqi Mei and Zhaoxiang Zhang},
  title = {{MemoNav: Working Memory Model for Visual Navigation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure