Predictive coding

Does the model that our brains do bayesian variational prediction make any actual predictions about our 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)? Perhaps this overvew of different brain models will place it in context: Neural Annealing: Toward a Neural Theory of Everything.

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 well-trodden ground— unless I have failed ot understand how they are using the terms, which seems likely. TBC.

If we think there are multiple learning algorithms we find ourselves in a multi agent self situation.

“Free energy principle”

This section is dedicated to vivisecting a confusing discussion happening in the literature which I have not looked in to. It is could be a profound insight, or terminological confusion, or a re-statement of the mind-as-statistical learner idea with weirder prose style. I may return one day and decide which.

In this realm, the “free energy principle” is instrumental as a unifying concept for learning systems such as brains.

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 (e.g. Friston 2010, 2013; Williams 2020). He starts his Nature Reviews Neuroscience 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 that it is a

  • moral obligation, or
  • 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. We do get a definition of free energy itself, with a diagram, which

…shows the dependencies among the quantities that define free energy. These include the internal states of the brain \(\mu(t)\) and quantities describing its exchange with the environment: sensory signals (and their motion) \(\bar{s}(t) = [s,s',s''…]^T\) plus action \(a(t)\). The environment is described by equations of motion, which specify the trajectory of its hidden states. The causes \(\vartheta \supset {\bar{x}, \theta, \gamma }\) of sensory input comprise hidden states \(\bar{x} (t),\) parameters \(\theta\), and precisions \(\gamma\) controlling the amplitude of the random fluctuations \(\bar{z}(t)\) and \(\bar{w}(t)\). Internal brain states and action minimize free energy \(F(\bar{s}, \mu)\), which is a function of sensory input and a probabilistic representation \(q(\vartheta|\mu)\) of its causes. This representation is called the recognition density and is encoded by internal states \(\mu\).

The free energy depends on two probability densities: the recognition density \(q(\vartheta|\mu)\) and one that generates sensory samples and their causes, \(p(\bar{s},\vartheta|m)\). The latter represents a probabilistic generative model (denoted by \(m\)), the form of which is entailed by the agent or brain…

\[F = -<\ln p(\bar{s},\vartheta|m)>_q + -<\ln q(\vartheta|\mu)>_q\]

This is (minus the actions) the variational free energy in Bayesian inference.

OK, so self-organising systems must improve their variational approximations to posterior beliefs? What is the contentful prediction?

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

Actual prediction of predictive coding models

Does predictive coding tell us anything about

Dark room problem

Basically: why do anything at all? Why not just live by self-fulfilling prophecies that guarantee good predictions, but ensuring that essentially nothing happens that requires not-trivial predictions? (Friston, Thornton, and Clark 2012.)

Question: is this a perspective on depression?

Incoming

What does this say about classical therapy, e.g. Acceptance and commitment therapy.

References

Aguilera, Miguel, Beren Millidge, Alexander Tschantz, and Christopher L. Buckley. 2021. How Particular Is the Physics of the Free Energy Principle? arXiv:2105.11203 [q-Bio], May.
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.
Broockman, David, and Joshua Kalla. 2020. When and Why Are Campaigns’ Persuasive Effects Small? Evidence from the 2020 US Presidential Election.” OSF Preprints.
Cao, Robin, Alexander Pastukhov, Stepan Aleshin, Maurizio Mattia, and Jochen Braun. n.d. Binocular Rivalry Reveals an Out-of-Equilibrium Neural Dynamics Suited for Decision-Making.” eLife 10: e61581.
Carhart-Harris, Rl, and Dj Nutt. 2017. Serotonin and Brain Function: A Tale of Two Receptors.” Journal of Psychopharmacology 31 (9): 1091–1120.
Clark, Andy. 2015. Surfing Uncertainty: Prediction, Action, and the Embodied Mind. Illustrated edition. Oxford ; New York: Oxford University Press.
Da Costa, Lancelot, Karl Friston, Conor Heins, and Grigorios A. Pavliotis. 2021. Bayesian Mechanics for Stationary Processes.” arXiv:2106.13830 [Math-Ph, Physics:nlin, q-Bio], June.
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).
Friston, Karl, Christopher Thornton, and Andy Clark. 2012. Free-Energy Minimization and the Dark-Room Problem.” Frontiers in Psychology 3.
Glymour, Clark. 2007. When Is a Brain Like the Planet? Philosophy of Science 74 (3): 330–46.
Heald, James B., Máté Lengyel, and Daniel M. Wolpert. 2021. Contextual Inference Underlies the Learning of Sensorimotor Repertoires.” Nature 600 (7889): 489–93.
Ho, Mark K., David Abel, Carlos G. Correa, Michael L. Littman, Jonathan D. Cohen, and Thomas L. Griffiths. 2022. People Construct Simplified Mental Representations to Plan.” Nature 606 (7912): 129–36.
Kay, Kenneth, Jason E. Chung, Marielena Sosa, Jonathan S. Schor, Mattias P. Karlsson, Margaret C. Larkin, Daniel F. Liu, and Loren M. Frank. 2020. Constant Sub-second Cycling between Representations of Possible Futures in the Hippocampus.” Cell 180 (3): 552–567.e25.
ma, wei jin, Konrad Paul Kording, and Daniel Goldreich. n.d. Bayesian Models of Perception and Action.
Millidge, Beren, Alexander Tschantz, and Christopher L. Buckley. 2020a. Whence the Expected Free Energy? arXiv:2004.08128 [Cs], September.
———. 2020b. Predictive Coding Approximates Backprop Along Arbitrary Computation Graphs.” arXiv:2006.04182 [Cs], October.
O’Connor, Mary-Frances, David K. Wellisch, Annette L. Stanton, Naomi I. Eisenberger, Michael R. Irwin, and Matthew D. Lieberman. 2008. Craving Love? Enduring Grief Activates Brain’s Reward Center.” NeuroImage 42 (2): 969–72.
Parr, Thomas, Dimitrije Markovic, Stefan J. Kiebel, and Karl J. Friston. 2019. Neuronal Message Passing Using Mean-Field, Bethe, and Marginal Approximations.” Scientific Reports 9 (1): 1889.
Tishby, Naftali, Fernando C Pereira, and William Bialek. 2000. The Information Bottleneck Method.” arXiv:physics/0004057, April.
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.

No comments yet. Why not leave one?

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