AlgorithmsNeurosciencePeer-reviewed journal article
In vitro To In vivo : Bidirectional and High-Precision Generation of In Vitro and In Vivo Neuronal Spike Data
Abstract
Spontaneous neural activity is often dismissed as noise, yet predicting its future evolution remains difficult, especially across recording preparations. We study transfer between in vitro and in vivo multineuronal spike trains with a Transformer that treats spikes as sparse point processes and does not require cell-to-cell correspondence across datasets. Because binned spike trains are extremely sparse and imbalanced, likelihood-based objectives can be dominated by the majority no-spike class under domain shift. Introducing a Dice objective that maximizes spike-event overlap stabilizes training and substantially improves performance, including in cross-domain prediction and generation. Training on one domain and evaluating on another yields a quantitative predictability score and a predictability matrix. We show that (i) a performance-based embedding organizes datasets by transferability; (ii) only specific in vitro and in vivo pairs support reliable cross-domain generation, whereas mismatched pairs degrade despite strong within-domain accuracy; (iii) attention and gradient-based importance analyses reveal how the model shifts emphasis across neurons and time; and (iv) the predictability matrix guides source-target selection for generating diverse activity patterns. This framework supports systematic tests of transferability and may help prioritize datasets for translational studies.
- assay: electronic health records
- research focus: benchmarking
- research focus: gene regulatory network inference
- research focus: trajectory inference
- approach: deep learning
- approach: transformer / foundation model
- Citations
- 0
- FWCI
- 0.00
- Field percentile
- 1th percentile
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
- Generative Neural Spike Prediction from Upstream Neural Activity via Behavioral Reinforcement
S. Wu, X. Zhang, … Y. Wang·Nature Computational SciencePeer-reviewed·Jan 2, 2026
- Stimulus domain transfer in recurrent models for large scale cortical population prediction on video
Fabian H. Sinz, Alexander S. Ecker, … Andreas Savas Tolias·bioRxiv·Dec 22, 2018
- Neural Data Transformer 2: Multi-context Pretraining for Neural Spiking Activity
Joel Ye, Jennifer L. Collinger, … Robert Gaunt·neural information processing systemsPeer-reviewed·Jan 1, 2023
- Spontaneous activity emerging from an inferred network model captures complex spatio-temporal dynamics of spiking data
Cristiano Capone, Guido Gigante, Paolo Del Giudice·Scientific ReportsPeer-reviewed·Nov 13, 2018
- Inferring Effective Networks of Spiking Neurons Using a Continuous-Time Estimator of Transfer Entropy
David Shorten, Viola Priesemann, … Joseph T. Lizier·PLoS Computational BiologyPeer-reviewed·Oct 22, 2025
- From Hodgkin-Huxley to Pretrained Neural Inference AI
Yimu Zhang, Dongqi Han, … Yu Gu·bioRxiv·Jul 20, 2026