Papers
Topics
Authors
Recent
Search
2000 character limit reached

Expected Batch OT Plan Explained

Updated 4 July 2026
  • Expected Batch OT Plans are population-level couplings derived by averaging optimal transport plans computed on random minibatches, formalizing a precise stochastic framework.
  • They leverage cost identities and asymptotic bias analysis to bridge empirical OT with true optimal transport, showing how bias decreases as batch size increases.
  • In flow matching, the averaged plans induce well-posed, Lipschitz velocity fields that guarantee unique ODE solutions for transporting distributions between Gaussian and discrete measures.

Searching arXiv for the cited work and closely related OT-plan literature. Expected batch OT plans are population-level couplings obtained by averaging optimal transport plans computed on random minibatches. In the formulation introduced in "Expected Batch Optimal Transport Plans and Consequences for Flow Matching" (Boïté et al., 12 May 2026), the object of interest is the coupling πˉk\bar\pi_k induced by repeated OT on independent empirical measures of fixed batch size kk. This construction makes precise the law implicitly generated by minibatch OT surrogates in large-scale learning, especially in settings such as flow matching where minibatch couplings are used as substitutes for exact OT. Closely related work studies other expectation-based transport plans, including averages over one-dimensional sliced couplings, posterior means under probabilistic hyperpriors, and empirical couplings recovered from sampled GFlowNet trajectories (Liu et al., 2024, Y. et al., 2024, Maksimov et al., 4 Jun 2026).

1. Formal definition

Let μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d) and fix k∈N+k\in\mathbb{N}_+. Draw independent minibatches

X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.

Let π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k} be any measurable choice of an optimal transport plan between the empirical measures

μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.

When μ^,ν^\hat\mu,\hat\nu are uniform on kk points, π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k} can equivalently be represented by an optimal permutation kk0 (Boïté et al., 12 May 2026).

The expected batch OT plan kk1 is the unique coupling satisfying, for every bounded Borel kk2,

kk3

An equivalent characterization is operational: if one computes minibatch OT and then picks one of the kk4 matched pairs uniformly at random, the resulting law is kk5 (Boïté et al., 12 May 2026).

This definition isolates a population object from a stochastic training heuristic. Rather than viewing minibatch OT as a sequence of unrelated empirical plans, the construction treats repeated minibatch matching as a random coupling mechanism with a well-defined expectation.

2. Cost identity, monotonicity, and asymptotic bias

A central identity links the transport cost of kk6 to the expected empirical OT cost:

kk7

This is Proposition 3.1 in (Boïté et al., 12 May 2026). It shows that the cost of the expected batch plan is exactly the average minibatch Wasserstein cost, not merely an upper or lower approximation.

The same work proves that the map

kk8

is nonincreasing and satisfies

kk9

Thus finite-batch OT is systematically biased upward in cost, and larger batches reduce that bias (Boïté et al., 12 May 2026).

In the semidiscrete setting, more explicit rates are available. If μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)0 has compact support, μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)1 is uniform on μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)2 atoms, and the semidiscrete OT dual is nondegenerate, then

μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)3

If instead μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)4 for some μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)5 and μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)6 is uniform on μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)7 atoms, then

μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)8

The μ,ν∈P2(Rd)\mu,\nu\in P_2(\mathbb{R}^d)9 result is obtained by showing that the semidiscrete dual k∈N+k\in\mathbb{N}_+0 has a unique quadratic maximizer k∈N+k\in\mathbb{N}_+1 and that the dual excess

k∈N+k\in\mathbb{N}_+2

is k∈N+k\in\mathbb{N}_+3 (Boïté et al., 12 May 2026).

These statements delimit what minibatch OT approximates at population level. A common misconception is that averaging minibatch couplings necessarily recovers the exact OT plan at moderate k∈N+k\in\mathbb{N}_+4; the established result is weaker and more precise: the expected batch cost decreases monotonically toward the OT cost, with rates that depend on the semidiscrete structure and moment assumptions.

3. Plan consistency in the semidiscrete regime

