bioRxivBioinformaticsPreprint
STODE: A Deep Generative Framework for Continuous Spatiotemporal Dynamics in Spatial Transcriptomics
Abstract
MotivationSpatial transcriptomics offers detailed molecular insights but struggles to capture continuous tissue dynamics due to experimental constraints and destructive sampling. Traditional optimal transport (OT) methods attempt to link time points but often rely on unimodal data and oversimplify complex developmental processes. We propose a spatiotemporal deep generative model that captures the continuous evolution of tissue, integrating both spatial and gene-expression dynamics. We first embed spatial transcriptomic particles into a latent space using a VAE and then learn time-dependent dynamics with a potential-guided neural ODE. This framework reveals diverse tissue behaviors, including growth patterns, spatial reorganization, and temporal gene-expression changes. A neural decoder estimates key behaviors like growth, disappearance, movement, and clustering, while a differentiable growth module models region appearance and disappearance. ResultsSTODE is a deep generative model that reconstructs continuous spatiotemporal dynamics from discrete spatial transcriptomics measurements collected at multiple time points. On a complex synthetic dataset simulating gene-driven tissue morphogenesis and mouse midbrain development dataset, STODE significantly outperformed both linear interpolation and Entropic Optimal Transport models in predicting gene expression and spatial coordinates for a excluded timepoint. When applied to a mouse organogenesis dataset, the models backward simulations from late-stage embryos to early progenitors accurately reconstructed known developmental processes. The simulations correctly identified early pharyngeal arch derivatives as the populations occupying the largest area and captured the progressive differentiation of diverse cell types from multipotent neural crest and mesenchymal progenitors, demonstrating the models capability to reconstruct continuous and meaningful biological trajectories from discrete-timepoint spatial transcriptomes. In addition, the inferred factors reflected coordinated activation of morphogenetic programs, including cytoskeletal remodeling and cell-matrix interactions, and revealed transcriptional signatures associated with epithelial-mesenchymal transition and directed tissue migration, suggesting that the model effectively disentangled regulatory modules underlying the spatial organization and morphogenesis of craniofacial structures. The proposed model, STODE, will be broadly applicable to studies on embryogenesis, tissue regeneration, and disease progression, where reconstructing continuous spatiotemporal trajectories is essential for understanding biological mechanisms. Availability and ImplementationThe STODE model was implemented in Python using the PyTorch deep learning library. This code is available on GitHub at https://github.com/LzrRacer/STODE/. Contactk.majima1214@gmail.com, yakojim@ncc.go.jp, shimamura.csb@tmd.ac.jp
- organism: mouse
- assay: spatial transcriptomics
- research focus: trajectory inference
- approach: deep learning
- Citations
- 0
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
- stVCR: Spatiotemporal dynamics of single cells
Qiangwei Peng, Peijie Zhou, Tiejun Li·Nature MethodsPeer-reviewed·Mar 1, 2026
- STORIES: learning cell fate landscapes from spatial transcriptomics
Geert-Jan Huizing, Jules Samaran, … Laura Cantini·bioRxiv·Jul 26, 2024
- Inferring cell trajectories of spatial transcriptomics via optimal transport analysis
Xunan Shen, Lulu Zuo, … Pengfei Qin·Cell SystemsPeer-reviewed·Feb 1, 2025
- DeST-OT: Alignment of Spatiotemporal Transcriptomics Data
Peter Halmos, Xinhao Liu, … Benjamin J. Raphael·Cell SystemsPeer-reviewed·Jan 27, 2025
- Accurate trajectory inference in time-series spatial transcriptomics with structurally-constrained optimal transport
John P. Bryan, Samouil L. Farhi, Brian Cleary·Nature CommunicationsPeer-reviewed·Jun 29, 2026
- Spateo: multidimensional spatiotemporal modeling of single-cell spatial transcriptomics
Xiaojie Qiu, Daniel Y. Zhu, … Yinqi Bai·bioRxiv·Dec 7, 2022