bioRxivNeurosciencePreprint
SLAy-ing oversplitting errors in high-density electrophysiology spike sorting
Sai Koukuntla, Tate DeWeese, Alexandra ChengiD, Robyn L. MildreniD, Aamna LawrenceiD, Austin R. GravesiD, Kathleen E. CulleniD, Jennifer I. ColonelliD, T.D. HarrisiD, Adam S. CharlesiD
Abstract
The growing channel count of silicon probes has substantially increased the number of neurons recorded in electrophysiology (ephys) experiments, rendering traditional manual spike sorting impractical. Instead, modern ephys recordings are processed with automated methods that use waveform template matching to isolate putative single neurons. While scalable, automated methods rely on assumptions that often fail to account for biophysical changes in action potential waveforms, leading to systematic oversplitting of individual neurons into multiple putative units. Consequently, manual curation of these errors, which is both time-consuming and lacking in reproducibility, remains necessary. To improve efficiency and reproducibility in the spike-sorting pipeline, we introduce the Spike-sorting Lapse Amelioration System (SLAy), an algorithm that automatically merges oversplit spike units. SLAy employs two novel metrics: (1) a waveform similarity metric that uses a neural network to obtain spatially informed, nonlinear waveform representations, and (2) a cross-correlogram significance metric based on the earth movers distance between the observed and null cross-correlograms. To improve reproducibility and remove the need for manual tuning, we also develop an automatic parameter setting procedure for SLAy that accounts for dataset-specific characteristics. On simulated oversplitting across a diverse set of animal models, brain regions, and probe geometries, SLAy substantially outperforms an existing merging algorithm, achieving high recall without merging extraneous units. On the original datasets without simulated oversplitting, SLAy recovers [~] 95% of merges found by human curators and human curators agree with [~] 90% of merges suggested by SLAy. SLAy leverages multithreading for computational efficiency, running in less than 10 minutes for all recordings we tested. SLAy is also compatible with SpikeInterface, making it a practical and flexible solution for large-scale ephys data analysis across acquisition systems and spike sorters.
- organism: mouse
- assay: electronic health records
- research focus: benchmarking
- approach: statistical model
- Citations
- 5
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
- Kilosort: realtime spike-sorting for extracellular electrophysiology with hundreds of channels
Marius Pachitariu, Nicholas Steinmetz, … Harris Kenneth D.·bioRxiv·Jun 30, 2016
- YASS: Yet Another Spike Sorter
JinHyung Lee, David Carlson, … Liam Paninski·bioRxiv·Jun 19, 2017
- 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
- Evaluation and resolution of many challenges of neural spike-sorting: a new sorter
Nathan J. Hall, David J. Herzfeld, Stephen G. Lisberger·Journal of NeurophysiologyPeer-reviewed·Nov 17, 2021
- Real-time spike sorting platform for high-density extracellular probes with ground-truth validation and drift correction
James Jaeyoon Jun, Catalin Mitelut, … T.D. Harris·bioRxiv·Jan 30, 2017