A General LSTM-based Deep Learning Method for Estimating Neuronal Models and Inferring Neural Circuitry

Kaiwen Sheng, Peng Qu, Le Yang, Xiaofei Liu, Liuyuan He, Youhui Zhang, Lei Ma, Kai DubioRxiv 2021

TL;DR

This paper introduces the General Neural Estimator (GNE), a novel LSTM-based deep learning framework that automates the complex process of tuning parameters for computational models of neurons and neural circuits. GNE offers a general, fully-automated solution that outperforms existing methods in accuracy and robustness, paving the way for more efficient and precise brain reconstruction.

What Problem Does This Paper Address?

Neuroscientists rely on computational models to understand how individual neurons and entire neural circuits function. However, building these models is a significant challenge because they contain numerous free parameters that need to be precisely tuned to match experimental recordings. Traditional methods for parameter tuning are often task-specific, require extensive manual feature engineering, and struggle with the increasing complexity and scale of modern neural models. This creates a bottleneck in neuroscience research, hindering the ability to computationally reconstruct and understand brain function. The authors aim to bridge this gap by developing a general, automated method that can handle both single neurons and large-scale circuits.

Methods

The core of the proposed solution is the General Neural Estimator (GNE), a deep learning architecture built upon a Long Short-Term Memory (LSTM) network. The GNE architecture consists of three main components:

  1. Feature Extractor: A modified ResNet-50 is used to extract local temporal features from neural responses.
  2. Time Series Analyzer: An LSTM network processes these features to capture temporal dynamics and dependencies, which is crucial for understanding neural activity over time.
  3. Regressor: A fully-connected layer maps the extracted temporal features to the model parameters.

The GNE is trained on synthesized data generated from computational models. During inference, it takes experimental neural recordings as input and directly outputs the estimated model parameters. For cases where initial predictions are not accurate enough, a statistical calibration step, potentially using methods like SNPE (Sequential Neural Posterior Estimation), can be applied for fine-tuning.

Datasets

The authors utilized several datasets for training and evaluation:

  • Synthesized Datasets: Generated from various computational models (Hodgkin-Huxley (HH), Izhikevich, HH Ball-Stick, L4 stellate, L5 pyramidal) using specific stimulus protocols (chirp-like, step current, Gaussian white noise).
  • Experimental Data: Recordings from mouse spiny neurons obtained from the Allen Institute Cell Types Database (Allen Cell Types Database, 2016).

The paper emphasizes the use of synthesized data for training the general GNE model, which can then be applied to experimental data.

Key Insights and Ideas

  • LSTM for Temporal Dynamics: The use of LSTM is critical for capturing the temporal dependencies in neural responses, which is a significant advantage over methods that treat time steps independently.
  • End-to-End Automation: GNE offers a fully automated parameter tuning process, eliminating the need for manual feature engineering, which is a major bottleneck in current neuroscience modeling.
  • Generalizability: The framework is designed to be general, applicable to a wide range of single neuronal models and large-scale neural circuits, unlike many existing task-specific methods.
  • Subthreshold Dynamics are Key: The features extracted by GNE, particularly those related to subthreshold dynamics, are shown to be crucial for accurately constraining model parameters, suggesting that previous methods might have overlooked important information.
  • Roadmap for Reconstruction: The paper proposes a structured roadmap for computational reconstruction, moving from single neurons to complex neural circuits, which could guide future experimental design and modeling efforts.

Key Results

  • Superior Accuracy: GNE consistently outperformed existing methods like MOO and CNN in terms of Mean Absolute Error (MAE) for parameter prediction, achieving improvements of up to 61.4 times over MOO and 3.9 times over CNN for predicting specific parameters.
  • Accurate Response Prediction: GNE's predicted model responses showed significantly better fitness (higher Pearson correlation coefficient and lower MAE) compared to MOO and CNN.
  • Noise Robustness: GNE demonstrated robust performance even when experimental recordings were corrupted with Gaussian noise across various Signal-to-Noise Ratio (SNR) levels.
  • Scalability: The method is shown to be scalable to larger neural circuits (up to 100 neurons) and can handle arbitrary numbers of experimental recordings.
  • Experimental Validation: GNE successfully predicted parameters for experimental recordings of mouse spiny neurons, replicating their dynamics with high accuracy.
  • Circuit Reconstruction: GNE accurately estimated synaptic conductance in a small biophysical neural microcircuit and synaptic weights in a larger circuit.

Limitations and Future Work

  • Model Limitations: The paper acknowledges that if a computational model cannot perfectly replicate experimental recordings, even GNE will have limitations. This is a fundamental constraint of model fitting.
  • Feature Discrepancies: While GNE is effective at extracting features from synthesized data, it cannot guarantee that these exact features will be present in all experimental recordings, potentially leading to imperfect predictions in some cases.
  • Statistical Calibration: For challenging experimental recordings, a combination of GNE with statistical calibration methods (like SNPE) is proposed to achieve more accurate results.
  • Future Work: The authors suggest that GNE could inspire future experimental designs for brain reconstruction and computational modeling. They also highlight the need for carefully designed criteria to judge the fitness of neuronal models, considering potential biases. The code will be publicly available.

Summary updated

BibTeX
@misc{sheng2021general,
  author = {Kaiwen Sheng and Peng Qu and Le Yang and Xiaofei Liu and Liuyuan He and Youhui Zhang and Lei Ma and Kai Du},
  title = {{A General LSTM-based Deep Learning Method for Estimating Neuronal Models and Inferring Neural Circuitry}},
  year = {2021},
  doi = {10.1101/2021.03.14.434027},
  howpublished = {bioRxiv},
}
Figure