The Prediction Machine: One idea to explain them all?

Article A0-03

If seeing is partly your brain's guess, how much of the rest of the mind does that same guessing explain?

Explore the idea

In brief

Seeing is a guess the brain builds by combining what it expects with what its senses report, weighting each according to how far it trusts it. That is well supported for perception: a faint, low-contrast pattern looks slower than a bold one moving at the same speed, as a prior for slow movement predicts. Widened into a single principle for the whole mind, the evidence is only modest, and the framework becomes hard to test, because a theory that claims to cover all of thinking leaves nothing outside it to decide which predictions matter.

How to use this

When you hear that the brain predicts its input, separate the claim about perception from the claim about everything. Ask of any fitted result whether the opposite outcome was possible: the stripe model would have failed if faint patterns had looked faster. Where a model can set its priors and its trust in the signal after seeing the data, ask what evidence would count against it, and treat a fit that rules nothing out as a description rather than a test. Check whether brain findings replicated and whether a feedforward model fits them just as well. Ask what narrows the countless predictions the system could make.

What the story is about

Seeing feels like taking in what is in front of you, the way a camera does, but it is closer to guessing. In the nineteenth century Hermann von Helmholtz called it unconscious inference: the brain draws a conclusion about what is out there from the signals reaching the eyes together with what past experience says is likely, and it does this without your noticing (Gregory, 1997). On this view a percept works like a hypothesis in science, an informed guess that can turn out wrong (Gregory, 1980). That is why illusions matter: a wrong guess shows how the guessing is done. The broadest modern version of the idea is predictive processing, the proposal that the brain constantly predicts what its senses will report and corrects itself by the mismatch. Some later scientists have read Helmholtz as an early version of today's probability-based theories of seeing, but that link was drawn after his time and is weak (Westheimer, 2008).

In its modern form the guess has two ingredients. The first is the measurement the senses take right now, and that measurement is always somewhat noisy. The second is a prior: the expectation about what the world is usually like, which the brain brings before the signal arrives. A percept is the two combined, and the approach is called Bayesian because it uses the mathematics of probability to weigh one against the other (Knill and Pouget, 2004). To judge how fast something is moving, for instance, a model needs only two assumptions: measurements are noisy, and slow movements are more common than fast ones (Weiss, Simoncelli and Adelson, 2002). That second assumption is a prior.

When the prior and the measurement disagree, something has to decide how much each one counts. In predictive processing that deciding factor is precision: how far the brain trusts a signal, so that a reliable signal counts for more and a noisy one for less (Feldman and Friston, 2010). People can be seen weighting their own senses this way. When they judge the height of an object they can both see and touch, they lean on whichever sense is more reliable, close to the best possible statistical combination of the two, so vision wins exactly when vision is the steadier sense (Ernst and Banks, 2002). Predictive processing applies the same rule to the contest between a prior and a signal, so when the signal is weak, the prior gets the deciding vote (Feldman and Friston, 2010).

That trust in the signal is what makes a faint pattern look slow. Picture two patches of stripes drifting sideways at exactly the same speed, one in bold black and white, the other in pale grey on slightly paler grey. The faint patch looks slower, because how fast movement looks depends on contrast (Thompson, 1982). The faint patch sends a weak, low-precision signal, so the brain's estimate leans toward its prior, and the prior says most things move slowly (Weiss, Simoncelli and Adelson, 2002). This is more than a story told after the fact. The prior and the noise have been fitted to individual observers from their own judgements, and the model fitted every one of them (Stocker and Simoncelli, 2006). What stayed open was the brain side: in 2004, direct recordings from neurons testing the idea barely existed (Knill and Pouget, 2004).

Priors can also change with experience. The visual system assumes that light comes from above, and it uses that assumption to decide whether a shaded disc is a bump or a dent. Hands-on experience involving touch can shift that assumption, and the shift carries over to a different task (Adams, Graf and Ernst, 2004). So a prior, like the one that slows the faint stripes, is best thought of as an expectation rather than a fixed rule.

Expectations that experience can reset make the brain's guessing machinery flexible, and the idea's supporters have carried it far beyond seeing. In its widest form, predictive processing says the brain is a prediction machine throughout, so that the same cycle of guessing and correcting runs perception, action and attention alike (Clark, 2013; Hohwy, 2013). The framework has two main parts. The narrower part is the one described so far, in which the brain corrects its predictions by the prediction error, the gap between what it expected and what arrived. The wider part, active inference, adds that action also serves to close that gap (Sprevak and Smith, 2023). Philosophers who have mapped the framework point out that what this all-covering theory exactly claims, and how it would deliver on its ambitions, is still unclear (Sprevak, 2024).

