SpikeShip: A method for fast, unsupervised discovery of high-dimensional neural spiking patterns
Boris Sotomayor-GómeziD, Francesco Paolo BattagliaiD, Martin A. VinckiD
Abstract
Neural coding and memory formation depend on temporal spiking sequences that span high-dimensional neural ensembles. The unsupervised discovery and characterization of these spiking sequences requires a suitable dissimilarity measure to spiking patterns, which can then be used for clustering and decoding. Here, we present a new dissimilarity measure based on optimal transport theory called SpikeShip, which compares multineuron spiking patterns based on all the relative spike-timing relationships among neurons. SpikeShip computes the optimal transport cost to make all the relative spike-timing relationships (across neurons) identical between two spiking patterns. We show that this transport cost can be decomposed into a temporal rigid translation term, which captures global latency shifts, and a vector of neuron-specific transport flows, which reflect inter-neuronal spike timing differences. SpikeShip can be effectively computed for high-dimensional neuronal ensembles, has a low (linear) computational cost that has the same order as the spike count, and is sensitive to higher-order correlations. Furthermore SpikeShip is binless, can handle any form of spike time distributions, is not affected by firing rate fluctuations, can detect patterns with a low signal-to-noise ratio, and can be effectively combined with a sliding window approach. We compare the advantages and differences between SpikeShip and other measures like SPIKE and Victor-Purpura distance. We applied SpikeShip to large-scale Neuropixel recordings during spontaneous activity and visual encoding. We show that high-dimensional spiking sequences detected via SpikeShip reliably distinguish between different natural images and different behavioral states. These spiking sequences carried complementary information to conventional firing rate codes. SpikeShip opens new avenues for studying neural coding and memory consolidation by rapid and unsupervised detection of temporal spiking patterns in high-dimensional neural ensembles.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 19
- FWCI
- 2.54
- Field percentile
- top 10%
- Assay
- Research Focus
- Approach
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
- Temporal spiking sequences in visual cortex carry unique information about natural movies
Boris Sotomayor-Gómez, Francesco Paolo Battaglia, Martin A. Vinck·bioRxiv·Jun 27, 2023
- Unsupervised clustering of temporal patterns in high-dimensional neuronal ensembles using a novel dissimilarity measure
Lukas Großberger, Francesco Paolo Battaglia, Martin A. Vinck·PLoS Computational BiologyPeer-reviewed·Jul 6, 2018
- Embedding optimization reveals long-lasting history dependence in neural spiking activity
Lucas Rudelt, Daniel González Marx, … Viola Priesemann·PLoS Computational BiologyPeer-reviewed·Jun 1, 2021
- Parsing auditory neural code into maximum-entropy packets
Huanqiu Zhang, Israel Nelken, Tatyana O. Sharpee·bioRxiv·Nov 9, 2025
- Burst coding despite unimodal interval distributions
Ezekiel Williams, Alexandre Payeur, … Richard Naud·bioRxiv·Feb 18, 2021
- Incremental Self-Organization of Spatio-Temporal Spike Pattern Detection
Mohammad Dehghani-Habibabadi, Lenny Müller, Klaus Richard Pawelzik·Scientific ReportsPeer-reviewed·Oct 7, 2025