Meta Flow Matching: Integrating Vector Fields on the Wasserstein Manifold
Lazar Atanackovic, Xi Zhang, Brandon Amos, Mathieu Blanchette, Leo J. Lee, Yoshua Bengio, Alexander Tong, Kirill Neklyudov
TL;DR
Meta Flow Matching (MFM) extends Flow Matching to learn time-evolving distributions on the Wasserstein manifold by amortizing the conditional velocity field over initial populations. It conditions the velocity field on a population embedding $\varphi(p_0)$ produced by a Graph Neural Network, enabling generalization to unseen initial distributions and perturbation contexts. The approach is validated on synthetic letter denoising and a large-scale organoid drug-screen dataset, where it improves prediction of treatment responses across replicates and unseen patients, outperforming non-amortized baselines and competing with OT-enabled variants. By unifying interacting-particle dynamics with density-based generative modeling, MFM offers a path toward personalized predictions in biology and other natural-science domains.
Abstract
Numerous biological and physical processes can be modeled as systems of interacting entities evolving continuously over time, e.g. the dynamics of communicating cells or physical particles. Learning the dynamics of such systems is essential for predicting the temporal evolution of populations across novel samples and unseen environments. Flow-based models allow for learning these dynamics at the population level - they model the evolution of the entire distribution of samples. However, current flow-based models are limited to a single initial population and a set of predefined conditions which describe different dynamics. We argue that multiple processes in natural sciences have to be represented as vector fields on the Wasserstein manifold of probability densities. That is, the change of the population at any moment in time depends on the population itself due to the interactions between samples. In particular, this is crucial for personalized medicine where the development of diseases and their respective treatment response depend on the microenvironment of cells specific to each patient. We propose Meta Flow Matching (MFM), a practical approach to integrate along these vector fields on the Wasserstein manifold by amortizing the flow model over the initial populations. Namely, we embed the population of samples using a Graph Neural Network (GNN) and use these embeddings to train a Flow Matching model. This gives MFM the ability to generalize over the initial distributions, unlike previously proposed methods. We demonstrate the ability of MFM to improve the prediction of individual treatment responses on a large-scale multi-patient single-cell drug screen dataset.
