Introduction
Single-cell RNA sequencing (scRNA-seq) provides discrete snapshots of a continuously evolving biological system. Because sequencing is destructive, individual cells cannot be followed over time, while experimental cost limits data collection to a few time points [1 , 2 , 3 ] . Single-cell trajectory inference therefore seeks to recover continuous dynamics from population snapshots [4 , 5 ] .
Continuous-time models provide several approaches to this problem. Neural ordinary differential equations (ODEs) parameterize time-dependent velocity fields but typically require repeated numerical integration during training [5 , 6 , 7 ] . Dynamic optimal transport (OT) provides a complementary geometric view, with the Benamou–Brenier formulation linking static endpoint couplings to least-action continuous flows [8 ] . Flow matching (FM) instead learns continuous flows by regressing conditional vector fields without simulating the ODE during training [9 , 10 , 11 , 12 , 13 ] . In general FM constructions, the endpoint coupling and conditional path may be specified separately. OT conditional flow matching (OT-CFM) links them through a common transport geometry by combining OT endpoint couplings with displacement interpolation [14 , 15 ] . This coupling–path consistency provides a principled geometric basis for flow matching. However, standard FM and OT-CFM operate on normalized probability measures and do not directly model changes in total population abundance.
Biological populations can grow or decline through proliferation, death, and differential survival [16 , 17 , 18 , 19 ] . Unbalanced OT relaxes mass conservation through source terms or relaxed marginal constraints [20 , 21 , 22 ] , and recent unbalanced flow matching methods incorporate mass variation through unbalanced couplings, explicit growth dynamics, or unbalanced transport geometries [23 , 24 , 25 , 26 ] . A prominent class of unbalanced flow-matching methods derives endpoint couplings and conditional dynamics from a prescribed unbalanced transport geometry, particularly WFR formulation [20 , 21 , 22 , 25 ] . These approaches follow a forward design principle: a prescribed transport geometry or growth penalty in expression state space determines both the endpoint coupling and the associated conditional dynamics. While this construction ensures internal consistency, it does not necessarily yield biologically favorable state evolutions, as the resulting dynamics are driven solely by a prescribed, simplistic loss function.
We address unbalanced dynamics through a reduction approach in an extended space and propose the Extended Space Flow Matching (ESFM) framework for unbalanced single-cell dynamics. ESFM introduces a log mass coordinate alongside the cell state, lifting nonconservative dynamics into conservative transport in an extended space. In this representation, state transitions and relative growth are modeled jointly, while physical population mass is recovered by projection.
Within this formulation, ESFM adopts a path-first construction for the specific instance studied here, where linear interpolation of cell state and log mass is paired with a compatible action, endpoint coupling, and simulation-free flow matching objective. This design allows application specific dynamical assumptions to be incorporated through path specification and admits an analytical reduction to a static optimal transport problem. More general path and action designs can also be incorporated into the extended space. Figure 1 summarizes the overall construction.
Figure 1. Overview of Extended Space Flow Matching (ESFM). ESFM lifts unbalanced dynamics to conservative transport in the extended space w = ( x , ln m ) w = (x, \ln m) w = ( x , ln m ) , starts from a prescribed conditional path, and derives a compatible endpoint coupling and flow matching objective.
Our main contributions are as follows:
We introduce an extended space formulation for unbalanced flow matching that lifts unbalanced dynamics into conservative transport by introducing a log mass coordinate alongside the state space. This formulation enables state transport and relative growth to be modeled jointly, while conditional paths and endpoint couplings are derived consistently from a common extended-space transport formulation.
We establish theoretical connections between the extended-space dynamic formulation and its static transport counterpart. For linear state motion and linear interpolation in log mass, corresponding to constant relative growth, we analytically eliminate the latent log mass coordinate and derive a reduced optimal transport problem with an explicit abundance change cost.
Related Work
Flow matching. Flow matching learns continuous dynamics by regressing vector fields associated with tractable conditional probability paths, avoiding ODE simulation during training [9 , 10 , 11 ] . A key design choice is the conditional path: many methods use simple linear interpolation, while others adapt or learn interpolants from data geometry, conditioning variables, or multiple observed snapshots [10 , 13 , 27 , 28 , 29 ] . Flow matching has also been applied directly to temporal single-cell snapshots using OT-based couplings and coupling refinement [30 ] . Another key choice is the endpoint coupling, which determines how source and target samples are paired and may be independent, prescribed, or data dependent [31 ] . In general flow matching constructions, the coupling and conditional path can be specified independently and need not arise from a common geometric or variational principle.
Optimal transport and coupling–path consistency. Optimal transport links endpoint coupling and conditional paths through a common geometry. In quadratic OT, the static Kantorovich and dynamic Benamou–Brenier formulations induce the same squared Euclidean endpoint cost and constant-speed linear interpolation [8 , 32 ] . OT-CFM exploits this correspondence by sampling endpoint pairs from the OT coupling and regressing velocities along the associated displacement paths [14 ] . Related methods extend this construction through minibatch couplings, entropic regularization, Schrödinger bridges, or geometry-aware paths [12 , 15 , 27 , 33 ] . Lagrangian Flow Matching further derives least-action paths and static transport costs from a prescribed Lagrangian [34 ] . These methods start from a prescribed geometry or action. ESFM instead starts from a prescribed conditional path together with a compatible action and derives the corresponding endpoint coupling.
Unbalanced transport and single-cell dynamics. Changes in cell abundance due to proliferation and death make unbalanced transport particularly relevant for single-cell snapshot dynamics. Unbalanced OT relaxes mass conservation, while WFR jointly models state transport and population growth [20 , 21 , 22 , 35 , 36 ] . These ideas have motivated continuous single-cell models including TIGON, DeepRUOT, Var-RUOT, stVCR, and MIOFlow 2.0 [16 , 17 , 18 , 19 , 37 ] , as well as simulation-free approaches based on relaxed couplings, explicit growth fields, branching dynamics, or general growth penalties [23 , 24 , 26 , 38 , 39 ] . WFR-FM and its extensions derive conditional paths and couplings from WFR geometry, while SUDO generalizes this geometry-first view to convex growth penalties [25 , 26 , 40 , 41 ] . ESFM instead adopts a path-first design, deriving a compatible action, endpoint coupling, and flow matching objective from a prescribed conditional path.
Mathematical Background
Conditional flow matching. Flow matching learns a time-dependent vector field that transports a source distribution to a target distribution. Conditional flow matching (CFM) avoids requiring the marginal probability path and its velocity field in closed form by introducing tractable conditional probability paths [9 , 14 ] . For a condition z z z , typically an endpoint pair z = ( x 0 , x 1 ) z=(x_0,x_1) z = ( x 0 , x 1 ) , CFM minimizes
L C F M ( θ ) = E t , z , x ∼ ρ t ( ⋅ ∣ z ) [ ∥ u θ ( x , t ) − u t ( x ∣ z ) ∥ 2 ] . (1) \mathcal{L}_{\mathrm{CFM}}(\theta)=\mathbb{E}_{t,z,x\sim\rho_t(\cdot\mid z)}\left[\left\|u_\theta(x,t)-u_t(x\mid z)\right\|^2\right]. \tag*{(1)} L CFM ( θ ) = E t , z , x ∼ ρ t ( ⋅ ∣ z ) [ ∥ u θ ( x , t ) − u t ( x ∣ z ) ∥ 2 ] . (1)
Thus, an endpoint-conditioned CFM construction involves two key components: the distribution of endpoint pairs and the conditional path associated with each pair. Additional background on marginal flow matching is provided in Appendix § 8 .§ 1 .
OT and coupling–path consistency. Optimal transport provides a principled way to link these two components through a common transport geometry. For quadratic OT, the static Kantorovich problem determines an optimal endpoint coupling, while the corresponding particle-level geodesic is the constant-speed interpolation
x t = ( 1 − t ) x 0 + t x 1 , u t ( x t ∣ x 0 , x 1 ) = x 1 − x 0 . x_t = (1-t)x_0 + tx_1,\qquad u_t(x_t\mid x_0,x_1)=x_1-x_0. x t = ( 1 − t ) x 0 + t x 1 , u t ( x t ∣ x 0 , x 1 ) = x 1 − x 0 .
The endpoint coupling and conditional path therefore arise from the same transport geometry. OT-CFM exploits this correspondence by sampling endpoint pairs from the OT coupling and regressing the velocity field along the associated displacement interpolation [8 , 14 ] . We refer to this shared geometric origin as coupling–path consistency .
Unbalanced dynamics and WFR geometry. To describe changes in population abundance, the state velocity is augmented by a growth field. Along a particle trajectory carrying physical mass m t > 0 m_t > 0 m t > 0 , the growth rate is
g t = d ln m t d t = m ˙ t m t . (2) g_t = \frac{\mathrm{d}\ln m_t}{\mathrm{d}t} = \frac{\dot{m}_t}{m_t}. \tag*{(2)} g t = d t d ln m t = m t m ˙ t . (2)
At the population level, a finite mass density ρ t \rho_t ρ t evolves according to the unbalanced continuity equation
∂ t ρ t ( x ) + ∇ ⋅ ( ρ t ( x ) u t ( x ) ) = ρ t ( x ) g t ( x ) . (3) \partial_t\rho_t(x) + \nabla\cdot\left(\rho_t(x)u_t(x)\right) = \rho_t(x)g_t(x). \tag*{(3)} ∂ t ρ t ( x ) + ∇ ⋅ ( ρ t ( x ) u t ( x ) ) = ρ t ( x ) g t ( x ) . (3)
A representative geometry for such dynamics is Wasserstein–Fisher–Rao (WFR), whose dynamic formulation jointly penalizes state transport and growth [20 , 22 ] :
inf ρ , u , g ∫ 0 1 ∫ R d ( ∥ u t ( x ) ∥ 2 + δ 2 ∣ g t ( x ) ∣ 2 ) ρ t ( x ) d x d t , s.t. ∂ t ρ t + ∇ ⋅ ( ρ t u t ) = ρ t g t , ρ t = 0 = ρ 0 , ρ t = 1 = ρ 1 . \begin{aligned}
\inf_{\rho,u,g}\quad&\int_0^1\int_{\mathbb{R}^d}\left(\lVert u_t(x)\rVert^2+\delta^2\lvert g_t(x)\rvert^2\right)\rho_t(x)\,\mathrm{d}x\,\mathrm{d}t,\\
\text{s.t.}\quad&\partial_t\rho_t+\nabla\cdot(\rho_tu_t)=\rho_tg_t,\qquad\rho_{t=0}=\rho_0,\qquad\rho_{t=1}=\rho_1.
\end{aligned} ρ , u , g inf s.t. ∫ 0 1 ∫ R d ( ∥ u t ( x ) ∥ 2 + δ 2 ∣ g t ( x ) ∣ 2 ) ρ t ( x ) d x d t , ∂ t ρ t + ∇ ⋅ ( ρ t u t ) = ρ t g t , ρ t = 0 = ρ 0 , ρ t = 1 = ρ 1 .
As in balanced OT, the WFR geometry jointly determines endpoint pairing and particle-level interpolation, providing the geometric basis of WFR-FM [25 ] .
ESFM Framework
Our starting point is to incorporate assumptions about state and mass evolution through conditional particle paths, and to construct a transport problem consistent with those paths. We first introduce an extended space in which both state motion and mass change are represented as transport. As illustrated in Figure 1 , we then prescribe linear state and log-mass paths, construct a compatible microscopic action, derive the dynamic and static OT problems, and reduce the latter to a computable coupling in the original state space. Finally, this coupling and the prescribed paths provide the flow-matching regression targets.
Extended Space
To treat state motion and growth within a single transport description, we represent mass change as motion along an additional log-mass coordinate. ESFM defines the dynamics in the extended space W = R d × R \mathcal{W}=\mathbb{R}^d\times\mathbb{R} W = R d × R , where each particle is described by its cell state x x x and log mass y = ln m y=\ln m y = ln m . The joint state w = ( x , y ) w=(x,y) w = ( x , y ) evolves according to
d d t ( x t y t ) = ( u ^ t ( x t , y t ) g ^ t ( x t , y t ) ) . \frac{\mathrm{d}}{\mathrm{d}t}
\begin{pmatrix}
x_t\\
y_t
\end{pmatrix}
=
\begin{pmatrix}
\hat{u}_t(x_t,y_t)\\
\hat{g}_t(x_t,y_t)
\end{pmatrix}. d t d ( x t y t ) = ( u ^ t ( x t , y t ) g ^ t ( x t , y t ) ) .
Here u ^ t \hat{u}_t u ^ t and g ^ t \hat{g}_t g ^ t denote the state velocity and relative growth field in the extended space. Since y ˙ t = m ˙ t / m t \dot{y}_t=\dot{m}_t/m_t y ˙ t = m ˙ t / m t , velocity along this coordinate is precisely the relative growth rate. Let ρ ^ t \hat{\rho}_t ρ ^ t denote the particle number density. Its weighted projection recovers the physical mass density:
ρ t ( x ) = ∫ R e y ρ ^ t ( x , y ) d y . \rho_t(x)=\int_{\mathbb{R}}e^y\hat{\rho}_t(x,y)\,\mathrm{d}y. ρ t ( x ) = ∫ R e y ρ ^ t ( x , y ) d y .
We assume ∫ R d ρ 0 ( x ) d x = 1 \int_{\mathbb{R}^d} \rho_0(x)\,\mathrm{d}x = 1 ∫ R d ρ 0 ( x ) d x = 1 . We assume that each source particle has unit mass at t = 0 t = 0 t = 0 . The observed terminal population specifies physical mass, but does not prescribe how it is distributed over the latent log-mass coordinate. Accordingly, the boundary conditions are
ρ ^ 0 ( x , y ) = ρ 0 ( x ) δ 0 ( y ) , ∫ R e y ρ ^ 1 ( x , y ) d y = ρ 1 ( x ) . (4) \widehat{\rho}_0(x,y) = \rho_0(x)\delta_0(y), \qquad\int_{\mathbb{R}} e^y\widehat{\rho}_1(x,y)\,\mathrm{d}y = \rho_1(x). \tag*{(4)} ρ 0 ( x , y ) = ρ 0 ( x ) δ 0 ( y ) , ∫ R e y ρ 1 ( x , y ) d y = ρ 1 ( x ) . (4)
Thus ρ ^ 0 \widehat{\rho}_0 ρ 0 and ρ ^ 1 \widehat{\rho}_1 ρ 1 are probability measures, whereas ρ 1 \rho_1 ρ 1 need not have unit mass.
Particle weights change through motion along y y y , while particle number is conserved in the full extended space. This gives the conservative continuity equation:
∂ t ρ ^ t + ∇ x ⋅ ( ρ ^ t u ^ t ) + ∂ y ( ρ ^ t g ^ t ) = 0. (5) \partial_t\widehat{\rho}_t + \nabla_x \cdot(\widehat{\rho}_t\widehat{u}_t) + \partial_y(\widehat{\rho}_t\widehat{g}_t) = 0. \tag*{(5)} ∂ t ρ t + ∇ x ⋅ ( ρ t u t ) + ∂ y ( ρ t g t ) = 0. (5)
The following theorem shows that mass-weighted projection of the extended-space continuity equation recovers the original unbalanced dynamics in Eq. (3) .
Theorem 4.1. Assume that the extended density and growth field satisfy
lim y → ± ∞ e y ρ ^ t ( x , y ) g ^ t ( x , y ) = 0. \lim_{y\to\pm\infty} e^y\widehat{\rho}_t(x,y)\widehat{g}_t(x,y) = 0. y → ± ∞ lim e y ρ t ( x , y ) g t ( x , y ) = 0. After mass projection onto the physical state space, Equation (5) implies Equation (3) with the corresponding projected velocity and growth fields.
Intuitively, transport along log mass becomes a growth or death source term after mass-weighted projection. Thus, conservation in the extended space is compatible with changing physical population mass. The projected fields and proof are given in Appendix § 8 .§ 2 .
Prescribed Path and Compatible Action
We now specify the conditional dynamics that will guide the transport construction. Over a short interval with approximately stable growth conditions, constant relative growth provides a simple prior for mass evolution; straight state motion serves as a local approximation. For extended endpoints w 0 = ( x 0 , y 0 ) w_0 = (x_0, y_0) w 0 = ( x 0 , y 0 ) and w 1 = ( x 1 , y 1 ) w_1 = (x_1, y_1) w 1 = ( x 1 , y 1 ) , we first prescribe linear interpolation in both state and log mass:
x t = ( 1 − t ) x 0 + t x 1 , y t = ( 1 − t ) y 0 + t y 1 , m t = m 0 1 − t m 1 t . (6) x_t = (1-t)x_0 + tx_1,\qquad y_t = (1-t)y_0 + ty_1,\qquad m_t = m_0^{1-t}m_1^t. \tag*{(6)} x t = ( 1 − t ) x 0 + t x 1 , y t = ( 1 − t ) y 0 + t y 1 , m t = m 0 1 − t m 1 t . (6)
This path corresponds to constant state velocity and constant relative growth between the prescribed endpoints.
To make endpoint pairing reflect these same assumptions, we seek an action whose minimizing paths are the prescribed interpolants. A compatible choice is
A δ ( w ) = ∫ 0 1 ( ∥ x ˙ t ∥ 2 + δ 2 ∣ y ˙ t ∣ 2 ) d t , (7) \mathcal{A}_{\delta}(w) = \int_0^1 \left(\lVert\dot{x}_t\rVert^2 + \delta^2\lvert\dot{y}_t\rvert^2\right)\,\mathrm{d}t, \tag*{(7)} A δ ( w ) = ∫ 0 1 ( ∥ x ˙ t ∥ 2 + δ 2 ∣ y ˙ t ∣ 2 ) d t , (7)
where δ > 0 \delta> 0 δ > 0 controls the cost of changing log mass relative to state transport. For fixed endpoints, constant extended velocity minimizes this quadratic action. The minimum is therefore the cost of connecting the endpoints along the prescribed path:
c ( w 0 , w 1 ) = ∥ x 1 − x 0 ∥ 2 + δ 2 ∣ y 1 − y 0 ∣ 2 . (8) c(w_0,w_1) = \lVert x_1-x_0\rVert^2 + \delta^2\lvert y_1-y_0\rvert^2. \tag*{(8)} c ( w 0 , w 1 ) = ∥ x 1 − x 0 ∥ 2 + δ 2 ∣ y 1 − y 0 ∣ 2 . (8)
The optimality argument is given in Appendix § 8 .§ 3 .
More general formulation and examples with different prescribed paths are discussed in Appendix D; however, such cases generally do not admit analytically reduced formulations.
Extended Space Dynamic and Static OT
The microscopic action specifies the cost of one path; we next seek a population flow that matches the observed endpoints at minimum total cost. Integrating the action over the extended particle distribution gives the dynamic OT problem, subject to Equations (4) and (5) :
B δ ( ρ 0 , ρ 1 ) = inf ρ ^ , u ^ , g ^ ∫ 0 1 ∫ W ( ∥ u ^ t ( w ) ∥ 2 + δ 2 ∣ g ^ t ( w ) ∣ 2 ) ρ ^ t ( w ) d w d t . (9) \mathcal{B}_{\delta}(\rho_0,\rho_1) = \inf_{\widehat{\rho},\widehat{u},\widehat{g}} \int_0^1 \int_{\mathcal{W}} \left(\lVert\widehat{u}_t(w)\rVert^2 + \delta^2\lvert\widehat{g}_t(w)\rvert^2\right)\widehat{\rho}_t(w)\,\mathrm{d}w\,\mathrm{d}t. \tag*{(9)} B δ ( ρ 0 , ρ 1 ) = ρ , u , g inf ∫ 0 1 ∫ W ( ∥ u t ( w ) ∥ 2 + δ 2 ∣ g t ( w ) ∣ 2 ) ρ t ( w ) d w d t . (9)
To compute an endpoint coupling without optimizing an entire time-dependent flow, we use the minimum path cost in Equation (8) to formulate the static problem:
K δ ( ρ 0 , ρ 1 ) = inf ρ ^ 1 ∈ P ( W ) π ^ ∈ Π ( ρ ^ 0 , ρ ^ 1 ) ∫ W 2 c ( w 0 , w 1 ) d π ^ ( w 0 , w 1 ) . (10) \mathcal{K}_{\delta}(\rho_0,\rho_1)=\inf_{\substack{\widehat{\rho}_1\in\mathcal{P}(\mathcal{W})\\\widehat{\pi}\in\Pi(\widehat{\rho}_0,\widehat{\rho}_1)}}\int_{\mathcal{W}^2}c(w_0,w_1)\,\mathrm{d}\widehat{\pi}(w_0,w_1). \tag*{(10)} K δ ( ρ 0 , ρ 1 ) = ρ 1 ∈ P ( W ) π ∈ Π ( ρ 0 , ρ 1 ) inf ∫ W 2 c ( w 0 , w 1 ) d π ( w 0 , w 1 ) . (10)
Here P ( W ) \mathcal{P}(\mathcal{W}) P ( W ) denotes the set of probability measures on W \mathcal{W} W , and Π ( ρ ^ 0 , ρ ^ 1 ) \Pi(\widehat{\rho}_0,\widehat{\rho}_1) Π ( ρ 0 , ρ 1 ) denotes probability couplings with these marginals, subject to Equation (4) . Unlike standard OT, ESFM optimizes ρ ^ 1 \widehat{\rho}_1 ρ 1 jointly with the coupling, while fixing only its weighted projection. The next theorem shows that this endpoint optimization retains the optimal value of the dynamic problem, linking the coupling to the chosen action and paths.
Theorem 4.2. The extended dynamic and static problems have equal optimal values: B δ ( ρ 0 , ρ 1 ) = K δ ( ρ 0 , ρ 1 ) \mathcal{B}_{\delta}(\rho_0,\rho_1)=\mathcal{K}_{\delta}(\rho_0,\rho_1) B δ ( ρ 0 , ρ 1 ) = K δ ( ρ 0 , ρ 1 ) .
The proof is provided in Appendix § 8 .§ 3 .
Reduced ESFM Static OT
We now investigate how this static problem can be reformulated as an optimal transport problem in the original state space.
The source condition fixes y 0 = 0 y_0=0 y 0 = 0 , so the extended plan can be written as π ( x 0 , x 1 , y 1 ) \pi(x_0,x_1,y_1) π ( x 0 , x 1 , y 1 ) . To bound individual particle growth, we impose y 1 ≤ M y_1\le M y 1 ≤ M with M > 1 M>1 M > 1 . The choice of M M M is described in Appendix § 9 .§ 1 . Since y 1 = ln m 1 y_1=\ln m_1 y 1 = ln m 1 , negative values of y 1 y_1 y 1 remain allowed and correspond to mass decay. Define the two semi-couplings
γ 0 ( x 0 , x 1 ) = ∫ π ( x 0 , x 1 , y 1 ) d y 1 , γ 1 ( x 0 , x 1 ) = ∫ e y 1 π ( x 0 , x 1 , y 1 ) d y 1 . \gamma_0(x_0,x_1)=\int\pi(x_0,x_1,y_1)\,\mathrm{d}y_1,\qquad\gamma_1(x_0,x_1)=\int e^{y_1}\pi(x_0,x_1,y_1)\,\mathrm{d}y_1. γ 0 ( x 0 , x 1 ) = ∫ π ( x 0 , x 1 , y 1 ) d y 1 , γ 1 ( x 0 , x 1 ) = ∫ e y 1 π ( x 0 , x 1 , y 1 ) d y 1 .
For each endpoint pair, γ 0 \gamma_0 γ 0 and γ 1 \gamma_1 γ 1 represent the initial and final mass, respectively. Their ratio R ( x 0 , x 1 ) = d γ 1 d γ 0 ( x 0 , x 1 ) R(x_0,x_1)=\frac{\mathrm{d}\gamma_1}{\mathrm{d}\gamma_0}(x_0,x_1) R ( x 0 , x 1 ) = d γ 0 d γ 1 ( x 0 , x 1 ) is the local growth ratio, with 0 < R ( x 0 , x 1 ) ≤ e M 0<R(x_0,x_1)\le e^M 0 < R ( x 0 , x 1 ) ≤ e M .
The following theorem shows how the extended-space static OT problem in Equation (10) can be reformulated on the original state space.
Theorem 4.3. For M > 1 M>1 M > 1 , the extended static problem in Equation (10) with the additional constraint y 1 ≤ M y_1\le M y 1 ≤ M is equivalent to
inf γ 0 , γ 1 ≥ 0 ∬ [ ∥ x 1 − x 0 ∥ 2 + δ 2 Φ M ( R ( x 0 , x 1 ) ) ] d γ 0 , \inf_{\gamma_0,\gamma_1\ge0}\iint\left[\lVert x_1-x_0\rVert^2+\delta^2\Phi_M\bigl(R(x_0,x_1)\bigr)\right]\,\mathrm{d}\gamma_0, γ 0 , γ 1 ≥ 0 inf ∬ [ ∥ x 1 − x 0 ∥ 2 + δ 2 Φ M ( R ( x 0 , x 1 ) ) ] d γ 0 , s.t. ∫ γ 0 ( x 0 , x 1 ) d x 1 = ρ 0 ( x 0 ) , ∫ γ 1 ( x 0 , x 1 ) d x 0 = ρ 1 ( x 1 ) , 0 < R ( x 0 , x 1 ) ≤ e M . (11) \begin{aligned}
\text{s.t.}\quad&\int\gamma_0(x_0,x_1)\,\mathrm{d}x_1=\rho_0(x_0),\\
&\int\gamma_1(x_0,x_1)\,\mathrm{d}x_0=\rho_1(x_1),\\
&0<R(x_0,x_1)\le e^M. \tag*{(11)}
\end{aligned} s.t. ∫ γ 0 ( x 0 , x 1 ) d x 1 = ρ 0 ( x 0 ) , ∫ γ 1 ( x 0 , x 1 ) d x 0 = ρ 1 ( x 1 ) , 0 < R ( x 0 , x 1 ) ≤ e M . (11) Here Φ M ( ⋅ ) \Phi_M(\cdot) Φ M ( ⋅ ) is given by
Φ M ( r ) = { ( ln r ) 2 , 0 < r ≤ e y ⋆ , 2 y ⋆ e y ⋆ r + y ⋆ 2 − 2 y ⋆ , e y ⋆ < r ≤ e M . \Phi_M(r)=
\begin{cases}
(\ln r)^2, & 0<r\le e^{y_\star},\\
\frac{2y_\star}{e^{y_\star}}r+y_\star^2-2y_\star, & e^{y_\star}<r\le e^M.
\end{cases} Φ M ( r ) = { ( ln r ) 2 , e y ⋆ 2 y ⋆ r + y ⋆ 2 − 2 y ⋆ , 0 < r ≤ e y ⋆ , e y ⋆ < r ≤ e M . where y ⋆ ∈ ( 0 , 1 ) y_\star\in(0,1) y ⋆ ∈ ( 0 , 1 ) is the threshold determined by M M M through the equation M 2 − y ⋆ 2 + 2 y ⋆ − 2 y ⋆ e M − y ⋆ = 0 M^2-y_\star^2+2y_\star-2y_\star e^{M-y_\star}=0 M 2 − y ⋆ 2 + 2 y ⋆ − 2 y ⋆ e M − y ⋆ = 0 .
In this reduced formulation, state transport retains its squared Euclidean cost, while mass change is penalized through δ 2 Φ M ( R ) \delta^2\Phi_M(R) δ 2 Φ M ( R ) . The reduction preserves the extended-space optimum while making the coupling computable using state pairs and growth ratios. The reduction and local optimizer are proved in Appendix § 8 .§ 4 .
To compute the reduced coupling efficiently, we introduce entropic regularization and derive an iterative solver for the resulting problem.
Proposition 4.1. The entropic regularization of Equation (11) admits a Sinkhorn-like algorithm with explicit alternating row and column updates.
The update formulas and proof are given in Appendix § 8 .§ 5 . For training, sample state pairs from normalized γ 0 \gamma_0 γ 0 , set y 0 = 0 y_0 = 0 y 0 = 0 , and draw y 1 y_1 y 1 from the local optimizer in Equation (A.25).
We also check that the optimal transport cost is independent of how source mass at a fixed state is divided among particles.
Proposition 4.2. Splitting a source particle into particles at the same state, while preserving its total weight, does not change the optimal value of Equation (A.15).
The proof is given in Appendix § 8 .§ 6 .
Conditional Paths and ESFM Training
The coupling now supplies endpoint pairs and masses. The remaining task is to learn velocity and growth fields from the conditional paths connecting these endpoints. We apply the balanced CFM construction of Lipman et al. [9 ] in extended space, using separate networks v θ v_\theta v θ and g ϕ g_\phi g ϕ to form s θ , ϕ = ( v θ , g ϕ ) s_{\theta,\phi} = (v_\theta, g_\phi) s θ , ϕ = ( v θ , g ϕ ) .
Marginal objective. For an extended density path ρ ^ t \hat{\rho}_t ρ ^ t with velocity components ( u ^ t , g ^ t ) (\hat{u}_t,\hat{g}_t) ( u ^ t , g ^ t ) , the ideal regression objective is
L E S F M m a r g ( θ , ϕ ) = ∫ 0 1 ∫ W [ ∥ v θ ( w , t ) − u ^ t ( w ) ∥ 2 + λ ∣ g ϕ ( w , t ) − g ^ t ( w ) ∣ 2 ] ρ ^ t ( w ) d w d t . (12) \mathcal{L}^{\mathrm{marg}}_{\mathrm{ESFM}}(\theta,\phi) = \int_0^1 \int_{\mathcal{W}} \left[\lVert v_\theta(w,t) - \hat{u}_t(w)\rVert^2 + \lambda\lvert g_\phi(w,t) - \hat{g}_t(w)\rvert^2\right]\hat{\rho}_t(w)\,\mathrm{d}w\,\mathrm{d}t. \tag*{(12)} L ESFM marg ( θ , ϕ ) = ∫ 0 1 ∫ W [ ∥ v θ ( w , t ) − u ^ t ( w ) ∥ 2 + λ ∣ g ϕ ( w , t ) − g ^ t ( w ) ∣ 2 ] ρ ^ t ( w ) d w d t . (12)
The population-level fields are unknown, but the velocity and growth rate along each prescribed conditional path are explicit. We therefore replace this ideal objective with regression against those conditional targets.
Conditional path. Let z = ( w 0 , w 1 ) ∈ Z = W 2 z = (w_0,w_1) \in\mathcal{Z} = \mathcal{W}^2 z = ( w 0 , w 1 ) ∈ Z = W 2 have the endpoint distribution q q q obtained in § 4.4 . We use the ESFM geodesic μ t ( z ) = ( 1 − t ) w 0 + t w 1 \mu_t(z) = (1-t)w_0 + tw_1 μ t ( z ) = ( 1 − t ) w 0 + t w 1 as the mean of a Gaussian path with fixed covariance:
ρ ^ t ( w ∣ z ) = N ( w ∣ μ t ( z ) , σ 2 I d + 1 ) . \hat{\rho}_t(w \mid z) = \mathcal{N}\left(w \mid\mu_t(z),\sigma^2 I_{d+1}\right). ρ ^ t ( w ∣ z ) = N ( w ∣ μ t ( z ) , σ 2 I d + 1 ) .
As σ → 0 \sigma\to0 σ → 0 , the Gaussian path recovers the deterministic ESFM path w t = μ t ( z ) w_t = \mu_t(z) w t = μ t ( z ) . Its conditional velocity is constant:
s ^ t ( w ∣ z ) = ( u ^ t ( w ∣ z ) , g ^ t ( w ∣ z ) ) = w 1 − w 0 . \hat{s}_t(w \mid z) = \left(\hat{u}_t(w \mid z),\hat{g}_t(w \mid z)\right) = w_1 - w_0. s ^ t ( w ∣ z ) = ( u ^ t ( w ∣ z ) , g ^ t ( w ∣ z ) ) = w 1 − w 0 .
Mixing the conditional densities over q q q gives ρ ^ t \hat{\rho}_t ρ ^ t ; averaging their velocities conditional on the current state gives ( u ^ t , g ^ t ) (\hat{u}_t,\hat{g}_t) ( u ^ t , g ^ t ) . The explicit formulas are provided in Appendix § 8 .7.
Conditional objective. The computable training loss is
L E S F M c o n d ( θ , ϕ ) = ∫ 0 1 ∫ Z ∫ W [ ∥ v θ ( w , t ) − u ^ t ( w ∣ z ) ∥ 2 + λ ∣ g ϕ ( w , t ) − g ^ t ( w ∣ z ) ∣ 2 ] ρ ^ t ( w ∣ z ) q ( z ) d w d z d t . (13) \mathcal{L}^{\mathrm{cond}}_{\mathrm{ESFM}}(\theta,\phi) = \int_0^1 \int_{\mathcal{Z}} \int_{\mathcal{W}} \left[\lVert v_\theta(w,t) - \hat{u}_t(w \mid z)\rVert^2 + \lambda\lvert g_\phi(w,t) - \hat{g}_t(w \mid z)\rvert^2\right]\hat{\rho}_t(w \mid z)q(z)\,\mathrm{d}w\,\mathrm{d}z\,\mathrm{d}t. \tag*{(13)} L ESFM cond ( θ , ϕ ) = ∫ 0 1 ∫ Z ∫ W [ ∥ v θ ( w , t ) − u ^ t ( w ∣ z ) ∥ 2 + λ ∣ g ϕ ( w , t ) − g ^ t ( w ∣ z ) ∣ 2 ] ρ ^ t ( w ∣ z ) q ( z ) d w d z d t . (13)
Here λ > 0 \lambda> 0 λ > 0 balances the state and log mass regression errors. The following result shows that conditional regression has the same parameter gradient as the ideal marginal objective, so these tractable targets suffice for training.
Theorem 4.4. Assume that ρ ^ t ( w ) > 0 \hat{\rho}_t(w) > 0 ρ ^ t ( w ) > 0 for all w ∈ W w \in\mathcal{W} w ∈ W and t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] , and that q ( z ) q(z) q ( z ) is independent of w w w and t t t . Then
∇ θ , ϕ L E S F M c o n d ( θ , ϕ ) = ∇ θ , ϕ L E S F M m a r g ( θ , ϕ ) . \nabla_{\theta,\phi}\mathcal{L}^{\mathrm{cond}}_{\mathrm{ESFM}}(\theta,\phi) = \nabla_{\theta,\phi}\mathcal{L}^{\mathrm{marg}}_{\mathrm{ESFM}}(\theta,\phi). ∇ θ , ϕ L ESFM cond ( θ , ϕ ) = ∇ θ , ϕ L ESFM marg ( θ , ϕ ) .
The proof is provided in Appendix § 8 .7.
Training thus requires only sampling the endpoint law and evaluating the prescribed paths and their derivatives, without ODE integration. The coupling and regression targets are linked through the same action and conditional paths.
Algorithm 1 ESFM conditional flow matching training
Input: endpoint law q ( z ) q(z) q ( z ) with z = ( w 0 , w 1 ) z=(w_0,w_1) z = ( w 0 , w 1 ) ; λ , σ \lambda,\sigma λ , σ ; batch size B B B , training steps K K K , and learning rates η v , η g \eta_v,\eta_g η v , η g .
for k = 1 , … , K k=1,\ldots,K k = 1 , … , K do
Sample { z b = ( w 0 , b , w 1 , b ) } b = 1 B \{z_b=(w_{0,b},w_{1,b})\}_{b=1}^{B} { z b = ( w 0 , b , w 1 , b ) } b = 1 B independently from q ( z ) q(z) q ( z ) .
for b = 1 , … , B b=1,\ldots,B b = 1 , … , B do
Sample t b ∼ U [ 0 , 1 ] t_b\sim U[0,1] t b ∼ U [ 0 , 1 ] and ϵ b ∼ N ( 0 , I d + 1 ) \epsilon_b\sim\mathcal{N}(0,I_{d+1}) ϵ b ∼ N ( 0 , I d + 1 ) .
w t , b ← ( 1 − t b ) w 0 , b + t b w 1 , b + σ ϵ b w_{t,b}\leftarrow(1-t_b)w_{0,b}+t_bw_{1,b}+\sigma\epsilon_b w t , b ← ( 1 − t b ) w 0 , b + t b w 1 , b + σ ϵ b .
s b ⋆ ← w 1 , b − w 0 , b = ( u b ⋆ , g b ⋆ ) s_b^\star\leftarrow w_{1,b}-w_{0,b}=(u_b^\star,g_b^\star) s b ⋆ ← w 1 , b − w 0 , b = ( u b ⋆ , g b ⋆ ) .
end for
L ^ u ← B − 1 ∑ b = 1 B ∥ v θ ( w t , b , t b ) − u b ⋆ ∥ 2 2 \widehat{\mathcal{L}}_u\leftarrow B^{-1}\sum_{b=1}^{B}\lVert v_\theta(w_{t,b},t_b)-u_b^\star\rVert_2^2 L u ← B − 1 ∑ b = 1 B ∥ v θ ( w t , b , t b ) − u b ⋆ ∥ 2 2 .
L ^ g ← B − 1 ∑ b = 1 B ∣ g ϕ ( w t , b , t b ) − g b ⋆ ∣ 2 \widehat{\mathcal{L}}_g\leftarrow B^{-1}\sum_{b=1}^{B}\lvert g_\phi(w_{t,b},t_b)-g_b^\star\rvert^2 L g ← B − 1 ∑ b = 1 B ∣ g ϕ ( w t , b , t b ) − g b ⋆ ∣ 2 .
θ ← θ − η v ∇ θ L ^ u \theta\leftarrow\theta-\eta_v\nabla_\theta\widehat{\mathcal{L}}_u θ ← θ − η v ∇ θ L u .
ϕ ← ϕ − η g λ ∇ ϕ L ^ g \phi\leftarrow\phi-\eta_g\lambda\nabla_\phi\widehat{\mathcal{L}}_g ϕ ← ϕ − η g λ ∇ ϕ L g .
end for
Output: the trained vector field in extended space s θ , ϕ = ( v θ , g ϕ ) s_{\theta,\phi}=(v_\theta,g_\phi) s θ , ϕ = ( v θ , g ϕ ) .
Detailed comparisons with VGFM, WFR-FM, and USB are provided in Appendix § 10 . The inference procedure is given in Appendix § 13 .
Numerical Results
We evaluate ESFM through four questions: Q1: Can a prescribed path consistent with known growth prior improve recovery of state-dependent growth dynamics? Q2: Does the numerical ESFM construction recover the expected path–coupling consistency? Q3: Does the prescribed path design preserve accurate state and mass prediction? Q4: Does ESFM generalize to unseen snapshots in real single-cell data? Implementation settings and metric definitions are provided in Appendices § 9 .§ 1 and § 9 .§ 2 .
Recovery of state-dependent growth dynamics (Q1). We first test whether a prescribed growth path consistent with known qualitative growth behavior improves recovery of the underlying growth field. We use a controlled variant of the Simulation Gene benchmark with a known state-dependent growth field, containing a proliferative branch with growth near g max g_{\max} g m a x and an approximately quiescent branch with near-zero growth. ESFM and WFR-FM are trained on the same population snapshots and evaluated against the ground-truth growth field.
Figure 2. Growth field recovery on the saturating growth Simulation Gene benchmark. (a) Ground-truth growth rate. (b) ESFM prediction. (c) WFR-FM prediction.
As shown in Figure 2, ESFM recovers both the near-zero growth of the quiescent population and the saturated growth of the proliferative branch. Using the coefficient of determination R 2 R^2 R 2 , ESFM achieves R 2 = 0.922 R^2 = 0.922 R 2 = 0.922 , whereas WFR-FM underestimates the growth magnitude and yields R 2 = − 0.931 R^2 = -0.931 R 2 = − 0.931 . Thus, in this controlled setting, ESFM more faithfully recovers the underlying state-dependent growth dynamics. Additional comparisons with VGFM, DeepRUOT and Var-RUOT, including growth-field and trajectory recovery on held-out snapshots, are provided in Appendix § 9 .§ 3 .
Numerical verification of path–coupling consistency (Q2). We compare the static coupling cost A s t a t A_{\mathrm{stat}} A stat with the dynamic action A d y n A_{\mathrm{dyn}} A dyn of ESFM’s learned dynamics. The static value is obtained by solving the entropy-regularized static OT problem and evaluating the coupling’s cost. The dynamic value is computed by numerical integration along ODE trajectories generated by the learned velocity and growth fields. Across the evaluated datasets, Table 1 shows close agreement between the two values, indicating that the learned dynamics approximately recover the corresponding static coupling costs. These results provide numerical support for ESFM’s path–coupling consistency. Computational details are provided in Appendix § 9 .§ 6 .
Table 1. Static coupling cost and learned dynamic action.
Predictive accuracy under prescribed path design (Q3). We next test whether imposing the prescribed path compromises predictive accuracy. ESFM is evaluated on Simulation Gene, Dyngen, and a 1000D Gaussian mixture using the 1-Wasserstein distance W 1 W_1 W 1 for distributional accuracy and relative mass error (RME) for mass prediction. Additional results are provided in Appendix § 9 .§ 3 .
As shown in Table 2 , ESFM achieves the best W 1 W_1 W 1 and RME on Gene and Dyngen, and the lowest RME on Gaussian while remaining competitive in distributional accuracy. These results show that the prescribed path design preserves accurate endpoint prediction while providing reliable mass estimation.
Table 2. Synthetic benchmark performance measured by mean W 1 W_1 W 1 and RME. RME is reported only for unbalanced methods.
Figure 3 visualizes the learned dynamics on Gene and Dyngen. The predicted endpoint distributions closely match the observed targets, while the propagated source trajectories illustrate the learned state evolution.
Figure 3. Qualitative trajectory reconstruction by ESFM on synthetic benchmarks. Crosses denote observed target samples, circles denote ESFM predictions, and gray curves denote propagated source trajectories.
Generalization to held-out single-cell snapshots (Q4). Finally, we evaluate ESFM on unseen snapshots using hold-one-out interpolation on EMT, embryoid body (EB), CITE-seq, and mouse hematopoiesis. We report the mean 1-Wasserstein distance W 1 W_1 W 1 over held-out time points. Additional results, including held-out growth maps and trajectory comparisons with WFR-FM, VGFM, DeepRUOT and Var-RUOT, are provided in Appendices § 9 .§ 4 and § 9 .§ 5 .
As shown in Table 3 , ESFM achieves the lowest reported mean on EMT and the second-lowest on EB and Mouse. These results show that ESFM maintains competitive distributional prediction and generalizes well to unseen snapshots across diverse real single-cell systems.
Table 3. Hold-one-out interpolation performance on real single-cell datasets.
Computational efficiency on the 100D EB dataset, including training time and memory, is reported in Appendix § 9 .§ 5 (Figure 13 ).
Figure 13. Efficiency comparison on the 100D EB dataset.
Conclusion, Limitations, and Discussion
We introduced ESFM, an extended space flow matching framework for unbalanced dynamics from population snapshots. ESFM lifts nonconservative dynamics to conservative transport in a joint space of state and log mass, where state transport and relative growth are modeled jointly. For the linear state and log mass paths studied here, we use a compatible quadratic action and derive the corresponding static transport problem. The terminal log mass coordinate can be eliminated analytically, yielding a tractable reduced coupling problem and a simulation-free flow matching objective. Experiments demonstrate improved recovery of state-dependent growth dynamics while maintaining competitive predictive performance.
Several limitations remain. The prescribed path is an inductive prior rather than a uniquely identifiable biological trajectory, and solving the static transport problem can be costly at scale. Minibatch and entropic approximations improve efficiency but require further study. Future work could explore more biologically informed path and action designs within the extended space framework.
Acknowledgements
This work was supported by the National Key R&D Program of China (No. 2021YFA1003301 to T.L.) and the National Natural Science Foundation of China (NSFC No. 12288101 to T.L.). We acknowledge support from the High-performance Computing Platform of Peking University for computation.
Mathematical Derivations and Proofs
Additional Background on Flow Matching and Dynamic OT
This section provides additional background, including marginal flow matching and the dynamic–static correspondence underlying OT-based conditional flow matching.
Flow matching. Consider normalized endpoint distributions ρ 0 , ρ 1 ∈ P ( R d ) \rho_0, \rho_1 \in\mathcal{P}(\mathbb{R}^d) ρ 0 , ρ 1 ∈ P ( R d ) . Flow matching learns a time-dependent vector field whose ODE transports samples from ρ 0 \rho_0 ρ 0 to ρ 1 \rho_1 ρ 1 :
d x t d t = u t ( x t ) . (14) \frac{\mathrm{d}x_t}{\mathrm{d}t} = u_t(x_t). \tag*{(14)} d t d x t = u t ( x t ) . (14)
Given a probability path { ρ t } t ∈ [ 0 , 1 ] \{\rho_t\}_{t \in[0,1]} { ρ t } t ∈ [ 0 , 1 ] and its velocity field u t u_t u t , the marginal flow-matching objective is
L F M ( θ ) = E t , x ∼ ρ t [ ∥ u θ ( x , t ) − u t ( x ) ∥ 2 ] . \mathcal{L}_{\mathrm{FM}}(\theta) = \mathbb{E}_{t,x \sim\rho_t}\left[\left\lVert u_\theta(x,t)-u_t(x)\right\rVert^2\right]. L FM ( θ ) = E t , x ∼ ρ t [ ∥ u θ ( x , t ) − u t ( x ) ∥ 2 ] .
The learned vector field is used for inference by integrating Equation (A.1). In practice, the marginal path ρ t \rho_t ρ t and marginal velocity u t u_t u t are generally unavailable in closed form, which motivates the conditional formulation used in Equation (3.1).
Dynamic optimal transport. In the balanced setting, a density ρ t \rho_t ρ t and velocity field u t u_t u t satisfy the continuity equation
∂ t ρ t + ∇ ⋅ ( ρ t u t ) = 0. \partial_t \rho_t + \nabla\cdot(\rho_t u_t) = 0. ∂ t ρ t + ∇ ⋅ ( ρ t u t ) = 0.
The Benamou–Brenier formulation selects the interpolation of minimum kinetic energy [8 ] :
W 2 2 ( ρ 0 , ρ 1 ) = inf ρ , u ∫ 0 1 ∫ R d ∥ u t ( x ) ∥ 2 ρ t ( x ) d x d t , W_2^2(\rho_0,\rho_1) = \inf_{\rho,u} \int_0^1 \int_{\mathbb{R}^d} \lVert u_t(x)\rVert^2 \rho_t(x)\,\mathrm{d}x\,\mathrm{d}t, W 2 2 ( ρ 0 , ρ 1 ) = ρ , u inf ∫ 0 1 ∫ R d ∥ u t ( x ) ∥ 2 ρ t ( x ) d x d t ,
s.t. ∂ t ρ t + ∇ ⋅ ( ρ t u t ) = 0 , \text{s.t.}\quad\partial_t \rho_t + \nabla\cdot(\rho_t u_t) = 0, s.t. ∂ t ρ t + ∇ ⋅ ( ρ t u t ) = 0 ,
ρ t = 0 = ρ 0 , ρ t = 1 = ρ 1 . \rho_{t=0} = \rho_0,\qquad\rho_{t=1} = \rho_1. ρ t = 0 = ρ 0 , ρ t = 1 = ρ 1 .
For a pair of Dirac measures at x 0 x_0 x 0 and x 1 x_1 x 1 , the minimizing particle path is
x t = ( 1 − t ) x 0 + t x 1 , u t = x 1 − x 0 . (15) x_t = (1-t)x_0 + tx_1,\qquad u_t = x_1-x_0. \tag*{(15)} x t = ( 1 − t ) x 0 + t x 1 , u t = x 1 − x 0 . (15)
Thus, the dynamic OT geometry determines the conditional path and its velocity at the particle level.
Static OT and endpoint coupling. The Benamou–Brenier dynamic problem is equivalent to the quadratic Kantorovich problem
π ⋆ ∈ arg min π ∈ Π ( ρ 0 , ρ 1 ) ∫ R d × R d ∥ x 1 − x 0 ∥ 2 d π ( x 0 , x 1 ) . \pi^\star\in\underset{\pi\in\Pi(\rho_0,\rho_1)}{\arg\min}\int_{\mathbb{R}^d \times\mathbb{R}^d}\lVert x_1-x_0\rVert^2\,\mathrm{d}\pi(x_0,x_1). π ⋆ ∈ π ∈ Π ( ρ 0 , ρ 1 ) arg min ∫ R d × R d ∥ x 1 − x 0 ∥ 2 d π ( x 0 , x 1 ) .
The static formulation determines which source and target states are paired, whereas the corresponding dynamic formulation determines how each pair moves between its endpoints. Aggregating the Dirac-to-Dirac geodesics in Equation (A.2) over the optimal coupling π ⋆ \pi^\star π ⋆ recovers the balanced displacement interpolation. This dynamic–static correspondence is the geometric basis of OT-CFM [14 ] .
Extension to unbalanced dynamics. For mass-changing systems, the conservative continuity equation is replaced by
∂ t ρ t + ∇ ⋅ ( ρ t u t ) = ρ t g t . \partial_t \rho_t + \nabla\cdot(\rho_t u_t) = \rho_t g_t. ∂ t ρ t + ∇ ⋅ ( ρ t u t ) = ρ t g t .
where g t g_t g t is the growth rate defined in Equation (3.2). Dynamic unbalanced OT formulations, including WFR, augment the transport action with a growth penalty and admit corresponding static formulations based on relaxed couplings or semi-couplings [21 , 44 ] .
The same construction principle can therefore be used in unbalanced flow matching: a dynamic transport geometry determines the single-particle state and mass paths, while its static formulation determines the endpoint pairing. Examples include relaxed-coupling approaches such as UOT-FM and CellFlow [23 , 45 ] , semi-relaxed growth estimation as in VGFM [24 ] , and WFR-geodesic constructions such as WFR-FM and MUST-FM [25 , 40 ] . Related methods model stochastic branching or mechanistic gene-regulatory dynamics, including USB and PFM [38 , 39 ] .
Proof of the Projection Theorem
Let y = ln m y=\ln m y = ln m and let ρ ^ t ( x , y ) \hat{\rho}_t(x,y) ρ ^ t ( x , y ) be a particle number density. The physical density is
ρ t ( x ) = ∫ R e y ρ ^ t ( x , y ) d y . \rho_t(x)=\int_{\mathbb{R}} e^y\hat{\rho}_t(x,y)\,\mathrm{d}y. ρ t ( x ) = ∫ R e y ρ ^ t ( x , y ) d y .
If the extended velocity is ( u ^ t , g ^ t ) (\hat{u}_t,\hat{g}_t) ( u ^ t , g ^ t ) , then the physical velocity and growth rate are weighted averages:
u t ( x ) = ∫ R u ^ t ( x , y ) ρ ^ t ( x , y ) e y d y ρ t ( x ) , g t ( x ) = ∫ R g ^ t ( x , y ) ρ ^ t ( x , y ) e y d y ρ t ( x ) . u_t(x)=\frac{\int_{\mathbb{R}}\hat{u}_t(x,y)\hat{\rho}_t(x,y)e^y\,\mathrm{d}y}{\rho_t(x)},\qquad
g_t(x)=\frac{\int_{\mathbb{R}}\hat{g}_t(x,y)\hat{\rho}_t(x,y)e^y\,\mathrm{d}y}{\rho_t(x)}. u t ( x ) = ρ t ( x ) ∫ R u ^ t ( x , y ) ρ ^ t ( x , y ) e y d y , g t ( x ) = ρ t ( x ) ∫ R g ^ t ( x , y ) ρ ^ t ( x , y ) e y d y .
The conservative extended equation is
∂ t ρ ^ t + ∇ x ⋅ ( ρ ^ t u ^ t ) + ∂ y ( ρ ^ t g ^ t ) = 0. (16) \partial_t\hat{\rho}_t+\nabla_x\cdot(\hat{\rho}_t\hat{u}_t)+\partial_y(\hat{\rho}_t\hat{g}_t)=0. \tag*{(16)} ∂ t ρ ^ t + ∇ x ⋅ ( ρ ^ t u ^ t ) + ∂ y ( ρ ^ t g ^ t ) = 0. (16)
We now derive the physical nonconservative continuity equation in Equation (3) . Multiplying Equation (A.3) by e y e^y e y and integrating over y y y gives
∫ R e y ∂ t ρ ^ t d y + ∫ R e y ∇ x ⋅ ( ρ ^ t u ^ t ) d y + ∫ R e y ∂ y ( ρ ^ t g ^ t ) d y = 0. (17) \int_{\mathbb{R}}e^y\partial_t\hat{\rho}_t\,\mathrm{d}y+\int_{\mathbb{R}}e^y\nabla_x\cdot(\hat{\rho}_t\hat{u}_t)\,\mathrm{d}y+\int_{\mathbb{R}}e^y\partial_y(\hat{\rho}_t\hat{g}_t)\,\mathrm{d}y=0. \tag*{(17)} ∫ R e y ∂ t ρ ^ t d y + ∫ R e y ∇ x ⋅ ( ρ ^ t u ^ t ) d y + ∫ R e y ∂ y ( ρ ^ t g ^ t ) d y = 0. (17)
The first two terms are the projected time derivative and flux:
∫ R e y ∂ t ρ ^ t ( x , y ) d y = ∂ t ρ t ( x ) , (18) \int_{\mathbb{R}}e^y\partial_t\hat{\rho}_t(x,y)\,\mathrm{d}y=\partial_t\rho_t(x), \tag*{(18)} ∫ R e y ∂ t ρ ^ t ( x , y ) d y = ∂ t ρ t ( x ) , (18)
∫ R e y ∇ x ⋅ ( ρ ^ t ( x , y ) u ^ t ( x , y ) ) d y = ∇ x ⋅ ( ρ t ( x ) u t ( x ) ) , (19) \int_{\mathbb{R}}e^y\nabla_x\cdot\bigl(\hat{\rho}_t(x,y)\hat{u}_t(x,y)\bigr)\,\mathrm{d}y=\nabla_x\cdot\bigl(\rho_t(x)u_t(x)\bigr), \tag*{(19)} ∫ R e y ∇ x ⋅ ( ρ ^ t ( x , y ) u ^ t ( x , y ) ) d y = ∇ x ⋅ ( ρ t ( x ) u t ( x ) ) , (19)
where the second identity follows from the definition of the weighted physical velocity. For the y y y -transport term, integration by parts gives
∫ R e y ∂ y ( ρ ^ t ( x , y ) g ^ t ( x , y ) ) d y = [ e y ρ ^ t ( x , y ) g ^ t ( x , y ) ] − ∞ + ∞ − ∫ R e y ρ ^ t ( x , y ) g ^ t ( x , y ) d y = − ρ t ( x ) g t ( x ) , (20) \begin{aligned}
\int_{\mathbb{R}}e^y\partial_y\bigl(\hat{\rho}_t(x,y)\hat{g}_t(x,y)\bigr)\,\mathrm{d}y
&=\left[e^y\hat{\rho}_t(x,y)\hat{g}_t(x,y)\right]_{-\infty}^{+\infty}
-\int_{\mathbb{R}}e^y\hat{\rho}_t(x,y)\hat{g}_t(x,y)\,\mathrm{d}y\\
&=-\rho_t(x)g_t(x), \tag*{(20)}
\end{aligned} ∫ R e y ∂ y ( ρ ^ t ( x , y ) g ^ t ( x , y ) ) d y = [ e y ρ ^ t ( x , y ) g ^ t ( x , y ) ] − ∞ + ∞ − ∫ R e y ρ ^ t ( x , y ) g ^ t ( x , y ) d y = − ρ t ( x ) g t ( x ) , (20)
where the boundary term vanishes by the assumption in Theorem 4.1. Since y = ln m y=\ln m y = ln m , the two limits correspond to particle masses approaching zero and infinity. Substituting Equations (A.5) to (A.7) into Equation (A.4) yields
∂ t ρ t + ∇ x ⋅ ( ρ t u t ) = ρ t g t , \partial_t\rho_t+\nabla_x\cdot(\rho_tu_t)=\rho_tg_t, ∂ t ρ t + ∇ x ⋅ ( ρ t u t ) = ρ t g t ,
which is the physical unbalanced continuity equation in Equation (3) .
Proof of the Dynamic–Static Equivalence Theorem
Following the dynamic–static equivalence arguments of Benamou and Brenier [8 ] and Chizat et al. [22 ] , we present the proof from a particle-trajectory perspective in the extended space
W = R d × R , ∥ ( a , b ) ∥ δ 2 : = ∥ a ∥ 2 + δ 2 ∣ b ∣ 2 . \mathcal{W}=\mathbb{R}^d\times\mathbb{R},\qquad
\|(a,b)\|_\delta^2:=\|a\|^2+\delta^2|b|^2. W = R d × R , ∥ ( a , b ) ∥ δ 2 := ∥ a ∥ 2 + δ 2 ∣ b ∣ 2 .
Single-particle optimality.
Indeed, for any absolutely continuous path connecting w 0 w_0 w 0 and w 1 w_1 w 1 , the Cauchy–Schwarz inequality gives
∫ 0 1 ∥ x ˙ t ∥ 2 d t ≥ ∥ ∫ 0 1 x ˙ t d t ∥ 2 = ∥ x 1 − x 0 ∥ 2 , ∫ 0 1 ∣ y ˙ t ∣ 2 d t ≥ ∣ y 1 − y 0 ∣ 2 , \int_0^1\|\dot{x}_t\|^2\,\mathrm{d}t\geq\left\|\int_0^1\dot{x}_t\,\mathrm{d}t\right\|^2=\|x_1-x_0\|^2,\qquad
\int_0^1|\dot{y}_t|^2\,\mathrm{d}t\geq|y_1-y_0|^2, ∫ 0 1 ∥ x ˙ t ∥ 2 d t ≥ ∫ 0 1 x ˙ t d t 2 = ∥ x 1 − x 0 ∥ 2 , ∫ 0 1 ∣ y ˙ t ∣ 2 d t ≥ ∣ y 1 − y 0 ∣ 2 ,
with equality when x ˙ t \dot{x}_t x ˙ t and y ˙ t \dot{y}_t y ˙ t are constant in time. Thus the path in Equation (6) minimizes Equation (7) , with minimum Equation (8) .
Let B δ \mathcal{B}_\delta B δ and K δ \mathcal{K}_\delta K δ denote the values of Equations (9) and (10) , respectively. We prove the two inequalities separately.
Dynamic cost is no smaller than static cost: B δ ≥ K δ \mathcal{B}_{\delta} \ge\mathcal{K}_{\delta} B δ ≥ K δ .
For a dynamic solution represented by a particle flow, let s ^ t = ( u ^ t , g ^ t ) \hat{s}_t = (\hat{u}_t,\hat{g}_t) s ^ t = ( u ^ t , g ^ t ) . Let W t ( w 0 ) W_t(w_0) W t ( w 0 ) denote the extended state reached at time t t t by a particle that starts from w 0 w_0 w 0 and follows the extended velocity field s ^ t \hat{s}_t s ^ t ; equivalently, W t ( w 0 ) W_t(w_0) W t ( w 0 ) satisfies
W ˙ t ( w 0 ) = s ^ t ( W t ( w 0 ) ) , W 0 ( w 0 ) = w 0 . \dot{W}_t(w_0) = \hat{s}_t\left(W_t(w_0)\right), \qquad W_0(w_0) = w_0. W ˙ t ( w 0 ) = s ^ t ( W t ( w 0 ) ) , W 0 ( w 0 ) = w 0 .
The extended continuity equation implies
ρ ^ t = ( W t ) # ρ ^ 0 . \hat{\rho}_t = (W_t)_{\#}\hat{\rho}_0. ρ ^ t = ( W t ) # ρ ^ 0 .
Hence
π ^ : = ( i d , W 1 ) # ρ ^ 0 \hat{\pi} := (\mathrm{id},W_1)_{\#}\hat{\rho}_0 π ^ := ( id , W 1 ) # ρ ^ 0
is a coupling between ρ ^ 0 \hat{\rho}_0 ρ ^ 0 and ρ ^ 1 \hat{\rho}_1 ρ ^ 1 . Its terminal marginal is the same ρ ^ 1 \hat{\rho}_1 ρ ^ 1 as in the dynamic problem and therefore satisfies the required weighted projection onto ρ 1 \rho_1 ρ 1 .
Using the pushforward identity and then Cauchy–Schwarz along each particle path gives
∫ 0 1 ∫ W ∥ s ^ t ( w ) ∥ δ 2 d ρ ^ t ( w ) d t = ∫ W ∫ 0 1 ∥ W ˙ t ( w 0 ) ∥ δ 2 d t d ρ ^ 0 ( w 0 ) ≥ ∫ W ∥ W 1 ( w 0 ) − w 0 ∥ δ 2 d ρ ^ 0 ( w 0 ) = ∬ W 2 ∥ w 1 − w 0 ∥ δ 2 d π ^ ( w 0 , w 1 ) ≥ K δ ( ρ 0 , ρ 1 ) . \begin{aligned}
\int_0^1 \int_{\mathcal{W}} \lVert\hat{s}_t(w) \rVert_{\delta}^{2}\,\mathrm{d}\hat{\rho}_t(w)\,\mathrm{d}t
&= \int_{\mathcal{W}} \int_0^1 \lVert\dot{W}_t(w_0) \rVert_{\delta}^{2}\,\mathrm{d}t\,\mathrm{d}\hat{\rho}_0(w_0) \\
&\ge\int_{\mathcal{W}} \lVert W_1(w_0)-w_0 \rVert_{\delta}^{2}\,\mathrm{d}\hat{\rho}_0(w_0) \\
&= \iint_{\mathcal{W}^2} \lVert w_1-w_0 \rVert_{\delta}^{2}\,\mathrm{d}\hat{\pi}(w_0,w_1) \ge\mathcal{K}_{\delta}(\rho_0,\rho_1).
\end{aligned} ∫ 0 1 ∫ W ∥ s ^ t ( w ) ∥ δ 2 d ρ ^ t ( w ) d t = ∫ W ∫ 0 1 ∥ W ˙ t ( w 0 ) ∥ δ 2 d t d ρ ^ 0 ( w 0 ) ≥ ∫ W ∥ W 1 ( w 0 ) − w 0 ∥ δ 2 d ρ ^ 0 ( w 0 ) = ∬ W 2 ∥ w 1 − w 0 ∥ δ 2 d π ^ ( w 0 , w 1 ) ≥ K δ ( ρ 0 , ρ 1 ) .
Since this holds for every feasible dynamic solution, taking the infimum gives
B δ ( ρ 0 , ρ 1 ) ≥ K δ ( ρ 0 , ρ 1 ) . \mathcal{B}_{\delta}(\rho_0,\rho_1) \ge\mathcal{K}_{\delta}(\rho_0,\rho_1). B δ ( ρ 0 , ρ 1 ) ≥ K δ ( ρ 0 , ρ 1 ) .
Static cost is no smaller than dynamic cost: K δ ≥ B δ \mathcal{K}_{\delta} \ge\mathcal{B}_{\delta} K δ ≥ B δ .
Conversely, let ( π ^ , ρ ^ 1 ) (\hat{\pi},\hat{\rho}_1) ( π ^ , ρ ^ 1 ) be any feasible static solution and define the straight conditional path
W t ( w 0 , w 1 ) : = ( 1 − t ) w 0 + t w 1 , ρ ^ t : = ( W t ) # π ^ . W_t(w_0,w_1) := (1-t)w_0 + tw_1,\qquad\hat{\rho}_t := (W_t)_{\#}\hat{\pi}. W t ( w 0 , w 1 ) := ( 1 − t ) w 0 + t w 1 , ρ ^ t := ( W t ) # π ^ .
The boundary conditions follow from the two marginals of π ^ \hat{\pi} π ^ . At an intermediate state w w w , define the macroscopic extended velocity as the conditional average
s ^ t ( w ) : = E π ^ [ w 1 − w 0 ∣ W t = w ] . \hat{s}_t(w) := \mathbb{E}_{\hat{\pi}}[w_1-w_0 \mid W_t=w]. s ^ t ( w ) := E π ^ [ w 1 − w 0 ∣ W t = w ] .
Applying the chain rule to a smooth test function along every straight path and then integrating over π ^ \hat{\pi} π ^ shows that ( ρ ^ t , s ^ t ) (\hat{\rho}_t,\hat{s}_t) ( ρ ^ t , s ^ t ) satisfies the extended continuity equation in the weak sense.
Indeed, let φ ∈ C c 1 ( [ 0 , 1 ] × W ) \varphi\in C_c^1([0,1]\times\mathcal{W}) φ ∈ C c 1 ([ 0 , 1 ] × W ) . Along each path,
d d t φ ( t , W t ( w 0 , w 1 ) ) = ∂ t φ ( t , W t ) + ∇ w φ ( t , W t ) ⋅ ( w 1 − w 0 ) . \frac{\mathrm{d}}{\mathrm{d}t}\varphi(t,W_t(w_0,w_1)) = \partial_t\varphi(t,W_t) + \nabla_w\varphi(t,W_t)\cdot(w_1-w_0). d t d φ ( t , W t ( w 0 , w 1 )) = ∂ t φ ( t , W t ) + ∇ w φ ( t , W t ) ⋅ ( w 1 − w 0 ) .
Integrating first over t t t and then over the endpoint pairs gives
∫ W φ ( 1 , w ) d ρ ^ 1 ( w ) − ∫ W φ ( 0 , w ) d ρ ^ 0 ( w ) = ∫ 0 1 ∬ W 2 [ ∂ t φ ( t , W t ) + ∇ w φ ( t , W t ) ⋅ ( w 1 − w 0 ) ] d π ^ d t = ∫ 0 1 ∫ W [ ∂ t φ ( t , w ) + ∇ w φ ( t , w ) ⋅ s ^ t ( w ) ] d ρ ^ t ( w ) d t . \begin{aligned}
\int_{\mathcal{W}}\varphi(1,w)\,\mathrm{d}\hat{\rho}_1(w)-\int_{\mathcal{W}}\varphi(0,w)\,\mathrm{d}\hat{\rho}_0(w)
&= \int_0^1 \iint_{\mathcal{W}^2}\left[\partial_t\varphi(t,W_t)+\nabla_w\varphi(t,W_t)\cdot(w_1-w_0)\right]\mathrm{d}\hat{\pi}\,\mathrm{d}t \\
&= \int_0^1 \int_{\mathcal{W}}\left[\partial_t\varphi(t,w)+\nabla_w\varphi(t,w)\cdot\hat{s}_t(w)\right]\mathrm{d}\hat{\rho}_t(w)\,\mathrm{d}t.
\end{aligned} ∫ W φ ( 1 , w ) d ρ ^ 1 ( w ) − ∫ W φ ( 0 , w ) d ρ ^ 0 ( w ) = ∫ 0 1 ∬ W 2 [ ∂ t φ ( t , W t ) + ∇ w φ ( t , W t ) ⋅ ( w 1 − w 0 ) ] d π ^ d t = ∫ 0 1 ∫ W [ ∂ t φ ( t , w ) + ∇ w φ ( t , w ) ⋅ s ^ t ( w ) ] d ρ ^ t ( w ) d t .
The last equality uses ρ ^ t = ( W t ) # π ^ \hat{\rho}_t=(W_t)_\#\hat{\pi} ρ ^ t = ( W t ) # π ^ and the definition of s ^ t \hat{s}_t s ^ t as the conditional mean. This identity is precisely the weak form of
∂ t ρ ^ t + div w ( ρ ^ t s ^ t ) = 0 , \partial_t\hat{\rho}_t+\operatorname{div}_w(\hat{\rho}_t\hat{s}_t)=0, ∂ t ρ ^ t + div w ( ρ ^ t s ^ t ) = 0 ,
which is the extended continuity equation in Equation (9) .
We next compare the costs. For fixed t t t , the definition of the conditional mean and Jensen’s inequality imply
∥ s ^ t ( w ) ∥ δ 2 = ∥ E π ^ [ w 1 − w 0 ∣ W t = w ] ∥ δ 2 ≤ E π ^ [ ∥ w 1 − w 0 ∥ δ 2 ∣ W t = w ] . \lVert\hat{s}_t(w)\rVert_\delta^2=\left\lVert\mathbb{E}_{\hat{\pi}}\left[w_1-w_0\mid W_t=w\right]\right\rVert_\delta^2
\leq\mathbb{E}_{\hat{\pi}}\left[\lVert w_1-w_0\rVert_\delta^2\mid W_t=w\right]. ∥ s ^ t ( w ) ∥ δ 2 = ∥ E π ^ [ w 1 − w 0 ∣ W t = w ] ∥ δ 2 ≤ E π ^ [ ∥ w 1 − w 0 ∥ δ 2 ∣ W t = w ] .
Since ρ ^ t = ( W t ) # π ^ \hat{\rho}_t=(W_t)_\#\hat{\pi} ρ ^ t = ( W t ) # π ^ , averaging this inequality over the intermediate states w w w recovers the expectation over all endpoint pairs:
∫ W ∥ s ^ t ( w ) ∥ δ 2 d ρ ^ t ( w ) ≤ ∫ W E π ^ [ ∥ w 1 − w 0 ∥ δ 2 ∣ W t = w ] d ρ ^ t ( w ) = E π ^ [ ∥ w 1 − w 0 ∥ δ 2 ] = ∬ W 2 ∥ w 1 − w 0 ∥ δ 2 d π ^ . \begin{aligned}
\int_{\mathcal{W}}\lVert\hat{s}_t(w)\rVert_\delta^2\,\mathrm{d}\hat{\rho}_t(w)
\leq\int_{\mathcal{W}}\mathbb{E}_{\hat{\pi}}\left[\lVert w_1-w_0\rVert_\delta^2\mid W_t=w\right]\,\mathrm{d}\hat{\rho}_t(w) \\
&=\mathbb{E}_{\hat{\pi}}\left[\lVert w_1-w_0\rVert_\delta^2\right] \\
&=\iint_{\mathcal{W}^2}\lVert w_1-w_0\rVert_\delta^2\,\mathrm{d}\hat{\pi}.
\end{aligned} ∫ W ∥ s ^ t ( w ) ∥ δ 2 d ρ ^ t ( w ) ≤ ∫ W E π ^ [ ∥ w 1 − w 0 ∥ δ 2 ∣ W t = w ] d ρ ^ t ( w ) = E π ^ [ ∥ w 1 − w 0 ∥ δ 2 ] = ∬ W 2 ∥ w 1 − w 0 ∥ δ 2 d π ^ .
Integrating over t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] therefore yields
∫ 0 1 ∫ W ∥ s ^ t ( w ) ∥ δ 2 d ρ ^ t ( w ) d t ≤ ∬ W 2 ∥ w 1 − w 0 ∥ δ 2 d π ^ . \int_0^1\int_{\mathcal{W}}\lVert\hat{s}_t(w)\rVert_\delta^2\,\mathrm{d}\hat{\rho}_t(w)\,\mathrm{d}t
\leq\iint_{\mathcal{W}^2}\lVert w_1-w_0\rVert_\delta^2\,\mathrm{d}\hat{\pi}. ∫ 0 1 ∫ W ∥ s ^ t ( w ) ∥ δ 2 d ρ ^ t ( w ) d t ≤ ∬ W 2 ∥ w 1 − w 0 ∥ δ 2 d π ^ .
Thus every feasible static solution generates a feasible dynamic solution with no larger cost. Taking the infimum gives
B δ ( ρ 0 , ρ 1 ) ≤ K δ ( ρ 0 , ρ 1 ) . B_\delta(\rho_0,\rho_1)\leq K_\delta(\rho_0,\rho_1). B δ ( ρ 0 , ρ 1 ) ≤ K δ ( ρ 0 , ρ 1 ) .
Combining the two inequalities gives
B δ ( ρ 0 , ρ 1 ) = K δ ( ρ 0 , ρ 1 ) , B_\delta(\rho_0,\rho_1)=K_\delta(\rho_0,\rho_1), B δ ( ρ 0 , ρ 1 ) = K δ ( ρ 0 , ρ 1 ) ,
which proves the equivalence of Equations (9) and (10) .
Proof of the Reduced Static OT Theorem
This section proves Theorem 4.3 by first eliminating y 0 y_0 y 0 and then solving the local optimization over y 1 y_1 y 1 .
Source reduction and the local problem.
Since ρ ^ 0 ( x 0 , y 0 ) = ρ 0 ( x 0 ) δ 0 ( y 0 ) \hat{\rho}_0(x_0,y_0)=\rho_0(x_0)\delta_0(y_0) ρ ^ 0 ( x 0 , y 0 ) = ρ 0 ( x 0 ) δ 0 ( y 0 ) , every feasible extended plan is concentrated on y 0 = 0 y_0=0 y 0 = 0 . After imposing y 1 ≤ M y_1\leq M y 1 ≤ M , the static problem becomes
inf π ≥ 0 ∭ [ ∥ x 1 − x 0 ∥ δ 2 + δ 2 y 1 2 ] π ( x 0 , x 1 , y 1 ) d x 0 d x 1 d y 1 , s.t. supp π ⊆ R d × R d × ( − ∞ , M ] , ∬ π ( x 0 , x 1 , y 1 ) d x 1 d y 1 = ρ 0 ( x 0 ) , ∬ e y 1 π ( x 0 , x 1 , y 1 ) d x 0 d y 1 = ρ 1 ( x 1 ) . (21) \begin{aligned}
\inf_{\pi\geq0}\quad&\iiint\left[\lVert x_1-x_0\rVert_\delta^2+\delta^2y_1^2\right]\pi(x_0,x_1,y_1)\,\mathrm{d}x_0\,\mathrm{d}x_1\,\mathrm{d}y_1,\\
\text{s.t.}\quad&\operatorname{supp}\pi\subseteq\mathbb{R}^d\times\mathbb{R}^d\times(-\infty,M],\\
&\iint\pi(x_0,x_1,y_1)\,\mathrm{d}x_1\,\mathrm{d}y_1=\rho_0(x_0),\\
&\iint e^{y_1}\pi(x_0,x_1,y_1)\,\mathrm{d}x_0\,\mathrm{d}y_1=\rho_1(x_1). \tag*{(21)}
\end{aligned} π ≥ 0 inf s.t. ∭ [ ∥ x 1 − x 0 ∥ δ 2 + δ 2 y 1 2 ] π ( x 0 , x 1 , y 1 ) d x 0 d x 1 d y 1 , supp π ⊆ R d × R d × ( − ∞ , M ] , ∬ π ( x 0 , x 1 , y 1 ) d x 1 d y 1 = ρ 0 ( x 0 ) , ∬ e y 1 π ( x 0 , x 1 , y 1 ) d x 0 d y 1 = ρ 1 ( x 1 ) . (21)
For a fixed endpoint state pair, write A = γ 0 ( x 0 , x 1 ) A=\gamma_0(x_0,x_1) A = γ 0 ( x 0 , x 1 ) , B = γ 1 ( x 0 , x 1 ) B=\gamma_1(x_0,x_1) B = γ 1 ( x 0 , x 1 ) , r = B / A r=B/A r = B / A , and f ( y 1 ) = π ( x 0 , x 1 , y 1 ) f(y_1)=\pi(x_0,x_1,y_1) f ( y 1 ) = π ( x 0 , x 1 , y 1 ) . We consider A > 0 A>0 A > 0 and B > 0 B>0 B > 0 ; pairs with A = B = 0 A=B=0 A = B = 0 contribute nothing. The state cost is fixed, and the two moments of f f f must remain equal to A A A and B B B . Removing the common coefficient δ 2 \delta^2 δ 2 gives the local problem:
inf f ∈ M + ( ( − ∞ , M ] ) ∫ − ∞ M y 2 f ( y ) d y , s.t. ∫ − ∞ M f ( y ) d y = A , ∫ − ∞ M e y f ( y ) d y = B . (22) \inf_{f\in\mathcal{M}_{+}((-\infty,M])} \int_{-\infty}^{M} y^2 f(y)\,\mathrm{d}y,
\qquad
\text{s.t.}\quad\int_{-\infty}^{M} f(y)\,\mathrm{d}y=A,\qquad\int_{-\infty}^{M} e^y f(y)\,\mathrm{d}y=B. \tag*{(22)} f ∈ M + (( − ∞ , M ]) inf ∫ − ∞ M y 2 f ( y ) d y , s.t. ∫ − ∞ M f ( y ) d y = A , ∫ − ∞ M e y f ( y ) d y = B . (22)
Let r = B / A r=B/A r = B / A . Feasibility requires 0 < r ≤ e M 0<r\le e^M 0 < r ≤ e M .
Lagrangian and dual problem.
The Lagrangian associated with Equation (A.9) is
L = ∫ − ∞ M ( y 2 − λ 1 − λ 2 e y ) f ( y ) d y + λ 1 A + λ 2 B . \mathcal{L}=\int_{-\infty}^{M}\left(y^2-\lambda_1-\lambda_2e^y\right)f(y)\,\mathrm{d}y+\lambda_1A+\lambda_2B. L = ∫ − ∞ M ( y 2 − λ 1 − λ 2 e y ) f ( y ) d y + λ 1 A + λ 2 B .
Minimization over f ∈ M + ( ( − ∞ , M ] ) f\in\mathcal{M}_{+}((-\infty,M]) f ∈ M + (( − ∞ , M ]) requires
y 2 − λ 1 − λ 2 e y ≥ 0 , for y ≤ M . y^2-\lambda_1-\lambda_2e^y\ge0,\qquad\text{for }y\le M. y 2 − λ 1 − λ 2 e y ≥ 0 , for y ≤ M .
Hence
λ 1 ≤ inf y ≤ M ( y 2 − λ 2 e y ) . \lambda_1\le\inf_{y\le M}\left(y^2-\lambda_2e^y\right). λ 1 ≤ y ≤ M inf ( y 2 − λ 2 e y ) .
Define
g λ 2 ( y ) : = y 2 − λ 2 e y . g_{\lambda_2}(y):=y^2-\lambda_2e^y. g λ 2 ( y ) := y 2 − λ 2 e y .
For fixed λ 2 \lambda_2 λ 2 , the dual objective is maximized by taking
λ 1 = inf y ≤ M g λ 2 ( y ) . \lambda_1=\inf_{y\le M}g_{\lambda_2}(y). λ 1 = y ≤ M inf g λ 2 ( y ) .
Therefore, the dual problem can be written as
sup λ 2 ∈ R { A inf y ≤ M g λ 2 ( y ) + λ 2 B } . (23) \sup_{\lambda_2\in\mathbb{R}}\left\{A\inf_{y\le M}g_{\lambda_2}(y)+\lambda_2B\right\}. \tag*{(23)} λ 2 ∈ R sup { A y ≤ M inf g λ 2 ( y ) + λ 2 B } . (23)
Solving the dual problem and determining y ⋆ y_\star y ⋆ .
To solve the dual problem in Equation (A.10), we first examine the minimum of g λ 2 g_{\lambda_2} g λ 2 over ( − ∞ , M ] (-\infty,M] ( − ∞ , M ] . Its derivative is
g λ 2 ′ ( y ) = 2 y − λ 2 e y . g'_{\lambda_2}(y)=2y-\lambda_2e^y. g λ 2 ′ ( y ) = 2 y − λ 2 e y .
An interior stationary point y ⋆ ( λ 2 ) y_\star(\lambda_2) y ⋆ ( λ 2 ) satisfies
2 y ⋆ ( λ 2 ) e − y ⋆ ( λ 2 ) = λ 2 . 2y_\star(\lambda_2)e^{-y_\star(\lambda_2)}=\lambda_2. 2 y ⋆ ( λ 2 ) e − y ⋆ ( λ 2 ) = λ 2 .
The extrema of g λ 2 g_{\lambda_2} g λ 2 have the following structure:
If λ 2 ≤ 0 \lambda_2\le0 λ 2 ≤ 0 , then g λ 2 ′ ( y ) = 0 g'_{\lambda_2}(y)=0 g λ 2 ′ ( y ) = 0 has a unique solution, and the minimizer satisfies y ⋆ ( λ 2 ) ≤ 0 y_\star(\lambda_2)\le0 y ⋆ ( λ 2 ) ≤ 0 .
If 0 < λ 2 < 2 e 0<\lambda_2<\frac{2}{e} 0 < λ 2 < e 2 , the function
ϕ ( y ) : = 2 y e − y \phi(y):=2ye^{-y} ϕ ( y ) := 2 y e − y reaches its maximum 2 e \frac{2}{e} e 2 at y = 1 y=1 y = 1 . In this case, g λ 2 ′ ( y ) = 0 g'_{\lambda_2}(y)=0 g λ 2 ′ ( y ) = 0 has two roots, and its unique local minimum satisfies
y ⋆ ( λ 2 ) ∈ ( 0 , 1 ) . y_\star(\lambda_2)\in(0,1). y ⋆ ( λ 2 ) ∈ ( 0 , 1 ) . The global minimum may occur either at this interior point or at the boundary point M M M .
If λ 2 ≥ 2 e \lambda_2\ge\frac{2}{e} λ 2 ≥ e 2 , then g λ 2 ′ ( y ) ≤ 0 g'_{\lambda_2}(y)\le0 g λ 2 ′ ( y ) ≤ 0 for all y y y . Thus, g λ 2 g_{\lambda_2} g λ 2 is decreasing and reaches its minimum at M M M .
Consequently,
inf y ≤ M g λ 2 ( y ) = min { g λ 2 ( y ⋆ ( λ 2 ) ) , g λ 2 ( M ) } . \inf_{y\le M} g_{\lambda_2}(y)=\min\left\{g_{\lambda_2}\left(y_\star(\lambda_2)\right),g_{\lambda_2}(M)\right\}. y ≤ M inf g λ 2 ( y ) = min { g λ 2 ( y ⋆ ( λ 2 ) ) , g λ 2 ( M ) } .
Moreover,
g λ 2 ( y ⋆ ( λ 2 ) ) − g λ 2 ( M ) = y ⋆ ( λ 2 ) 2 − M 2 + λ 2 ( e M − e y ⋆ ( λ 2 ) ) . g_{\lambda_2}\left(y_\star(\lambda_2)\right)-g_{\lambda_2}(M)=y_\star(\lambda_2)^2-M^2+\lambda_2\left(e^M-e^{y_\star(\lambda_2)}\right). g λ 2 ( y ⋆ ( λ 2 ) ) − g λ 2 ( M ) = y ⋆ ( λ 2 ) 2 − M 2 + λ 2 ( e M − e y ⋆ ( λ 2 ) ) .
By the envelope theorem,
d d λ 2 [ g λ 2 ( y ⋆ ( λ 2 ) ) − g λ 2 ( M ) ] = e M − e y ⋆ ( λ 2 ) > 0. \frac{d}{d\lambda_2}\left[g_{\lambda_2}\left(y_\star(\lambda_2)\right)-g_{\lambda_2}(M)\right]=e^M-e^{y_\star(\lambda_2)}>0. d λ 2 d [ g λ 2 ( y ⋆ ( λ 2 ) ) − g λ 2 ( M ) ] = e M − e y ⋆ ( λ 2 ) > 0.
Thus, as λ 2 \lambda_2 λ 2 increases, the global minimizer switches from the interior point y ⋆ ( λ 2 ) y_\star(\lambda_2) y ⋆ ( λ 2 ) to the boundary point M M M . Let λ 2 ⋆ \lambda_2^\star λ 2 ⋆ be the switching value and denote the corresponding interior minimizer by
y ⋆ : = y ⋆ ( λ 2 ⋆ ) . y_\star:=y_\star(\lambda_2^\star). y ⋆ := y ⋆ ( λ 2 ⋆ ) .
At the switching point,
g λ 2 ⋆ ( y ⋆ ) = g λ 2 ⋆ ( M ) . (24) g_{\lambda_2^\star}(y_\star)=g_{\lambda_2^\star}(M). \tag*{(24)} g λ 2 ⋆ ( y ⋆ ) = g λ 2 ⋆ ( M ) . (24)
Therefore,
y min ( λ 2 ) = { y ⋆ ( λ 2 ) , λ 2 < λ 2 ⋆ , y ⋆ or M , λ 2 = λ 2 ⋆ , M , λ 2 > λ 2 ⋆ . y_{\min}(\lambda_2)=
\begin{cases}
y_\star(\lambda_2), & \lambda_2<\lambda_2^\star,\\
y_\star\text{ or }M, & \lambda_2=\lambda_2^\star,\\
M, & \lambda_2>\lambda_2^\star.
\end{cases} y m i n ( λ 2 ) = ⎩ ⎨ ⎧ y ⋆ ( λ 2 ) , y ⋆ or M , M , λ 2 < λ 2 ⋆ , λ 2 = λ 2 ⋆ , λ 2 > λ 2 ⋆ .
We now determine y ⋆ y_\star y ⋆ . Since it is an interior local minimizer,
λ 2 ⋆ = 2 y ⋆ e − y ⋆ . \lambda_2^\star=2y_\star e^{-y_\star}. λ 2 ⋆ = 2 y ⋆ e − y ⋆ .
Substituting this identity into Equation (A.11) gives
y ⋆ 2 − ( 2 y ⋆ e − y ⋆ ) e y ⋆ = M 2 − ( 2 y ⋆ e − y ⋆ ) e M . y_\star^2-\left(2y_\star e^{-y_\star}\right)e^{y_\star}=M^2-\left(2y_\star e^{-y_\star}\right)e^M. y ⋆ 2 − ( 2 y ⋆ e − y ⋆ ) e y ⋆ = M 2 − ( 2 y ⋆ e − y ⋆ ) e M .
After simplification,
M 2 − y ⋆ 2 + 2 y ⋆ − 2 y ⋆ e M − y ⋆ = 0. (25) M^2-y_\star^2+2y_\star-2y_\star e^{M-y_\star}=0. \tag*{(25)} M 2 − y ⋆ 2 + 2 y ⋆ − 2 y ⋆ e M − y ⋆ = 0. (25)
Define
h ( y ) : = M 2 − y 2 + 2 y − 2 y e M − y . h(y):=M^2-y^2+2y-2ye^{M-y}. h ( y ) := M 2 − y 2 + 2 y − 2 y e M − y .
Then
h ′ ( y ) = 2 ( y − 1 ) ( e M − y − 1 ) . h'(y)=2(y-1)\left(e^{M-y}-1\right). h ′ ( y ) = 2 ( y − 1 ) ( e M − y − 1 ) .
For M > 1 M>1 M > 1 ,
h ( 0 ) = M 2 > 0 , h ( 1 ) = M 2 + 1 − 2 e M − 1 < 0 , h ( M ) = 0. h(0)=M^2>0,\qquad h(1)=M^2+1-2e^{M-1}<0,\qquad h(M)=0. h ( 0 ) = M 2 > 0 , h ( 1 ) = M 2 + 1 − 2 e M − 1 < 0 , h ( M ) = 0.
Moreover, h h h is strictly decreasing on ( 0 , 1 ) (0,1) ( 0 , 1 ) and strictly increasing on ( 1 , M ) (1,M) ( 1 , M ) . Hence, besides the trivial root y = M y=M y = M , the equation h ( y ) = 0 h(y)=0 h ( y ) = 0 has a unique nontrivial solution y ⋆ ∈ ( 0 , 1 ) y_\star\in(0,1) y ⋆ ∈ ( 0 , 1 ) , which is uniquely determined by M M M .
Maximizing the dual objective and recovering the optimizer.
Define the dual objective
D ( λ 2 ) : = A g λ 2 ( y min ( λ 2 ) ) + λ 2 B . D(\lambda_2):=Ag_{\lambda_2}\left(y_{\min}(\lambda_2)\right)+\lambda_2B. D ( λ 2 ) := A g λ 2 ( y m i n ( λ 2 ) ) + λ 2 B .
By the envelope theorem,
D ′ ( λ 2 ) = B − A e y min ( λ 2 ) . D'(\lambda_2)=B-Ae^{y_{\min}(\lambda_2)}. D ′ ( λ 2 ) = B − A e y m i n ( λ 2 ) .
Therefore, if D ′ ( λ 2 ) = 0 D'(\lambda_2)=0 D ′ ( λ 2 ) = 0 , the desired minimizer satisfies
y min ( λ 2 ) = ln B A . y_{\min}(\lambda_2)=\ln\frac{B}{A}. y m i n ( λ 2 ) = ln A B .
The solution has two cases, depending on the position of ln ( B / A ) \ln(B/A) ln ( B / A ) relative to y ⋆ y_\star y ⋆ .
Case 1: ln ( B / A ) ≤ y ⋆ \ln(B/A) \le y_{\star} ln ( B / A ) ≤ y ⋆ . In this case, D ′ ( λ 2 ) = 0 D'(\lambda_2)=0 D ′ ( λ 2 ) = 0 can be satisfied before λ 2 \lambda_2 λ 2 reaches λ 2 ⋆ \lambda_2^{\star} λ 2 ⋆ . Hence
y min ( λ 2 ) = y ⋆ ( λ 2 ) = ln B A . y_{\min}(\lambda_2)=y_{\star}(\lambda_2)=\ln\frac{B}{A}. y m i n ( λ 2 ) = y ⋆ ( λ 2 ) = ln A B .
The optimal plan is concentrated at the single point ln ( B / A ) \ln(B/A) ln ( B / A ) :
f ⋆ ( y ) = A δ ( y − ln B A ) . f^{\star}(y)=A\delta\left(y-\ln\frac{B}{A}\right). f ⋆ ( y ) = A δ ( y − ln A B ) .
The corresponding minimum is
inf f ∫ − ∞ M y 2 f ( y ) d y = A ( ln B A ) 2 . \inf_f\int_{-\infty}^{M}y^2f(y)\,\mathrm{d}y=A\left(\ln\frac{B}{A}\right)^2. f inf ∫ − ∞ M y 2 f ( y ) d y = A ( ln A B ) 2 .
Case 2: y ⋆ ≤ ln ( B / A ) ≤ M y_{\star}\le\ln(B/A)\le M y ⋆ ≤ ln ( B / A ) ≤ M . When λ 2 < λ 2 ⋆ \lambda_2<\lambda_2^{\star} λ 2 < λ 2 ⋆ ,
y min ( λ 2 ) = y ⋆ ( λ 2 ) < y ⋆ ≤ ln B A , y_{\min}(\lambda_2)=y_{\star}(\lambda_2)<y_{\star}\le\ln\frac{B}{A}, y m i n ( λ 2 ) = y ⋆ ( λ 2 ) < y ⋆ ≤ ln A B ,
and therefore
D ′ ( λ 2 ) = B − A e y min ( λ 2 ) > 0. D'(\lambda_2)=B-Ae^{y_{\min}(\lambda_2)}>0. D ′ ( λ 2 ) = B − A e y m i n ( λ 2 ) > 0.
When λ 2 > λ 2 ⋆ \lambda_2>\lambda_2^{\star} λ 2 > λ 2 ⋆ ,
y min ( λ 2 ) = M ≥ ln B A , y_{\min}(\lambda_2)=M\ge\ln\frac{B}{A}, y m i n ( λ 2 ) = M ≥ ln A B ,
and therefore
D ′ ( λ 2 ) = B − A e M ≤ 0. D'(\lambda_2)=B-Ae^M\le0. D ′ ( λ 2 ) = B − A e M ≤ 0.
Thus, the dual objective reaches its maximum at λ 2 ⋆ \lambda_2^{\star} λ 2 ⋆ . At this point,
g λ 2 ⋆ ( y ⋆ ) = g λ 2 ⋆ ( M ) , g_{\lambda_2^{\star}}(y_{\star})=g_{\lambda_2^{\star}}(M), g λ 2 ⋆ ( y ⋆ ) = g λ 2 ⋆ ( M ) ,
and the optimal plan is supported on y ⋆ y_{\star} y ⋆ and M M M :
f ⋆ ( y ) = w 1 δ ( y − y ⋆ ) + w 2 δ ( y − M ) . f^{\star}(y)=w_1\delta(y-y_{\star})+w_2\delta(y-M). f ⋆ ( y ) = w 1 δ ( y − y ⋆ ) + w 2 δ ( y − M ) .
The weights are uniquely determined by
w 1 + w 2 = A , w_1+w_2=A, w 1 + w 2 = A ,
w 1 e y ⋆ + w 2 e M = B , w_1e^{y_{\star}}+w_2e^M=B, w 1 e y ⋆ + w 2 e M = B ,
which gives
w 1 = A e M − B e M − e y ⋆ , w 2 = B − A e y ⋆ e M − e y ⋆ . w_1=\frac{Ae^M-B}{e^M-e^{y_{\star}}},\qquad
w_2=\frac{B-Ae^{y_{\star}}}{e^M-e^{y_{\star}}}. w 1 = e M − e y ⋆ A e M − B , w 2 = e M − e y ⋆ B − A e y ⋆ .
The corresponding minimum is
inf f ∫ − ∞ M y 2 f ( y ) d y = w 1 y ⋆ 2 + w 2 M 2 = A e M − B e M − e y ⋆ y ⋆ 2 + B − A e y ⋆ e M − e y ⋆ M 2 . \begin{aligned}
\inf_f\int_{-\infty}^{M}y^2f(y)\,\mathrm{d}y=w_1y_{\star}^2+w_2M^2 \\
&=\frac{Ae^M-B}{e^M-e^{y_{\star}}}y_{\star}^2+
\frac{B-Ae^{y_{\star}}}{e^M-e^{y_{\star}}}M^2.
\end{aligned} f inf ∫ − ∞ M y 2 f ( y ) d y = w 1 y ⋆ 2 + w 2 M 2 = e M − e y ⋆ A e M − B y ⋆ 2 + e M − e y ⋆ B − A e y ⋆ M 2 .
Writing r = B / A r=B/A r = B / A , an optimizer is
f ⋆ ( y 1 ) = { A δ ( y 1 − ln r ) , 0 < r ≤ e y ⋆ , A [ e M − r e M − e y ⋆ δ ( y 1 − y ⋆ ) + r − e y ⋆ e M − e y ⋆ δ ( y 1 − M ) ] , e y ⋆ < r ≤ e M . (26) f^{\star}(y_1)=
\begin{cases}
A\delta(y_1-\ln r), & 0<r\le e^{y_{\star}},\\
A\left[\dfrac{e^M-r}{e^M-e^{y_{\star}}}\delta(y_1-y_{\star})+
\dfrac{r-e^{y_{\star}}}{e^M-e^{y_{\star}}}\delta(y_1-M)\right],
& e^{y_{\star}}<r\le e^M.
\end{cases} \tag*{(26)} f ⋆ ( y 1 ) = ⎩ ⎨ ⎧ A δ ( y 1 − ln r ) , A [ e M − e y ⋆ e M − r δ ( y 1 − y ⋆ ) + e M − e y ⋆ r − e y ⋆ δ ( y 1 − M ) ] , 0 < r ≤ e y ⋆ , e y ⋆ < r ≤ e M . (26)
The minimum is denoted by A Φ M ( r ) A\Phi_M(r) A Φ M ( r ) , where
Φ M ( r ) = { ( ln r ) 2 , 0 < r ≤ e y ∗ , e M − r e M − e y ∗ y ∗ 2 + r − e y ∗ e M − e y ∗ M 2 , e y ∗ < r ≤ e M . \Phi_M(r)=
\begin{cases}
(\ln r)^2, & 0<r\le e^{y_\ast},\\
\frac{e^M-r}{e^M-e^{y_\ast}}y_\ast^2+\frac{r-e^{y_\ast}}{e^M-e^{y_\ast}}M^2, & e^{y_\ast}<r\le e^M.
\end{cases} Φ M ( r ) = { ( ln r ) 2 , e M − e y ∗ e M − r y ∗ 2 + e M − e y ∗ r − e y ∗ M 2 , 0 < r ≤ e y ∗ , e y ∗ < r ≤ e M .
Using the critical equation,
M 2 − y ∗ 2 e M − e y ∗ = 2 y ∗ e y ∗ , e M y ∗ 2 − e y ∗ M 2 e M − e y ∗ = y ∗ 2 − 2 y ∗ . \frac{M^2-y_\ast^2}{e^M-e^{y_\ast}}=\frac{2y_\ast}{e^{y_\ast}},\qquad
\frac{e^M y_\ast^2-e^{y_\ast}M^2}{e^M-e^{y_\ast}}=y_\ast^2-2y_\ast. e M − e y ∗ M 2 − y ∗ 2 = e y ∗ 2 y ∗ , e M − e y ∗ e M y ∗ 2 − e y ∗ M 2 = y ∗ 2 − 2 y ∗ .
Therefore,
Φ M ( r ) = { ( ln r ) 2 , 0 < r ≤ e y ∗ , 2 y ∗ e y ∗ r + y ∗ 2 − 2 y ∗ , e y ∗ < r ≤ e M . (27) \Phi_M(r)=
\begin{cases}
(\ln r)^2, & 0<r\le e^{y_\ast},\\
\frac{2y_\ast}{e^{y_\ast}}r+y_\ast^2-2y_\ast, & e^{y_\ast}<r\le e^M.
\end{cases} \tag*{(27)} Φ M ( r ) = { ( ln r ) 2 , e y ∗ 2 y ∗ r + y ∗ 2 − 2 y ∗ , 0 < r ≤ e y ∗ , e y ∗ < r ≤ e M . (27)
This function is continuous and continuously differentiable at r = e y ∗ r=e^{y_\ast} r = e y ∗ .
Recovering the reduced problem.
For any feasible plan in Equation (A.8), the local bound gives
∫ − ∞ M y 1 2 π ( x 0 , x 1 , y 1 ) d y 1 ≥ γ 0 ( x 0 , x 1 ) Φ M ( R ( x 0 , x 1 ) ) . \int_{-\infty}^{M} y_1^2\pi(x_0,x_1,y_1)\,\mathrm{d}y_1\ge\gamma_0(x_0,x_1)\Phi_M(R(x_0,x_1)). ∫ − ∞ M y 1 2 π ( x 0 , x 1 , y 1 ) d y 1 ≥ γ 0 ( x 0 , x 1 ) Φ M ( R ( x 0 , x 1 )) .
Integrating over endpoint state pairs bounds its cost from below by the reduced objective in Equation (11) . Conversely, for any feasible ( γ 0 , γ 1 ) (\gamma_0,\gamma_1) ( γ 0 , γ 1 ) in that reduced problem, use Equation (A.13) at each pair with A = γ 0 A=\gamma_0 A = γ 0 and r = R r=R r = R . The resulting plan has marginals γ 0 \gamma_0 γ 0 and γ 1 \gamma_1 γ 1 , satisfies the growth cap, and attains the local bound. Thus the two problems have the same infimum. This proves Theorem 4.3 .
Proof of the Entropic Solver Proposition and Update Rules
This section derives the Sinkhorn-like updates and proves Proposition 4.1.
Discrete reduced problem.
Let the empirical source and target measures be
ρ 0 = ∑ i = 1 n a i δ x i 0 , ρ 1 = ∑ j = 1 m b j δ x j 1 . \rho_0=\sum_{i=1}^{n}a_i\delta_{x_i^0},\qquad\rho_1=\sum_{j=1}^{m}b_j\delta_{x_j^1}. ρ 0 = i = 1 ∑ n a i δ x i 0 , ρ 1 = j = 1 ∑ m b j δ x j 1 .
Define the state space cost
C i j = ∥ x i 0 − x j 1 ∥ 2 . C_{ij}=\lVert x_i^0-x_j^1\rVert^2. C ij = ∥ x i 0 − x j 1 ∥ 2 .
We write Γ i j \Gamma_{ij} Γ ij for the discrete base coupling γ 0 \gamma_0 γ 0 and R i j R_{ij} R ij for the local growth ratio d γ 1 / d γ 0 \mathrm{d}\gamma_1/\mathrm{d}\gamma_0 d γ 1 / d γ 0 . Then Equation (11) becomes
min Γ ≥ 0 , 0 < R ≤ e M ∑ i = 1 n ∑ j = 1 m [ C i j + δ 2 Φ M ( R i j ) ] Γ i j , s.t. ∑ j = 1 m Γ i j = a i , i = 1 , … , n , ∑ i = 1 n R i j Γ i j = b j , j = 1 , … , m . (28) \begin{aligned}
\min_{\Gamma\ge0,\ 0<R\le e^M}\quad&\sum_{i=1}^{n}\sum_{j=1}^{m}\left[C_{ij}+\delta^2\Phi_M(R_{ij})\right]\Gamma_{ij},\\
\text{s.t.}\quad&\sum_{j=1}^{m}\Gamma_{ij}=a_i,\qquad i=1,\ldots,n,\\
&\sum_{i=1}^{n}R_{ij}\Gamma_{ij}=b_j,\qquad j=1,\ldots,m. \tag*{(28)}
\end{aligned} Γ ≥ 0 , 0 < R ≤ e M min s.t. i = 1 ∑ n j = 1 ∑ m [ C ij + δ 2 Φ M ( R ij ) ] Γ ij , j = 1 ∑ m Γ ij = a i , i = 1 , … , n , i = 1 ∑ n R ij Γ ij = b j , j = 1 , … , m . (28)
Entropic regularization and Lagrangian.
For computation we add an entropy term to the base coupling:
min Γ ≥ 0 , 0 < R ≤ e M ∑ i j [ C i j Γ i j + δ 2 Γ i j Φ M ( R i j ) + ε Γ i j ( ln Γ i j − 1 ) ] (29) \min_{\Gamma\ge0,\ 0<R\le e^M} \sum_{ij}\left[C_{ij}\Gamma_{ij}+\delta^2\Gamma_{ij}\Phi_M(R_{ij})+\varepsilon\Gamma_{ij}(\ln\Gamma_{ij}-1)\right] \tag*{(29)} Γ ≥ 0 , 0 < R ≤ e M min ij ∑ [ C ij Γ ij + δ 2 Γ ij Φ M ( R ij ) + ε Γ ij ( ln Γ ij − 1 ) ] (29)
subject to the same constraints as in Equation (A.15). Introduce row dual variables u i u_i u i and column dual variables v j v_j v j . The Lagrangian of Equation (A.16) is
L ( Γ , R ; u , v ) = ∑ i j Γ i j [ C i j + δ 2 Φ M ( R i j ) + ε ( ln Γ i j − 1 ) − u i − v j R i j ] + ∑ i u i a i + ∑ j v j b j . \mathcal{L}(\Gamma,R;u,v)=\sum_{ij}\Gamma_{ij}\left[C_{ij}+\delta^2\Phi_M(R_{ij})+\varepsilon(\ln\Gamma_{ij}-1)-u_i-v_jR_{ij}\right]+\sum_i u_i a_i+\sum_j v_j b_j. L ( Γ , R ; u , v ) = ij ∑ Γ ij [ C ij + δ 2 Φ M ( R ij ) + ε ( ln Γ ij − 1 ) − u i − v j R ij ] + i ∑ u i a i + j ∑ v j b j .
For fixed R R R , stationarity with respect to Γ i j \Gamma_{ij} Γ ij gives
Γ i j = exp ( u i + v j R i j − C i j − δ 2 Φ M ( R i j ) ε ) . (30) \Gamma_{ij}=\exp\left(\frac{u_i+v_jR_{ij}-C_{ij}-\delta^2\Phi_M(R_{ij})}{\varepsilon}\right). \tag*{(30)} Γ ij = exp ( ε u i + v j R ij − C ij − δ 2 Φ M ( R ij ) ) . (30)
Substituting Equation (A.17) into the Lagrangian gives the dual function
inf Γ L ( Γ , R ; u , v ) = ∑ i u i a i + ∑ j v j b j − ε ∑ i j exp ( u i + v j R i j − C i j − δ 2 Φ M ( R i j ) ε ) . \inf_{\Gamma}\mathcal{L}(\Gamma,R;u,v)=\sum_i u_i a_i+\sum_j v_j b_j-\varepsilon\sum_{ij}\exp\left(\frac{u_i+v_jR_{ij}-C_{ij}-\delta^2\Phi_M(R_{ij})}{\varepsilon}\right). Γ inf L ( Γ , R ; u , v ) = i ∑ u i a i + j ∑ v j b j − ε ij ∑ exp ( ε u i + v j R ij − C ij − δ 2 Φ M ( R ij ) ) .
Thus the remaining local step is a scalar maximization over the growth ratio. We make this step explicit next.
The scalar R R R subproblem.
For a fixed target index j j j and dual variable v j v_j v j , define the scalar objective for the growth-ratio update as
h j ( R ; v j ) : = v j R − δ 2 Φ M ( R ) , 0 < R ≤ e M . h_j(R;v_j):=v_jR-\delta^2\Phi_M(R),\qquad0<R\le e^M. h j ( R ; v j ) := v j R − δ 2 Φ M ( R ) , 0 < R ≤ e M .
Define the column value function as the optimal value of this one-dimensional problem:
H j ( v j ) : = max 0 < R ≤ e M h j ( R ; v j ) . H_j(v_j):=\max_{0<R\le e^M}h_j(R;v_j). H j ( v j ) := 0 < R ≤ e M max h j ( R ; v j ) .
Using the piecewise expression of Φ M \Phi_M Φ M in Equation (A.14), the objective h j h_j h j becomes
h j ( R ; v j ) = { v j R − δ 2 ( ln R ) 2 , 0 < R ≤ e y ⋆ , ( v j − δ 2 2 y ⋆ e y ⋆ ) R + δ 2 ( 2 y ⋆ − y ⋆ 2 ) , e y ⋆ < R ≤ e M . h_j(R;v_j)=
\begin{cases}
v_jR-\delta^2(\ln R)^2, & 0<R\le e^{y_\star},\\
\left(v_j-\delta^2\frac{2y_\star}{e^{y_\star}}\right)R+\delta^2(2y_\star-y_\star^2), & e^{y_\star}<R\le e^M.
\end{cases} h j ( R ; v j ) = { v j R − δ 2 ( ln R ) 2 , ( v j − δ 2 e y ⋆ 2 y ⋆ ) R + δ 2 ( 2 y ⋆ − y ⋆ 2 ) , 0 < R ≤ e y ⋆ , e y ⋆ < R ≤ e M .
The slope of the second branch is
v j − δ 2 2 y ⋆ e y ⋆ , v_j-\delta^2\frac{2y_\star}{e^{y_\star}}, v j − δ 2 e y ⋆ 2 y ⋆ ,
and its sign determines the following three regimes.
Interior branch. If v j < δ 2 2 y ⋆ / e y ⋆ v_j<\delta^2 2y_\star/e^{y_\star} v j < δ 2 2 y ⋆ / e y ⋆ , the second branch is decreasing, so the maximizer lies on the first branch. Setting p = ln R p=\ln R p = ln R and differentiating gives
v j − 2 δ 2 p e − p = 0. v_j-2\delta^2pe^{-p}=0. v j − 2 δ 2 p e − p = 0.
Thus the interior optimizer is
R ⋆ ( v j ) = exp [ − W 0 ( − v j 2 δ 2 ) ] , R^\star(v_j)=\exp\left[-W_0\left(-\frac{v_j}{2\delta^2}\right)\right], R ⋆ ( v j ) = exp [ − W 0 ( − 2 δ 2 v j ) ] ,
where W 0 W_0 W 0 denotes the principal branch of the Lambert W W W function, defined by W 0 ( z ) e W 0 ( z ) = z W_0(z)e^{W_0(z)}=z W 0 ( z ) e W 0 ( z ) = z . The principal branch W 0 W_0 W 0 is increasing on [ − 1 / e , ∞ ) [-1/e,\infty) [ − 1/ e , ∞ ) . Since the argument − v j / ( 2 δ 2 ) -v_j/(2\delta^2) − v j / ( 2 δ 2 ) decreases as v j v_j v j increases, the optimizer R ⋆ ( v j ) = exp [ − W 0 ( − v j / ( 2 δ 2 ) ) ] R^\star(v_j)=\exp[-W_0(-v_j/(2\delta^2))] R ⋆ ( v j ) = exp [ − W 0 ( − v j / ( 2 δ 2 ))] is increasing in v j v_j v j .
Transition branch. If v j = δ 2 2 y ∗ / e y ∗ v_j = \delta^2 2y_*/e^{y_*} v j = δ 2 2 y ∗ / e y ∗ , the derivative on the first branch is
∂ ∂ R h j ( R ; v j ) = 2 δ 2 ( y ∗ e y ∗ − ln R R ) . \frac{\partial}{\partial R}h_j(R;v_j)=2\delta^2\left(\frac{y_*}{e^{y_*}}-\frac{\ln R}{R}\right). ∂ R ∂ h j ( R ; v j ) = 2 δ 2 ( e y ∗ y ∗ − R ln R ) .
For 0 < R ≤ e y ∗ 0<R\le e^{y_*} 0 < R ≤ e y ∗ and v j ≤ 1 v_j\le1 v j ≤ 1 , we have ln R / R ≤ y ∗ / e y ∗ \ln R/R\le y_*/e^{y_*} ln R / R ≤ y ∗ / e y ∗ , so the first branch is nondecreasing and reaches its maximum at R = e y ∗ R=e^{y_*} R = e y ∗ . The second branch is flat and has the same value as this boundary value. Every point in [ e y ∗ , e M ] [e^{y_*},e^M] [ e y ∗ , e M ] is therefore optimal.
Capped branch. If v j > δ 2 2 y ∗ / e y ∗ v_j>\delta^2 2y_*/e^{y_*} v j > δ 2 2 y ∗ / e y ∗ , the second branch is increasing, so the maximizer is attained at the growth cap R = e M R=e^M R = e M .
Combining the three regimes gives the optimal set
R ∗ ( v j ) = arg max 0 < R ≤ e M h j ( R ; v j ) = { { exp [ − W 0 ( − v j 2 δ 2 ) ] } , v j < δ 2 2 y ∗ e y ∗ , [ e y ∗ , e M ] , v j = δ 2 2 y ∗ e y ∗ , { e M } , v j > δ 2 2 y ∗ e y ∗ . \mathcal{R}^*(v_j)=\underset{0<R\le e^M}{\arg\max}\ h_j(R;v_j)=
\begin{cases}
\left\{\exp\left[-W_0\left(-\frac{v_j}{2\delta^2}\right)\right]\right\}, & v_j<\delta^2\frac{2y_*}{e^{y_*}},\\
[e^{y_*},e^M], & v_j=\delta^2\frac{2y_*}{e^{y_*}},\\
\{e^M\}, & v_j>\delta^2\frac{2y_*}{e^{y_*}}.
\end{cases} R ∗ ( v j ) = 0 < R ≤ e M arg max h j ( R ; v j ) = ⎩ ⎨ ⎧ { exp [ − W 0 ( − 2 δ 2 v j ) ] } , [ e y ∗ , e M ] , { e M } , v j < δ 2 e y ∗ 2 y ∗ , v j = δ 2 e y ∗ 2 y ∗ , v j > δ 2 e y ∗ 2 y ∗ .
The corresponding value function is
H j ( v j ) = { δ 2 [ 2 ln R ∗ ( v j ) − ( ln R ∗ ( v j ) ) 2 ] , v j < δ 2 2 y ∗ e y ∗ , δ 2 ( 2 y ∗ − y ∗ 2 ) , v j = δ 2 2 y ∗ e y ∗ , ( v j − δ 2 2 y ∗ e y ∗ ) e M + δ 2 ( 2 y ∗ − y ∗ 2 ) , v j > δ 2 2 y ∗ e y ∗ . H_j(v_j)=
\begin{cases}
\delta^2\left[2\ln R^*(v_j)-\left(\ln R^*(v_j)\right)^2\right], & v_j<\delta^2\frac{2y_*}{e^{y_*}},\\
\delta^2(2y_*-y_*^2), & v_j=\delta^2\frac{2y_*}{e^{y_*}},\\
\left(v_j-\delta^2\frac{2y_*}{e^{y_*}}\right)e^M+\delta^2(2y_*-y_*^2), & v_j>\delta^2\frac{2y_*}{e^{y_*}}.
\end{cases} H j ( v j ) = ⎩ ⎨ ⎧ δ 2 [ 2 ln R ∗ ( v j ) − ( ln R ∗ ( v j ) ) 2 ] , δ 2 ( 2 y ∗ − y ∗ 2 ) , ( v j − δ 2 e y ∗ 2 y ∗ ) e M + δ 2 ( 2 y ∗ − y ∗ 2 ) , v j < δ 2 e y ∗ 2 y ∗ , v j = δ 2 e y ∗ 2 y ∗ , v j > δ 2 e y ∗ 2 y ∗ .
After this elimination, the dual problem can be written as
max u , v D ( u , v ) = ∑ i u i a i + ∑ j v j b j − ε ∑ i j exp ( u i + H j ( v j ) − C i j ε ) . (31) \max_{u,v}\ \mathcal{D}(u,v)=\sum_i u_i a_i+\sum_j v_j b_j-\varepsilon\sum_{ij}\exp\left(\frac{u_i+H_j(v_j)-C_{ij}}{\varepsilon}\right). \tag*{(31)} u , v max D ( u , v ) = i ∑ u i a i + j ∑ v j b j − ε ij ∑ exp ( ε u i + H j ( v j ) − C ij ) . (31)
In what follows, R j R_j R j denotes a selected element of R ∗ ( v j ) \mathcal{R}^*(v_j) R ∗ ( v j ) . By the envelope theorem, H j ′ ( v j ) = R j H'_j(v_j)=R_j H j ′ ( v j ) = R j when the maximizer is unique; on the transition branch, the same relation is understood as a subgradient condition with R j ∈ [ e y ∗ , e M ] R_j\in[e^{y_*},e^M] R j ∈ [ e y ∗ , e M ] . Taking derivatives of D \mathcal{D} D in Equation (A.18) with respect to u i u_i u i and v j v_j v j gives
∂ D ∂ u i = a i − ∑ j exp ( u i + H j − C i j ε ) , ∂ D ∂ v j = b j − R j ∑ i exp ( u i + H j − C i j ε ) , \frac{\partial\mathcal{D}}{\partial u_i}=a_i-\sum_j\exp\left(\frac{u_i+H_j-C_{ij}}{\varepsilon}\right),\qquad
\frac{\partial\mathcal{D}}{\partial v_j}=b_j-R_j\sum_i\exp\left(\frac{u_i+H_j-C_{ij}}{\varepsilon}\right), ∂ u i ∂ D = a i − j ∑ exp ( ε u i + H j − C ij ) , ∂ v j ∂ D = b j − R j i ∑ exp ( ε u i + H j − C ij ) ,
where H j = H j ( v j ) H_j=H_j(v_j) H j = H j ( v j ) . Setting these conditions to zero yields
a i = ∑ j exp ( u i + H j − C i j ε ) , (32) a_i=\sum_j\exp\left(\frac{u_i+H_j-C_{ij}}{\varepsilon}\right), \tag*{(32)} a i = j ∑ exp ( ε u i + H j − C ij ) , (32)
b j = R j ∑ i exp ( u i + H j − C i j ε ) . (33) b_j=R_j\sum_i\exp\left(\frac{u_i+H_j-C_{ij}}{\varepsilon}\right). \tag*{(33)} b j = R j i ∑ exp ( ε u i + H j − C ij ) . (33)
Alternating updates in ( u , H ) (u,H) ( u , H ) .
The explicit solver uses u i u_i u i and the column values H j H_j H j as update variables. Given H H H , the row condition Equation (A.19a) gives the closed-form update
u i = ε ln a i − ε log ∑ j exp ( H j − C i j ε ) . (34) u_i=\varepsilon\ln a_i-\varepsilon\log\sum_j\exp\left(\frac{H_j-C_{ij}}{\varepsilon}\right). \tag*{(34)} u i = ε ln a i − ε log j ∑ exp ( ε H j − C ij ) . (34)
Given u u u , define
K j : = b j ∑ i exp ( ( u i − C i j ) / ε ) . (35) K_j := \frac{b_j}{\sum_i \exp((u_i-C_{ij})/\varepsilon)}. \tag*{(35)} K j := ∑ i exp (( u i − C ij ) / ε ) b j . (35)
The column condition Equation (A.19b) becomes
R j exp ( H j / ε ) = K j , or ln R j + H j ε = ln K j . (36) R_j \exp(H_j/\varepsilon)=K_j,\qquad\text{or}\qquad\ln R_j+\frac{H_j}{\varepsilon}=\ln K_j. \tag*{(36)} R j exp ( H j / ε ) = K j , or ln R j + ε H j = ln K j . (36)
We solve this scalar relation by cases. The only nontrivial case is the interior branch, where the left-hand side is a strictly increasing function of ln R j \ln R_j ln R j because ln R j ≤ y ⋆ < 1 \ln R_j\le y_\star<1 ln R j ≤ y ⋆ < 1 ; the transition and capped branches give explicit values. Thus, once the branch is selected by K j K_j K j , ln R j \ln R_j ln R j and H j H_j H j is unique. Define
T 1 : = y ⋆ + δ 2 ( 2 y ⋆ − y ⋆ 2 ) ε , T 2 : = M + δ 2 ( 2 y ⋆ − y ⋆ 2 ) ε . (37) T_1:=y_\star+\frac{\delta^2(2y_\star-y_\star^2)}{\varepsilon},\qquad
T_2:=M+\frac{\delta^2(2y_\star-y_\star^2)}{\varepsilon}. \tag*{(37)} T 1 := y ⋆ + ε δ 2 ( 2 y ⋆ − y ⋆ 2 ) , T 2 := M + ε δ 2 ( 2 y ⋆ − y ⋆ 2 ) . (37)
Using the thresholds in Equation (A.23), the three regimes give the following updates.
Interior branch. If ln K j ≤ T 1 \ln K_j\le T_1 ln K j ≤ T 1 , set p j = ln R j p_j=\ln R_j p j = ln R j . On this branch,
H j = δ 2 ( 2 p j − p j 2 ) , H_j=\delta^2(2p_j-p_j^2), H j = δ 2 ( 2 p j − p j 2 ) ,
so Equation (A.22) gives
p j + δ 2 ε ( 2 p j − p j 2 ) = ln K j . p_j+\frac{\delta^2}{\varepsilon}(2p_j-p_j^2)=\ln K_j. p j + ε δ 2 ( 2 p j − p j 2 ) = ln K j .
Solving the quadratic and taking the root with p j ≤ y ⋆ p_j\le y_\star p j ≤ y ⋆ yields
p j = ( ε + 2 δ 2 ) − ( ε + 2 δ 2 ) 2 − 4 δ 2 ε ln K j 2 δ 2 , p_j=\frac{(\varepsilon+2\delta^2)-\sqrt{(\varepsilon+2\delta^2)^2-4\delta^2\varepsilon\ln K_j}}{2\delta^2}, p j = 2 δ 2 ( ε + 2 δ 2 ) − ( ε + 2 δ 2 ) 2 − 4 δ 2 ε ln K j ,
and then
R j = e p j , H j = δ 2 ( 2 p j − p j 2 ) . R_j=e^{p_j},\qquad H_j=\delta^2(2p_j-p_j^2). R j = e p j , H j = δ 2 ( 2 p j − p j 2 ) .
Transition branch. If T 1 < ln K j ≤ T 2 T_1<\ln K_j\le T_2 T 1 < ln K j ≤ T 2 , the column value is constant:
H j = δ 2 ( 2 y ⋆ − y ⋆ 2 ) . H_j=\delta^2(2y_\star-y_\star^2). H j = δ 2 ( 2 y ⋆ − y ⋆ 2 ) .
Then Equation (A.22) gives
R j = K j exp ( − δ 2 ( 2 y ⋆ − y ⋆ 2 ) ε ) . R_j=K_j\exp\left(-\frac{\delta^2(2y_\star-y_\star^2)}{\varepsilon}\right). R j = K j exp ( − ε δ 2 ( 2 y ⋆ − y ⋆ 2 ) ) .
The threshold condition is exactly the statement that R j R_j R j lies in [ e y ⋆ , e M ] [e^{y_\star},e^M] [ e y ⋆ , e M ] .
Capped branch. If ln K j > T 2 \ln K_j>T_2 ln K j > T 2 , the maximizer is R j = e M R_j=e^M R j = e M . Equation (A.22) gives
R j = e M , H j = ε ( ln K j − M ) . R_j=e^M,\qquad H_j=\varepsilon(\ln K_j-M). R j = e M , H j = ε ( ln K j − M ) .
Recovery and sampling quantities
After convergence, the base coupling and the target-mass coupling are recovered as
Γ i j ( 0 ) = exp ( u i + H j − C i j ε ) , Γ i j ( 1 ) = R j Γ i j ( 0 ) . (38) \Gamma_{ij}^{(0)}=\exp\left(\frac{u_i+H_j-C_{ij}}{\varepsilon}\right),\qquad
\Gamma_{ij}^{(1)}=R_j\Gamma_{ij}^{(0)}. \tag*{(38)} Γ ij ( 0 ) = exp ( ε u i + H j − C ij ) , Γ ij ( 1 ) = R j Γ ij ( 0 ) . (38)
The recovered base coupling Γ ( 0 ) \Gamma^{(0)} Γ ( 0 ) is used to sample ( x 0 , x 1 ) (x_0,x_1) ( x 0 , x 1 ) and fix the initial log-mass as y 0 = 0 y_0=0 y 0 = 0 . The terminal log-mass y 1 y_1 y 1 is then sampled according to the normalized version of the local optimizer in Equation (A.13), using the recovered growth ratio R j R_j R j :
f ⋆ ( y 1 ) = { δ ( y 1 − ln R j ) , 0 < R j ≤ e y ⋆ , e M − R j e M − e y ⋆ δ ( y 1 − y ⋆ ) + R j − e y ⋆ e M − e y ⋆ δ ( y 1 − M ) , e y ⋆ < R j ≤ e M . (39) f^\star(y_1)=
\begin{cases}
\delta(y_1-\ln R_j), & 0<R_j\le e^{y_\star},\\
\frac{e^M-R_j}{e^M-e^{y_\star}}\delta(y_1-y_\star)+\frac{R_j-e^{y_\star}}{e^M-e^{y_\star}}\delta(y_1-M), & e^{y_\star}<R_j\le e^M.
\end{cases} \tag*{(39)} f ⋆ ( y 1 ) = { δ ( y 1 − ln R j ) , e M − e y ⋆ e M − R j δ ( y 1 − y ⋆ ) + e M − e y ⋆ R j − e y ⋆ δ ( y 1 − M ) , 0 < R j ≤ e y ⋆ , e y ⋆ < R j ≤ e M . (39)
Thus, if R j ≤ e y ⋆ R_j\le e^{y_\star} R j ≤ e y ⋆ , we set y 1 = ln R j y_1=\ln R_j y 1 = ln R j ; otherwise we sample y 1 = y ⋆ y_1=y_\star y 1 = y ⋆ with probability ( e M − R j ) / ( e M − e y ⋆ ) (e^M-R_j)/(e^M-e^{y_\star}) ( e M − R j ) / ( e M − e y ⋆ ) and y 1 = M y_1=M y 1 = M with probability ( R j − e y ⋆ ) / ( e M − e y ⋆ ) (R_j-e^{y_\star})/(e^M-e^{y_\star}) ( R j − e y ⋆ ) / ( e M − e y ⋆ ) .
The complete Sinkhorn-like solver is summarized below; it computes the recovered couplings and growth ratios used for endpoint and terminal log-mass sampling.
Figure 2 (PDF p. 27).
Proof of the Source-Particle Splitting Proposition
Consider the discrete problem
min Γ ≥ 0 , 0 < R ≤ e M ∑ i , j [ C i j + δ 2 Φ M ( R i j ) ] Γ i j , s.t. ∑ j Γ i j = a i , ∑ i R i j Γ i j = b j . (40) \begin{aligned}
\min_{\Gamma\ge0,\;0<R\le e^M}\quad&\sum_{i,j}\left[C_{ij}+\delta^2\Phi_M(R_{ij})\right]\Gamma_{ij},\\
\text{s.t.}\quad&\sum_j\Gamma_{ij}=a_i,\qquad\sum_iR_{ij}\Gamma_{ij}=b_j. \tag*{(40)}
\end{aligned} Γ ≥ 0 , 0 < R ≤ e M min s.t. i , j ∑ [ C ij + δ 2 Φ M ( R ij ) ] Γ ij , j ∑ Γ ij = a i , i ∑ R ij Γ ij = b j . (40)
Let a i = a i 1 + a i 2 a_i=a_{i_1}+a_{i_2} a i = a i 1 + a i 2 with a i 1 , a i 2 > 0 a_{i_1},a_{i_2}>0 a i 1 , a i 2 > 0 .
Proof. Because the two split particles remain at the same location as the original particle,
C i 1 j = C i 2 j = C i j . C_{i_1j}=C_{i_2j}=C_{ij}. C i 1 j = C i 2 j = C ij .
First consider any feasible solution of the split problem, allowing R i 1 j R_{i_1j} R i 1 j and R i 2 j R_{i_2j} R i 2 j to be chosen independently. For each target particle j j j , define
Γ i j = Γ i 1 j + Γ i 2 j , \Gamma_{ij}=\Gamma_{i_1j}+\Gamma_{i_2j}, Γ ij = Γ i 1 j + Γ i 2 j ,
and, whenever Γ i j > 0 \Gamma_{ij}>0 Γ ij > 0 ,
R i j = R i 1 j Γ i 1 j + R i 2 j Γ i 2 j Γ i 1 j + Γ i 2 j . R_{ij}=\frac{R_{i_1j}\Gamma_{i_1j}+R_{i_2j}\Gamma_{i_2j}}{\Gamma_{i_1j}+\Gamma_{i_2j}}. R ij = Γ i 1 j + Γ i 2 j R i 1 j Γ i 1 j + R i 2 j Γ i 2 j .
If Γ i j = 0 \Gamma_{ij}=0 Γ ij = 0 , choose any R i j ∈ ( 0 , e M ] R_{ij}\in(0,e^M] R ij ∈ ( 0 , e M ] ; the corresponding transport and growth contributions are zero. This aggregation preserves the source and target constraints as well as the bound 0 < R i j ≤ e M 0<R_{ij}\le e^M 0 < R ij ≤ e M . The spatial contribution is unchanged because the split particles are at the same location. Since Φ M \Phi_M Φ M is convex, Jensen’s inequality gives
Γ i 1 j Φ M ( R i 1 j ) + Γ i 2 j Φ M ( R i 2 j ) ≥ Γ i j Φ M ( R i j ) . \Gamma_{i_1j}\Phi_M(R_{i_1j})+\Gamma_{i_2j}\Phi_M(R_{i_2j})\ge\Gamma_{ij}\Phi_M(R_{ij}). Γ i 1 j Φ M ( R i 1 j ) + Γ i 2 j Φ M ( R i 2 j ) ≥ Γ ij Φ M ( R ij ) .
Therefore aggregation cannot increase the objective. The optimal value of the original problem is consequently no larger than that of the split problem.
To attain equality, take any feasible solution ( Γ , R ) (\Gamma,R) ( Γ , R ) of the original problem and define
α = a i 1 a i . \alpha=\frac{a_{i_1}}{a_i}. α = a i a i 1 .
Construct a feasible split solution by setting
Γ i 1 j = α Γ i j , Γ i 2 j = ( 1 − α ) Γ i j , \Gamma_{i_1j}=\alpha\Gamma_{ij},\qquad\Gamma_{i_2j}=(1-\alpha)\Gamma_{ij}, Γ i 1 j = α Γ ij , Γ i 2 j = ( 1 − α ) Γ ij ,
R i 1 j = R i j , R i 2 j = R i j . R_{i_1j}=R_{ij},\qquad R_{i_2j}=R_{ij}. R i 1 j = R ij , R i 2 j = R ij .
This choice gives equality in Jensen’s inequality and preserves both marginal constraints and the objective value. Therefore, the original and split problems have the same optimal value.
Proof of the Gradient Equivalence Theorem
The endpoint distribution q ( z ) q(z) q ( z ) is defined on Z = W × W \mathcal{Z} = \mathcal{W} \times\mathcal{W} Z = W × W , with z = ( w 0 , w 1 ) z = (w_0,w_1) z = ( w 0 , w 1 ) . Write the conditional field as s ^ t ( w ∣ z ) = ( u ^ t ( w ∣ z ) , g ^ t ( w ∣ z ) ) \hat{s}_t(w \mid z) = (\hat{u}_t(w \mid z),\hat{g}_t(w \mid z)) s ^ t ( w ∣ z ) = ( u ^ t ( w ∣ z ) , g ^ t ( w ∣ z )) . The marginal path and fields used in Equation (12) and Theorem 4.4 are
ρ ^ t ( w ) = ∫ Z ρ ^ t ( w ∣ z ) q ( z ) d z , (41) \hat{\rho}_t(w) = \int_{\mathcal{Z}} \hat{\rho}_t(w \mid z)q(z)\,\mathrm{d}z, \tag*{(41)} ρ ^ t ( w ) = ∫ Z ρ ^ t ( w ∣ z ) q ( z ) d z , (41)
u ^ t ( w ) = ∫ Z u ^ t ( w ∣ z ) ρ ^ t ( w ∣ z ) q ( z ) d z ρ ^ t ( w ) , (42) \hat{u}_t(w) = \frac{\int_{\mathcal{Z}}\hat{u}_t(w \mid z)\hat{\rho}_t(w \mid z)q(z)\,\mathrm{d}z}{\hat{\rho}_t(w)}, \tag*{(42)} u ^ t ( w ) = ρ ^ t ( w ) ∫ Z u ^ t ( w ∣ z ) ρ ^ t ( w ∣ z ) q ( z ) d z , (42)
g ^ t ( w ) = ∫ Z g ^ t ( w ∣ z ) ρ ^ t ( w ∣ z ) q ( z ) d z ρ ^ t ( w ) . (43) \hat{g}_t(w) = \frac{\int_{\mathcal{Z}}\hat{g}_t(w \mid z)\hat{\rho}_t(w \mid z)q(z)\,\mathrm{d}z}{\hat{\rho}_t(w)}. \tag*{(43)} g ^ t ( w ) = ρ ^ t ( w ) ∫ Z g ^ t ( w ∣ z ) ρ ^ t ( w ∣ z ) q ( z ) d z . (43)
Proof of Theorem 4.4. We prove the claim for the state velocity component; the log mass growth component is identical with scalar products. The conditional velocity part of Equation (13) is
L v c o n d ( θ ) = ∫ 0 1 ∫ W ∫ Z ∥ v θ ( w , t ) − u ^ t ( w ∣ z ) ∥ 2 ρ ^ t ( w ∣ z ) q ( z ) d z d w d t . \mathcal{L}^{\mathrm{cond}}_v(\theta) = \int_0^1 \int_{\mathcal{W}} \int_{\mathcal{Z}} \lVert v_\theta(w,t) - \hat{u}_t(w \mid z) \rVert^2 \hat{\rho}_t(w \mid z)q(z)\,\mathrm{d}z\,\mathrm{d}w\,\mathrm{d}t. L v cond ( θ ) = ∫ 0 1 ∫ W ∫ Z ∥ v θ ( w , t ) − u ^ t ( w ∣ z ) ∥ 2 ρ ^ t ( w ∣ z ) q ( z ) d z d w d t .
Expanding the square gives
L v c o n d ( θ ) = ∫ 0 1 ∫ W [ ∥ v θ ( w , t ) ∥ 2 ∫ Z ρ ^ t ( w ∣ z ) q ( z ) d z − 2 ⟨ v θ ( w , t ) , ∫ Z u ^ t ( w ∣ z ) ρ ^ t ( w ∣ z ) q ( z ) d z ⟩ + ∫ Z ∥ u ^ t ( w ∣ z ) ∥ 2 ρ ^ t ( w ∣ z ) q ( z ) d z ] d w d t . \mathcal{L}^{\mathrm{cond}}_v(\theta) = \int_0^1 \int_{\mathcal{W}} \left[ \lVert v_\theta(w,t) \rVert^2 \int_{\mathcal{Z}} \hat{\rho}_t(w \mid z)q(z)\,\mathrm{d}z - 2\left\langle v_\theta(w,t), \int_{\mathcal{Z}} \hat{u}_t(w \mid z)\hat{\rho}_t(w \mid z)q(z)\,\mathrm{d}z \right\rangle+ \int_{\mathcal{Z}} \lVert\hat{u}_t(w \mid z) \rVert^2 \hat{\rho}_t(w \mid z)q(z)\,\mathrm{d}z \right]\,\mathrm{d}w\,\mathrm{d}t. L v cond ( θ ) = ∫ 0 1 ∫ W [ ∥ v θ ( w , t ) ∥ 2 ∫ Z ρ ^ t ( w ∣ z ) q ( z ) d z − 2 ⟨ v θ ( w , t ) , ∫ Z u ^ t ( w ∣ z ) ρ ^ t ( w ∣ z ) q ( z ) d z ⟩ + ∫ Z ∥ u ^ t ( w ∣ z ) ∥ 2 ρ ^ t ( w ∣ z ) q ( z ) d z ] d w d t .
Expanding the marginal velocity loss in Equation (12) gives
L v m a r g ( θ ) = ∫ 0 1 ∫ W [ ∥ v θ ( w , t ) ∥ 2 − 2 ⟨ v θ ( w , t ) , u ^ t ( w ) ⟩ + ∥ u ^ t ( w ) ∥ 2 ] ρ ^ t ( w ) d w d t . \mathcal{L}^{\mathrm{marg}}_v(\theta) = \int_0^1 \int_{\mathcal{W}} \left[ \lVert v_\theta(w,t) \rVert^2 - 2\langle v_\theta(w,t),\hat{u}_t(w)\rangle+ \lVert\hat{u}_t(w) \rVert^2 \right]\hat{\rho}_t(w)\,\mathrm{d}w\,\mathrm{d}t. L v marg ( θ ) = ∫ 0 1 ∫ W [ ∥ v θ ( w , t ) ∥ 2 − 2 ⟨ v θ ( w , t ) , u ^ t ( w )⟩ + ∥ u ^ t ( w ) ∥ 2 ] ρ ^ t ( w ) d w d t .
By Equation (A.27), the first square term in the conditional expansion equals the corresponding term in the marginal expansion. By Equation (A.28),
∫ Z u ^ t ( w ∣ z ) ρ ^ t ( w ∣ z ) q ( z ) d z = u ^ t ( w ) ρ ^ t ( w ) , \int_{\mathcal{Z}} \hat{u}_t(w \mid z)\hat{\rho}_t(w \mid z)q(z)\,\mathrm{d}z = \hat{u}_t(w)\hat{\rho}_t(w), ∫ Z u ^ t ( w ∣ z ) ρ ^ t ( w ∣ z ) q ( z ) d z = u ^ t ( w ) ρ ^ t ( w ) ,
so the cross term also matches. The remaining target-field square terms do not depend on θ \theta θ . Therefore,
L v c o n d ( θ ) = L v m a r g ( θ ) + C v . \mathcal{L}^{\mathrm{cond}}_v(\theta) = \mathcal{L}^{\mathrm{marg}}_v(\theta) + C_v. L v cond ( θ ) = L v marg ( θ ) + C v .
The same expansion applies to the scalar growth component g ϕ g_\phi g ϕ , using Equation (A.29) in place of Equation (A.28). Hence the conditional and marginal growth losses differ only by a ϕ \phi ϕ -independent constant. Since λ \lambda λ is fixed during training, the full losses satisfy
L E S F M c o n d ( θ , ϕ ) = L E S F M m a r g ( θ , ϕ ) + C , \mathcal{L}^{\mathrm{cond}}_{\mathrm{ESFM}}(\theta,\phi) = \mathcal{L}^{\mathrm{marg}}_{\mathrm{ESFM}}(\theta,\phi) + C, L ESFM cond ( θ , ϕ ) = L ESFM marg ( θ , ϕ ) + C ,
with C C C independent of ( θ , ϕ ) (\theta,\phi) ( θ , ϕ ) , and taking gradients with respect to both parameter sets gives the result.
Dataset Details and Additional Numerical Results
Experimental Details
Experiments were run on an NVIDIA A100 GPU cluster with 128 CPU cores or a laptop with an NVIDIA RTX 5060 Laptop GPU. We use two separate multilayer perceptrons for velocity and growth, with five and three hidden layers, respectively. Both take ( t , x , y ) (t, x, y) ( t , x , y ) as input and use LeakyReLU activations. The prediction experiments use 256 hidden units per layer, while held-out experiments use 512. The models are implemented in PyTorch [46 ] and trained with Adam.
Coupling parameter δ \delta δ . The parameter δ > 0 \delta> 0 δ > 0 weights the mass change cost relative to the state transport cost when solving the static coupling problem in Equation (11) :
inf γ 0 , γ 1 ≥ 0 ∬ [ ∥ x 1 − x 0 ∥ 2 + δ 2 Φ M ( R ( x 0 , x 1 ) ) ] d γ 0 , \inf_{\gamma_0,\gamma_1\geq0} \iint\left[\lVert x_1-x_0\rVert^2+\delta^2\Phi_M\left(R(x_0,x_1)\right)\right]\,\mathrm{d}\gamma_0, γ 0 , γ 1 ≥ 0 inf ∬ [ ∥ x 1 − x 0 ∥ 2 + δ 2 Φ M ( R ( x 0 , x 1 ) ) ] d γ 0 ,
s.t. ∫ γ 0 ( x 0 , x 1 ) d x 1 = ρ 0 ( x 0 ) , ∫ γ 1 ( x 0 , x 1 ) d x 0 = ρ 1 ( x 1 ) , \text{s.t.}\quad\int\gamma_0(x_0,x_1)\,\mathrm{d}x_1=\rho_0(x_0),\qquad\int\gamma_1(x_0,x_1)\,\mathrm{d}x_0=\rho_1(x_1), s.t. ∫ γ 0 ( x 0 , x 1 ) d x 1 = ρ 0 ( x 0 ) , ∫ γ 1 ( x 0 , x 1 ) d x 0 = ρ 1 ( x 1 ) ,
0 < R ( x 0 , x 1 ) ≤ e M . 0<R(x_0,x_1)\leq e^M. 0 < R ( x 0 , x 1 ) ≤ e M .
Increasing δ \delta δ penalizes growth or decay more strongly, favoring state transport when matching the endpoint distributions. Decreasing δ \delta δ makes mass variation less costly. This balance determines the optimal coupling, including the endpoint pairing and terminal log mass allocation, and hence the conditional samples used for training.
Training weight λ \lambda λ . The parameter λ > 0 \lambda> 0 λ > 0 balances the velocity and growth regression errors in the conditional ESFM loss from Equation (13) :
L E S F M c o n d ( θ , ϕ ) = ∫ 0 1 ∫ Z ∫ W [ ∥ v θ ( w , t ) − u t ( w ∣ z ) ∥ 2 + λ ∣ g ϕ ( w , t ) − g t ( w ∣ z ) ∣ 2 ] ρ ^ t ( w ∣ z ) q ( z ) d w d z d t . \mathcal{L}_{\mathrm{ESFM}}^{\mathrm{cond}}(\theta,\phi)=\int_0^1\int_{\mathcal{Z}}\int_{\mathcal{W}}\left[\lVert v_\theta(w,t)-u_t(w\mid z)\rVert^2+\lambda\lvert g_\phi(w,t)-g_t(w\mid z)\rvert^2\right]\hat{\rho}_t(w\mid z)q(z)\,\mathrm{d}w\,\mathrm{d}z\,\mathrm{d}t. L ESFM cond ( θ , ϕ ) = ∫ 0 1 ∫ Z ∫ W [ ∥ v θ ( w , t ) − u t ( w ∣ z ) ∥ 2 + λ ∣ g ϕ ( w , t ) − g t ( w ∣ z ) ∣ 2 ] ρ ^ t ( w ∣ z ) q ( z ) d w d z d t .
A larger λ \lambda λ gives greater weight to the growth regression error relative to the velocity error. This parameter acts only during training and does not change the transport action, coupling, or conditional targets.
Choice of M M M . The parameter M M M sets the upper bound on the local growth ratio through R ≤ e M R\leq e^M R ≤ e M and determines the mass cost function Φ M \Phi_M Φ M in Equation (11) , thereby affecting the computation of the optimal coupling.
Increasing M M M enlarges the feasible set of the local mass problem, so Φ M ( r ) \Phi_M(r) Φ M ( r ) is nonincreasing in M M M for any fixed feasible growth ratio r r r . By Equation (A.12), the threshold y ⋆ y_\star y ⋆ tends to zero as M → ∞ M\to\infty M → ∞ . For any fixed r > 1 r>1 r > 1 , the second branch of Φ M \Phi_M Φ M in Theorem 4.3 applies for sufficiently large M M M , giving
Φ M ( r ) = 2 y ⋆ e y ⋆ + y ⋆ 2 − 2 y ⋆ ⟶ 0 as M → ∞ . \Phi_M(r)=\frac{2y_\star}{e^{y_\star}}+y_\star^2-2y_\star\longrightarrow0\qquad\text{as }M\to\infty. Φ M ( r ) = e y ⋆ 2 y ⋆ + y ⋆ 2 − 2 y ⋆ ⟶ 0 as M → ∞.
A finite growth bound therefore limits individual particle growth and keeps the mass cost strictly positive for any fixed feasible growth ratio r > 1 r>1 r > 1 .
For two adjacent snapshots containing n 0 n_0 n 0 and n 1 n_1 n 1 cells, the observed average growth ratio is n 1 / n 0 n_1/n_0 n 1 / n 0 . We choose the maximum allowed growth ratio as a multiple of this average:
e M = κ n 1 n 0 , κ > 1. e^M=\kappa\frac{n_1}{n_0},\qquad\kappa>1. e M = κ n 0 n 1 , κ > 1.
Thus, the maximum growth ratio of a single particle is κ \kappa κ times the population average n 1 / n 0 n_1/n_0 n 1 / n 0 . To maintain the assumption M > 1 M>1 M > 1 used in the derivation, our implementation sets
M = max { 1.05 , log ( κ n 1 n 0 ) } . M=\max\left\{1.05,\log\left(\kappa\frac{n_1}{n_0}\right)\right\}. M = max { 1.05 , log ( κ n 0 n 1 ) } .
We use κ = 2 \kappa= 2 κ = 2 as the default choice for most datasets, which allows individual particles to grow by up to twice the observed average population growth ratio. This is an empirical choice that provides room for heterogeneous growth while limiting extreme mass allocation. The values used for individual datasets are reported below.
Evaluation Metrics
We use two metrics to evaluate prediction results: the 1-Wasserstein distance (W 1 \mathcal{W}_1 W 1 ) to measure the difference between normalized predicted and observed distributions, and relative mass error (RME) to assess the accuracy of total mass prediction. They are defined as
W 1 ( p , q ) = min π ∈ Π ( p , q ) ∫ ∥ x − x ′ ∥ 2 d π ( x , x ′ ) . \mathcal{W}_1(p,q)=\min_{\pi\in\Pi(p,q)}\int\lVert x-x'\rVert_2\,\mathrm{d}\pi(x,x'). W 1 ( p , q ) = π ∈ Π ( p , q ) min ∫ ∥ x − x ′ ∥ 2 d π ( x , x ′ ) .
RME ( t k ) = ∣ ∑ i m i ( t k ) − n k ∣ n k . \operatorname{RME}(t_k)=\frac{\left\lvert\sum_i m_i(t_k)-n_k\right\rvert}{n_k}. RME ( t k ) = n k ∣ ∑ i m i ( t k ) − n k ∣ .
Here p p p and q q q are the normalized predicted and observed empirical distributions, and Π ( p , q ) \Pi(p,q) Π ( p , q ) is the set of couplings between them. The target cell count at time t k t_k t k is denoted by n k n_k n k , and m i ( t k ) m_i(t_k) m i ( t k ) is the predicted mass of particle i i i at that time. Lower values of both metrics indicate better performance. We report RME only for methods that model mass variation.
For ESFM, each prediction starts from the previous observed snapshot with m i = 1 m_i=1 m i = 1 , corresponding to y i = 0 y_i=0 y i = 0 , consistent with the source condition of the interval coupling. We solve the learned ODE in the extended space to obtain the predicted cell states x i ( t k ) x_i(t_k) x i ( t k ) and log masses y i ( t k ) y_i(t_k) y i ( t k ) . The prediction in the original state space is the weighted particle distribution ∑ i e y i ( t k ) δ x i ( t k ) \sum_i e^{y_i(t_k)}\delta_{x_i(t_k)} ∑ i e y i ( t k ) δ x i ( t k ) : each particle contributes at its predicted cell state with mass m i ( t k ) = e y i ( t k ) m_i(t_k)=e^{y_i(t_k)} m i ( t k ) = e y i ( t k ) . This is the weighted projection of the extended distribution. We compute W 1 \mathcal{W}_1 W 1 between its normalized form and the normalized observed distribution using POT, with distances measured in the cell state space. We compute RME by comparing its total mass ∑ i m i ( t k ) \sum_i m_i(t_k) ∑ i m i ( t k ) with the observed cell count n k n_k n k . For the held-out experiments, we exclude one intermediate snapshot from training and predict it from the previous observed snapshot. We report the mean W 1 \mathcal{W}_1 W 1 over the held-out time points.
To compare ESFM with other methods, we run the available reference implementations with method and dataset specific configurations. For WFR-FM [25 ] , VGFM [24 ] and USB [39 ] , we use their reference configurations as the starting point and retain their respective network architectures and training procedures. For MMFM [13 ] , Metric FM [27 ] , SF2M [33 ] and UOT-FM [23 ] , we use the corresponding released model and matching implementations, with learning rates, training budgets and sample sizes set separately for each method and dataset. Cosine annealing is used in WFR-FM, USB and MMFM training scripts. For MIOFlow [7 ] , TIGON [16 ] , DeepRUOT [17 ] and VAR-RUOT [18 ] , we retain the method specific optimization procedures, including local and global training in MIOFlow, density estimation in TIGON and the staged training pipeline in DeepRUOT. For methods with stochastic inference, we report the mean and standard deviation over five inference runs using a fixed trained model.
Synthetic Benchmarks
We evaluate ESFM on Simulation Gene, Saturating-Growth Data, Dyngen and a Gaussian mixture benchmark. The aggregate prediction results are reported in Table 2 ; dataset descriptions and additional results are provided below. In the Dyngen prediction table, entries with ± \pm ± report the mean and standard deviation over five inference runs with different random seeds using a fixed trained model.
Simulation Gene. The Simulation Gene dataset is generated from a synthetic gene regulatory network [17 ] . The expression levels of three genes evolve according to
d X 1 d t = α 1 X 1 2 + β 1 + α 1 X 1 2 + γ 2 X 2 2 + γ 3 X 3 2 + β − δ 1 X 1 + η 1 ξ 1 , t , d X 2 d t = α 2 X 2 2 + β 1 + γ 1 X 1 2 + α 2 X 2 2 + γ 3 X 3 2 + β − δ 2 X 2 + η 2 ξ 2 , t , d X 3 d t = α 3 X 3 2 1 + α 3 X 3 2 − δ 3 X 3 + η 3 ξ 3 , t . (44) \begin{aligned}
\frac{\mathrm{d}X_1}{\mathrm{d}t} &= \frac{\alpha_1 X_1^2+\beta}{1+\alpha_1 X_1^2+\gamma_2 X_2^2+\gamma_3 X_3^2+\beta}-\delta_1 X_1+\eta_1 \xi_{1,t},\\
\frac{\mathrm{d}X_2}{\mathrm{d}t} &= \frac{\alpha_2 X_2^2+\beta}{1+\gamma_1 X_1^2+\alpha_2 X_2^2+\gamma_3 X_3^2+\beta}-\delta_2 X_2+\eta_2 \xi_{2,t},\\
\frac{\mathrm{d}X_3}{\mathrm{d}t} &= \frac{\alpha_3 X_3^2}{1+\alpha_3 X_3^2}-\delta_3 X_3+\eta_3 \xi_{3,t}. \tag*{(44)}
\end{aligned} d t d X 1 d t d X 2 d t d X 3 = 1 + α 1 X 1 2 + γ 2 X 2 2 + γ 3 X 3 2 + β α 1 X 1 2 + β − δ 1 X 1 + η 1 ξ 1 , t , = 1 + γ 1 X 1 2 + α 2 X 2 2 + γ 3 X 3 2 + β α 2 X 2 2 + β − δ 2 X 2 + η 2 ξ 2 , t , = 1 + α 3 X 3 2 α 3 X 3 2 − δ 3 X 3 + η 3 ξ 3 , t . (44)
Here X i ( t ) X_i(t) X i ( t ) is the expression level of gene i i i . Genes X 1 X_1 X 1 and X 2 X_2 X 2 form a toggle switch: each gene activates itself and inhibits the other. The external signal β \beta β activates both genes, while X 3 X_3 X 3 inhibits them. The parameter α i \alpha_i α i controls self-activation, γ i \gamma_i γ i controls inhibition and δ i \delta_i δ i controls degradation. The term η i ξ i , t \eta_i \xi_{i,t} η i ξ i , t represents random noise with strength η i \eta_i η i . Cells divide randomly, with a growth rate determined by X 2 X_2 X 2 :
g ( X ) = α g X 2 2 1 + X 2 2 , g(\mathbf{X})=\alpha_g\frac{X_2^2}{1+X_2^2}, g ( X ) = α g 1 + X 2 2 X 2 2 ,
where α g \alpha_g α g controls the growth scale. After division, daughter cells inherit the parent’s gene expression state with small random perturbations. The simulation starts from two cell populations: one changes its state and proliferates, while the other remains a steady state. This setting tests whether a model can distinguish population growth from cell state transitions. Snapshots are collected at times 0, 8, 16, 24 and 32. We use X 1 X_1 X 1 and X 2 X_2 X 2 as the model inputs and set the hyperparameters to δ = 2.0 \delta=2.0 δ = 2.0 , λ = 4.0 \lambda=4.0 λ = 4.0 and κ = 2.0 \kappa=2.0 κ = 2.0 . The sensitivity analysis is reported in Table 4 . The results show that δ \delta δ affects prediction performance, whereas the tested values of κ \kappa κ and λ \lambda λ give similar results.
Table 4. Sensitivity analysis of δ \delta δ , λ \lambda λ and κ \kappa κ on the Simulation Gene dataset.
Saturating-Growth Data. This variant follows the same gene regulatory dynamics as Simulation Gene in Equation (B.1), but replaces the growth law with
g ( X ) = α g X 2 8 0.2 8 + X 2 8 , g(\mathbf{X})=\alpha_g\frac{X_2^8}{0.2^8+X_2^8}, g ( X ) = α g 0. 2 8 + X 2 8 X 2 8 ,
where α g \alpha_g α g denotes the maximum growth rate. The growth rate increases with X 2 X_2 X 2 and then stays close to α g \alpha_g α g . One population grows at a nearly constant rate, while the other shows almost no growth. This experiment tests whether ESFM can identify which cells grow and accurately predict their growth rates. Snapshots are collected at times 0, 4, 8, 16 and 32. We retain all three gene coordinates for training and use PCA for visualization. We set the hyperparameters to δ = 2.0 \delta=2.0 δ = 2.0 , λ = 1.0 \lambda=1.0 λ = 1.0 and κ = 2.0 \kappa=2.0 κ = 2.0 . To compute the coefficient of determination R 2 R^2 R 2 reported in Q1, we pool all N = 2772 N=2772 N = 2772 observed cells across the five snapshots and evaluate each cell at its own observation time t i t_i t i . Let ( X j , k , Y j , k ) (X_{j,k}, Y_{j,k}) ( X j , k , Y j , k ) denote the resulting particles at t k t_k t k . At the initial time, the particles are the observed source cells with Y j , 0 = 0 Y_{j,0} = 0 Y j , 0 = 0 .
Physical growth and its particle estimate. The projection in Theorem 4.1 defines the physical density and growth field as
ρ t ( x ) = ∫ R e y ρ ^ t ( x , y ) d y , \rho_t(x) = \int_{\mathbb{R}} e^y \widehat{\rho}_t(x,y)\,\mathrm{d}y, ρ t ( x ) = ∫ R e y ρ t ( x , y ) d y ,
g t ( x ) = ∫ R g ^ t ( x , y ) ρ ^ t ( x , y ) e y d y ρ t ( x ) . g_t(x) = \frac{\int_{\mathbb{R}} \widehat{g}_t(x,y)\widehat{\rho}_t(x,y)e^y\,\mathrm{d}y}{\rho_t(x)}. g t ( x ) = ρ t ( x ) ∫ R g t ( x , y ) ρ t ( x , y ) e y d y .
The ODE provides particles { ( X j ( t ) , Y j ( t ) ) } j = 1 n \{(X_j(t), Y_j(t))\}_{j=1}^n {( X j ( t ) , Y j ( t )) } j = 1 n whose states generally do not coincide with the observed cells. To evaluate growth at an observed state x x x , we use nearby particles to form the local kernel estimate
ρ ^ t h ( x , d y ) = 1 n ∑ j = 1 n K h ( x − X j ( t ) ) δ Y j ( t ) ( d y ) , K h ( z ) = exp ( − ∥ z ∥ 2 2 h 2 ) . \widehat{\rho}_t^h(x,\mathrm{d}y) = \frac{1}{n}\sum_{j=1}^{n} K_h(x-X_j(t))\delta_{Y_j(t)}(\mathrm{d}y), \qquad K_h(z) = \exp\left(-\frac{\lVert z\rVert^2}{2h^2}\right). ρ t h ( x , d y ) = n 1 j = 1 ∑ n K h ( x − X j ( t )) δ Y j ( t ) ( d y ) , K h ( z ) = exp ( − 2 h 2 ∥ z ∥ 2 ) .
The kernel acts only on the state coordinates; common normalization factors cancel in the ratio. Substituting this local measure into the projection and using the learned growth field g φ g_\varphi g φ gives
g ^ t h ( x ) : = ∫ R g φ ( x , y , t ) e y ρ ^ t h ( x , d y ) ∫ R e y ρ ^ t h ( x , d y ) = ∑ j K h ( x − X j ( t ) ) e Y j ( t ) g φ ( x , Y j ( t ) , t ) ∑ j K h ( x − X j ( t ) ) e Y j ( t ) . \begin{aligned}
\widehat{g}_t^h(x) := \frac{\int_{\mathbb{R}} g_\varphi(x,y,t)e^y\widehat{\rho}_t^h(x,\mathrm{d}y)}{\int_{\mathbb{R}} e^y\widehat{\rho}_t^h(x,\mathrm{d}y)} \\
&= \frac{\sum_j K_h(x-X_j(t))e^{Y_j(t)}g_\varphi(x,Y_j(t),t)}{\sum_j K_h(x-X_j(t))e^{Y_j(t)}}.
\end{aligned} g t h ( x ) := ∫ R e y ρ t h ( x , d y ) ∫ R g φ ( x , y , t ) e y ρ t h ( x , d y ) = ∑ j K h ( x − X j ( t )) e Y j ( t ) ∑ j K h ( x − X j ( t )) e Y j ( t ) g φ ( x , Y j ( t ) , t ) .
We set h h h to the distance to the 16th nearest generated state, without using growth labels, and include all particles in the estimate. WFR-FM is evaluated directly through its physical growth head at ( x , t k ) (x,t_k) ( x , t k ) . Let g i = g ( X i ) g_i = g(X_i) g i = g ( X i ) be its true growth rate and g ^ i \widehat{g}_i g i its predicted rate. We compute
R 2 = 1 − ∑ i = 1 N ( g ^ i − g i ) 2 ∑ i = 1 N ( g i − g ‾ ) 2 , g ‾ = 1 N ∑ i = 1 N g i . R^2 = 1 - \frac{\sum_{i=1}^{N}(\widehat{g}_i-g_i)^2}{\sum_{i=1}^{N}(g_i-\overline{g})^2}, \qquad\overline{g} = \frac{1}{N}\sum_{i=1}^{N}g_i. R 2 = 1 − ∑ i = 1 N ( g i − g ) 2 ∑ i = 1 N ( g i − g i ) 2 , g = N 1 i = 1 ∑ N g i .
As shown in Figure 2, ESFM predicts growth rates close to the true values for both populations. WFR-FM predicts lower growth rates, including negative values for some cells even though their true growth rates are nonnegative.
Additional growth-field comparisons. We extend the comparison to VGFM, DeepRUOT and Var-RUOT, using the same dataset. ESFM is evaluated through the physical growth projection described above; the baselines are evaluated through their physical growth heads, expressed in the same time units. Growth labels are used only for evaluation. Figure 4 shows the predicted fields. ESFM captures both the proliferative and approximately quiescent populations. VGFM predicts appreciable positive growth in part of the approximately quiescent population.
Figure 4. Growth-field recovery on Saturating-Growth Data using all five observed snapshots. Ground truth and the predictions of ESFM, WFR-FM, VGFM, DeepRUOT and Var-RUOT are shown on the same 2,772 cell coordinates.
Growth recovery on held-out snapshots. For each method, we mask the snapshots at t = 4 , 8 , 16 t = 4, 8, 16 t = 4 , 8 , 16 one at a time and train a separate hold-out model for each masked time point using the remaining snapshots. We compare the predicted growth rates at these time points with the ground truth and display the results together in Figure 5 . The results show that ESFM recovers the ground-truth growth rates at the held-out time points.
Figure 5. Growth-field recovery on held-out snapshots at t = 4 , 8 , 16 t = 4, 8, 16 t = 4 , 8 , 16 . Each prediction uses a model trained without the evaluated snapshot.
Trajectory recovery on held-out snapshots. Using the same three hold-out models trained by masking t = 4 , 8 , 16 t = 4, 8, 16 t = 4 , 8 , 16 one at a time, we predict trajectories and cell positions at the corresponding held-out time points. We compare the predicted positions with the observed snapshots and display the results together with the model-generated trajectories in Figure 6 .
Figure 6. Held-out trajectory and marginal recovery on Saturating-Growth Data.
Dyngen. The Dyngen dataset is generated using the dyngen single-cell simulator [47 ] and contains 728 cells across five snapshots. The simulated trajectories bifurcate into two branches with unequal cell abundance, providing a test of joint state and mass prediction. We use a five-dimensional PHATE representation [48 ] and set the hyperparameters to δ = 2.5 \delta= 2.5 δ = 2.5 , λ = 6.25 \lambda= 6.25 λ = 6.25 and κ = 1.5 \kappa= 1.5 κ = 1.5 . The prediction results in Table 5 show that ESFM achieves the lowest distribution and mass errors at most prediction times.
Table 5. Comparison of method performance over time on the Dyngen dataset.
As an additional visualization, we realize the learned population dynamics on the Dyngen dataset through a birth–death process. Cells follow the learned velocity field, with division and apoptosis events determined by the inferred growth rates. As shown in Figure 7 , this realization produces explicit division and death events, complementing the continuous population-level representation.
Figure 7. Birth–death simulation on the Dyngen dataset. Discrete particle trajectories generated from the learned ESFM dynamics, with division and apoptosis events determined by the inferred growth rates.
Gaussian mixture. The Gaussian mixture benchmark contains two snapshots in 1000 dimensions [24 ] . The source contains 500 samples, with 100 in an upper component and 400 in a lower component. In the target, the upper component expands to 1000 samples, while the lower population splits into two components of 200 samples each. The benchmark therefore combines population growth with branching transport in a high dimensional state space. We set the hyperparameters to δ = 1.2 \delta= 1.2 δ = 1.2 , λ = 1.44 \lambda= 1.44 λ = 1.44 and κ = 4.0 \kappa= 4.0 κ = 4.0 . As shown in Figure 8 , the predicted endpoints capture the three target modes, with little movement in the upper population and splitting trajectories in the lower population.
Figure 8. ESFM trajectory prediction on the 1000D Gaussian mixture benchmark.
Real Single-Cell Benchmarks
We evaluate ESFM on four real single-cell datasets: EMT, embryoid body differentiation (EB), CITE-seq, and mouse hematopoiesis. The aggregate held-out results are shown in Table 3 . Detailed dataset descriptions and prediction results are provided below. For the prediction tables below, entries with ± \pm ± report the mean and standard deviation over five inference runs with different random seeds using a fixed trained model.
Additional held-out growth and trajectory visualizations. We supplement the held-out experiments on EMT, EB, CITE-seq and Mouse with ESFM growth-field visualizations and trajectory comparisons with WFR-FM, VGFM, DeepRUOT and Var-RUOT. The results are presented below for each dataset.
EMT. The epithelial–mesenchymal transition (EMT) dataset contains A549 lung cancer cells collected at four time points during the transition [49 ] . We use an autoencoder to reduce the gene expression data to 10 dimensions. These snapshots capture changes in both transcriptional state and observed cell abundance. We evaluate ESFM on this dataset with hyperparameters set to δ = 1.5 \delta= 1.5 δ = 1.5 , λ = 2.25 \lambda= 2.25 λ = 2.25 , and κ = 2.0 \kappa= 2.0 κ = 2.0 . As shown in Table 6 , ESFM achieves the lowest distribution error at t = 2 , 3 t = 2, 3 t = 2 , 3 and the second-lowest at t = 1 t = 1 t = 1 , while maintaining low mass error.
Table 6. Comparison of method performance over time on the 10D EMT dataset.
Held-out visualizations for EMT. Figure 9 a shows ESFM’s physical growth predictions pooled over the held-out snapshots at t = 1 , 2 t = 1, 2 t = 1 , 2 . Using the corresponding hold-out models, we predict trajectories and cell positions at these time points. We compare the predicted positions with the observed snapshots and display the results together with the model-generated trajectories in Figure 9 b.
Figure 9. (a) ESFM growth predictions. (b) Trajectory and marginal comparison. Growth-field and trajectory predictions on the held-out 10D EMT snapshots at t = 1 , 2 t = 1, 2 t = 1 , 2 .
Embryoid body. The human embryoid body (EB) dataset contains 16,819 cells sampled at five time points over a 27-day differentiation experiment [48 ] . This experimental system models early embryonic development and captures the emergence of diverse cell states. We evaluate PCA representations with 5, 50 and 100 dimensions to examine prediction performance at different dimensions. The hyperparameter settings are δ = 2.0 \delta= 2.0 δ = 2.0 , λ = 1.0 \lambda= 1.0 λ = 1.0 and κ = 2.0 \kappa= 2.0 κ = 2.0 for 5D; δ = 24.0 \delta= 24.0 δ = 24.0 , λ = 5.0 \lambda= 5.0 λ = 5.0 and κ = 2.0 \kappa= 2.0 κ = 2.0 for 50D; and δ = 18.0 \delta= 18.0 δ = 18.0 , λ = 3.0 \lambda= 3.0 λ = 3.0 and κ = 2.0 \kappa= 2.0 κ = 2.0 for 100D. The prediction results in Table 7 to Table 9 show that ESFM achieves the lowest W 1 W_1 W 1 across all tested dimensions and prediction times. It also achieves the lowest mass error at three of the four prediction times in the 5D representation.
Table 7. Comparison of method performance over time on the 5D EB dataset.
Table 9. Comparison of method performance over time on the 100D EB dataset.
Table 8. Comparison of method performance over time on the 50D EB dataset.
Hold-out visualizations for EB. We use the 50D representation for the additional visualizations. Figure 10 a pools ESFM growth predictions from the three models withholding t = 1 , 2 , 3 t=1, 2, 3 t = 1 , 2 , 3 , respectively. Using the corresponding hold-out models, we predict trajectories and cell positions at these time points. We compare the predicted positions with the observed snapshots and display the results together with the model-generated trajectories in Figure 10 b.
Figure 10. (a) ESFM growth predictions. (b) Trajectory and marginal comparison. Growth-field and trajectory predictions on the held-out 50D EB snapshots at t = 1 , 2 , 3 t=1, 2, 3 t = 1 , 2 , 3 .
CITE-seq. The CITE-seq dataset contains 31,240 cells collected at four time points [50 ] . Although the original data include both gene expression and surface protein measurements, our experiments use only the gene expression matrix, reduced to 50 dimensions by PCA. The large number of cells and variation in snapshot size provide a test of prediction on unbalanced single-cell data. We set the hyperparameters to δ = 1.5 \delta= 1.5 δ = 1.5 , λ = 1.0 \lambda= 1.0 λ = 1.0 and κ = 3.0 \kappa= 3.0 κ = 3.0 . As shown in Table 10 , ESFM achieves the lowest distribution error at t = 2 , 3 t = 2, 3 t = 2 , 3 and the third-lowest at t = 1 t = 1 t = 1 , although some baselines attain lower mass errors.
Table 10. Comparison of method performance over time on the 50D CITE dataset.
Held-out visualizations for CITE-seq. Figure 11a shows the learned ESFM growth fields at the two held-out times t = 1 , 2 t = 1, 2 t = 1 , 2 . Using the corresponding hold-out models, we predict trajectories and cell positions at these time points. We compare the predicted positions with the observed snapshots and display the results together with the model-generated trajectories in Figure 11b .
(a) ESFM growth predictions.
(b) Trajectory and marginal comparison.
Figure 11. Growth-field and trajectory predictions on the held-out 50D CITE-seq snapshots at t = 1 , 2 t = 1, 2 t = 1 , 2 .
Mouse hematopoiesis. The mouse hematopoiesis dataset contains 49,302 lineage-traced cells collected at three time points [51 ] . Its large cell population and substantial changes in cell abundance make it useful for evaluating both prediction and the computational cost of coupling construction. We use PCA to reduce the gene expression data to 50 dimensions, and set the hyperparameters to δ = 15 \delta= 15 δ = 15 , λ = 225 \lambda= 225 λ = 225 and κ = 1.5 \kappa= 1.5 κ = 1.5 , using mini-batch coupling with a mini-batch size of 2000. The prediction results in Table 11 show that ESFM achieves the lowest W 1 W_1 W 1 and RME at t = 2 t = 2 t = 2 , while WFR-FM and USB attain lower distribution errors at t = 1 t = 1 t = 1 .
Table 11. Comparison of method performance over time on the 50D Mouse dataset.
Held-out visualizations for Mouse. Figure 12 a shows ESFM’s physical growth predictions for the held-out intermediate snapshot at t = 1 t = 1 t = 1 . Using the corresponding hold-out models, we predict trajectories and cell positions at this time point. We compare the predicted positions with the observed snapshot and display the results together with the model-generated trajectories in Figure 12 b.
Figure 12. (a) ESFM growth predictions. (b) Trajectory and marginal comparison. Growth-field and trajectory predictions on the held-out 50D Mouse snapshot at t = 1 t = 1 t = 1 .
Sensitivity to mini-batch coupling size. We examine the effect of coupling mini-batch size on the Mouse dataset in Table 12 . Mini-batch coupling greatly reduces runtime compared with full coupling while maintaining comparable prediction performance. The mini-batch sizes reported in the table yield similar runtime and comparable accuracy in both distribution and mass prediction. Full coupling yields slightly lower distribution error but requires much more computation. These results support mini-batch coupling as an efficient approximation, with the selected batch size providing a balance between prediction quality and computational cost.
Table 12. Sensitivity analysis for the batch size of mini-batch coupling on the 50D Mouse dataset.
Efficiency on the 100D EB dataset
We evaluate the computational efficiency of ESFM on the 100-dimensional embryoid body dataset (EB100) by comparing prediction accuracy, runtime and memory. As shown in Figure 13 , ESFM achieves the lowest mean W 1 W_1 W 1 among the methods in the comparison, reaching W 1 = 10.863 W_1 = 10.863 W 1 = 10.863 in only 42 seconds with 0.4 GB of memory. This runtime includes coupling computation, endpoint pair presampling and network training. ESFM also has the shortest reported runtime and lowest reported memory usage in the figure, demonstrating an efficient combination of accurate prediction and low computational cost on this large scale dataset. Detailed prediction results, including RME, are provided in Table 9 .
Evaluation of Static and Learned Dynamic Actions
Static action. For an adjacent interval [ t k , t k + 1 ] [t_k, t_{k+1}] [ t k , t k + 1 ] of duration T k = t k + 1 − t k T_k = t_{k+1} - t_k T k = t k + 1 − t k with n k n_k n k source particles, let Γ i j ( k ) \Gamma_{ij}^{(k)} Γ ij ( k ) and R i j ( k ) R_{ij}^{(k)} R ij ( k ) denote the source coupling weight and endpoint mass ratio returned by the entropy-regularized static solver. We compute the geometric cost without the entropy term:
A s t a t ( k ) = 1 n k T k ∑ i , j Γ i j ( k ) [ ∥ x j k + 1 − x i k ∥ 2 + δ 2 Φ M ( R i j ( k ) ) ] . A_{\mathrm{stat}}^{(k)} = \frac{1}{n_k T_k} \sum_{i,j} \Gamma_{ij}^{(k)} \left[ \left\lVert x_j^{k+1} - x_i^k \right\rVert^2 + \delta^2 \Phi_M\left(R_{ij}^{(k)}\right) \right]. A stat ( k ) = n k T k 1 i , j ∑ Γ ij ( k ) [ x j k + 1 − x i k 2 + δ 2 Φ M ( R ij ( k ) ) ] .
Network dynamic action. We initialize every observed source cell at w i ( t k ) = ( x i k , 0 ) w_i(t_k) = (x_i^k, 0) w i ( t k ) = ( x i k , 0 ) and integrate w ˙ i ( t ) = ( v θ ( w i ( t ) , t ) , g ϕ ( w i ( t ) , t ) ) \dot{w}_i(t) = (v_\theta(w_i(t), t), g_\phi(w_i(t), t)) w ˙ i ( t ) = ( v θ ( w i ( t ) , t ) , g ϕ ( w i ( t ) , t )) . The action is evaluated along these network-generated trajectories:
A d y n ( k ) = 1 n k ∑ i = 1 n k ∫ t k t k + 1 [ ∥ v θ ( w i ( t ) , t ) ∥ 2 + δ 2 ∣ g ϕ ( w i ( t ) , t ) ∣ 2 ] d t . A_{\mathrm{dyn}}^{(k)} = \frac{1}{n_k}\sum_{i=1}^{n_k}\int_{t_k}^{t_{k+1}}\left[\left\|v_\theta(w_i(t),t)\right\|^2+\delta^2\left|g_\phi(w_i(t),t)\right|^2\right]\,\mathrm{d}t. A dyn ( k ) = n k 1 i = 1 ∑ n k ∫ t k t k + 1 [ ∥ v θ ( w i ( t ) , t ) ∥ 2 + δ 2 ∣ g ϕ ( w i ( t ) , t ) ∣ 2 ] d t .
We use forward Euler with 400 steps per interval.
Intervals and numerical checks. For each dataset, we compute the static and dynamic actions separately within each interval between observed time points. The reported actions are obtained by summing over all these intervals:
A s t a t = ∑ k A s t a t ( k ) , A d y n = ∑ k A d y n ( k ) , G a p = ∣ A d y n − A s t a t ∣ A s t a t × 100 % . A_{\mathrm{stat}}=\sum_k A_{\mathrm{stat}}^{(k)},\qquad A_{\mathrm{dyn}}=\sum_k A_{\mathrm{dyn}}^{(k)},\qquad\mathrm{Gap}=\frac{\left|A_{\mathrm{dyn}}-A_{\mathrm{stat}}\right|}{A_{\mathrm{stat}}}\times100\%. A stat = k ∑ A stat ( k ) , A dyn = k ∑ A dyn ( k ) , Gap = A stat ∣ A dyn − A stat ∣ × 100%.
Relation to Other Unbalanced Flow Matching Methods
Relation to VGFM
Both VGFM [24 ] and ESFM jointly learn velocity and growth. They also use the same form of conditional interpolation once the endpoint states and masses are fixed. These paths and their targets are
x t = ( 1 − t ) x 0 + t x 1 , x_t=(1-t)x_0+tx_1, x t = ( 1 − t ) x 0 + t x 1 ,
m t = m 0 1 − t m 1 t , y t = ln m t , m_t=m_0^{1-t}m_1^t,\qquad y_t=\ln m_t, m t = m 0 1 − t m 1 t , y t = ln m t ,
u ^ t ( w t ∣ z ) = x 1 − x 0 , \hat{u}_t(w_t\mid z)=x_1-x_0, u ^ t ( w t ∣ z ) = x 1 − x 0 ,
g ^ t ( w t ∣ z ) = y 1 − y 0 = ln ( m 1 / m 0 ) . \hat{g}_t(w_t\mid z)=y_1-y_0=\ln(m_1/m_0). g ^ t ( w t ∣ z ) = y 1 − y 0 = ln ( m 1 / m 0 ) .
Let z = ( w 0 , w 1 ) z=(w_0,w_1) z = ( w 0 , w 1 ) , where w k = ( x k , y k ) w_k=(x_k,y_k) w k = ( x k , y k ) and y k = ln m k y_k=\ln m_k y k = ln m k for k = 0 , 1 k=0,1 k = 0 , 1 , and let t ∼ U [ 0 , 1 ] t\sim U[0,1] t ∼ U [ 0 , 1 ] . The sampling laws q V q_V q V and q E q_E q E are induced by the OT solutions P ⋆ P^\star P ⋆ and ( Γ ⋆ , R ⋆ ) (\Gamma^\star,R^\star) ( Γ ⋆ , R ⋆ ) , respectively, as specified below. The conditional matching losses are
L V G F M c o n d ( θ , ω ) = E t ∼ U [ 0 , 1 ] z ∼ q V [ ∥ v θ ( x t , t ) − u ^ t ( w t ∣ z ) ∥ 2 + ∣ g ω ( x t , t ) − g ^ t ( w t ∣ z ) ∣ 2 ] . \mathcal{L}_{\mathrm{VGFM}}^{\mathrm{cond}}(\theta,\omega)=\mathbb{E}_{t\sim U[0,1]}^{z\sim q_V}\left[\left\|v_\theta(x_t,t)-\hat{u}_t(w_t\mid z)\right\|^2+\left|g_\omega(x_t,t)-\hat{g}_t(w_t\mid z)\right|^2\right]. L VGFM cond ( θ , ω ) = E t ∼ U [ 0 , 1 ] z ∼ q V [ ∥ v θ ( x t , t ) − u ^ t ( w t ∣ z ) ∥ 2 + ∣ g ω ( x t , t ) − g ^ t ( w t ∣ z ) ∣ 2 ] .
L E S F M c o n d ( θ , ϕ ) = E t ∼ U [ 0 , 1 ] z ∼ q E [ ∥ v θ ( w t , t ) − u ^ t ( w t ∣ z ) ∥ 2 + λ ∣ g ϕ ( w t , t ) − g ^ t ( w t ∣ z ) ∣ 2 ] . \mathcal{L}_{\mathrm{ESFM}}^{\mathrm{cond}}(\theta,\phi)=\mathbb{E}_{t\sim U[0,1]}^{z\sim q_E}\left[\left\|v_\theta(w_t,t)-\hat{u}_t(w_t\mid z)\right\|^2+\lambda\left|g_\phi(w_t,t)-\hat{g}_t(w_t\mid z)\right|^2\right]. L ESFM cond ( θ , ϕ ) = E t ∼ U [ 0 , 1 ] z ∼ q E [ ∥ v θ ( w t , t ) − u ^ t ( w t ∣ z ) ∥ 2 + λ ∣ g ϕ ( w t , t ) − g ^ t ( w t ∣ z ) ∣ 2 ] .
The main difference lies in the couplings underlying q V q_V q V and q E q_E q E , which are used to sample endpoint pairs and growth labels. This changes the distribution of conditional regression targets and can therefore lead to different learned velocity fields.
For ESFM, the prescribed linear path in ( x , y ) (x,y) ( x , y ) , y = ln m y=\ln m y = ln m , minimizes the following action for fixed endpoints:
A δ ( w ) = ∫ 0 1 ( ∥ x ˙ t ∥ 2 + δ 2 ∣ y ˙ t ∣ 2 ) d t . A_\delta(w)=\int_0^1\left(\left\|\dot{x}_t\right\|^2+\delta^2\left|\dot{y}_t\right|^2\right)\,\mathrm{d}t. A δ ( w ) = ∫ 0 1 ( ∥ x ˙ t ∥ 2 + δ 2 ∣ y ˙ t ∣ 2 ) d t .
Its minimum is the endpoint cost c ( w 0 , w 1 ) = ∥ x 1 − x 0 ∥ 2 + δ 2 ∣ y 1 − y 0 ∣ 2 c(w_0,w_1)=\left\|x_1-x_0\right\|^2+\delta^2\left|y_1-y_0\right|^2 c ( w 0 , w 1 ) = ∥ x 1 − x 0 ∥ 2 + δ 2 ∣ y 1 − y 0 ∣ 2 , which induces the static OT formulation on the extended space W = R d × R \mathcal{W}=\mathbb{R}^d\times\mathbb{R} W = R d × R (Equation (4.7)}):
K δ ( ρ 0 , ρ 1 ) = inf ρ ^ 1 ∈ P ( W ) inf π ^ ∈ Π ( ρ ^ 0 , ρ ^ 1 ) ∫ W 2 c ( w 0 , w 1 ) d π ^ ( w 0 , w 1 ) . K_\delta(\rho_0,\rho_1)=\inf_{\hat{\rho}_1\in\mathcal{P}(\mathcal{W})}\inf_{\hat{\pi}\in\Pi(\hat{\rho}_0,\hat{\rho}_1)}\int_{\mathcal{W}^2}c(w_0,w_1)\,\mathrm{d}\hat{\pi}(w_0,w_1). K δ ( ρ 0 , ρ 1 ) = ρ ^ 1 ∈ P ( W ) inf π ^ ∈ Π ( ρ ^ 0 , ρ ^ 1 ) inf ∫ W 2 c ( w 0 , w 1 ) d π ^ ( w 0 , w 1 ) .
For empirical weights a i , b j a_i,b_j a i , b j , let a = ( a i ) i = 1 n \mathbf{a}=(a_i)_{i=1}^n a = ( a i ) i = 1 n , write C i j = ∥ x i 0 − x j 1 ∥ 2 C_{ij}=\lVert x_i^0-x_j^1\rVert^2 C ij = ∥ x i 0 − x j 1 ∥ 2 and let R i j R_{ij} R ij be the local growth ratio. The discrete reduced problem is (Equation (A.15)):
( Γ ⋆ , R ⋆ ) ∈ a r g m i n Γ ≥ 0 , 0 < R ≤ e M ∑ i = 1 n ∑ j = 1 m [ C i j + δ 2 Φ M ( R i j ) ] Γ i j , (\Gamma^\star,R^\star)\in\mathop{\mathrm{arg\,min}}_{\Gamma\geq0,\,0<R\leq e^M}\sum_{i=1}^{n}\sum_{j=1}^{m}\left[C_{ij}+\delta^2\Phi_M(R_{ij})\right]\Gamma_{ij}, ( Γ ⋆ , R ⋆ ) ∈ arg min Γ ≥ 0 , 0 < R ≤ e M i = 1 ∑ n j = 1 ∑ m [ C ij + δ 2 Φ M ( R ij ) ] Γ ij ,
s.t. ∑ j = 1 m Γ i j = a i , i = 1 , … , n , ∑ i = 1 n R i j Γ i j = b j , j = 1 , … , m . \begin{aligned}
\text{s.t.}\quad&\sum_{j=1}^{m}\Gamma_{ij}=a_i,\qquad i=1,\ldots,n,\\
&\sum_{i=1}^{n}R_{ij}\Gamma_{ij}=b_j,\qquad j=1,\ldots,m.
\end{aligned} s.t. j = 1 ∑ m Γ ij = a i , i = 1 , … , n , i = 1 ∑ n R ij Γ ij = b j , j = 1 , … , m .
In contrast, VGFM obtains its coupling from a direct extension of quadratic Wasserstein OT (VGFM, Eq. (11)):
P ⋆ ∈ a r g m i n P ≥ 0 ∑ i = 1 n ∑ j = 1 m C i j P i j + τ KL ( P 1 ∥ a ) , P^\star\in\mathop{\mathrm{arg\,min}}_{P\geq0}\sum_{i=1}^{n}\sum_{j=1}^{m}C_{ij}P_{ij}+\tau\operatorname{KL}(P\mathbf{1}\mathbin\Vert\mathbf{a}), P ⋆ ∈ arg min P ≥ 0 i = 1 ∑ n j = 1 ∑ m C ij P ij + τ KL ( P 1 ∥ a ) ,
s.t. ∑ i = 1 n P i j = b j , j = 1 , … , m . \text{s.t.}\quad\sum_{i=1}^{n}P_{ij}=b_j,\qquad j=1,\ldots,m. s.t. i = 1 ∑ n P ij = b j , j = 1 , … , m .
VGFM computes its coupling using an extension of quadratic Wasserstein optimal transport, whereas ESFM uses the pairwise growth cost induced by its extended-space action. Although the conditional interpolations have the same form, ESFM derives its coupling and conditional paths from a common action, whereas VGFM combines a semi-relaxed OT coupling with a separately chosen constant relative-growth interpolation. VGFM does not establish that its coupling minimizes the action associated with the conditional paths used for training.
Coupling–path consistency matters because endpoint pairing and the path connecting each pair should reflect the same dynamical assumptions. The coupling determines which endpoints are paired, while the conditional path specifies how state and mass evolve between them. In ESFM, the cost of each extended endpoint pair is exactly the minimum action of the prescribed path connecting it. The coupling therefore minimizes the total action of the conditional paths used for training. If the coupling is instead chosen using a different cost, its preferred pairings and growth allocations need not minimize this action, even when the same interpolation formula is subsequently applied. Consistency therefore allows the assumed dynamics to inform the entire construction, from endpoint selection to conditional evolution. Under the assumptions of our static–dynamic equivalence theorem, the coupling and path construction together solve a fully specified OT problem.
An additional difference is the input state: ESFM parameterizes v θ ( w , t ) v_\theta(w,t) v θ ( w , t ) and g ϕ ( w , t ) g_\phi(w,t) g ϕ ( w , t ) , with w = ( x , y ) w=(x,y) w = ( x , y ) and y = ln m y=\ln m y = ln m , whereas VGFM uses v θ ( x , t ) v_\theta(x,t) v θ ( x , t ) and g ω ( x , t ) g_\omega(x,t) g ω ( x , t ) . Including log mass as an input expands the class of dynamics ESFM can represent.
Relation to WFR-FM
WFR-FM [25 ] is designed as a simulation-free flow matching solver for the dynamic Wasserstein–Fisher–Rao optimal transport problem:
WFR δ 2 ( ρ 0 , ρ 1 ) : = inf ρ t , u t , g t ∫ 0 1 ∫ R d ( ∥ u t ( x ) ∥ 2 + δ 2 ∣ g t ( x ) ∣ 2 ) ρ t ( x ) d x d t , \operatorname{WFR}_\delta^2(\rho_0,\rho_1):=\inf_{\rho_t,u_t,g_t}\int_0^1\int_{\mathbb{R}^d}\left(\lVert u_t(x)\rVert^2+\delta^2\lvert g_t(x)\rvert^2\right)\rho_t(x)\,\mathrm{d}x\,\mathrm{d}t, WFR δ 2 ( ρ 0 , ρ 1 ) := ρ t , u t , g t inf ∫ 0 1 ∫ R d ( ∥ u t ( x ) ∥ 2 + δ 2 ∣ g t ( x ) ∣ 2 ) ρ t ( x ) d x d t ,
s.t. ∂ t ρ t + ∇ x ⋅ ( ρ t u t ) = ρ t g t , ρ t = 0 = ρ 0 , ρ t = 1 = ρ 1 . (45) \text{s.t.}\quad\partial_t\rho_t+\nabla_x\cdot(\rho_tu_t)=\rho_tg_t,\qquad\rho_{t=0}=\rho_0,\qquad\rho_{t=1}=\rho_1. \tag*{(45)} s.t. ∂ t ρ t + ∇ x ⋅ ( ρ t u t ) = ρ t g t , ρ t = 0 = ρ 0 , ρ t = 1 = ρ 1 . (45)
WFR-FM builds its tractable solver from the traveling-Dirac geodesic between two Dirac measures. This geodesic provides the conditional state and mass paths together with their velocity and growth targets. The equivalence between the dynamic and static WFR formulations provides an OET coupling that can be computed with a Sinkhorn solver. Converting the OET coupling into a WFR semi-coupling specifies the paired endpoints and their masses. WFR-FM samples from this semi-coupling and trains its velocity and growth networks with a conditional regression loss weighted by mass.
ESFM reverses the usual design: it specifies a single-particle path first and then derives its action and coupling. The ESFM path enforces monotonic mass interpolation between its endpoints. This can better align with applications in which monotonic population change over an interval is an appropriate prior, whereas WFR geodesics may exhibit nonmonotonic mass evolution. More generally, choosing the WFR Dirac path within the extended space framework recovers the standard dynamic and static WFR formulations; WFR-FM is therefore a special case of the generalized ESFM framework. A detailed derivation is provided in Appendix § 11 .§ 4 .
Relation to USB
Like ESFM, USB [39 ] learns a growth rate and avoids ODE or SDE trajectory simulation during training. It models the dynamics as a stochastic process:
d x t = u t ( x t ) d t + ν d W t , d ln m t = g t ( x t ) d t . \mathrm{d}x_t = u_t(x_t)\,\mathrm{d}t + \nu\,\mathrm{d}W_t,\qquad\mathrm{d}\ln m_t = g_t(x_t)\,\mathrm{d}t. d x t = u t ( x t ) d t + ν d W t , d ln m t = g t ( x t ) d t .
This model connects USB to the Branching Schrödinger Bridge (BSB) problem. Following Baradat and Lavenant [52 ] , USB relates BSB to a dynamic RUOT relaxation. Because the corresponding RUOT semi-coupling is not available in a tractable static form, its practical solver approximates the RUOT problem by WFR and computes a WFR/OET semi-coupling [25 ] .
For a sampled endpoint pair z = ( x 0 , x 1 ) ∼ γ 0 z=(x_0,x_1)\sim\gamma_0 z = ( x 0 , x 1 ) ∼ γ 0 , USB sets m 0 ( z ) = 1 m_0(z)=1 m 0 ( z ) = 1 and m 1 ( z ) = γ 1 ( z ) / γ 0 ( z ) m_1(z)=\gamma_1(z)/\gamma_0(z) m 1 ( z ) = γ 1 ( z ) / γ 0 ( z ) . It then prescribes the Poisson–Brownian conditional measure path
ρ t ( x ∣ z ) = m 0 ( z ) 1 − t m 1 ( z ) t N ( x ∣ ( 1 − t ) x 0 + t x 1 , ν 2 t ( 1 − t ) I ) . \rho_t(x\mid z)=m_0(z)^{1-t}m_1(z)^t\mathcal{N}\left(x\mid(1-t)x_0+tx_1,\nu^2t(1-t)I\right). ρ t ( x ∣ z ) = m 0 ( z ) 1 − t m 1 ( z ) t N ( x ∣ ( 1 − t ) x 0 + t x 1 , ν 2 t ( 1 − t ) I ) .
The state component follows a Brownian bridge with diffusion amplitude ν \nu ν , and the mass varies linearly on the log scale. USB uses neural networks to learn the probability flow velocity v θ ( x , t ) v_\theta(x,t) v θ ( x , t ) , growth rate g θ ( x , t ) g_\theta(x,t) g θ ( x , t ) , and score s θ ( x , t ) s_\theta(x,t) s θ ( x , t ) through an objective for conditional unbalanced score matching.
The approximation of RUOT by WFR means that USB does not solve the original BSB problem exactly. However, USB uses a WFR semi-coupling together with a Poisson–Brownian conditional path, so coupling–path consistency is not established. By contrast, ESFM does not begin with a preselected OT functional. It first specifies the desired path in the extended state space, constructs an action for which this path is a geodesic, and then derives the corresponding dynamic problem, static OT formulation, and endpoint coupling. Consequently, the ESFM conditional path and coupling are consistent by construction.
General Lagrangians and Alternative Geodesics
The extended-space formulation also supports other choices of action and conditional path. We present an action-first construction: starting from a Lagrangian, we obtain minimizing paths, the induced endpoint cost and coupling, and the corresponding FM targets. This complements the path-first design of the specific ESFM action in the main text. Appendix § 11 .§ 1 gives the general construction and explains how to obtain minimizing paths. Appendix § 11 .§ 2 considers an action whose geodesics are linear in physical mass, while Appendix § 11 .§ 4 recovers WFR formulation.
From a Lagrangian to minimizing paths
Single-particle action and paths. Let w = ( x , y ) ∈ W = R d × R w=(x,y)\in\mathcal{W}=\mathbb{R}^d\times\mathbb{R} w = ( x , y ) ∈ W = R d × R , with y = ln m y=\ln m y = ln m . We start from a nonnegative Lagrangian L ( w , v ) L(w,v) L ( w , v ) , which assigns a cost to the extended velocity v v v at state w w w . For an absolutely continuous path, define
A L ( w ) = ∫ 0 1 L ( w t , w ˙ t ) d t , c L ( w 0 , w 1 ) = inf w : w 0 ⇝ w 1 A L ( w ) . \mathcal{A}_L(w)=\int_0^1 L(w_t,\dot{w}_t)\,\mathrm{d}t,\qquad c_L(w_0,w_1)=\inf_{w:w_0\leadsto w_1}\mathcal{A}_L(w). A L ( w ) = ∫ 0 1 L ( w t , w ˙ t ) d t , c L ( w 0 , w 1 ) = w : w 0 ⇝ w 1 inf A L ( w ) .
The conditional path is obtained by minimizing this action with fixed endpoints:
Ψ ( w 0 , w 1 ) ∈ arg min w : w 0 → w 1 A L ( w ) , c L ( w 0 , w 1 ) = A L ( Ψ ( w 0 , w 1 ) ) . \Psi(w_0,w_1) \in\operatorname*{arg\,min}_{w:w_0\to w_1} \mathcal{A}_L(w), \qquad c_L(w_0,w_1)=\mathcal{A}_L(\Psi(w_0,w_1)). Ψ ( w 0 , w 1 ) ∈ w : w 0 → w 1 arg min A L ( w ) , c L ( w 0 , w 1 ) = A L ( Ψ ( w 0 , w 1 )) .
We refer to these minimizing paths as the geodesics associated with L L L . When L L L is the squared velocity norm of a Riemannian metric, they are constant-speed minimizing geodesics of that metric.
Computing the geodesics. For smooth L L L and a regular minimizing path, the first variation gives the Euler–Lagrange boundary-value problem
d d t ∂ v L ( w , v ) = ∂ w L ( w , v ) , Ψ 0 = w 0 , Ψ 1 = w 1 . \frac{\mathrm{d}}{\mathrm{d}t}\partial_v L(w,v)=\partial_w L(w,v), \qquad\Psi_0=w_0,\quad\Psi_1=w_1. d t d ∂ v L ( w , v ) = ∂ w L ( w , v ) , Ψ 0 = w 0 , Ψ 1 = w 1 .
Here w = Ψ t w=\Psi_t w = Ψ t and v = ∂ t Ψ t v=\partial_t\Psi_t v = ∂ t Ψ t . This equation identifies candidate paths; minimality must still be verified. For the main ESFM choice L ( ( x , y ) , ( u , g ) ) = ∥ u ∥ 2 + δ 2 g 2 L((x,y),(u,g))=\lVert u\rVert^2+\delta^2g^2 L (( x , y ) , ( u , g )) = ∥ u ∥ 2 + δ 2 g 2 , it yields ∂ t 2 Ψ t = 0 \partial_t^2\Psi_t=0 ∂ t 2 Ψ t = 0 , hence Ψ t = ( 1 − t ) w 0 + t w 1 \Psi_t=(1-t)w_0+tw_1 Ψ t = ( 1 − t ) w 0 + t w 1 . Cauchy–Schwarz verifies minimality and gives c L = ∥ x 1 − x 0 ∥ 2 + δ 2 ( y 1 − y 0 ) 2 c_L=\lVert x_1-x_0\rVert^2+\delta^2(y_1-y_0)^2 c L = ∥ x 1 − x 0 ∥ 2 + δ 2 ( y 1 − y 0 ) 2 .
Dynamic and static transport. Integrating the single-particle action over the extended distribution gives
inf ρ ^ , u ^ , g ^ ∫ 0 1 ∫ R d × R L ( ( x , y ) , ( u ^ t , g ^ t ) ) ρ ^ t ( x , y ) d x d y d t , s.t. ∂ t ρ ^ t + ∇ x ⋅ ( ρ ^ t u ^ t ) + ∂ y ( ρ ^ t g ^ t ) = 0 , ρ ^ 0 ( x , y ) = ρ 0 ( x ) δ 0 ( y ) , ∫ R e y ρ ^ 1 ( x , y ) d y = ρ 1 ( x ) . (46) \begin{aligned}
\inf_{\hat\rho,\hat u,\hat g}\quad&\int_0^1\int_{\mathbb{R}^d\times\mathbb{R}}L((x,y),(\hat u_t,\hat g_t))\hat\rho_t(x,y)\,\mathrm{d}x\,\mathrm{d}y\,\mathrm{d}t,\\
\text{s.t.}\quad&\partial_t\hat\rho_t+\nabla_x\cdot(\hat\rho_t\hat u_t)+\partial_y(\hat\rho_t\hat g_t)=0,\\
&\hat\rho_0(x,y)=\rho_0(x)\delta_0(y),\qquad\int_{\mathbb{R}}e^y\hat\rho_1(x,y)\,\mathrm{d}y=\rho_1(x). \tag*{(46)}
\end{aligned} ρ ^ , u ^ , g ^ inf s.t. ∫ 0 1 ∫ R d × R L (( x , y ) , ( u ^ t , g ^ t )) ρ ^ t ( x , y ) d x d y d t , ∂ t ρ ^ t + ∇ x ⋅ ( ρ ^ t u ^ t ) + ∂ y ( ρ ^ t g ^ t ) = 0 , ρ ^ 0 ( x , y ) = ρ 0 ( x ) δ 0 ( y ) , ∫ R e y ρ ^ 1 ( x , y ) d y = ρ 1 ( x ) . (46)
The endpoint cost c L c_L c L defines the corresponding extended static problem,
\begin{aligned}
\inf_{\hat\pi,\hat\rho_1\ge0}\quad&\iiiint c_L((x_0,y_0),(x_1,y_1))\hat\pi(x_0,y_0,x_1,y_1)\,\mathrm{d}x_0\,\mathrm{d}y_0\,\mathrm{d}x_1\,\mathrm{d}y_1,\\
\text{s.t.}\quad&\iint\hat\pi(x_0,y_0,x_1,y_1)\,\mathrm{d}x_1\,\mathrm{d}y_1=\hat\rho_0(x_0,y_0)=\rho_0(x_0)\delta_0(y_0),\\
&\iint\hat\pi(x_0,y_0,x_1,y_1)\,\mathrm{d}x_0\,\mathrm{d}y_0=\hat\rho_1(x_1,y_1),\\
&\int_{\mathbb{R}}e^{y_1}\hat\rho_1(x_1,y_1)\,\mathrm{d}y_1=\rho_1(x_1). \tag*{(47)}
\end{aligned}
If L L L is convex in velocity, admissible dynamics admit trajectory decompositions, and minimizing paths can be selected measurably, Equations (D.1) and (D.2) have the same optimal value. The proof follows the particle-trajectory argument in Appendix § 8 .§ 3 , using the convexity of L L L in place of the quadratic-action inequality.
Conditional FM targets. Given a coupling from the static problem, sample endpoint pairs from its normalized law and set w t = Ψ t ( w 0 , w 1 ) w_t=\Psi_t(w_0,w_1) w t = Ψ t ( w 0 , w 1 ) . The regression targets are
( u t ⋆ , g t ⋆ ) = ∂ t Ψ t ( w 0 , w 1 ) , g t ⋆ = d d t ln m t . (u_t^\star,g_t^\star)=\partial_t\Psi_t(w_0,w_1),\qquad g_t^\star=\frac{\mathrm{d}}{\mathrm{d}t}\ln m_t. ( u t ⋆ , g t ⋆ ) = ∂ t Ψ t ( w 0 , w 1 ) , g t ⋆ = d t d ln m t .
The networks ( v θ , g ϕ ) (v_\theta,g_\phi) ( v θ , g ϕ ) are trained with
E [ ∥ v θ ( x t , y t , t ) − u t ⋆ ∥ 2 + λ ∣ g ϕ ( x t , y t , t ) − g t ⋆ ∣ 2 ] , λ > 0 , (48) \mathbb{E}\left[\lVert v_\theta(x_t,y_t,t)-u_t^\star\rVert^2+\lambda\lvert g_\phi(x_t,y_t,t)-g_t^\star\rvert^2\right],\qquad\lambda>0, \tag*{(48)} E [ ∥ v θ ( x t , y t , t ) − u t ⋆ ∥ 2 + λ ∣ g ϕ ( x t , y t , t ) − g t ⋆ ∣ 2 ] , λ > 0 , (48)
where t ∼ U [ 0 , 1 ] t\sim\mathcal{U}[0,1] t ∼ U [ 0 , 1 ] .
The construction therefore proceeds as
Lagrangian and action ⟹ \Longrightarrow ⟹ minimizing paths and endpoint cost ⟹ \Longrightarrow ⟹ coupling ⟹ \Longrightarrow ⟹ FM targets.
An explicit endpoint cost or an efficient solver still depends on the chosen L L L .
Example: ESFM with linear physical mass
We now replace the log-mass-linear ESFM geodesic by one that is linear in physical mass. For positive endpoint masses m 0 , m 1 > 0 m_0,m_1>0 m 0 , m 1 > 0 , define
x t = ( 1 − t ) x 0 + t x 1 , m t = ( 1 − t ) m 0 + t m 1 , y t = ln m t . x_t=(1-t)x_0+tx_1,\qquad m_t=(1-t)m_0+tm_1,\qquad y_t=\ln m_t. x t = ( 1 − t ) x 0 + t x 1 , m t = ( 1 − t ) m 0 + t m 1 , y t = ln m t .
This is the constant-speed straight path in the coordinate ( x , m ) (x,m) ( x , m ) . It minimizes
A l i n ( x , m ) = ∫ 0 1 ( ∥ x ˙ t ∥ 2 + δ 2 ∣ m ˙ t ∣ 2 ) d t = ∫ 0 1 ( ∥ x ˙ t ∥ 2 + δ 2 e 2 y t ∣ y ˙ t ∣ 2 ) d t , \begin{aligned}
\mathcal{A}_{\mathrm{lin}}(x,m)=\int_0^1\left(\lVert\dot{x}_t\rVert^2+\delta^2\lvert\dot{m}_t\rvert^2\right)\,\mathrm{d}t \\
&=\int_0^1\left(\lVert\dot{x}_t\rVert^2+\delta^2 e^{2y_t}\lvert\dot{y}_t\rvert^2\right)\,\mathrm{d}t,
\end{aligned} A lin ( x , m ) = ∫ 0 1 ( ∥ x ˙ t ∥ 2 + δ 2 ∣ m ˙ t ∣ 2 ) d t = ∫ 0 1 ( ∥ x ˙ t ∥ 2 + δ 2 e 2 y t ∣ y ˙ t ∣ 2 ) d t ,
where the second line rewrites exactly the same action in the ESFM coordinate y = ln m y=\ln m y = ln m . By Cauchy–Schwarz, its endpoint cost is
c l i n ( w 0 , w 1 ) = ∥ x 1 − x 0 ∥ 2 + δ 2 ( e y 1 − e y 0 ) 2 . c_{\mathrm{lin}}(w_0,w_1)=\lVert x_1-x_0\rVert^2+\delta^2\left(e^{y_1}-e^{y_0}\right)^2. c lin ( w 0 , w 1 ) = ∥ x 1 − x 0 ∥ 2 + δ 2 ( e y 1 − e y 0 ) 2 .
Hence this is still ESFM on ( x , y ) (x,y) ( x , y ) , but with the nonconstant mass-coordinate metric factor e 2 y e^{2y} e 2 y instead of the constant metric used in the main text.
As in the main ESFM formulation, normalize the source particle mass to m 0 = 1 m_0=1 m 0 = 1 , so y 0 = 0 y_0=0 y 0 = 0 . The extended static problem becomes
inf π ≥ 0 ∭ [ ∥ x 1 − x 0 ∥ 2 + δ 2 ( e y 1 − 1 ) 2 ] π ( x 0 , x 1 , y 1 ) d x 0 d x 1 d y 1 , \inf_{\pi\geq0}\iiint\left[\lVert x_1-x_0\rVert^2+\delta^2(e^{y_1}-1)^2\right]\pi(x_0,x_1,y_1)\,\mathrm{d}x_0\,\mathrm{d}x_1\,\mathrm{d}y_1, π ≥ 0 inf ∭ [ ∥ x 1 − x 0 ∥ 2 + δ 2 ( e y 1 − 1 ) 2 ] π ( x 0 , x 1 , y 1 ) d x 0 d x 1 d y 1 ,
s . t . ∬ π ( x 0 , x 1 , y 1 ) d x 1 d y 1 = ρ 0 ( x 0 ) , \mathrm{s.t.}\qquad\iint\pi(x_0,x_1,y_1)\,\mathrm{d}x_1\,\mathrm{d}y_1=\rho_0(x_0), s.t. ∬ π ( x 0 , x 1 , y 1 ) d x 1 d y 1 = ρ 0 ( x 0 ) ,
∬ e y 1 π ( x 0 , x 1 , y 1 ) d x 0 d y 1 = ρ 1 ( x 1 ) . \iint e^{y_1}\pi(x_0,x_1,y_1)\,\mathrm{d}x_0\,\mathrm{d}y_1=\rho_1(x_1). ∬ e y 1 π ( x 0 , x 1 , y 1 ) d x 0 d y 1 = ρ 1 ( x 1 ) .
For a fixed spatial pair with A > 0 A>0 A > 0 , let f f f be the nonnegative measure of terminal log-mass and set
A = ∫ R d f ( y 1 ) , B = ∫ R e y 1 d f ( y 1 ) , R = B A . A=\int_{\mathbb{R}}\mathrm{d}f(y_1),\qquad B=\int_{\mathbb{R}}e^{y_1}\,\mathrm{d}f(y_1),\qquad R=\frac{B}{A}. A = ∫ R d f ( y 1 ) , B = ∫ R e y 1 d f ( y 1 ) , R = A B .
The local mass problem is
inf f ≥ 0 ∫ R ( e y 1 − 1 ) 2 d f ( y 1 ) , ∫ R d f = A , ∫ R e y 1 d f = B . \inf_{f\geq0}\int_{\mathbb{R}}(e^{y_1}-1)^2\,\mathrm{d}f(y_1),\qquad\int_{\mathbb{R}}\mathrm{d}f=A,\qquad\int_{\mathbb{R}}e^{y_1}\,\mathrm{d}f=B. f ≥ 0 inf ∫ R ( e y 1 − 1 ) 2 d f ( y 1 ) , ∫ R d f = A , ∫ R e y 1 d f = B .
Normalize f f f to the probability measure μ \mu μ by d μ ( y 1 ) = d f ( y 1 ) / A \mathrm{d}\mu(y_1)=\mathrm{d}f(y_1)/A d μ ( y 1 ) = d f ( y 1 ) / A . The two constraints then give
∫ R d μ = 1 , ∫ R e y 1 d μ ( y 1 ) = B A = R . \int_{\mathbb{R}}\mathrm{d}\mu=1,\qquad\int_{\mathbb{R}}e^{y_1}\,\mathrm{d}\mu(y_1)=\frac{B}{A}=R. ∫ R d μ = 1 , ∫ R e y 1 d μ ( y 1 ) = A B = R .
Therefore, applying Jensen’s inequality to the strictly convex function ϕ ( r ) = ( r − 1 ) 2 \phi(r)=(r-1)^2 ϕ ( r ) = ( r − 1 ) 2 gives
∫ R ( e y 1 − 1 ) 2 d f ( y 1 ) = A ∫ R ϕ ( e y 1 ) d μ ( y 1 ) ≥ A ϕ ( ∫ R e y 1 d μ ( y 1 ) ) = A ( R − 1 ) 2 . \begin{aligned}
\int_{\mathbb{R}}(e^{y_1}-1)^2\,\mathrm{d}f(y_1)=A\int_{\mathbb{R}}\phi(e^{y_1})\,\mathrm{d}\mu(y_1) \\
&\geq A\phi\left(\int_{\mathbb{R}}e^{y_1}\,\mathrm{d}\mu(y_1)\right)=A(R-1)^2.
\end{aligned} ∫ R ( e y 1 − 1 ) 2 d f ( y 1 ) = A ∫ R ϕ ( e y 1 ) d μ ( y 1 ) ≥ A ϕ ( ∫ R e y 1 d μ ( y 1 ) ) = A ( R − 1 ) 2 .
Since ϕ \phi ϕ is strictly convex, equality holds if and only if e y 1 = R e^{y_1}=R e y 1 = R , or equivalently y 1 = ln R y_1=\ln R y 1 = ln R . Hence
f ⋆ = A δ ln R . f^\star=A\delta_{\ln R}. f ⋆ = A δ l n R .
Unlike the capped log-mass quadratic cost in the main ESFM model, this local problem does not require a two-point optimizer: all local mass is assigned the deterministic terminal value y 1 = ln R y_1=\ln R y 1 = ln R .
Defining the semi-couplings γ 0 \gamma_0 γ 0 and γ 1 \gamma_1 γ 1 as in the main text, with R = d γ 1 / d γ 0 > 0 R = \mathrm{d}\gamma_1/\mathrm{d}\gamma_0 > 0 R = d γ 1 / d γ 0 > 0 , eliminates y 1 y_1 y 1 and gives
inf γ 0 , γ 1 ≥ 0 ∬ [ ∥ x 1 − x 0 ∥ 2 + δ 2 ( d γ 1 d γ 0 − 1 ) 2 ] d γ 0 , s.t. ∫ γ 0 ( x 0 , x 1 ) d x 1 = ρ 0 ( x 0 ) , ∫ γ 1 ( x 0 , x 1 ) d x 0 = ρ 1 ( x 1 ) . (49) \begin{aligned}
\inf_{\gamma_0,\gamma_1\ge0}\quad&\iint\left[\left\|x_1-x_0\right\|^2+\delta^2\left(\frac{\mathrm{d}\gamma_1}{\mathrm{d}\gamma_0}-1\right)^2\right]\mathrm{d}\gamma_0,\\
\text{s.t.}\quad&\int\gamma_0(x_0,x_1)\,\mathrm{d}x_1=\rho_0(x_0),\\
&\int\gamma_1(x_0,x_1)\,\mathrm{d}x_0=\rho_1(x_1). \tag*{(49)}
\end{aligned} γ 0 , γ 1 ≥ 0 inf s.t. ∬ [ ∥ x 1 − x 0 ∥ 2 + δ 2 ( d γ 0 d γ 1 − 1 ) 2 ] d γ 0 , ∫ γ 0 ( x 0 , x 1 ) d x 1 = ρ 0 ( x 0 ) , ∫ γ 1 ( x 0 , x 1 ) d x 0 = ρ 1 ( x 1 ) . (49)
The only change from the main ESFM reduced problem is therefore the local growth penalty: Φ M ( R ) \Phi_{\mathrm{M}}(R) Φ M ( R ) is replaced by ( R − 1 ) 2 (R-1)^2 ( R − 1 ) 2 .
Entropic coupling and conditional targets for the example
For discrete measures with source weights a i a_i a i , target weights b j b_j b j , and C i j = ∥ x i 0 − x j 1 ∥ 2 C_{ij}=\left\|x_i^0-x_j^1\right\|^2 C ij = x i 0 − x j 1 2 , an entropic version of Equation (D.4) is
min Γ i j ≥ 0 , R i j > 0 ∑ i , j [ C i j Γ i j + δ 2 Γ i j ( R i j − 1 ) 2 + ε Γ i j ( ln Γ i j − 1 ) ] \min_{\Gamma_{ij}\ge0,R_{ij}>0}\sum_{i,j}\left[C_{ij}\Gamma_{ij}+\delta^2\Gamma_{ij}(R_{ij}-1)^2+\varepsilon\Gamma_{ij}(\ln\Gamma_{ij}-1)\right] Γ ij ≥ 0 , R ij > 0 min i , j ∑ [ C ij Γ ij + δ 2 Γ ij ( R ij − 1 ) 2 + ε Γ ij ( ln Γ ij − 1 ) ]
s.t. ∑ j Γ i j = a i , ∑ i R i j Γ i j = b j . \text{s.t.}\qquad\sum_j\Gamma_{ij}=a_i,\qquad\sum_iR_{ij}\Gamma_{ij}=b_j. s.t. j ∑ Γ ij = a i , i ∑ R ij Γ ij = b j .
Introducing row and column dual variables u i u_i u i and v j v_j v j , elimination of R R R uses the one-dimensional conjugate
H j ( v j ) = sup R > 0 { v j R − δ 2 ( R − 1 ) 2 } . H_j(v_j)=\sup_{R>0}\left\{v_jR-\delta^2(R-1)^2\right\}. H j ( v j ) = R > 0 sup { v j R − δ 2 ( R − 1 ) 2 } .
On the interior branch, its maximizer and value are
R j = 1 + v j 2 δ 2 , H j = δ 2 ( R j 2 − 1 ) . (50) R_j=1+\frac{v_j}{2\delta^2},\qquad H_j=\delta^2(R_j^2-1). \tag*{(50)} R j = 1 + 2 δ 2 v j , H j = δ 2 ( R j 2 − 1 ) . (50)
The row update has the familiar ESFM form
u i = ε ln a i − ε ln ∑ j exp ( H j − C i j ε ) . u_i=\varepsilon\ln a_i-\varepsilon\ln\sum_j\exp\left(\frac{H_j-C_{ij}}{\varepsilon}\right). u i = ε ln a i − ε ln j ∑ exp ( ε H j − C ij ) .
For fixed u u u , define
K j = b j ∑ i exp ( ( u i − C i j ) / ε ) . K_j=\frac{b_j}{\sum_i\exp\left((u_i-C_{ij})/\varepsilon\right)}. K j = ∑ i exp ( ( u i − C ij ) / ε ) b j .
The column constraint and Equation (D.5) reduce the column update to the scalar equation
ln R j + δ 2 ε ( R j 2 − 1 ) = ln K j . (51) \ln R_j+\frac{\delta^2}{\varepsilon}(R_j^2-1)=\ln K_j. \tag*{(51)} ln R j + ε δ 2 ( R j 2 − 1 ) = ln K j . (51)
Its left-hand side is strictly increasing on R j > 0 R_j>0 R j > 0 , so Equation (D.6) has a unique positive solution. The semi-couplings are recovered as
Γ i j ( 0 ) = exp ( u i + H j − C i j ε ) , Γ i j ( 1 ) = R j Γ i j ( 0 ) . \Gamma_{ij}^{(0)}=\exp\left(\frac{u_i+H_j-C_{ij}}{\varepsilon}\right),\qquad\Gamma_{ij}^{(1)}=R_j\Gamma_{ij}^{(0)}. Γ ij ( 0 ) = exp ( ε u i + H j − C ij ) , Γ ij ( 1 ) = R j Γ ij ( 0 ) .
Thus changing the geodesic changes the scalar growth update, but preserves the same coupling architecture used by ESFM.
Finally, sample ( i , j ) (i,j) ( i , j ) from the normalized base coupling Γ ( 0 ) \Gamma^{(0)} Γ ( 0 ) , set m 0 = 1 m_0=1 m 0 = 1 and m 1 = R j m_1=R_j m 1 = R j , and use
x t = ( 1 − t ) x i 0 + t x j 1 , x_t=(1-t)x_i^0+tx_j^1, x t = ( 1 − t ) x i 0 + t x j 1 ,
m t = 1 + t ( R j − 1 ) , y t = ln ( 1 + t ( R j − 1 ) ) , m_t=1+t(R_j-1),\qquad y_t=\ln(1+t(R_j-1)), m t = 1 + t ( R j − 1 ) , y t = ln ( 1 + t ( R j − 1 )) ,
w t ⋆ = x j 1 − x i 0 , g t ⋆ = y ˙ t = R j − 1 1 + t ( R j − 1 ) = ( R j − 1 ) e − y t . w_t^\star=x_j^1-x_i^0,\qquad g_t^\star=\dot{y}_t=\frac{R_j-1}{1+t(R_j-1)}=(R_j-1)e^{-y_t}. w t ⋆ = x j 1 − x i 0 , g t ⋆ = y ˙ t = 1 + t ( R j − 1 ) R j − 1 = ( R j − 1 ) e − y t .
Substitution of these targets into Equation (D.3) gives a simulation-free ESFM training objective for the linear-mass geodesic.
Example: recovering WFR from the WFR geodesic
The general construction in Appendix D.1 also contains WFR as a particular choice of extended space geometry. Keep the coordinate y = ln m y = \ln m y = ln m , but replace the main ESFM action by the microscopic action
A W F R ( w ) = ∫ 0 1 e y t ( ∥ x ˙ t ∥ 2 + δ 2 ∣ y ˙ t ∣ 2 ) d t . (52) \mathcal{A}_{\mathrm{WFR}}(w) = \int_{0}^{1} e^{y_t}\left(\lVert\dot{x}_t\rVert^2 + \delta^2\lvert\dot{y}_t\rvert^2\right)\,\mathrm{d}t. \tag*{(52)} A WFR ( w ) = ∫ 0 1 e y t ( ∥ x ˙ t ∥ 2 + δ 2 ∣ y ˙ t ∣ 2 ) d t . (52)
Because m t = e y t m_t = e^{y_t} m t = e y t and y ˙ t = m ˙ t / m t \dot{y}_t = \dot{m}_t/m_t y ˙ t = m ˙ t / m t , this is exactly the microscopic WFR action. Its minimizing Dirac-to-Dirac paths are the WFR geodesics, including the traveling Dirac in the moving regime. Define
cos + ( s ) = cos ( min { s , π 2 } ) , s ≥ 0. \cos_{+}(s) = \cos\left(\min\left\{s,\frac{\pi}{2}\right\}\right), \qquad s \ge0. cos + ( s ) = cos ( min { s , 2 π } ) , s ≥ 0.
The endpoint cost induced by Equation (D.7) is
c W F R ( w 0 , w 1 ) = 4 δ 2 [ e y 0 + e y 1 − 2 cos + ( ∥ x 1 − x 0 ∥ 2 δ ) e ( y 0 + y 1 ) / 2 ] . c_{\mathrm{WFR}}(w_0,w_1) = 4\delta^2\left[e^{y_0}+e^{y_1}-2\cos_{+}\left(\frac{\lVert x_1-x_0\rVert}{2\delta}\right)e^{(y_0+y_1)/2}\right]. c WFR ( w 0 , w 1 ) = 4 δ 2 [ e y 0 + e y 1 − 2 cos + ( 2 δ ∥ x 1 − x 0 ∥ ) e ( y 0 + y 1 ) /2 ] .
Apply the extended static construction in Equation (D.2) with y 0 = 0 y_0 = 0 y 0 = 0 . At a fixed spatial pair, let f f f denote the terminal log-mass measure and set
A = ∫ d f ( y 1 ) , B = ∫ e y 1 d f ( y 1 ) . A = \int\mathrm{d}f(y_1), \qquad B = \int e^{y_1}\,\mathrm{d}f(y_1). A = ∫ d f ( y 1 ) , B = ∫ e y 1 d f ( y 1 ) .
The Cauchy–Schwarz inequality gives
( ∫ e y 1 / 2 d f ( y 1 ) ) 2 ≤ A B , \left(\int e^{y_1/2}\,\mathrm{d}f(y_1)\right)^2 \le AB, ( ∫ e y 1 /2 d f ( y 1 ) ) 2 ≤ A B ,
and the bound is attained by f ∗ = A δ ln ( B / A ) f^* = A\delta_{\ln(B/A)} f ∗ = A δ l n ( B / A ) . Consequently, the optimized local cost is
4 δ 2 [ A + B − 2 cos + ( ∥ x 1 − x 0 ∥ 2 δ ) A B ] . 4\delta^2\left[A+B-2\cos_{+}\left(\frac{\lVert x_1-x_0\rVert}{2\delta}\right)\sqrt{AB}\right]. 4 δ 2 [ A + B − 2 cos + ( 2 δ ∥ x 1 − x 0 ∥ ) A B ] .
Defining the semi-couplings γ 0 = ∫ π d y 1 \gamma_0 = \int\pi\,\mathrm{d}y_1 γ 0 = ∫ π d y 1 and γ 1 = ∫ e y 1 π d y 1 \gamma_1 = \int e^{y_1}\pi\,\mathrm{d}y_1 γ 1 = ∫ e y 1 π d y 1 and integrating the local value over spatial pairs therefore yields
inf ( γ 0 , γ 1 ) ∈ Γ ( ρ 0 , ρ 1 ) 4 δ 2 ∬ [ γ 0 ( x 0 , x 1 ) + γ 1 ( x 0 , x 1 ) − 2 cos + ( ∥ x 1 − x 0 ∥ 2 δ ) γ 0 ( x 0 , x 1 ) γ 1 ( x 0 , x 1 ) ] d x 0 d x 1 , \inf_{(\gamma_0,\gamma_1)\in\Gamma(\rho_0,\rho_1)} 4\delta^2 \iint\left[\gamma_0(x_0,x_1)+\gamma_1(x_0,x_1)-2\cos_{+}\left(\frac{\lVert x_1-x_0\rVert}{2\delta}\right)\sqrt{\gamma_0(x_0,x_1)\gamma_1(x_0,x_1)}\right]\,\mathrm{d}x_0\,\mathrm{d}x_1, ( γ 0 , γ 1 ) ∈ Γ ( ρ 0 , ρ 1 ) inf 4 δ 2 ∬ [ γ 0 ( x 0 , x 1 ) + γ 1 ( x 0 , x 1 ) − 2 cos + ( 2 δ ∥ x 1 − x 0 ∥ ) γ 0 ( x 0 , x 1 ) γ 1 ( x 0 , x 1 ) ] d x 0 d x 1 ,
where Γ ( ρ 0 , ρ 1 ) \Gamma(\rho_0,\rho_1) Γ ( ρ 0 , ρ 1 ) imposes the source marginal on γ 0 \gamma_0 γ 0 and the target marginal on γ 1 \gamma_1 γ 1 . This is the standard static WFR semi-coupling functional corresponding to Equation (C.1), equivalent to the formulation used in WFR-FM [25 Equation (3.7)] . Our action omits their overall factor of 1 / 2 1/2 1/2 , which leaves the optimal couplings unchanged. Using the same geodesic to construct conditional targets and retaining e y t = m t e^{y_t}=m_t e y t = m t as the regression weight gives the mass-weighted conditional loss used by WFR-FM. Hence WFR-FM is a special case of the generalized extended space framework when the WFR geodesic and action are selected.
Intuition and Limitations of Minibatch OT
For large single-cell datasets, ESFM may use mini-batch or chunked coupling computations for memory reasons. This is a practical approximation to the full reduced coupling problem in Equation (11) . As in WFR-FM, the theoretical convergence of mini-batch unbalanced or extended space couplings to the full coupling is not established here. Empirically, chunking is used as an engineering device.
We also conducted an ablation study on the choice of OT batch size on the Mouse dataset (see Table 12 ). Prediction performance remains broadly stable across the tested batch sizes, suggesting that ESFM is robust to the choice of mini-batch coupling size in this setting.
Pseudocode for ESFM Inference
Given the trained field ( v θ , g ϕ ) (v_\theta,g_\phi) ( v θ , g ϕ ) , inference starts from ( x 0 , 0 ) (x_0,0) ( x 0 , 0 ) and solves
d d t ( x t y t ) = ( v θ ( x t , y t , t ) g ϕ ( x t , y t , t ) ) . \frac{\mathrm{d}}{\mathrm{d}t}
\begin{pmatrix}
x_t\\
y_t
\end{pmatrix}
=
\begin{pmatrix}
v_\theta(x_t,y_t,t)\\
g_\phi(x_t,y_t,t)
\end{pmatrix}. d t d ( x t y t ) = ( v θ ( x t , y t , t ) g ϕ ( x t , y t , t ) ) .
The predicted physical density is recovered by
ρ 1 p r e d ( x ) = ∫ e y ρ 1 p r e d ( x , y ) d y . \rho_1^{\mathrm{pred}}(x)=\int e^y\rho_1^{\mathrm{pred}}(x,y)\,\mathrm{d}y. ρ 1 pred ( x ) = ∫ e y ρ 1 pred ( x , y ) d y .
Algorithm 3 summarizes the inference procedure using forward Euler steps.
Algorithm 3 ESFM inference workflow
Input: initial samples { x 0 ( i ) } i = 1 N \{x_0^{(i)}\}_{i=1}^{N} { x 0 ( i ) } i = 1 N , trained field s θ , ϕ = ( v θ , g ϕ ) s_{\theta,\phi}=(v_\theta,g_\phi) s θ , ϕ = ( v θ , g ϕ ) , final time T T T , step size Δ t \Delta t Δ t .
Initialize x ( i ) ← x 0 ( i ) x^{(i)}\leftarrow x_0^{(i)} x ( i ) ← x 0 ( i ) , y ( i ) ← 0 y^{(i)}\leftarrow0 y ( i ) ← 0 , and t ← 0 t\leftarrow0 t ← 0 for all i i i .
while t < T t<T t < T do
Set Δ t s t e p ← min ( Δ t , T − t ) \Delta t_{\mathrm{step}}\leftarrow\min(\Delta t,T-t) Δ t step ← min ( Δ t , T − t ) .
for i = 1 , … , N i=1,\ldots,N i = 1 , … , N do
Evaluate ( v , g ) = s θ , ϕ ( x ( i ) , y ( i ) , t ) (v,g)=s_{\theta,\phi}(x^{(i)},y^{(i)},t) ( v , g ) = s θ , ϕ ( x ( i ) , y ( i ) , t ) .
Update x ( i ) ← x ( i ) + v Δ t s t e p x^{(i)}\leftarrow x^{(i)}+v\,\Delta t_{\mathrm{step}} x ( i ) ← x ( i ) + v Δ t step .
Update y ( i ) ← y ( i ) + g Δ t s t e p y^{(i)}\leftarrow y^{(i)}+g\,\Delta t_{\mathrm{step}} y ( i ) ← y ( i ) + g Δ t step .
end for
Set t ← t + Δ t s t e p t\leftarrow t+\Delta t_{\mathrm{step}} t ← t + Δ t step .
end while
Output: evolved extended particles { ( x ( i ) , y ( i ) ) } i = 1 N \{(x^{(i)},y^{(i)})\}_{i=1}^{N} {( x ( i ) , y ( i ) ) } i = 1 N and physical weights { e y ( i ) } i = 1 N \{e^{y^{(i)}}\}_{i=1}^{N} { e y ( i ) } i = 1 N .