Skip to main content
QUICK REVIEW

[Paper Review] Active inference body perception and action for humanoid robots

Guillermo Oliver, Pablo Lanillos|arXiv (Cornell University)|Jun 7, 2019
Embodied and Extended CognitionNeuroscience30 references28 citations
TL;DR

This paper presents the first implementation of an active inference body perception and action model on a real humanoid robot (iCub), using the free energy principle to minimize prediction errors between predicted and observed sensory inputs (visual and proprioceptive). The model enables adaptive, closed-loop reaching and head tracking under sensor noise and model discrepancies, outperforming classical inverse kinematics in accuracy and robustness while maintaining low computational cost.

ABSTRACT

Providing artificial agents with the same computational models of biological systems is a way to understand how intelligent behaviours may emerge. We present an active inference body perception and action model working for the first time in a humanoid robot. The model relies on the free energy principle proposed for the brain, where both perception and action goal is to minimise the prediction error through gradient descent on the variational free energy bound. The body state (latent variable) is inferred by minimising the difference between the observed (visual and proprioceptive) sensor values and the predicted ones. Simultaneously, the action makes sensory data sampling to better correspond to the prediction made by the inner model. We formalised and implemented the algorithm on the iCub robot and tested in 2D and 3D visual spaces for online adaptation to visual changes, sensory noise and discrepancies between the model and the real robot. We also compared our approach with classical inverse kinematics in a reaching task, analysing the suitability of such a neuroscience-inspired approach for real-world interaction. The algorithm gave the robot adaptive body perception and upper body reaching with head object tracking (toddler-like), and was able to incorporate visual features online (in a closed-loop manner) without increasing the computational complexity. Moreover, our model predicted involuntary actions in the presence of sensorimotor conflicts showing the path for a potential proof of active inference in humans.

Motivation & Objective

  • To implement a neuroscience-inspired active inference framework for real-time body perception and action in a humanoid robot.
  • To close the gap between theoretical free energy principles and physical robotics by validating the model on the iCub robot.
  • To demonstrate adaptive, closed-loop sensory fusion that maintains low computational complexity while handling sensor noise and model-actuator discrepancies.
  • To compare the active inference approach with classical inverse kinematics in a real-world reaching task.
  • To explore the potential of active inference in modeling involuntary motor responses, such as those seen in sensorimotor conflicts like the rubber-hand illusion.

Proposed method

  • The model uses variational free energy minimization to infer the robot’s latent body state (e.g., joint angles) by reducing prediction errors between observed and predicted sensory inputs.
  • Perception is updated via gradient descent on the variational free energy bound, integrating visual and proprioceptive signals in a Bayesian-like inference process.
  • Action is generated as a reflexive response to prediction errors, computed by optimizing the same free energy functional to reduce sensory surprise.
  • The algorithm is implemented in a velocity-controlled, time-discretized framework to simplify action computation and ensure real-time performance.
  • Generative models for sensory predictions are derived from forward kinematics, enabling online adaptation without increasing computational load.
  • The framework supports modality-agnostic extension by adding new sensory terms to the free energy summation, enabling flexible sensory fusion.

Experimental results

Research questions

  • RQ1Can active inference based on the free energy principle enable robust, adaptive body perception and action in a real humanoid robot?
  • RQ2How does the model perform under high sensory noise and discrepancies between the robot model and real body dynamics?
  • RQ3Can the active inference framework outperform classical inverse kinematics in reaching accuracy and adaptability?
  • RQ4Does the model predict involuntary motor responses in sensorimotor conflict scenarios, such as the rubber-hand illusion?
  • RQ5Can sensory features be incorporated online in a closed-loop manner without increasing computational complexity?

Key findings

  • The active inference model enabled the iCub robot to perform adaptive upper-body reaching and head object tracking in both 2D and 3D visual spaces under real-time conditions.
  • The algorithm achieved higher reaching accuracy than classical inverse kinematics, particularly under sensor noise and model mismatch.
  • The model maintained constant computational complexity even when incorporating new visual features in a closed-loop manner.
  • The system exhibited involuntary movements toward visual stimuli in sensorimotor conflict scenarios, consistent with predictions of the rubber-hand illusion.
  • Convergence to equilibrium points (e.g., hand-object contact) was observed when prediction errors were minimized, indicating stable, goal-directed behavior.
  • The model successfully reduced discrepancies between the internal model and real observations through free energy optimization, demonstrating robustness to uncertainty and model bias.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.