Message passing-based inference in an autoregressive active inference agent
Wouter M. Kouw, Tim N. Nisslbeck, Wouter L. N. Nuijten
TL;DR
This work presents an autoregressive active inference agent implemented as message passing on a Forney-style factor graph to perform perception, planning, and learning under unknown dynamics. It derives an expected free energy objective for continuous observations and bounded actions and implements planning as a sequence of 1-step-ahead EFE minimizations linked through a planning graph. Dynamics parameters are learned via conjugate Bayesian updates under a matrix-normal–Wishart prior, with predictive planning expressed through a Laplace-approximated posterior over future observations. In robot-navigation experiments, the MARX-EFE agent achieves lower free energy and ultimately closer positioning to the goal than a standard model-predictive controller, at the cost of slower arrival, illustrating a cautious, model-learning-driven control strategy with distributed, modular inference. Together, the approach demonstrates a scalable, plug-and-play framework for active inference in continuous domains with unknown dynamics.
Abstract
We present the design of an autoregressive active inference agent in the form of message passing on a factor graph. Expected free energy is derived and distributed across a planning graph. The proposed agent is validated on a robot navigation task, demonstrating exploration and exploitation in a continuous-valued observation space with bounded continuous-valued actions. Compared to a classical optimal controller, the agent modulates action based on predictive uncertainty, arriving later but with a better model of the robot's dynamics.
