Prior preferences in active inference agents: soft, hard, and goal shaping

Filippo Torresan, Ryota Kanai, Manuel Baltieri
12/2/2025
cs.AIq-bio.NC

No confident code implementation found for this paper.

Abstract

Active inference proposes expected free energy as an objective for planning and decision-making to adequately balance exploitative and explorative drives in learning agents. The exploitative drive, or what an agent wants to achieve, is formalised as the Kullback-Leibler divergence between a variational probability distribution, updated at each inference step, and a preference probability distribution that indicates what states or observations are more likely for the agent, hence determining the agent's goal in a certain environment. In the literature, the questions of how the preference distribution should be specified and of how a certain specification impacts inference and learning in an active inference agent have been given hardly any attention. In this work, we consider four possible ways of defining the preference distribution, either providing the agents with hard or soft goals and either involving or not goal shaping (i.e., intermediate goals). We compare the performances of four agents, each given one of the possible preference distributions, in a grid world navigation task. Our results show that goal shaping enables the best performance overall (i.e., it promotes exploitation) while sacrificing learning about the environment's transition dynamics (i.e., it hampers exploration).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{torresan2025prior,
  title  = {Prior preferences in active inference agents: soft, hard, and goal shaping},
  author = {Filippo Torresan and Ryota Kanai and Manuel Baltieri},
  year   = {2025},
  eprint = {2512.03293},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.03293v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.03293.svg)](https://codeofpaper.com/paper/2512.03293)

Discussion