bioRxivNeurosciencePreprint
Opening the black box: a modular approach to spike sorting
Samuel GarciaiD, Chris HalcrowiD, Charlie WindolfiD, Zachary M. McKenzie, Paul Adkisson-FloroiD, Heberto Ramon Mayorquin, Ben DichteriD, Alessio Paolo BuccinoiD, Pierre YgeriD
Abstract
Spike sorting is an algorithmic process that extracts the activity of individual neurons from extracellular electrophysiology recordings. With the ballooning use of high density probes, such as Neuropixels, this essential processing step is increasingly becoming time consuming and computationally expensive. Although many software tools have been proposed to address spike sorting, they are usually constructed and benchmarked as monolithic "black boxes", making it difficult to factor out the effects of individual algorithmic steps on the final outcome, especially when varying datasets and parameters. To address this issue, we developed a modular and common framework to develop, benchmark and assemble the key computational steps that are used in state-of-the-art spike sorting algorithms. Relying on fast and efficient ground truth generation of biophysically plausible recordings, we show that we are able to individually benchmark and precisely quantify the performance of different steps in a spike sorting pipeline (i.e. peak detection, feature extraction and clustering, and template matching). We then leverage these results to create a modular, component-based spike sorter that can outperform Kilosort 4 on dense and large simulated recordings and produce similar quantitative results on real data. In addition, we find that the major bottleneck of all modern spike sorting pipelines is in the physical motion of probes, regardless of the drift-correction strategy. The component-based spike sorting framework presented here has the potential to foster community engagement in the field by lowering the barrier to contributions and providing a flexible yet powerful framework to construct end-to-end spike sorting solutions.
- Citations
- 1
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Efficient and reproducible pipelines for spike sorting large-scale electrophysiology data
Alessio Paolo Buccino, Arjun Sridhar, … Joshua H. Siegle·bioRxiv·Nov 12, 2025
- Solving the spike sorting problem with Kilosort
Marius Pachitariu, Shashwat Sridhar, Carsen Stringer·bioRxiv·Jan 7, 2023
- Fast and accurate spike sorting in vitro and in vivo for up to thousands of electrodes
Pierre Yger, Giulia L. B. Spampinato, … Olivier Marre·bioRxiv·Aug 4, 2016
- SpikeInterface, a unified framework for spike sorting
Alessio Paolo Buccino, Cole Hurwitz, … Matthias H. Hennig·eLifePeer-reviewed·Nov 10, 2020
- Kilosort: realtime spike-sorting for extracellular electrophysiology with hundreds of channels
Marius Pachitariu, Nicholas Steinmetz, … Harris Kenneth D.·bioRxiv·Jun 30, 2016
- D.sort: template based automatic spike sorting tool
Madeny Belkhiri, Duda Kvitsiani·bioRxiv·Sep 23, 2018