Cortical circuit implementation of signed deviant detection with positive and negative prediction error neurons
A UCLA team has located the cortical machinery that converts raw sensory input into signed prediction errors, identifying distinct positive and negative PE neurons in mouse somatosensory cortex that together implement a three-tier hierarchical predictive-processing architecture.
The Portera-Cailliau lab combined two-photon calcium imaging in awake mice with an oddball paradigm engineered to decouple stimulus identity from statistical context. Standard oddball designs conflate “novel” with “different,” which makes it impossible to separate sensory-feature encoding from predictability encoding in the recorded responses. The decoupling is the key design move. The team recorded simultaneously from L2/3 pyramidal neurons, bottom-up thalamocortical inputs, and top-down projections from prefrontal cortex into S1 — a triple-stream recording that is technically demanding and rarely attempted in the same preparation.
L2/3 pyramidal neurons co-encode stimulus features and statistical context within the same cells. Two subpopulations emerge: positive PE neurons that subtract the predicted input from the actual sensory drive, and negative PE neurons that perform the inverse operation. Both populations scale their responses with mismatch magnitude across amplitude, direction, and stimulus omission. The omission response is the most informative case — PE neurons fire for missing events, not just unexpected ones, which means these cells are not feature detectors with statistical modulation but genuine error units that respond to the absence of expected input.
The three streams perform distinct transformations on a common signal. Bottom-up thalamocortical afferents behave as unsigned novelty detectors: they fire for surprising inputs but do not sign the error. L2/3 circuits compute the signed PE by combining those inputs with internal predictions. Top-down prefrontal feedback carries a precision-weighted signed error, modulating the gain of the L2/3 signal. This is a clean circuit-level implementation of hierarchical predictive processing, with each level performing a specific operation — novelty detection, signed subtraction, precision weighting — rather than the diffuse “carry prediction errors” treatment that theoretical accounts often assume.
Predictive coding has been a dominant framework in theoretical neuroscience for decades, but mechanistic cortical implementations have remained elusive. This work pins the abstraction to identified cell types and identified projection streams. The implication is that cortex does not merely compute surprise but actively generates signed, precision-scaled error signals capable of driving synaptic updates — a stronger claim than novelty detection alone. The dual signed-error architecture is the specific contribution: a single computational principle that generalizes across stimulus features, including null inputs.
The immediate replication target is other sensory cortices. V1, A1, and primary motor cortex should be tested for the same dual-PE motif to determine whether this is a general cortical principle or an S1 specialization. On the machine-learning side, the architecture maps onto hierarchical generative models with explicit positive and negative error units at each level, and the precision-weighting in top-down feedback suggests a biologically grounded attention mechanism worth importing into artificial networks. A concrete experiment: train a network with explicit dual signed-error units and test whether its learned representations transfer to oddball tasks in the same way L2/3 neurons do. The omission response is the hardest case — any model that handles null inputs gracefully is doing something the field has not yet standardized.