Assume k∈N+k\in\mathbb{N}_+5, so that the OT plan k∈N+k\in\mathbb{N}_+6 is unique. In this setting, Proposition 3.3 of (Boïté et al., 12 May 2026) proves that

k∈N+k\in\mathbb{N}_+7

This is a direct plan-consistency statement: the expected batch OT plan converges to the true OT plan in the large-batch limit.

The same proposition gives a cost-to-plan lower bound. For any k∈N+k\in\mathbb{N}_+8,

k∈N+k\in\mathbb{N}_+9

This inequality shows that plan discrepancy controls cost discrepancy from below, but not conversely in full generality (Boïté et al., 12 May 2026).

A sharper upper bound is available in the Gaussian-to-discrete case. If X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.0 and X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.1 is uniform on X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.2 atoms, then there exists X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.3 such that

X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.4

This yields an explicit convergence rate for the plan itself in a semidiscrete generative-modeling regime (Boïté et al., 12 May 2026).

The paper also emphasizes a limitation: without additional structure, no modulus X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.5 exists with

X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.6

This rules out a general principle that small excess cost alone forces plan proximity. A plausible implication is that semidiscrete regularity assumptions are not merely technical conveniences but are essential to obtain quantitative plan-recovery guarantees.

4. Consequences for flow matching

The main application developed in (Boïté et al., 12 May 2026) is flow matching in the Gaussian-to-discrete setting

X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.7

Any coupling X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.8 induces the velocity field

X⃗k=(X1,…,Xk)∼μ⊗k,Y⃗k=(Y1,…,Yk)∼ν⊗k.\vec X_k=(X_1,\dots,X_k)\sim \mu^{\otimes k},\qquad \vec Y_k=(Y_1,\dots,Y_k)\sim \nu^{\otimes k}.9

and the associated ODE flow π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}0.

Lemma 4.1 gives the posterior form

π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}1

where π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}2. If π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}3 is the density of π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}4 with respect to π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}5, then

π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}6

This expresses the flow field through posterior assignment probabilities under the coupling (Boïté et al., 12 May 2026).

For the expected batch plan π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}7, Proposition 4.2 establishes rectifiability. For each fixed π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}8:

  • Ï€^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}9 is jointly continuous on μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.0 for any compact μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.1 and μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.2, and locally Lipschitz in μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.3, uniformly in μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.4.
  • For each μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.5, the ODE μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.6, μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.7, has a unique solution μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.8 on μ^=1k∑iδXi,ν^=1k∑jδYj.\hat\mu=\frac{1}{k}\sum_i \delta_{X_i},\qquad \hat\nu=\frac{1}{k}\sum_j \delta_{Y_j}.9, and μ^,ν^\hat\mu,\hat\nu0.
  • There is a Borel map μ^,ν^\hat\mu,\hat\nu1 with μ^,ν^\hat\mu,\hat\nu2 almost surely, and μ^,ν^\hat\mu,\hat\nu3.

The proof sketch relies on posterior weights μ^,ν^\hat\mu,\hat\nu4 that are globally Lipschitz and bounded away from μ^,ν^\hat\mu,\hat\nu5, together with Gaussian density bounds, Picard–Lindelöf for the ODE, and a trapping argument near atoms (Boïté et al., 12 May 2026).

These results distinguish expected batch OT plans from ad hoc minibatch pairings. In this regime, the averaged coupling does not merely reduce variance; it induces a well-posed, locally Lipschitz FM velocity field and therefore a unique flow from the source to the discrete target.

5. Numerical tradeoffs and computational interpretation

The expected batch OT framework also quantifies the interaction between OT batch size and numerical integration. Define the Euler-map error

μ^,ν^\hat\mu,\hat\nu6

where μ^,ν^\hat\mu,\hat\nu7 uses μ^,ν^\hat\mu,\hat\nu8 Euler steps. In the two-atom model with μ^,ν^\hat\mu,\hat\nu9 and kk0, Proposition 4.3 shows that, as kk1,

kk2

and as kk3,

kk4

