Abstract
We introduce a new memory architecture, Bayesian Relational Memory (BRM), to improve the generalization ability for semantic visual navigation agents in unseen environments, where an agent is given a semantic target to navigate towards. BRM takes the form of a probabilistic relation graph over semantic entities (e.g., room types), which allows (1) capturing the layout prior from training environments, i.e., prior knowledge, (2) estimating posterior layout at test time, i.e., memory update, and (3) efficient planning for navigation, altogether. We develop a BRM agent consisting of a BRM module for producing sub-goals and a goal-conditioned locomotion module for control. When testing in unseen environments, the BRM agent outperforms baselines that do not explicitly utilize the probabilistic relational memory structure.
Introduction
Visual navigation in unseen environments remains a fundamental challenge in robotics. While deep reinforcement learning (DRL) agents typically rely on implicit memory (e.g., LSTMs) or explicit spatial maps, they often lack the ability to perform semantic reasoning. Humans navigate unfamiliar buildings by leveraging prior knowledge: if looking for a kitchen, one naturally moves toward a dining room rather than a bedroom because of an internal model of typical house layouts.
Existing navigation models struggle to encode such transferable semantic priors. They often lack a mechanism to update this knowledge dynamically when a specific environment deviates from the norm. This paper addresses these gaps by introducing Bayesian Relational Memory (BRM), which represents environments as probabilistic graphs of semantic concepts.
Methodology
The proposed architecture is hierarchical, separating high-level semantic planning from low-level physical control.
Bayesian Relational Memory (BRM) Module
The core of the system is a Probabilistic Relation Graph. Nodes represent semantic entities (e.g., room types like "kitchen" or "living room"), and edges represent the probability of these rooms being adjacent or "close-by."
- Learning the Prior: During training across hundreds of simulated houses, the agent learns the statistical likelihood of room adjacencies. For example, it learns that a "dining room" is frequently connected to a "kitchen."
- Semantic Classification: The agent uses a CNN-based semantic classifier to identify its current room type from panoramic visual observations ($s_t$).
- Bayesian Updates: In a new test environment, the agent treats its learned prior as a starting point. As it moves, it collects observations (e.g., transitioning from room A to room B). It uses Bayes' rule to update the edge weights in its graph, creating a posterior relation graph tailored to the specific layout of the current house.
- Planning: The agent performs a graph search on this posterior to find the most likely path to the target room. The next node in this path is designated as the current sub-goal ($g_t$).
Locomotion Policy
The low-level control is handled by an LSTM-based locomotion policy. It receives the current visual state and the semantic sub-goal from the BRM module to output discrete movement actions ($a_t$).
Experiments and Results
The model was evaluated in the House3D environment on the RoomNav task. The agent was tasked with finding one of eight target room types in 50 previously unseen test houses.
Key Findings
- Generalization: The BRM agent achieved a 41.1% success rate, significantly outperforming the hierarchical RNN baseline (37.0%).
- Efficiency: The agent demonstrated superior path efficiency, with an SPL (Success weighted by Path Length) of 57.5‰ compared to the baseline's 45.2‰. This indicates that semantic reasoning leads to more direct routes.
- Robustness: As the distance to the target increased, the BRM agent maintained performance while standard DRL policies degraded toward random exploration.
- Bottleneck Analysis: Using an "oracle" locomotion policy with the BRM planner resulted in an 88.6% success rate. This suggests that the high-level semantic planning is highly effective, and further improvements in low-level physical navigation would yield the greatest gains.
Conclusion
Bayesian Relational Memory provides a structured way to incorporate human-like semantic priors into navigation agents. By bridging learned priors with real-time Bayesian updates, the BRM agent can efficiently navigate complex, unseen environments. Future work includes extending the model to handle open-vocabulary semantic concepts and improving the robustness of the low-level locomotion policy.
Summary updated