Computational Neuroscience

The Laminar Neural Mass Model (LaNMM) and neurotwins — linking circuit-level mechanisms to EEG/MEG biomarkers across health, disease, and altered consciousness.

Introduction

The Laminar Neural Mass Model (LaNMM) is a computational framework developed to link circuit-level mechanisms to EEG/MEG biomarkers across various brain states, encompassing healthy function, disease, and altered consciousness.

Foundational Work

LaNMM Framework (2019, 2022):

These studies introduced a physics-grounded neural mass model capable of generating both alpha/beta and gamma oscillations across cortical layers. The model embeds synaptic sources into a spatially layered medium, enabling simulation of laminar LFPs and their spectral features.

Unifying Review (2026):

  • The Rosetta Stone of Neural Mass Models (Physics Reports) · arXiv · Interactive companion site
    Abstract summary: Builds the major neural mass models — from the harmonic and Stuart–Landau oscillators through Wilson–Cowan and Jansen–Rit to the exact mean-field Montbrió–Pazó–Roxin model — as rungs of a single ladder grounded in the push–pull loop between excitatory and inhibitory populations, with each rung presented in isolation, under forcing, and in whole-brain networks.

Key Insights

  • Alpha/beta (slow/fast) rhythms are generated in deep layers, while gamma rhythms originate in superficial layers.
  • The model's structure allows for the simulation of realistic depth-resolved LFP, bipolar LFP, and CSD, aligning with experimental macaque data and uncovering oscillatory origins.

Applications of LaNMM

Alzheimer's Disease (AD) Study (2025)

This study simulates fast interneuron (PV+) dysfunction and later-stage pyramidal cell loss, reproducing AD's biphasic M/EEG trajectory: early hyperexcitability (↑gamma, ↑alpha), followed by slowing and hypoactivity.

Mechanistic Findings:

  • Aβ oligomers impair PV+ interneurons leading to disinhibition and hyperactivity.
  • Subsequent tau pathology affects pyramidal neurons, resulting in hypoactivity.
  • PV+ dysfunction alone explains early-phase EEG biomarkers, but tau-induced hypoactivity is necessary to match reduced firing/metabolism in advanced stages.

Clinical Relevance:

The model suggests PV+ cells as therapeutic targets and EEG spectral changes as early-stage biomarkers, bridging molecular pathology and mesoscopic dynamics.

Psychedelics and AD (2024)

In this study, LaNMM is embedded in whole-brain models personalized to AD patients. Activation of 5-HT2A receptors (mimicking psychedelics) increases excitability in L5 pyramidal cells, counteracting AD-related oscillatory deficits.

Restoration of Dynamics:

  • Decreased alpha power (reduces hypersynchrony)
  • Increased gamma power (restores PV-related processing)
  • Increased entropy/complexity (a proxy for cognitive flexibility)

Spatial Specificity:

Spectral changes correlate with PET-derived 5-HT2A receptor distributions, suggesting that psychedelics could restore oscillatory dynamics in AD via targeted circuit modulation.

Prediction Error and Cross-Frequency Coupling (CFC) (2025)

This paper proposes that LaNMM supports biologically plausible comparator functions via cross-frequency coupling (CFC), enabling local prediction error evaluation in predictive coding.

Key Mechanisms:

  • Signal-Envelope Coupling (SEC): Low-frequency rhythms modulate the amplitude of fast oscillations (PAC-like).
  • Envelope-Envelope Coupling (EEC): Slow envelopes modulate fast envelopes, allowing gating and precision weighting (analogous to Kalman gain).

Comparator Disruption Across Conditions:

  • In AD: Interneuron loss disrupts CFC, leading to inflated early prediction errors and their later suppression.
  • In Psychedelics: Increased gain weakens prediction precision, resulting in "relaxed beliefs" and increased error signaling.

Comparator Hypothesis:

CFC in LaNMM instantiates the analog version of the hierarchical XOR-like error computation central to predictive coding and the Kolmogorov Theory (KT)/Active Inference (AIF). This formalization bridges algorithmic models with real electrophysiology.

Conclusion