However unclear its full content, the framework does make claims about how the brain is wired, and those claims can be checked. If the brain runs on prediction and correction, expectations should change how it responds to what comes in, and it should keep separate signals for what it predicted and for the error. The first claim holds up well: expectations clearly shape how the senses respond, although a significant share of those expectation effects failed to replicate (Walsh et al., 2020). The second claim, that the brain keeps separate signals for predictions and errors, is shakier, because the evidence that the brain keeps those two signals apart is limited (Walsh et al., 2020). The idea that expected things produce smaller brain responses held up only after weeks of learning (Feuerriegel, Vogels and Kovács, 2021). And in one direct test, recordings from monkey and human brains responded almost identically whether a sequence of images went as expected or broke the pattern, although that test covered only predictions about sequences of visual patterns (Solomon et al., 2021).

Taken together, the support for the narrower theory is modest, and some of the positive results fit just as well with simpler feedforward models, in which signals flow one way through the brain and nothing is predicted (Hodson, Mehta and Smith, 2024). The strongest recent support comes from an unexpected tool, AI language models. A language model can estimate how predictable each next sound or word is, so it can be used to ask whether a listener's brain is predicting while they hear a story. So far the answer is that it is, at several levels at once, from speech sounds to meaning (Heilbron et al., 2022), and over both short and longer stretches of speech in a study of 304 people (Caucheteux, Gramfort and King, 2023). These studies show brain activity lining up with predictions, which means the brain anticipates, but they do not show that predicting produced that activity, and they do not test the error signals the theory needs.

When a predicting model and a simpler feedforward one both fit the same brain results, the question becomes what result would count against either of them. A theory is falsifiable when it rules something out, so that some possible evidence could show it wrong, a test we cover in full in theories that test themselves. Bayesian models of the mind were charged with failing this test before predictive processing rose: their priors and other settings can be adjusted after the data are in until the model fits, whatever the data turn out to be (Bowers and Davis, 2012). Predictive processing inherited that charge, and critics add that its models are seldom checked against data and are often offered as just-so stories (Litwin and Miłkowski, 2020), meaning stories that fit whatever happened but rule nothing out. No experiment has yet been devised that could falsify the framework as a whole, and reviews of the brain evidence describe why testing it is hard (Walsh et al., 2020; Hodson, Mehta and Smith, 2024).

A model flexible enough to fit any result has a second weakness, an older objection called the frame problem: how a system knows which of the endless things it could consider matter right now. A prediction engine predicts everything, so something has to pick out which predictions are relevant. The problem bites harder on predictive processing, because a theory that claims to cover all of thinking leaves nothing outside it to do the picking (Reynolds, 2024). This is a philosophical argument rather than a refutation, and a reply from inside the framework exists. Put together with the brain evidence, the critics' case splits the idea in two: a narrow claim about perception that is well supported, and a grand claim about the whole mind whose reach, critics argue, comes from priors and precision that can be set after the data arrive.

Where this leaves us

The faint stripes show the narrow claim at its best. A prior for slow movement and a weak, low-precision signal make a definite prediction: a low-contrast pattern should look slower than a bold one moving at the same speed. If faint patterns had looked faster, that model would have been wrong, so it is an explanation that could have failed. The grand claim is in a different position. The behaviour is well measured, but inside the brain the evidence for the cycle of predicting and correcting by the error is only modest (Hodson, Mehta and Smith, 2024), and critics argue that a framework free to choose its prior and its trust in the signal after the fact could explain fast-looking stripes just as easily as slow-looking ones.

The questions the idea raises beyond the stripes are taken up in other articles. A percept is a guess that can be wrong, which we cover in perception as inference. The widest version says action too reduces the mismatch between expectation and input, which we cover in active inference and free energy. Mismatch also drives learning, which we cover in learning from mismatch, and attention may be the brain setting that precision, which we cover in attention as precision.

References

Adams, W.J., Graf, E.W. and Ernst, M.O. (2004) 'Experience can change the "light-from-above" prior', Nature Neuroscience, 7(10), pp. 1057–1058. https://doi.org/10.1038/nn1312.

Bowers, J.S. and Davis, C.J. (2012) 'Bayesian just-so stories in psychology and neuroscience', Psychological Bulletin, 138(3), pp. 389–414. https://doi.org/10.1037/a0026450.

Caucheteux, C., Gramfort, A. and King, J.-R. (2023) 'Evidence of a predictive coding hierarchy in the human brain listening to speech', Nature Human Behaviour, 7(3), pp. 430–441. https://doi.org/10.1038/s41562-022-01516-2.

