Introduction
Mathematical models of cell population dynamics play an important role in understanding embryonic development and cellular differentiation. Structured population models and multicompartment models have been developed to describe these processes by accounting for cell state transitions, proliferation, and death [9 , 39 ] . With the increasing availability of single-cell transcriptomic (scRNA-seq) data, recent studies have sought to reconstruct cellular dynamics directly from single-cell level observations [12 , 13 , 16 , 18 ] . However, due to the destructive nature of sequencing, such measurements typically provide unpaired snapshots rather than longitudinal trajectories of individual cells. A natural mathematical question is therefore how to reconstruct continuous time unbalanced dynamics that describe both cell state transitions and population growth from a finite collection of sparsely sampled, unpaired snapshots.
Mathematically, if each cell is represented as a vector in R d \mathbb{R}^{d} R d , the snapshots observed at different time points can be regarded as a collection of measures μ 1 , … , μ K \mu_{1},\ldots,\mu_{K} μ 1 , … , μ K with possibly different total masses. Dynamical reconstruction then seeks a time dependent velocity field v t ( x ) v_{t}(x) v t ( x ) and a time dependent growth rate g t ( x ) g_{t}(x) g t ( x ) on R d \mathbb{R}^{d} R d such that the associated unbalanced continuity equation
∂ t μ t + ∇ ⋅ ( μ t v t ) = g t μ t \partial_{t}\mu_{t}+\nabla\cdot(\mu_{t}v_{t})=g_{t}\mu_{t} ∂ t μ t + ∇ ⋅ ( μ t v t ) = g t μ t
interpolates these observed measures. Since infinitely many dynamical systems may satisfy these interpolation constraints, optimal transport (OT) provides a natural variational principle for selecting interpolating dynamics. Its dynamic formulation characterizes mass transport through a least-action principle [1 ] , while unbalanced extensions such as the Wasserstein–Fisher–Rao (WFR) metric further incorporate mass creation and destruction [5 , 19 ] . These mathematical frameworks have motivated OT-based approaches to cellular trajectory inference, growth modeling, and stochastic dynamical reconstruction [3 , 4 , 22 , 27 , 28 , 40 ] with nice physical interpretation that physical and biological processes tend to save energy. More recently, flow matching has provided conditional path based approaches to learning balanced and unbalanced transport dynamics [25 , 29 , 33 ] .
As scRNA-seq datasets increasingly contain millions of cells [26 ] , reconstructing dynamics at single-cell resolution poses substantial computational challenges, despite recent advances in numerical methods for high-dimensional dynamic OT [32 ] . Moreover, many biological questions concern population abundances, transition rates, and growth rates associated with a finite collection of cell types rather than individual trajectories in the high-dimensional gene expression space. This motivates the study of cellular dynamics at a coarse-grained cell type level [9 , 13 , 39 ] . At this level of description, the state space changes from R d \mathbb{R}^{d} R d to a finite set X \mathcal{X} X , and the unbalanced continuity equation is replaced by an unbalanced Kolmogorov forward equation:
∂ t p t ( x ) = ∑ y ≠ x p t ( y ) q t ( y , x ) − p t ( x ) ∑ y ≠ x q t ( x , y ) + p t ( x ) g t ( x ) , x ∈ X . (1) \partial_t p_t(x) = \sum_{y \ne x} p_t(y)q_t(y,x) - p_t(x)\sum_{y \ne x}q_t(x,y) + p_t(x)g_t(x), \qquad x \in\mathcal{X}. \tag*{(1)} ∂ t p t ( x ) = y = x ∑ p t ( y ) q t ( y , x ) − p t ( x ) y = x ∑ q t ( x , y ) + p t ( x ) g t ( x ) , x ∈ X . (1)
The corresponding dynamics inference problem is then to find transition rates q t q_t q t and growth rate g t g_t g t that interpolate the observed state-level measures while minimizing an appropriate energy. Inspired by optimal transport and Wasserstein–Fisher–Rao (WFR) formulations in continuous spaces [1 , 5 ] , these considerations motivate the study of dynamic WFR directly on discrete spaces.
Dynamic OT on discrete spaces has been extensively studied through the extension of Wasserstein geometry and gradient flow structures to graphs and finite Markov chains [7 , 8 , 11 , 23 , 41 ] . Related studies have also developed discretizations of unbalanced OT and their convergence theories [17 , 35 ] , as well as transport metrics for nonnegative measures on finite Markov chains [24 ] . Rather than defining a transport action through a prescribed graph-dependent mobility, we construct a dynamic realization of discrete space WFR through endpoint-conditioned transport and growth paths, inspired by discrete flow matching [10 ] . The resulting measure flow and its weighted Markovian reconstruction (1.1) can be explicitly obtained from an optimal static semi-coupling without further numerical approximation. Given proper conditions, our dynamic discrete WFR measure flow also stays consistent under state aggregation, therefore robust to cell type annotations at different resolutions.
The contribution is the connection between three structures: discrete static WFR semi-couplings, dynamic WFR measure flows, and its Markovian reconstruction. First, we develop a dynamic realization of discrete WFR based on travelling Dirac paths, and prove the equivalence between it and the static discrete WFR, as well as an optimal entropy transport version which can be efficiently solved. Second, we derive an explicit weighted Markovian representation of the resulting measure flow, with unbalanced discrete flow matching as an extension when direct marginalization is impractical. Third, we establish consistency and stability for discrete WFR action and measure flow under state aggregation.
The paper is organized as follows. Section 2 formulates the dynamic WFR problem on discrete spaces and investigates its basic mathematical properties, including travelling Dirac solutions, static and dynamic form, and the metric property. Section 3 constructs the dynamic WFR measure flow, its explicit Markovian reconstruction, and a more general unbalanced discrete flow matching framework. Section 4 studies consistency under state aggregation. Section 5 reports numerical validations and biological applications. Section 6 summarizes the work.
Discrete Wasserstein-Fisher-Rao distance
We develop a dynamic Wasserstein–Fisher–Rao model on a discrete space. The construction follows the same logic as the continuous theory. We first recall how balanced optimal transport passes from the static Kantorovich problem to the dynamic Benamou–Brenier formulation, and how WFR augments the dynamic equation with growth before returning to a static semi-coupling problem. We then repeat this chain on a finite metric space. We first define the static and dynamic OT on discrete space, and then add growth penalty to define a dynamic WFR problem on discrete space. Finally, we derive the static discrete WFR problem, and study its several properties and an equivalent optimal entropy transport form which can be efficiently solved.
Continuous OT and WFR
Let Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d and let μ 0 , μ 1 ∈ M + ( Ω ) \mu_0,\mu_1 \in\mathcal{M}_{+}(\Omega) μ 0 , μ 1 ∈ M + ( Ω ) be densities of absolutely continuous measures with unit total mass. The static Kantorovich formulation of quadratic optimal transport is
W 2 2 ( μ 0 , μ 1 ) = inf π ∈ Π ( μ 0 , μ 1 ) ∫ Ω × Ω ∣ x − y ∣ 2 π ( x , y ) d x d y , (2) W_{2}^{2}(\mu_0,\mu_1)=\inf_{\pi\in\Pi(\mu_0,\mu_1)}\int_{\Omega\times\Omega}|x-y|^{2}\,\pi(x,y)\,\mathrm{d}x\,\mathrm{d}y, \tag*{(2)} W 2 2 ( μ 0 , μ 1 ) = π ∈ Π ( μ 0 , μ 1 ) inf ∫ Ω × Ω ∣ x − y ∣ 2 π ( x , y ) d x d y , (2)
where Π ( μ 0 , μ 1 ) \Pi(\mu_0,\mu_1) Π ( μ 0 , μ 1 ) is the set of couplings with marginals μ 0 \mu_0 μ 0 and μ 1 \mu_1 μ 1 [14 , 31 ] . The dynamic Benamou–Brenier formulation writes the same quantity as
W 2 2 ( μ 0 , μ 1 ) = inf μ t , v t ∫ 0 1 ∫ Ω ∣ v t ( x ) ∣ 2 μ t ( x ) d x d t , ∂ t μ t + ∇ ⋅ ( μ t v t ) = 0 , (3) W_{2}^{2}(\mu_0,\mu_1)=\inf_{\mu_t,v_t}\int_{0}^{1}\int_{\Omega}|v_t(x)|^{2}\mu_t(x)\,\mathrm{d}x\,\mathrm{d}t,\qquad\partial_t\mu_t+\nabla\cdot(\mu_tv_t)=0, \tag*{(3)} W 2 2 ( μ 0 , μ 1 ) = μ t , v t inf ∫ 0 1 ∫ Ω ∣ v t ( x ) ∣ 2 μ t ( x ) d x d t , ∂ t μ t + ∇ ⋅ ( μ t v t ) = 0 , (3)
with endpoint conditions μ t = 0 = μ 0 \mu_{t=0}=\mu_0 μ t = 0 = μ 0 and μ t = 1 = μ 1 \mu_{t=1}=\mu_1 μ t = 1 = μ 1 [1 ] . This dynamic viewpoint identifies optimal transport as a least-action problem with a conservation law constraint.
Wasserstein–Fisher–Rao (WFR) [5 , 6 , 19 , 20 ] removes the unit mass constraint by adding a growth penalty. In the normalization used in this paper, the continuous dynamic WFR problem has the formal action
WFR δ 2 ( μ 0 , μ 1 ) = inf μ t , v t , g t ∫ 0 1 ∫ Ω ( ∣ v t ( x ) ∣ 2 + δ 2 g t ( x ) 2 ) μ t ( x ) d x d t , (4) \operatorname{WFR}_{\delta}^{2}(\mu_0,\mu_1)=\inf_{\mu_t,v_t,g_t}\int_{0}^{1}\int_{\Omega}\left(|v_t(x)|^{2}+\delta^{2}g_t(x)^{2}\right)\mu_t(x)\,\mathrm{d}x\,\mathrm{d}t, \tag*{(4)} WFR δ 2 ( μ 0 , μ 1 ) = μ t , v t , g t inf ∫ 0 1 ∫ Ω ( ∣ v t ( x ) ∣ 2 + δ 2 g t ( x ) 2 ) μ t ( x ) d x d t , (4)
subject to
∂ t μ t + ∇ ⋅ ( μ t v t ) = g t μ t , μ t = 0 = μ 0 , μ t = 1 = μ 1 . \partial_t\mu_t+\nabla\cdot(\mu_tv_t)=g_t\mu_t,\qquad\mu_{t=0}=\mu_0,\qquad\mu_{t=1}=\mu_1. ∂ t μ t + ∇ ⋅ ( μ t v t ) = g t μ t , μ t = 0 = μ 0 , μ t = 1 = μ 1 .
The velocity field v t v_t v t transports existing mass, while g t g_t g t creates or annihilates mass. By direct calculation, the WFR cost between two Dirac measures a δ x , b δ y a\delta_x,b\delta_y a δ x , b δ y is
4 δ 2 [ a + b − 2 a b cos ( ∣ x − y ∣ 2 δ ) ] , (5) 4\delta^{2}\left[a+b-2\sqrt{ab}\cos\left(\frac{|x-y|}{2\delta}\right)\right], \tag*{(5)} 4 δ 2 [ a + b − 2 ab cos ( 2 δ ∣ x − y ∣ ) ] , (5)
where a a a and b b b are the masses attached to the endpoint pair ( x , y ) (x,y) ( x , y ) , cos ( x ) = cos ( x ∧ π 2 ) \cos(x)=\cos(x\wedge\frac{\pi}{2}) cos ( x ) = cos ( x ∧ 2 π ) . The corresponding optimal trajectory of the Dirac measure is called the travelling Dirac. The key structural point is that the travelling Dirac cost is convex and positively one-homogeneous when ∣ x − y ∣ < π δ |x-y|<\pi\delta ∣ x − y ∣ < π δ , hence sublinear in the two endpoint masses ( a , b ) (a,b) ( a , b ) . This sublinearity allows multiple travelling Dirac components with the same endpoints to be merged without increasing cost, which reduces the dynamic WFR problem ((4) ) into a static form
WFR δ 2 ( μ 0 , μ 1 ) = 4 δ 2 inf ( γ 0 , γ 1 ) ∫ Ω 2 ( γ 0 ( x , y ) + γ 1 ( x , y ) − 2 γ 0 ( x , y ) γ 1 ( x , y ) cos ( ∣ x − y ∣ 2 δ ) ) d x d y (6) \operatorname{WFR}_{\delta}^{2}(\mu_{0},\mu_{1})=4\delta^{2}\inf_{(\gamma_{0},\gamma_{1})}\int_{\Omega^{2}}\left(\gamma_{0}(x,y)+\gamma_{1}(x,y)-2\sqrt{\gamma_{0}(x,y)\gamma_{1}(x,y)}\cos\left(\frac{\lvert x-y\rvert}{2\delta}\right)\right)\,\mathrm{d}x\,\mathrm{d}y \tag*{(6)} WFR δ 2 ( μ 0 , μ 1 ) = 4 δ 2 ( γ 0 , γ 1 ) inf ∫ Ω 2 ( γ 0 ( x , y ) + γ 1 ( x , y ) − 2 γ 0 ( x , y ) γ 1 ( x , y ) cos ( 2 δ ∣ x − y ∣ ) ) d x d y (6)
subject to
( γ 0 , γ 1 ) ∈ Γ ( μ 0 , μ 1 ) = { ( γ 0 , γ 1 ) ∈ ( M + ( Ω 2 ) ) 2 : ∫ Ω γ 0 ( x , y ) d y = μ 0 ( x ) , ∫ Ω γ 1 ( x , y ) d x = μ 1 ( y ) } . (\gamma_{0},\gamma_{1})\in\Gamma(\mu_{0},\mu_{1})=\left\{(\gamma_{0},\gamma_{1})\in\left(\mathcal{M}_{+}(\Omega^{2})\right)^{2}:\int_{\Omega}\gamma_{0}(x,y)\,\mathrm{d}y=\mu_{0}(x),\ \int_{\Omega}\gamma_{1}(x,y)\,\mathrm{d}x=\mu_{1}(y)\right\}. ( γ 0 , γ 1 ) ∈ Γ ( μ 0 , μ 1 ) = { ( γ 0 , γ 1 ) ∈ ( M + ( Ω 2 ) ) 2 : ∫ Ω γ 0 ( x , y ) d y = μ 0 ( x ) , ∫ Ω γ 1 ( x , y ) d x = μ 1 ( y ) } .
where ( γ 0 , γ 1 ) (\gamma_{0},\gamma_{1}) ( γ 0 , γ 1 ) is called the semi-coupling as it is the unbalanced version of the optimal transport coupling. This formulation is said to be static since there is no time variable t t t in it. It can be further reduced to an optimal entropy transport problem
WFR δ 2 ( μ 0 , μ 1 ) = 4 δ 2 inf γ ∈ M + ( Ω 2 ) { ∫ Ω 2 − 2 ln cos ( ∣ x − y ∣ 2 δ ) γ ( x , y ) d x d y + KL ( ∫ Ω γ ( x , y ) d y ∥ μ 0 ( x ) ) + KL ( ∫ Ω γ ( x , y ) d x ∥ μ 1 ( y ) ) } (7) \operatorname{WFR}_{\delta}^{2}(\mu_{0},\mu_{1})=4\delta^{2}\inf_{\gamma\in\mathcal{M}_{+}(\Omega^{2})}\left\{\int_{\Omega^{2}}-2\ln\cos\left(\frac{\lvert x-y\rvert}{2\delta}\right)\gamma(x,y)\,\mathrm{d}x\mathrm{d}y+\operatorname{KL}\left(\int_{\Omega}\gamma(x,y)\,\mathrm{d}y\middle\|\mu_{0}(x)\right)+\operatorname{KL}\left(\int_{\Omega}\gamma(x,y)\,\mathrm{d}x\middle\|\mu_{1}(y)\right)\right\} \tag*{(7)} WFR δ 2 ( μ 0 , μ 1 ) = 4 δ 2 γ ∈ M + ( Ω 2 ) inf { ∫ Ω 2 − 2 ln cos ( 2 δ ∣ x − y ∣ ) γ ( x , y ) d x d y + KL ( ∫ Ω γ ( x , y ) d y μ 0 ( x ) ) + KL ( ∫ Ω γ ( x , y ) d x μ 1 ( y ) ) } (7)
which can be solved efficiently. Recent research has also utilized flow matching for efficiently solving the dynamic WFR problem [25 ] . The WFR framework defines a metric on M + ( Ω ) \mathcal{M}_{+}(\Omega) M + ( Ω ) , and its dynamic form models the unbalanced dynamics in R d \mathbb{R}^{d} R d . In this paper, we extend the framework to graphs to model unbalanced dynamics on discrete spaces.
Dynamic discrete OT
Let G = ( X , C ) \mathcal{G}=(\mathcal{X},\mathcal{C}) G = ( X , C ) be a finite graph where X = { x 1 , … , x N } \mathcal{X}=\{x_{1},\ldots,x_{N}\} X = { x 1 , … , x N } is a finite set, and C i j ∈ [ 0 , + ∞ ] C_{ij}\in[0,+\infty] C ij ∈ [ 0 , + ∞ ] are weighted edges. We write M + ( X ) = { ρ = ( ρ 1 , … , ρ N ) ∈ R ≥ 0 N } \mathcal{M}_{+}(\mathcal{X})=\{\rho=(\rho_{1},\ldots,\rho_{N})\in\mathbb{R}_{\geq0}^{N}\} M + ( X ) = { ρ = ( ρ 1 , … , ρ N ) ∈ R ≥ 0 N } for the set of nonnegative measures over X \mathcal{X} X . The total mass is denoted by ∣ ρ ∣ = ∑ i = 1 N ρ i \lvert\rho\rvert=\sum_{i=1}^{N}\rho_{i} ∣ ρ ∣ = ∑ i = 1 N ρ i . P ( X ) \mathcal{P}(\mathcal{X}) P ( X ) stands for the set of probability measures over X \mathcal{X} X .
For ρ , η ∈ P ( X ) \rho,\eta\in\mathcal{P}(\mathcal{X}) ρ , η ∈ P ( X ) , the static OT cost between them is defined as
OT ( ρ , η ) = min π ∈ P ( X 2 ) { ∑ i , j = 1 N C i j π i j : ∑ j π i j = ρ i , ∑ i π i j = η j } . (8) \operatorname{OT}(\rho,\eta)=\min_{\pi\in\mathcal{P}(\mathcal{X}^{2})}\left\{\sum_{i,j=1}^{N}C_{ij}\pi_{ij}:\sum_{j}\pi_{ij}=\rho_{i},\ \sum_{i}\pi_{ij}=\eta_{j}\right\}. \tag*{(8)} OT ( ρ , η ) = π ∈ P ( X 2 ) min { i , j = 1 ∑ N C ij π ij : j ∑ π ij = ρ i , i ∑ π ij = η j } . (8)
As a well known result, when C i j C_{ij} C ij is a metric on X \mathcal{X} X , OT is also a metric on P ( X ) \mathcal{P}(\mathcal{X}) P ( X ) . For more general cases, we have the following proposition.
Proposition 2.1 (Metric property of OT on graph). For p ≥ 1 p\geq1 p ≥ 1 , if C i j 1 / p C_{ij}^{1/p} C ij 1/ p defines a metric on X \mathcal{X} X , P ( X ) \mathcal{P}(\mathcal{X}) P ( X ) is a metric space equipped with the metric OT 1 / p \operatorname{OT}^{1/p} OT 1/ p . When p = 1 p=1 p = 1 , P ( X ) \mathcal{P}(\mathcal{X}) P ( X ) is further a geodesic space under this metric, with geodesic connecting α , β \alpha,\beta α , β defined as γ ( t ) = ( 1 − t ) α + t β \gamma(t)=(1-t)\alpha+t\beta γ ( t ) = ( 1 − t ) α + tβ .
Proof. The proof is provided in Supplementary Material B.1.
Inspired by discrete flow matching [2 , 10 ] , the dynamic form is defined by assigning each pair of mass transport π i j \pi_{ij} π ij a continuous time probability flow. For a coupling π \pi π and progress variables k i j : [ 0 , 1 ] → [ 0 , 1 ] k_{ij} : [0,1] \to[0,1] k ij : [ 0 , 1 ] → [ 0 , 1 ] with k i j ( 0 ) = 0 k_{ij}(0)=0 k ij ( 0 ) = 0 and k i j ( 1 ) = 1 k_{ij}(1)=1 k ij ( 1 ) = 1 , define
π i j [ ( 1 − k i j ( t ) ) δ x i + k i j ( t ) δ x j ] . (9) \pi_{ij}\left[(1-k_{ij}(t))\delta_{x_i}+k_{ij}(t)\delta_{x_j}\right]. \tag*{(9)} π ij [ ( 1 − k ij ( t )) δ x i + k ij ( t ) δ x j ] . (9)
as the probability flow transporting mass π i j \pi_{ij} π ij from x i x_i x i to x j x_j x j . Since C i j C_{ij} C ij is at the position of the squared Euclidean distance in the continuous case, the product of C i j 1 2 C_{ij}^{\frac{1}{2}} C ij 2 1 and the derivative of the progress variable k ˙ i j \dot{k}_{ij} k ˙ ij measures the speed of transport. Hence, the corresponding dynamic action is defined as an analog of the kinetic action in Benamou–Brenier form
A O T [ π , k ] = ∫ 0 1 ∑ i , j π i j C i j k ˙ i j ( t ) 2 d t . (10) \mathcal{A}_{\mathrm{OT}}[\pi,k]=\int_0^1\sum_{i,j}\pi_{ij}C_{ij}\dot{k}_{ij}(t)^2\,\mathrm{d}t. \tag*{(10)} A OT [ π , k ] = ∫ 0 1 i , j ∑ π ij C ij k ˙ ij ( t ) 2 d t . (10)
subject to
∑ j π i j = ρ i , ∑ i π i j = η j , k i j ( 0 ) = 0 , k i j ( 1 ) = 1 \sum_j\pi_{ij}=\rho_i,\qquad\sum_i\pi_{ij}=\eta_j,\qquad k_{ij}(0)=0,\qquad k_{ij}(1)=1 j ∑ π ij = ρ i , i ∑ π ij = η j , k ij ( 0 ) = 0 , k ij ( 1 ) = 1
Theorem 2.2 (Static-dynamic equivalence for OT). For ρ , η ∈ P ( X ) \rho,\eta\in\mathcal{P}(\mathcal{X}) ρ , η ∈ P ( X ) ,
OT ( ρ , η ) = inf π , k A O T [ π , k ] . (11) \operatorname{OT}(\rho,\eta)=\inf_{\pi,k}\mathcal{A}_{\mathrm{OT}}[\pi,k]. \tag*{(11)} OT ( ρ , η ) = π , k inf A OT [ π , k ] . (11)
Proof. For fixed π \pi π , the action separates over pairs. For each active pair,
∫ 0 1 k ˙ i j ( t ) 2 d t ≥ ( ∫ 0 1 k ˙ i j ( t ) d t ) 2 = 1 \int_0^1\dot{k}_{ij}(t)^2\,\mathrm{d}t\geq\left(\int_0^1\dot{k}_{ij}(t)\,\mathrm{d}t\right)^2=1 ∫ 0 1 k ˙ ij ( t ) 2 d t ≥ ( ∫ 0 1 k ˙ ij ( t ) d t ) 2 = 1
by Cauchy’s inequality, with equality for k i j ( t ) = t k_{ij}(t)=t k ij ( t ) = t . Hence, the least dynamic action for fixed π \pi π is ∑ i , j C i j π i j \sum_{i,j}C_{ij}\pi_{ij} ∑ i , j C ij π ij . Minimizing over π \pi π gives (2.7).
Remark 2.3. Although inspired by viewing C i j C_{ij} C ij as an analog of the squared Euclidean distance, the definition of the dynamic action does not require C i j 1 2 C_{ij}^{\frac{1}{2}} C ij 2 1 to be a metric. When C i j C_{ij} C ij is a metric, the induced continuous probability flow
∑ j ( π i j ( 1 − t ) + π j i t ) = ( 1 − t ) ρ i + t η i \sum_j\left(\pi_{ij}(1-t)+\pi_{ji}t\right)=(1-t)\rho_i+t\eta_i j ∑ ( π ij ( 1 − t ) + π j i t ) = ( 1 − t ) ρ i + t η i
recovers the geodesic in P ( X ) \mathcal{P}(\mathcal{X}) P ( X ) . These results indicate that our defined dynamics formulation is reasonable.
Dynamic discrete WFR
In this section, we extend the above to unbalanced scenarios. We first consider a pair of weighted Dirac masses m 0 δ x i m_0\delta_{x_i} m 0 δ x i and m 1 δ x j m_1\delta_{x_j} m 1 δ x j with m 0 , m 1 ≥ 0 m_0,m_1\geq0 m 0 , m 1 ≥ 0 . A path is represented by a scalar mass m ( t ) ≥ 0 m(t)\geq0 m ( t ) ≥ 0 and a progress variable k ( t ) ∈ [ 0 , 1 ] k(t)\in[0,1] k ( t ) ∈ [ 0 , 1 ] . Formally, k ( t ) = 0 k(t)=0 k ( t ) = 0 corresponds to the source point x i x_i x i and k ( t ) = 1 k(t)=1 k ( t ) = 1 corresponds to the target point x j x_j x j . Adding a quadratic growth penalty scaled by a parameter δ \delta δ to the OT action, the unbalanced action is defined as
A i j [ m , k ] = ∫ 0 1 m i j ( t ) [ C i j k ˙ i j ( t ) 2 + δ 2 m ˙ i j ( t ) 2 m i j ( t ) 2 ] d t = ∫ 0 1 [ m i j ( t ) C i j k ˙ i j ( t ) 2 + δ 2 m ˙ i j ( t ) 2 m i j ( t ) ] d t (12) \begin{aligned}
\mathcal{A}_{ij}[m,k]&=\int_0^1m_{ij}(t)\left[C_{ij}\dot{k}_{ij}(t)^2+\delta^2\frac{\dot{m}_{ij}(t)^2}{m_{ij}(t)^2}\right]\,\mathrm{d}t\\
&=\int_0^1\left[m_{ij}(t)C_{ij}\dot{k}_{ij}(t)^2+\delta^2\frac{\dot{m}_{ij}(t)^2}{m_{ij}(t)}\right]\,\mathrm{d}t \tag*{(12)}
\end{aligned} A ij [ m , k ] = ∫ 0 1 m ij ( t ) [ C ij k ˙ ij ( t ) 2 + δ 2 m ij ( t ) 2 m ˙ ij ( t ) 2 ] d t = ∫ 0 1 [ m ij ( t ) C ij k ˙ ij ( t ) 2 + δ 2 m ij ( t ) m ˙ ij ( t ) 2 ] d t (12)
with the convention that the growth term is + ∞ +\infty + ∞ unless m m m is absolutely continuous and m ˙ = 0 \dot{m}=0 m ˙ = 0 a.e. on { m = 0 } \{m=0\} { m = 0 } . The endpoints are
m i j ( 0 ) = m 0 , m i j ( 1 ) = m 1 , k i j ( 0 ) = 0 , k i j ( 1 ) = 1. m_{ij}(0)=m_0,\qquad m_{ij}(1)=m_1,\qquad k_{ij}(0)=0,\qquad k_{ij}(1)=1. m ij ( 0 ) = m 0 , m ij ( 1 ) = m 1 , k ij ( 0 ) = 0 , k ij ( 1 ) = 1.
Definition 2.4 (Dirac-pair WFR cost on graph). For m 0 , m 1 ≥ 0 m_0,m_1\geq0 m 0 , m 1 ≥ 0 and i , j ∈ { 1 , … , N } i,j\in\{1,\ldots,N\} i , j ∈ { 1 , … , N } , define
WFR δ 2 ( m 0 δ x i , m 1 δ x j ) = inf m , k A i j [ m , k ] , (13) \operatorname{WFR}_{\delta}^{2}(m_0\delta_{x_i},m_1\delta_{x_j})=\inf_{m,k} A_{ij}[m,k], \tag*{(13)} WFR δ 2 ( m 0 δ x i , m 1 δ x j ) = m , k inf A ij [ m , k ] , (13) where the infimum is taken over all admissible paths satisfying the above endpoint conditions.
Proposition 2.5 (Travelling Dirac on graph). For any m 0 , m 1 > 0 m_0,m_1>0 m 0 , m 1 > 0 , and C i j < π 2 δ 2 C_{ij}<\pi^2\delta^2 C ij < π 2 δ 2 ,
WFR δ 2 ( m 0 δ x i , m 1 δ x j ) = 4 δ 2 [ m 0 + m 1 − 2 m 0 m 1 cos ( C i j 2 δ ) ] . (14) \operatorname{WFR}_{\delta}^{2}(m_0\delta_{x_i},m_1\delta_{x_j})=4\delta^2\left[m_0+m_1-2\sqrt{m_0m_1}\cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right)\right]. \tag*{(14)} WFR δ 2 ( m 0 δ x i , m 1 δ x j ) = 4 δ 2 [ m 0 + m 1 − 2 m 0 m 1 cos ( 2 δ C ij ) ] . (14) The corresponding travelling Dirac path is
m i j ( t ) = A t 2 + B t + m 0 , k i j ( t ) = ω ∫ 0 t d s m i j ( s ) m_{ij}(t)=At^2+Bt+m_0,\qquad k_{ij}(t)=\omega\int_0^t\frac{\mathrm{d}s}{m_{ij}(s)} m ij ( t ) = A t 2 + B t + m 0 , k ij ( t ) = ω ∫ 0 t m ij ( s ) d s where
A = m 0 + m 1 − 4 m 0 m 1 − ω 2 C i j δ 2 , B = − 2 m 0 + 4 m 0 m 1 − ω 2 C i j δ 2 , (15) A=m_0+m_1-\sqrt{4m_0m_1-\frac{\omega^2C_{ij}}{\delta^2}},\qquad B=-2m_0+\sqrt{4m_0m_1-\frac{\omega^2C_{ij}}{\delta^2}}, \tag*{(15)} A = m 0 + m 1 − 4 m 0 m 1 − δ 2 ω 2 C ij , B = − 2 m 0 + 4 m 0 m 1 − δ 2 ω 2 C ij , (15) ω = 2 δ τ m 0 m 1 C i j ( 1 + τ 2 ) , τ = tan C i j 2 δ . \omega=2\delta\tau\sqrt{\frac{m_0m_1}{C_{ij}(1+\tau^2)}},\qquad\tau=\tan\frac{\sqrt{C_{ij}}}{2\delta}. ω = 2 δ τ C ij ( 1 + τ 2 ) m 0 m 1 , τ = tan 2 δ C ij .
Proof. Denote θ i j : = C i j 2 δ \theta_{ij}:=\frac{\sqrt{C_{ij}}}{2\delta} θ ij := 2 δ C ij . When C i j < π 2 δ 2 C_{ij}<\pi^2\delta^2 C ij < π 2 δ 2 , we have 0 ≤ θ i j < π / 2 0\leq\theta_{ij}<\pi/2 0 ≤ θ ij < π /2 . Consider the travelling paths with both transportation and birth-death
m ( t ) [ ( 1 − k ( t ) ) δ x i + k ( t ) δ x j ] , m(t)[(1-k(t))\delta_{x_i}+k(t)\delta_{x_j}], m ( t ) [( 1 − k ( t )) δ x i + k ( t ) δ x j ] ,
where k ( 0 ) = 0 k(0)=0 k ( 0 ) = 0 , k ( 1 ) = 1 k(1)=1 k ( 1 ) = 1 , m ( 0 ) = m 0 m(0)=m_0 m ( 0 ) = m 0 , and m ( 1 ) = m 1 m(1)=m_1 m ( 1 ) = m 1 . Let r ( t ) = m ( t ) r(t)=\sqrt{m(t)} r ( t ) = m ( t ) , θ ( t ) = C i j 2 δ k ( t ) \theta(t)=\frac{\sqrt{C_{ij}}}{2\delta}k(t) θ ( t ) = 2 δ C ij k ( t ) . Then the travelling Dirac action becomes
∫ 0 1 [ C i j m ( t ) k ˙ ( t ) 2 + δ 2 m ˙ ( t ) 2 m ( t ) ] d t = 4 δ 2 ∫ 0 1 [ r ˙ ( t ) 2 + r ( t ) 2 θ ˙ ( t ) 2 ] d t . (16) \int_0^1\left[C_{ij}m(t)\dot{k}(t)^2+\delta^2\frac{\dot{m}(t)^2}{m(t)}\right]\mathrm{d}t=4\delta^2\int_0^1\left[\dot{r}(t)^2+r(t)^2\dot{\theta}(t)^2\right]\mathrm{d}t. \tag*{(16)} ∫ 0 1 [ C ij m ( t ) k ˙ ( t ) 2 + δ 2 m ( t ) m ˙ ( t ) 2 ] d t = 4 δ 2 ∫ 0 1 [ r ˙ ( t ) 2 + r ( t ) 2 θ ˙ ( t ) 2 ] d t . (16)
Introduce the polar coordinates z ( t ) = r ( t ) e i θ ( t ) z(t)=r(t)e^{i\theta(t)} z ( t ) = r ( t ) e i θ ( t ) . Then ∣ z ˙ ( t ) ∣ 2 = r ˙ ( t ) 2 + r ( t ) 2 θ ˙ ( t ) 2 |\dot{z}(t)|^2=\dot{r}(t)^2+r(t)^2\dot{\theta}(t)^2 ∣ z ˙ ( t ) ∣ 2 = r ˙ ( t ) 2 + r ( t ) 2 θ ˙ ( t ) 2 . Therefore, the minimization among travelling Dirac paths is reduced to the Euclidean shortest path problem min z 4 δ 2 ∫ 0 1 ∣ z ˙ ( t ) ∣ 2 d t \min_z 4\delta^2\int_0^1|\dot{z}(t)|^2\mathrm{d}t min z 4 δ 2 ∫ 0 1 ∣ z ˙ ( t ) ∣ 2 d t with boundary conditions z ( 0 ) = m 0 z(0)=\sqrt{m_0} z ( 0 ) = m 0 , z ( 1 ) = m 1 e i θ i j z(1)=\sqrt{m_1}e^{i\theta_{ij}} z ( 1 ) = m 1 e i θ ij . The minimizer is the straight line
z ∗ ( t ) = ( 1 − t ) m 0 + t m 1 e i θ i j . z^*(t)=(1-t)\sqrt{m_0}+t\sqrt{m_1}e^{i\theta_{ij}}. z ∗ ( t ) = ( 1 − t ) m 0 + t m 1 e i θ ij .
Thus
min 4 δ 2 ∫ 0 1 ∣ z ˙ ( t ) ∣ 2 d t = 4 δ 2 ∣ m 1 e i θ i j − m 0 ∣ 2 = 4 δ 2 [ m 0 + m 1 − 2 m 0 m 1 cos θ i j ] . (17) \min4\delta^2\int_0^1|\dot{z}(t)|^2\mathrm{d}t=4\delta^2\left|\sqrt{m_1}e^{i\theta_{ij}}-\sqrt{m_0}\right|^2=4\delta^2\left[m_0+m_1-2\sqrt{m_0m_1}\cos\theta_{ij}\right]. \tag*{(17)} min 4 δ 2 ∫ 0 1 ∣ z ˙ ( t ) ∣ 2 d t = 4 δ 2 m 1 e i θ ij − m 0 2 = 4 δ 2 [ m 0 + m 1 − 2 m 0 m 1 cos θ ij ] . (17)
Finally, we derive the explicit form of the path. From the straight line formula,
m i j ( t ) = ∣ z ∗ ( t ) ∣ 2 = ( 1 − t ) 2 m 0 + t 2 m 1 + 2 t ( 1 − t ) m 0 m 1 cos θ i j . (18) m_{ij}(t)=\lvert z^*(t)\rvert^2=(1-t)^2m_0+t^2m_1+2t(1-t)\sqrt{m_0m_1}\cos\theta_{ij}. \tag*{(18)} m ij ( t ) = ∣ z ∗ ( t ) ∣ 2 = ( 1 − t ) 2 m 0 + t 2 m 1 + 2 t ( 1 − t ) m 0 m 1 cos θ ij . (18)
Thus, m i j ( t ) = A t 2 + B t + m 0 m_{ij}(t)=At^2+Bt+m_0 m ij ( t ) = A t 2 + B t + m 0 where
A = m 0 + m 1 − 2 m 0 m 1 cos θ i j , B = − 2 m 0 + 2 m 0 m 1 cos θ i j . A=m_0+m_1-2\sqrt{m_0m_1}\cos\theta_{ij},\qquad B=-2m_0+2\sqrt{m_0m_1}\cos\theta_{ij}. A = m 0 + m 1 − 2 m 0 m 1 cos θ ij , B = − 2 m 0 + 2 m 0 m 1 cos θ ij .
Let τ = tan θ i j \tau=\tan\theta_{ij} τ = tan θ ij , ω = 2 δ τ m 0 m 1 C i j ( 1 + τ 2 ) \omega=2\delta\tau\sqrt{\frac{m_0m_1}{C_{ij}(1+\tau^2)}} ω = 2 δ τ C ij ( 1 + τ 2 ) m 0 m 1 . Since 0 ≤ θ i j < π / 2 0\leq\theta_{ij}<\pi/2 0 ≤ θ ij < π /2 , ω = 2 δ m 0 m 1 sin θ i j C i j \omega=\frac{2\delta\sqrt{m_0m_1}\sin\theta_{ij}}{\sqrt{C_{ij}}} ω = C ij 2 δ m 0 m 1 s i n θ ij . Moreover, 4 m 0 m 1 − ω 2 C i j δ 2 = 2 m 0 m 1 cos θ i j \sqrt{4m_0m_1-\frac{\omega^2C_{ij}}{\delta^2}}=2\sqrt{m_0m_1}\cos\theta_{ij} 4 m 0 m 1 − δ 2 ω 2 C ij = 2 m 0 m 1 cos θ ij . Hence A A A and B B B can be equivalently written as
A = m 0 + m 1 − 4 m 0 m 1 − ω 2 C i j δ 2 , B = − 2 m 0 + 4 m 0 m 1 − ω 2 C i j δ 2 . A=m_0+m_1-\sqrt{4m_0m_1-\frac{\omega^2C_{ij}}{\delta^2}},\qquad B=-2m_0+\sqrt{4m_0m_1-\frac{\omega^2C_{ij}}{\delta^2}}. A = m 0 + m 1 − 4 m 0 m 1 − δ 2 ω 2 C ij , B = − 2 m 0 + 4 m 0 m 1 − δ 2 ω 2 C ij .
The angular velocity of the straight line satisfies
k ˙ i j ( t ) = ω m i j ( t ) . \dot{k}_{ij}(t)=\frac{\omega}{m_{ij}(t)}. k ˙ ij ( t ) = m ij ( t ) ω .
Consequently,
k i j ( t ) = ω ∫ 0 t d s m i j ( s ) . k_{ij}(t)=\omega\int_0^t\frac{\mathrm{d}s}{m_{ij}(s)}. k ij ( t ) = ω ∫ 0 t m ij ( s ) d s .
Remark 2.6 (Zero mass endpoint limit). For paths with zero mass endpoints, i.e., m 0 = 0 m_0=0 m 0 = 0 or m 1 = 0 m_1=0 m 1 = 0 , the optimal path is the limit of the paths with positive endpoints.
{ m i j ( t ) = m 1 t 2 , k i j ( t ) = 1 t > 0 ( t ) , m 0 = 0 , m i j ( t ) = m 0 ( 1 − t ) 2 , k i j ( t ) = 1 t ≥ 1 ( t ) , m 1 = 0. \begin{cases}
m_{ij}(t)=m_1t^2,\quad k_{ij}(t)=\mathbf{1}_{t>0}(t), & m_0=0,\\
m_{ij}(t)=m_0(1-t)^2,\quad k_{ij}(t)=\mathbf{1}_{t\geq1}(t), & m_1=0.
\end{cases} { m ij ( t ) = m 1 t 2 , k ij ( t ) = 1 t > 0 ( t ) , m ij ( t ) = m 0 ( 1 − t ) 2 , k ij ( t ) = 1 t ≥ 1 ( t ) , m 0 = 0 , m 1 = 0.
Remark 2.7 (Infinite growth penalty limit). If m 0 = m 1 = m m_0=m_1=m m 0 = m 1 = m and δ ≫ 1 \delta\gg1 δ ≫ 1 , then
WFR δ 2 ( m δ x i , m δ x j ) = 8 δ 2 m [ 1 − cos ( C i j 2 δ ) ] \operatorname{WFR}_{\delta}^2(m\delta_{x_i},m\delta_{x_j})=8\delta^2m\left[1-\cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right)\right] WFR δ 2 ( m δ x i , m δ x j ) = 8 δ 2 m [ 1 − cos ( 2 δ C ij ) ] = m C i j + O ( δ − 2 ) → m C i j ( δ → + ∞ ) . =mC_{ij}+O(\delta^{-2})\to mC_{ij}\qquad(\delta\to+\infty). = m C ij + O ( δ − 2 ) → m C ij ( δ → + ∞ ) . Thus, the WFR cost recovers the balanced OT cost as the growth penalty δ \delta δ tends to infinity.
Proposition 2.8 (Sublinearity of the travelling Dirac cost). Fix an endpoint pair ( i , j ) (i,j) ( i , j ) and set
D i j ( a , b ) = 4 δ 2 [ a + b − 2 a b cos ( C i j 2 δ ) ] , a , b ≥ 0. D_{ij}(a,b)=4\delta^2\left[a+b-2\sqrt{ab}\cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right)\right],\qquad a,b\geq0. D ij ( a , b ) = 4 δ 2 [ a + b − 2 ab cos ( 2 δ C ij ) ] , a , b ≥ 0. Then D i j D_{ij} D ij is positively one-homogeneous and sublinear:
D i j ( ∑ ℓ a ℓ , ∑ ℓ b ℓ ) ≤ ∑ ℓ D i j ( a ℓ , b ℓ ) (19) D_{ij}\left(\sum_{\ell}a_{\ell},\sum_{\ell}b_{\ell}\right)\leq\sum_{\ell}D_{ij}(a_{\ell},b_{\ell}) \tag*{(19)} D ij ( ℓ ∑ a ℓ , ℓ ∑ b ℓ ) ≤ ℓ ∑ D ij ( a ℓ , b ℓ ) (19) for all finite nonnegative ( a ℓ , b ℓ ) (a_{\ell},b_{\ell}) ( a ℓ , b ℓ ) .
Proof. Positive one-homogeneity is immediate from the formula. Write
ζ i j = cos ( C i j 2 δ ) ∈ [ 0 , 1 ] , A = ∑ ℓ a ℓ , B = ∑ ℓ b ℓ . \zeta_{ij}=\cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right)\in[0,1],\qquad A=\sum_{\ell}a_{\ell},\qquad B=\sum_{\ell}b_{\ell}. ζ ij = cos ( 2 δ C ij ) ∈ [ 0 , 1 ] , A = ℓ ∑ a ℓ , B = ℓ ∑ b ℓ .
By Cauchy’s inequality,
∑ ℓ a ℓ b ℓ ≤ ( ∑ ℓ a ℓ ) ( ∑ ℓ b ℓ ) = A B . \sum_{\ell}\sqrt{a_{\ell}b_{\ell}}\le\sqrt{\left(\sum_{\ell}a_{\ell}\right)\left(\sum_{\ell}b_{\ell}\right)}=\sqrt{AB}. ℓ ∑ a ℓ b ℓ ≤ ( ℓ ∑ a ℓ ) ( ℓ ∑ b ℓ ) = A B .
Since ζ i j ≥ 0 \zeta_{ij}\ge0 ζ ij ≥ 0 ,
∑ ℓ D i j ( a ℓ , b ℓ ) = 4 δ 2 [ A + B − 2 ζ i j ∑ ℓ a ℓ b ℓ ] \sum_{\ell}D_{ij}(a_{\ell},b_{\ell})=4\delta^{2}\left[A+B-2\zeta_{ij}\sum_{\ell}\sqrt{a_{\ell}b_{\ell}}\right] ℓ ∑ D ij ( a ℓ , b ℓ ) = 4 δ 2 [ A + B − 2 ζ ij ℓ ∑ a ℓ b ℓ ]
≥ 4 δ 2 [ A + B − 2 ζ i j A B ] = D i j ( A , B ) . \ge4\delta^{2}\left[A+B-2\zeta_{ij}\sqrt{AB}\right]=D_{ij}(A,B). ≥ 4 δ 2 [ A + B − 2 ζ ij A B ] = D ij ( A , B ) .
This proves (19) .
With sublinearity, multiple unbalanced transport paths from x i x_i x i to x j x_j x j tend to merge into one to minimize the total transport cost. Hence, it is reasonable to define the dynamic WFR action as following.
Definition 2.9 (Dynamic WFR on graph). For ρ , η ∈ M + ( X ) \rho,\eta\in\mathcal{M}_{+}(\mathcal{X}) ρ , η ∈ M + ( X ) , define
WFR δ 2 ( ρ , η ) = inf m , k ∫ 0 1 ∑ i , j ( m i j ( t ) C i j k ˙ i j ( t ) 2 + δ 2 m ˙ i j ( t ) 2 m i j ( t ) ) d t . (20) \operatorname{WFR}_{\delta}^{2}(\rho,\eta)=\inf_{m,k}\int_{0}^{1}\sum_{i,j}\left(m_{ij}(t)C_{ij}\dot{k}_{ij}(t)^{2}+\delta^{2}\frac{\dot{m}_{ij}(t)^{2}}{m_{ij}(t)}\right)\,\mathrm{d}t. \tag*{(20)} WFR δ 2 ( ρ , η ) = m , k inf ∫ 0 1 i , j ∑ ( m ij ( t ) C ij k ˙ ij ( t ) 2 + δ 2 m ij ( t ) m ˙ ij ( t ) 2 ) d t . (20)
subject to
∑ j m i j ( 0 ) = ρ i , ∑ i m i j ( 1 ) = η j , k i j ( 0 ) = 0 , k i j ( 1 ) = 1. \sum_{j}m_{ij}(0)=\rho_i,\qquad\sum_{i}m_{ij}(1)=\eta_j,\qquad k_{ij}(0)=0,\qquad k_{ij}(1)=1. j ∑ m ij ( 0 ) = ρ i , i ∑ m ij ( 1 ) = η j , k ij ( 0 ) = 0 , k ij ( 1 ) = 1.
Discrete static WFR
As a discrete version of the semi-coupling, let a = ( a i j ) a=(a_{ij}) a = ( a ij ) and b = ( b i j ) b=(b_{ij}) b = ( b ij ) be two nonnegative matrices satisfying
∑ j = 1 N a i j = ρ i , ∑ i = 1 N b i j = η j . (21) \sum_{j=1}^{N}a_{ij}=\rho_i,\qquad\sum_{i=1}^{N}b_{ij}=\eta_j. \tag*{(21)} j = 1 ∑ N a ij = ρ i , i = 1 ∑ N b ij = η j . (21)
We denote this semi-coupling set by
Γ ( ρ , η ) : = { ( a , b ) ≥ 0 : ∑ j a i j = ρ i , ∑ i b i j = η j } . \Gamma(\rho,\eta):=\left\{(a,b)\ge0:\sum_{j}a_{ij}=\rho_i,\quad\sum_{i}b_{ij}=\eta_j\right\}. Γ ( ρ , η ) := { ( a , b ) ≥ 0 : j ∑ a ij = ρ i , i ∑ b ij = η j } .
The quantity a i j a_{ij} a ij is the amount of mass initially assigned to the pair ( i , j ) (i,j) ( i , j ) , while b i j b_{ij} b ij is the amount of mass finally assigned to the same pair. In unbalanced settings, a i j , b i j a_{ij},b_{ij} a ij , b ij can be different. By (14) , when max i , j C i j < π 2 δ 2 \max_{i,j}C_{ij}<\pi^{2}\delta^{2} max i , j C ij < π 2 δ 2 , and given m i j ( 0 ) = a i j m_{ij}(0)=a_{ij} m ij ( 0 ) = a ij , m i j ( 1 ) = b i j m_{ij}(1)=b_{ij} m ij ( 1 ) = b ij fixed, the dynamic WFR (20) can be minimized by first minimizing over k i j , m i j k_{ij},m_{ij} k ij , m ij , then a i j , b i j a_{ij},b_{ij} a ij , b ij , which yields a static form for WFR on graph.
Definition 2.10 (Static WFR on graph). For ρ , η ∈ M + ( X ) \rho,\eta\in\mathcal{M}_{+}(\mathcal{X}) ρ , η ∈ M + ( X ) , max i , j C i j < π 2 δ 2 \max_{i,j} C_{ij} < \pi^{2}\delta^{2} max i , j C ij < π 2 δ 2 , define
WFR δ 2 ( ρ , η ) = 4 δ 2 inf ( a , b ) ∈ Γ ( ρ , η ) ∑ i , j = 1 N [ a i j + b i j − 2 a i j b i j cos ( C i j 2 δ ) ] (22) \operatorname{WFR}_{\delta}^{2}(\rho,\eta)=4\delta^{2}\inf_{(a,b)\in\Gamma(\rho,\eta)}\sum_{i,j=1}^{N}\left[a_{ij}+b_{ij}-2\sqrt{a_{ij}b_{ij}}\cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right)\right] \tag*{(22)} WFR δ 2 ( ρ , η ) = 4 δ 2 ( a , b ) ∈ Γ ( ρ , η ) inf i , j = 1 ∑ N [ a ij + b ij − 2 a ij b ij cos ( 2 δ C ij ) ] (22)
Several basic properties were investigated as following.
Proposition 2.11 (Existence of minimizers). For every ρ , η ∈ M + ( X ) \rho,\eta\in\mathcal{M}_{+}(\mathcal{X}) ρ , η ∈ M + ( X ) , the infimum in (22) is attained. If ρ = η = 0 \rho=\eta=0 ρ = η = 0 , the unique effective minimizer is a = b = 0 a=b=0 a = b = 0 . If one endpoint is zero, say η = 0 \eta=0 η = 0 , the value is
WFR δ 2 ( ρ , 0 ) = 4 δ 2 ∣ ρ ∣ . (23) \operatorname{WFR}_{\delta}^{2}(\rho,0)=4\delta^{2}|\rho|. \tag*{(23)} WFR δ 2 ( ρ , 0 ) = 4 δ 2 ∣ ρ ∣. (23)
Proof. The proof is provided in Supplementary Material B.2.
Proposition 2.12 (Elementary properties). For all ρ , η ∈ M + ( X ) \rho,\eta\in\mathcal{M}_{+}(\mathcal{X}) ρ , η ∈ M + ( X ) and λ ≥ 0 \lambda\geq0 λ ≥ 0 , the discrete WFR functional satisfies:
WFR δ ( ρ , η ) ≥ 0 , (24) \operatorname{WFR}_{\delta}(\rho,\eta)\geq0, \tag*{(24)} WFR δ ( ρ , η ) ≥ 0 , (24) WFR δ ( ρ , η ) = WFR δ ( η , ρ ) , (25) \operatorname{WFR}_{\delta}(\rho,\eta)=\operatorname{WFR}_{\delta}(\eta,\rho), \tag*{(25)} WFR δ ( ρ , η ) = WFR δ ( η , ρ ) , (25) WFR δ 2 ( λ ρ , λ η ) = λ WFR δ 2 ( ρ , η ) , (26) \operatorname{WFR}_{\delta}^{2}(\lambda\rho,\lambda\eta)=\lambda\operatorname{WFR}_{\delta}^{2}(\rho,\eta), \tag*{(26)} WFR δ 2 ( λ ρ , λ η ) = λ WFR δ 2 ( ρ , η ) , (26) 2 δ ∣ ∣ ρ ∣ − ∣ η ∣ ∣ ≤ WFR δ ( ρ , η ) ≤ 2 δ ∣ ρ ∣ + ∣ η ∣ . (27) 2\delta\left|\sqrt{|\rho|}-\sqrt{|\eta|}\right|\leq\operatorname{WFR}_{\delta}(\rho,\eta)\leq2\delta\sqrt{|\rho|+|\eta|}. \tag*{(27)} 2 δ ∣ ρ ∣ − ∣ η ∣ ≤ WFR δ ( ρ , η ) ≤ 2 δ ∣ ρ ∣ + ∣ η ∣ . (27) Moreover, WFR δ ( ρ , η ) = 0 \operatorname{WFR}_{\delta}(\rho,\eta)=0 WFR δ ( ρ , η ) = 0 if and only if ρ = η \rho=\eta ρ = η .
Proof. The proof is provided in Supplementary Material B.3.
Theorem 2.13 (Metric property). When max i , j C i j < π 2 δ 2 \max_{i,j} C_{ij}<\pi^{2}\delta^{2} max i , j C ij < π 2 δ 2 , and C i j 1 / p C_{ij}^{1/p} C ij 1/ p is a metric on X \mathcal{X} X , ( 1 ≤ p ≤ 2 ) (1\leq p\leq2) ( 1 ≤ p ≤ 2 ) , the map
( ρ , η ) ↦ WFR δ ( ρ , η ) (\rho,\eta)\mapsto\operatorname{WFR}_{\delta}(\rho,\eta) ( ρ , η ) ↦ WFR δ ( ρ , η ) is a metric on M + ( X ) \mathcal{M}_{+}(\mathcal{X}) M + ( X ) .
Proof. The proof is provided in Supplementary Material B.4.
Similar to the continuous space case, we can also derive an equivalent optimal entropy transport formulation for discrete WFR problem [6 , 20 , 25 ] . Such a form is easier to solve numerically.
Proposition 2.14 (Optimal entropy transport form). Let
c i j = − 2 log [ cos ( C i j 2 δ ) ] . (28) c_{ij}=-2\log\left[\cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right)\right]. \tag*{(28)} c ij = − 2 log [ cos ( 2 δ C ij ) ] . (28) For nonnegative vectors r , s r,s r , s , define the KL-divergence
KL ( r ∣ s ) = ∑ i [ r i log ( r i s i ) − r i + s i ] , (29) \operatorname{KL}(r\mid s)=\sum_i\left[r_i\log\left(\frac{r_i}{s_i}\right)-r_i+s_i\right], \tag*{(29)} KL ( r ∣ s ) = i ∑ [ r i log ( s i r i ) − r i + s i ] , (29) with the usual conventions 0 log 0 = 0 0\log0=0 0 log 0 = 0 and KL ( r ∣ s ) = + ∞ \operatorname{KL}(r\mid s)=+\infty KL ( r ∣ s ) = + ∞ if r i > 0 r_i>0 r i > 0 and s i = 0 s_i=0 s i = 0 for some i i i . When max i , j C i j < π 2 δ 2 \max_{i,j}C_{ij}<\pi^{2}\delta^{2} max i , j C ij < π 2 δ 2
1 4 δ 2 WFR δ 2 ( ρ , η ) = inf γ ∈ R + N × N { ∑ i , j = 1 N c i j γ i j + KL ( γ 1 ∣ ρ ) + KL ( γ T 1 ∣ η ) } . (30) \frac{1}{4\delta^{2}}\operatorname{WFR}_{\delta}^{2}(\rho,\eta)=\inf_{\gamma\in\mathbb{R}_{+}^{N\times N}}\left\{\sum_{i,j=1}^{N}c_{ij}\gamma_{ij}+\operatorname{KL}(\gamma\mathbf{1}\mid\rho)+\operatorname{KL}(\gamma^{T}\mathbf{1}\mid\eta)\right\}. \tag*{(30)} 4 δ 2 1 WFR δ 2 ( ρ , η ) = γ ∈ R + N × N inf { i , j = 1 ∑ N c ij γ ij + KL ( γ 1 ∣ ρ ) + KL ( γ T 1 ∣ η ) } . (30)
Proof. The proof is provided in Supplementary Material B.5.
Proposition 2.15 (Semi-coupling). Assume ρ i , η j ≥ 0 \rho_i,\eta_j \ge0 ρ i , η j ≥ 0 and ∣ ρ ∣ , ∣ η ∣ > 0 |\rho|,|\eta| > 0 ∣ ρ ∣ , ∣ η ∣ > 0 . Let γ ∗ \gamma^* γ ∗ solve (2.29), and set r i ∗ = ( γ ∗ 1 ) i r_i^*=(\gamma^*\mathbf{1})_i r i ∗ = ( γ ∗ 1 ) i , s j ∗ = ( ( γ ∗ ) T 1 ) j s_j^*=((\gamma^*)^\mathsf{T}\mathbf{1})_j s j ∗ = (( γ ∗ ) T 1 ) j . Then the optimal semi-coupling in Definition 2.10 can be recovered from γ ∗ \gamma^* γ ∗ by
a i j ∗ = γ i j ∗ ρ i r i ∗ , b i j ∗ = γ i j ∗ η j s j ∗ , ρ i η j ≠ 0 , a i j ∗ = b i j ∗ = γ i j ∗ = 0 , ρ i η j = 0. (31) a_{ij}^*=\gamma_{ij}^*\frac{\rho_i}{r_i^*},\quad b_{ij}^*=\gamma_{ij}^*\frac{\eta_j}{s_j^*},\quad\rho_i\eta_j\ne0,\qquad a_{ij}^*=b_{ij}^*=\gamma_{ij}^*=0,\quad\rho_i\eta_j=0. \tag*{(31)} a ij ∗ = γ ij ∗ r i ∗ ρ i , b ij ∗ = γ ij ∗ s j ∗ η j , ρ i η j = 0 , a ij ∗ = b ij ∗ = γ ij ∗ = 0 , ρ i η j = 0. (31)
Proof. The proof is provided in Supplementary Material B.6.
The optimal entropy transport objective in (2.29) is convex in γ \gamma γ , and it can be efficiently solved by Sinkhorn-like iteration [6 ] . With proposition 2.15, we can solve the static WFR semi-coupling ( a , b ) (a,b) ( a , b ) efficiently.
From static to dynamic
Given the optimal semi-coupling ( a , b ) (a,b) ( a , b ) between two nonnegative measures ρ , η ∈ M + ( X ) \rho,\eta\in\mathcal{M}_+(\mathcal{X}) ρ , η ∈ M + ( X ) , we can derive the travelling Diracs m i j ( t ) , k i j ( t ) m_{ij}(t),k_{ij}(t) m ij ( t ) , k ij ( t ) from the boundary condition m i j ( 0 ) = a i j , m i j ( 1 ) = b i j m_{ij}(0)=a_{ij},m_{ij}(1)=b_{ij} m ij ( 0 ) = a ij , m ij ( 1 ) = b ij . The dynamic measure flow corresponding to the dynamic WFR problem is then defined.
μ t = ∑ i , j m i j ( t ) [ ( 1 − k i j ( t ) ) δ x i + k i j ( t ) δ x j ] . (32) \mu_t=\sum_{i,j}m_{ij}(t)\left[(1-k_{ij}(t))\delta_{x_i}+k_{ij}(t)\delta_{x_j}\right]. \tag*{(32)} μ t = i , j ∑ m ij ( t ) [ ( 1 − k ij ( t )) δ x i + k ij ( t ) δ x j ] . (32)
Intuitively, the dynamic WFR flow is the average of travelling Diracs over semi-coupling. In continuous scenarios, a standard algorithm for realizing this average is flow matching [21 ] . Previous works have utilized flow matching and its unbalanced extension to solve dynamic OT, WFR, and other unbalanced OT extensions [25 , 29 , 33 , 36 , 37 ] in Euclidean spaces. Although flow matching is developed for continuous spaces, recent works have already proposed discrete flow matching for learning dynamics in discrete spaces [2 , 10 ] .
Another advantage of flow matching is that it does not directly learn the measure flow μ t \mu_t μ t , but learn the velocity field v t v_t v t and growth rate g t g_t g t which generate μ t \mu_t μ t , i.e. the dynamics. In discrete scenarios, the dynamics can be represented by a state dependent growth rate and a transition kernel. Unlike continuous dynamic WFR, the dynamic discrete WFR defined above is not a Markov process. But we can at least learn its Markovian reconstruction, which is a Markov process that generates μ t \mu_t μ t . We discuss the details in the next section.
Markovian reconstruction of WFR and unbalanced discrete flow matching
In this section, we introduce a general framework for unbalanced discrete flow matching on a finite state space X \mathcal{X} X . Based on it, we derived the closed form of the Markovian reconstruction of the discrete WFR dynamics. In contrast to standard discrete flow matching [10 ] , where the total mass of the evolving distribution is preserved, the present formulation allows both transport across discrete states and state-dependent mass growth or decay. This provides a natural modeling framework for discrete dynamics with birth and death. We first introduce the marginalization theory, and developed the closed form of the dynamic discrete WFR flow. For large ∣ X ∣ |\mathcal{X}| ∣ X ∣ , we also developed an unbalanced discrete conditional flow matching objective for learning the solution which may be intractable.
Unbalanced Discrete Dynamics
We first describe the stochastic process underlying the unbalanced discrete dynamics considered in this work. Let X \mathcal{X} X be a finite state space, and let ( x t ) t ∈ [ 0 , 1 ] (x_t)_{t\in[0,1]} ( x t ) t ∈ [ 0 , 1 ] be a time-inhomogeneous continuous-time Markov chain on X \mathcal{X} X . For x , y ∈ X x,y\in\mathcal{X} x , y ∈ X with y ≠ x y\ne x y = x , we denote by q t ( x , y ) ≥ 0 q_t(x,y)\ge0 q t ( x , y ) ≥ 0 the transition rate from state x x x to state y y y at time t t t . To model non-conservative dynamics, we further attach to each trajectory a nonnegative mass process ( m t ) t ∈ [ 0 , 1 ] (m_t)_{t\in[0,1]} ( m t ) t ∈ [ 0 , 1 ] satisfying
d d t log m t = g t ( x t ) (33) \frac{d}{dt}\log m_t = g_t(x_t) \tag*{(33)} d t d log m t = g t ( x t ) (33)
where g t ( x ) g_t(x) g t ( x ) is a state-dependent growth rate: positive values increase the mass carried by trajectories at state x x x , while negative values decrease it.
For each state x ∈ X x \in\mathcal{X} x ∈ X , we define
p t ( x ) = E [ m t 1 { x t = x } ] . (34) p_t(x) = \mathbb{E}\left[m_t\mathbf{1}_{\{x_t=x\}}\right]. \tag*{(34)} p t ( x ) = E [ m t 1 { x t = x } ] . (34)
This is the expected mass carried by trajectories that are located at state x x x at time t t t . Hence p t ( x ) p_t(x) p t ( x ) plays the role of the state-wise mass density in the discrete space, or say the nonnegative measure on X \mathcal{X} X . In contrast to a probability distribution, p t p_t p t is not required to sum to one:
∑ x ∈ X p t ( x ) = E [ m t ] . \sum_{x\in\mathcal{X}} p_t(x) = \mathbb{E}[m_t]. x ∈ X ∑ p t ( x ) = E [ m t ] .
The total mass may increase or decrease over time, depending on the state-dependent growth rate g t g_t g t .
Under the above assumptions, the weighted marginal satisfies the component-wise unbalanced Kolmogorov forward equation
∂ t p t ( x ) = ∑ y ≠ x p t ( y ) q t ( y , x ) − p t ( x ) ∑ y ≠ x q t ( x , y ) + p t ( x ) g t ( x ) , x ∈ X . (35) \partial_t p_t(x) = \sum_{y\ne x}p_t(y)q_t(y,x)-p_t(x)\sum_{y\ne x}q_t(x,y)+p_t(x)g_t(x), \qquad x\in\mathcal{X}. \tag*{(35)} ∂ t p t ( x ) = y = x ∑ p t ( y ) q t ( y , x ) − p t ( x ) y = x ∑ q t ( x , y ) + p t ( x ) g t ( x ) , x ∈ X . (35)
The first term describes the incoming mass flux into state x x x , the second term describes the outgoing mass flux from state x x x , and the last term describes local multiplication or decay of mass at state x x x . Hence the transition rates q t ( x , y ) q_t(x,y) q t ( x , y ) determine how mass is transported across states, whereas the growth rate g t ( x ) g_t(x) g t ( x ) determines how mass is created or removed locally.
Conditional and Marginal Dynamics
We now describe how travelling Diracs can be marginalized into the marginal dynamic flow. In the unbalanced setting, a conditional measure flow is specified by both endpoint states and endpoint masses. We write
z = ( ( x 0 , m 0 ) , ( x 1 , m 1 ) ) ∈ Z : = ( X × R ≥ 0 ) 2 , z=((x_0,m_0),(x_1,m_1))\in\mathcal{Z}:=(\mathcal{X}\times\mathbb{R}_{\ge0})^2, z = (( x 0 , m 0 ) , ( x 1 , m 1 )) ∈ Z := ( X × R ≥ 0 ) 2 ,
where x 0 , x 1 ∈ X x_0,x_1\in\mathcal{X} x 0 , x 1 ∈ X and m 0 , m 1 ≥ 0 m_0,m_1\ge0 m 0 , m 1 ≥ 0 . Let π \pi π be the distribution on Z \mathcal{Z} Z . For each z ∈ Z z\in\mathcal{Z} z ∈ Z , we construct a conditional flow by separating the total mass from the normalized discrete distribution. Let
m t ( z ) ≥ 0 , p ~ t ( ⋅ ∣ z ) ∈ P ( X ) , m_t(z)\ge0,\qquad\widetilde{p}_t(\cdot\mid z)\in\mathcal{P}(\mathcal{X}), m t ( z ) ≥ 0 , p t ( ⋅ ∣ z ) ∈ P ( X ) ,
with boundary conditions
m 0 ( z ) = m 0 , m 1 ( z ) = m 1 , p ~ 0 ( x ∣ z ) = 1 { x = x 0 } , p ~ 1 ( x ∣ z ) = 1 { x = x 1 } . m_0(z)=m_0,\qquad m_1(z)=m_1,\qquad\widetilde{p}_0(x\mid z)=\mathbf{1}_{\{x=x_0\}},\qquad\widetilde{p}_1(x\mid z)=\mathbf{1}_{\{x=x_1\}}. m 0 ( z ) = m 0 , m 1 ( z ) = m 1 , p 0 ( x ∣ z ) = 1 { x = x 0 } , p 1 ( x ∣ z ) = 1 { x = x 1 } .
The normalized path evolves conservatively according to
∂ t p ~ t ( x ∣ z ) = ∑ y ≠ x p ~ t ( y ∣ z ) q t ( y , x ∣ z ) − p ~ t ( x ∣ z ) ∑ y ≠ x q t ( x , y ∣ z ) , x ∈ X . (36) \partial_t\widetilde{p}_t(x\mid z)=\sum_{y\ne x}\widetilde{p}_t(y\mid z)q_t(y,x\mid z)-\widetilde{p}_t(x\mid z)\sum_{y\ne x}q_t(x,y\mid z),\qquad x\in\mathcal{X}. \tag*{(36)} ∂ t p t ( x ∣ z ) = y = x ∑ p t ( y ∣ z ) q t ( y , x ∣ z ) − p t ( x ∣ z ) y = x ∑ q t ( x , y ∣ z ) , x ∈ X . (36)
We then define the unbalanced conditional flow by
p t ( x ∣ z ) = m t ( z ) p ~ t ( x ∣ z ) . (37) p_t(x\mid z)=m_t(z)\widetilde{p}_t(x\mid z). \tag*{(37)} p t ( x ∣ z ) = m t ( z ) p t ( x ∣ z ) . (37)
Thus
p 0 ( x ∣ z ) = m 0 1 { x = x 0 } , p 1 ( x ∣ z ) = m 1 1 { x = x 1 } . p_0(x\mid z)=m_0\mathbf{1}_{\{x=x_0\}},\qquad p_1(x\mid z)=m_1\mathbf{1}_{\{x=x_1\}}. p 0 ( x ∣ z ) = m 0 1 { x = x 0 } , p 1 ( x ∣ z ) = m 1 1 { x = x 1 } .
The conditional growth rate is assigned to the mass dynamics:
g t ( x ∣ z ) = g t ( z ) : = ∂ t log m t ( z ) , x ∈ X . (38) g_t(x\mid z)=g_t(z):=\partial_t\log m_t(z),\qquad x\in\mathcal{X}. \tag*{(38)} g t ( x ∣ z ) = g t ( z ) := ∂ t log m t ( z ) , x ∈ X . (38)
Differentiating (3.5) and using (3.4) yields
∂ t p t ( x ∣ z ) = ∑ y ≠ x p t ( y ∣ z ) q t ( y , x ∣ z ) − p t ( x ∣ z ) ∑ y ≠ x q t ( x , y ∣ z ) + p t ( x ∣ z ) g t ( z ) . (39) \partial_t p_t(x\mid z)=\sum_{y\ne x}p_t(y\mid z)q_t(y,x\mid z)-p_t(x\mid z)\sum_{y\ne x}q_t(x,y\mid z)+p_t(x\mid z)g_t(z). \tag*{(39)} ∂ t p t ( x ∣ z ) = y = x ∑ p t ( y ∣ z ) q t ( y , x ∣ z ) − p t ( x ∣ z ) y = x ∑ q t ( x , y ∣ z ) + p t ( x ∣ z ) g t ( z ) . (39)
The marginal flow is obtained by averaging over the endpoint coupling:
p t ( x ) = ∫ Z p t ( x ∣ z ) π ( z ) d z , x ∈ X . (40) p_t(x)=\int_{\mathcal{Z}}p_t(x\mid z)\,\pi(z)\,\mathrm{d}z,\qquad x\in\mathcal{X}. \tag*{(40)} p t ( x ) = ∫ Z p t ( x ∣ z ) π ( z ) d z , x ∈ X . (40)
For every x x x with p t ( x ) > 0 p_t(x)>0 p t ( x ) > 0 , define the marginal transition and growth rates by
q t ( x , y ) = ∫ Z q t ( x , y ∣ z ) p t ( x ∣ z ) π ( z ) d z p t ( x ) , y ≠ x , (41) q_t(x,y)=\frac{\int_{\mathcal{Z}}q_t(x,y\mid z)p_t(x\mid z)\,\pi(z)\,\mathrm{d}z}{p_t(x)},\qquad y\ne x, \tag*{(41)} q t ( x , y ) = p t ( x ) ∫ Z q t ( x , y ∣ z ) p t ( x ∣ z ) π ( z ) d z , y = x , (41)
g t ( x ) = ∫ Z g t ( z ) p t ( x ∣ z ) π ( z ) d z p t ( x ) . (42) g_t(x)=\frac{\int_{\mathcal{Z}}g_t(z)p_t(x\mid z)\,\pi(z)\,\mathrm{d}z}{p_t(x)}. \tag*{(42)} g t ( x ) = p t ( x ) ∫ Z g t ( z ) p t ( x ∣ z ) π ( z ) d z . (42)
When p t ( x ) = 0 p_t(x)=0 p t ( x ) = 0 , the values of q t ( x , y ) q_t(x,y) q t ( x , y ) and g t ( x ) g_t(x) g t ( x ) can be chosen arbitrarily.
Under the above definitions, the marginal flow p t ( x ) p_t(x) p t ( x ) satisfies (3.3), as follows by differentiating (3.8) and applying (3.7) together with (3.9)–(3.10). Thus the marginal dynamics is induced by averaging conditional dynamics, with effective transition and growth rates weighted by the conditional mass at the current state.
The closed form of dynamic discrete WFR
Given the optimal semi-coupling of static WFR (2.21) ( a , b ) (a,b) ( a , b ) , we can sample the conditional variable z z z with probability P ( ( x i , a i j ) , ( x j , b i j ) ) ∝ a i j + b i j \mathbb{P}((x_i,a_{ij}),(x_j,b_{ij}))\propto a_{ij}+b_{ij} P (( x i , a ij ) , ( x j , b ij )) ∝ a ij + b ij , ∀ i , j \forall i,j ∀ i , j , and use the corresponding travelling Dirac with boundary mass ( ∣ a ∣ + ∣ b ∣ ) ( a i j a i j + b i j , b i j a i j + b i j ) (|a|+|b|)\left(\frac{a_{ij}}{a_{ij}+b_{ij}},\frac{b_{ij}}{a_{ij}+b_{ij}}\right) ( ∣ a ∣ + ∣ b ∣ ) ( a ij + b ij a ij , a ij + b ij b ij ) as the conditional flow p t ( x ∣ z ) p_t(x\mid z) p t ( x ∣ z ) . Then, the marginal measure path (3.8) is exactly the dynamic WFR flow (2.31). In this perspective, we can view the marginal transition and growth rate q t , g t q_t,g_t q t , g t as the Markovian reconstruction dynamics of the dynamic WFR flow.
In this case, the conditional variable z z z can be viewed as a discrete random variable with distribution π ( z ) \pi(z) π ( z ) . Therefore, the marginalization relation (3.8,3.9,3.10) are actually not intractable integrals, but summations.
p t ( x ) = ∑ z ∈ Z p t ( x ∣ z ) π ( z ) , x ∈ X , q t ( x , y ) = ∑ z ∈ Z q t ( x , y ∣ z ) p t ( x ∣ z ) π ( z ) p t ( x ) , g t ( x ) = ∑ z ∈ Z g t ( z ) p t ( x ∣ z ) π ( z ) p t ( x ) . (43) \begin{aligned}
p_t(x)&=\sum_{z\in\mathcal{Z}}p_t(x\mid z)\,\pi(z),\qquad x\in\mathcal{X},\\
q_t(x,y)&=\frac{\sum_{z\in\mathcal{Z}}q_t(x,y\mid z)p_t(x\mid z)\,\pi(z)}{p_t(x)},\\
g_t(x)&=\frac{\sum_{z\in\mathcal{Z}}g_t(z)p_t(x\mid z)\,\pi(z)}{p_t(x)}. \tag*{(43)}
\end{aligned} p t ( x ) q t ( x , y ) g t ( x ) = z ∈ Z ∑ p t ( x ∣ z ) π ( z ) , x ∈ X , = p t ( x ) ∑ z ∈ Z q t ( x , y ∣ z ) p t ( x ∣ z ) π ( z ) , = p t ( x ) ∑ z ∈ Z g t ( z ) p t ( x ∣ z ) π ( z ) . (43)
With π \pi π determined, it is sufficient to derive the conditional q t , g t q_t,g_t q t , g t from the travelling Diracs. When z = ( ( x i , a i j ) , ( x j , b i j ) ) z=((x_i,a_{ij}),(x_j,b_{ij})) z = (( x i , a ij ) , ( x j , b ij )) , the conditional flow is
p t ( ⋅ ∣ z ) = m t ( z ) ( ( 1 − k t ( z ) ) δ x i + k t ( z ) δ x j ) (44) p_t(\cdot\mid z)=m_t(z)\left((1-k_t(z))\delta_{x_i}+k_t(z)\delta_{x_j}\right) \tag*{(44)} p t ( ⋅ ∣ z ) = m t ( z ) ( ( 1 − k t ( z )) δ x i + k t ( z ) δ x j ) (44)
where m t ( z ) m_t(z) m t ( z ) , k t ( z ) k_t(z) k t ( z ) are determined by (15) with boundary ( ∣ a ∣ + ∣ b ∣ ) ( a i j a i j + b i j , b i j a i j + b i j ) (|a|+|b|)\left(\frac{a_{ij}}{a_{ij}+b_{ij}},\frac{b_{ij}}{a_{ij}+b_{ij}}\right) ( ∣ a ∣ + ∣ b ∣ ) ( a ij + b ij a ij , a ij + b ij b ij ) . Using (3.4,3.6), it is sufficient to set g t ( z ) = ∂ t ln m t ( z ) g_t(z)=\partial_t\ln m_t(z) g t ( z ) = ∂ t ln m t ( z ) , and find a conditional transition rates q t ( x , y ∣ z ) q_t(x,y\mid z) q t ( x , y ∣ z ) such that
∂ t p ~ t ( x ∣ z ) = ∑ y ≠ x p ~ t ( y ∣ z ) q t ( y , x ∣ z ) − p ~ t ( x ∣ z ) ∑ y ≠ x q t ( x , y ∣ z ) (45) \partial_t\widetilde{p}_t(x\mid z)=\sum_{y\ne x}\widetilde{p}_t(y\mid z)q_t(y,x\mid z)-\widetilde{p}_t(x\mid z)\sum_{y\ne x}q_t(x,y\mid z) \tag*{(45)} ∂ t p t ( x ∣ z ) = y = x ∑ p t ( y ∣ z ) q t ( y , x ∣ z ) − p t ( x ∣ z ) y = x ∑ q t ( x , y ∣ z ) (45)
where p ~ t ( x ∣ z ) = ( 1 − k t ( z ) ) δ x i + k t ( z ) δ x j \widetilde{p}_t(x\mid z)=(1-k_t(z))\delta_{x_i}+k_t(z)\delta_{x_j} p t ( x ∣ z ) = ( 1 − k t ( z )) δ x i + k t ( z ) δ x j . By direct calculation, we have
q t ( x i , x j ∣ z ) = ∂ t k t ( z ) 1 − k t ( z ) , i ≠ j , q t ( x i , y ∣ z ) = 0 , y ≠ x i , x j , q t ( x , y ∣ z ) = 0 , x ≠ x i (46) q_t(x_i,x_j\mid z)=\frac{\partial_t k_t(z)}{1-k_t(z)},\ i\ne j,\qquad q_t(x_i,y\mid z)=0,\ y\ne x_i,x_j,\qquad q_t(x,y\mid z)=0,\ x\ne x_i \tag*{(46)} q t ( x i , x j ∣ z ) = 1 − k t ( z ) ∂ t k t ( z ) , i = j , q t ( x i , y ∣ z ) = 0 , y = x i , x j , q t ( x , y ∣ z ) = 0 , x = x i (46)
Since q t q_t q t is a Markov generator, the diagonal elements are automatically determined by the off-diagonal elements.
Therefore, when N = ∣ X ∣ N=|\mathcal{X}| N = ∣ X ∣ is not so large, the summations are tractable. We can directly construct the closed form of discrete WFR via (43) .
Unbalanced discrete conditional flow matching objectives
When N = ∣ X ∣ N=|\mathcal{X}| N = ∣ X ∣ is too large to calculate the sums (43) , or for more general cases beyond WFR where z z z may be a continuous random variable, the marginals (3.8,3.9,3.10) are intractable. In order to approximate them numerically, we developed an unbalanced conditional discrete flow matching framework. Like conventional flow matching algorithms, one can implicitly regress the marginals by regressing the tractable conditionals.
We now define the learning objectives for unbalanced conditional discrete flow matching. The goal is to learn marginal transition rates and growth rates that generate the marginal target path. We parameterize the off-diagonal transition rates by q t θ ( x , y ) q_t^\theta(x,y) q t θ ( x , y ) , y ≠ x y\ne x y = x , and the growth rate by g t ϕ ( x ) g_t^\phi(x) g t ϕ ( x ) . Since the diagonal entries of a Markov generator are determined by the off-diagonal rates, we only match the outgoing off-diagonal rate vector. For x ∈ X x\in\mathcal{X} x ∈ X , define
⟨ u , v ⟩ x : = ∑ y ≠ x u ( y ) v ( y ) , ∥ v ∥ 2 , x 2 : = ⟨ v , v ⟩ x . (47) \langle u,v\rangle_x:=\sum_{y\ne x}u(y)v(y),\qquad\|v\|_{2,x}^2:=\langle v,v\rangle_x. \tag*{(47)} ⟨ u , v ⟩ x := y = x ∑ u ( y ) v ( y ) , ∥ v ∥ 2 , x 2 := ⟨ v , v ⟩ x . (47)
Here q t ( x , ⋅ ) q_t(x,\cdot) q t ( x , ⋅ ) denotes the vector { q t ( x , y ) : y ≠ x } \{q_t(x,y):y\ne x\} { q t ( x , y ) : y = x } .
Marginal UDFM objective. The marginal unbalanced discrete flow matching objective is a direct regression loss
L U D F M ( θ , ϕ ) = E t ∼ U [ 0 , 1 ] ∑ x ∈ X p t ( x ) [ ( 1 − t ) 2 ∥ q t θ ( x , ⋅ ) − q t ( x , ⋅ ) ∥ 2 , x 2 + λ ∣ g t ϕ ( x ) − g t ( x ) ∣ 2 ] , (48) \mathcal{L}_{\mathrm{UDFM}}(\theta,\phi)=\mathbb{E}_{t\sim U[0,1]}\sum_{x\in\mathcal{X}}p_t(x)\left[(1-t)^2\left\|q_t^\theta(x,\cdot)-q_t(x,\cdot)\right\|_{2,x}^2+\lambda\left|g_t^\phi(x)-g_t(x)\right|^2\right], \tag*{(48)} L UDFM ( θ , ϕ ) = E t ∼ U [ 0 , 1 ] x ∈ X ∑ p t ( x ) [ ( 1 − t ) 2 q t θ ( x , ⋅ ) − q t ( x , ⋅ ) 2 , x 2 + λ g t ϕ ( x ) − g t ( x ) 2 ] , (48)
where q t ( x , y ) q_t(x,y) q t ( x , y ) and g t ( x ) g_t(x) g t ( x ) are the marginal target fields defined in (41) and (42) .
Conditional UDFM objective. In practice, the marginal measure path and target fields may be intractable due to the integral. Instead, one can train directly against conditional bridge targets. This gives
L C U D F M ( θ , ϕ ) = E t ∼ U [ 0 , 1 ] ∫ Z ∑ x ∈ X p t ( x ∣ z ) [ ( 1 − t ) 2 ∥ q t θ ( x , ⋅ ) − q t ( x , ⋅ ∣ z ) ∥ 2 , x 2 + λ ∣ g t ϕ ( x ) − g t ( x ∣ z ) ∣ 2 ] π ( z ) d z . (49) \mathcal{L}_{\mathrm{CUDFM}}(\theta,\phi)=\mathbb{E}_{t\sim U[0,1]}\int_{\mathcal{Z}}\sum_{x\in\mathcal{X}}p_t(x\mid z)\left[(1-t)^2\left\|q_t^\theta(x,\cdot)-q_t(x,\cdot\mid z)\right\|_{2,x}^2+\lambda\left|g_t^\phi(x)-g_t(x\mid z)\right|^2\right]\pi(z)\,\mathrm{d}z. \tag*{(49)} L CUDFM ( θ , ϕ ) = E t ∼ U [ 0 , 1 ] ∫ Z x ∈ X ∑ p t ( x ∣ z ) [ ( 1 − t ) 2 q t θ ( x , ⋅ ) − q t ( x , ⋅ ∣ z ) 2 , x 2 + λ g t ϕ ( x ) − g t ( x ∣ z ) 2 ] π ( z ) d z . (49)
The next result shows that this conditional objective has the same gradient as the marginal objective.
Theorem 3.1 (Equivalence of UDFM and CUDFM). *Assume that p t ( x ) > 0 p_t(x)>0 p t ( x ) > 0 for all x ∈ X x\in\mathcal{X} x ∈ X and t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] . Let the marginal target fields be defined by (41) and (42) . Then
L U D F M ( θ , ϕ ) = L C U D F M ( θ , ϕ ) + C , (50) \mathcal{L}_{\mathrm{UDFM}}(\theta,\phi)=\mathcal{L}_{\mathrm{CUDFM}}(\theta,\phi)+C, \tag*{(50)} L UDFM ( θ , ϕ ) = L CUDFM ( θ , ϕ ) + C , (50) where C C C is independent of ( θ , ϕ ) (\theta,\phi) ( θ , ϕ ) . Consequently,
∇ θ , ϕ L U D F M ( θ , ϕ ) = ∇ θ , ϕ L C U D F M ( θ , ϕ ) . (51) \nabla_{\theta,\phi}\mathcal{L}_{\mathrm{UDFM}}(\theta,\phi)=\nabla_{\theta,\phi}\mathcal{L}_{\mathrm{CUDFM}}(\theta,\phi). \tag*{(51)} ∇ θ , ϕ L UDFM ( θ , ϕ ) = ∇ θ , ϕ L CUDFM ( θ , ϕ ) . (51)
Proof. The proof is provided in Supplementary Material B.7.
Remark 3.2. We did not use the cross-entropy loss used by the original discrete flow matching [10 ] here, because the loss equivalence for it only holds when all conditional flows share the same progress variable k ( t ) k(t) k ( t ) , which is not the case for WFR. For discrete OT where all travelling Diracs share the same k ( t ) = t k(t)=t k ( t ) = t , one can use the original discrete flow matching.
Remark 3.3. In practice, q t ( x , ⋅ ∣ z ) = O ( 1 1 − t ) q_t(x,\cdot\mid z)=O\left(\frac{1}{1-t}\right) q t ( x , ⋅ ∣ z ) = O ( 1 − t 1 ) as t → 1 t\to1 t → 1 . The weight ( 1 − t ) 2 (1-t)^2 ( 1 − t ) 2 is therefore added to avoid numerical instability.
The equivalence theorem justifies that training with conditional loss is equivalent to training with the marginal one. Therefore, one can regress the intractable marginal targets by regressing the tractable conditional targets. Given the dynamics q t ( x , y ) , g t ( x ) q_t(x,y),g_t(x) q t ( x , y ) , g t ( x ) , one can recover the measure path p t ( x ) p_t(x) p t ( x ) by simulating the master equation (35) from initial value p 0 ( x ) p_0(x) p 0 ( x ) .
Multiscale consistency
In practice, cell state annotations are often available at different resolutions. Therefore, a natural question is whether the reconstructed dynamics is consistent across multiscale annotations, or say, under state aggregation. Let X = { 1 , … , N } \mathcal{X}=\{1,\ldots,N\} X = { 1 , … , N } be a fine state space and X ‾ = { 1 , … , M } \overline{\mathcal{X}}=\{1,\ldots,M\} X = { 1 , … , M } a coarse state space. A surjective map P : X → X ‾ P:\mathcal{X}\to\overline{\mathcal{X}} P : X → X induces the partition B A = P − 1 ( A ) B_A=P^{-1}(A) B A = P − 1 ( A ) and the pushforward ( P # ρ ) A = ∑ i ∈ B A ρ i (P_{\#}\rho)_A=\sum_{i\in B_A}\rho_i ( P # ρ ) A = ∑ i ∈ B A ρ i . Let ρ , η ∈ M + ( X ) \rho,\eta\in\mathcal{M}_+(\mathcal{X}) ρ , η ∈ M + ( X ) , and write ρ ‾ = P # ρ \overline{\rho}=P_{\#}\rho ρ = P # ρ and η ‾ = P # η \overline{\eta}=P_{\#}\eta η = P # η . For convenience, define ζ i j = cos ( C i j 2 δ ) \zeta_{ij}=\cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right) ζ ij = cos ( 2 δ C ij ) , ζ ‾ A B = cos ( C ‾ A B 2 δ ) \overline{\zeta}_{AB}=\cos\left(\frac{\sqrt{\overline{C}_{AB}}}{2\delta}\right) ζ A B = cos ( 2 δ C A B ) , and assume C i j , C ‾ A B < δ 2 π 2 C_{ij},\overline{C}_{AB}<\delta^2\pi^2 C ij , C A B < δ 2 π 2 . The static WFR objective on the fine space can then be written as
J ζ ( a , b ) = ∑ i , j ( a i j + b i j − 2 ζ i j a i j b i j ) , \mathcal{J}_{\zeta}(a,b)=\sum_{i,j}\left(a_{ij}+b_{ij}-2\zeta_{ij}\sqrt{a_{ij}b_{ij}}\right), J ζ ( a , b ) = i , j ∑ ( a ij + b ij − 2 ζ ij a ij b ij ) ,
under
∑ j a i j = ρ i , ∑ i b i j = η j . \sum_j a_{ij}=\rho_i,\qquad\sum_i b_{ij}=\eta_j. j ∑ a ij = ρ i , i ∑ b ij = η j .
The squared WFR distance equals 4 δ 2 min a , b J ζ ( a , b ) 4\delta^2\min_{a,b}\mathcal{J}_{\zeta}(a,b) 4 δ 2 min a , b J ζ ( a , b ) . Given a fine semi-coupling ( a , b ) (a,b) ( a , b ) , define its aggregation by
a ‾ A B = ∑ i ∈ B A , j ∈ B B a i j , b ‾ A B = ∑ i ∈ B A , j ∈ B B b i j . (52) \overline{a}_{AB}=\sum_{i\in B_A,j\in B_B}a_{ij},\qquad\overline{b}_{AB}=\sum_{i\in B_A,j\in B_B}b_{ij}. \tag*{(52)} a A B = i ∈ B A , j ∈ B B ∑ a ij , b A B = i ∈ B A , j ∈ B B ∑ b ij . (52)
Theorem 4.1 (Exact consistency under block-homogeneous costs). Assume
C i j = C ‾ P ( i ) P ( j ) ∀ i , j . (53) C_{ij}=\overline{C}_{P(i)P(j)}\qquad\forall i,j. \tag*{(53)} C ij = C P ( i ) P ( j ) ∀ i , j . (53) Then
WFR δ ( ρ , η ) = WFR δ ( ρ ‾ , η ‾ ) . (54) \operatorname{WFR}_{\delta}(\rho,\eta)=\operatorname{WFR}_{\delta}(\overline{\rho},\overline{\eta}). \tag*{(54)} WFR δ ( ρ , η ) = WFR δ ( ρ , η ) . (54)
Moreover, if ( a , b ) (a,b) ( a , b ) is any fine-scale optimal semi-coupling, its aggregation ( a ˉ , b ˉ ) (\bar a,\bar b) ( a ˉ , b ˉ ) is coarse-scale optimal, and the corresponding dynamic WFR flow satisfy
P # μ t f i n e = μ t c o a r s e , t ∈ [ 0 , 1 ] , (55) P_{\#}\mu_t^{\mathrm{fine}}=\mu_t^{\mathrm{coarse}},\qquad t\in[0,1], \tag*{(55)} P # μ t fine = μ t coarse , t ∈ [ 0 , 1 ] , (55)
where the coarse path is reconstructed from ( a ˉ , b ˉ ) (\bar a,\bar b) ( a ˉ , b ˉ ) . Conversely, every coarse optimal semi-coupling admits a fine optimal lifting satisfying (4.4).
Proof. For any fine feasible ( a , b ) (a,b) ( a , b ) , its aggregation is coarse feasible. For each block pair ( A , B ) (A,B) ( A , B ) , Cauchy–Schwarz gives
∑ i ∈ B A , j ∈ B B a i j b i j ≤ a ˉ A B b ˉ A B . \sum_{i\in B_A,j\in B_B}\sqrt{a_{ij}b_{ij}}\leq\sqrt{\bar a_{AB}\bar b_{AB}}. i ∈ B A , j ∈ B B ∑ a ij b ij ≤ a ˉ A B b ˉ A B .
Using (4.2),
J ˉ ζ ˉ ( a ˉ , b ˉ ) ≤ J ζ ( a , b ) , \bar J_{\bar\zeta}(\bar a,\bar b)\leq J_\zeta(a,b), J ˉ ζ ˉ ( a ˉ , b ˉ ) ≤ J ζ ( a , b ) ,
and hence the coarse optimal value is no larger than the fine one.
For the other direction, let ( a ˉ , b ˉ ) (\bar a,\bar b) ( a ˉ , b ˉ ) be coarse feasible. For i ∈ B A i\in B_A i ∈ B A and j ∈ B B j\in B_B j ∈ B B , define
p i A = ρ i ρ ˉ A , q j B = η j η ˉ B , p_i^A=\frac{\rho_i}{\bar\rho_A},\qquad q_j^B=\frac{\eta_j}{\bar\eta_B}, p i A = ρ ˉ A ρ i , q j B = η ˉ B η j ,
whenever the denominators are positive; if a block has zero total mass, choose an arbitrary probability vector on that block. Set
a i j = p i A q j B a ˉ A B , b i j = p i A q j B b ˉ A B . (56) a_{ij}=p_i^Aq_j^B\bar a_{AB},\qquad b_{ij}=p_i^Aq_j^B\bar b_{AB}. \tag*{(56)} a ij = p i A q j B a ˉ A B , b ij = p i A q j B b ˉ A B . (56)
This is a fine feasible semi-coupling, and we have
a i j b i j = p i A q j B a ˉ A B b ˉ A B . \sqrt{a_{ij}b_{ij}}=p_i^Aq_j^B\sqrt{\bar a_{AB}\bar b_{AB}}. a ij b ij = p i A q j B a ˉ A B b ˉ A B .
Summing over each block pair ( A , B ) (A,B) ( A , B ) gives
J ζ ( a , b ) = J ˉ ζ ˉ ( a ˉ , b ˉ ) . J_\zeta(a,b)=\bar J_{\bar\zeta}(\bar a,\bar b). J ζ ( a , b ) = J ˉ ζ ˉ ( a ˉ , b ˉ ) .
Thus, WFR δ ( ρ , η ) = WFR δ ( ρ ˉ , η ˉ ) \operatorname{WFR}_{\delta}(\rho,\eta)=\operatorname{WFR}_{\delta}(\bar\rho,\bar\eta) WFR δ ( ρ , η ) = WFR δ ( ρ ˉ , η ˉ ) .
Now let ( a , b ) (a,b) ( a , b ) be fine optimal. Since its aggregation is also optimal, all blockwise Cauchy–Schwarz inequalities above must be equalities. Hence, for every active block pair ( A , B ) (A,B) ( A , B ) , there exist λ i j ≥ 0 \lambda_{ij}\geq0 λ ij ≥ 0 with ∑ i , j λ i j = 1 \sum_{i,j}\lambda_{ij}=1 ∑ i , j λ ij = 1 such that
a i j = λ i j a ˉ A B , b i j = λ i j b ˉ A B . (57) a_{ij}=\lambda_{ij}\bar a_{AB},\qquad b_{ij}=\lambda_{ij}\bar b_{AB}. \tag*{(57)} a ij = λ ij a ˉ A B , b ij = λ ij b ˉ A B . (57)
Since the travelling Dirac is positively homogeneous in its endpoint masses, we have
μ t i j = m i j ( t ) [ ( 1 − k i j ( t ) ) δ x i + k i j ( t ) δ x j ] = λ i j m A B ( t ) [ ( 1 − k A B ( t ) ) δ x i + k A B ( t ) δ x j ] (58) \mu_t^{ij}=m_{ij}(t)[(1-k_{ij}(t))\delta_{x_i}+k_{ij}(t)\delta_{x_j}]
=\lambda_{ij}m_{AB}(t)[(1-k_{AB}(t))\delta_{x_i}+k_{AB}(t)\delta_{x_j}] \tag*{(58)} μ t ij = m ij ( t ) [( 1 − k ij ( t )) δ x i + k ij ( t ) δ x j ] = λ ij m A B ( t ) [( 1 − k A B ( t )) δ x i + k A B ( t ) δ x j ] (58)
Therefore,
∑ i ∈ B A , j ∈ B B P # μ t i j = ∑ i ∈ B A , j ∈ B B λ i j ⋅ ( m A B ( t ) [ ( 1 − k A B ( t ) ) δ A + k A B ( t ) δ B ] ) = μ t A B , \sum_{i\in B_A,j\in B_B}P_{\#}\mu_t^{ij}
=
\sum_{i\in B_A,j\in B_B}\lambda_{ij}\cdot\left(m_{AB}(t)[(1-k_{AB}(t))\delta_A+k_{AB}(t)\delta_B]\right)
=\mu_t^{AB}, i ∈ B A , j ∈ B B ∑ P # μ t ij = i ∈ B A , j ∈ B B ∑ λ ij ⋅ ( m A B ( t ) [( 1 − k A B ( t )) δ A + k A B ( t ) δ B ] ) = μ t A B ,
and summing over all block pairs yields (4.4). The lifting (4.5) gives the converse. ∎
This theorem shows that, under the block-homogeneous cost condition (4.2), the coarse-scale dynamics and the fine-scale dynamics correspond exactly. However, in practice, fine states within one coarse class generally have slightly different pairwise costs. We next quantify the resulting error. We define the geometric distortion
ε = max i , j ∣ C i j − C ˉ P ( i ) P ( j ) ∣ . (59) \varepsilon=\max_{i,j}\left|C_{ij}-\bar{C}_{P(i)P(j)}\right|. \tag*{(59)} ε = i , j max C ij − C ˉ P ( i ) P ( j ) . (59)
By direct calculation, we have
∣ ζ i j − ζ ˉ P ( i ) P ( j ) ∣ = ∣ cos C i j 2 δ − cos C ˉ P ( i ) P ( j ) 2 δ ∣ ≤ 1 2 ∣ ( C i j 2 δ ) 2 − ( C ˉ P ( i ) P ( j ) 2 δ ) 2 ∣ = 1 8 δ 2 ∣ C i j − C ˉ P ( i ) P ( j ) ∣ ≤ ε 8 δ 2 . (60) \begin{aligned}
\left|\zeta_{ij}-\bar{\zeta}_{P(i)P(j)}\right|
=\left|\cos\frac{\sqrt{C_{ij}}}{2\delta}-\cos\frac{\sqrt{\bar{C}_{P(i)P(j)}}}{2\delta}\right| \\
&\leq\frac{1}{2}\left|\left(\frac{\sqrt{C_{ij}}}{2\delta}\right)^2-\left(\frac{\sqrt{\bar{C}_{P(i)P(j)}}}{2\delta}\right)^2\right|
=\frac{1}{8\delta^2}\left|C_{ij}-\bar{C}_{P(i)P(j)}\right|
\leq\frac{\varepsilon}{8\delta^2}. \tag*{(60)}
\end{aligned} ζ ij − ζ ˉ P ( i ) P ( j ) = cos 2 δ C ij − cos 2 δ C ˉ P ( i ) P ( j ) ≤ 2 1 ( 2 δ C ij ) 2 − 2 δ C ˉ P ( i ) P ( j ) 2 = 8 δ 2 1 C ij − C ˉ P ( i ) P ( j ) ≤ 8 δ 2 ε . (60)
Proposition 4.2 (Total mass stability under approximate aggregation). Let R = ∣ ρ ∣ , S = ∣ η ∣ R=|\rho|, S=|\eta| R = ∣ ρ ∣ , S = ∣ η ∣ . Then
∣ W F R δ 2 ( ρ , η ) − W F R δ 2 ( ρ ˉ , η ˉ ) ∣ ≤ ε R S . (61) \left|\mathrm{WFR}_{\delta}^{2}(\rho,\eta)-\mathrm{WFR}_{\delta}^{2}(\bar{\rho},\bar{\eta})\right|\leq\varepsilon\sqrt{RS}. \tag*{(61)} WFR δ 2 ( ρ , η ) − WFR δ 2 ( ρ ˉ , η ˉ ) ≤ ε R S . (61) Furthermore, if M f ( t ) M_f(t) M f ( t ) and M c ( t ) M_c(t) M c ( t ) denote the total masses along any optimal fine and coarse WFR flows, respectively, then
∣ M f ( t ) − M c ( t ) ∣ ≤ t ( 1 − t ) 4 δ 2 ε R S (62) \left|M_f(t)-M_c(t)\right|\leq\frac{t(1-t)}{4\delta^2}\varepsilon\sqrt{RS} \tag*{(62)} ∣ M f ( t ) − M c ( t ) ∣ ≤ 4 δ 2 t ( 1 − t ) ε R S (62) and, for R , S > 0 R,S>0 R , S > 0 ,
sup t ∈ [ 0 , 1 ] ∣ M f ( t ) − M c ( t ) ∣ M c ( t ) ≤ ε 8 δ 2 . (63) \sup_{t\in[0,1]}\frac{\left|M_f(t)-M_c(t)\right|}{M_c(t)}\leq\frac{\varepsilon}{8\delta^2}. \tag*{(63)} t ∈ [ 0 , 1 ] sup M c ( t ) ∣ M f ( t ) − M c ( t ) ∣ ≤ 8 δ 2 ε . (63)
Proof. The proof is provided in Supplementary Material B.8.
Proposition 4.2 provides a quantitative characterization of the relative mass error (RME) between the coarse-scale and fine-scale dynamics, showing that the error is bounded linearly in terms of the geometric distortion (4.8). For the stability of the full state-composition measure flow, we have the following convergence proposition.
Proposition 4.3 (Measure flow convergence under state aggregation). Let { C ( n ) } n ≥ 1 \{\mathcal{C}^{(n)}\}_{n\geq1} { C ( n ) } n ≥ 1 be a sequence of fine-scale costs satisfying C i j ( n ) , C ˉ A B < δ 2 π 2 C_{ij}^{(n)},\bar{C}_{AB}<\delta^2\pi^2 C ij ( n ) , C ˉ A B < δ 2 π 2 and a sequence of geometric distortion
ε n : = max i , j ∣ C i j ( n ) − C ˉ P ( i ) P ( j ) ∣ ⟶ 0. (64) \varepsilon_n:=\max_{i,j}\left|C_{ij}^{(n)}-\bar{C}_{P(i)P(j)}\right|\longrightarrow0. \tag*{(64)} ε n := i , j max C ij ( n ) − C ˉ P ( i ) P ( j ) ⟶ 0. (64) For each n n n , let ( a ( n ) , b ( n ) ) (a^{(n)},b^{(n)}) ( a ( n ) , b ( n ) ) be an arbitrary optimal fine-scale semi-coupling under the cost C ( n ) C^{(n)} C ( n ) , and let μ t ( n ) \mu_t^{(n)} μ t ( n ) be its corresponding dynamic WFR flow. Then every subsequential limit of P # μ t ( n ) P_{\#}\mu_t^{(n)} P # μ t ( n ) , with respect to the norm sup t ∈ [ 0 , 1 ] ∥ ⋅ ∥ 1 \sup_{t\in[0,1]}\|\cdot\|_1 sup t ∈ [ 0 , 1 ] ∥ ⋅ ∥ 1 , is an optimal coarse-scale WFR flow. In particular, if the coarse optimal WFR flow μ ˉ t ∗ \bar{\mu}_t^* μ ˉ t ∗ is unique, then
sup t ∈ [ 0 , 1 ] ∥ P # μ t ( n ) − μ ˉ t ∗ ∥ 1 ⟶ 0. (65) \sup_{t\in[0,1]}\left\|P_{\#}\mu_t^{(n)}-\bar{\mu}_t^*\right\|_1\longrightarrow0. \tag*{(65)} t ∈ [ 0 , 1 ] sup P # μ t ( n ) − μ ˉ t ∗ 1 ⟶ 0. (65)
If R , S > 0 R,S>0 R , S > 0 , then the normalized measure flows also converge uniformly in total variation:
sup t ∈ [ 0 , 1 ] TV ( P # μ t ( n ) ∣ P # μ t ( n ) ∣ , μ ˉ t ∣ μ ˉ t ∣ ) ⟶ 0. (66) \sup_{t\in[0,1]} \operatorname{TV}\left(\frac{P_{\#}\mu_t^{(n)}}{\lvert P_{\#}\mu_t^{(n)}\rvert},\frac{\bar{\mu}_t}{\lvert\bar{\mu}_t\rvert}\right)\longrightarrow0. \tag*{(66)} t ∈ [ 0 , 1 ] sup TV ( ∣ P # μ t ( n ) ∣ P # μ t ( n ) , ∣ μ ˉ t ∣ μ ˉ t ) ⟶ 0. (66)
Proof. The proof is provided in Supplementary Material B.9.
These results show that discrete WFR commutes exactly with state aggregation under block-homogeneous condition and remains stable under small within-block geometric distortion. This provides a theoretical justification for comparing fine-to-coarse inference with direct coarse inference in § 5.3.3 . In practice, discrete WFR modeling is theoretically robust to cell type annotation resolution.
Numerical results
In this section, we compute dynamic discrete WFR flows on several synthetic and real world datasets. Unless otherwise specified, we use the closed form solution directly and perform inference by integrating the master equation. The corresponding algorithm is called WFR-DFM (WFR discrete flow matching).
For each biological dataset, we are given several cell by gene transcriptomic matrices, each corresponding to an observation time point. Each matrix entry records the RNA count of a particular gene in a particular cell. We first reduce the dimensionality of the data and then group the cells into a finite set of discrete states according to the provided cell type annotations. The position of each state in the reduced dimensional space is defined as the centroid of its constituent cells. The edge weight between two states is defined as the squared Euclidean distance between their centroids. Finally, the measure at each observation time point is naturally determined by the total number of observed cells and their proportions across the discrete states. The details of synthetic data generation and real data processing are left to the supplementary material.
The necessity of WFR
In biological processes, cells not only shift their gene expression, but also divide or die. To faithfully recover the cellular dynamics, it is necessary to simultaneously model both state transition and population growth. To demonstrate the necessity of applying WFR rather than balanced OT, we calculate the dynamics induced by OT and WFR on a four-state synthetic system with states A , B , C , D A,B,C,D A , B , C , D . The ground-truth measure was generated by
μ ˙ t = Q t r u e T μ t + g t r u e ⊙ μ t , (67) \dot{\mu}_t=Q_{\mathrm{true}}^{\mathsf{T}}\mu_t+g_{\mathrm{true}}\odot\mu_t, \tag*{(67)} μ ˙ t = Q true T μ t + g true ⊙ μ t , (67)
with
Q t r u e = ( − 0.6 0.6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ) , (68) Q_{\mathrm{true}}=
\begin{pmatrix}
-0.6 & 0.6 & 0 & 0\\
0 & 0 & 0 & 0\\
0 & 0 & 0 & 0\\
0 & 0 & 0 & 0
\end{pmatrix}, \tag*{(68)} Q true = − 0.6 0 0 0 0.6 0 0 0 0 0 0 0 0 0 0 0 , (68)
g t r u e = ( 0 , 0 , − 1.4 , 1.6 ) T , μ 0 = ( 0.45 , 0.15 , 0.38 , 0.02 ) T . g_{\mathrm{true}}=(0,0,-1.4,1.6)^{\mathsf{T}},\qquad\mu_0=(0.45,0.15,0.38,0.02)^{\mathsf{T}}. g true = ( 0 , 0 , − 1.4 , 1.6 ) T , μ 0 = ( 0.45 , 0.15 , 0.38 , 0.02 ) T .
That is, the only transport edge is A → B A\to B A → B with transport rate 0.6. State C C C is isolated from transport and undergoes pure death, whereas state D D D is isolated from transport and undergoes pure growth. The observations μ 0 , μ 1 , μ 2 \mu_0,\mu_1,\mu_2 μ 0 , μ 1 , μ 2 were taken at t = 0 , 1 , 2 t=0,1,2 t = 0 , 1 , 2 . The resulting total masses 1.0000, 0.7928, and 1.1138. The ground cost was defined by C i i = 0 C_{ii}=0 C ii = 0 , C A B = C B A = 0.25 C_{AB}=C_{BA}=0.25 C A B = C B A = 0.25 , and C i j = 5 C_{ij}=5 C ij = 5 for all remaining i ≠ j i\ne j i = j . Ground-truth transition flows on edge i → j i\to j i → j were obtained by integrating μ i ( t ) q i j ( t ) \mu_i(t)q_{ij}(t) μ i ( t ) q ij ( t ) .
We calculate the WFR dynamics (δ = 1 \delta= 1 δ = 1 ) and the balanced OT dynamics in that synthetic system, and predict the measures at the time point 1, 2, denoted as μ ^ 1 , μ ^ 2 \hat{\mu}_1,\hat{\mu}_2 μ ^ 1 , μ ^ 2 . The predictions were obtained by using μ 0 \mu_0 μ 0 as initial measure, and integrating (5.1) with predicted Q t , g t Q_t,g_t Q t , g t . To measure the accuracy of measure prediction, we calculated the total variation (TV) between normalized true measure and normalized predicted measure, and the relative mass error (RME) between the two measures.
TV n o r m a l i z e d ( ρ , η ) = 1 2 ∑ x ∈ X ∣ ρ ( x ) ∣ ρ ∣ − η ( x ) ∣ η ∣ ∣ , RME ( ρ , η ) = ∣ ∣ ρ ∣ − ∣ η ∣ ∣ ∣ η ∣ . (69) \operatorname{TV}_{\mathrm{normalized}}(\rho,\eta)=\frac{1}{2}\sum_{x\in\mathcal{X}}\left|\frac{\rho(x)}{|\rho|}-\frac{\eta(x)}{|\eta|}\right|,\qquad\operatorname{RME}(\rho,\eta)=\frac{\left||\rho|-|\eta|\right|}{|\eta|}. \tag*{(69)} TV normalized ( ρ , η ) = 2 1 x ∈ X ∑ ∣ ρ ∣ ρ ( x ) − ∣ η ∣ η ( x ) , RME ( ρ , η ) = ∣ η ∣ ∣ ∣ ρ ∣ − ∣ η ∣ ∣ . (69)
TV quantifies the difference in shape between the two measures, whereas RME quantifies the difference in their total mass. As shown in Table 1 , macroscopically, both OT and WFR can recover the normalized measure, while OT fails to recover the total mass since it did not model the growth. The microscopic transport comparison provides evidence independent of total mass prediction. Balanced OT assigned 83% of its interval flows, respectively, to edges outside the true A → B A \to B A → B support, thereby representing the death of C C C and growth of D D D as spurious transport. In contrast, WFR recovered only the A → B A \to B A → B edge for every tested value, with no spurious flow (10 − 11 10^{-11} 1 0 − 11 ). This microscopic result shows that although both methods can connect the snapshots accurately, they achieve this by different dynamics. Balanced OT tends to compensate the birth-death dynamics by spurious transports. Therefore, it is necessary to simultaneously model the growth rate, in order to recover the true transport dynamics.
Table 1. Comparison of WFR and balanced OT on synthetic system. TV, RME are averaged over timepoint 1, 2.
Unbalanced discrete flow matching recovers the solution
We evaluated whether unbalanced discrete conditional flow matching (CFM) recovers the discrete WFR measure path (Direct) on a seven-state real EMCC data, a 50-state synthetic problem, a 1,000-state synthetic problem. Each dataset contains four observation time points, and each interval between two consecutive time points is uniformly divided into ten subintervals. Excluding the initial time point, this yields 30 evaluation time points in total. We train CFM using the four observed time points, then perform inference from time zero following the learned dynamics and evaluate the resulting trajectories at these 30 time points. CFM was trained for 1,000 steps on the 50-state problem and EMCC and for 10,000 steps on the 1,000-state problem. We used the same network architecture in all experiments. The transition rates and growth rates were parameterized by two separate five layer neural networks, each with 128 hidden units per layer. The TV and RME were evaluated between the direct solution and the numerical solution and averaged over all evaluation time points. Since total variation does not account for differences in the distances between states, we additionally computed the normalized Wasserstein distance between the normalized direct solution and numerical solution at each evaluation time point, normalized by the maximum value of the edge weight C i j C_{ij} C ij .
W ( μ ^ , μ ) = 1 max i j C i j min γ ∈ Π ( μ ^ / ∣ μ ^ ∣ , μ / ∣ μ ∣ ) ∑ i j C i j γ i j \mathcal{W}(\hat{\mu},\mu)=\frac{1}{\max_{ij} C_{ij}}\min_{\gamma\in\Pi(\hat{\mu}/|\hat{\mu}|,\mu/|\mu|)}\sum_{ij}C_{ij}\gamma_{ij} W ( μ ^ , μ ) = max ij C ij 1 γ ∈ Π ( μ ^ /∣ μ ^ ∣ , μ /∣ μ ∣ ) min ij ∑ C ij γ ij
The average normalized Wasserstein distance over all evaluation time points were reported.
As shown in Table 2 , CFM reproduced the Direct measure flow with small RME in all three settings. The TV was below 0.04 on the 50-state toy and EMCC and remained 0.114 in the substantially larger 1,000-state problem. Nevertheless, W \mathcal{W} W remained close to 10 − 3 10^{-3} 1 0 − 3 in all three datasets, showing that the residual distributional discrepancy was concentrated between nearby states. These results verify that CFM can recover the marginal WFR solution without explicitly constructing marginal training targets.
Table 2. Mean TV, RME, and normalized Wasserstein distance between closed form solution and CFM solution.
Application to real biological data
We evaluated WFR-DFM on three single-cell datasets covering dynamic reconstruction, temporal interpolation, and robustness to annotation resolution. In all analyses, annotated cell types defined the discrete states, and distances between their mean gene expression profiles defined the WFR ground cost. Preprocessing and analysis settings are described in Supplementary Material A.2.
WFR-DFM reconstructs the dynamics of Mouse hematopoietic differentiation
We analysed a lineage traced mouse hematopoietic differentiation dataset containing 96,371 cells sampled on days 2, 4 and 6 [34 ] . We focused on the neutrophil and monocyte differentiation branch and retained three annotated cell states: undifferentiated cells, monocytes and neutrophils. Further dataset details are provided in Supplementary Material A.2.1. Figure 1 a summarizes the differentiation from undifferentiated progenitors toward monocytes and neutrophils supported by lineage tracing [34 ] , providing a biological reference for comparison with the reconstructed dynamics.
Figure 1. Reconstructed dynamics of mouse hematopoietic differentiation. a, Literature supported differentiation from undifferentiated progenitors toward monocytes and neutrophils [34 ] . b, Pairwise expression distances between the three cell states used to define the WFR ground cost. c, Reconstructed WFR dynamics between consecutive observations. Node labels show sampling adjusted cell numbers. Ribbons represent inferred transitions, and changes in ribbon width reflect net population gain or loss.
The expression distance matrix shows that the distance between undifferentiated cells and either of the two mature cell states is smaller than the distance between monocytes and neutrophils (Figure 1 b). This is consistent with the biological understanding that undifferentiated cells can differentiate into Monocyte and Neutrophil, whereas Monocyte and Neutrophil cannot naturally transition into one another. WFR-DFM reconstructed the dynamics over day 2 to day 4 and day 4 to day 6 intervals (Figure 1 c). The inferred dynamics show that the undifferentiated cell population initially increases and continuously differentiates into monocytes and neutrophils over both time intervals, consistent with the two differentiation branches supported by existing biological knowledge[34 ] . These results demonstrate that WFR-DFM can reconstruct biologically consistent continuous-time dynamics from sparsely observed snapshots.
WFR-DFM interpolates the unobserved time point on developing mouse brain
To further evaluate WFR-DFM quantitatively, we test WFR-DFM on a developing mouse brain dataset. It contains 120,576 cells collected at nine embryonic time points from E8.0 to E16.0 [15 ] . Seven annotated neural cell types were retained, including neural tube cells, radial glia, neuroblasts, neurons, glioblasts, oligodendrocytes and ependymal cells. Dataset construction and interpolation settings are described in Supplementary Material A.2.2. We evaluated temporal interpolation by holding out one time point at a time. For each excluded time point, only neighboring observations were used to construct the WFR bridge, and the inferred distribution was evaluated at the held-out time point.
We assessed interpolation accuracy from two complementary perspectives: recovery of cell type abundance and recovery of cell type composition. Figure 2 a compares predicted and observed abundances for each cell type at held-out time points. The strong agreement on the logarithmic scale (R 2 = 0.928 R^2 = 0.928 R 2 = 0.928 ) indicates accurate recovery of cell type abundance at held-out time points.
Figure 2. Held-out interpolation of developmental dynamics in developing mouse brain. a, Recovery of cell type abundances at excluded time points. Each color corresponds to one held-out time point, containing seven points representing the seven cell types. The x x x −axis shows the observed abundance and the y y y −axis shows the WFR predicted abundance. Values are shown as log ( 1 + n ) \log(1+n) log ( 1 + n ) , and the dashed line indicates exact agreement. b, Recovery of cell type composition at excluded time points. Each bar represents the composition agreement for one interpolation task, defined as 1 − T V 1-\mathrm{TV} 1 − TV between predicted and observed normalized compositions. The dashed line indicates the mean composition agreement across all interpolation tasks.
In addition to abundance reconstruction, we evaluated whether the relative composition of cell types was preserved at held-out time points. Figure 2 b summarizes the composition agreement, defined as 1 − T V 1 - \mathrm{TV} 1 − TV , across the seven interpolation tasks. The mean TV across these tasks is 0.113, corresponding to a mean composition agreement of 88.7%. Together, these results show that WFR-DFM can interpolate developmental dynamics at unobserved time points by recovering both cell type abundance and composition from neighbouring observations.
Consistency across annotation resolutions
Cell annotations are often available at different resolutions, ranging from fine subtypes to broader cell classes. We evaluated the sensitivity of WFR inference to annotation resolution using the embryonic mouse cerebral cortex (EMCC) dataset [38 ] , which contains 6,316 cells collected at four time points (E11.5, E13.5, E15.5 and E17.5) and annotated at two resolutions. At the fine resolution, the data is annotated into seven cell types spanning progenitor, intermediate progenitor and neuronal states. At coarse resolution, it is annotated into four. We compared two analysis strategies. In the first, WFR trajectories were inferred using the seven annotated cell types and then aggregated into four coarse cell classes. In the second, the observations were first aggregated into the same four classes, and WFR was fitted directly at the coarse resolution. Dataset preprocessing and the detailed aggregation procedure are provided in Supplementary Material A.2.3. The two strategies produced highly consistent coarse trajectories across developmental time (Figure 3 a). The fine to coarse trajectories closely overlapped with those obtained from direct coarse inference, while both approaches matched the observed coarse abundances.
Figure 3. Consistency of WFR trajectories across annotation resolutions. a, Comparison of coarse trajectories obtained from two strategies: aggregating the trajectories inferred from seven fine cell types into four coarse cell classes (fine to coarse), and directly fitting WFR using the four coarse cell classes (direct coarse). Each panel shows one coarse cell class. Open circles indicate the observed coarse abundances, whereas solid and dashed curves represent the two reconstructed trajectories. b, Mean path errors for each developmental interval between the two reconstruction strategies. Errors are evaluated over the intermediate positions of each WFR bridge and quantified using total variation (TV) and relative mass error (RME).
To quantify the agreement between the two inferred trajectories, we evaluated the discrepancy at 201 equally spaced path positions for each WFR bridge. The two shared endpoints were excluded, and the mean path errors were computed over the remaining intermediate positions:
M e a n T V = 1 N ∑ k = 1 N T V ( μ k f i n e → c o a r s e ∣ μ k f i n e → c o a r s e ∣ , μ k d i r e c t c o a r s e ∣ μ k d i r e c t c o a r s e ∣ ) \mathrm{Mean\ TV} = \frac{1}{N}\sum_{k=1}^{N}\mathrm{TV}\left(\frac{\mu_k^{\mathrm{fine}\to\mathrm{coarse}}}{\lvert\mu_k^{\mathrm{fine}\to\mathrm{coarse}}\rvert},\frac{\mu_k^{\mathrm{direct\ coarse}}}{\lvert\mu_k^{\mathrm{direct\ coarse}}\rvert}\right) Mean TV = N 1 k = 1 ∑ N TV ( ∣ μ k fine → coarse ∣ μ k fine → coarse , ∣ μ k direct coarse ∣ μ k direct coarse )
where N = 199 N=199 N = 199 denotes the number of intermediate path positions. Here, μ k f i n e → c o a r s e \mu_k^{\mathrm{fine}\to\mathrm{coarse}} μ k fine → coarse and μ k d i r e c t c o a r s e \mu_k^{\mathrm{direct\ coarse}} μ k direct coarse denote the coarse state measures at the k k k th intermediate path position obtained from the two strategies, respectively. The mean RME was computed analogously. The resulting discrepancies remained small across all developmental intervals (Figure 3 b), with mean path errors on the order of 10 − 3 10^{-3} 1 0 − 3 . These results suggest that, under this aggregation scheme, WFR inference is robust to annotation resolution.
Conclusion
This paper proposes a dynamic discrete Wasserstein–Fisher–Rao (WFR) framework for reconstructing unbalanced population dynamics on discrete state spaces. Building on the travelling Dirac technique, we construct a dynamic realization of the static WFR problem. We further derive an explicit unbalanced Markov representation of WFR measure flows, in which state-dependent transition rates and growth rates jointly characterize state transitions and mass variation. When direct marginalization is intractable, unbalanced discrete conditional flow matching provides a scalable approximation by learning tractable conditional targets. We also characterize the behavior of the framework under state aggregation, establishing exact consistency for block-homogeneous costs and stability under small geometric perturbations. Numeric experiments on synthetic data show that explicitly modeling growth prevents changes in mass from being spuriously interpreted as state transitions. Applications to single-cell transcriptomic data further demonstrate biologically consistent dynamical reconstruction, temporal interpolation, and robustness across different annotation resolutions.
Future work may extend the multiscale robustness analysis to continuous spaces, with the goal of establishing a connection between the continuous limit of WFR flows on discretized state spaces and WFR flows in continuous spaces. Such a theory could provide a foundation for developing efficient multiscale algorithms for WFR dynamics in continuous state spaces.
Dataset details
Synthetic datasets
50-state synthetic data generation
The 50-state synthetic data consists of states { x i } i = 1 50 \{x_i\}_{i=1}^{50} { x i } i = 1 50 sampled independently from U [ 0 , 1 ] 2 \mathcal{U}[0,1]^2 U [ 0 , 1 ] 2 . The edge weights are calculated as C i j = ∥ x i − x j ∥ 2 2 C_{ij}=\lVert x_i-x_j\rVert_2^2 C ij = ∥ x i − x j ∥ 2 2 . At the four observation time points, the observed measures are supported on
S 0 = { 1 , … , 18 } , S 1 = { 9 , … , 30 } , S 2 = { 21 , … , 43 } , S 3 = { 33 , … , 50 } . S_0=\{1,\ldots,18\},\quad S_1=\{9,\ldots,30\},\quad S_2=\{21,\ldots,43\},\quad S_3=\{33,\ldots,50\}. S 0 = { 1 , … , 18 } , S 1 = { 9 , … , 30 } , S 2 = { 21 , … , 43 } , S 3 = { 33 , … , 50 } .
so consecutive distributions have partially overlapping supports. For i ∈ S k i\in S_k i ∈ S k , the mass is defined as
μ k ( i ) = ℓ k + exp [ − 1 2 ( i − i ˉ k 5.5 ) 2 ] + ε k , i , ( ℓ 0 , ℓ 1 , ℓ 2 , ℓ 3 ) = ( 0.5 , 0.8 , 1.1 , 1.4 ) . \mu_k(i)=\ell_k+\exp\left[-\frac{1}{2}\left(\frac{i-\bar{i}_k}{5.5}\right)^2\right]+\varepsilon_{k,i},\qquad(\ell_0,\ell_1,\ell_2,\ell_3)=(0.5,0.8,1.1,1.4). μ k ( i ) = ℓ k + exp [ − 2 1 ( 5.5 i − i ˉ k ) 2 ] + ε k , i , ( ℓ 0 , ℓ 1 , ℓ 2 , ℓ 3 ) = ( 0.5 , 0.8 , 1.1 , 1.4 ) .
where i ˉ k \bar{i}_k i ˉ k is the midpoint of S k S_k S k and ε k , i ∼ i . i . d . U [ 0 , 0.15 ] \varepsilon_{k,i}\overset{\mathrm{i.i.d.}}{\sim}\mathcal{U}[0,0.15] ε k , i ∼ i.i.d. U [ 0 , 0.15 ] . Thus, the synthetic data exhibits both support displacement and changes in total mass.
1000-state synthetic data generation
The 1000-state space is obtained from a regular 32 × 32 32\times32 32 × 32 grid on [ 0 , 1 ] 2 [0,1]^2 [ 0 , 1 ] 2 . Specifically, the grid points are ordered row by row as
x 32 j + i + 1 = ( i 31 , j 31 ) , i , j ∈ { 0 , … , 31 } . x_{32j+i+1}=\left(\frac{i}{31},\frac{j}{31}\right),\qquad i,j\in\{0,\ldots,31\}. x 32 j + i + 1 = ( 31 i , 31 j ) , i , j ∈ { 0 , … , 31 } .
where the horizontal index i i i varies first. We retain the first 1000 points under this ordering. Equivalently, the resulting state space is
X = { ( i 31 , j 31 ) : i = 0 , … , 31 , j = 0 , … , 30 } ∪ { ( i 31 , 1 ) : i = 0 , … , 7 } . \mathcal{X}=\left\{\left(\frac{i}{31},\frac{j}{31}\right):i=0,\ldots,31,\ j=0,\ldots,30\right\}\cup\left\{\left(\frac{i}{31},1\right):i=0,\ldots,7\right\}. X = { ( 31 i , 31 j ) : i = 0 , … , 31 , j = 0 , … , 30 } ∪ { ( 31 i , 1 ) : i = 0 , … , 7 } .
Thus, it contains all 992 points in the first 31 grid rows and the first eight points in the final row. The edge weights are also calculated as C i j = ∥ x i − x j ∥ 2 2 C_{ij}=\lVert x_i-x_j\rVert_2^2 C ij = ∥ x i − x j ∥ 2 2 . At observation time k k k , its unnormalized density is defined as
ρ k ( x ) = 0.025 + exp ( − ∥ x − c k ∥ 2 2 2 ( 0.115 ) 2 ) + 0.38 exp ( − ∥ x − c ~ k ∥ 2 2 2 ( 0.18 ) 2 ) . \rho_k(x)=0.025+\exp\left(-\frac{\lVert x-c_k\rVert_2^2}{2(0.115)^2}\right)+0.38\exp\left(-\frac{\lVert x-\tilde{c}_k\rVert_2^2}{2(0.18)^2}\right). ρ k ( x ) = 0.025 + exp ( − 2 ( 0.115 ) 2 ∥ x − c k ∥ 2 2 ) + 0.38 exp ( − 2 ( 0.18 ) 2 ∥ x − c ~ k ∥ 2 2 ) .
where
( c 0 , c 1 , c 2 , c 3 ) = ( ( 0.14 , 0.18 ) , ( 0.38 , 0.72 ) , ( 0.67 , 0.33 ) , ( 0.86 , 0.76 ) ) , (c_0,c_1,c_2,c_3)=((0.14,0.18),(0.38,0.72),(0.67,0.33),(0.86,0.76)), ( c 0 , c 1 , c 2 , c 3 ) = (( 0.14 , 0.18 ) , ( 0.38 , 0.72 ) , ( 0.67 , 0.33 ) , ( 0.86 , 0.76 )) ,
( c ~ 0 , c ~ 1 , c ~ 2 , c ~ 3 ) = ( ( 0.78 , 0.84 ) , ( 0.69 , 0.24 ) , ( 0.30 , 0.77 ) , ( 0.18 , 0.28 ) ) . (\tilde{c}_0,\tilde{c}_1,\tilde{c}_2,\tilde{c}_3)=((0.78,0.84),(0.69,0.24),(0.30,0.77),(0.18,0.28)). ( c ~ 0 , c ~ 1 , c ~ 2 , c ~ 3 ) = (( 0.78 , 0.84 ) , ( 0.69 , 0.24 ) , ( 0.30 , 0.77 ) , ( 0.18 , 0.28 )) .
The discrete measure is defined as
μ k ( i ) = M k ρ k ( x i ) ∑ j = 1 1000 ρ k ( x j ) , ( M 0 , M 1 , M 2 , M 3 ) = ( 1.00 , 1.35 , 0.72 , 1.18 ) . \mu_k(i)=M_k\frac{\rho_k(x_i)}{\sum_{j=1}^{1000}\rho_k(x_j)},\qquad(M_0,M_1,M_2,M_3)=(1.00,1.35,0.72,1.18). μ k ( i ) = M k ∑ j = 1 1000 ρ k ( x j ) ρ k ( x i ) , ( M 0 , M 1 , M 2 , M 3 ) = ( 1.00 , 1.35 , 0.72 , 1.18 ) .
The positive background gives full support, while the moving Gaussian components and prescribed total masses also induce simultaneous transport and growth or decay.
Real-data analysis
Mouse hematopoietic differentiation with lineage tracing
The in vitro mouse hematopoietic differentiation dataset was reported by Weinreb et al. [34 ] . We analysed the published neutrophil and monocyte differentiation trajectory, containing 96,371 cells sampled on days 2, 4 and 6. Cells were grouped into three annotated states: undifferentiated cells, monocytes and neutrophils. We used the provided total count normalized expression matrix and applied a log ( 1 + x ) \log(1+x) log ( 1 + x ) transformation. A total of 3,000 highly variable genes were then selected using the Seurat style dispersion criterion.
Following the sampling correction of Sha et al. [28 ] , we constructed the cell-state masses as
ρ t ( i ) = n t ( i ) s t ∑ j n 2 ( j ) , s 2 = 1 , s 4 = 0.30 , s 6 = 0.70 , (70) \rho_t(i)=\frac{n_t(i)}{s_t\sum_j n_2(j)},\qquad s_2=1,\quad s_4=0.30,\quad s_6=0.70, \tag*{(70)} ρ t ( i ) = s t ∑ j n 2 ( j ) n t ( i ) , s 2 = 1 , s 4 = 0.30 , s 6 = 0.70 , (70)
where n t ( i ) n_t(i) n t ( i ) is the observed number of cells in state i i i at day t t t , and s t s_t s t denotes the sampling fraction at that time point. The resulting quantities define sampling adjusted masses relative to the total sequenced cell count at day 2.
All three time points were used for HVG selection and ground cost construction. WFR bridges were then computed for the day 2 to day 4 and day 4 to day 6 intervals using the sampling adjusted masses. We used δ = 1.0 \delta=1.0 δ = 1.0 for the reported analysis.
Developing mouse brain
We used the developing mouse brain atlas of La Manno et al. [15 ] . The analysis included a subset of 120,576 cells sampled at nine embryonic time points: E8.0, E9.0, E10.0, E11.0, E12.0, E13.5, E14.5, E15.0 and E16.0. Expression counts were normalized to 10 4 10^4 1 0 4 counts per cell and transformed using log ( 1 + x ) \log(1+x) log ( 1 + x ) . For this dataset, 3,000 HVGs were selected using the Seurat style dispersion criterion. Seven annotated neural cell types were retained: neural tube cells, radial glia, neuroblasts, neurons, glioblasts, oligodendrocytes and ependymal cells.
Temporal interpolation was evaluated by excluding each of the seven internal time points in turn. In each interpolation fold, cells from the excluded time point were removed before HVG selection, centroid estimation and ground cost construction. A WFR bridge was computed between the immediately preceding and following observed time points and evaluated at
τ h = t h − t h − 1 t h + 1 − t h − 1 \tau_h=\frac{t_h-t_{h-1}}{t_{h+1}-t_{h-1}} τ h = t h + 1 − t h − 1 t h − t h − 1
where t h t_h t h denotes the excluded time point. HVG selection, centroid estimation and distance normalization were performed independently within each fold using only the retained observations. We used δ = 0.70 \delta=0.70 δ = 0.70 for all developing mouse brain analyses.
Embryonic mouse cerebral cortex
The embryonic mouse cerebral cortex dataset was reported by Yuzwa et al. [38 ] . We used the processed version distributed with Tempora [30 ] , comprising 6,316 cells collected at four time points: E11.5, E13.5, E15.5 and E17.5. The provided normalized expression matrix was used, and negligible negative numerical values were set to zero. For this dataset, 3,000 highly variable genes (HVGs) were selected using the Seurat style dispersion criterion. The cells were annotated into seven cell types, including one neuron type, two young neuron types, two apical progenitor or radial precursor (AP/RP) types, and two intermediate progenitor (IP) types.
All four time points were included in HVG selection, cost construction and computation of the three successive WFR bridges. We used δ = 1.0 \delta= 1.0 δ = 1.0 for the reported analysis.
For the annotation resolution analysis, the seven fine cell types were aggregated into four coarse cell classes: neurons, young neurons, AP/RPs and IPs. For the fine to coarse strategy, the mass of each coarse class at every path position was obtained by summing the masses of its constituent fine cell types. For direct coarse inference, coarse class centroids were computed as cell number weighted averages of the corresponding fine type centroids, and the WFR problem was solved directly on the four coarse classes. TV and RME between the two trajectories were evaluated at the 199 intermediate positions of each 201 point path, excluding the shared observed endpoints.
WFR construction
For all datasets, the provided cell type annotations defined the discrete states. The WFR ground cost was constructed from gene expression differences between cell types. Let z ˉ i \bar{z}_i z ˉ i denote the mean HVG expression vector of cell type i i i , calculated using all cells retained in the current analysis. The pairwise expression distance was defined as
d i j r a w = ∥ z ˉ i − z ˉ j ∥ 2 , s d = median i < j , d i j r a w > 0 d i j r a w , C i j = ( d i j r a w s d ) 2 . d^{\mathrm{raw}}_{ij} = \lVert\bar{z}_i-\bar{z}_j\rVert_2,\qquad s_d = \operatorname{median}_{i<j,\ d^{\mathrm{raw}}_{ij}>0} d^{\mathrm{raw}}_{ij},\qquad C_{ij} = \left(\frac{d^{\mathrm{raw}}_{ij}}{s_d}\right)^2. d ij raw = ∥ z ˉ i − z ˉ j ∥ 2 , s d = median i < j , d ij raw > 0 d ij raw , C ij = ( s d d ij raw ) 2 .
At each observation time, cell type abundances were used to construct the corresponding discrete measure. For each WFR bridge, the static WFR semi-coupling was computed between the two endpoint observations using the ground cost C C C . The resulting bridges provided time dependent cell type masses, transition rates and growth rates.
Proofs
Proof of Proposition 2.1
Proof. To prove the metric property, it is sufficient to show that O T 1 / p \mathrm{OT}^{1/p} OT 1/ p satisfies the triangle inequality.
O T 1 / p ( α , β ) + O T 1 / p ( β , γ ) ≥ O T 1 / p ( α , γ ) (71) \mathrm{OT}^{1/p}(\alpha,\beta)+\mathrm{OT}^{1/p}(\beta,\gamma)\geq\mathrm{OT}^{1/p}(\alpha,\gamma) \tag*{(71)} OT 1/ p ( α , β ) + OT 1/ p ( β , γ ) ≥ OT 1/ p ( α , γ ) (71)
where α , β , γ \alpha,\beta,\gamma α , β , γ are three distributions over X \mathcal{X} X . Let π α β , π β γ \pi_{\alpha\beta},\pi_{\beta\gamma} π α β , π β γ be the optimal transport coupling between α , β \alpha,\beta α , β , and β , γ \beta,\gamma β , γ . A gluing is defined as
( π α β γ ) i j k = { ( π α β ) i j ( π β γ ) j k / β j , β j ≠ 0 , 0 , β j = 0. (72) (\pi_{\alpha\beta\gamma})_{ijk} =
\begin{cases}
(\pi_{\alpha\beta})_{ij}(\pi_{\beta\gamma})_{jk}/\beta_j, & \beta_j\ne0,\\
0, & \beta_j=0.
\end{cases} \tag*{(72)} ( π α β γ ) ij k = { ( π α β ) ij ( π β γ ) j k / β j , 0 , β j = 0 , β j = 0. (72)
One can easily check that
∑ k ( π α β γ ) i j k = ( π α β ) i j , ∑ i ( π α β γ ) i j k = ( π β γ ) j k \sum_k(\pi_{\alpha\beta\gamma})_{ijk}=(\pi_{\alpha\beta})_{ij},\qquad\sum_i(\pi_{\alpha\beta\gamma})_{ijk}=(\pi_{\beta\gamma})_{jk} k ∑ ( π α β γ ) ij k = ( π α β ) ij , i ∑ ( π α β γ ) ij k = ( π β γ ) j k
Based on the gluing, a coupling between α \alpha α and γ \gamma γ can be constructed as ( π α γ ) i k = (\pi_{\alpha\gamma})_{ik}= ( π α γ ) ik = ∑ j ( π α β γ ) i j k \sum_j(\pi_{\alpha\beta\gamma})_{ijk} ∑ j ( π α β γ ) ij k . It is a coupling between α \alpha α and γ \gamma γ , since
∑ i , j ( π α γ ) i k = ∑ i , j ( π α β γ ) i j k = ∑ j ( π β γ ) j k = γ k , ∑ k , j ( π α γ ) i k = ∑ j , k ( π α β γ ) i j k = ∑ j ( π α β ) i j = α i . \begin{aligned}
\sum_{i,j}(\pi_{\alpha\gamma})_{ik}&=\sum_{i,j}(\pi_{\alpha\beta\gamma})_{ijk}=\sum_j(\pi_{\beta\gamma})_{jk}=\gamma_k,\\
\sum_{k,j}(\pi_{\alpha\gamma})_{ik}&=\sum_{j,k}(\pi_{\alpha\beta\gamma})_{ijk}=\sum_j(\pi_{\alpha\beta})_{ij}=\alpha_i.
\end{aligned} i , j ∑ ( π α γ ) ik k , j ∑ ( π α γ ) ik = i , j ∑ ( π α β γ ) ij k = j ∑ ( π β γ ) j k = γ k , = j , k ∑ ( π α β γ ) ij k = j ∑ ( π α β ) ij = α i .
Therefore, by the metric property of C 1 p C^{\frac{1}{p}} C p 1 and the Minkovski inequality, we have
OT 1 p ( α , γ ) ≤ ( ∑ i , k C i k ( π α γ ) i k ) 1 p = ( ∑ i , j , k C i k ( π α β γ ) i j k ) 1 p ≤ ( ∑ i , j , k ( C i j 1 p + C j k 1 p ) p ( π α β γ ) i j k ) 1 p ≤ ( ∑ i , j , k C i j ( π α β γ ) i j k ) 1 p + ( ∑ i , j , k C j k ( π α β γ ) i j k ) 1 p = ( ∑ i , j C i j ( π α β ) i j ) 1 p + ( ∑ j , k C j k ( π β γ ) j k ) 1 p = OT 1 p ( α , β ) + OT 1 p ( β , γ ) . (73) \begin{aligned}
\operatorname{OT}^{\frac{1}{p}}(\alpha,\gamma)
&\leq\left(\sum_{i,k}C_{ik}(\pi_{\alpha\gamma})_{ik}\right)^{\frac{1}{p}}\\
&=\left(\sum_{i,j,k}C_{ik}(\pi_{\alpha\beta\gamma})_{ijk}\right)^{\frac{1}{p}}\\
&\leq\left(\sum_{i,j,k}\left(C_{ij}^{\frac{1}{p}}+C_{jk}^{\frac{1}{p}}\right)^p(\pi_{\alpha\beta\gamma})_{ijk}\right)^{\frac{1}{p}}\\
&\leq\left(\sum_{i,j,k}C_{ij}(\pi_{\alpha\beta\gamma})_{ijk}\right)^{\frac{1}{p}}+\left(\sum_{i,j,k}C_{jk}(\pi_{\alpha\beta\gamma})_{ijk}\right)^{\frac{1}{p}}\\
&=\left(\sum_{i,j}C_{ij}(\pi_{\alpha\beta})_{ij}\right)^{\frac{1}{p}}+\left(\sum_{j,k}C_{jk}(\pi_{\beta\gamma})_{jk}\right)^{\frac{1}{p}}\\
&=\operatorname{OT}^{\frac{1}{p}}(\alpha,\beta)+\operatorname{OT}^{\frac{1}{p}}(\beta,\gamma). \tag*{(73)}
\end{aligned} OT p 1 ( α , γ ) ≤ i , k ∑ C ik ( π α γ ) ik p 1 = i , j , k ∑ C ik ( π α β γ ) ij k p 1 ≤ i , j , k ∑ ( C ij p 1 + C j k p 1 ) p ( π α β γ ) ij k p 1 ≤ i , j , k ∑ C ij ( π α β γ ) ij k p 1 + i , j , k ∑ C j k ( π α β γ ) ij k p 1 = ( i , j ∑ C ij ( π α β ) ij ) p 1 + j , k ∑ C j k ( π β γ ) j k p 1 = OT p 1 ( α , β ) + OT p 1 ( β , γ ) . (73)
When p = 1 p=1 p = 1 , let γ ( t ) = ( 1 − t ) α + t β \gamma(t)=(1-t)\alpha+t\beta γ ( t ) = ( 1 − t ) α + tβ . Consider the transport plan π s t = ( t − s ) π α β + ( 1 − t ) diag ( α ) + s ⋅ diag ( β ) \pi_{st}=(t-s)\pi_{\alpha\beta}+(1-t)\operatorname{diag}(\alpha)+s\cdot\operatorname{diag}(\beta) π s t = ( t − s ) π α β + ( 1 − t ) diag ( α ) + s ⋅ diag ( β ) which transports γ ( s ) \gamma(s) γ ( s ) to γ ( t ) \gamma(t) γ ( t ) . By direct calculation
OT ( γ ( s ) , γ ( t ) ) ≤ ∑ i , j C i j ( π s t ) i j = ( t − s ) OT ( α , β ) ( s < t ) (74) \operatorname{OT}(\gamma(s),\gamma(t))\leq\sum_{i,j}C_{ij}(\pi_{st})_{ij}=(t-s)\operatorname{OT}(\alpha,\beta)\quad(s<t) \tag*{(74)} OT ( γ ( s ) , γ ( t )) ≤ i , j ∑ C ij ( π s t ) ij = ( t − s ) OT ( α , β ) ( s < t ) (74)
By the triangle inequality which we just proved,
OT ( α , β ) ≤ OT ( α , γ ( s ) ) + OT ( γ ( s ) , γ ( t ) ) + OT ( γ ( t ) , β ) ≤ [ s + ( t − s ) + ( 1 − t ) ] OT ( α , β ) = OT ( α , β ) . (75) \begin{aligned}
\operatorname{OT}(\alpha,\beta)&\leq\operatorname{OT}(\alpha,\gamma(s))+\operatorname{OT}(\gamma(s),\gamma(t))+\operatorname{OT}(\gamma(t),\beta)\\
&\leq[s+(t-s)+(1-t)]\operatorname{OT}(\alpha,\beta)\\
&=\operatorname{OT}(\alpha,\beta). \tag*{(75)}
\end{aligned} OT ( α , β ) ≤ OT ( α , γ ( s )) + OT ( γ ( s ) , γ ( t )) + OT ( γ ( t ) , β ) ≤ [ s + ( t − s ) + ( 1 − t )] OT ( α , β ) = OT ( α , β ) . (75)
Therefore, all the equalities must hold. We have OT ( γ ( s ) , γ ( t ) ) = ( t − s ) OT ( α , β ) \operatorname{OT}(\gamma(s),\gamma(t))=(t-s)\operatorname{OT}(\alpha,\beta) OT ( γ ( s ) , γ ( t )) = ( t − s ) OT ( α , β ) , i.e. γ ( t ) = ( 1 − t ) α + t β \gamma(t)=(1-t)\alpha+t\beta γ ( t ) = ( 1 − t ) α + tβ is the geodesic under the OT metric. □ \square □
Proof of Proposition 2.11
Proof. The feasible set
{ ( a , b ) ∈ R ≥ 0 N × N × R ≥ 0 N × N : ∑ j a i j = ρ i , ∑ i b i j = η j } \left\{(a,b)\in\mathbb{R}_{\geq0}^{N\times N}\times\mathbb{R}_{\geq0}^{N\times N}:\sum_j a_{ij}=\rho_i,\ \sum_i b_{ij}=\eta_j\right\} { ( a , b ) ∈ R ≥ 0 N × N × R ≥ 0 N × N : j ∑ a ij = ρ i , i ∑ b ij = η j }
is closed and bounded in a finite-dimensional Euclidean space, hence compact. The objective in (2.21) is continuous on this compact set, and therefore attains its minimum. If η = 0 \eta=0 η = 0 , the constraints force b = 0 b=0 b = 0 and the objective becomes 4 δ 2 ∑ i , j a i j = 4 δ 2 ∣ ρ ∣ 4\delta^2\sum_{i,j}a_{ij}=4\delta^2|\rho| 4 δ 2 ∑ i , j a ij = 4 δ 2 ∣ ρ ∣ . The case ρ = 0 \rho=0 ρ = 0 is identical.
Proof of Proposition 2.12
Proof. Nonnegativity follows from the pointwise identity
a + b − 2 ζ a b = ( a − b ) 2 + 2 ( 1 − ζ ) a b ≥ 0 , 0 ≤ ζ ≤ 1. a+b-2\zeta\sqrt{ab}=(\sqrt{a}-\sqrt{b})^2+2(1-\zeta)\sqrt{ab}\ge0,\qquad0\le\zeta\le1. a + b − 2 ζ ab = ( a − b ) 2 + 2 ( 1 − ζ ) ab ≥ 0 , 0 ≤ ζ ≤ 1.
Symmetry follows by exchanging the indices i , j i,j i , j and the variables a , b a,b a , b . Homogeneity follows by replacing ( a , b ) (a,b) ( a , b ) with ( λ a , λ b ) (\lambda a,\lambda b) ( λa , λb ) .
For the upper bound in (2.26), dropping the negative terms
− 2 a i j b i j cos ( C i j 2 δ ) -2\sqrt{a_{ij}b_{ij}}\cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right) − 2 a ij b ij cos ( 2 δ C ij )
yields:
WFR δ 2 ( ρ , η ) ≤ 4 δ 2 ( ∣ ρ ∣ + ∣ η ∣ ) . \operatorname{WFR}_{\delta}^{2}(\rho,\eta)\le4\delta^2(|\rho|+|\eta|). WFR δ 2 ( ρ , η ) ≤ 4 δ 2 ( ∣ ρ ∣ + ∣ η ∣ ) .
This implies the displayed upper bound, which is weaker but simpler. For the lower bound, write ζ i j = cos ( C i j / 2 δ ) ≤ 1 \zeta_{ij}=\cos(\sqrt{C_{ij}}/2\delta)\le1 ζ ij = cos ( C ij /2 δ ) ≤ 1 . For any feasible ( a , b ) (a,b) ( a , b ) ,
∑ i , j ( a i j + b i j − 2 ζ i j a i j b i j ) ≥ ∑ i , j ( a i j + b i j − 2 a i j b i j ) ≥ ∣ ρ ∣ + ∣ η ∣ − 2 ∣ ρ ∣ ∣ η ∣ = ( ∣ ρ ∣ − ∣ η ∣ ) 2 , \begin{aligned}
\sum_{i,j}\left(a_{ij}+b_{ij}-2\zeta_{ij}\sqrt{a_{ij}b_{ij}}\right)\ge\sum_{i,j}\left(a_{ij}+b_{ij}-2\sqrt{a_{ij}b_{ij}}\right) \\
&\ge|\rho|+|\eta|-2\sqrt{|\rho||\eta|}=\left(\sqrt{|\rho|}-\sqrt{|\eta|}\right)^2,
\end{aligned} i , j ∑ ( a ij + b ij − 2 ζ ij a ij b ij ) ≥ i , j ∑ ( a ij + b ij − 2 a ij b ij ) ≥ ∣ ρ ∣ + ∣ η ∣ − 2 ∣ ρ ∣∣ η ∣ = ( ∣ ρ ∣ − ∣ η ∣ ) 2 ,
where the second inequality is Cauchy’s inequality. Multiplying by 4 δ 2 4\delta^2 4 δ 2 yields the lower bound.
If ρ = η \rho=\eta ρ = η , choosing a i i = b i i = ρ i a_{ii}=b_{ii}=\rho_i a ii = b ii = ρ i and all off-diagonal entries zero gives zero cost. Conversely, if the cost is zero, every active pair must satisfy a i j = b i j a_{ij}=b_{ij} a ij = b ij and ζ i j = 1 \zeta_{ij}=1 ζ ij = 1 whenever a i j b i j > 0 a_{ij}b_{ij}>0 a ij b ij > 0 . Since ζ i j = 1 \zeta_{ij}=1 ζ ij = 1 implies C i j = 0 C_{ij}=0 C ij = 0 , hence i = j i=j i = j . Therefore a i j = b i j = 0 a_{ij}=b_{ij}=0 a ij = b ij = 0 , i ≠ j i\ne j i = j ; a i i = b i i a_{ii}=b_{ii} a ii = b ii , which yields ρ = η \rho=\eta ρ = η .
Proof of Theorem 2.13
Proof. It is sufficient to prove the triangle inequality. Since 1 ≤ p ≤ 2 1\le p\le2 1 ≤ p ≤ 2 , the assumption that C i j 1 / p C_{ij}^{1/p} C ij 1/ p is a metric implies that C i j 1 / 2 C_{ij}^{1/2} C ij 1/2 is also a metric. Indeed, for any i , j , k i,j,k i , j , k ,
C i k 1 / p ≤ C i j 1 / p + C j k 1 / p . C_{ik}^{1/p}\le C_{ij}^{1/p}+C_{jk}^{1/p}. C ik 1/ p ≤ C ij 1/ p + C j k 1/ p .
Raising both sides to the power p / 2 ≤ 1 p/2\le1 p /2 ≤ 1 , we have
C i k 1 / 2 ≤ ( C i j 1 / p + C j k 1 / p ) p / 2 ≤ C i j 1 / 2 + C j k 1 / 2 . C_{ik}^{1/2}\le\left(C_{ij}^{1/p}+C_{jk}^{1/p}\right)^{p/2}\le C_{ij}^{1/2}+C_{jk}^{1/2}. C ik 1/2 ≤ ( C ij 1/ p + C j k 1/ p ) p /2 ≤ C ij 1/2 + C j k 1/2 .
Hence C 1 / 2 C^{1/2} C 1/2 satisfies the triangle inequality. Since max i , j C i j < π 2 δ 2 \max_{i,j}C_{ij}<\pi^2\delta^2 max i , j C ij < π 2 δ 2 , we use the static semi-coupling formulation
WFR δ ( ρ , η ) = 2 δ inf ( A 0 , A 1 ) ∈ Γ ( ρ , η ) [ ∑ i , j ( A 0 ) i j + ( A 1 ) i j − 2 ( A 0 ) i j ( A 1 ) i j cos ( C i j 2 δ ) ] 1 / 2 (76) \operatorname{WFR}_{\delta}(\rho,\eta)=2\delta\inf_{(A_0,A_1)\in\Gamma(\rho,\eta)}
\left[\sum_{i,j}(A_0)_{ij}+(A_1)_{ij}
-2\sqrt{(A_0)_{ij}(A_1)_{ij}}\cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right)\right]^{1/2} \tag*{(76)} WFR δ ( ρ , η ) = 2 δ ( A 0 , A 1 ) ∈ Γ ( ρ , η ) inf [ i , j ∑ ( A 0 ) ij + ( A 1 ) ij − 2 ( A 0 ) ij ( A 1 ) ij cos ( 2 δ C ij ) ] 1/2 (76)
Let α , β , γ ∈ M + ( X ) \alpha,\beta,\gamma\in\mathcal{M}_{+}(\mathcal{X}) α , β , γ ∈ M + ( X ) . Take optimal semi-couplings ( A 0 , A 1 ) ∈ Γ ( α , β ) (A_0,A_1) \in\Gamma(\alpha,\beta) ( A 0 , A 1 ) ∈ Γ ( α , β ) , ( B 0 , B 1 ) ∈ Γ ( β , γ ) (B_0,B_1) \in\Gamma(\beta,\gamma) ( B 0 , B 1 ) ∈ Γ ( β , γ ) . Since ∑ i ( A 1 ) i j = β j = ∑ k ( B 0 ) j k \sum_i (A_1)_{ij}=\beta_j=\sum_k (B_0)_{jk} ∑ i ( A 1 ) ij = β j = ∑ k ( B 0 ) j k , we glue A 1 A_1 A 1 and B 0 B_0 B 0 along the common marginal β \beta β . Define
Π i j k = { ( A 1 ) i j ( B 0 ) j k β j , β j ≠ 0 , 0 , β j = 0. \Pi_{ijk} =
\begin{cases}
\dfrac{(A_1)_{ij}(B_0)_{jk}}{\beta_j}, & \beta_j \ne0,\\
0, & \beta_j = 0.
\end{cases} Π ij k = ⎩ ⎨ ⎧ β j ( A 1 ) ij ( B 0 ) j k , 0 , β j = 0 , β j = 0.
Then ∑ k Π i j k = ( A 1 ) i j \sum_k \Pi_{ijk}=(A_1)_{ij} ∑ k Π ij k = ( A 1 ) ij , ∑ i Π i j k = ( B 0 ) j k \sum_i \Pi_{ijk}=(B_0)_{jk} ∑ i Π ij k = ( B 0 ) j k . Lift A 0 A_0 A 0 and B 1 B_1 B 1 to the same gluing by setting
( Π 0 ) i j k = { ( A 0 ) i j ( B 0 ) j k β j , β j ≠ 0 , ( A 0 ) i j N , β j = 0 , ( Π 1 ) i j k = { ( A 1 ) i j ( B 1 ) j k β j , β j ≠ 0 , ( B 1 ) j k N , β j = 0. (\Pi_0)_{ijk} =
\begin{cases}
\dfrac{(A_0)_{ij}(B_0)_{jk}}{\beta_j}, & \beta_j \ne0,\\
\dfrac{(A_0)_{ij}}{N}, & \beta_j = 0,
\end{cases}
\qquad
(\Pi_1)_{ijk} =
\begin{cases}
\dfrac{(A_1)_{ij}(B_1)_{jk}}{\beta_j}, & \beta_j \ne0,\\
\dfrac{(B_1)_{jk}}{N}, & \beta_j = 0.
\end{cases} ( Π 0 ) ij k = ⎩ ⎨ ⎧ β j ( A 0 ) ij ( B 0 ) j k , N ( A 0 ) ij , β j = 0 , β j = 0 , ( Π 1 ) ij k = ⎩ ⎨ ⎧ β j ( A 1 ) ij ( B 1 ) j k , N ( B 1 ) j k , β j = 0 , β j = 0.
One can easily check that
∑ j , k ( Π 0 ) i j k = α i , ∑ i , j ( Π 1 ) i j k = γ k . \sum_{j,k}(\Pi_0)_{ijk}=\alpha_i,\qquad\sum_{i,j}(\Pi_1)_{ijk}=\gamma_k. j , k ∑ ( Π 0 ) ij k = α i , i , j ∑ ( Π 1 ) ij k = γ k .
Therefore,
( ∑ j ( Π 0 ) i j k , ∑ j ( Π 1 ) i j k ) i , k \left(\sum_j(\Pi_0)_{ijk},\sum_j(\Pi_1)_{ijk}\right)_{i,k} ( j ∑ ( Π 0 ) ij k , j ∑ ( Π 1 ) ij k ) i , k
defines a semi-coupling between α \alpha α and γ \gamma γ . For simplicity, denote
d i j : = C i j 2 δ . d_{ij}:=\frac{\sqrt{C_{ij}}}{2\delta}. d ij := 2 δ C ij .
For each triple ( i , j , k ) (i,j,k) ( i , j , k ) , define
X i j k = [ ( Π 0 ) i j k + Π i j k − 2 ( Π 0 ) i j k Π i j k cos d i j ] 1 / 2 , X_{ijk}=\left[(\Pi_0)_{ijk}+ \Pi_{ijk}-2\sqrt{(\Pi_0)_{ijk}\Pi_{ijk}}\cos d_{ij}\right]^{1/2}, X ij k = [ ( Π 0 ) ij k + Π ij k − 2 ( Π 0 ) ij k Π ij k cos d ij ] 1/2 ,
Y i j k = [ Π i j k + ( Π 1 ) i j k − 2 Π i j k ( Π 1 ) i j k cos d j k ] 1 / 2 . Y_{ijk}=\left[\Pi_{ijk}+(\Pi_1)_{ijk}-2\sqrt{\Pi_{ijk}(\Pi_1)_{ijk}}\cos d_{jk}\right]^{1/2}. Y ij k = [ Π ij k + ( Π 1 ) ij k − 2 Π ij k ( Π 1 ) ij k cos d j k ] 1/2 .
By the Minkowski inequality,
1 2 δ [ WFR δ ( α , β ) + WFR δ ( β , γ ) ] = ( ∑ i , j , k X i j k 2 ) 1 / 2 + ( ∑ i , j , k Y i j k 2 ) 1 / 2 ≥ ( ∑ i , j , k ( X i j k + Y i j k ) 2 ) 1 / 2 . (77) \begin{aligned}
\frac{1}{2\delta}\left[\operatorname{WFR}_{\delta}(\alpha,\beta)+\operatorname{WFR}_{\delta}(\beta,\gamma)\right]
=
\left(\sum_{i,j,k}X_{ijk}^{2}\right)^{1/2}
+
\left(\sum_{i,j,k}Y_{ijk}^{2}\right)^{1/2} \\
&\ge
\left(\sum_{i,j,k}(X_{ijk}+Y_{ijk})^{2}\right)^{1/2}. \tag*{(77)}
\end{aligned} 2 δ 1 [ WFR δ ( α , β ) + WFR δ ( β , γ ) ] = i , j , k ∑ X ij k 2 1/2 + i , j , k ∑ Y ij k 2 1/2 ≥ i , j , k ∑ ( X ij k + Y ij k ) 2 1/2 . (77)
Now we use the inequality
[ a + b − 2 a b cos d 1 ] 1 / 2 + [ b + c − 2 b c cos d 2 ] 1 / 2 ≥ [ a + c − 2 a c cos ( d 1 + d 2 ) ] 1 / 2 , (78) \left[a+b-2\sqrt{ab}\cos d_1\right]^{1/2}
+
\left[b+c-2\sqrt{bc}\cos d_2\right]^{1/2}
\ge
\left[a+c-2\sqrt{ac}\cos(d_1+d_2)\right]^{1/2}, \tag*{(78)} [ a + b − 2 ab cos d 1 ] 1/2 + [ b + c − 2 b c cos d 2 ] 1/2 ≥ [ a + c − 2 a c cos ( d 1 + d 2 ) ] 1/2 , (78)
valid for a , b , c ≥ 0 a,b,c \ge0 a , b , c ≥ 0 and d 1 , d 2 ∈ [ 0 , π / 2 ) d_1,d_2 \in[0,\pi/2) d 1 , d 2 ∈ [ 0 , π /2 ) . This is simply the triangle inequality in the Euclidean plane. Applying (B.8) with a = ( Π 0 ) i j k , b = Π i j k , c = ( Π 1 ) i j k a=(\Pi_0)_{ijk}, b=\Pi_{ijk}, c=(\Pi_1)_{ijk} a = ( Π 0 ) ij k , b = Π ij k , c = ( Π 1 ) ij k , we get
X i j k + Y i j k ≥ [ ( Π 0 ) i j k + ( Π 1 ) i j k − 2 ( Π 0 ) i j k ( Π 1 ) i j k cos ( d i j + d j k ) ] 1 / 2 . X_{ijk}+Y_{ijk}\ge\left[(\Pi_0)_{ijk}+(\Pi_1)_{ijk}-2\sqrt{(\Pi_0)_{ijk}(\Pi_1)_{ijk}}\cos(d_{ij}+d_{jk})\right]^{1/2}. X ij k + Y ij k ≥ [ ( Π 0 ) ij k + ( Π 1 ) ij k − 2 ( Π 0 ) ij k ( Π 1 ) ij k cos ( d ij + d j k ) ] 1/2 .
Since C 1 / 2 C^{1/2} C 1/2 is a metric,
d i k = C i k 2 δ ≤ C i j + C j k 2 δ = d i j + d j k . d_{ik}=\frac{\sqrt{C_{ik}}}{2\delta}\le\frac{\sqrt{C_{ij}}+\sqrt{C_{jk}}}{2\delta}=d_{ij}+d_{jk}. d ik = 2 δ C ik ≤ 2 δ C ij + C j k = d ij + d j k .
which further gives cos ( d i k ) ≥ cos ( d i j + d j k ) \cos(d_{ik})\ge\cos(d_{ij}+d_{jk}) cos ( d ik ) ≥ cos ( d ij + d j k ) . Hence
X i j k + Y i j k ≥ [ ( Π 0 ) i j k + ( Π 1 ) i j k − 2 ( Π 0 ) i j k ( Π 1 ) i j k cos ( d i k ) ] 1 / 2 . X_{ijk}+Y_{ijk}\ge\left[(\Pi_0)_{ijk}+(\Pi_1)_{ijk}-2\sqrt{(\Pi_0)_{ijk}(\Pi_1)_{ijk}}\cos(d_{ik})\right]^{1/2}. X ij k + Y ij k ≥ [ ( Π 0 ) ij k + ( Π 1 ) ij k − 2 ( Π 0 ) ij k ( Π 1 ) ij k cos ( d ik ) ] 1/2 .
Therefore,
1 2 δ [ W F R δ ( α , β ) + W F R δ ( β , γ ) ] ≥ [ ∑ i , j , k ( ( Π 0 ) i j k + ( Π 1 ) i j k − 2 ( Π 0 ) i j k ( Π 1 ) i j k cos ( d i k ) ) ] 1 / 2 . (79) \frac{1}{2\delta}\left[\mathrm{WFR}_{\delta}(\alpha,\beta)+\mathrm{WFR}_{\delta}(\beta,\gamma)\right]\ge\left[\sum_{i,j,k}\left((\Pi_0)_{ijk}+(\Pi_1)_{ijk}
-2\sqrt{(\Pi_0)_{ijk}(\Pi_1)_{ijk}}\cos(d_{ik})\right)\right]^{1/2}. \tag*{(79)} 2 δ 1 [ WFR δ ( α , β ) + WFR δ ( β , γ ) ] ≥ i , j , k ∑ ( ( Π 0 ) ij k + ( Π 1 ) ij k − 2 ( Π 0 ) ij k ( Π 1 ) ij k cos ( d ik ) ) 1/2 . (79)
Finally, by Cauchy’s inequality,
∑ j ( Π 0 ) i j k ( Π 1 ) i j k ≤ ( ∑ j ( Π 0 ) i j k ) ( ∑ j ( Π 1 ) i j k ) . \sum_j\sqrt{(\Pi_0)_{ijk}(\Pi_1)_{ijk}}\le\sqrt{\left(\sum_j(\Pi_0)_{ijk}\right)\left(\sum_j(\Pi_1)_{ijk}\right)}. j ∑ ( Π 0 ) ij k ( Π 1 ) ij k ≤ ( j ∑ ( Π 0 ) ij k ) ( j ∑ ( Π 1 ) ij k ) .
Thus
∑ i , j , k ( ( Π 0 ) i j k + ( Π 1 ) i j k − 2 ( Π 0 ) i j k ( Π 1 ) i j k cos ( d i k ) ) ≥ ∑ i , k ( ∑ j ( Π 0 ) i j k + ∑ j ( Π 1 ) i j k − 2 ( ∑ j ( Π 0 ) i j k ) ( ∑ j ( Π 1 ) i j k ) cos ( d i k ) ) . (80) \begin{aligned}
\sum_{i,j,k}\left((\Pi_0)_{ijk}+(\Pi_1)_{ijk}-2\sqrt{(\Pi_0)_{ijk}(\Pi_1)_{ijk}}\cos(d_{ik})\right) \\
&\ge\sum_{i,k}\left(\sum_j(\Pi_0)_{ijk}+\sum_j(\Pi_1)_{ijk}
-2\sqrt{\left(\sum_j(\Pi_0)_{ijk}\right)\left(\sum_j(\Pi_1)_{ijk}\right)}\cos(d_{ik})\right). \tag*{(80)}
\end{aligned} i , j , k ∑ ( ( Π 0 ) ij k + ( Π 1 ) ij k − 2 ( Π 0 ) ij k ( Π 1 ) ij k cos ( d ik ) ) ≥ i , k ∑ j ∑ ( Π 0 ) ij k + j ∑ ( Π 1 ) ij k − 2 ( j ∑ ( Π 0 ) ij k ) ( j ∑ ( Π 1 ) ij k ) cos ( d ik ) . (80)
Since the pair
( ∑ j ( Π 0 ) i j k , ∑ j ( Π 1 ) i j k ) i , k \left(\sum_j(\Pi_0)_{ijk},\sum_j(\Pi_1)_{ijk}\right)_{i,k} ( j ∑ ( Π 0 ) ij k , j ∑ ( Π 1 ) ij k ) i , k
is a semi-coupling between α \alpha α and γ \gamma γ , by the definition of W F R δ ( α , γ ) \mathrm{WFR}_{\delta}(\alpha,\gamma) WFR δ ( α , γ ) , we have
1 2 δ [ W F R δ ( α , β ) + W F R δ ( β , γ ) ] ≥ 1 2 δ W F R δ ( α , γ ) . \frac{1}{2\delta}\left[\mathrm{WFR}_{\delta}(\alpha,\beta)+\mathrm{WFR}_{\delta}(\beta,\gamma)\right]\ge\frac{1}{2\delta}\mathrm{WFR}_{\delta}(\alpha,\gamma). 2 δ 1 [ WFR δ ( α , β ) + WFR δ ( β , γ ) ] ≥ 2 δ 1 WFR δ ( α , γ ) .
Therefore,
W F R δ ( α , β ) + W F R δ ( β , γ ) ≥ W F R δ ( α , γ ) . \mathrm{WFR}_{\delta}(\alpha,\beta)+\mathrm{WFR}_{\delta}(\beta,\gamma)\ge\mathrm{WFR}_{\delta}(\alpha,\gamma). WFR δ ( α , β ) + WFR δ ( β , γ ) ≥ WFR δ ( α , γ ) .
This proves the triangle inequality, and hence W F R δ \mathrm{WFR}_{\delta} WFR δ is a metric on M + ( X ) \mathcal{M}_{+}(\mathcal{X}) M + ( X ) . □ \square □
Proof of Proposition 2.14
Proof. Denote ω i j : = cos ( C i j 2 δ ) \omega_{ij} := \cos\left(\frac{\sqrt{C_{ij}}}{2\delta}\right) ω ij := cos ( 2 δ C ij ) . Since max i , j C i j < π 2 δ 2 \max_{i,j} C_{ij} < \pi^2\delta^2 max i , j C ij < π 2 δ 2 , we have 0 < ω i j ≤ 1 0 < \omega_{ij} \le1 0 < ω ij ≤ 1 . By the static semi-coupling formulation of WFR,
1 4 δ 2 WFR δ 2 ( ρ , η ) = inf a , b ≥ 0 ∑ i , j [ a i j + b i j − 2 a i j b i j ω i j ] . (81) \frac{1}{4\delta^2}\operatorname{WFR}_{\delta}^2(\rho,\eta) = \inf_{a,b\ge0} \sum_{i,j} \left[a_{ij}+b_{ij}-2\sqrt{a_{ij}b_{ij}}\,\omega_{ij}\right]. \tag*{(81)} 4 δ 2 1 WFR δ 2 ( ρ , η ) = a , b ≥ 0 inf i , j ∑ [ a ij + b ij − 2 a ij b ij ω ij ] . (81)
where the infimum is taken under the constraints ∑ j a i j = ρ i \sum_j a_{ij}=\rho_i ∑ j a ij = ρ i , ∑ i b i j = η j \sum_i b_{ij}=\eta_j ∑ i b ij = η j . We first derive the dual problem of (B.11). Introduce Lagrange multipliers ϕ i , ψ j \phi_i,\psi_j ϕ i , ψ j for the marginal constraints. The Lagrangian is
L ( a , b , ϕ , ψ ) = ∑ i , j [ a i j + b i j − 2 a i j b i j ω i j ] + ∑ i ϕ i ( ρ i − ∑ j a i j ) + ∑ j ψ j ( η j − ∑ i b i j ) . \begin{aligned}
L(a,b,\phi,\psi)={}&\sum_{i,j}\left[a_{ij}+b_{ij}-2\sqrt{a_{ij}b_{ij}}\,\omega_{ij}\right]\\
&+\sum_i\phi_i\left(\rho_i-\sum_j a_{ij}\right)\\
&+\sum_j\psi_j\left(\eta_j-\sum_i b_{ij}\right).
\end{aligned} L ( a , b , ϕ , ψ ) = i , j ∑ [ a ij + b ij − 2 a ij b ij ω ij ] + i ∑ ϕ i ( ρ i − j ∑ a ij ) + j ∑ ψ j ( η j − i ∑ b ij ) .
For fixed ϕ , ψ \phi,\psi ϕ , ψ , minimizing with respect to a i j , b i j ≥ 0 a_{ij},b_{ij}\ge0 a ij , b ij ≥ 0 gives a finite value if and only if
ϕ i ≤ 1 , ψ j ≤ 1 , ( 1 − ϕ i ) ( 1 − ψ j ) ≥ ω i j 2 , \phi_i\le1,\qquad\psi_j\le1,\qquad(1-\phi_i)(1-\psi_j)\ge\omega_{ij}^2, ϕ i ≤ 1 , ψ j ≤ 1 , ( 1 − ϕ i ) ( 1 − ψ j ) ≥ ω ij 2 ,
since the quadratic form in a i j \sqrt{a_{ij}} a ij and b i j \sqrt{b_{ij}} b ij is nonnegative precisely under this condition. Therefore, the dual problem is
sup ϕ , ψ { ∑ i ϕ i ρ i + ∑ j ψ j η j } , s.t. ϕ i ≤ 1 , ψ j ≤ 1 , ( 1 − ϕ i ) ( 1 − ψ j ) ≥ ω i j 2 . (82) \sup_{\phi,\psi}\left\{\sum_i\phi_i\rho_i+\sum_j\psi_j\eta_j\right\},\qquad\text{s.t. }\phi_i\le1,\ \psi_j\le1,\ (1-\phi_i)(1-\psi_j)\ge\omega_{ij}^2. \tag*{(82)} ϕ , ψ sup { i ∑ ϕ i ρ i + j ∑ ψ j η j } , s.t. ϕ i ≤ 1 , ψ j ≤ 1 , ( 1 − ϕ i ) ( 1 − ψ j ) ≥ ω ij 2 . (82)
Now, introduce the change of variables u i = − log ( 1 − ϕ i ) u_i=-\log(1-\phi_i) u i = − log ( 1 − ϕ i ) , v j = − log ( 1 − ψ j ) v_j=-\log(1-\psi_j) v j = − log ( 1 − ψ j ) . Then ϕ i = 1 − e − u i \phi_i=1-e^{-u_i} ϕ i = 1 − e − u i , ψ j = 1 − e − v j \psi_j=1-e^{-v_j} ψ j = 1 − e − v j , and the constraint becomes u i + v j ≤ − 2 log ω i j = c i j u_i+v_j\le-2\log\omega_{ij}=c_{ij} u i + v j ≤ − 2 log ω ij = c ij . Thus, (B.12) is equivalent to
sup u , v { ∑ i ρ i ( 1 − e − u i ) + ∑ j η j ( 1 − e − v j ) } , s.t. u i + v j ≤ c i j . (83) \sup_{u,v}\left\{\sum_i\rho_i(1-e^{-u_i})+\sum_j\eta_j(1-e^{-v_j})\right\},\qquad\text{s.t. }u_i+v_j\le c_{ij}. \tag*{(83)} u , v sup { i ∑ ρ i ( 1 − e − u i ) + j ∑ η j ( 1 − e − v j ) } , s.t. u i + v j ≤ c ij . (83)
It remains to identify the primal problem associated with (B.13). Introduce a nonnegative Lagrange multiplier γ i j ≥ 0 \gamma_{ij}\ge0 γ ij ≥ 0 for the constraint u i + v j ≤ c i j u_i+v_j\le c_{ij} u i + v j ≤ c ij . Then (B.13) has dual
inf γ ≥ 0 sup u , v { ∑ i ρ i ( 1 − e − u i ) + ∑ j η j ( 1 − e − v j ) + ∑ i , j γ i j ( c i j − u i − v j ) } . \inf_{\gamma\ge0}\sup_{u,v}\left\{\sum_i\rho_i(1-e^{-u_i})+\sum_j\eta_j(1-e^{-v_j})+\sum_{i,j}\gamma_{ij}(c_{ij}-u_i-v_j)\right\}. γ ≥ 0 inf u , v sup { i ∑ ρ i ( 1 − e − u i ) + j ∑ η j ( 1 − e − v j ) + i , j ∑ γ ij ( c ij − u i − v j ) } .
Let
r i = ( γ 1 ) i = ∑ j γ i j , s j = ( γ T 1 ) j = ∑ i γ i j . r_i=(\gamma\mathbf{1})_i=\sum_j\gamma_{ij},\qquad s_j=(\gamma^T\mathbf{1})_j=\sum_i\gamma_{ij}. r i = ( γ 1 ) i = j ∑ γ ij , s j = ( γ T 1 ) j = i ∑ γ ij .
Then the supremum over u , v u,v u , v separates as
sup u , v { ∑ i ρ i ( 1 − e − u i ) − r i u i + ∑ j η j ( 1 − e − v j ) − s j v j + ∑ i , j c i j γ i j } = ∑ i , j c i j γ i j + ∑ i sup u i [ ρ i ( 1 − e − u i ) − r i u i ] + ∑ j sup v j [ η j ( 1 − e − v j ) − s j v j ] . \begin{aligned}
\sup_{u,v}\left\{\sum_i \rho_i(1-e^{-u_i})-r_i u_i+\sum_j \eta_j(1-e^{-v_j})-s_jv_j+\sum_{i,j}c_{ij}\gamma_{ij}\right\} \\
&=\sum_{i,j}c_{ij}\gamma_{ij}+\sum_i\sup_{u_i}\left[\rho_i(1-e^{-u_i})-r_i u_i\right]+\sum_j\sup_{v_j}\left[\eta_j(1-e^{-v_j})-s_jv_j\right].
\end{aligned} u , v sup { i ∑ ρ i ( 1 − e − u i ) − r i u i + j ∑ η j ( 1 − e − v j ) − s j v j + i , j ∑ c ij γ ij } = i , j ∑ c ij γ ij + i ∑ u i sup [ ρ i ( 1 − e − u i ) − r i u i ] + j ∑ v j sup [ η j ( 1 − e − v j ) − s j v j ] .
For each i i i , by calculating the derivatives of u i u_i u i , the maximizer satisfies ρ i e − u i = r i \rho_i e^{-u_i}=r_i ρ i e − u i = r i , and hence
sup u i [ ρ i ( 1 − e − u i ) − r i u i ] = r i log ( r i ρ i ) − r i + ρ i . \sup_{u_i}\left[\rho_i(1-e^{-u_i})-r_i u_i\right]=r_i\log\left(\frac{r_i}{\rho_i}\right)-r_i+\rho_i. u i sup [ ρ i ( 1 − e − u i ) − r i u i ] = r i log ( ρ i r i ) − r i + ρ i .
Similarly,
sup v j [ η j ( 1 − e − v j ) − s j v j ] = s j log ( s j η j ) − s j + η j . \sup_{v_j}\left[\eta_j(1-e^{-v_j})-s_jv_j\right]=s_j\log\left(\frac{s_j}{\eta_j}\right)-s_j+\eta_j. v j sup [ η j ( 1 − e − v j ) − s j v j ] = s j log ( η j s j ) − s j + η j .
Therefore, by convexity,
1 4 δ 2 WFR δ 2 ( ρ , η ) = inf γ ≥ 0 { ∑ i , j c i j γ i j + KL ( γ 1 ∣ ρ ) + KL ( γ T 1 ∣ η ) } . \frac{1}{4\delta^2}\operatorname{WFR}_\delta^2(\rho,\eta)=\inf_{\gamma\ge0}\left\{\sum_{i,j}c_{ij}\gamma_{ij}+\operatorname{KL}(\gamma\mathbf{1}\mid\rho)+\operatorname{KL}(\gamma^{T}\mathbf{1}\mid\eta)\right\}. 4 δ 2 1 WFR δ 2 ( ρ , η ) = γ ≥ 0 inf { i , j ∑ c ij γ ij + KL ( γ 1 ∣ ρ ) + KL ( γ T 1 ∣ η ) } .
This is exactly (2.29).
Proof of Proposition 2.15
Proof. Consider the entropy transport objective
Φ ( γ ) = ∑ i , j c i j γ i j + KL ( γ 1 ∣ ρ ) + KL ( γ T 1 ∣ η ) . \Phi(\gamma)=\sum_{i,j}c_{ij}\gamma_{ij}+\operatorname{KL}(\gamma\mathbf{1}\mid\rho)+\operatorname{KL}(\gamma^{T}\mathbf{1}\mid\eta). Φ ( γ ) = i , j ∑ c ij γ ij + KL ( γ 1 ∣ ρ ) + KL ( γ T 1 ∣ η ) .
Set I = { i : ρ i > 0 } I=\{i:\rho_i>0\} I = { i : ρ i > 0 } and J = { j : η j > 0 } J=\{j:\eta_j>0\} J = { j : η j > 0 } , both nonempty. Since Φ ( 0 ) = ∣ ρ ∣ + ∣ η ∣ < ∞ \Phi(0)=|\rho|+|\eta|<\infty Φ ( 0 ) = ∣ ρ ∣ + ∣ η ∣ < ∞ , the KL terms force γ i j ∗ = 0 \gamma_{ij}^*=0 γ ij ∗ = 0 outside I × J I\times J I × J . All indices and sums below are restricted to these supports. By extending the recovered a ∗ , b ∗ a^*,b^* a ∗ , b ∗ by zero elsewhere, the omitted zero-mass marginal constraints automatically hold. Let
r i = ( γ 1 ) i , s j = ( γ T 1 ) j . r_i=(\gamma\mathbf{1})_i,\qquad s_j=(\gamma^{T}\mathbf{1})_j. r i = ( γ 1 ) i , s j = ( γ T 1 ) j .
Since ρ i , η j > 0 \rho_i,\eta_j>0 ρ i , η j > 0 on I × J I\times J I × J and c i j < ∞ c_{ij}<\infty c ij < ∞ , any minimizer satisfies r i ∗ > 0 r_i^*>0 r i ∗ > 0 for i ∈ I i\in I i ∈ I and s j ∗ > 0 s_j^*>0 s j ∗ > 0 for j ∈ J j\in J j ∈ J . Because if r i ∗ = 0 r_i^*=0 r i ∗ = 0 , adding a small positive mass to some entry in the i i i -th row decreases the objective, since the derivative of r log ( r / ρ i ) r\log(r/\rho_i) r log ( r / ρ i ) at r = 0 r=0 r = 0 is − ∞ -\infty − ∞ . The same argument applies to s j ∗ s_j^* s j ∗ .
For γ i j ∗ > 0 \gamma_{ij}^*>0 γ ij ∗ > 0 , the first-order optimality condition gives
0 = c i j + log ( r i ∗ ρ i ) + log ( s j ∗ η j ) . 0=c_{ij}+\log\left(\frac{r_i^*}{\rho_i}\right)+\log\left(\frac{s_j^*}{\eta_j}\right). 0 = c ij + log ( ρ i r i ∗ ) + log ( η j s j ∗ ) .
For γ i j ∗ = 0 \gamma_{ij}^*=0 γ ij ∗ = 0 , the one-sided derivative must be nonnegative. Hence
c i j + log ( r i ∗ ρ i ) + log ( s j ∗ η j ) ≥ 0 , c_{ij}+\log\left(\frac{r_i^*}{\rho_i}\right)+\log\left(\frac{s_j^*}{\eta_j}\right)\ge0, c ij + log ( ρ i r i ∗ ) + log ( η j s j ∗ ) ≥ 0 ,
and
γ i j ∗ [ c i j + log ( r i ∗ ρ i ) + log ( s j ∗ η j ) ] = 0. \gamma_{ij}^*\left[c_{ij}+\log\left(\frac{r_i^*}{\rho_i}\right)+\log\left(\frac{s_j^*}{\eta_j}\right)\right]=0. γ ij ∗ [ c ij + log ( ρ i r i ∗ ) + log ( η j s j ∗ ) ] = 0.
These are the complementary slackness conditions on I × J I \times J I × J . Now we construct the original static WFR variables by
a i j ∗ = γ i j ∗ ρ i r i ∗ , b i j ∗ = γ i j ∗ η j s j ∗ . a_{ij}^{*}=\gamma_{ij}^{*}\frac{\rho_i}{r_i^{*}},\qquad b_{ij}^{*}=\gamma_{ij}^{*}\frac{\eta_j}{s_j^{*}}. a ij ∗ = γ ij ∗ r i ∗ ρ i , b ij ∗ = γ ij ∗ s j ∗ η j .
They are feasible for the semi-coupling problem, since
∑ j a i j ∗ = ρ i r i ∗ ∑ j γ i j ∗ = ρ i , \sum_j a_{ij}^{*}=\frac{\rho_i}{r_i^{*}}\sum_j\gamma_{ij}^{*}=\rho_i, j ∑ a ij ∗ = r i ∗ ρ i j ∑ γ ij ∗ = ρ i ,
and
∑ i b i j ∗ = η j s j ∗ ∑ i γ i j ∗ = η j . \sum_i b_{ij}^{*}=\frac{\eta_j}{s_j^{*}}\sum_i\gamma_{ij}^{*}=\eta_j. i ∑ b ij ∗ = s j ∗ η j i ∑ γ ij ∗ = η j .
It remains to show that this feasible pair is optimal for the original static WFR problem. If γ i j ∗ > 0 \gamma_{ij}^{*}>0 γ ij ∗ > 0 , then the complementary slackness condition gives
− 2 log ω i j + log ( r i ∗ ρ i ) + log ( s j ∗ η j ) = 0. -2\log\omega_{ij}+\log\left(\frac{r_i^{*}}{\rho_i}\right)+\log\left(\frac{s_j^{*}}{\eta_j}\right)=0. − 2 log ω ij + log ( ρ i r i ∗ ) + log ( η j s j ∗ ) = 0.
Equivalently,
r i ∗ s j ∗ ρ i η j = ω i j 2 . \frac{r_i^{*}s_j^{*}}{\rho_i\eta_j}=\omega_{ij}^{2}. ρ i η j r i ∗ s j ∗ = ω ij 2 .
Therefore,
ω i j a i j ∗ b i j ∗ = ω i j γ i j ∗ ρ i η j r i ∗ s j ∗ = γ i j ∗ . \omega_{ij}\sqrt{a_{ij}^{*}b_{ij}^{*}}=\omega_{ij}\gamma_{ij}^{*}\sqrt{\frac{\rho_i\eta_j}{r_i^{*}s_j^{*}}}=\gamma_{ij}^{*}. ω ij a ij ∗ b ij ∗ = ω ij γ ij ∗ r i ∗ s j ∗ ρ i η j = γ ij ∗ .
If γ i j ∗ = 0 \gamma_{ij}^{*}=0 γ ij ∗ = 0 , then a i j ∗ = b i j ∗ = 0 a_{ij}^{*}=b_{ij}^{*}=0 a ij ∗ = b ij ∗ = 0 , so the same identity still holds:
ω i j a i j ∗ b i j ∗ = γ i j ∗ . \omega_{ij}\sqrt{a_{ij}^{*}b_{ij}^{*}}=\gamma_{ij}^{*}. ω ij a ij ∗ b ij ∗ = γ ij ∗ .
Hence the static WFR objective at ( a ∗ , b ∗ ) (a^{*},b^{*}) ( a ∗ , b ∗ ) is
∑ i , j [ a i j ∗ + b i j ∗ − 2 ω i j a i j ∗ b i j ∗ ] = ∑ i ρ i + ∑ j η j − 2 ∑ i , j γ i j ∗ . \sum_{i,j}\left[a_{ij}^{*}+b_{ij}^{*}-2\omega_{ij}\sqrt{a_{ij}^{*}b_{ij}^{*}}\right]=\sum_i\rho_i+\sum_j\eta_j-2\sum_{i,j}\gamma_{ij}^{*}. i , j ∑ [ a ij ∗ + b ij ∗ − 2 ω ij a ij ∗ b ij ∗ ] = i ∑ ρ i + j ∑ η j − 2 i , j ∑ γ ij ∗ .
On the other hand, by the complementary slackness relation,
Φ ( γ ∗ ) = ∑ i , j c i j γ i j ∗ + ∑ i [ r i ∗ log ( r i ∗ ρ i ) − r i ∗ + ρ i ] + ∑ j [ s j ∗ log ( s j ∗ η j ) − s j ∗ + η j ] = ∑ i ρ i + ∑ j η j − 2 ∑ i , j γ i j ∗ + ∑ i , j γ i j ∗ [ c i j + log ( r i ∗ ρ i ) + log ( s j ∗ η j ) ] = ∑ i ρ i + ∑ j η j − 2 ∑ i , j γ i j ∗ . \begin{aligned}
\Phi(\gamma^{*})=\sum_{i,j}c_{ij}\gamma_{ij}^{*}+\sum_i\left[r_i^{*}\log\left(\frac{r_i^{*}}{\rho_i}\right)-r_i^{*}+\rho_i\right]+\sum_j\left[s_j^{*}\log\left(\frac{s_j^{*}}{\eta_j}\right)-s_j^{*}+\eta_j\right] \\
&=\sum_i\rho_i+\sum_j\eta_j-2\sum_{i,j}\gamma_{ij}^{*}+\sum_{i,j}\gamma_{ij}^{*}\left[c_{ij}+\log\left(\frac{r_i^{*}}{\rho_i}\right)+\log\left(\frac{s_j^{*}}{\eta_j}\right)\right] \\
&=\sum_i\rho_i+\sum_j\eta_j-2\sum_{i,j}\gamma_{ij}^{*}.
\end{aligned} Φ ( γ ∗ ) = i , j ∑ c ij γ ij ∗ + i ∑ [ r i ∗ log ( ρ i r i ∗ ) − r i ∗ + ρ i ] + j ∑ [ s j ∗ log ( η j s j ∗ ) − s j ∗ + η j ] = i ∑ ρ i + j ∑ η j − 2 i , j ∑ γ ij ∗ + i , j ∑ γ ij ∗ [ c ij + log ( ρ i r i ∗ ) + log ( η j s j ∗ ) ] = i ∑ ρ i + j ∑ η j − 2 i , j ∑ γ ij ∗ .
Thus the entropy transport objective at γ ∗ \gamma^{*} γ ∗ equals to the static WFR objective at the constructed pair ( a ∗ , b ∗ ) (a^{*},b^{*}) ( a ∗ , b ∗ ) .
By Proposition 2.14, the entropy transport problem and the static WFR semi-coupling problem have the same optimal value. Since γ ∗ \gamma^{*} γ ∗ is optimal for the entropy transport problem and ( a ∗ , b ∗ ) (a^{*},b^{*}) ( a ∗ , b ∗ ) is feasible for the static WFR problem with the same objective value, ( a ∗ , b ∗ ) (a^{*},b^{*}) ( a ∗ , b ∗ ) is an optimal solution of the original static WFR problem. ∎
Proof of Theorem 3.1
Proof. Let E t \mathbb{E}_t E t denote E t ∼ U [ 0 , 1 ] \mathbb{E}_{t\sim U[0,1]} E t ∼ U [ 0 , 1 ] . Expanding the marginal objective (48) gives
L U D F M ( θ , ϕ ) = E t ∑ x ∈ X p t ( x ) [ ( 1 − t ) 2 ∥ q t θ ( x , ⋅ ) − q t ( x , ⋅ ) ∥ 2 , x 2 + λ ∣ g t ϕ ( x ) − g t ( x ) ∣ 2 ] = E t ∑ x ∈ X p t ( x ) [ ( 1 − t ) 2 ( ∥ q t θ ( x , ⋅ ) ∥ 2 , x 2 − 2 ⟨ q t θ ( x , ⋅ ) , q t ( x , ⋅ ) ⟩ x + ∥ q t ( x , ⋅ ) ∥ 2 , x 2 \begin{aligned}
\mathcal{L}_{\mathrm{UDFM}}(\theta,\phi)=\mathbb{E}_t\sum_{x\in\mathcal{X}}p_t(x)\left[(1-t)^2\left\|q_t^\theta(x,\cdot)-q_t(x,\cdot)\right\|_{2,x}^2+\lambda\left|g_t^\phi(x)-g_t(x)\right|^2\right] \\
&=\mathbb{E}_t\sum_{x\in\mathcal{X}}p_t(x)\left[(1-t)^2\left(\left\|q_t^\theta(x,\cdot)\right\|_{2,x}^2-2\left\langle q_t^\theta(x,\cdot),q_t(x,\cdot)\right\rangle_x+\left\|q_t(x,\cdot)\right\|_{2,x}^2\right.\right.
\end{aligned} L UDFM ( θ , ϕ ) = E t x ∈ X ∑ p t ( x ) [ ( 1 − t ) 2 q t θ ( x , ⋅ ) − q t ( x , ⋅ ) 2 , x 2 + λ g t ϕ ( x ) − g t ( x ) 2 ] = E t x ∈ X ∑ p t ( x ) [ ( 1 − t ) 2 ( q t θ ( x , ⋅ ) 2 , x 2 − 2 ⟨ q t θ ( x , ⋅ ) , q t ( x , ⋅ ) ⟩ x + ∥ q t ( x , ⋅ ) ∥ 2 , x 2
+ λ ( g t ϕ ( x ) ) 2 − 2 λ g t ϕ ( x ) g t ( x ) + λ ( g t ( x ) ) 2 ) ] = E t ∑ x ∈ X p t ( x ) [ ( 1 − t ) 2 ( ∥ q t θ ( x , ⋅ ) ∥ 2 , x 2 − 2 ⟨ q t θ ( x , ⋅ ) , q t ( x , ⋅ ) ⟩ x ) + λ ( g t ϕ ( x ) ) 2 − 2 λ g t ϕ ( x ) g t ( x ) ] + C m a r g , \begin{aligned}
\left.\left.+\lambda(g_t^\phi(x))^2-2\lambda g_t^\phi(x)g_t(x)+\lambda(g_t(x))^2\right)\right] \\
&=\mathbb{E}_t\sum_{x\in\mathcal{X}}p_t(x)\left[(1-t)^2\left(\left\|q_t^\theta(x,\cdot)\right\|_{2,x}^2-2\left\langle q_t^\theta(x,\cdot),q_t(x,\cdot)\right\rangle_x\right)
+\lambda(g_t^\phi(x))^2-2\lambda g_t^\phi(x)g_t(x)\right]+C_{\mathrm{marg}},
\end{aligned} + λ ( g t ϕ ( x ) ) 2 − 2 λ g t ϕ ( x ) g t ( x ) + λ ( g t ( x ) ) 2 ) ] = E t x ∈ X ∑ p t ( x ) [ ( 1 − t ) 2 ( q t θ ( x , ⋅ ) 2 , x 2 − 2 ⟨ q t θ ( x , ⋅ ) , q t ( x , ⋅ ) ⟩ x ) + λ ( g t ϕ ( x ) ) 2 − 2 λ g t ϕ ( x ) g t ( x ) ] + C marg ,
where
C m a r g = E t ∑ x ∈ X p t ( x ) [ ( 1 − t ) 2 ∥ q t ( x , ⋅ ) ∥ 2 , x 2 + λ ( g t ( x ) ) 2 ] . C_{\mathrm{marg}}=\mathbb{E}_t\sum_{x\in\mathcal{X}}p_t(x)\left[(1-t)^2\left\|q_t(x,\cdot)\right\|_{2,x}^2+\lambda(g_t(x))^2\right]. C marg = E t x ∈ X ∑ p t ( x ) [ ( 1 − t ) 2 ∥ q t ( x , ⋅ ) ∥ 2 , x 2 + λ ( g t ( x ) ) 2 ] .
is independent of ( θ , ϕ ) (\theta,\phi) ( θ , ϕ ) . By the marginalization identities (40) , (41) , and (42) , we have
p t ( x ) = ∫ Z p t ( x ∣ z ) π ( z ) d z , p_t(x)=\int_{\mathcal{Z}}p_t(x\mid z)\,\pi(z)\,\mathrm{d}z, p t ( x ) = ∫ Z p t ( x ∣ z ) π ( z ) d z ,
p t ( x ) q t ( x , y ) = ∫ Z p t ( x ∣ z ) q t ( x , y ∣ z ) π ( z ) d z , y ≠ x , p_t(x)q_t(x,y)=\int_{\mathcal{Z}}p_t(x\mid z)q_t(x,y\mid z)\,\pi(z)\,\mathrm{d}z,\qquad y\ne x, p t ( x ) q t ( x , y ) = ∫ Z p t ( x ∣ z ) q t ( x , y ∣ z ) π ( z ) d z , y = x ,
and
p t ( x ) g t ( x ) = ∫ Z p t ( x ∣ z ) g t ( x ∣ z ) π ( z ) d z . p_t(x)g_t(x)=\int_{\mathcal{Z}}p_t(x\mid z)g_t(x\mid z)\,\pi(z)\,\mathrm{d}z. p t ( x ) g t ( x ) = ∫ Z p t ( x ∣ z ) g t ( x ∣ z ) π ( z ) d z .
Substituting these identities into the parameter-dependent terms above gives
L U D F M ( θ , ϕ ) = E t ∫ Z ∑ x ∈ X p t ( x ∣ z ) [ ( 1 − t ) 2 ( ∥ q t θ ( x , ⋅ ) ∥ 2 , x 2 − 2 ⟨ q t θ ( x , ⋅ ) , q t ( x , ⋅ ∣ z ) ⟩ x ) + λ ( g t ϕ ( x ) ) 2 − 2 λ g t ϕ ( x ) g t ( x ∣ z ) ] π ( z ) d z + C m a r g . \mathcal{L}_{\mathrm{UDFM}}(\theta,\phi)=\mathbb{E}_t\int_{\mathcal{Z}}\sum_{x\in\mathcal{X}}p_t(x\mid z)\left[(1-t)^2\left(\left\|q_t^\theta(x,\cdot)\right\|_{2,x}^2-2\left\langle q_t^\theta(x,\cdot),q_t(x,\cdot\mid z)\right\rangle_x\right)
+\lambda(g_t^\phi(x))^2-2\lambda g_t^\phi(x)g_t(x\mid z)\right]\pi(z)\,\mathrm{d}z+C_{\mathrm{marg}}. L UDFM ( θ , ϕ ) = E t ∫ Z x ∈ X ∑ p t ( x ∣ z ) [ ( 1 − t ) 2 ( q t θ ( x , ⋅ ) 2 , x 2 − 2 ⟨ q t θ ( x , ⋅ ) , q t ( x , ⋅ ∣ z ) ⟩ x ) + λ ( g t ϕ ( x ) ) 2 − 2 λ g t ϕ ( x ) g t ( x ∣ z ) ] π ( z ) d z + C marg .
Next, we add and subtract the conditional target norm. Specifically,
∥ q t θ ( x , ⋅ ) ∥ 2 , x 2 − 2 ⟨ q t θ ( x , ⋅ ) , q t ( x , ⋅ ∣ z ) ⟩ x = ∥ q t θ ( x , ⋅ ) − q t ( x , ⋅ ∣ z ) ∥ 2 , x 2 − ∥ q t ( x , ⋅ ∣ z ) ∥ 2 , x 2 , \left\|q_t^\theta(x,\cdot)\right\|_{2,x}^2-2\left\langle q_t^\theta(x,\cdot),q_t(x,\cdot\mid z)\right\rangle_x
=\left\|q_t^\theta(x,\cdot)-q_t(x,\cdot\mid z)\right\|_{2,x}^2-\left\|q_t(x,\cdot\mid z)\right\|_{2,x}^2, q t θ ( x , ⋅ ) 2 , x 2 − 2 ⟨ q t θ ( x , ⋅ ) , q t ( x , ⋅ ∣ z ) ⟩ x = q t θ ( x , ⋅ ) − q t ( x , ⋅ ∣ z ) 2 , x 2 − ∥ q t ( x , ⋅ ∣ z ) ∥ 2 , x 2 ,
and
λ ( g t ϕ ( x ) ) 2 − 2 λ g t ϕ ( x ) g t ( x ∣ z ) = λ ∣ g t ϕ ( x ) − g t ( x ∣ z ) ∣ 2 − λ ( g t ( x ∣ z ) ) 2 . \lambda(g_t^\phi(x))^2-2\lambda g_t^\phi(x)g_t(x\mid z)=\lambda\left|g_t^\phi(x)-g_t(x\mid z)\right|^2-\lambda(g_t(x\mid z))^2. λ ( g t ϕ ( x ) ) 2 − 2 λ g t ϕ ( x ) g t ( x ∣ z ) = λ g t ϕ ( x ) − g t ( x ∣ z ) 2 − λ ( g t ( x ∣ z ) ) 2 .
Therefore,
L U D F M ( θ , ϕ ) = E t ∫ Z ∑ x ∈ X p t ( x ∣ z ) [ ( 1 − t ) 2 ∥ q t θ ( x , ⋅ ) − q t ( x , ⋅ ∣ z ) ∥ 2 , x 2 + λ ∣ g t ϕ ( x ) − g t ( x ∣ z ) ∣ 2 ] π ( z ) d z + C m a r g \mathcal{L}_{\mathrm{UDFM}}(\theta,\phi)=\mathbb{E}_t\int_{\mathcal{Z}}\sum_{x\in\mathcal{X}}p_t(x\mid z)\left[(1-t)^2\left\|q_t^\theta(x,\cdot)-q_t(x,\cdot\mid z)\right\|_{2,x}^2+\lambda\left|g_t^\phi(x)-g_t(x\mid z)\right|^2\right]\pi(z)\,\mathrm{d}z+C_{\mathrm{marg}} L UDFM ( θ , ϕ ) = E t ∫ Z x ∈ X ∑ p t ( x ∣ z ) [ ( 1 − t ) 2 q t θ ( x , ⋅ ) − q t ( x , ⋅ ∣ z ) 2 , x 2 + λ g t ϕ ( x ) − g t ( x ∣ z ) 2 ] π ( z ) d z + C marg
− E t ∫ Z ∑ x ∈ X p t ( x ∣ z ) [ ( 1 − t ) 2 ∥ q t ( x , ⋅ ∣ z ) ∥ 2 , x 2 + λ ( g t ( x ∣ z ) ) 2 ] π ( z ) d z . -\mathbb{E}_t\int_{\mathcal{Z}}\sum_{x\in\mathcal{X}}p_t(x\mid z)\left[(1-t)^2\left\|q_t(x,\cdot\mid z)\right\|_{2,x}^2+\lambda(g_t(x\mid z))^2\right]\pi(z)\,\mathrm{d}z. − E t ∫ Z x ∈ X ∑ p t ( x ∣ z ) [ ( 1 − t ) 2 ∥ q t ( x , ⋅ ∣ z ) ∥ 2 , x 2 + λ ( g t ( x ∣ z ) ) 2 ] π ( z ) d z .
Define
C c o n d : = E t ∫ Z ∑ x ∈ X p t ( x ∣ z ) [ ( 1 − t ) 2 ∥ q t ( x , ⋅ ∣ z ) ∥ 2 , x 2 + λ ( g t ( x ∣ z ) ) 2 ] π ( z ) d z . C_{\mathrm{cond}} := \mathbb{E}_t \int_{\mathcal{Z}} \sum_{x\in\mathcal{X}} p_t(x\mid z)\left[(1-t)^2\lVert q_t(x,\cdot\mid z)\rVert_{2,x}^2+\lambda(g_t(x\mid z))^2\right]\pi(z)\,\mathrm{d}z. C cond := E t ∫ Z x ∈ X ∑ p t ( x ∣ z ) [ ( 1 − t ) 2 ∥ q t ( x , ⋅ ∣ z ) ∥ 2 , x 2 + λ ( g t ( x ∣ z ) ) 2 ] π ( z ) d z .
The first term in the previous display is precisely L C U D F M ( θ , ϕ ) \mathcal{L}_{\mathrm{CUDFM}}(\theta,\phi) L CUDFM ( θ , ϕ ) in (49) . Hence
L U D F M ( θ , ϕ ) = L C U D F M ( θ , ϕ ) + C m a r g − C c o n d . \mathcal{L}_{\mathrm{UDFM}}(\theta,\phi)=\mathcal{L}_{\mathrm{CUDFM}}(\theta,\phi)+C_{\mathrm{marg}}-C_{\mathrm{cond}}. L UDFM ( θ , ϕ ) = L CUDFM ( θ , ϕ ) + C marg − C cond .
Setting
C : = C m a r g − C c o n d , C:=C_{\mathrm{marg}}-C_{\mathrm{cond}}, C := C marg − C cond ,
we obtain
L U D F M ( θ , ϕ ) = L C U D F M ( θ , ϕ ) + C . \mathcal{L}_{\mathrm{UDFM}}(\theta,\phi)=\mathcal{L}_{\mathrm{CUDFM}}(\theta,\phi)+C. L UDFM ( θ , ϕ ) = L CUDFM ( θ , ϕ ) + C .
Both C m a r g C_{\mathrm{marg}} C marg and C c o n d C_{\mathrm{cond}} C cond depend only on the target marginal and conditional fields, and therefore C C C is independent of ( θ , ϕ ) (\theta,\phi) ( θ , ϕ ) . Differentiating both sides with respect to ( θ , ϕ ) (\theta,\phi) ( θ , ϕ ) gives
∇ θ , ϕ L U D F M ( θ , ϕ ) = ∇ θ , ϕ L C U D F M ( θ , ϕ ) . \nabla_{\theta,\phi}\mathcal{L}_{\mathrm{UDFM}}(\theta,\phi)=\nabla_{\theta,\phi}\mathcal{L}_{\mathrm{CUDFM}}(\theta,\phi). ∇ θ , ϕ L UDFM ( θ , ϕ ) = ∇ θ , ϕ L CUDFM ( θ , ϕ ) .
This proves the claim.
Proof of Proposition 4.2
Proof. Let ζ i j 0 = ζ ˉ P ( i ) P ( j ) \zeta_{ij}^{0}=\bar{\zeta}_{P(i)P(j)} ζ ij 0 = ζ ˉ P ( i ) P ( j ) be the block-homogeneous lifting of the coarse affinity. For any feasible ( a , b ) (a,b) ( a , b ) ,
∣ J ζ ( a , b ) − J ζ 0 ( a , b ) ∣ ≤ ε 4 δ 2 ∑ i , j a i j b i j ≤ ε 4 δ 2 ∑ i , j a i j ∑ i , j b i j = ε 4 δ 2 R S . \left|\mathcal{J}_{\zeta}(a,b)-\mathcal{J}_{\zeta^{0}}(a,b)\right|\leq\frac{\varepsilon}{4\delta^2}\sum_{i,j}\sqrt{a_{ij}b_{ij}}\leq\frac{\varepsilon}{4\delta^2}\sqrt{\sum_{i,j}a_{ij}}\sqrt{\sum_{i,j}b_{ij}}=\frac{\varepsilon}{4\delta^2}\sqrt{RS}. J ζ ( a , b ) − J ζ 0 ( a , b ) ≤ 4 δ 2 ε i , j ∑ a ij b ij ≤ 4 δ 2 ε i , j ∑ a ij i , j ∑ b ij = 4 δ 2 ε R S .
Hence the corresponding optimal values differ by at most the same amount. By Theorem 4.1 , the optimal value associated with ζ 0 \zeta^{0} ζ 0 equals the coarse optimal value, which proves (61) after multiplying by 4 δ 2 4\delta^2 4 δ 2 .
For any semi-coupling, the travelling-Dirac formula (18) gives the total mass of the induced measure flow
M f ( t ) = ( 1 − t ) 2 R + t 2 S + 2 t ( 1 − t ) ∑ i , j ζ i j a i j b i j . M_f(t)=(1-t)^2R+t^2S+2t(1-t)\sum_{i,j}\zeta_{ij}\sqrt{a_{ij}b_{ij}}. M f ( t ) = ( 1 − t ) 2 R + t 2 S + 2 t ( 1 − t ) i , j ∑ ζ ij a ij b ij .
Since J ζ ( a , b ) = R + S − 2 ∑ i , j ζ i j a i j b i j \mathcal{J}_{\zeta}(a,b)=R+S-2\sum_{i,j}\zeta_{ij}\sqrt{a_{ij}b_{ij}} J ζ ( a , b ) = R + S − 2 ∑ i , j ζ ij a ij b ij , an optimal fine WFR flow satisfies
M f ( t ) = ( 1 − t ) R + t S − t ( 1 − t ) 4 δ 2 WFR δ 2 ( ρ , η ) . (84) M_f(t)=(1-t)R+tS-\frac{t(1-t)}{4\delta^2}\operatorname{WFR}_{\delta}^2(\rho,\eta). \tag*{(84)} M f ( t ) = ( 1 − t ) R + tS − 4 δ 2 t ( 1 − t ) WFR δ 2 ( ρ , η ) . (84)
Analogously,
M c ( t ) = ( 1 − t ) R + t S − t ( 1 − t ) 4 δ 2 WFR δ 2 ( ρ ˉ , η ˉ ) . (85) M_c(t)=(1-t)R+tS-\frac{t(1-t)}{4\delta^2}\operatorname{WFR}_{\delta}^2(\bar{\rho},\bar{\eta}). \tag*{(85)} M c ( t ) = ( 1 − t ) R + tS − 4 δ 2 t ( 1 − t ) WFR δ 2 ( ρ ˉ , η ˉ ) . (85)
Direct subtraction gives (62) . Finally,
M c ( t ) ≥ ( 1 − t ) 2 R + t 2 S ≥ 2 t ( 1 − t ) R S , (86) M_c(t)\geq(1-t)^2R+t^2S\geq2t(1-t)\sqrt{RS}, \tag*{(86)} M c ( t ) ≥ ( 1 − t ) 2 R + t 2 S ≥ 2 t ( 1 − t ) R S , (86)
which implies (63) .
Proof of Proposition 4.3
Proof. For each n n n , define
ζ i j ( n ) = cos ( C i j ( n ) 2 δ ) , ζ i j 0 = ζ ˉ P ( i ) P ( j ) = cos ( C ˉ P ( i ) P ( j ) 2 δ ) . \zeta_{ij}^{(n)}=\cos\left(\frac{\sqrt{C_{ij}^{(n)}}}{2\delta}\right),\qquad\zeta_{ij}^{0}=\bar{\zeta}_{P(i)P(j)}=\cos\left(\frac{\sqrt{\bar{C}_{P(i)P(j)}}}{2\delta}\right). ζ ij ( n ) = cos 2 δ C ij ( n ) , ζ ij 0 = ζ ˉ P ( i ) P ( j ) = cos 2 δ C ˉ P ( i ) P ( j ) .
By the same estimate used in Proposition 4.2 ,
max i , j ∣ ζ i j ( n ) − ζ i j 0 ∣ ≤ ε n 8 δ 2 . (87) \max_{i,j}\left|\zeta_{ij}^{(n)}-\zeta_{ij}^{0}\right|\leq\frac{\varepsilon_n}{8\delta^2}. \tag*{(87)} i , j max ζ ij ( n ) − ζ ij 0 ≤ 8 δ 2 ε n . (87)
Let Γ ( ρ , η ) \Gamma(\rho,\eta) Γ ( ρ , η ) denote the fine-scale feasible set of semi-couplings,
Γ ( ρ , η ) = { ( a , b ) ≥ 0 : ∑ j a i j = ρ i , ∑ i b i j = η j } . \Gamma(\rho,\eta)=\left\{(a,b)\geq0:\sum_j a_{ij}=\rho_i,\ \sum_i b_{ij}=\eta_j\right\}. Γ ( ρ , η ) = { ( a , b ) ≥ 0 : j ∑ a ij = ρ i , i ∑ b ij = η j } .
Since
0 ≤ a i j ≤ ρ i , 0 ≤ b i j ≤ η j , 0\leq a_{ij}\leq\rho_i,\qquad0\leq b_{ij}\leq\eta_j, 0 ≤ a ij ≤ ρ i , 0 ≤ b ij ≤ η j ,
the set Γ ( ρ , η ) \Gamma(\rho,\eta) Γ ( ρ , η ) is closed and bounded in a finite-dimensional Euclidean space, therefore compact. Consider any subsequence of { ( a ( n ) , b ( n ) ) } n ≥ 1 \{(a^{(n)},b^{(n)})\}_{n\geq1} {( a ( n ) , b ( n ) ) } n ≥ 1 . By compactness, it contains a further subsequence, still indexed by n n n for simplicity, such that
( a ( n ) , b ( n ) ) ⟶ ( a ∗ , b ∗ ) . (88) (a^{(n)},b^{(n)})\longrightarrow(a^*,b^*). \tag*{(88)} ( a ( n ) , b ( n ) ) ⟶ ( a ∗ , b ∗ ) . (88)
We first show that ( a ∗ , b ∗ ) (a^*,b^*) ( a ∗ , b ∗ ) is optimal for the limiting block-homogeneous fine-scale problem associated with ζ 0 \zeta^0 ζ 0 . For every ( a , b ) ∈ Γ ( ρ , η ) (a,b)\in\Gamma(\rho,\eta) ( a , b ) ∈ Γ ( ρ , η ) , (B.17) and Cauchy–Schwarz imply
∣ J ζ ( n ) ( a , b ) − J ζ 0 ( a , b ) ∣ ≤ 2 max i , j ∣ ζ i j ( n ) − ζ i j 0 ∣ ∑ i , j a i j b i j ≤ ε n 4 δ 2 ∑ i , j a i j ∑ i , j b i j = ε n 4 δ 2 R S . (89) \begin{aligned}
\left|\mathcal{J}_{\zeta^{(n)}}(a,b)-\mathcal{J}_{\zeta^0}(a,b)\right|
&\leq2\max_{i,j}\left|\zeta_{ij}^{(n)}-\zeta_{ij}^{0}\right|\sum_{i,j}\sqrt{a_{ij}b_{ij}}\\
&\leq\frac{\varepsilon_n}{4\delta^2}\sqrt{\sum_{i,j}a_{ij}}\sqrt{\sum_{i,j}b_{ij}}\\
&=\frac{\varepsilon_n}{4\delta^2}\sqrt{R S}. \tag*{(89)}
\end{aligned} J ζ ( n ) ( a , b ) − J ζ 0 ( a , b ) ≤ 2 i , j max ζ ij ( n ) − ζ ij 0 i , j ∑ a ij b ij ≤ 4 δ 2 ε n i , j ∑ a ij i , j ∑ b ij = 4 δ 2 ε n R S . (89)
Importantly, the right-hand side is independent of ( a , b ) (a,b) ( a , b ) . Hence J ζ ( n ) \mathcal{J}_{\zeta^{(n)}} J ζ ( n ) converges uniformly to J ζ 0 \mathcal{J}_{\zeta^0} J ζ 0 on Γ ( ρ , η ) \Gamma(\rho,\eta) Γ ( ρ , η ) .
Now fix an arbitrary ( a , b ) ∈ Γ ( ρ , η ) (a,b)\in\Gamma(\rho,\eta) ( a , b ) ∈ Γ ( ρ , η ) . Since ( a ( n ) , b ( n ) ) (a^{(n)},b^{(n)}) ( a ( n ) , b ( n ) ) is optimal for J ζ ( n ) \mathcal{J}_{\zeta^{(n)}} J ζ ( n ) ,
J ζ ( n ) ( a ( n ) , b ( n ) ) ≤ J ζ ( n ) ( a , b ) . \mathcal{J}_{\zeta^{(n)}}(a^{(n)},b^{(n)})\leq\mathcal{J}_{\zeta^{(n)}}(a,b). J ζ ( n ) ( a ( n ) , b ( n ) ) ≤ J ζ ( n ) ( a , b ) .
Using (B.19),
J ζ 0 ( a ( n ) , b ( n ) ) ≤ J ζ 0 ( a , b ) + ε n 2 δ 2 R S . \mathcal{J}_{\zeta^0}(a^{(n)},b^{(n)})\leq\mathcal{J}_{\zeta^0}(a,b)+\frac{\varepsilon_n}{2\delta^2}\sqrt{R S}. J ζ 0 ( a ( n ) , b ( n ) ) ≤ J ζ 0 ( a , b ) + 2 δ 2 ε n R S .
Taking n → ∞ n\to\infty n → ∞ and using (B.18) together with the continuity of J ζ 0 \mathcal{J}_{\zeta^0} J ζ 0 gives J ζ 0 ( a ∗ , b ∗ ) ≤ J ζ 0 ( a , b ) \mathcal{J}_{\zeta^0}(a^*,b^*)\leq\mathcal{J}_{\zeta^0}(a,b) J ζ 0 ( a ∗ , b ∗ ) ≤ J ζ 0 ( a , b ) . Since ( a , b ) ∈ Γ ( ρ , η ) (a,b)\in\Gamma(\rho,\eta) ( a , b ) ∈ Γ ( ρ , η ) was arbitrary, ( a ∗ , b ∗ ) (a^*,b^*) ( a ∗ , b ∗ ) is an optimal semi-coupling for the limiting block-homogeneous fine-scale problem.
Let
a ˉ A B ∗ = ∑ i ∈ B A , j ∈ B B a i j ∗ , b ˉ A B ∗ = ∑ i ∈ B A , j ∈ B B b i j ∗ . \bar{a}_{AB}^*=\sum_{i\in B_A,j\in B_B}a_{ij}^*,\qquad\bar{b}_{AB}^*=\sum_{i\in B_A,j\in B_B}b_{ij}^*. a ˉ A B ∗ = i ∈ B A , j ∈ B B ∑ a ij ∗ , b ˉ A B ∗ = i ∈ B A , j ∈ B B ∑ b ij ∗ .
Since the limiting cost satisfies
C i j 0 = C ‾ P ( i ) P ( j ) , C_{ij}^{0}=\overline{C}_{P(i)P(j)}, C ij 0 = C P ( i ) P ( j ) ,
Theorem 4.1 implies that ( a ˉ ∗ , b ˉ ∗ ) (\bar{a}^{*},\bar{b}^{*}) ( a ˉ ∗ , b ˉ ∗ ) is an optimal coarse-scale semi-coupling. Moreover, if μ t ∗ \mu_{t}^{*} μ t ∗ denotes the fine-scale WFR flow reconstructed from ( a ∗ , b ∗ ) (a^{*},b^{*}) ( a ∗ , b ∗ ) under the limiting block-homogeneous cost, then
P # μ t ∗ = μ ˉ t ∗ , (90) P_{\#}\mu_{t}^{*}=\bar{\mu}_{t}^{*}, \tag*{(90)} P # μ t ∗ = μ ˉ t ∗ , (90)
where μ ˉ t ∗ \bar{\mu}_{t}^{*} μ ˉ t ∗ is an optimal coarse-scale WFR flow generated by ( a ˉ ∗ , b ˉ ∗ ) (\bar{a}^{*},\bar{b}^{*}) ( a ˉ ∗ , b ˉ ∗ ) .
It remains to show that the dynamic flows themselves converge. For every pair ( i , j ) (i,j) ( i , j ) , let
θ i j ( n ) = C i j ( n ) 2 δ , θ i j 0 = C ‾ P ( i ) P ( j ) 2 δ . \theta_{ij}^{(n)}=\frac{\sqrt{C_{ij}^{(n)}}}{2\delta},\qquad\theta_{ij}^{0}=\frac{\sqrt{\overline{C}_{P(i)P(j)}}}{2\delta}. θ ij ( n ) = 2 δ C ij ( n ) , θ ij 0 = 2 δ C P ( i ) P ( j ) .
By (64) ,
θ i j ( n ) ⟶ θ i j 0 . \theta_{ij}^{(n)}\longrightarrow\theta_{ij}^{0}. θ ij ( n ) ⟶ θ ij 0 .
The travelling Dirac associated with ( a i j ( n ) , b i j ( n ) , θ i j ( n ) ) (a_{ij}^{(n)},b_{ij}^{(n)},\theta_{ij}^{(n)}) ( a ij ( n ) , b ij ( n ) , θ ij ( n ) ) has mass
m i j ( n ) ( t ) = ( 1 − t ) 2 a i j ( n ) + t 2 b i j ( n ) + 2 t ( 1 − t ) a i j ( n ) b i j ( n ) cos θ i j ( n ) . m_{ij}^{(n)}(t)=(1-t)^{2}a_{ij}^{(n)}+t^{2}b_{ij}^{(n)}+2t(1-t)\sqrt{a_{ij}^{(n)}b_{ij}^{(n)}}\cos\theta_{ij}^{(n)}. m ij ( n ) ( t ) = ( 1 − t ) 2 a ij ( n ) + t 2 b ij ( n ) + 2 t ( 1 − t ) a ij ( n ) b ij ( n ) cos θ ij ( n ) .
Therefore,
m i j ( n ) ( t ) ⟶ m i j ∗ ( t ) m_{ij}^{(n)}(t)\longrightarrow m_{ij}^{*}(t) m ij ( n ) ( t ) ⟶ m ij ∗ ( t )
uniformly for t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] .
The corresponding progress variable can be represented through the complex-plane formulation of the travelling Dirac:
z i j ( n ) ( t ) = ( 1 − t ) a i j ( n ) + t b i j ( n ) e i θ i j ( n ) , z_{ij}^{(n)}(t)=(1-t)\sqrt{a_{ij}^{(n)}}+t\sqrt{b_{ij}^{(n)}}e^{i\theta_{ij}^{(n)}}, z ij ( n ) ( t ) = ( 1 − t ) a ij ( n ) + t b ij ( n ) e i θ ij ( n ) ,
with
m i j ( n ) ( t ) = ∣ z i j ( n ) ( t ) ∣ 2 , k i j ( n ) ( t ) = arg z i j ( n ) ( t ) θ i j ( n ) , m_{ij}^{(n)}(t)=\lvert z_{ij}^{(n)}(t)\rvert^{2},\qquad
k_{ij}^{(n)}(t)=\frac{\arg z_{ij}^{(n)}(t)}{\theta_{ij}^{(n)}}, m ij ( n ) ( t ) = ∣ z ij ( n ) ( t ) ∣ 2 , k ij ( n ) ( t ) = θ ij ( n ) arg z ij ( n ) ( t ) ,
with the usual continuous extension when the angle or an endpoint mass is zero. By (B.18) and θ i j ( n ) → θ i j 0 \theta_{ij}^{(n)}\to\theta_{ij}^{0} θ ij ( n ) → θ ij 0 , the curves z i j ( n ) z_{ij}^{(n)} z ij ( n ) converge uniformly to z i j ∗ z_{ij}^{*} z ij ∗ .
Away from points where z i j ∗ ( t ) = 0 z_{ij}^{*}(t)=0 z ij ∗ ( t ) = 0 , continuity of the argument implies
k i j ( n ) ( t ) ⟶ k i j ∗ ( t ) . k_{ij}^{(n)}(t)\longrightarrow k_{ij}^{*}(t). k ij ( n ) ( t ) ⟶ k ij ∗ ( t ) .
At a point where z i j ∗ ( t ) = 0 z_{ij}^{*}(t)=0 z ij ∗ ( t ) = 0 , although the progress variable itself need not be uniquely defined, the two measure components satisfy
0 ≤ m i j ( n ) ( t ) ( 1 − k i j ( n ) ( t ) ) ≤ m i j ( n ) ( t ) , 0 ≤ m i j ( n ) ( t ) k i j ( n ) ( t ) ≤ m i j ( n ) ( t ) , 0\leq m_{ij}^{(n)}(t)(1-k_{ij}^{(n)}(t))\leq m_{ij}^{(n)}(t),\qquad
0\leq m_{ij}^{(n)}(t)k_{ij}^{(n)}(t)\leq m_{ij}^{(n)}(t), 0 ≤ m ij ( n ) ( t ) ( 1 − k ij ( n ) ( t )) ≤ m ij ( n ) ( t ) , 0 ≤ m ij ( n ) ( t ) k ij ( n ) ( t ) ≤ m ij ( n ) ( t ) ,
and both converge to zero. Hence the measure-valued travelling Dirac
μ t i j , ( n ) = m i j ( n ) ( t ) [ ( 1 − k i j ( n ) ( t ) ) δ i + k i j ( n ) ( t ) δ j ] \mu_{t}^{ij,(n)}=m_{ij}^{(n)}(t)\left[(1-k_{ij}^{(n)}(t))\delta_{i}+k_{ij}^{(n)}(t)\delta_{j}\right] μ t ij , ( n ) = m ij ( n ) ( t ) [ ( 1 − k ij ( n ) ( t )) δ i + k ij ( n ) ( t ) δ j ]
depends continuously on its endpoint masses and cost, including at zero endpoint masses. Consequently,
sup t ∈ [ 0 , 1 ] ∥ μ t i j , ( n ) − μ t i j , ∗ ∥ 1 ⟶ 0. \sup_{t\in[0,1]} \left\|\mu_{t}^{ij,(n)}-\mu_{t}^{ij,*}\right\|_{1}\longrightarrow0. t ∈ [ 0 , 1 ] sup μ t ij , ( n ) − μ t ij , ∗ 1 ⟶ 0.
Since the state space is finite, summing over all ( i , j ) (i,j) ( i , j ) gives
sup t ∈ [ 0 , 1 ] ∥ μ t ( n ) − μ t ∗ ∥ 1 ⟶ 0. (91) \sup_{t\in[0,1]} \left\|\mu_{t}^{(n)}-\mu_{t}^{*}\right\|_{1}\longrightarrow0. \tag*{(91)} t ∈ [ 0 , 1 ] sup μ t ( n ) − μ t ∗ 1 ⟶ 0. (91)
Note that the pushforward P # P_{\#} P # is linear and nonexpansive in the ℓ 1 \ell^{1} ℓ 1 norm.
∥ P # μ − P # ν ∥ 1 ≤ ∥ μ − ν ∥ 1 . \left\|P_{\#}\mu-P_{\#}\nu\right\|_{1}\leq\left\|\mu-\nu\right\|_{1}. ∥ P # μ − P # ν ∥ 1 ≤ ∥ μ − ν ∥ 1 .
Combining this with (B.21) and (B.20) yields
sup t ∈ [ 0 , 1 ] ∥ P # μ t ( n ) − μ ˉ t ∗ ∥ 1 ⟶ 0 \sup_{t\in[0,1]}\left\|P_{\#}\mu_{t}^{(n)}-\bar{\mu}_{t}^{*}\right\|_{1}\longrightarrow0 t ∈ [ 0 , 1 ] sup P # μ t ( n ) − μ ˉ t ∗ 1 ⟶ 0
along the chosen subsequence. Therefore, every subsequential limit of the aggregated fine-scale flows is an optimal coarse-scale WFR flow.
Now suppose that the coarse optimal flow is unique. If (65) were false, there would exist c > 0 c>0 c > 0 and a subsequence such that
sup t ∈ [ 0 , 1 ] ∥ P # μ t ( n ) − μ ˉ t ∗ ∥ 1 ≥ c \sup_{t\in[0,1]}\left\|P_{\#}\mu_{t}^{(n)}-\bar{\mu}_{t}^{*}\right\|_{1}\geq c t ∈ [ 0 , 1 ] sup P # μ t ( n ) − μ ˉ t ∗ 1 ≥ c
for every element of this subsequence. By compactness of the feasible semi-coupling set, this subsequence contains a further subsequence to which the preceding argument applies. Its aggregated flows must converge to an optimal coarse flow, which by uniqueness is μ ˉ t ∗ \bar{\mu}_{t}^{*} μ ˉ t ∗ . This contradicts the above lower bound. Hence (65) holds for the entire sequence.
Finally, assume R , S > 0 R,S>0 R , S > 0 . For every coarse optimal WFR flow,
∣ μ ˉ t ∗ ∣ ≥ ( 1 − t ) 2 R + t 2 S ≥ R S R + S > 0 , t ∈ [ 0 , 1 ] . \left|\bar{\mu}_{t}^{*}\right|\geq(1-t)^{2}R+t^{2}S\geq\frac{RS}{R+S}>0,\qquad t\in[0,1]. ∣ μ ˉ t ∗ ∣ ≥ ( 1 − t ) 2 R + t 2 S ≥ R + S R S > 0 , t ∈ [ 0 , 1 ] .
For any two nonzero nonnegative measures μ , ν \mu,\nu μ , ν ,
TV ( μ ∣ μ ∣ , ν ∣ ν ∣ ) = 1 2 ∥ μ ∣ μ ∣ − ν ∣ ν ∣ ∥ 1 ≤ ∥ μ − ν ∥ 1 ∣ ν ∣ . \operatorname{TV}\left(\frac{\mu}{|\mu|},\frac{\nu}{|\nu|}\right)=\frac{1}{2}\left\|\frac{\mu}{|\mu|}-\frac{\nu}{|\nu|}\right\|_{1}\leq\frac{\left\|\mu-\nu\right\|_{1}}{|\nu|}. TV ( ∣ μ ∣ μ , ∣ ν ∣ ν ) = 2 1 ∣ μ ∣ μ − ∣ ν ∣ ν 1 ≤ ∣ ν ∣ ∥ μ − ν ∥ 1 .
Taking
μ = P # μ t ( n ) , ν = μ ˉ t ∗ , \mu=P_{\#}\mu_{t}^{(n)},\qquad\nu=\bar{\mu}_{t}^{*}, μ = P # μ t ( n ) , ν = μ ˉ t ∗ ,
we obtain
TV ( P # μ t ( n ) ∣ P # μ t ( n ) ∣ , μ ˉ t ∗ ∣ μ ˉ t ∗ ∣ ) ≤ R + S R S ∥ P # μ t ( n ) − μ ˉ t ∗ ∥ 1 . \operatorname{TV}\left(\frac{P_{\#}\mu_{t}^{(n)}}{|P_{\#}\mu_{t}^{(n)}|},\frac{\bar{\mu}_{t}^{*}}{|\bar{\mu}_{t}^{*}|}\right)\leq\frac{R+S}{RS}\left\|P_{\#}\mu_{t}^{(n)}-\bar{\mu}_{t}^{*}\right\|_{1}. TV ( ∣ P # μ t ( n ) ∣ P # μ t ( n ) , ∣ μ ˉ t ∗ ∣ μ ˉ t ∗ ) ≤ R S R + S P # μ t ( n ) − μ ˉ t ∗ 1 .
Taking the supremum over t t t and using (65) proves (66) .