Whence the Expected Free Energy?

Beren Millidge, Alexander Tschantz, Christopher L. Buckley · DOI

Abstract

The Expected Free Energy (EFE) is a central quantity in the theory of active inference. It is the quantity that all active inference agents are mandated to minimize through action, and its decomposition into extrinsic and intrinsic value terms is key to the balance of exploration and exploitation that active inference agents evince. Despite its importance, the mathematical origins of this quantity and its relation to the Variational Free Energy (VFE) remain unclear. In this paper, we investigate the origins of the EFE in detail and show that it is not simply "the free energy in the future". We present a functional that we argue is the natural extension of the VFE, but which actively discourages exploratory behaviour, thus demonstrating that exploration does not directly follow from free energy minimization into the future. We then develop a novel objective, the Free-Energy of the Expected Future (FEEF), which possesses both the epistemic component of the EFE as well as an intuitive mathematical grounding as the divergence between predicted and desired futures.

Introduction

In the framework of Active Inference, agents survive and maintain their integrity by minimizing "surprisal." In the present moment, this is achieved by minimizing the Variational Free Energy (VFE), a tractable proxy for the divergence between an agent's internal model and the actual state of the world. To plan for the future, however, agents are said to minimize the Expected Free Energy (EFE).

The EFE is celebrated for its ability to naturally decompose into two distinct components: extrinsic value (the drive to achieve goals) and epistemic value (the drive to explore and learn). Despite its utility, the mathematical bridge between the VFE (the present) and the EFE (the future) has remained conceptually murky. The standard justification often relies on a reductio ad absurdum: if an agent minimizes free energy now, it must expect to do so in the future. This paper interrogates that assumption, asking whether the EFE is truly the most natural extension of the Free Energy Principle into the future.

Theoretical Framework

This research utilizes the framework of Partially Observed Markov Decision Processes (POMDPs) to compare three distinct mathematical functionals:

  1. Variational Free Energy (VFE): The standard objective for inference and perception in the present.
  2. Free Energy of the Future (FEF): A "naive" extension of the VFE to future time steps. The authors derive this to observe the consequences of simply projecting standard VFE mathematics into future states.
  3. Free-Energy of the Expected Future (FEEF): A novel objective proposed by the authors, defined as the Kullback-Leibler (KL) divergence between a "veridical" generative model (predicting what will happen) and a "biased" generative model (representing what the agent desires to happen).

The Exploration Paradox

A primary finding of this investigation is the "Exploration Paradox." When the VFE is extended naturally into the future to create the FEF, the resulting functional actually discourages exploration. In the FEF, the complexity term remains positive, meaning the agent seeks to minimize information gain to stay as close as possible to its prior beliefs.

This reveals that the EFE is not a direct derivation of the VFE, but rather a "constructed" objective. Mathematically, the EFE is equivalent to the FEF minus the information gain. This suggests that the exploratory drive characteristic of Active Inference is not an emergent property of the Free Energy Principle itself, but is instead manually "baked in" through the specific, non-standard definition of the EFE.

The FEEF Alternative

To resolve this, the authors propose the Free-Energy of the Expected Future (FEEF). This objective frames planning as the act of aligning predictions with desires. The FEEF offers several theoretical advantages:

  • Principled Epistemics: The FEEF shares the exact same "epistemic value" term as the EFE, allowing it to serve as a plug-in replacement in existing models while maintaining a more intuitive mathematical grounding.
  • The Likelihood Bonus: Unlike the EFE, the FEEF includes an additional term that encourages agents to move toward states where outcome uncertainty is higher (maximizing observation entropy). This provides a secondary, distinct exploratory drive.
  • Unified Objective: While the EFE is distinct from the VFE, the FEEF reduces exactly to the VFE when an observation is known. This allows for a single, unified objective for both perception (inference) and action (planning).
  • Mathematical Rigor: The authors prove that while the FEF is a rigorous upper bound on expected surprisal, the EFE is a "shaky" bound that can fluctuate depending on the agent's current uncertainty.

Conclusion and Future Directions

While the FEEF provides a more mathematically consistent foundation for Active Inference, several questions remain. The current work focuses on discrete-time POMDPs, and the relationship between these functionals may differ in the continuous-time domain where the Free Energy Principle was originally formulated. Additionally, the FEEF requires agents to maintain two generative models (veridical and biased), raising questions regarding biological implementation in neural circuits. Future empirical research is required to determine if FEEF-based agents demonstrate superior performance in complex, high-dimensional reinforcement learning environments compared to traditional EFE-based agents.

Summary updated

BibTeX
@article{millidge2020whence,
  author = {Beren Millidge and Alexander Tschantz and Christopher L. Buckley},
  title = {{Whence the Expected Free Energy?}},
  journal = {Neural Computation},
  year = {2020},
  doi = {10.1162/neco\_a\_01354},
}
Figure