Computation of the electroencephalogram (EEG) from network models of point neurons

Pablo Martínez‐Cañada, Torbjørn V. Ness, Gaute T. Einevoll, Tommaso Fellin, Stefano Panzeri

TL;DR

This paper introduces novel "EEG proxies" – mathematical shortcuts that accurately estimate electroencephalogram (EEG) signals directly from simplified point-neuron network simulations. This bridges a critical gap, allowing researchers to quantitatively compare complex neural models with real-world EEG data across various brain states and conditions.

What Problem Does This Paper Address?

The electroencephalogram (EEG) is a cornerstone for studying brain function non-invasively. However, interpreting EEG signals in terms of underlying neural mechanisms is challenging. While computational neuroscience often uses simplified "point-neuron" models (like Leaky Integrate-and-Fire, LIF) for their tractability, these models don't directly produce EEG signals. Real EEGs arise from spatially distributed transmembrane currents in neurons with complex morphologies, which point-neuron models abstract away. This disconnect makes it difficult to directly link the output of these widely used neural models to experimental EEG data. The authors aim to solve this by developing methods to compute realistic EEG signals from the readily available outputs of point-neuron network simulations.

Methods

The core of this work is the development and validation of "EEG proxies." The authors employ a "hybrid modeling scheme" where the spiking activity from a point-neuron network (simulating neural dynamics) is used to drive a more detailed, three-dimensional (3D) network of multi-compartmental neurons with realistic morphologies. This 3D network then generates a "ground-truth" EEG signal.

The key innovation lies in creating simpler mathematical expressions (proxies) that can predict this ground-truth EEG using only variables available from the point-neuron network simulation. They explored various proxies, including:

  • Standard proxies: Average firing rate (FR), average membrane potential (Vm), sums of synaptic currents (AMPA, GABA, total, and absolute total).
  • New linear proxies (ERWS1, ERWS2): These are optimized linear combinations of time-shifted AMPA and GABA synaptic currents. The parameters for these proxies were optimized to best match the ground-truth EEG across different network states. ERWS2's parameters are further adapted based on the external input rate.
  • Non-linear proxy (CNN): A shallow convolutional neural network was trained to predict the EEG from AMPA and GABA currents, aiming to capture more complex relationships.

The performance of these proxies was rigorously evaluated by comparing their predictions to the ground-truth EEG across various network states (asynchronous irregular, synchronous irregular, synchronous regular), different neuron morphologies, synaptic distributions, and electrode positions.

Datasets

The study did not introduce new experimental datasets. Instead, they generated synthetic datasets for training and validation:

  • Point-neuron network simulations: These generated the neural activity (spikes, synaptic currents) used as input for the EEG generation.
  • Multicompartmental neuron network simulations: These were used to generate the "ground-truth" EEG by simulating the biophysical response to the point-neuron activity.

The authors created distinct datasets for optimizing proxy parameters and for validating their performance.

Key Insights and Ideas

  • Synaptic currents are key: The study strongly suggests that synaptic currents (AMPA and GABA) are far more informative for predicting EEG than simpler measures like firing rates or average membrane potentials. This highlights the importance of detailed synaptic dynamics in generating extracellular potentials.
  • Time-shifting matters: The temporal relationship between synaptic currents and the EEG is crucial. Optimized linear proxies (ERWS1, ERWS2) leverage time-shifted combinations of AMPA and GABA currents, revealing that the EEG depends on both past (causal) and future (non-causal) synaptic events, likely due to network feedback loops.
  • Dynamic contributions: The relative contribution and timing of AMPA and GABA currents to the EEG are not static but dynamically change with the network's state (e.g., external input rate). This emphasizes the dynamic nature of neural computation reflected in EEG.
  • Morphology and distribution influence EEG: While the new proxies are robust, the specific morphology of neurons and how synapses are distributed can impact EEG generation and proxy performance, though the ERWS proxies show remarkable generality.
  • CNNs offer marginal gains: While a CNN achieved slightly higher accuracy, the linear proxies (ERWS1/ERWS2) offer a compelling balance of high performance and interpretability, making them more practical for many applications.

