STODE: A Deep Generative Framework for Continuous Spatiotemporal Dynamics in Spatial Transcriptomics

Read the full article See related articles

Discuss this preprint

Start a discussion What are Sciety discussions?

Listed in

This article is not in any list yet, why not save it to one of your lists.
Log in to save this article

Abstract

Motivation

Spatial 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.

Results

STODE 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 model’s 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 model’s 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 Implementation

The STODE model was implemented in Python using the PyTorch deep learning library. This code is available on GitHub at https://github.com/LzrRacer/STODE/ .

Contact

k.majima1214@gmail.com , yakojim@ncc.go.jp , shimamura.csb@tmd.ac.jp

Article activity feed