YASS: Yet Another Spike Sorter applied to large-scale multi-electrode array recordings in primate retina

Spike sorting is a critical first step in extracting neural signals from large-scale multi-electrode array (MEA) data. This manuscript presents several new techniques that make MEA spike sorting more robust and accurate. Our pipeline is based on an efficient multi-stage “triage-then-cluster-then-pursuit” approach that initially extracts only clean, high-quality waveforms from the electrophysiological time series by temporarily skipping noisy or “collided” events (representing two neurons firing synchronously). This is accomplished by developing a neural network detection and denoising method followed by efficient outlier triaging. The denoised spike waveforms are then used to infer the set of spike templates through nonparametric Bayesian clustering. We use a divide-and-conquer strategy to parallelize this clustering step. Finally, we recover collided waveforms with matching-pursuit deconvolution techniques, and perform further split-and-merge steps to estimate additional templates from the pool of recovered waveforms. We apply the new pipeline to data recorded in the primate retina, where high firing rates and highly-overlapping axonal units provide a challenging testbed for the deconvolution approach; in addition, the well-defined mosaic structure of receptive fields in this preparation provides a useful quality check on any spike sorting pipeline. We show that our pipeline improves on the state-of-the-art in spike sorting (and outperforms manual sorting) on both real and semi-simulated MEA data with > 500 electrodes; open source code can be found at https://github.com/paninski-lab/yass.

[1]  Kenneth D. Harris,et al.  Fast and accurate spike sorting of high-channel count probes with KiloSort , 2016, NIPS.

[2]  Li Fei-Fei,et al.  ImageNet: A large-scale hierarchical image database , 2009, CVPR.

[3]  Liam Paninski,et al.  Neural Networks for Efficient Bayesian Decoding of Natural Images from Retinal Neurons , 2017, bioRxiv.

[4]  David M. Blei,et al.  Stochastic Structured Variational Inference , 2014, AISTATS.

[5]  Surya Ganguli,et al.  Accurate Estimation of Neural Population Dynamics without Spike Sorting , 2017, Neuron.

[6]  Liam Paninski,et al.  Scalable approximate Bayesian inference for particle tracking data , 2018, ICML.

[7]  David B. Dunson,et al.  Multichannel Electrophysiological Spike Sorting via Joint Dictionary Learning and Mixture Modeling , 2013, IEEE Transactions on Biomedical Engineering.

[8]  Sergey L. Gratiy,et al.  Real-time spike sorting platform for high-density extracellular probes with ground-truth validation and drift correction , 2017, bioRxiv.

[9]  G B Stanley,et al.  Reconstruction of Natural Scenes from Ensemble Responses in the Lateral Geniculate Nucleus , 1999, The Journal of Neuroscience.

[10]  Jeffrey W. Miller,et al.  Mixture Models With a Prior on the Number of Components , 2015, Journal of the American Statistical Association.

[11]  Vinayak A. Rao,et al.  Real-Time Inference for a Gamma Process Model of Neural Spiking , 2013, NIPS.

[12]  J. Hartigan,et al.  The Dip Test of Unimodality , 1985 .

[13]  Eero P. Simoncelli,et al.  A Model-Based Spike Sorting Algorithm for Removing Correlation Artifacts in Multi-Neuron Recordings , 2013, PloS one.

[14]  Sergey L. Gratiy,et al.  Fully integrated silicon probes for high-density recording of neural activity , 2017, Nature.

[15]  Luca Berdondini,et al.  Spike Detection for Large Neural Populations Using High Density Multielectrode Arrays , 2015, Front. Neuroinform..

[16]  Valérie Ventura,et al.  To sort or not to sort: the impact of spike-sorting on neural decoding performance , 2014, Journal of neural engineering.

[17]  Luca Berdondini,et al.  Unsupervised Spike Sorting for Large-Scale, High-Density Multielectrode Arrays. , 2017, Cell reports.

[18]  Jonathon Shlens,et al.  Spatial Properties and Functional Organization of Small Bistratified Ganglion Cells in Primate Retina , 2007, The Journal of Neuroscience.

[19]  C. R. Deboor,et al.  A practical guide to splines , 1978 .

[20]  Jimmy Ba,et al.  Adam: A Method for Stochastic Optimization , 2014, ICLR.

[21]  Eero P. Simoncelli,et al.  Journal of Neuroscience Methods , 2022 .

[22]  Klaus Obermayer,et al.  An online spike detection and spike classification algorithm capable of instantaneous resolution of overlapping spikes , 2009, Journal of Computational Neuroscience.

[23]  Tong Zhang,et al.  Adaptive Forward-Backward Greedy Algorithm for Learning Sparse Representations , 2011, IEEE Transactions on Information Theory.

[24]  Nicholas V. Swindale,et al.  Spike sorting for polytrodes: a divide and conquer approach , 2014, Front. Syst. Neurosci..

[25]  Raymond T. Ng,et al.  Algorithms for Mining Distance-Based Outliers in Large Datasets , 1998, VLDB.

[26]  Peilun Dai,et al.  Feasibility of 3D Reconstruction of Neural Morphology Using Expansion Microscopy and Barcode-Guided Agglomeration , 2017, Front. Comput. Neurosci..

[27]  Erik B. Sudderth,et al.  Memoized Online Variational Inference for Dirichlet Process Mixture Models , 2013, NIPS.

[28]  Kenneth D. Harris,et al.  High-Dimensional Cluster Analysis with the Masked EM Algorithm , 2013, Neural Computation.

[29]  Pamela Reinagel,et al.  Decoding visual information from a population of retinal ganglion cells. , 1997, Journal of neurophysiology.

[30]  Jeremy F. Magland,et al.  A Fully Automated Approach to Spike Sorting , 2017, Neuron.

[31]  Loic A. Royer,et al.  Content-aware image restoration: pushing the limits of fluorescence microscopy , 2018, Nature Methods.

[32]  Pierre Yger,et al.  A spike sorting toolbox for up to thousands of electrodes validated with ground truth recordings in vitro and in vivo , 2018, eLife.

[33]  Cyrille Rossant,et al.  Spike sorting for large, dense electrode arrays , 2015 .