Deep Active Inference for Autonomous Robot Navigation

Ozan Çatal, Samuel Wauthier, Tim Verbelen, Cedric De Boom, Bart DhoedtarXiv 2020

Abstract

Active inference is a theory that underpins the way biological agents perceive and act in the real world. At its core, active inference is based on the principle that the brain is an approximate Bayesian inference engine, building an internal generative model to drive agents towards minimal surprise. Although this theory has shown interesting results with grounding in cognitive neuroscience, its application remains limited to simulations with small, predefined sensor and state spaces. In this paper, we leverage recent advances in deep learning to build more complex generative models that can work without a predefined state space. State representations are learned end-to-end from real-world, high-dimensional sensory data such as camera frames. We also show that these generative models can be used to engage in active inference. To the best of our knowledge, this is the first application of deep active inference for a real-world robot navigation task.

Introduction

Bridging the gap between high-level cognitive theories and the practical complexities of robotics is a major challenge in AI. Active Inference, a framework rooted in neuroscience, posits that biological brains function as inference engines that minimize "surprise" (variational free energy). While theoretically elegant, applying this to real-world robots has been hindered by the difficulty of manually designing state spaces that can handle high-dimensional visual noise. This work presents the first successful application of Deep Active Inference to a physical robot navigation task, enabling an agent to learn its own state representations and navigate by "imagining" future outcomes.

Deep Active Inference Architecture

The core of the approach is a deep generative model that learns a latent belief space from raw pixels. Unlike traditional robotics where states like "position" are hardcoded, this model learns what features matter through interaction.

Schematic of the deep generative model architecture showing the interaction between prior, posterior, and likelihood components.

The architecture consists of three primary components:

  1. Encoder ($q_\phi$): Maps camera frames ($o_t$) into latent belief states ($s_t$).
  2. Decoder ($p_\xi$): Tries to reconstruct the visual observation from the latent state to ensure the representation is accurate.
  3. Transition Model ($p_\theta$): Powered by an LSTM network, this predicts how a state will change ($s_t$) given the previous state ($s_{t-1}$) and a specific action ($a_{t-1}$).

The system is trained to minimize Variational Free Energy, balancing accurate reconstruction of sensory input with the consistency of internal predictions.

Planning through Imagination

Navigation is framed as a quest for homeostasis. The robot is given a "preferred state"—typically a view from the center of a warehouse aisle. Any deviation from this view is perceived as "surprising" or high-energy. To act, the robot simulates potential future trajectories using its transition model. It calculates the Expected Free Energy ($G$) for various action sequences and executes the path that leads to the "least surprising" state matching its preference.

Visual evidence of the generative model's ability to "imagine" future trajectories by hallucinating camera frames.

Experimental Setup

The researchers utilized a Kuka Youbot mobile base equipped with an Intel RealSense camera. The dataset comprised two hours of driving data through warehouse aisles, consisting of raw RGB frames and recorded velocities at 10Hz. Notably, depth data was excluded to evaluate the model's performance using vision alone.

Results and Discussion

The robot demonstrated successful autonomous navigation, maintaining its position in the center of aisles and correctly identifying when to turn. A key finding was the system's robustness to external perturbations; when physically moved off-course, the robot naturally corrected its trajectory to return to its preferred "low-energy" state in the aisle center.

The generative model's success is evident in its ability to "hallucinate" future frames that accurately reflect the physics of the environment. This end-to-end learning allows the robot to identify critical environmental features, such as floor perspective lines, without explicit maps or GPS.

Conclusion

This research proves that the Free Energy Principle can be scaled to handle raw, high-dimensional video data on physical hardware. While currently tested in static warehouse environments, it paves the way for more autonomous agents that can learn their own drives and operate in dynamic, complex settings. By treating navigation as a biological drive for stability, Deep Active Inference offers a path toward robots with more fluid, life-like perception and action.

Summary updated

BibTeX
@misc{catal2020deep,
  author = {Ozan Çatal and Samuel Wauthier and Tim Verbelen and Cedric De Boom and Bart Dhoedt},
  title = {{Deep Active Inference for Autonomous Robot Navigation}},
  year = {2020},
  eprint = {2003.03220},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.03220},
}
Figure