cs.LGNov 18, 2026

Horizontal Flow Matching for Single-Cell Spatiotemporal Dynamics

Authors: Zihan Wang, Jianzhe Li, Zhenyi Zhang, Peijie Zhou

Organizations: Center for Quantitative Biology, Peking University · Center for Machine Learning Research, Peking University · LMAM and School of Mathematical Sciences, Peking University · National Engineering Laboratory for Big Data Analysis and Applications, Beijing · 

Abstract

Learning the spatiotemporal dynamics of cells from spatial transcriptomics requires connecting snapshots of different cells acquired in different coordinate frames. A rotation or translation of a section can appear as cell movement and distort the inferred correspondence. We introduce horizontal flow matching, which learns changes in tissue organization, molecular state, and cell abundance up to shared rigid motion. The dynamics follow a continuity--reaction equation whose action assigns no cost to shared rigid motion, and the resulting horizontal projector removes this component from spatial prediction errors during learning and from predicted velocities during generation. An equivalent endpoint problem jointly estimates correspondence and relative pose in Wasserstein--Fisher--Rao geometry and yields analytic paths whose velocity and growth serve as regression targets. Regressing these targets recovers the horizontal dynamics under ideal population conditions. Our model, HORIZON, uses an equivariant transformer to predict velocity and growth from the current tissue, so that a tissue can be generated continuously from a single initial snapshot. On a simulated tissue observed in perturbed coordinate frames, alignment improves reconstruction and projection reduces rigid drift. On four spatial transcriptomics time courses, HORIZON reconstructs tissue geometry, gene expression, and cell abundance more accurately than existing spatial and unbalanced trajectory methods, and interpolates held-out developmental stages.

Figures & tables

Appendix figures & tables24 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. MIOFlow 2.0: A unified framework for inferring cellular stochastic dynamics from single cell and spatial transcriptomics data

    Mar 23, 2026Xingzhi Sun, João Felipe Rocha, Brett Phelan +11Trajectory InferenceSingle-Cell Transcriptomics

  2. From Snapshots to Trajectories: Learning Single-Cell Gene Expression Dynamics via Conditional Flow Matching

    May 21, 2026Siyu Pu, Qingqing Long, Xiaohan Huang +7Latent Dynamics ModelingConditional Flow Matching

  3. More Genes, Faster Inference: Efficient Large-Panel Spatial Transcriptomics Prediction from Histology

    Nov 13, 2026Songming Zhang, Yuxiao Luo, Shifu Luo +3Spatial Gene Expression PredictionGene Expression Prediction from Histopathology Images