Curly Flow Matching for Learning Non-gradient Field Dynamics

Katarina Petrović, Lazar Atanackovic, Viggo Moro, Kacper Kapuśniak, İsmail İlkan Ceylan, Michael Bronstein, Avishek Joey Bose, Alexander Tong · 2025

Read Curly Flow Matching for Learning Non-gradient Field Dynamics by Katarina Petrović, Lazar Atanackovic, Viggo Moro, Kacper Kapuśniak, İsmail İlkan Ceylan, Michael Bronstein, Avishek Joey Bose, Alexander Tong (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-26645.txt.

Introduction

Katarina Petrović, with seven co-authors, learns the hidden flow rules of natural systems from population snapshots. Flow matching models how a population moves between two distributions along paths of least action, which gives gradient dynamics. Some real systems, such as cell cycles in single-cell data, move in cycles instead, and gradient methods cannot capture that.

Petrović and the team present Curly Flow Matching, which builds a Schrödinger bridge problem with a nonzero drift reference process, made from inferred velocities plus snapshot data. That change lets the model learn non-gradient, periodic behaviour. Tests on single cells, fluid dynamics, and ocean currents showed trajectories that matched both the reference process and the population data better than rivals. The authors frame the method as a step from modelling populations to modelling known periodic behaviour.

Catalog record

CREATORKatarina Petrović, Lazar Atanackovic, Viggo Moro, Kacper Kapuśniak, İsmail İlkan Ceylan, Michael Bronstein, Avishek Joey Bose, Alexander Tong
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE75 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2510-26645

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Curly Flow Matching for Learning Non-gradient Field Dynamics Katarina Petrović, Lazar Atanackovic, Viggo Moro, Kacper Kapuśniak, İsmail İlkan Ceylan, Michael Bronstein, Avishek Joey Bose, Alexander Tong Abstract Modeling the transport dynamics of natural processes from population-level observations is a ubiquitous problem in the natural sciences. Such models rely on key assumptions about the underlying process in order to enable faithful learning of governing dynamics that mimic the actual system behavior. The de facto assumption in current approaches relies on the principle of least action that results in gradient field dynamics and leads to trajectories minimizing an energy functional between two probability measures. However, many real-world systems, such as cell cycles in single-cell RNA, are known to exhibit non-gradient, periodic behavior, which fundamentally cannot be captured by current state-of-the-art methods such as flow and bridge matching. In this paper, we introduce Curly Flow Matching ( Curly-FM ), a novel approach that is capable of learning non-gradient field dynamics by designing and solving a Schrödinger bridge problem with a non-zero drift reference process—in stark contrast to typical zero-drift reference processes—which is constructed using inferred velocities in addition to population snapshot data. We showcase Curly-FM by solving the trajectory inference problems for single cells, computational fluid dynamics, and ocean currents with approximate velocities. We demonstrate that Curly-FM can learn trajectories that better match both the reference process and population marginals. Curly-FM expands flow matching models beyond the modeling of populations and towards the modeling of known periodic behavior in physical systems. Our code repository is accessible at: https://github.com/kpetrovicc/curly-flow-matching.git . \declaretheorem [name=Theorem,numberwithin=section]thm \declaretheorem [name=Proposition,numberwithin=section]prop \declaretheorem [name=Lemma,numberwithin=section]lem (a) (b) (c) Figure 1: Particle trajectories generated between samples drawn from asymmetric circles distribution at t=0 and t=1 and respective to underlying reference velocity field f_{t}(x_{t}) . Traditional flow-based models such as OT-CFM and CFM cannot capture cyclical patterns in physical systems. Curly-FM is capable of learning non-gradient field dynamics behavior in the underlying data. 1 Introduction Understanding the temporal evolution of multi-body systems remains a central challenge across many applications in life sciences ( Lange et al. 2024 ; Pan and Zhang 2024 ) , as such systems are often characterized by complex dynamics governing their evolutionary behavior. For example, biological tissues are complex systems that evolve through tissue differentiation characterized by cell divisions and deaths as well as morphological changes. Learning evolutionary behavior in such systems can be formulated as a trajectory inference problem ( Hashimoto et al. 2016 ; Lavenant et al. 2024 ) , where the goal is to recover full trajectories of particles given partial and noisy population-level snapshots. The dominant paradigm in solving the trajectory inference problems in scientific applications involves leveraging tools from computational optimal transport (OT) ( Peyré and Cuturi 2019 ) to learn neural dynamical systems, e.g. NeuralODE ( Chen et al. 2018 ) , such that sampled trajectories under the model optimize a notion of likeliness of being observed ( Bunne et al. 2024b ) . For instance, in single-cell trajectory inference, such methods broadly follow a pipeline that first infers “optimal” cell trajectories that follow the gradient of some potential function (often termed a Waddington Landscape ( Waddington 1942 ) ), before searching for important regulators of a biological process in development ( Schiebinger et al. 2019 ; Shahan et al. 2022 ) or disease ( Tong et al. 2023 ; Klein et al. 2025 ) . Despite the ability to produce approximately optimal trajectories w.r.t. the energy landscape, current methods are limited in their ability to model only gradient-field dynamics. Consequently, trajectories inferred under the model are not realistic and fail to model crucial system dynamics such as periodic behavior that arises in natural systems, e.g., cell cycling ( Riba et al. 2022 ) where periodic behavior is observed at the scale of months, days, hours, and minutes. These behaviors cannot be addressed by current OT-based methods, as gradient field dynamics cannot capture periodic behavior. Present work . In this paper, we tackle the modeling of systems governed by non-gradient field dynamics. We introduce Curly Flow Matching ( Curly-FM ), a novel approach for learning non-gradient field dynamics by solving a Schrödinger bridge problem with a designed reference process that induces the learning of periodic behavior. Specifically, we consider reference processes with non-zero drift—in stark contrast to zero drift processes in approaches such as Diffusion Schrödinger Bridges ( De Bortoli et al. 2021b ; Shi et al. 2024 ) . Such a modification elevates the established (entropic optimal) mass transport problem to a new class of problems that require matching the reference drift while also transporting mass between time marginals associated with observations. As a result, solutions to this Schrödinger bridge problem are capable of learning non-gradient field dynamics and exhibit behaviors such as periodicity as found in cell cycling. In addition to conventional population snapshot data, we design Curly-FM by leveraging approximate velocity information that is used to construct the drift of a reference process. Consequently, to model periodic dynamics Curly-FM solves the Schrödinger bridge problem by decomposing it into a two-stage algorithm. The first stage learns a neural path interpolant by regressing against the drift of our constructed reference process. Unlike straight paths in optimal transform conditional flow matching trajectories, the neural path interpolant exhibits cyclic behavior due to the optimization objective of matching a constructed reference drift. In stage two, we learn, in a simulation-free manner, to construct the generative process that solves the mass transport problem as a mixture of conditional bridges built using optimal transport-based couplings that minimize the length of the velocity field of the neural path interpolant. The combination of our two-stage approach enables Curly-FM to learn dynamics that do not affect the population data, but do affect individual particles, which include observed periodic non-gradient field dynamics, unlike other methods (see table 1 ). We instantiate Curly-FM on modeling a suite of problems in natural sciences that exhibit known non-gradient field dynamics, such as cell cycle systems found in scRNA-seq data with RNA-velocity ( La Manno et al. 2018 ) , ocean currents, and computational fluid dynamics for PDEs simulated using the Lagrangian particle discretizations ( Toshev et al. 2023 ) . In each case, the system under consideration is under the influence of a known reference process, e.g., RNA-velocity gives an approximation of the instantaneous velocity of a cell, which must be adhered to when solving the trajectory inference problem. More precisely, using the reference process drift and population snapshots Curly-FM solves the Schrödinger bridge problem by searching for a bridge that matches the reference process as closely as possible, but also matches the marginal distributions at both timepoints of the system dynamics. Consequently, we show that previous flow matching approaches fail to model this cyclic behavior as they are not able to take advantage of the additional reference process information. Furthermore, while there exist simulation-based methods that are in principle able to learn the correct dynamics ( Tong et al. 2020 ) , we show that in practice Curly-FM performs significantly better both in terms of accuracy to match the reference drift—enabling modeling of cyclic behavior (c.f. fig. 1 )—while being computationally cheaper due to its simulation-free training nature. 2 Background and preliminaries Given two distributions

Read the complete text