Hence increasing NFE yields a stretched-exponential decay in error kk5, whereas increasing OT batch size gives only a polynomial kk6 decay (Boïté et al., 12 May 2026).

Synthetic and image experiments reinforce this distinction. In Gaussian-to-discrete synthetic runs, the cost-bias decays kk7 and the plan-distance proxy decays kk8. The posterior concentration

kk9

approaches π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}0 faster with larger π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}1, and also faster with higher π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}2 when π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}3. In real-data FM on CIFAR-10 and SVHN,

π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}4

steadily decreases up to π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}5 with no saturation, but increasing π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}6 improves sample FID only when using very coarse integration; at high NFE the benefit of larger π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}7 vanishes or even reverses (Boïté et al., 12 May 2026).

The practical interpretation is narrow but important. Expected batch OT plans justify minibatch OT as a population coupling and show large-batch consistency, but they do not imply that arbitrarily large OT batches are the most efficient route to better inference. The stated asymptotics indicate that, in the analyzed setting, moderate π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}8 and higher NFE can be the more effective training–inference tradeoff.

The expected batch OT plan is one instance of a broader family of transport plans obtained by averaging over a random mechanism. The following constructions are closely related in spirit but differ in what is randomized and what guarantees are proved.

Construction Averaging mechanism Resulting object
Expected batch OT plan π^X⃗k,Y⃗k\hat\pi_{\vec X_k,\vec Y_k}9 Independent minibatches of size kk00 Population coupling
Expected sliced transport plan kk01 Random slices kk02 Averaged lifted coupling
HFPD-OT expected plan kk03 Samples from a hyperprior over plans Posterior mean plan
GFlowNet empirical batch plan kk04 Sampled trajectories under learned policy Empirical coupling

Expected sliced transport, introduced in "Expected Sliced Transport Plans" (Liu et al., 2024), starts from discrete measures

kk05

in kk06. For each kk07, one computes the one-dimensional OT plan kk08 between the projected measures, lifts it back to kk09 via kk10, and averages:

kk11

Using kk12 to weight the Euclidean kk13-cost defines

kk14

The paper proves that kk15 is a valid metric on input discrete probability measures, gives an algorithm with total complexity kk16 and memory kk17, and introduces temperature weighting kk18, which recovers EST as kk19 and degenerates to the "min-SWGG" transport map as kk20 (Liu et al., 2024).

HFPD-OT, developed in "Randomized Transport Plans via Hierarchical Fully Probabilistic Design" (Y. et al., 2024), treats the transport plan itself as a random matrix kk21 in the simplex kk22 and defines a Gibbs-form hyperprior kk23 subject to marginal moment constraints

kk24

The expected plan is

kk25

Although no closed form exists in general, the limit kk26 and kk27 converges to the usual entropy-regularized OT plan, whereas kk28 reverts to the unconstrained Gibbs generator. The method further provides entry-wise variances and credible intervals from HMC samples of the hyperprior (Y. et al., 2024).

A different notion appears in "Your GFlowNet Secretly Learns an Optimal Transport Plan" (Maksimov et al., 4 Jun 2026). There, a minimum-flow non-acyclic GFlowNet with fixed source and sink flows is shown to be equivalent to a Kantorovich OT problem on a graph with graph-induced shortest-path cost. The optimal edge-flow induces a stochastic policy, and sampling kk29 trajectories yields the empirical coupling

kk30

which converges almost surely to the optimal coupling entrywise, with Hoeffding concentration

kk31

This construction is empirical rather than population-averaged, but it also produces a batch OT plan in the sense of a coupling estimated from repeated randomized transport trajectories (Maksimov et al., 4 Jun 2026).

Taken together, these constructions show that an "expected" or "batch" OT plan need not refer to a single mechanism. It may denote expectation over minibatches, over slices, over posterior samples of plans, or over sampled transport trajectories. The expected batch OT plan kk32 is distinguished by formalizing the exact population coupling induced by repeated minibatch OT and by connecting that coupling to consistency, semidiscrete rates, and well-posed flow matching dynamics (Boïté et al., 12 May 2026).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Expected Batch OT Plan.