IDEAS home Printed from https://ideas.repec.org/a/plo/pcbi00/1011335.html
   My bibliography  Save this article

SpikeShip: A method for fast, unsupervised discovery of high-dimensional neural spiking patterns

Author

Listed:
  • Boris Sotomayor-Gómez
  • Francesco P Battaglia
  • Martin Vinck

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 multi-neuron 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.Author summary: Neuronal coding and memory formation depend on temporal activation patterns spanning high-dimensional ensembles of neurons. With new recording technologies like Neuropixels, it has now become possible to measure from > 1000 neurons simultaneously. This raises the problem, how we can detect temporal sequences of spikes in these high-dimensional ensembles in an unsupervised manner. Here, we present a new method to solve this problem based on optimal transport theory, called SpikeShip. SpikeShip is a fast method for the unsupervised discovery of spiking patterns in high-dimensional data, and provides a principled measure of dissimilarity of multi-neuron spiking sequences. 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. We apply SpikeShip to high-dimensional neural data to study the encoding of behavioral states and visual information by temporal spiking sequences. 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.

Suggested Citation

  • Boris Sotomayor-Gómez & Francesco P Battaglia & Martin Vinck, 2023. "SpikeShip: A method for fast, unsupervised discovery of high-dimensional neural spiking patterns," PLOS Computational Biology, Public Library of Science, vol. 19(7), pages 1-29, July.
  • Handle: RePEc:plo:pcbi00:1011335
    DOI: 10.1371/journal.pcbi.1011335
    as

    Download full text from publisher

    File URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1011335
    Download Restriction: no

    File URL: https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1011335&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcbi.1011335?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. James J. Jun & Nicholas A. Steinmetz & Joshua H. Siegle & Daniel J. Denman & Marius Bauza & Brian Barbarits & Albert K. Lee & Costas A. Anastassiou & Alexandru Andrei & Çağatay Aydın & Mladen Barbic &, 2017. "Fully integrated silicon probes for high-density recording of neural activity," Nature, Nature, vol. 551(7679), pages 232-236, November.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Liang Zou & Huihui Tian & Shouliang Guan & Jianfei Ding & Lei Gao & Jinfen Wang & Ying Fang, 2021. "Self-assembled multifunctional neural probes for precise integration of optogenetics and electrophysiology," Nature Communications, Nature, vol. 12(1), pages 1-9, December.
    2. Andrea Santoro & Federico Battiston & Maxime Lucas & Giovanni Petri & Enrico Amico, 2024. "Higher-order connectomics of human brain function reveals local topological signatures of task decoding, individual identification, and behavior," Nature Communications, Nature, vol. 15(1), pages 1-12, December.
    3. Edward A. B. Horrocks & Fabio R. Rodrigues & Aman B. Saleem, 2024. "Flexible neural population dynamics govern the speed and stability of sensory encoding in mouse visual cortex," Nature Communications, Nature, vol. 15(1), pages 1-23, December.
    4. Tjitse van der Molen & Max Lim & Julian Bartram & Zhuowei Cheng & Ash Robbins & David F Parks & Linda R Petzold & Andreas Hierlemann & David Haussler & Paul K Hansma & Kenneth R Tovar & Kenneth S Kosi, 2024. "RT-Sort: An action potential propagation-based algorithm for real time spike detection and sorting with millisecond latencies," PLOS ONE, Public Library of Science, vol. 19(12), pages 1-36, December.
    5. Jérémie Sibille & Carolin Gehr & Jonathan I. Benichov & Hymavathy Balasubramanian & Kai Lun Teh & Tatiana Lupashina & Daniela Vallentin & Jens Kremkow, 2022. "High-density electrode recordings reveal strong and specific connections between retinal ganglion cells and midbrain neurons," Nature Communications, Nature, vol. 13(1), pages 1-18, December.
    6. Patrick Jendritza & Frederike J. Klein & Pascal Fries, 2023. "Multi-area recordings and optogenetics in the awake, behaving marmoset," Nature Communications, Nature, vol. 14(1), pages 1-16, December.
    7. Morgan A. Brown & Kara M. Zappitelli & Loveprit Singh & Rachel C. Yuan & Melissa Bemrose & Valerie Brogden & David J. Miller & Matthew C. Smear & Stuart F. Cogan & Timothy J. Gardner, 2023. "Direct laser writing of 3D electrodes on flexible substrates," Nature Communications, Nature, vol. 14(1), pages 1-11, December.
    8. Longyu Ma & Lupeng Yue & Shuting Liu & Shi Xu & Jifu Tong & Xiaoyan Sun & Li Su & Shuang Cui & Feng-Yu Liu & You Wan & Ming Yi, 2024. "A distinct neuronal ensemble of prelimbic cortex mediates spontaneous pain in rats with peripheral inflammation," Nature Communications, Nature, vol. 15(1), pages 1-18, December.
    9. Deepa L. Ramamurthy & Lucia Rodriguez & Celine Cen & Siqian Li & Andrew Chen & Daniel E. Feldman, 2025. "Reward history guides focal attention in whisker somatosensory cortex," Nature Communications, Nature, vol. 16(1), pages 1-21, December.
    10. Bartul Mimica & Tuçe Tombaz & Claudia Battistin & Jingyi Guo Fuglstad & Benjamin A. Dunn & Jonathan R. Whitlock, 2023. "Behavioral decomposition reveals rich encoding structure employed across neocortex in rats," Nature Communications, Nature, vol. 14(1), pages 1-20, December.
    11. Yina Wei & Anirban Nandi & Xiaoxuan Jia & Joshua H. Siegle & Daniel Denman & Soo Yeun Lee & Anatoly Buchin & Werner Geit & Clayton P. Mosher & Shawn Olsen & Costas A. Anastassiou, 2023. "Associations between in vitro, in vivo and in silico cell classes in mouse primary visual cortex," Nature Communications, Nature, vol. 14(1), pages 1-20, December.
    12. Linda Bistere & Carlos M. Gomez-Guzman & Yirong Xiong & Daniela Vallentin, 2024. "Female calls promote song learning in male juvenile zebra finches," Nature Communications, Nature, vol. 15(1), pages 1-14, December.
    13. David Eriksson & Artur Schneider & Anupriya Thirumalai & Mansour Alyahyay & Brice Crompe & Kirti Sharma & Patrick Ruther & Ilka Diester, 2022. "Multichannel optogenetics combined with laminar recordings for ultra-controlled neuronal interrogation," Nature Communications, Nature, vol. 13(1), pages 1-13, December.
    14. Erik Hermansen & David A. Klindt & Benjamin A. Dunn, 2024. "Uncovering 2-D toroidal representations in grid cell ensemble activity during 1-D behavior," Nature Communications, Nature, vol. 15(1), pages 1-11, December.
    15. Spencer Ward & Conor Riley & Erin M. Carey & Jenny Nguyen & Sadik Esener & Axel Nimmerjahn & Donald J. Sirbuly, 2022. "Electro-optical mechanically flexible coaxial microprobes for minimally invasive interfacing with intrinsic neural circuits," Nature Communications, Nature, vol. 13(1), pages 1-11, December.
    16. repec:plo:pcbi00:1006854 is not listed on IDEAS
    17. Shailaja Akella & Peter Ledochowitsch & Joshua H. Siegle & Hannah Belski & Daniel D. Denman & Michael A. Buice & Severine Durand & Christof Koch & Shawn R. Olsen & Xiaoxuan Jia, 2025. "Deciphering neuronal variability across states reveals dynamic sensory encoding," Nature Communications, Nature, vol. 16(1), pages 1-22, December.
    18. Elisabeta Balla & Gerion Nabbefeld & Christopher Wiesbrock & Jenice Linde & Severin Graff & Simon Musall & Björn M. Kampa, 2025. "Broadband visual stimuli improve neuronal representation and sensory perception," Nature Communications, Nature, vol. 16(1), pages 1-23, December.
    19. Keundong Lee & Angelique C. Paulk & Yun Goo Ro & Daniel R. Cleary & Karen J. Tonsfeldt & Yoav Kfir & John S. Pezaris & Youngbin Tchoe & Jihwan Lee & Andrew M. Bourhis & Ritwik Vatsyayan & Joel R. Mart, 2024. "Flexible, scalable, high channel count stereo-electrode for recording in the human brain," Nature Communications, Nature, vol. 15(1), pages 1-13, December.
    20. Gustavo Della-Flora Nunes & Lindsay A. Osso & Johana A. Haynes & Lauren Conant & Michael A. Thornton & Michael E. Stockton & Katherine A. Brassell & Amanda Morris & Yessenia I. Mancha Corchado & John , 2025. "Incomplete remyelination via therapeutically enhanced oligodendrogenesis is sufficient to recover visual cortical function," Nature Communications, Nature, vol. 16(1), pages 1-22, December.
    21. Ilke Uguz & David Ohayon & Volkan Arslan & Rajendar Sheelamanthula & Sophie Griggs & Adel Hama & John William Stanton & Iain McCulloch & Sahika Inal & Kenneth L. Shepard, 2024. "Flexible switch matrix addressable electrode arrays with organic electrochemical transistor and pn diode technology," Nature Communications, Nature, vol. 15(1), pages 1-13, December.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pcbi00:1011335. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.