UnitRefine: A Community Toolbox for Automated Spike Sorting Curation

Read the full article See related articles

Discuss this preprint

Start a discussion What are Sciety discussions?

Listed in

This article is not in any list yet, why not save it to one of your lists.
Log in to save this article

Abstract

High-density electrophysiology simultaneously captures the activity from hundreds of neurons, but isolating single-unit activity still relies on slow and subjective manual curation. As datasets keep increasing, this poses a major bottleneck in the field. We therefore developed UnitRefine, a classification toolbox that automates curation by training various machine-learning models directly on human expert annotations. Fully integrated in the SpikeInterface ecosystem, UnitRefine combines established and novel quality metrics, cascading classification and comprehensive hyperparameter search to provide optimized models for different applications. UnitRefine achieves human-level performance across diverse datasets, spanning species, probe types, and laboratories, including recordings from mice, rats, mole rats, primates, and human patients. Applied to a large brain-wide dataset, UnitRefine doubled single unit yield and improved behavioral decoding performance. A streamlined graphical interface allows models to be fine-tuned to new datasets and shared via the Hugging Face Hub, enabling broad adoption and community-driven improvement of automated curation workflows.

Article activity feed