Sampling Neuron Morphologies

Roozbeh Farhoodi, Konrad P. KördingbioRxiv 2018

Abstract

The intricate morphology of neurons has fascinated since the dawn of neuroscience, and yet, it is hard to synthesize them. Current algorithms typically define a growth process with parameters that allow matching aspects of the morphologies. However, such algorithmic growth processes are far simpler than the biological ones. What is needed is an algorithm that, given a database of morphologies, produces more of those. Here, we introduce a generator for neuron morphologies that is based on a statistical sampling process. Our Reversible Jump Markov chain Monte Carlo (RJMCMC) method starts with a trivial neuron and iteratively perturbs the morphology bringing the features close to those of the database. By quantifying the statistics of the generated neurons, we find that it outperforms growth-based models for many features. Good generative models for neuron morphologies promise to be important both for neural simulations and for morphology reconstructions from imaging data.

Introduction

The shape (morphology) of a neuron is fundamental to its function, determining how it processes and transmits signals. For large-scale brain simulations or for reconstructing neurons from incomplete 3D imaging data, researchers require methods to generate realistic synthetic neurons. Historically, this has been achieved through growth-based models—algorithms that simulate the biological process of branching from the soma. However, biological growth is governed by complex molecular gradients and environmental cues that are difficult to model accurately. As a result, growth-based models often fail to capture the global statistical regularities found in natural neurons, producing shapes that may look "off" to experts.

Methods

The authors propose a generative model based on statistical sampling rather than biological simulation. The core idea is that a realistic neuron can be synthesized by matching the statistical "fingerprint" of a database of real neurons.

Feature Extraction

The process begins by extracting a comprehensive feature vector (approximately 600 features) from a database of real neurons. These features include scalar values, such as the number of nodes, and detailed histograms capturing branching angles, segment lengths, and spatial densities.

Detailed view of the morphological features extracted from neurons, including scalar quantities and various histograms of angles and lengths.

Probabilistic Modeling and RJMCMC Sampling

The model employs a Naive Bayes assumption, treating each feature as an independent Gaussian distribution defined by the mean (μ) and variance (σ) observed in the database. This establishes a target probability distribution for specific neuronal classes.

To navigate the complex space of possible tree structures, the researchers use Reversible Jump Markov Chain Monte Carlo (RJMCMC). Unlike standard MCMC, RJMCMC allows the algorithm to "jump" between different dimensional spaces, which is essential for neurons that vary in their number of branches and nodes.

The overall RJMCMC framework: from database statistics to feature residuals and the probabilistic sampling space.

The algorithm starts with a minimal "seed" neuron and iteratively applies perturbations:

  • Extension/Reduction: Adding or removing nodes.
  • Sliding: Detaching a branch and reattaching it elsewhere.
  • Rotation: Rotating subtrees in 3D space.

Moves that bring the candidate neuron's features closer to the database statistics (minimizing the "residual") are more likely to be accepted. Over thousands of iterations, the morphology evolves into a complex, realistic structure.

Datasets

The study utilized the NeuroMorpho.org database, focusing on Layer 5 Pyramidal cells, Tripolar cells, Purkinje cells, and Stellate neurons. Each class typically included approximately 1,000 real morphologies to train the statistical model.

Results

  • Statistical Accuracy: The RJMCMC model significantly outperformed state-of-the-art growth models like NeuGen in matching features it was not explicitly optimized for, such as global angles and vertical distance from the soma.
  • Visual Fidelity: Synthetic neurons produced by the model are visually indistinguishable from real ones and successfully capture the unique characteristics of different cell types, such as the dense arbor of Purkinje cells.
  • Convergence: The model requires a "burn-in" period of roughly 1,000 iterations to resemble a general neuron, with approximately 25,000 iterations needed to fully match complex statistical distributions.

Conclusion

While the RJMCMC approach produces highly realistic morphologies, it currently relies on a Naive Bayes assumption that ignores potential correlations between features. Additionally, the computational cost of MCMC sampling is high. Unlike growth models, this method does not provide insight into biological development. However, as a tool for generating statistically accurate synthetic populations for neural simulations, it represents a major step forward. Future work may involve using Generative Adversarial Networks (GANs) to learn feature representations automatically.

Summary updated

BibTeX
@misc{farhoodi2018sampling,
  author = {Roozbeh Farhoodi and Konrad P. Körding},
  title = {{Sampling Neuron Morphologies}},
  year = {2018},
  doi = {10.1101/248385},
  howpublished = {bioRxiv},
}
Figure