ContextFlow: Context-Aware Flow Matching For Trajectory Inference From Spatial Omics Data
On the map: Diffusion models → Medical imaging and segmentation
Abstract (arXiv)
Inferring trajectories from longitudinal spatially-resolved omics data is fundamental to understanding the dynamics of structural and functional tissue changes in development, regeneration and repair, disease progression, and response to treatment. We propose ContextFlow, a novel context-aware flow matching framework that incorporates prior knowledge to guide the inference of structural tissue dynamics from spatially resolved omics data. Specifically, ContextFlow integrates local tissue organization and ligand-receptor communication patterns into a transition plausibility matrix that regularizes the optimal transport objective. By embedding these contextual constraints, ContextFlow generates trajectories that are not only statistically consistent but also biologically meaningful, making it a generalizable framework for modeling spatiotemporal dynamics from longitudinal, spatially resolved omics data. Evaluated on three datasets, ContextFlow consistently outperforms state-of-the-art flow matching methods across multiple quantitative and qualitative metrics of inference accuracy and biological coherence. Our code is available at: hrefhttps://github.com/santanurathod/ContextFlowContextFlow
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 21 of its 56 references that are in the map. First posted on arXiv 3 Oct 2025.
Builds on
21 of 56 references.
Closest ancestors · 1
Same direction, newest first
- 2025Scalable Generation of Spatial Transcriptomics from Histology Images via Whole-Slide Flow Matching25 May
Other references · 20
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2022Flow Matching for Generative Modelingcited by 5,702
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,166
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
- 2015Variational Inference with Normalizing Flowscited by 2,170
- 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,323
- 2022Building Normalizing Flows with Stochastic Interpolantscited by 995
- 2023Improving and generalizing flow-based generative models with minibatch optimal transportcited by 879
- 2023Multisample Flow Matching: Straightening Flows with Minibatch Couplingscited by 278
- 2024Metric Flow Matching for Smooth Interpolations on the Data Manifoldcited by 77
8 more
- 2022The Schr"odinger Bridge between Gaussian Measures has a Closed Formcited by 63
- 2024Meta Flow Matching: Integrating Vector Fields on the Wasserstein Manifoldcited by 43
- 2023GENOT: Entropic (Gromov) Wasserstein Flow Matching with Applications to Single-Cell Genomicscited by 28
- 2021Entropic Optimal Transport: Geometry and Large Deviationscited by 20
- 2025CellFlux: Simulating Cellular Morphology Changes via Flow Matchingcited by 20
- 2025Flow Matching Meets Biology and Life Science: A Surveycited by 14
- 2025Modeling Cell Dynamics and Interactions with Unbalanced Mean Field Schr"odinger Bridgecited by 12
- 2023DOT: A flexible multi-objective optimization framework for transferring features across single-cell and spatial omicscited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025GeneFlow: Translation of Single-cell Gene Expression to Histopathological Images via Rectified Flow
- 2025Modeling Microenvironment Trajectories on Spatial Transcriptomics with NicheFlow
- 2026Correlation-Guided Flow Matching with Annealed Masking for Spatial Transcriptomics Generation
- 2026From Snapshots to Trajectories: Learning Single-Cell Gene Expression Dynamics via Conditional Flow Matching
- 2025SPATIA: Multimodal Generation and Prediction of Spatial Cell Phenotypes
- 2026TracingFlow: A Simulation-Free Trajectory Inference Framework Based on Second-Order Dynamics
- 20253D-Guided Scalable Flow Matching for Generating Volumetric Tissue Spatial Transcriptomics from Serial Histology
- 2026Multiscale Supervised Unbalanced Optimal Transport Flow Matching