Predictive coding

Fancy analogy for brains

Maybe related (?) prediction processes. To learn: Is this what the information-dynamics folks are wondering about also, e.g. Ay et al. (2008) or Tishby and Polani (2011)?

There is some interesting hype in this area, along the lines of understanding biological learning as machine learning: Predictive Coding has been Unified with Backpropagation, concerning Millidge, Tschantz, and Buckley (2020b).. I have not read the article or the explanation properly, but at first glance it indicates that perhaps I do not understand this area properly. The assertion, skim-read, seems to be that predictive coding, which I imagined was some form of variational inference, can approximate minimum loss learning by backpropagation in some sense. While not precisely trivial, this would seem like like well-trodden ground— unless I have failed ot understand how they are using the terms, which seems likely. TBC.

Free energy

This term, with an analogous definition to the use in variational inference appears to pop up in a “free energy principle” which AFAICT is some weird phrasing of predictive coding?

Here is the most compact version I could find:

The free energy principle (FEP) claims that self-organization in biological agents is driven by variational free energy (FE) minimization in a generative probabilistic model of the agent’s environment.

The chief pusher of this wheelbarrow appears to be Karl Friston.

He starts his Nature Reviews Neuroscience piece with this statement of the principle:

The free-energy principle says that any self-organizing system that is at equilibrium with its environment must minimize its free energy.

Is that “must” in

  • the sense of moral obligation, or is it
  • a testable conservation law of some kind?

If the latter, self-organising in what sense? What type of equilibrium? For which definition of the free energy? What is our chief experimental evidence for this hypothesis?

I think it means that any right thinking brain, seeking to avoid the vice of slothful and decadent perception after the manner of foreigners and compulsive masturbators, would do well to seek to maximise its free energy before partaking of a stimulating and refreshing physical recreation such as a game of cricket.

What does this mean, precisely? There are dozens of Friston papers with minor variations on the theme and it is not clear where to start. I would recommend the clearer explanation in Millidge, Tschantz, and Buckley (2020a) which summarises many of them and extends some.

See also: the Slate Star Codex Friston dogpile, based on an exposition by Wolfgang Schwarz.


Ay, N., N. Bertschinger, R. Der, F. Güttler, and E. Olbrich. 2008. “Predictive Information and Explorative Behavior of Autonomous Robots.” The European Physical Journal B - Condensed Matter and Complex Systems 63 (3): 329–39.
Clark, Andy. 2015. Surfing Uncertainty: Prediction, Action, and the Embodied Mind. Illustrated edition. Oxford ; New York: Oxford University Press.
Friston, Karl. 2010. “The Free-Energy Principle: A Unified Brain Theory?” Nature Reviews Neuroscience 11 (2): 127.
———. 2013. “Life as We Know It.” Journal of The Royal Society Interface 10 (86).
Millidge, Beren, Alexander Tschantz, and Christopher L. Buckley. 2020a. “Whence the Expected Free Energy?” September 28, 2020.
———. 2020b. “Predictive Coding Approximates Backprop Along Arbitrary Computation Graphs.” October 5, 2020.
Tishby, Naftali, Fernando C Pereira, and William Bialek. 2000. “The Information Bottleneck Method.” April 24, 2000.
Tishby, Naftali, and Daniel Polani. 2011. “Information Theory of Decisions and Actions.” In PERCEPTION-ACTION CYCLE, 601–36. Springer.
Williams, Daniel. 2020. “Predictive Coding and Thought.” Synthese 197 (4): 1749–75.

Warning! Experimental comments system! If is does not work for you, let me know via the contact form.

No comments yet!

GitHub-flavored Markdown & a sane subset of HTML is supported.