TL;DR
This paper introduces a three-layer hierarchical active inference model that mimics human-like navigation by combining topological mapping with fine-grained motion perception. By organizing reasoning into egocentric, allocentric, and cognitive map levels, the agent achieves efficient, task-agnostic exploration and goal-seeking with significantly lower computational overhead than state-of-the-art reinforcement learning methods.
What Problem Does This Paper Address?
Autonomous navigation remains a "holy grail" in robotics. While deep reinforcement learning (RL) has made strides, it often requires massive amounts of training data, struggles to generalize to new environments, and frequently fails in "aliased" scenarios—where different locations look identical.
Biological agents (like humans and rats) solve this by building hierarchical "cognitive maps." We don't just remember every pixel; we understand how rooms (allocentric places) are connected (topological maps) and how our immediate actions affect our view (egocentric motion). The authors aim to bridge this gap by creating a computational model that uses Active Inference—a framework where agents act to minimize "surprise" or variational free energy—to navigate complex, multi-room environments efficiently.
Methods
The core of the paper is a three-layered hierarchical generative model, where each layer operates at a different spatial and temporal scale:
- Egocentric Model (Bottom Layer): Operates at the finest time scale. It predicts immediate consequences of actions, such as visual changes and collisions. It essentially asks, "If I move forward, what will I see, and will I hit a wall?"
- Allocentric Model (Middle Layer): Operates at a room-level scale. It integrates sequences of egocentric observations to form a belief about the local structure of a "place." It uses a Generative Query Network (GQN) to imagine what a room looks like from unvisited viewpoints.
- Cognitive Map (Top Layer): The coarsest scale. It treats the environment as a topological graph where nodes are distinct locations and edges are the connections between them. It uses a Continuous Attractor Network (CAN) to maintain a global sense of position and orientation.
Navigation is driven by Expected Free Energy (EFE). The agent selects policies that either maximize information gain (curiosity-driven exploration) or satisfy a preference for a specific observation (goal-reaching). This allows the agent to plan long-term paths across multiple rooms by reasoning at the cognitive map level, then executing those plans through the lower layers.
Datasets
The model was trained and evaluated in a MiniGrid environment, a minimalistic gridworld.
- Training: Conducted on 100 distinct environments per room width (ranging from 4 to 7 tiles). The environments consisted of 3x3 room grids connected by aisles and separated by doors.
- Evaluation: Tested on larger, unseen mazes ranging from 9 to 20 rooms to assess scalability and generalization.
Key Insights and Ideas
- Hierarchy Solves Aliasing: By maintaining a global topological map, the agent can distinguish between two identical-looking blue rooms because it knows their unique positions in the graph.
- Task-Agnostic Learning: Unlike standard RL, which requires a specific reward function, this model learns the structure of the world first. Once the map is built, you can give it a "preference" (e.g., "find the white tile") and it can navigate there without further training.
- Computational Efficiency: The hierarchical approach is remarkably lean. While a model like DreamerV3 might require 28GB of memory for similar tasks, this hierarchical AIF model requires only 1GB, making it far more suitable for real-world robotics with limited onboard hardware.
- Built-in Curiosity: Exploration isn't an added "hack"; it emerges naturally from the math of Active Inference as the agent seeks to reduce uncertainty about its environment.
Key Results
The authors compared their model against several RL baselines, including C-BET, DreamerV3, and RND:
- Exploration: The model achieved >90% environment coverage more frequently and faster than most baselines. In a 3x4 room maze, it observed 100% of the environment in 212 steps, compared to 363 steps for C-BET.
- Goal Reaching: It reached the target 89% of the time across all environments, significantly outperforming simpler count-based or curiosity models.
- Zero-Shot Adaptability: The model successfully reconstructed and navigated rooms larger than those it was trained on (e.g., 8-tile wide rooms), demonstrating strong spatial generalization.
Limitations and Future Work
While promising, the model has hurdles to clear before hitting the real world:
- Environment Adaptation: The allocentric model currently needs to be familiar with the general "style" of rooms (e.g., colors and textures) to perform well.
- Dynamic Changes: The system might struggle if the environment changes significantly after the map is built (e.g., a door is moved or a room is repainted).
- Scaling to 3D: The current validation is in 2D gridworlds. The authors suggest moving to more complex 3D simulators like Habitat or Memory Maze as a critical next step.
- Planning Complexity: While the hierarchy helps, evaluating all possible policies can still become slow as the look-ahead horizon increases. Future work could involve more sophisticated pruning of the search space.
Summary updated