Building Category Graphs Representation with Spatial and Temporal Attention for Visual Navigation

Xiaobo Hu, Youfang Lin, Hehe Fan, Shuo Wang, Zhihao Wu, Kai Lv

TL;DR

The paper introduces CRG-TSR, a novel framework for visual navigation that helps robots find objects more efficiently by teaching them "common sense" about room layouts. By combining a Category Relation Graph (CRG) to learn object relationships (like microwaves being near sinks) with a Temporal-Spatial-Region (TSR) attention mechanism, the agent can navigate unseen environments with state-of-the-art accuracy and significantly higher sample efficiency.

What Problem Does This Paper Address?

Imagine asking a robot to find a "toaster" in a house it has never seen before. Without prior knowledge, the robot might wander aimlessly into a bedroom or bathroom. Humans, however, use "spatial priors"—we know to head straight for the kitchen and look near the counter.

Existing visual navigation agents often struggle with two things:

  1. Lack of Prior Knowledge: They don't inherently understand that certain objects are usually found together.
  2. Memory Loss: They often "forget" what they saw a few steps ago, leading to inefficient "trial and error" or getting stuck behind obstacles (deadlocks) because they lose track of where the target was relative to their current position.

Methods

The authors propose a two-part solution to bridge this gap:

1. Category Relation Graph (CRG)

The CRG acts as the agent's "world knowledge." During training, the agent learns a global adjacency matrix that represents how different object categories relate to one another spatially.

  • Detection & Depth: It uses DETR for object detection and SARPN for depth estimation to build a graph where nodes are objects and edges are their spatial relationships.
  • Adaptive Learning: Unlike static graphs, this adjacency matrix is updated during training, allowing the agent to refine its understanding of room layouts.

2. Temporal-Spatial-Region (TSR) Attention

Once the agent has this graph, it needs to use it. The TSR architecture processes the observation sequence through three layers:

  • Temporal (T): Captures historical trajectory information, ensuring the agent remembers where it has been.
  • Spatial (S): Uses the CRG to uncover the spatial context of the current observation, helping the agent infer where invisible objects might be based on what it can see.
  • Region (R): Finally, it maps these abstract graph representations back to specific regions in the visual input, focusing the agent's "eyes" on the most promising areas to move toward.

The agent is trained using Reinforcement Learning (A3C), supplemented by a supervised pre-training stage where it learns from an "expert" (Dijkstra’s algorithm) to speed up convergence.

Datasets

  • AI2-THOR: The primary benchmark, featuring near-photo-realistic 3D indoor scenes (bedrooms, kitchens, living rooms, and bathrooms).
  • RoboTHOR: A more complex environment used to test generalization, characterized by partitions (clapboards) that make navigation more difficult.
  • NYU-Depth v2 & ImageNet: Used for pre-training the depth estimation and visual backbone (ResNet18) components, respectively.

Key Insights and Ideas

  • Inference of the Invisible: One of the most powerful "aha moments" is the agent's ability to find hidden targets. If the agent sees a stove, the CRG allows it to infer that a microwave is likely nearby, even if the microwave is currently blocked by a wall.
  • Efficiency via Graphs: By using a category-based graph rather than a raw memory stack, the agent achieves better results in just 2 million episodes, whereas many previous state-of-the-art methods required 6 million.
  • Escaping Deadlocks: Qualitative results show that when the agent encounters an obstacle (like a large table), the TSR mechanism allows it to maintain a "mental map" of the target's location, enabling it to navigate around the obstacle rather than getting stuck in a loop.

Key Results

The CRG-TSR method outperformed existing models across several metrics:

  • Success Rate (SR): Reached 80.0% on AI2-THOR, surpassing the previous best of 79.6% (PONI).
  • Success weighted by Path Length (SPL): Improved to 0.456, indicating not just that the agent finds the object, but that it takes a more direct path.
  • RoboTHOR Performance: In the more challenging RoboTHOR environment, the model outperformed the baseline by a wide margin (16.2 SR vs. the baseline's 3.88 SR), proving its robustness in complex layouts.

Limitations and Future Work

The authors identify a specific "Achilles' heel" for the agent: mirrors.

  • Specular Reflections: In failure cases, the agent often mistook a reflection in a mirror for actual navigable space. It would repeatedly try to walk "into" the mirror to reach an object it saw reflected there.
  • Future Direction: The authors suggest that developing the capability to distinguish specular reflections from real space is a significant challenge for future indoor navigation research. Additionally, the current model focuses on static environments; adapting this to dynamic scenes with moving people or objects remains an open area for exploration.

Summary updated

BibTeX
@article{hu2024building,
  author = {Xiaobo Hu and Youfang Lin and Hehe Fan and Shuo Wang and Zhihao Wu and Kai Lv},
  title = {{Building Category Graphs Representation with Spatial and Temporal Attention for Visual Navigation}},
  journal = {ACM Transactions on Multimedia Computing, Communications, and Applications},
  year = {2024},
  url = {https://openreview.net/forum?id=GF1bDrZWdk},
}
Figure