You On AI Field Guide · Active Inference The You On AI Field Guide Home
TxtLowMedHigh
CONCEPT

Active Inference

Karl Friston’s account of agency as the complement to perception—where perception updates beliefs to match the world, active inference changes the world to match beliefs, and from this single move curiosity, goal-direction, and the distinction between genuine agents and sophisticated predictors all follow.
Active inference is the step that converts a prediction machine into an agent. In Karl Friston’s framework, free energy—the divergence between an internal model and sensory evidence—can be minimized in two ways. The passive way is perception: update the model to fit the data. The active way is action: generate behavior that makes the data fit the model. Active inference is the second mode, and it is the mode that makes a system an agent in the full sense: a system that acts on the world to bring about states consistent with its expectations, rather than a system that only updates its beliefs about an unchanging world. From this single move, Friston derives goal-directed behavior (actions that minimize expected free energy), curiosity (actions that reduce model uncertainty—epistemic free energy), and the distinction between exploitation and exploration as two modes of the same underlying drive. The implication for contemporary AI is precise: a large language model trained on static data performs passive inference—it updates its output distribution to fit a query, given a fixed generative model. It does not act to resolve uncertainty in a world where it has stakes. This is not a limitation of scale; it is a difference in architecture. Active inference requires a Markov blanket that defines a self, a generative model that extends over actions and their consequences, and a world in which the system’s actions actually change the sensory data it receives.
Active Inference
Active Inference

In the [YOU] on AI Field Guide

The cycle that began with [YOU] on AI argues that what separates a practitioner who grows through AI from one who atrophies is not the quality of their outputs but the quality of their engagement with uncertainty. Active inference names this distinction with mathematical precision. A practitioner who acts to resolve uncertainty—who uses AI to generate richer hypotheses, to probe the edges of their own understanding, to identify the specific questions they cannot yet answer—is performing active inference: using the tool to generate data that will reduce the uncertainty in their own generative model of the domain. A practitioner who uses AI to eliminate the experience of uncertainty is performing passive inference: updating their output beliefs to match the model without developing the generative model itself.

The distinction has consequences that go beyond productivity. Active inference is, in Friston’s account, the computational basis of curiosity: the drive to seek information that will resolve the uncertainty of a self that has stakes in understanding its world. A practitioner who cedes the uncertainty to the tool cedes, in the same move, the condition that makes curiosity functional. The cycle does not argue that AI is the enemy of curiosity; it argues that the default mode of AI use is the enemy of curiosity, and that actively designed workflows can restore the epistemic drive that the default mode removes.

The contrast with K. Anders Ericsson’s framework is instructive. Ericsson specifies the conditions that produce representational development: difficulty, feedback, full concentration at the boundary of capability. Friston specifies the mechanism that makes those conditions necessary: they are the conditions under which active inference updates the generative model, rather than merely the output distribution. The two frameworks converge on the same prescription from different starting points.

Origin

Active inference emerged from Friston’s attempt to give the action loop a principled place in the free energy framework. Early formulations of predictive coding focused on perception: the brain as a hierarchy of prediction machines propagating prediction errors upward and predictions downward. The action problem was the question of how behavior fits into this architecture. Friston’s answer—that motor commands are proprioceptive predictions, and action is the fulfillment of those predictions by moving the body to match them—unified perception and action under the same variational principle for the first time.

The framework was extended from the immediate action loop to planning and decision-making through the concept of expected free energy: the anticipated divergence between the agent’s predictions and its preferred states, evaluated over possible future trajectories. An agent that selects actions to minimize expected free energy will balance two objectives: pragmatic minimization (pursuing states consistent with its preferences) and epistemic minimization (seeking information that will reduce uncertainty in its model). The balance between these two objectives is what Friston identifies as the computational basis of the exploration-exploitation trade-off that is central to both reinforcement learning and animal cognition.

Key Ideas

Action as prediction fulfillment. In active inference, motor commands are not computed outputs but predictions about the proprioceptive consequences of action. The body moves to fulfill these predictions, in the same way that perception updates beliefs to fulfill predictive models of sensory data. This unification means that the brain does not need separate planning and execution modules; it runs a single variational process with perception and action as its two modes.

Expected free energy and the drive to explore. An agent choosing between possible future actions selects the one that minimizes expected free energy: the anticipated divergence between its future states and its preferred states, plus the anticipated uncertainty in its model after those states are experienced. Actions that resolve uncertainty have lower expected free energy, all else equal, which means that curiosity is not an add-on but a built-in consequence of any agent with a sufficiently rich generative model.

The distinction from reinforcement learning. Active inference differs from standard reinforcement learning in that preferences are not external rewards but prior beliefs: the agent acts to occupy states it already expected, rather than to maximize an exogenous score. This gives the framework a different character—one in which what an agent wants is expressed as what it believes will be true of its own future states, and curiosity is the drive to close the gap between what is known and what could be known.

Implications for human-AI collaboration. Active inference implies that the practitioners who develop most through AI engagement are those who use the tool to act on their own uncertainty: to generate hypotheses they could not have generated alone, to explore the edges of their generative model, to seek the data that will resolve the specific uncertainties that constrain their development. This is not the default mode of AI use, which tends toward passive inference: using the model to produce outputs while the practitioner’s own generative model of the domain remains unchanged.

Further Reading

  1. Thomas Parr, Giovanni Pezzulo & Karl Friston, Active Inference: The Free Energy Principle in Mind, Brain, and Behavior (MIT Press, 2022)
  2. Karl Friston et al., “Active Inference: A Process Theory,” Neural Computation 29:1 (2017), pp. 1–49
  3. Karl Friston, “The Free-Energy Principle: A Unified Brain Theory?” Nature Reviews Neuroscience 11 (2010), pp. 127–138
  4. Beren Millidge, Alexander Tschantz & Christopher Buckley, “Whence the Expected Free Energy?” Neural Computation 33:2 (2021), pp. 447–482
Explore more
Browse the full You On AI Field Guide — over 8,500 entries
← Home0%
CONCEPTBook →