# A Message Passing Realization of Expected Free Energy Minimization

arXiv: https://arxiv.org/abs/2508.02197 · HTML: https://mlsanity.com/paper/2508.02197/

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 39 references that are in the map.
- First posted on arXiv 4 Aug 2025.

## Builds on (most cited first, 13 of 13)

- [Variational Inference: A Review for Statisticians](https://mlsanity.com/paper/1601.00670/) (2016)
- [Reinforcement Learning and Control as Probabilistic Inference: Tutorial and Review](https://mlsanity.com/paper/1805.00909/) (2018)
- [Minigrid & Miniworld: Modular & Customizable Reinforcement Learning Environments for Goal-Oriented Tasks](https://mlsanity.com/paper/2306.13831/) (2023)
- [Active inference on discrete state-spaces: a synthesis](https://mlsanity.com/paper/2001.07203/) (2020)
- [Sophisticated Inference](https://mlsanity.com/paper/2006.04120/) (2020)
- [Reactive Message Passing for Scalable Bayesian Inference](https://mlsanity.com/paper/2112.13251/) (2021)
- [Branching Time Active Inference: the theory and its generality](https://mlsanity.com/paper/2111.11107/) (2021)
- [On efficient computation in active inference](https://mlsanity.com/paper/2307.00504/) (2023)
- [Active Inference as a Model of Agency](https://mlsanity.com/paper/2401.12917/) (2024)
- [Expected Free Energy-based Planning as Variational Inference](https://mlsanity.com/paper/2504.14898/) (2025)
- [What type of inference is planning?](https://mlsanity.com/paper/2406.17863/) (2024)
- [Active Inference for Stochastic Control](https://mlsanity.com/paper/2108.12245/) (2021)
- [Kullback-Leibler control for discrete-time nonlinear systems on continuous spaces](https://mlsanity.com/paper/2203.12864/) (2022)

## Built on by (most cited first, 5 of 5)

- [Active Inference for Physical AI Agents -- An Engineering Perspective](https://mlsanity.com/paper/2603.20927/) (2026)
- [What Type of Inference is Active Inference?](https://mlsanity.com/paper/2606.04935/) (2026)
- [Active Inference is a Subtype of Variational Inference](https://mlsanity.com/paper/2511.18955/) (2025)
- [Sophisticated Policies from Epistemic Priors](https://mlsanity.com/paper/2607.19518/) (2026)
- [Expected free energy as an information constraint on the Bethe Lagrangian](https://mlsanity.com/paper/2608.17167/) (2026)

## Abstract (arXiv)

We present a message passing approach to Expected Free Energy (EFE) minimization on factor graphs, based on the theory introduced in arXiv:2504.14898. By reformulating EFE minimization as Variational Free Energy minimization with epistemic priors, we transform a combinatorial search problem into a tractable inference problem solvable through standard variational techniques. Applying our message passing method to factorized state-space models enables efficient policy inference. We evaluate our method on environments with epistemic uncertainty: a stochastic gridworld and a partially observable Minigrid task. Agents using our approach consistently outperform conventional KL-control agents on these tasks, showing more robust planning and efficient exploration under uncertainty. In the stochastic gridworld environment, EFE-minimizing agents avoid risky paths, while in the partially observable minigrid setting, they conduct more systematic information-seeking. This approach bridges active inference theory with practical implementations, providing empirical evidence for the efficiency of epistemic priors in artificial agents.
