Abstract
High-density probes allow electrophysiological recordings from many neurons simultaneously across entire brain circuits but don't reveal cell type. Here, we develop a strategy to identify cell types from extracellular recordings in awake animals, revealing the computational roles of neurons with distinct functional, molecular, and anatomical properties. We combine optogenetic activation and pharmacology using the cerebellum as a testbed to generate a curated ground-truth library of electrophysiological properties for Purkinje cells, molecular layer interneurons, Golgi cells, and mossy fibers. We train a semi-supervised deep-learning classifier that predicts cell types with greater than 95% accuracy based on waveform, discharge statistics, and layer of the recorded neuron. The classifier's predictions agree with expert classification on recordings using different probes, in different laboratories, from functionally distinct cerebellar regions, and across animal species. Our classifier extends the power of modern dynamical systems analyses by revealing the unique contributions of simultaneously-recorded cell types during behavior.
Introduction
Modern neurophysiology faces a significant challenge: while high-density probes like Neuropixels can record from hundreds of neurons simultaneously, these extracellular recordings only capture electrical spikes without identifying the specific cell types. In the cerebellum, knowing whether a spike originates from a Purkinje cell, a Golgi cell, or a mossy fiber is crucial for understanding motor coordination. This study introduces a semi-supervised deep-learning pipeline designed to identify cell types from their electrical "fingerprints" with high accuracy.
Methods
The researchers developed a multi-stage strategy to build a ground-truth library and a robust classifier.
Ground-Truth Library and Feature Engineering
To ensure accurate identification, the team used optogenetics in mice combined with pharmacological synaptic blockade. This ensured that light-triggered spikes came directly from the targeted cell type. They developed 3D-autocorrelograms (3D-ACGs) to normalize firing statistics across different rates and used the "Phyllum" tool to assign recording channels to specific cerebellar layers (Molecular, Purkinje, or Granule).
Machine Learning Pipeline
To prevent overfitting on the relatively small ground-truth dataset (202 units), the authors first applied Variational Autoencoders (VAEs) to a larger set of 3,090 unlabeled neurons. This unsupervised step reduced complex waveforms and firing patterns into 10-dimensional latent spaces. The final classifier was then trained on the curated ground-truth data, utilizing raw, drift-corrected waveforms rather than hand-picked metrics.
Results
The classifier achieved over 95% accuracy on the ground-truth library when using a confidence threshold. Key insights include:
- Anatomical Context: Including the anatomical layer as an input significantly boosted accuracy, helping distinguish cells with similar electrical signatures.
- Cross-Species Success: A model trained on mouse neurons successfully identified Purkinje cells in macaque monkeys, suggesting that electrophysiological signatures are evolutionarily conserved.
- Confidence-Based Classification: The model provides a confidence ratio, allowing researchers to filter for high-certainty predictions and effectively manage ambiguous data.
- Robustness: The system remained accurate across different recording hardware and laboratories, demonstrating its generalizability.
Discussion
While the model is highly effective, it currently struggles with small, quiet cells like granule cells and relies heavily on spontaneous activity. Future work will involve expanding the library to include rarer cell types and adapting the model for brain regions with different firing characteristics. This approach provides a blueprint for decoding the diversity of brain circuitry across species.
Summary updated