NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multimodal VAE Active Inference Controller

Cristian Meo, Pablo Lanillos

Abstract

Active Inference (AIF) offers a biologically inspired framework for adaptive robotic control, yet scaling it to high-dimensional multimodal inputs remains challenging. This paper presents a Multimodal Variational Autoencoder Active Inference (MVAE-AIF) controller that integrates deep generative models with free-energy optimization. By mapping raw visual and proprioceptive data into a shared latent space, the system achieves robust torque control for a 7-DOF robot arm, demonstrating significant adaptability to sensory noise, occlusions, and extreme physical perturbations without manual retuning.

Introduction

Active Inference is a neuroscientific theory suggesting that the brain learns by interacting with the world to build a generative model, constantly acting and perceiving to minimize "surprise" (Bayesian model evidence or free energy). In robotics, AIF is highly attractive because it inherently provides adaptation and robustness.

However, previous AIF robotic controllers have been limited. They either rely strictly on low-dimensional inputs (like joint angles) or, if they do use vision, are restricted to single modalities and simpler velocity control. This work introduces a brain-inspired torque controller for an industrial arm that can fuse high-dimensional raw images with proprioceptive data, maintaining AIF's adaptability while scaling to complex, continuous, real-world-style inputs.

Methodology

MVAE-AIF Architecture

The proposed system marries deep representation learning with the AIF control loop through several key components:

  1. Multimodal VAE (MVAE): The system uses a VAE with two parallel encoders and decoders. It maps raw visual inputs (images) and proprioceptive inputs (joint angles, velocities) into a shared, lightly coupled latent space ($z$).
  2. State Estimation as Inference: Instead of a standard state estimator, the robot updates its internal belief about its state by using gradient descent to minimize Variational Free Energy (VFE). It constantly tweaks its internal state so that the MVAE's predictions match the actual sensory inputs.
  3. Control as Inference: To move, the robot computes torque commands that minimize the prediction error between its current state and its "goal" state. In AIF, a goal is simply a strong prior belief about where the robot should be; the robot moves to make that belief a reality.
The MVAE-AIF architecture showing the integration of active inference with a multimodal variational autoencoder.

Training and Simulation

The authors generated a custom dataset to train the MVAE consisting of 500,000 images (128x128 pixels) and associated joint values. This data was collected via "motor babbling" (random exploratory movements) on a simulated 7-DOF Franka Emika Panda robot arm in the Gazebo simulator.

Key Insights and Robustness

  • Sensory Decoupling: By using parallel decoders, the modalities are not strictly dependent. If visual input is lost (e.g., camera occlusion), the robot seamlessly falls back on proprioception to infer its state.
  • Zero-Shot Physical Adaptation: Standard controllers require careful tuning if physical properties change. Because AIF constantly minimizes prediction errors online, the MVAE-AIF controller can adapt to massive physical changes—such as simulated Jupiter gravity ($24.79 \text{ m/s}^2$)—on the fly without parameter retuning.
  • Mental Rehearsal: The generative nature of the MVAE allows the robot to "imagine" the trajectory to the goal before execution, helping errors converge faster than in purely real-time regimes.

Experimental Results

The MVAE-AIF was tested against a Proprioceptive AIF (PAIF) and the built-in Panda controller (BPC). Under heavy Gaussian noise in joint sensors, MVAE-AIF achieved the lowest Root Mean Square Error (RMSE) and remained stable while the BPC suffered from erratic oscillations. In extreme gravity tests, MVAE-AIF maintained smooth reaching trajectories, whereas baselines struggled with steady-state errors or oscillations.

Temporal performance of the MVAE-AIF controller showing joint goal errors, image reconstruction errors, and perception errors during reaching tasks.

Conclusion

MVAE-AIF demonstrates that combining deep generative models with active inference provides a robust path for high-dimensional multimodal robotic control. While current results are simulation-based, the framework's ability to handle unmodeled dynamics and sensory loss suggests high potential for real-world deployment. Future work will focus on physical robot validation and developing hierarchical AIF schemes for complex, sequential decision-making tasks.

Summary updated

BibTeX
@inproceedings{meo2021multimodal,
  author = {Cristian Meo and Pablo Lanillos},
  title = {{Multimodal VAE Active Inference Controller}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=0QboniCwkih},
}
Figure