Metric Flow Matching for Smooth Interpolations on the Data Manifold

Kacper Kapuśniak, Peter Potaptchik, Teodora Reu, Leo Zhang, Alexander Tong +3 more
5/23/2024
cs.LGstat.ML

No official code found. Best implementation: kkapusniak/metric-flow-matching (60 stars, MIT, last commit 2025-08-14).

Abstract

Matching objectives underpin the success of modern generative models and rely on constructing conditional paths that transform a source distribution into a target distribution. Despite being a fundamental building block, conditional paths have been designed principally under the assumption of Euclidean geometry, resulting in straight interpolations. However, this can be particularly restrictive for tasks such as trajectory inference, where straight paths might lie outside the data manifold, thus failing to capture the underlying dynamics giving rise to the observed marginals. In this paper, we propose Metric Flow Matching (MFM), a novel simulation-free framework for conditional flow matching where interpolants are approximate geodesics learned by minimizing the kinetic energy of a data-induced Riemannian metric. This way, the generative model matches vector fields on the data manifold, which corresponds to lower uncertainty and more meaningful interpolations. We prescribe general metrics to instantiate MFM, independent of the task, and test it on a suite of challenging problems including LiDAR navigation, unpaired image translation, and modeling cellular dynamics. We observe that MFM outperforms the Euclidean baselines, particularly achieving SOTA on single-cell trajectory prediction.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of Metric Flow Matching (NeurIPS 2024)

606PythonOct 27, 20241 years agoMIT

Similar Papers

Cite this paper

@article{kapuniak2024metric,
  title  = {Metric Flow Matching for Smooth Interpolations on the Data Manifold},
  author = {Kacper Kapuśniak and Peter Potaptchik and Teodora Reu and Leo Zhang and Alexander Tong and Michael Bronstein and Avishek Joey Bose and Francesco Di Giovanni},
  year   = {2024},
  eprint = {2405.14780},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.14780},
  url    = {http://arxiv.org/abs/2405.14780v2},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.14780.svg)](https://codeofpaper.com/paper/2405.14780)

Discussion