Predictive Coding: Why the Brain Is Always Testing Its Expectations
A friend sends you a blurry photograph. At first, the image looks like an unfamiliar arrangement of light and shadow. Then someone tells you it shows a dog behind a fence. Suddenly the dog seems obvious, and it can be hard to recover your earlier view. The pixels have not changed. Your interpretation has. Episodes like this make a central neuroscience question vivid: how do expectations interact with information arriving from the senses?
Predictive coding is a family of computational proposals about how nervous systems might use expectations to interpret incoming signals. Related ideas are often grouped under predictive processing. Popular accounts turn these proposals into a memorable slogan: the brain is a prediction machine. The metaphor is useful, but it can also mislead if it suggests that the brain invents every experience independently of the world or that one computational theory has already explained all perception.
A model of the world, not a copy of it
Sensory input is rich but incomplete. A retinal image changes as the eyes move, objects are partly hidden, and a sound can have several possible sources. Perception requires interpreting noisy, fragmentary signals. Expectations based on context and past experience can help reduce ambiguity. When you read a sentence with a missing letter, context often allows you to recognize the word.
Yet expectations can also bias perception. You may mishear an unfamiliar name as a familiar one or overlook a change because you expect the scene to remain stable. These cases do not mean sensation is irrelevant. They show why a useful account of perception must explain the influence of both incoming evidence and existing knowledge.
What the term “prediction error” means
In a simplified predictive-coding model, higher levels of processing generate expectations about activity at lower levels. Incoming information is compared with what was predicted, and differences can be used to update the model. The discrepancy is called a prediction error. The computational idea is not that neurons make verbal forecasts, but that organized signals may carry information related to expected and unexpected activity.
Consider an ordinary rhythm: tap, tap, tap, pause. Once a pattern is established, a missing tap may be particularly noticeable. Some sensory responses are sensitive to regularities and their violations. Researchers investigate how such responses relate to predictive models, adaptation, and attention. A review evaluating neurophysiological evidence for predictive processing discusses both supporting findings and the difficulty of distinguishing competing explanations.
Why context changes what you see
A shadow on the road may look like a pothole when you are already worried about damage to your car. A face glimpsed in poor light can resemble someone you expect to meet. These are everyday illustrations of interpretation under uncertainty. They do not prove that a particular cortical circuit is implementing a mathematically specified predictive-coding algorithm. Examples make the theory intuitive; experiments must decide how well it fits the data.
Perception is also constrained by sensory reliability. On a bright day, clear visual detail can correct an initial guess quickly. In fog, uncertainty remains greater and expectations may carry more influence. Predictive-processing accounts often discuss the relative weight or precision assigned to sensory evidence and prior expectations. Precision here refers to estimated reliability in a model, not to a mystical sharpening of attention.
From ambiguous images to familiar speech
Vision provides memorable demonstrations because an ambiguous image can switch meaning without changing physically. But hearing offers similar examples. In a noisy conversation, listeners use knowledge of language and topic to infer words that are partly masked. Sometimes this helps communication; sometimes a strong expectation produces a confident mishearing. Our related article on the McGurk effect shows another way that information from different senses changes speech perception.
A recent study of predictive-coding components and auditory false perception examines how prior expectations, sensory signals, and their reliability can be integrated. Such work is valuable precisely because it attempts to test components of a model, rather than merely fitting a metaphor to an interesting illusion.
Prediction is not the same as hallucination
Some simplified descriptions say we only ever experience the brain’s predictions. This phrasing can suggest that external reality has disappeared from the explanation. But predictive models are designed to explain how a biological organism remains responsive to the environment. Sensory evidence can confirm, modify, or contradict expectations. Errors matter because they help the system update when the world does not match the model.
A familiar example is reaching for a cup that turns out to be heavier than expected. Your movement must adjust to the actual physical resistance. A theory that could not account for those corrections would have limited explanatory value. Predictive models do not by themselves establish that the world is illusory or that a person can escape physical constraints by changing beliefs.
Learning, adaptation, and the surprise of repetition
Repeated stimulation often leads to reduced neural or behavioral responses. Predictive coding offers one possible explanation: as events become expected, fewer differences remain between prediction and input. However, sensory adaptation and other mechanisms can also produce reduced responses. Researchers therefore design experiments to separate expectation from repetition where possible.
This is an important caution against overinterpretation. If a tone becomes less noticeable after many repetitions, it would be premature to declare that prediction-error neurons have been isolated. Our article on sensory adaptation explains how responsiveness changes with exposure. Related work on habituation concerns behavioral responses to repeated events, but the two concepts are not identical.
Why an unexpected event can seize attention
When an event violates expectations, it may become especially informative. A new sound, an unusual movement, or an unexpected sentence can redirect attention. This does not mean every surprise is important. A surprising event may be harmless, and a predictable event can be vital. Still, models that link attention with expected reliability and informative discrepancies offer one way to examine these patterns.
For a behavioral perspective, see the orienting response. It describes why novelty often attracts attention. Predictive coding may complement such accounts, but its precise mechanisms and relationship to attention remain research questions. The two vocabularies should not be treated as interchangeable explanations of every distraction.
What brain experiments actually measure
Researchers may use EEG, functional MRI, single-neuron recordings, or behavioral tasks. Each method captures a different aspect of the system. A change in EEG amplitude, for example, does not directly identify a subjective prediction. A brain-imaging pattern can support a model without uniquely proving it. Computational models can fit data for several reasons, and alternative architectures may predict similar results.
A strong experiment asks how the signal should change if expectations change while physical stimuli are held constant, or if stimulus reliability changes while expectations remain similar. The better a study separates these variables, the more informative it becomes. Many popular discussions skip these design problems and jump from an illusion directly to a theory of consciousness.
Does predictive processing explain the sense of self?
Some theorists extend prediction-based frameworks from vision and hearing to bodily states, action, and aspects of self-experience. These extensions are intellectually productive, but claims at different levels need separate evidence. A model that explains one laboratory response does not automatically explain personal identity, agency, or the qualitative nature of experience.
Our article on the minimal self considers the experience of being a subject before an explicit life story is assembled. Predictive accounts may contribute to such debates, but the neuroscience of selfhood remains an active area of inquiry with competing theories and definitions.
A practical experiment with expectations
Choose a harmless ambiguous stimulus, such as a photograph taken through patterned glass. Before reading any description, note what you think it shows. Then ask someone to suggest a different possible interpretation. Observe whether the image seems to reorganize, and whether it becomes difficult to unsee the new interpretation. Do not expect control over the switch; it may not happen. The point is to notice how context can affect interpretation.
Apply the same caution to daily judgments. When an email seems hostile, separate the words actually present from the tone you inferred. Check whether another explanation fits. This is not evidence that you can eliminate perception’s construction, but it may help distinguish observation from expectation. A theory becomes more useful when it encourages careful testing rather than certainty about one’s interpretations.
The promise and limit of an elegant theory
Predictive coding offers a powerful language for linking expectation, uncertainty, sensory evidence, and learning. The same elegance creates temptation: once people know the framework, almost every experience can be explained after the fact as a prediction. To remain scientific, a model must make testable distinctions between outcomes and risk being wrong.
The brain does more than passively receive information, and expectations do shape experience. But the exact mechanisms remain subjects of investigation. The most responsible takeaway is neither that perception is a perfect copy of the world nor that it is unconstrained fantasy. It is an active, evidence-sensitive process whose successes and failures are worth studying. The strongest explanations will ultimately be those that predict specific experimental results and distinguish themselves from competing accounts, rather than simply sounding plausible after an observation.
Questions for a critical reader
When an article attributes a finding to predictive coding, ask whether the researchers changed prior expectations, sensory reliability, or simple repetition. Could attention, adaptation, or decision bias produce a similar result? Does the paper test a specific neural computation or merely use predictive language as interpretation? These questions do not make the theory useless. They help separate an appealing framework from the evidence required to establish it. Predictive processing will remain interesting even if important details change as experiments improve and alternative models become more precise.