Parameter Learning in Active Inference via Variational Message Passing
Benedikt Waldeck
Key points
From the paper's conclusion- We resolve this by giving every factor its own parameter prior, frozen during a rollout.
Abstract
Active inference casts perception, learning and planning as variational inference, where the Expected Free Energy (EFE) defines the planning objective. Recent work showed that EFE minimization can be written as Variational Free Energy (VFE) minimization on a generative model augmented with epistemic priors, and that the resulting entropy-corrected objective is minimized by sum-product message passing (SP-MP) on modified factor functions. These formulations treat model uncertainty as inference over a finite set of known models. We extend them to planning during learning, where beliefs over the observation and transition parameters $\theta_A$, $\theta_B$ are Dirichlet priors. Closed-form Dirichlet updates are usually obtained by a structured mean-field factorization between parameters and states, but under exactly that factorization the information-gain corrections vanish. We resolve this by giving every factor its own parameter prior, frozen during a rollout. Conjugacy then makes each factor belief a product of a marginal over the categorical variables and a one-step Bayes posterior of the parameters. This reintroduces the datum-dependent parameter posteriors that mean-field factorization destroys. We show that evaluating the epistemic priors under the resulting Bethe joint recovers the information gains. Stationarity of this single closed-form objective yields SP-MP whose factor functions are augmented by the information-gain weight. Experiments on two grid POMDPs, in which only a planner that learns the model finds the safe route, show that the method plans to efficiently learn $\theta_A$ and $\theta_B$. It reaches the goal on every episode, whereas SP-MP planners with the same inference update plateau or take the risky route.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Belief-Based Maximum Occupancy Principle and Active InferencearXiv · 2026
- Active inference and artificial reasoning.Nature communications · 2026
- Prediction in action: Toward an empirical science of active inferenceNeuroscience & Biobehavioral Reviews · 2026
- Prior Preferences in Active Inference Agents: Soft, Hard, and Goal Shaping.Neural computation · 2026
- Active inference motion control for autonomous persistent surveillanceDiscover Applied Sciences · 2026
- What Information Buys in Active InferencearXiv · 2026