# CUSP: Complex spike sorting from multi-electrode array recordings with U-net sequence-to-sequence prediction

**Authors:** Chenhao Bao, Robyn L. Mildren, Adam S. Charles, Kathleen E. Cullen

PMC · DOI: 10.1016/j.jneumeth.2025.110631 · Journal of neuroscience methods · 2026-01-02

## TL;DR

CUSP is a deep learning tool that accurately detects complex spikes in neural recordings, outperforming existing methods and enabling detailed analysis of cerebellar activity.

## Contribution

CUSP introduces a U-Net-based deep learning framework for automated complex spike sorting with high accuracy and robustness to recording artifacts.

## Key findings

- CUSP achieves human-expert performance in complex spike detection (F1 = 0.83 ± 0.03).
- CUSP outperforms traditional and state-of-the-art methods in handling waveform variability and electrode drift.
- CUSP is generalizable to other neural systems like hippocampal pyramidal cells.

## Abstract

Complex spikes (CSs) in cerebellar Purkinje cells convey unique signals complementary to Simple spike (SS) action potentials, but are infrequent and variable in waveform. Their variability and low spike counts, combined with recording artifacts such as electrode drift, make automated detection challenging.

We introduce CUSP (CS sorting via U-net Sequence Prediction), a fully automated deep learning framework for CS sorting in high-density multi-electrode array recordings. CUSP uses a U-Net architecture with hybrid self-attention inception blocks to integrate local field potential and action potential signals and outputs CS event probabilities in a sequence-to-sequence manner. Detected events are clustered and paired with concurrently detected SSs to reconstruct the complete Purkinje cell activity.

Trained on cerebellar neuropixels recordings in rhesus macaques, CUSP achieves human-expert performance (F1 = 0.83 ± 0.03) and even captures valid CS events overlooked during manual annotation.

CUSP outperforms traditional and state-of-the-art CS and SS sorting algorithms on CS detection. It remains robust to waveform variability, spikelet composition, and electrode drift, enabling accurate CS tracking in long-term recordings. In contrast, existing methods often show false-positive biases or degrade under drift.

CUSP provides a scalable, robust framework for analyzing burst-like or dynamically complex spike patterns. Its generalizability makes it valuable for large-scale cerebellar datasets and other neural systems, such as hippocampal pyramidal cells, where complex bursts are critical for computation. By combining expert-level accuracy with automation, CUSP offers a broadly applicable solution for studying information coding across circuits.

## Full-text entities

- **Diseases:** CS (MESH:D006223)
- **Chemicals:** CS (-)
- **Species:** Homo sapiens (human, species) [taxon 9606], Macaca mulatta (rhesus macaque, species) [taxon 9544]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12757777/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12757777/full.md

## References

70 references — full list in the complete paper: https://tomesphere.com/paper/PMC12757777/full.md

---
Source: https://tomesphere.com/paper/PMC12757777