Abstract
End-to-end trained navigation agents are often viewed as reactive black boxes. This study investigates the internal representations of agents trained with realistic physics, revealing that they evolve latent mechanisms for simulating dynamics, maintaining occupancy maps, and performing short-term planning. By applying a dynamical systems approach, the researchers demonstrate that these agents internalize a "prediction-correction" cycle akin to a Kalman filter, significantly improving sim-to-real transfer performance from 0% to over 92% success rate.
Introduction: Bridging the Sim-to-Real Gap
In Embodied AI (EAI), agents are frequently trained in simulators using discrete "teleportation" steps. While efficient for training, this approach fails on physical robots constrained by inertia, friction, and motor delays. To address this, researchers have moved toward training with realistic dynamical models. However, the nature of what these agents actually learn remained opaque. This paper employs a dynamical systems approach to analyze internal representations, moving beyond simple performance metrics to understand the emergent reasoning within end-to-end trained models.
Methodology: Probing the Latent State
The authors trained a navigation agent using Proximal Policy Optimization (PPO) in the Habitat simulator with a realistic motion model. To decode the agent's internal logic, they utilized several analytical techniques:
- Probing: Small neural networks were attached to the frozen agent's GRU hidden state to test if internal memory could predict future positions or reconstruct local occupancy maps.
- Sensitivity Analysis: A "distance to belief" metric was introduced to evaluate how performance degrades when physical environment parameters (like friction) shift versus sensor noise (like odometry).
- Shapley Value Analysis: This game-theoretic approach identified which inputs—RGB, Lidar-like scans, or Odometry—were most critical to success.
- Value Function Visualization: The PPO "critic" was analyzed to see how the agent’s success estimates fluctuated near obstacles, serving as a proxy for long-term planning.
Internal Representations: The Latent Kalman Filter
Analysis revealed that the agents do not merely react; they simulate. Probing showed that the agent's hidden state contains a 3x3 meter occupancy map, allowing it to "remember" obstacles. Furthermore, the agent appears to execute a "prediction-correction" cycle. The internal memory forecasts the robot's future position based on actions (open-loop forecasting) and subsequently uses sensor data to correct those estimates.
Visualizing the value function over time showed sharp spikes and drops corresponding to path feasibility. When a path was blocked, the value dropped; when a new opening was found, it spiked. This suggests the agent possesses a sense of long-term path feasibility without an explicit planning algorithm.
Experimental Results
The study utilized the HM3D dataset for large-scale training and conducted a massive real-world validation involving 262 navigation episodes in a physical office environment.
Key findings include:
- Sim-to-Real Success: The agent trained with realistic dynamics achieved a 92.5% Success Rate (SR) on the real robot, whereas agents trained with discrete steps failed completely (0% SR).
- Precise Dynamics: Probing models predicted the robot's position 6 seconds into the future with a mean error of only 0.76m.
- Input Hierarchy: For PointNav tasks, the agent relies most heavily on odometry and Lidar-like scans, with RGB data being significantly less critical for basic movement.
Conclusion and Future Work
While end-to-end RL can successfully learn local dynamics and mapping, the agents still exhibit "tunnel vision," occasionally missing strategic shortcuts obvious to humans. Future work suggests that while RL handles the "how" of movement, high-level "common sense" navigation may require integration with large-scale geometric foundation models. Additionally, while RGB was less critical for PointNav, it is expected to play a much larger role in semantic tasks like ObjectNav.
Summary updated