Online spike sorting via deep contractive autoencoder

Neural Netw. 2022 Nov:155:39-49. doi: 10.1016/j.neunet.2022.08.001. Epub 2022 Aug 5.


Spike sorting - the process of separating spikes from different neurons - is often the first and most critical step in the neural data analysis pipeline. Spike-sorting techniques isolate a single neuron's activity from background electrical noise based on the shapes of the waveforms obtained from extracellular recordings. Despite several advancements in this area, an important remaining challenge in neuroscience is online spike sorting, which has the potential to significantly advance basic neuroscience research and the clinical setting by providing the means to produce real-time perturbations of neurons via closed-loop control. Current approaches to online spike sorting are not fully automated, are computationally expensive and are often outperformed by offline approaches. In this paper, we present a novel algorithm for fast and robust online classification of single neuron activity. This algorithm is based on a deep contractive autoencoder (CAE) architecture. CAEs are neural networks that can learn a latent state representation of their inputs. The main advantage of CAE-based approaches is that they are less sensitive to noise (i.e., small perturbations in their inputs). We therefore reasoned that they can form the basis for robust online spike sorting algorithms. Overall, our deep CAE-based online spike sorting algorithm achieves over 90% accuracy in sorting unseen spike waveforms, outperforming existing models and maintaining a performance close to the offline case. In the offline scenario, our method substantially outperforms the existing models, providing an average improvement of 40% in accuracy over different datasets.

Keywords: Clustering; Deep learning; Denoising autoencoders; Online spike sorting; Optimization.

MeSH terms

  • Action Potentials / physiology
  • Algorithms
  • Models, Neurological*
  • Neurons / physiology
  • Signal Processing, Computer-Assisted*