Abstract
With the development of optical imaging systems, neuroscientists can now obtain large datasets of morphological structure at a single neuron scale positioned across the whole mouse brain. However, the enormous amount of morphological data challenges the classic approach of neuron classification, indexing and other analysis tasks. In this paper, we propose MorphoGNN, a single neuron morphological embedding based on the graph neural networks (GNN). This method learns the spatial structure information between the nodes of reconstructed neuron fibers by its nearest neighbors on each layer and captures the lower-dimensional representation of a single neuron through an end-to-end model. This model is composed of densely connected edge convolution (EdgeConv) layers and a double pooling operator, regularized with joint cross-entropy loss and triplet loss. An increasing population of the neighbor nodes meets the need of learning more information with features expanding at the deep layer. We tested the proposed embeddings on the neuron classification and retrieval tasks. Our method achieves competitive performance both on the general point cloud dataset and the neuron morphology dataset.
Introduction
Neuroscience is currently experiencing a data explosion. Modern optical imaging can map entire mouse brains at sub-micron resolution, resulting in terabytes of data and thousands of 3D-reconstructed neuronal "trees." Historically, researchers analyzed these neurons using "morphometrics"—manual measurements like total fiber length or the number of branches. However, these metrics are often too coarse; a tiny change in a local branch can fundamentally change a neuron's function but might not significantly alter a "total length" measurement.
Previous deep learning attempts often flattened these 3D structures into 2D images to use standard computer vision tools, which discards vital spatial context. There is a pressing need for an automated, end-to-end way to represent the full 3D complexity of a neuron without losing its geometric integrity. MorphoGNN addresses this by transforming complex 3D reconstructed neurons into compact mathematical "fingerprints" using Graph Neural Networks.
Methodology
MorphoGNN treats a reconstructed neuron as a point cloud—a set of 3D coordinates. Building upon the Dynamic Graph CNN (DGCNN) architecture, the framework introduces three key innovations to capture the geometric soul of neuronal structures.
Increasing-K Neighbor Strategy
In a standard GNN, each node interacts with its $K$ nearest neighbors, typically a fixed number. MorphoGNN employs a dynamic approach where $K$ increases (from 8 to 64) as data moves deeper into the network. As feature dimensions grow more complex, the model looks at a wider neighborhood to capture broader topological context. This mimics human perception: one might look at a single leaf to identify a species, but needs to see the whole canopy to understand the forest.
Double Pooling and Joint Loss
To summarize the entire neuron into a single vector (the embedding), the model utilizes a Double Pooling Operator consisting of both Max-pooling (to capture prominent features) and Average-pooling (to maintain overall structural context).
The model is trained using a Joint Loss Function combining cross-entropy loss for accurate classification and triplet loss to ensure that neurons of the same type are clustered closely in the embedding space, while different types are pushed further apart.
Experiments and Results
The researchers evaluated MorphoGNN on two primary datasets: ModelNet40 (a general 3D object benchmark) and Neuro7. The Neuro7 dataset, curated from NeuroMorpho.org, contains 1,393 reconstructed neurons from wild-type mouse brains across seven classes: Amacrine, Aspiny, Basket, Bipolar, Pyramidal, Spiny, and Stellate cells.
Key Performance Metrics
- Classification Accuracy: On the Neuro7 dataset, MorphoGNN achieved an overall accuracy of 85.58%, significantly outperforming PointNet++ (79.09%) and traditional manual morphometrics (72.98%).
- Retrieval Performance: In similarity search tasks, MorphoGNN reached a mean accuracy of 67.82%, nearly doubling the performance of standard PointNet and DGCNN implementations.
- Robustness: The model proved resilient to "point dropping" noise, common in messy biological reconstructions, likely due to the inherent stability of the graph structure and pooling layers.
Discussion and Future Work
MorphoGNN demonstrates that treating neurons as dynamic graphs captures the "flow" of information along fibers more naturally than grid-based approaches. However, several avenues for improvement remain. Currently, the model treats all points equally, ignoring the biological distinction between axons and dendrites. Future iterations could incorporate structural labels to enhance semantic understanding.
Furthermore, while this work focuses on single-neuron embeddings, the ultimate goal in neuroscience is understanding brain circuits. Future research will explore learning embeddings of connections to understand how these individual "fingerprints" interact to create complex brain functions. Finally, optimizing the computational cost of high-$K$ dynamic graphs will be necessary for scaling to whole-brain datasets.
Summary updated