JOURNAL ARTICLE

Simulating Active Inference Processes by Message Passing

Thijs van de LaarBert de Vries

Year: 2019 Journal:   Frontiers in Robotics and AI Vol: 6 Pages: 20-20   Publisher: Frontiers Media

Abstract

The free energy principle (FEP) offers a variational calculus-based description for how biological agents persevere through interactions with their environment. Active inference (AI) is a corollary of the FEP, which states that biological agents act to fulfill prior beliefs about preferred future observations (target priors). Purposeful behavior then results from variational free energy minimization with respect to a generative model of the environment with included target priors. However, manual derivations for free energy minimizing algorithms on custom dynamic models can become tedious and error-prone. While probabilistic programming (PP) techniques enable automatic derivation of inference algorithms on free-form models, full automation of AI requires specialized tools for inference on dynamic models, together with the description of an experimental protocol that governs the interaction between the agent and its simulated environment. The contributions of the present paper are two-fold. Firstly, we illustrate how AI can be automated with the use of ForneyLab, a recent PP toolbox that specializes in variational inference on flexibly definable dynamic models. More specifically, we describe AI agents in a dynamic environment as probabilistic state space models (SSM) and perform inference for perception and control in these agents by message passing on a factor graph representation of the SSM. Secondly, we propose a formal experimental protocol for simulated AI. We exemplify how this protocol leads to goal-directed behavior for flexibly definable AI agents in two classical RL examples, namely the Bayesian thermostat and the mountain car parking problems.

Keywords:
Computer science Inference Free energy principle Artificial intelligence Message passing Protocol (science) Probabilistic logic Prior probability Machine learning Bayesian inference Graphical model Theoretical computer science Bayesian probability Distributed computing

Metrics

38
Cited By
3.57
FWCI (Field Weighted Citation Impact)
60
Refs
0.92
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Embodied and Extended Cognition
Life Sciences →  Neuroscience →  Cognitive Neuroscience
Philosophy and History of Science
Social Sciences →  Arts and Humanities →  History and Philosophy of Science
Gene Regulatory Network Analysis
Life Sciences →  Biochemistry, Genetics and Molecular Biology →  Molecular Biology

Related Documents

BOOK-CHAPTER

A Message Passing Perspective on Planning Under Active Inference

Magnus KoudahlChristopher L. BuckleyBert de Vries

Communications in computer and information science Year: 2023 Pages: 319-327
JOURNAL ARTICLE

A message passing approach to multiagent gaussian inference for dynamic processes

Stefano ErmonCarla P. GomesBart Selman

Journal:   Adaptive Agents and Multi-Agents Systems Year: 2011 Pages: 1277-1278
JOURNAL ARTICLE

Gene-network inference by message passing

A BraunsteinA PagnaniM WeigtR Zecchina

Journal:   Journal of Physics Conference Series Year: 2008 Vol: 95 Pages: 012016-012016
© 2026 ScienceGate Book Chapters — All rights reserved.