Neuron type classification in rat brain based on integrative convolutional and tree-based recurrent neural networks

Tielin Zhang, Yi Zeng, Yue Zhang, Xinhe Zhang, Mengting Shi, Likai Tang, Duzhen Zhang, Bo XuScientific 2021

Abstract

The anatomical study of cellular complexity in the nervous system offers objective advantages for understanding brain function. However, morphology-based neuron classification across the whole rat brain is hindered by diverse data formats, high morphological complexity, and a lack of labeled samples. This paper presents an integrative deep neural network (DNN) architecture designed to process both unstructured SWC-format data and structured 2D/3D image slices. By combining a Tree-based Recurrent Neural Network (Tree-RNN) with a Convolutional Neural Network (CNN), the model achieves state-of-the-art performance in a twelve-class classification task, outperforming traditional machine learning methods and standalone deep learning modules.

Introduction

Identifying the diverse "parts list" of the brain is a foundational challenge in neuroscience. While molecular and physiological perspectives are valuable, morphological classification—based on the physical shape and branching patterns of neurons—provides a direct link to the brain's structural organization. Despite its importance, the field faces significant hurdles: the dual nature of data (unstructured 3D coordinates vs. massive pixel volumes), the inherent complexity of branching arbors, and the scarcity of expert-labeled training data.

Methodology

The researchers developed a hybrid architecture to bridge the gap between different data modalities:

  • Tree-RNN for SWC Data: Neurons are inherently hierarchical, branching structures. To process SWC files (which list 3D coordinates and connectivity), the authors implemented a recursive Tree-RNN using Long Short-Term Memory (LSTM) units. This module traverses the topological "flow" of the neuron, capturing its global branching logic.
  • ResNet CNN for Image Data: To capture local visual features and density, 3D neurons were projected into 2D slices along the X, Y, and Z axes. These images were processed by an 18-layer ResNet, a standard for identifying complex visual patterns.
  • Integrative Feature Fusion: The high-level features from both sub-modules—a 512-dimensional vector from the CNN and a 128-dimensional vector from the Tree-RNN—were concatenated into a 640-dimensional "master feature" vector for final classification.
Simulated pyramidal cells used to validate the model's ability to distinguish between distinct morphological classes.

Datasets and Pre-training

The study leveraged three distinct datasets to train and validate the model:

  1. Virtually Simulated Dataset: 1,000 samples of basket and pyramidal cells used for initial validation and sanity checks.
  2. CASIA Rat-Neuron Dataset: A massive collection of 2.6 million unlabeled neurons. This dataset was crucial for pre-training the networks, allowing them to learn general morphological representations before fine-tuning on specific tasks.
  3. NeuroMorpho-rat Dataset: 35,000 expert-labeled neurons categorized into 12 subclasses (e.g., Purkinje, Medium Spiny, Microglia), serving as the primary benchmark for classification accuracy.

Data Refinement and Insights

A critical component of the pipeline was automated data repair. Digital reconstructions often suffer from "Z-jumps"—discontinuities in coordinates along the Z-axis caused by imaging artifacts. The authors integrated a "zcorr" function to rectify these artifacts, ensuring the Tree-RNN received clean topological data.

The "Z-jump" problem: a common artifact in digital neuron reconstruction that can disrupt topological analysis if not corrected.

Furthermore, t-SNE analysis revealed that the features learned automatically by the DNNs clustered neuron types more effectively than the 19 standard hand-designed features (e.g., soma surface, bifurcation angle) traditionally used by biologists. This suggests that deep learning can uncover morphological nuances that elude human intuition.

Key Results

The integrative model achieved a state-of-the-art accuracy of 91.90% in the 12-class classification task. This performance significantly exceeded that of standalone modules (Tree-RNN: 90.33%; CNN: 87.87%) and traditional Support Vector Machines (SVM) using hand-designed features (81.64%). While the model occasionally confused subclasses within the "Principal Cell" category due to their high morphological similarity, its overall performance marks a significant step forward in automated neuroanatomy.

Conclusion

This study demonstrates the power of multi-view learning in biological contexts. By integrating tree-based and convolutional modules, the model effectively captures both the global topology and local visual characteristics of neurons. Future work will focus on integrating transcriptomic and electrophysiological data to create a truly holistic classification system, as well as optimizing the computational efficiency of Tree-RNNs for real-time, whole-brain analysis.

Summary updated

BibTeX
@inproceedings{zhang2021neuron,
  author = {Tielin Zhang and Yi Zeng and Yue Zhang and Xinhe Zhang and Mengting Shi and Likai Tang and Duzhen Zhang and Bo Xu},
  title = {{Neuron type classification in rat brain based on integrative convolutional and tree-based recurrent neural networks}},
  booktitle = {Scientific},
  year = {2021},
  doi = {10.1038/s41598-021-86780-4},
}
Figure