Search bioRxiv⌕ Search

bioRxiv · 10.1101/2025.10.20.683584

Modelling Predictive Coding in the Primary Visual Cortex (V1): Layer 4 Receptive Field Properties in a Balanced Recurrent Spiking Neuronal Network

Abstract

Understanding how the cortex encodes sensory input in a biologically efficient and computationally robust manner remains a central question in neuroscience. Predictive coding offers a compelling theoretical framework for such cortical processing, but existing models lack the biological detail to fully explain the function of the cortical microcircuits. This study introduces a spiking neural network model of layer 4 of the primary visual cortex (V1), grounded in predictive coding principles, to clarify how the thalamorecipient layer transforms feedforward input into prediction-error-like signals under realistic excitatory-inhibitory constraints and to yield testable circuit-level predictions. The model integrates structured feedforward input, distinct excitatory and inhibitory populations, and balanced lateral connectivity to simulate spontaneous and stimulus-driven activity. Network responses are systematically examined under spatially unstructured noise input and structured grating stimuli. Neural membrane potentials encode real-time reconstruction errors between external input and internal estimates, with spikes dynamically correcting these mismatches. The network reproduces hallmark in vivo features, including irregular spontaneous activity, sparse and selective responses, and emergent orientation and phase tuning. Excitatory-Inhibitory (E-I) balance was maintained across conditions, with inhibitory neurons exhibiting tighter input coupling than excitatory neurons. Furthermore, the network exhibited contrast-dependent modulation of firing rates and E-I balance, dynamically adjusting its activity to changes in input strength. Decoding analyses demonstrates that structured inputs can be robustly reconstructed under moderate noise levels, although decoding fidelity declines sharply under severe corruption. Together, these results suggest that cortical layer 4 may serve as a structured sensory encoding stage in a hierarchical predictive coding system, providing a biologically grounded foundation for modeling prediction error computations in higher cortical areas. Author summaryIn this Study, we present a biologically grounded spiking neural network model of layer 4 of the primary visual cortex, built within the predictive coding framework. The aim is to better understand how this early cortical layer encodes sensory information while maintaining realistic neural dynamics. Many predictive coding models focus on higher cortical layers 2/3 and overlook layer 4s role. To address this, we develop here a network that integrates structured feedforward input via Gaborfiltered receptive fields, distinct excitatory and inhibitory populations, and fixed lateral connectivity, all adhering to Dales law. The model reproduces several in vivo features observed in layer 4 of the visual cortex, including sparse, irregular spiking, emergent orientation and phase tuning, and contrast-dependent firing. Notably, excitation and inhibition are dynamically balanced across input conditions without requiring synaptic learning. We also show that decoding performance remains robust under moderate noise levels, supporting that layer 4 provides a stable sensory foundation for higher-level prediction. This model offers a biologically realistic implementation of prediction error computation and sets the stage for hierarchical extensions that include feedback and learning. Overall, this work provides insights into how structured sensory representations and balance emerge in cortical microcircuits through architecture alone.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Nemati, E., Davey, C., Meffin, H. N., Burkitt, A. N.. 2025-10-21. Modelling Predictive Coding in the Primary Visual Cortex (V1): Layer 4 Receptive Field Properties in a Balanced Recurrent Spiking Neuronal Network. https://doi.org/10.1101/2025.10.20.683584

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Same Movements, Different Skills: How Context Shapes Learning in Humans and Neural Networks

What determines whether experiences are integrated into shared representations or split? Motor skill learning offers a revealing test: when two tasks require an identical sequence of movements, both intuition and theory suggest that practice in one should generalize to the other. Yet we find that changing context can make identical movements different skills. In simple recurrent networks trained on the same sequence across contexts, splitting was greatest when strong contextual inputs coincided with a high initial weight scale; neither alone sufficed. Greater representational separation coincided with separate context-specific learning curves. Humans practicing the same finger sequence while alternating between two performance-irrelevant contexts likewise exhibited context-specific curves, rather than the single continuous trajectory observed when practicing in a single context. State-space modeling favored split learning states in humans and very weakly coupled states in the most context-dependent networks. These findings have broader implications for understanding how learning generalizes across contexts.

neuroscience↗

Postpartum resource scarcity reshapes maternal care, offspring prioritization, and the steroid-sensitive medial preoptic area

Parental care requires balancing offspring needs with environmental constraints, yet how resource scarcity alters the organization of maternal responses remains poorly understood. Here, we examined maternal behavior, offspring prioritization, and steroid receptor-associated extracellular matrix organization in postpartum rats exposed to limited bedding and nesting (LBN) or control conditions with ample nesting materials. LBN increased pup-directed and reduced self-directed behaviors but also increased behavioral entropy, a measure of behavioral fragmentation, indicating less predictable caregiving sequences. LBN dams preferentially retrieved male pups first, whereas control dams preferentially retrieved females first. LBN also increased the proportion of pup-investigation time directed toward males compared with controls. In offspring on postnatal day 10, corticosterone was elevated in female but not male LBN pups, a pattern that paralleled the maternal male bias. To identify associated neurobiological changes, we assessed steroid receptors and extracellular matrix organization in the medial preoptic area (mPOA), a key region for maternal behavior. LBN increased numbers of estrogen receptor (ER)- and androgen receptor (AR)-immunoreactive cells, reduced perineuronal net (PNN) abundance, and decreased receptor-positive cell enwrapment. Because PNNs constrain structural plasticity, these findings suggest that the postpartum environment alters the organization of steroid receptor-associated extracellular matrix, potentially modulating experience-dependent plasticity in neurosteroid-sensitive circuits. In sum, LBN increases the levels of maternal engagement while reshaping its temporal organization and allocation, accompanied by selective remodeling of steroid-sensitive preoptic architecture. Therefore, maternal adaptation to adversity may be better understood as changes in caregiving allocation strategies rather than a simple gain or loss of maternal care.

neuroscience↗

The Computational Grammar of Human Behaviour in a Biological Environment

Human behaviour unfolds as an extended stream of spontaneous actions shaped by environmental demands and the agent's goals. The organisation of these actions, situated between setting abstract goals and concrete movement execution, remains poorly characterised. Here, we introduce DynaClade, an unsupervised temporal action segmentation algorithm for human full-body motion capture data, and apply it to freely moving participants navigating ecologically realistic risky foraging environments in virtual reality. DynaClade identifies discrete actions whose kinematic characteristics and spatial distributions correspond to environmental affordances, supporting the validity of the approach. Among these actions, we discovered a hitherto undescribed movement pattern defined by increased body sway without locomotion. Action sequences were highly non-random and showed clear history dependence beyond first-order Markov structure, most of which was explained by a second-order prediction. This higher-order structure was well captured in a hidden Markov model, in which some of the observed actions were associated with more than one latent state. Each of these latent states corresponded to the same action in a distinct action context. These findings suggest that spontaneous human actions are predominantly selected based on the current action and context, rather than following pre-planned or habitually assembled sequences.

neuroscience↗