DGMem: learning visual navigation policy without any labels by dynamic graph memory

Wenzhe Cai, Teng Wang, Guangran Cheng, Lele Xu, Changyin Sun

TL;DR

DGMem (Dynamic Graph Memory) is a framework that allows robots to learn how to navigate new indoor environments using only their own camera and sensors—no human demonstrations or pre-defined maps required. By building a topological graph of its surroundings on the fly, the agent generates its own training rewards and imitation labels, enabling it to master complex navigation tasks in just 250,000 interactions.

What Problem Does This Paper Address?

Training a robot to navigate a home typically requires one of two things: a high-fidelity simulator with perfectly labeled metadata (like occupancy maps and shortest-path planners) or thousands of hours of human-led "teleoperation" demonstrations. Neither is ideal for real-world deployment. Simulators often fail to capture the messy reality of a specific home (the "sim-to-real gap"), and human labeling is prohibitively expensive.

The authors tackle the self-supervised visual navigation problem: How can a robot, dropped into a brand-new house with no prior knowledge, learn to find its way around using only its on-board RGB camera and noisy odometry?

Comparison between simulator-based learning and the proposed self-supervised real-world learning.

Methods

The core innovation is Dynamic Graph Memory (DGMem), a system that serves as both a map for planning and a "teacher" for the navigation policy.

  1. Dynamic Graph Construction: As the robot moves, it builds an undirected graph. Nodes represent unique visual observations, and edges represent traversable paths. To keep the graph efficient, DGMem uses a pre-trained YOLO-v5 model to prioritize images with clear semantic objects and discards redundant or featureless views (like a blank white wall).
  2. Active Exploration: Instead of wandering aimlessly, the agent uses the graph to identify "novel" areas. It calculates a probability for each node based on how rarely it has been visited and sets these under-explored nodes as temporary goals.
  3. Self-Generated Training: This is the "aha" moment. The graph provides two types of feedback:
  4. Reinforcement Learning (RL): The agent receives intrinsic rewards for getting topologically closer to a goal and for visiting new nodes.
  5. Imitation Learning (IL): The graph stores the most efficient trajectories between nodes, which are then used as "expert" demonstrations to fine-tune the policy.
  6. Hierarchical Policy: A high-level planner uses the graph to pick a sequence of subgoals (waypoints), while a low-level local policy executes the actual motor commands to move between them.
The DGMem framework, showing how the graph memory facilitates both global planning and local policy training.

Datasets

The researchers evaluated DGMem using:

  • Habitat Simulator: A high-performance 3D simulator for embodied AI research.
  • Gibson Dataset: They tested on eight photorealistic indoor scenes from this dataset, which vary significantly in layout, size, and furniture placement.
  • GridWorld FourRooms: A simplified discrete environment used for a "didactic example" to visualize exploration behavior.

Key Insights and Ideas

  • The Graph is the Teacher: Most navigation papers use graphs only for planning. DGMem uses the graph to generate labels (rewards and demos) for the neural network, effectively replacing the need for a human trainer.
  • Semantic Filtering Matters: By using object detection to filter nodes, the agent avoids getting "confused" by repetitive or low-information textures, which is a common failure point for visual SLAM systems.
  • Robustness to Noise: Real-world robots have "noisy" sensors. The authors found that even with significant errors in pose estimation, the agent could still navigate effectively because the visual features in the graph nodes provided a reliable anchor for localization.
Visualization of how the graph memory grows and refines itself as the agent explores.

Key Results

DGMem significantly outperformed standard baselines in both exploration efficiency and navigation success:

  • Superior Coverage: In complex multi-room environments, DGMem achieved much higher scene coverage than curiosity-based methods like Random Network Distillation (RND), which tend to get stuck roaming between the same few rooms.
  • Navigation Performance: In the "Nicut" scene, DGMem achieved a 0.75 success rate, vastly outperforming a standard PPO agent (0.07) and even beating an imitation learning agent trained on 500 human demonstrations (0.25).
  • Data Efficiency: The agent acquired a generalizable navigation skill within just 250k interactions, a fraction of the millions of steps usually required for deep RL.
Coverage metrics showing DGMem outperforming curiosity-based baselines across different scenes.

Limitations and Future Work

While powerful, the current implementation has a few drawbacks:

  • Sub-optimal Routing: Because the agent is forced to move through every waypoint in the graph one-by-one, the resulting paths are sometimes less efficient than a direct "beeline" a human might take.
  • Static Planning: The global policy relies on basic path-planning (BFS) on a static graph. The authors suggest that developing a more dynamic, learning-based global policy could further improve performance.
  • Generalization to Other Tasks: Currently focused on "ImageGoal" navigation (find the place in this photo), the authors are interested in how this memory structure could support more complex tasks like object manipulation or long-term semantic reasoning.

Summary updated

BibTeX
@article{cai2024dgmem,
  author = {Wenzhe Cai and Teng Wang and Guangran Cheng and Lele Xu and Changyin Sun},
  title = {{DGMem: learning visual navigation policy without any labels by dynamic graph memory}},
  journal = {Applied Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=jC07n1Nhrp},
}
Figure