Clark, A. (2013) 'Whatever next? Predictive brains, situated agents, and the future of cognitive science', Behavioral and Brain Sciences, 36(3), pp. 181–204. https://doi.org/10.1017/S0140525X12000477.

Ernst, M.O. and Banks, M.S. (2002) 'Humans integrate visual and haptic information in a statistically optimal fashion', Nature, 415(6870), pp. 429–433. https://doi.org/10.1038/415429a.

Feldman, H. and Friston, K.J. (2010) 'Attention, uncertainty, and free-energy', Frontiers in Human Neuroscience, 4, 215. https://doi.org/10.3389/fnhum.2010.00215.

Feuerriegel, D., Vogels, R. and Kovács, G. (2021) 'Evaluating the evidence for expectation suppression in the visual system', Neuroscience & Biobehavioral Reviews, 126, pp. 368–381. https://doi.org/10.1016/j.neubiorev.2021.04.002.

Gregory, R.L. (1980) 'Perceptions as hypotheses', Philosophical Transactions of the Royal Society of London. B, Biological Sciences, 290(1038), pp. 181–197. https://doi.org/10.1098/rstb.1980.0090.

Gregory, R.L. (1997) 'Knowledge in perception and illusion', Philosophical Transactions of the Royal Society of London. Series B: Biological Sciences, 352(1358), pp. 1121–1127. https://doi.org/10.1098/rstb.1997.0095.

Heilbron, M., Armeni, K., Schoffelen, J.-M., Hagoort, P. and de Lange, F.P. (2022) 'A hierarchy of linguistic predictions during natural language comprehension', Proceedings of the National Academy of Sciences, 119(32), e2201968119. https://doi.org/10.1073/pnas.2201968119.

Hodson, R., Mehta, M. and Smith, R. (2024) 'The empirical status of predictive coding and active inference', Neuroscience & Biobehavioral Reviews, 157, 105473. https://doi.org/10.1016/j.neubiorev.2023.105473.

Hohwy, J. (2013) The Predictive Mind. Oxford: Oxford University Press. https://doi.org/10.1093/acprof:oso/9780199682737.001.0001.

Knill, D.C. and Pouget, A. (2004) 'The Bayesian brain: the role of uncertainty in neural coding and computation', Trends in Neurosciences, 27(12), pp. 712–719. https://doi.org/10.1016/j.tins.2004.10.007.

Litwin, P. and Miłkowski, M. (2020) 'Unification by fiat: arrested development of predictive processing', Cognitive Science, 44(7), e12867. https://doi.org/10.1111/cogs.12867.

Reynolds, J. (2024) 'Framing the predictive mind: why we should think again about Dreyfus', Phenomenology and the Cognitive Sciences. https://doi.org/10.1007/s11097-024-09979-6.

Solomon, S.S., Tang, H., Sussman, E. and Kohn, A. (2021) 'Limited evidence for sensory prediction error responses in visual cortex of macaques and humans', Cerebral Cortex, 31(6), pp. 3136–3152. https://doi.org/10.1093/cercor/bhab014.

Sprevak, M. (2024) 'Predictive coding I: Introduction', Philosophy Compass, 19(1), e12950. https://doi.org/10.1111/phc3.12950.

Sprevak, M. and Smith, R. (2023) 'An introduction to predictive processing models of perception and decision-making', Topics in Cognitive Science. https://doi.org/10.1111/tops.12704.

Stocker, A.A. and Simoncelli, E.P. (2006) 'Noise characteristics and prior expectations in human visual speed perception', Nature Neuroscience, 9(4), pp. 578–585. https://doi.org/10.1038/nn1669.

Thompson, P. (1982) 'Perceived rate of movement depends on contrast', Vision Research, 22(3), pp. 377–380. https://doi.org/10.1016/0042-6989(82)90153-5.

Walsh, K.S., McGovern, D.P., Clark, A. and O'Connell, R.G. (2020) 'Evaluating the neurophysiological evidence for predictive processing as a model of perception', Annals of the New York Academy of Sciences, 1464(1), pp. 242–268. https://doi.org/10.1111/nyas.14321.

Weiss, Y., Simoncelli, E.P. and Adelson, E.H. (2002) 'Motion illusions as optimal percepts', Nature Neuroscience, 5(6), pp. 598–604. https://doi.org/10.1038/nn0602-858.

Westheimer, G. (2008) 'Was Helmholtz a Bayesian?', Perception, 37(5), pp. 642–650. https://doi.org/10.1068/p5973.