LaNMM provides a unified, mechanistic scaffold for studying:

  • Neurodegeneration (e.g., Alzheimer's Disease)
  • Psychedelic states
  • Predictive inference
  • Oscillatory biomarkers
  • Interneuron dynamics It is a physically grounded, biophysically realistic platform that integrates structure, dynamics, and function, serving as a bridge between biology and theoretical models.

For further inquiries or collaborations, please contact Giulio Ruffini at giulio.ruffini@neuroelectrics.com.

All Computational Neuroscience related Publications

2026

  • Higher signal diversity, network dysregulation, and increased well-being under DMT administration: An EEG study (Brain Research 1892, 150530, December 2026)
    Abstract summary: EEG from 13 participants under intravenous DMT versus placebo. DMT reduced broadband symbolic-mutual-information connectivity, segregation, and efficiency, most in alpha and beta over posterior and frontoparietal regions; Higuchi fractal dimension and permutation entropy rose in beta and gamma, fell in delta, theta, and alpha, and tracked subjective intensity, as did the beta-to-alpha ratio and frontal alpha asymmetry.

  • Variational autoencoder for explainable seizure onset phases detection (Journal of Neural Engineering 23, 046004, August 2026)
    Abstract summary: A one-dimensional variational autoencoder encodes 2-second SEEG segments into a 60-dimensional latent space and classifies them as interictal, ictal, or low-voltage fast activity, yielding per-channel onset markers at 0.5 s resolution. Trained and cross-validated on 37 patients with manual annotations, it reaches an ictal recall of 0.84 (0.91 on seizure-onset-zone channels) and detects seizures with 99.1% recall at 1% false positives; the latent dimensions track amplitude, band power, and spectral flatness.

  • Cross-Frequency Coupling as a Neural Substrate for Prediction Error Evaluation: A Laminar Neural Mass Modeling Approach (Neural Computation 38, 1299–1343, July 2026) · bioRxiv
    Abstract summary: Predictive coding frameworks suggest that neural computations rely on hierarchical error minimization, where sensory signals are evaluated against internal model predictions. The paper proposes laminar cross-frequency coupling in the LaNMM as the circuit mechanism that evaluates prediction error, and applies it to Alzheimer's disease and psychedelics.

  • Restoring oscillatory dynamics in Alzheimer's disease: A laminar whole-brain model of serotonergic psychedelic effects (Network Neuroscience 10, 303–328, June 2026) · bioRxiv
    Abstract summary: Personalized laminar whole-brain models of 30 patients with mild to moderate Alzheimer's disease simulate serotonin 2A receptor activation by raising the excitability of layer 5 pyramidal neurons. The models reproduce the alpha suppression and gamma enhancement seen under psychedelics, the shifts track the regional 5-HT2A receptor density, and simulated EEG complexity and entropy increase.

  • Emergence of multifrequency activity in a laminar neural mass model (PLoS Computational Biology 22, e1014022, April 2026)
    Abstract summary: A dynamical-systems analysis of the laminar neural mass model. Bifurcation analysis and simulation show periodic, quasiperiodic, and chaotic regimes and the emergence of delta–gamma, theta–gamma, and alpha–gamma coupling; Alzheimer's-like parameter changes impair the multifrequency activity, and the dynamics persist when two masses are coupled.

  • Fast Interneuron Dysfunction in Laminar Neural Mass Model Reproduces Alzheimer's Oscillatory Biomarkers (Human Brain Mapping 47, e70428, January 2026) · bioRxiv
    Abstract summary: Simulated fast (PV+) interneuron dysfunction followed by pyramidal cell loss in the LaNMM reproduces the biphasic M/EEG trajectory of Alzheimer's disease: early hyperexcitability with increased gamma and alpha power, then slowing and reduced power as the disease progresses.

  • A whole-brain modeling framework for tDCS montage optimization in drug-resistant epilepsy (medRxiv, September 2026)
    Abstract summary: A neurotwin pipeline for epilepsy tDCS that couples the biophysical head model of the induced field with a personalized whole-brain model of seizure dynamics constrained by structural connectivity and intracranial recordings. In 12 patients the network-informed and field-based optimizations produced different montages despite comparable inhibitory fields at the epileptogenic zone; the differences trace to a few propagation-zone and off-target parcels, often connectome hubs. In six treated patients the predicted spread reduction tracked clinical seizure-frequency change in the expected direction, not significantly; the hypothesis is under prospective test (NCT06334952).

  • cyto7: an open, vertex-level cortical type atlas of the human cortex (bioRxiv, October 2026) · Zenodo
    Abstract summary: The cerebral cortex is organized along a gradient of laminar complexity, indexed by the emergence and granularity of layer IV and by the size of layer III neuron somata; cortical types are the ordered categories along it, and the Structural Model uses them to predict laminar connectivity, plasticity, and disease vulnerability. Existing digital cortical-type maps assign one type per classical area and cannot represent a type boundary that runs through an area. cyto7 is an open, vertex-level, seven-type atlas delineated on the fsaverage surface following the García-Cabezas protocol and revised by the protocol's authors.

  • Persistent infection and chronic neurological disease: reservoirs, CNS seeding, entrenchment, and neural erosion (Zenodo)
    Abstract summary: Organizes infectious contributions to immune-mediated and neurodegenerative disease into one causal sequence (reservoir, seeding, engagement, response, entrenchment, erosion), anchored in reference disorders such as SSPE, PML, neuroHIV, VZV vasculopathy, EBV-associated multiple sclerosis, and post-HSV autoimmune encephalitis, with SARS-CoV-2 as a bridge case. Each less certain branch (HSV-1, HCMV, Chlamydia pneumoniae, periodontal communities, HHV-6/7) must name its reservoir, seeding route, local mediator, entrenchment mechanism, counterevidence, and falsifier.

2025

  • Personalized whole-brain models of seizure propagation (Journal of Neural Engineering 22, 056019, October 2025) · bioRxiv
    Abstract summary: Patient-specific whole-brain models of seizure propagation built from SEEG, MRI, and diffusion MRI, with a neural mass model at each network node; an evolutionary algorithm tunes global and regional excitability to match the empirical SEEG functional connectivity. The personalized models reproduce individual propagation patterns and simulate surgery, stimulation, and pharmacological interventions in one framework, revealing patient-specific responses and critical regions whose removal or modulation reduces seizure spread.

  • Whole-Brain Models of Advanced Concentrative Absorption Meditation: Approaching Critical Dynamics through Jhāna (bioRxiv, September 2025)
    Abstract summary: First-person reports, model-free analyses, and whole-brain models of 7T fMRI from advanced practitioners entering the eight jhāna states of advanced concentrative absorption meditation. The later states, candidates for minimal phenomenal experience, show increased large-scale integration and a shift toward near-critical dynamics that is largest in the default mode network; the trajectory across states is nonlinear.

  • Bridging local and global dynamics: a biologically grounded model for cooperative and competitive interactions in the brain (bioRxiv, July 2025) · Zenodo
    Abstract summary: In a laminar whole-brain model, homologous long-range excitatory projections between parcels (slow-to-slow or fast-to-fast populations) produce positive correlations of infra-slow alpha envelopes and simulated BOLD, while heterologous projections produce anticorrelations. Personalized models for 60 subjects, with signed effective connectivity inferred from resting fMRI by maximum-entropy (Ising) fitting, reproduce static and dynamic functional connectivity and the gamma–BOLD and alpha–BOLD sign relations better than cooperative-only variants.

  • Exploring Whole-Brain Dynamics of Epileptic Networks During tDCS Using Neural Mass Modeling (47th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), July 2025)
    Abstract summary: A pipeline that couples finite-element modeling of the tDCS electric field with neural mass models of epileptogenic networks, used to study how weak fields change network connectivity and seizure propensity; simulated stimulation reduced the epileptiform activity of the propagation zones.

  • Neural Encoding through Hierarchical Amplitude Modulation · Zenodo
    Abstract summary: Hierarchical encoding is a structural element of the Free Energy Principle and related information-centric accounts of brain function, but a concrete circuit-level mechanism for it remains elusive. Here we examine Hierarchical Amplitude Modulation (HAM) ….

  • Structured dynamics in the algorithmic agent
    Abstract summary: In the Kolmogorov Theory of Consciousness, algorithmic agents utilize inferred compressive models to track coarse-grained data produced by simplified world models, capturing ….

2024

2023

2022

2021

2020

2019

2018

2017

2016

2015

2014

2013

2012

2005

2004