bioRxivNeurosciencePreprint
Spike sorting AI agent
Zuwan LiniD, Arnau Marin‐LlobetiD, Jongmin Baek, Yichun HeiD, Jaeyong LeeiD, Wenbo WangiD, Xinhe ZhangiD, Ariel J. LeeiD, Ningyue Liang, Jin DuiD, Jie DingiD, Na LiiD, Jia Liu BiD
Abstract
Spike sorting is a fundamental process for decoding neural activity, involving preprocessing, spike detection, feature extraction, clustering, and validation. However, conventional spike sorting methods are highly fragmented, labor-intensive, and heavily reliant on expert manual curation, limiting their scalability and reproducibility. This challenge has become more pressing with advances in neural recording technology, such as high-density Neuropixels for large-scale neural recording or flexible electrodes for long-term stable recording over months to years. The volume and complexity of these datasets make manual curation infeasible, requiring an automated and scalable solution. Here, we introduce SpikeAgent, a multimodal large language model (LLM)-based AI agent that automates and standardizes the entire spike sorting pipeline. Unlike traditional approaches, SpikeAgent integrates multiple LLM backends, coding functions, and established algorithms, autonomously performing spike sorting with reasoning-based decision-making and real-time interaction with intermediate results. It generates interpretable reports, providing transparent justifications for each sorting decision, enhancing transparency and reliability. We benchmarked SpikeAgent against human experts across various neural recording technology, demonstrating its versatility and ability to achieve curation consistency that are equal to, or even higher than human experts. It also drastically reduces the expertise barrier and accelerates the curation and validation time by orders of magnitude. Moreover, it enables automated interpretability of the neural spiking data, which cannot be achieved by any conventional methods. SpikeAgent presents a paradigm shift in processing signals for neuroscience and brain-computer interfaces, while laying the ground for AI agent-augmented science across various domains.
- Citations
- 8
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
- Fully unsupervised online spike sorting based on an artificial spiking neural network
Marie Bernert, Blaise Yvert·bioRxiv·Dec 20, 2017
- MCWs (MiCroWire sorter): A new framework for automated and reliable spike sorting in human intracerebral recordings.
Alexander Betancourt, Masoud Khani, … Hernan Gonzalo Rey·bioRxiv·Jul 9, 2025
- KIASORT: Knowledge-Integrated Automated Spike Sorting for Geometry-Free Neuron Tracking
Kianoush Banaie Boroujeni, Thilo Womelsdorf, Sabine Kästner·Journal of NeurosciencePeer-reviewed·Jun 5, 2026
- SpikeInterface, a unified framework for spike sorting
Alessio Paolo Buccino, Cole Hurwitz, … Matthias H. Hennig·eLifePeer-reviewed·Nov 10, 2020
- Scalable spike sorting across thousands of neurons by modeling neural dynamics with NeuroSort
Lin Liu, Zhengwei Hu, … Xiaojian Li·bioRxiv·Nov 11, 2025
- 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