Free Energy Principle

Friston's FEP — variational inference and prediction error minimization

Sensory Precision 2.0
Prior Precision 1.0
Learning Rate 0.10
0.00
Free Energy F
0.00
Prediction Error
0.00
KL Divergence
0.00
Surprise

About

The Free Energy Principle (Friston 2006) proposes that all self-organizing biological systems minimize variational free energy F = −⟨log p(o,s)⟩_q + ⟨log q(s)⟩_q = KL[q(s) ‖ p(s|o)] − log p(o), which upper-bounds surprise (negative log-evidence). The brain maintains an internal model q(s) — a recognition density — and minimizes F by updating beliefs to reduce prediction error (perception) or by acting to sample predicted sensory data (action). Here: the world (blue) follows a slow random walk; the agent's belief (orange) tracks it by gradient descent on F, weighted by sensory and prior precision.