Key Results

  • High Accuracy: The new linear proxies, ERWS1 and ERWS2, achieved high R² values (variance explained) of 0.94 and 0.95, respectively, on the test dataset, significantly outperforming previous methods.
  • Broad Applicability: These proxies performed well across a wide range of network states, cell morphologies, synaptic distributions, and electrode positions, with performance generally remaining above 80-95% variance explained.
  • CNN Improvement: The CNN proxy offered a further 2-8% performance increase over the best linear proxies, reaching R² = 0.99 on the test dataset.
  • Robustness: ERWS2, in particular, showed remarkable performance across all tested conditions, with R² values above 0.9 even when electrode position varied.
  • Interpretability: The linear proxies allow for direct interpretation of how synaptic currents contribute to the EEG, unlike the more opaque CNN.

Limitations and Future Work

  • Model Simplifications: The study acknowledges limitations inherent in the simplified multi-layered cortical column architecture and the combined use of point-neuron and multicompartment networks.
  • Morphology Generalization: While proxies generalize well to different L2/3 pyramidal cell morphologies, extending this to other cortical laminae and cell types is a future direction. The authors suggest that electrical potentials add linearly, allowing for potential combinations of proxies for different populations.
  • Head Model: A simple four-sphere head model was used. Future work could integrate these proxies with more detailed, anatomically realistic head models.
  • Non-linear Proxy Interpretability: While the CNN achieved higher accuracy, understanding the exact transformation it performs on synaptic currents remains more challenging than with linear proxies, though visualization tools can help.
  • Inference of Neural Parameters: The authors envision using these proxies to infer neural circuit parameters (like excitation-inhibition balance) from real EEG data, which could be crucial for understanding brain function and disorders.

Summary updated

Abstract

Abstract The electroencephalogram (EEG) is one of the main tools for non-invasively studying brain function and dysfunction. To better interpret EEGs in terms of neural mechanisms, it is important to compare experimentally recorded EEGs with the output of neural network models. Most current neural network models use networks of simple point neurons. They capture important properties of cortical dynamics, and are numerically or analytically tractable. However, point neuron networks cannot directly generate an EEG, since EEGs are generated by spatially separated transmembrane currents. Here, we explored how to compute an accurate approximation of the EEG with a combination of quantities defined in point-neuron network models. We constructed several different candidate approximations (or proxies) of the EEG that can be computed from networks of leaky integrate-and-fire (LIF) point neurons, such as firing rates, membrane potentials, and specific combinations of synaptic currents. We then evaluated how well each proxy reconstructed a realistic ground-truth EEG obtained when the synaptic input currents of the LIF network were fed into a three-dimensional (3D) network model of multi-compartmental neurons with realistic cell morphologies. We found that a new class of proxies, based on an optimized linear combination of time-shifted AMPA and GABA currents, provided the most accurate estimate of the EEG over a wide range of network states of the LIF point-neuron network. The new linear proxies explained most of the variance (85-95%) of the ground-truth EEG for a wide range of cell morphologies, distributions of presynaptic inputs, and position of the recording electrode. Non-linear proxies, obtained using a convolutional neural network (CNN) to predict the EEG from synaptic currents, increased proxy performance by a further 2-8%. Our proxies can be used to easily calculate a biologically realistic EEG signal directly from point-neuron simulations and thereby allow a quantitative comparison between computational models and experimental EEG recordings. Author summary Networks of point neurons are widely used to model neural dynamics. Their output, however, cannot be directly compared to the electroencephalogram (EEG), which is one of the most used tools to non-invasively measure brain activity. To allow a direct integration between neural network theory and empirical EEG data, here we derived a new mathematical expression, termed EEG proxy, which estimates with high accuracy the EEG based simply on the variables available from simulations of point-neuron network models. To compare and validate these EEG proxies, we computed a realistic ground-truth EEG produced by a network of simulated neurons with realistic 3D morphologies that receive the same spikes of the simpler network of point neurons. The new obtained EEG proxies outperformed previous approaches and worked well under a wide range of simulated configurations of cell morphologies, distribution of presynaptic inputs, and position of the recording electrode. The new proxies approximated well both EEG spectra and EEG evoked potentials. Our work provides important mathematical tools that allow a better interpretation of experimentally measured EEGs in terms of neural models of brain function.
BibTeX
@article{martinezcanada2021computation,
  author = {Pablo Martínez‐Cañada and Torbjørn V. Ness and Gaute T. Einevoll and Tommaso Fellin and Stefano Panzeri},
  title = {{Computation of the electroencephalogram (EEG) from network models of point neurons}},
  journal = {PLOS Computational Biology},
  year = {2021},
  doi = {10.1371/journal.pcbi.1008893},
}
Figure