bioRxiv Science⌕ Search

Biology subjects

Nemati, E.

Publications and source records attributed to Nemati, E..

3 recordsLinked to original sources

Modelling Predictive Coding in the Primary Visual Cortex (V1): Layer 2/3 Circuits for Prediction Error Computation through Compartmentalized Spiking Neurons

Cortical Layer 2/3 has been consistently implicated as the locus of prediction-error signalling in hierarchical models of cortical sensory processing. However, the circuit mechanisms that generate biologically plausible prediction-error (PE) signals remain elusive. A spiking network model is presented here in which two-compartment excitatory pyramidal neurons interact with three inhibitory subtypes: parvalbumin-expressing (PV), somatostatin-expressing (SOM), and vasoactive-intestinal-peptide-expressing (VIP) interneurons, to compute sign-specific prediction errors (positive and negative PEs). Feedforward input targets the soma, whereas top-down feedback reaches the distal apical dendrite, enabling a local somato-dendritic comparison. A PE emerges whenever the balance between excitation and inhibition is selectively disrupted within one compartment, recruiting either positive-error (PE+) or negative-error (PE-) subpopulations of pyramidal neurons. Unlike prior learning-dependent, rate-based accounts, this fixed-weight spiking circuit shows that bidirectional PE signals (PE+ and PE-) can arise online from compartment-specific balance without any synaptic weight updates. The model reproduces key experimental observations, including sparse mismatch responses, compartment-specific inhibition, and VIP-mediated disinhibition. Across four canonical sensory-prediction configurations, the circuit maintains a tight balance during matched input and generates bidirectional PE signals only under mismatch. By routing sensory drive from Layer 4 into Layer 2/3 and allowing the resulting PE activity to project toward deeper feedback generators, the model situates Layer 2/3 as a dedicated, feature-specific mismatch detector within a hierarchical inference network. These results provide a mechanistic bridge from dendritic computation to laminar predictive coding, demonstrating how realistic spiking dynamics can implement fast, sign-specific PE signaling without learning. Author summaryIn this study, we present a biologically grounded spiking model of layer 2/3 in primary visual cortex within the predictive coding framework. Our goal is to explain how superficial cortical circuits compute fast, sign-specific prediction errors when sensory input does not match top-down expectations. The model uses two-compartment pyramidal neurons whose somata receive feedforward drive from layer 4 while apical dendrites receive feedback, together with three key inhibitory interneuron classes, parvalbumin-expressing (PV), somatostatin-expressing (SOM), and vasoactive-intestinal-peptide-expressing (VIP), that provide compartment-specific inhibition and disinhibition. When input and prediction match, excitation and inhibition remain tightly balanced and activity is sparse; when they differ, this balance is transiently broken in the appropriate compartment, and distinct populations signal either a positive error (unexpected presence) or a negative error (unexpected absence). The circuit reproduces several in vivo observations in layer 2/3, including sparse mismatch responses, compartment-specific inhibition, and VIP-mediated disinhibition, and it does so without requiring synaptic weight changes. By routing feature-selective signals from layer 4 into layer 2/3 and relaying the resulting errors toward deeper layers, the model positions layer 2/3 as a local, feature-specific mismatch detector in a hierarchical system. This work provides a concrete, testable mechanism linking dendritic computation, inhibitory diversity, and predictive coding in the cortex.

neuroscience↗

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

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.

neuroscience↗

Balancing Prior Knowledge and Sensory Data in a Predictive Coding Model: Insights into Coherent Motion Detection in Schizophrenia

This study introduces a biologically plausible computational model based on the predictive coding algorithm, providing insights into motion detection processes and potential deficiencies in schizophrenia. The model decomposes motion structures into individual and shared sources, highlighting a critical role of surround suppression in detecting global motion. This biologically plausible model sheds light on how the brain extracts the structure of motion and comprehends shared or coherent motion within the visual field. The results obtained from random dot stimuli underscore the delicate balance between sensory data and prior knowledge in coherent motion detection. Model testing across varying noise levels reveals longer convergence times with higher noise, consistent with psychophysical experiments showing that response duration (e.g., reaction time or decision-making time) also increases with noise levels. The model suggests that an excessive emphasis on prior knowledge extends the convergence time in motion detection. Conversely, for faster convergence, the model requires a certain level of prior knowledge to prevent excessive disturbance due to noise. These findings contribute to potential explanations for motion detection deficiencies observed in schizophrenia.

neuroscience↗