Manuscript Offprint
arXiv:2609.38049Improving Function Space Flow Matching with Kernel Optimal Transport
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Generative models for function-valued data, such as time series and solutions of partial differential equations, must learn distributions over infinite-dimensional spaces. Functional Flow Matching (FFM) extends Flow Matching to this setting, learning a velocity field whose flow transports a Gaussian prior to the data distribution, but it inherits the independent endpoint pairing of standard Flow Matching: in each batch, prior and data samples are matched arbitrarily, so the conditional bridge must traverse both the shared global structure of the dataset and instance-specific residuals. In function space this limitation is harder to fix than in finite dimensions, since optimal transport (OT) on function spaces is delicate to formulate and a flat Euclidean surrogate ignores the geometry that distinguishes function-valued data. We propose kernel Functional Flow Matching (kFFM), which replaces the independent pairing by entropic OT under a kernel-induced cost, the coupling underlying the Hilbert Sinkhorn Divergence (HSD), while leaving the FFM neural-operator architecture unchanged. Theoretically, we prove that the kernel cost and the HSD objective are uniformly bounded and well-posed on Banach ambient spaces, derive an explicit error decomposition against quadratic-cost OT on compact metric spaces that isolates an irreducible kernel-cost mismatch term, and prove a discretization-invariance bound whose rate is governed by Sobolev regularity. Empirically, kFFM improves distributional matching over FFM, diffusion, adversarial, and finite-dimensional OT baselines on time-series and PDE benchmarks, with statistically significant paired-seed gains over FFM and improvements that persist under non-kernel and physics-based diagnostics, including a turbulent Navier–Stokes benchmark. Bounded kernel costs already outperform raw Sinkhorn, and function-space-aware kernels (signature, Sobolev RBF) give further gains on rough or path-valued data.
1 Introduction
Flow matching [35] is a powerful framework for generative modeling that learns the velocity field of a probability path between a reference and a data distribution. Time series and PDE snapshots are naturally represented as functions, motivating Kerrigan et al. [25] to extend this framework to function space through Functional Flow Matching (FFM), which defines a path of Gaussian measures in a Hilbert space and parameterizes the velocity field with a neural operator. FFM enjoys resolution-invariance and competitive performance on sequence and PDE datasets, but inherits the independent endpoint coupling of base FM. Under this coupling, each Gaussian prior sample is paired with an arbitrary data function in a minibatch, and the conditional bridge must traverse both
40th Conference on Neural Information Processing Systems (NeurIPS 2026).
the shared global structure of the dataset and instance-specific residuals; the velocity field is then forced to discover the global structure and match each particular instance simultaneously. A natural fix is geometry-aware coupling: pairing each prior sample with a data sample that is already close in a meaningful geometry, so the bridge primarily transports the residual. This idea has improved finite-dimensional flow matching [48], but transferring it to function space is non-trivial: direct optimal transport (OT) on function spaces is delicate to formulate and compute [8, 9, 22, 37], and a flat surrogate ignores the function-space geometry (Sobolev structure, path roughness) that distinguishes one function-valued sample from another.
We resolve this through a kernel-induced Hilbert space surrogate. Working in a Reproducing Kernel Hilbert Space [46], the entropic coupling underlying the Hilbert Sinkhorn Divergence [31] provides a tractable pairing rule whose kernel encodes prior knowledge about function-space geometry: Sobolev structure for PDE snapshots via the RBF kernel on , and p-variation roughness for time series via the signature kernel [5, 6]. Our theory certifies this surrogate coupling (well-posedness with uniform bounds, an error decomposition with an irreducible kernel-mismatch term, and discretization invariance); it makes no straightness or sampling-efficiency claim in function space (Section 4, Appendix C.14), and the sample-quality gains are an empirical claim that we test with paired-seed statistics, non-kernel metrics, physics diagnostics, and a turbulent Navier–Stokes stress test. The kernel-induced surrogate also outperforms raw Sinkhorn: relative to a flat- minibatch-OT baseline (CFM-OT( )) with the same Sinkhorn solver and neural-operator backbone, kFFM lowers the distributional error by 75% on Gene Expression and 66% on Economy. Function-space-aware kernels (Sobolev RBF, signature) add further gains on rough or path-valued data. Code for every experiment is publicly available. Our main contributions are the following:
-
We propose kernel Functional Flow Matching (kFFM), to our knowledge the first method to perform OT endpoint coupling in function-space flow matching: a kernel-induced cost couples prior and data samples before flow matching, while the FFM neural-operator architecture is unchanged.
-
We establish three theoretical results for the function-space setting: uniform boundedness and well-posedness of the kernel cost and HSD on Banach ambient spaces; an explicit error decomposition against quadratic-cost OT on compact metric spaces (kernel mismatch, entropic bias, covering); and a discretization-invariance theorem with an rate that ties the function-space objective to the truncated grid representation the model actually computes.
-
We show empirically that kFFM improves population-level distributional quality on time series and PDE snapshots over functional generative baselines and a finite-dimensional OT coupling baseline, with paired-seed significance, gains that survive non-kernel and physics-based metrics including a turbulent Navier–Stokes benchmark, and a training overhead of only 5–7% at the largest resolution we train. The coupling geometry matters differently across data classes: signature kernels for paths, RBF-type costs for fields.
2.1 Flow Matching in Function Space
Flow Matching [35] learns the velocity field whose flow transports a prior distribution to the data distribution along a given probability path. In the Gaussian-measure formulation of FFM, a vector field induces the flow , and the path from . FFM constructs this path by averaging endpoint-conditioned Gaussian bridges over : if and is concentrated around , then satisfies . For Gaussian bridges with and , the conditional
https://github.com/heraclixus/KFFM velocity is
and the standard FFM parametrization , corresponds to Gaussian OT between the bridge marginals, while the endpoint pairing itself remains independent [48]. A neural operator , here a Fourier Neural Operator (FNO) [32], is trained with the Conditional Flow Matching (CFM) loss
which under suitable regularity conditions [25, 35] has the same minimizers as the unconditional loss ; the absolute-continuity assumption behind this equivalence is spelled out in Appendix B.2. In Section 3 we keep the same probability path but replace the independent pairing of its endpoints by an OT-coupled pairing.
2.2 Optimal Transport and Kernel-based Optimal Transport
For a Polish space, , and a cost , the static OT problem is [49], and its entropic regularization [38]
underlies Sinkhorn methods; the debiased Sinkhorn divergence subtracts the corresponding self-costs [16, 17, 47]. OT-based couplings improve finite-dimensional flow matching by computing a static coupling between reference and data samples before interpolation [28, 48]. Adapting this idea to function-valued data is non-trivial: no Lebesgue-like reference measure exists on function space [11, 37], so densities are ill-posed, and Gaussian-measure and Cameron–Martin assumptions [8] are limiting when data are non-Gaussian (PDE states, rough paths). This motivates embedding the measures into a Reproducing Kernel Hilbert Space (RKHS) [46], where the coupling is computed under a kernel-induced cost.
Definition 1 (Hilbert Sinkhorn Divergence [31]). Let be a metric space, , and a measurable symmetric positive-definite kernel with RKHS and canonical feature map . The entropic OT functional on the embedded space is
and the Hilbert Sinkhorn divergence is the debiased quantity .
By the kernel trick, the functional in Equation (3) can be written directly on with the RKHS-induced cost [31, restated as Proposition 3 in Appendix B]:
with minimizers corresponding under pushforward, and . Previous work takes , where common kernels apply directly, the divergence enjoys statistical consistency with finite-sample bounds (restated in Appendix B), and the discrete entropic OT problem is convex [16]. Section 3 generalizes to function-valued sample spaces.
2.3 Path Signature and Signature Kernel
Let denote the continuous paths from to with finite -variation, . The signature of is the sequence of iterated Young integrals with , an element of the free tensor algebra .
Definition 2 (Signature Kernel [5]). The signature kernel is , where is the Hilbert–Schmidt inner product.
The signature kernel is symmetric and positive definite and hence induces a unique RKHS ; on compact subsets, the time-augmented signature kernel is universal and characteristic [5]. We compute it with pySigLib [44].
3 Functional Flow Matching with Kernel Optimal Transport
Throughout this section is a general metric space, the sample space on which data and reference measures live and on which the kernel OT coupling acts.
3.1 Coupling with Kernel Optimal Transport
kFFM first couples prior and data samples through entropic OT under a kernel-induced cost, Equation (4). The kernel reflects the metric space where the data live. On the Sobolev space (functions with weak derivatives in , the natural home of PDE solutions [12]), the RBF kernel on rewards pairs close in a derivative-aware norm; on path space , (smooth and rough time series [5]), the signature kernel rewards reparametrization-invariant path similarity. Well-posedness for each choice is established in Section 3.2 and validated in Section 4; with empirical measures the minibatch problem is solved by the Sinkhorn algorithm [17].
Given a plan between prior draws and data samples , kFFM uses the same probability path as FFM, with the paired prior sample in the role of the base noise:
so that , , and the conditional velocity is the FFM conditional field of Section 2.1 evaluated with the coupled pair; the FFM path is recovered exactly for the independent coupling .
What the coupling changes. Up to the term, the regression target is the displacement , the residual between the paired data and prior samples, which carries all the endpoint information. Under independent coupling this residual is the difference of two unrelated draws, a large and high-variance regression target; under kernel-OT coupling each is paired with a geometrically close , so the network regresses smaller, structured residuals. The neural operator (an FNO) is unchanged relative to FFM; only the minibatch coupling, and through it the law of the conditional paths, is modified. Algorithm 1 summarizes training; implementation defaults and good practices are collected in Appendix C.8. The reference distribution is a Gaussian process (GP) or Gaussian random field [19], or white noise on the grid where the data are rougher than a smooth GP prior (the base measure is part of the selected configuration, Section 4.1); in practice both measures are replaced by their empirical estimators, with the coupling computed from a kernel-induced cost matrix [17, 31]:
Where the kernel enters. The kernel enters at exactly one place: the cost used by minibatch Sinkhorn to pair prior and data samples. No sample or model input is projected into the RKHS; the FNO acts on the original discretized functions, the paths are constructed in the original space, and generation happens there. The training coupling is the entropic plan induced by , computed per minibatch with log-domain Sinkhorn on a median-normalized cost and sampled from the plan (Appendix C.8); the debiasing self-terms of the HSD (Definition 1) do not depend on and cannot change the argmin plan, so HSD is our analysis object (what Theorems 1–2 control), not the training objective. Finally, at a fixed batch size minibatch OT induces the expected minibatch plan [13, 14], a valid coupling of the true marginals for every , so the CFM consistency argument applies and only changes which conditional paths are used; as , converges to the population entropic kernel-OT plan.
Algorithm 1 Functional Flow Matching with Kernel Optimal Transport
Require: Prior distribution , data distribution , kernel function , entropy regularization , batch size , initial network , .
1: Training loop (repeat until convergence):
2: Sample batches of size : ,
3: Solve the entropic kernel OT problem in Equation (4) with , (cost matrix in Equation (5)) to get coupling .
4:
5: ,
6: // the paired prior sample plays the role of the base noise
7:
8:
9:
10: Output: .
3.2 Theoretical Results for Sobolev and Path Space
The theory certifies the surrogate coupling; it does not by itself explain why sample quality improves, which Section 4 establishes empirically. It answers three questions (proofs in Appendix B): is the kernel-OT objective well-defined and well-conditioned on the function spaces used by kFFM; how far is the RKHS-induced cost from quadratic-cost OT, and which parts of the gap are reducible; and does the continuum formulation survive the Fourier truncation used by the FNO and the Sinkhorn solver?
Theorem 1 (Well-posedness and uniform boundedness). Let be a real Banach space and let . Let and let be measurable, symmetric, and positive definite with RKHS . Assume additionally that is bounded: . Then the kernel cost satisfies for all , and for every the Hilbert Sinkhorn divergence (Definition 1) is finite for all , with .
Finiteness per se is not the binding constraint: under a second-moment assumption on the cost is already integrable, and for the Gaussian prior . Theorem 1 delivers more. (a) Uniform boundedness with no assumption on the measures, which conditions the entropic solver: the Gibbs kernel stays bounded away from 0 and 1 across batches, so Sinkhorn converges independently of outlier pairs, unlike unbounded costs on heavy-tailed batches (Section 4.3 quantifies the resulting speed-up). (b) Generality: the statement holds on Banach spaces without Hilbert structure, which licenses the signature kernel on path space, our strongest configuration. (c) Geometry injection: the kernel is the interface through which domain structure enters the coupling. For Sobolev data in we use , which is bounded and positive definite [7, 54]; for paths we use the signature kernel (Definition 2), universal and characteristic on compact sets [5], bounded there by continuity, and used for two-sample tests on path data [6], applied to time-augmented paths (Appendix A, Definition 14) to avoid its tree-like equivalence.
The entropic OT functional transports with the cost induced by the feature map rather than the original metric cost. On compact subsets of the ambient space is compact in for ; compact sets of paths for the signature kernel, with truncation discussed in Appendix B), the next theorem separates the resulting kernel-cost mismatch from entropic and covering effects.
Theorem 2 (Error decomposition). Let be a compact metric space and let . Define the target quadratic cost . Let be a bounded positive-definite kernel with RKHS-induced cost , and let . Let denote the entropic OT functional in Equation (4) with cost , and let . Then for every and every :
where is the -covering number of in the metric .
Theorem 2 is an error decomposition, not an approximation guarantee: the entropic and covering terms vanish as , but is irreducible and does not shrink with more samples or finer grids. For the RBF kernel, is a rescaled cost up to relative error , with the batch diameter; with median-normalized costs is small at large bandwidth, and on smooth Navier–Stokes fields the induced plans agree across costs (total variation ; Appendix C.12). For the signature kernel is large by design: the theorem then controls the deviation from Wasserstein with the chosen cost, not proximity to OT, and the pair rankings differ measurably from (rank correlation 0.33–0.37 on AEMET and gene expression), which is where the largest gains occur. In low-regularity regimes the bound degrades on two fronts: grows because a smooth kernel cost saturates on rough functions, and the covering number blows up as the effective smoothness approaches the embedding threshold, making the entropic term large for any practical . The benchmarks of Section 4.1 sit in the smooth regime where the bound is informative; Section 4.2 stress-tests the turbulent regime empirically.
Theorems 1 and 2 are stated at the continuum level, while the model operates on a finite-rank spectral representation: PDE snapshots are represented in a Fourier subspace of dimension proportional to N, which both the FNO and the Sinkhorn solver consume. Our final theorem quantifies the resulting gap at a rate governed by Sobolev regularity; the path-space analogue for signature truncation is discussed in Appendix B.
Theorem 3 (Discretization invariance). Let be a bounded periodic domain and let . Set , viewed as a compact subset of , and let . For the Fourier basis , let and let denote the orthogonal projection; hence . Write and . Define the Sobolev-RBF kernel on , and write for the corresponding entropic kernel-OT functional from Theorem 2. Then for every ,
Equivalently, in terms of grid spacing , the discretization error decays as .
Combining Theorems 2 and 3 bounds the gap between the computed finite-rank kernel-OT objective and continuum quadratic OT in the metric by four interpretable terms: kernel-cost mismatch, entropic regularization, covering, and discretization (Corollary 1 in Appendix B.6). Only the discretization term vanishes with projection rank , at rate driven by the regularity gap , the formal counterpart of the empirical resolution-invariance in Section 4; the mismatch term depends only on kernel design (zero for the linear kernel, finite for RBF and controlled by data scale and bandwidth ). The theorem relies on compact Sobolev embedding [12]; our smooth PDE benchmarks sit in that regime [4].
4 Experiments
Datasets. We use two classes of data. Sequence datasets: AEMET [15], gene expression [36], and the economics dataset [3] from Kerrigan et al. [25], plus financial time series from the Heston stochastic volatility model [21], treated as realizations of measures on path space . PDE snapshots: the 1D Korteweg–de Vries (KdV) equation, the incompressible 2D Navier–Stokes equation [33], and their stochastic counterparts [43], treated as measures on Sobolev space ; Section 4.2 adds a turbulent 2D Navier–Stokes benchmark.
Baselines. Denoising Diffusion Operator (DDO) with NCSN noise scale [34], functional DDPM [24], Generative Adversarial Neural Operator (GANO) [40], and the original FFM [25]. We also include a direct finite-dimensional OT baseline, CFM-OT( ) [48], which uses the same minibatch Sinkhorn solver and FNO backbone as our method but applies entropic OT to flattened grid vectors with the unbounded cost and the white-noise base of finite-dimensional flow matching; kFFM's Euclidean–RBF configuration instead uses the bounded RBF cost on Euclidean distances. kFFM variants are named by cost, kFFM-Sig (signature), kFFM-Sob (Sobolev-RBF), kFFM-RBF (Euclidean–RBF), kFFM-Euc (raw ), and tagged by base measure, gp (GP prior) or wn (white noise). Datasets, architectures, and training budgets, identical across methods, are detailed in Appendix C.
Table 1: Population-level distributional quality measured by MMD-RBF (lower is better; unbiased estimator, so small negative values occur). “kFFM (selected)” is the per-dataset configuration chosen on a held-out validation split by sliced Wasserstein distance (Appendix C.5); each cell is tagged (cost/base) with Sig = signature kernel, RBF = Euclidean–RBF kernel, Sob-RBF = Sobolev-RBF kernel, gp = Gaussian-process prior, wn = white noise. The kFFM and FFM columns are the matched-seed runs of Table 2 (n as given there); the remaining baselines are averaged over 10 seeds. “Gain (%)” is relative to the strongest non-kFFM baseline in the row and is omitted (-) where that baseline sits at the noise floor of the unbiased estimator (non-positive MMD), where ratios are not meaningful; Table 2 reports paired tests instead.
| Dataset | kFFM (selected) | CFM-OT() | FFM | DDPM | DDO/NCSN | GANO | Gain (%) |
|---|---|---|---|---|---|---|---|
| Heston | kFFM (RBF/wn): | - | |||||
| AEMET | kFFM (Sig/gp): | - | |||||
| KdV | kFFM (Sob-RBF/gp): | - | |||||
| Economy | kFFM (Sig/gp): | 60.4 | |||||
| Gene Expr. | kFFM (Sig/gp): | 60.1 | |||||
| Stoch. KdV | kFFM (Sob-RBF/gp): | 74.0 | |||||
| Stoch. NS | kFFM (RBF/wn): | 33.6 | |||||
| Navier-Stokes | kFFM (RBF/wn): | 8.4 |
Metrics. The maximum mean discrepancy with an RBF kernel (MMD-RBF) is the primary population-level metric, computed with the unbiased estimator (so small negative values occur). To avoid judging an RBF-type coupling by an RBF-MMD alone, we also report non-kernel metrics (sliced Wasserstein distance and marginal ), the pointwise diagnostics of Kerrigan et al. [25] (autocorrelation error on sequences, log-spectral distance on PDEs, mean/variance summaries in Appendix C), and, on Navier–Stokes, physics diagnostics that capture non-Gaussian structure: enstrophy-distribution , vorticity-PDF , skewness and excess-kurtosis errors of the pooled vorticity, and log-spectral error. Results aggregate 10 seeds (20 where marked); all methods share seeds, so tests are paired by seed.
4.1 Distributional Quality
Table 1 reports MMD-RBF against all baseline families. The “kFFM (selected)” column reports, per dataset, the configuration (OT cost and Gaussian base measure) selected on a held-out validation split by sliced Wasserstein distance, a non-kernel criterion (Appendix C.5); pointwise diagnostics by kernel variant appear in Appendix C.6. kFFM is the strongest method on every row, and the selected configurations follow a practitioner-usable pattern: the signature kernel with a GP base on path-space datasets, where function-space geometry matters most (except short-horizon Heston, where the top configurations are statistically indistinguishable and the rule picks the bounded RBF cost with a white-noise base); the Sobolev-RBF cost with a GP base on the KdV family; and the bounded Euclidean–RBF cost with a white-noise base on the Navier–Stokes family, whose rough fields are poorly matched by a smooth GP prior.
Uncertainty and paired tests. Since unbiased MMD values can be tiny or negative, percentage gains are uninformative near the noise floor. Table 2 therefore reports per-seed mean±std and seed-paired tests against FFM at matched architecture and training budget: kFFM improves on FFM on every dataset at level 0.05 under both a paired t-test and a Wilcoxon signed-rank test, and wins on every shared seed for the four largest-gap datasets. In the GP-base rows only the coupling changes; in the white-noise rows (Heston, Navier–Stokes family) the base measure changes too, and at that base the effect of the kernel cost is isolated by the comparison against CFM-OT( ) in Table 1.
Non-kernel metrics. The gains survive the non-kernel metrics (Table 3): on the same runs, kFFM improves sliced Wasserstein distance and marginal over FFM on every dataset, by 18–20% on Gene Expression and Economy, where each comparison is significant when paired by seed, and by 2.9–4.1× on Navier–Stokes and Stoch. NS; for the signature configurations the coupling and evaluation kernels already differ. The pointwise diagnostics also expose what MMD understates: CFM-OT() buys its pointwise-marginal fit with 105× and 66× worse autocorrelation error than kFFM-Sig on Economy and Gene Expression (Table 9); function-level structure is where the kernel coupling is strongest.
Bounded cost or function-space geometry? Both effects are real and dominate on different data classes. On smooth fields the RBF coupling is a monotone transform of the cost (rank correlation
Table 2: kFFM (selected) vs. FFM with uncertainty, at matched architecture and training budget. MMD-RBF as meanstd over shared seeds (fixed before outcomes); -values from a seed-paired -test and a Wilcoxon signed-rank test. In the gp rows only the coupling changes at a fixed prior; in the wn rows the selected kFFM also uses a white-noise base whereas FFM keeps its GP prior (at that base, the comparison isolating the kernel cost is against CFM-OT() in Table 1). Economy averages the population and GDP series within each seed. kFFM wins on every shared seed for the first four rows.
| Dataset | n | FFM | kFFM (selected) | paired t p-value | Wilcoxon p-value |
|---|---|---|---|---|---|
| Gene Expr. | 10 | 17.8 ± 3.4 | 7.11 ± 2.0 (Sig/gp) | 0.002 | |
| Economy | 10 | 7.30 ± 1.8 | 2.89 ± 0.97 (Sig/gp) | 0.002 | |
| Stoch. NS | 10 | 96.8 ± 21 | 2.80 ± 1.3 (RBF/wn) | 0.002 | |
| Navier-Stokes | 10 | 131 ± 60 | 1.63 ± 2.6 (RBF/wn) | 0.002 | |
| AEMET | 20 | -3.24 ± 2.1 | -5.10 ± 2.6 (Sig/gp) | 0.015 | 0.014 |
| Heston | 20 | 0.31 ± 0.80 | -0.13 ± 0.30 (RBF/wn) | 0.021 | 0.011 |
| KdV | 20 | -1.16 ± 2.1 | -2.56 ± 1.0 (Sob-RBF/gp) | 0.039 | 0.027 |
| Stoch. KdV | 20 | 0.88 ± 1.1 | 0.10 ± 0.33 (Sob-RBF/gp) | 0.037 | 0.037 |
Table 3: Non-kernel metrics for kFFM (selected configuration in parentheses) vs. FFM on the runs of Table 2; lower is better. Sequence rows: mean±std over 10 shared seeds (Economy averages the population and GDP series within each seed), each comparison significant when paired by seed (Wilcoxon ); Navier–Stokes rows are means. Appendix Table 16 adds the autocorrelation and log-spectrum errors.
| Dataset | Sliced-W | Marginal- | ||
|---|---|---|---|---|
| FFM | kFFM | FFM | kFFM | |
| Gene Expr. (Sig/gp) | 0.106 ± 0.006 | 0.087 ± 0.006 | 0.074 ± 0.005 | 0.059 ± 0.004 |
| Economy (Sig/gp) | 0.0291 ± 0.0019 | 0.0233 ± 0.0012 | 0.0171 ± 0.0016 | 0.0137 ± 0.0009 |
| Navier-Stokes (RBF/wn) | 0.315 | 0.081 | 0.239 | 0.058 |
| Stoch. NS (RBF/wn) | 1.06 | 0.365 | 0.795 | 0.249 |
on training batches; Appendix C.12), so it reuses the geometry while compressing outliers, which buys conditioning, -robustness, and faster Sinkhorn, and matches or improves the unbounded- coupling at the same base measure (Stoch. NS: 2.80 vs. , Table 1). On paths, no Euclidean cost, raw or bounded, recovers the signature gains (matched runs, MMD; Gene Expr.: kFFM-Euc 20.0, kFFM-RBF 20.7 vs. kFFM-Sig 7.1; Economy: 7.55/7.60 vs. 2.9), and the signature kernel genuinely re-ranks pairs (rank correlation 0.33–0.37 with ); a synthetic example in Appendix C.13 isolates both failure modes of pairing. Qualitative samples and super-resolution results are shown in Appendix C (Figures 2 and 3).
Kernel choice and sensitivity. Re-aggregating the one-at-a-time sweeps of Appendix C.16: results are indistinguishable within seed-to-seed variation for RBF bandwidths on every dataset, flat across three orders of magnitude of the Sinkhorn regularization () for bounded costs (the raw cost degrades by at on long volatility paths), and unchanged across the signature hyperparameters (dyadic order 0–3, static bandwidth 0.1–5); over batch sizes , kFFM tracks FFM across the range (Appendix C.8). The kernel family is the only choice that matters, and the rule we recommend is simple and consistent with the theory: match the kernel to the data class (signature for path-like data; Sobolev or Euclidean RBF for smooth fields, where the Euclidean RBF is a reasonable default; RBF or on very long paths, where signature-kernel memory grows with path length), set the bandwidth by the median heuristic, and validate with a non-kernel metric on a held-out split (Appendix C.5). The properties the theorems require (boundedness, characteristicness) hold for every kernel we consider, so the theory constrains the family only weakly and the selection rule does the rest.
4.2 Turbulent Regime and Physics Diagnostics
The Navier–Stokes benchmark above ( ) is smooth, the regime where our theory is informative. To test the low-regularity regime where Theorem 2 is weakest, we run the canonical turbulent
Table 4: Turbulent 2D Navier–Stokes ( , 1200 trajectories, Re 2000): distributional and physics diagnostics, lower is better, mean±std over 5 seeds with identical FNO backbone and training budget. Rows marked use the GP base measure; kFFM and CFM-OT use the white-noise base chosen by the validation rule (Appendix C.5). Best per column in bold (on MMD, kFFM and CFM-OT tie within std). Unscaled values and full configurations are in Appendix Table 17.
| Method | MMD | Sliced-W | Vort-PDF (\times 10) | Enstrophy | Skew err.() | Kurt err.() | log-Spec() |
|---|---|---|---|---|---|---|---|
| kFFM (selected) | |||||||
| CFM-OT() | |||||||
| kFFM-Sob | |||||||
| kFFM-Euc | |||||||
| FFM | |||||||
| DDO/NCSN | |||||||
| DDPM |
Turbulent 2D NS ( ): distributional diagnostics, seed 1

Figure 1: Turbulent 2D Navier–Stokes ( , seed 1): pooled vorticity PDF (log scale) and radially averaged energy spectrum. The data PDF is bimodal and heavy-tailed; kFFM (selected) tracks it, DDO/NCSN collapses to a narrow near-Gaussian spike, and DDPM is unimodal with the wrong shape. The flow-matching spectra track the data across scales; DDO/NCSN's is nearly flat.
FNO benchmark [32]: 2D Navier–Stokes at (1200 trajectories, from which we take the spun-up snapshots at ; Re ; seven methods, five seeds, identical FNO backbone and training budget). Table 4 reports MMD, sliced-W, and the physics diagnostics; Figure 1 shows the pooled vorticity PDF and energy spectrum, and vorticity samples are in Appendix C.11. (i) kFFM (selected) attains the best value on five of seven metrics and ties the best on MMD; held-out sliced-W rejects the GP-base arms ( rows; 0.19 vs. ), and among the tied white-noise arms the rule keeps the Euclidean-RBF configuration selected on standard NS; CFM-OT( ) at the same base overlaps kFFM within std, with means favoring kFFM on five of seven metrics. (ii) OT-coupled flow matching is far more robust than the score-based and diffusion alternatives: 23–32× better vorticity-PDF , 5.7–6.9× better enstrophy , and 17–43× better vorticity-kurtosis error (Figure 1). (iii) Against FFM run with its GP prior, kFFM improves every metric except kurtosis (a tie), with seed-paired significance (MMD 73× lower, ; sliced-W 3.1×, ; log-spectrum 3.2×, p = 0.005; vorticity-PDF 2.9×, p = 0.007; skewness 18×, p = 0.016). This gain combines the base-measure change and the coupling: the three GP-base arms are indistinguishable, so in this regime the white-noise base does most of the work, and at that base the kernel and raw- costs tie, as in (i). All methods, ours included, still leave headroom on sliced-W in this regime (Section 6).
4.3 Cost, Efficiency, and Convergence
Compute. Measured on every benchmark (Appendix C.9), the end-to-end training overhead of the per-minibatch Sinkhorn solve over FFM is 5–7% at the largest resolution we train ( Navier–Stokes); the coupling cost is independent of model size and resolution, so its relative weight shrinks as the backbone grows. Peak coupling memory is 80–151 MB (1.5–9% of the FNO’s forward-plus-backward peak), and per-batch coupling time is comparable to one FNO step. The bounded RBF cost is about faster than unbounded- Sinkhorn at and trains 15–25% faster end-to-end, the conditioning effect of Theorem 1; giving FFM the extra budget as additional epochs does not close the gap.
No straightness claim. We claim no straightness theorem: Appendix C.14 (Proposition 6, Corollary 2) shows that kFFM changes only the endpoint coupling while the affine interpolation template is fixed, and Hilbert-space Gaussian geometry does not inherit the Euclidean straightness picture that motivates finite-dimensional OT-CFM [52]. We therefore make no efficiency claim; Appendix C.15 reports only the training-time convergence of the target metric, where kFFM ends training at a better MMD-RBF than FFM on every dataset.
5 Related Work
Minibatch OT coupling for flow matching was introduced by Tong et al. [48] and Pooladian et al. [39], with follow-ups refining the transport objective [28, 51] and analyses of minibatch plans [13, 14]; all assume sample spaces. In function space, FFM [25] lifts flow matching to Hilbert spaces via Gaussian measures, alongside functional diffusion [24, 34] and adversarial neural operators [40]. Concurrent function-space flow matching changes the objective, the task, or the prior, but not the coupling: Functional Rectified Flow [53] straightens flows by re-training on model-generated endpoint pairs across training rounds, a mechanism complementary to and composable with our within-batch, data-geometry coupling; Operator Flow Matching [30] and flow matching with GP priors [27] target conditional time-series forecasting with an independent prior-data coupling. Kernel embeddings of measures [20, 46] underlie MMD and two-sample testing, recently on path space with the signature kernel [6]; Sinkhorn divergences interpolate between OT and MMD [16], and the Hilbert Sinkhorn Divergence [31] kernelizes them. To our knowledge, ours is the first work to perform OT endpoint coupling in function-space flow matching; Appendix D gives an extended discussion, including MMD gradient flows.
6 Conclusion and Limitations
kFFM replaces the independent endpoint pairing of FFM with a geometry-aware kernel OT coupling while keeping the neural-operator backbone. Theoretically, the kernel-OT surrogate is uniformly bounded and well-posed on Banach spaces, admits an explicit error decomposition against quadratic-cost OT that isolates an irreducible kernel-cost mismatch, and is discretization-invariant at rate . Empirically, kFFM improves distributional matching on time-series and PDE benchmarks with paired-seed significance, and the gains survive non-kernel metrics, physics diagnostics, and a turbulent Navier–Stokes stress test, at a training overhead of 5–7% at the largest resolution we train.
Limitations. Several deserve plain statement. First, our theory concerns the surrogate coupling: it certifies well-posedness, an error decomposition, and discretization invariance, but says nothing about straightness or sampling efficiency in function space, on which we make no claim, and it does not by itself explain the sample-quality gains, which remain an empirical finding. Second, the theory is least informative in low-regularity regimes: on the turbulent benchmark the prior-data distances more than double relative to the standard one (median 91 vs. 40), pushing the RBF cost into saturation, where grows and the covering term of Theorem 2 is large for any practical ; there the empirical results carry the method. Third, turbulent small-scale statistics remain an open problem for function-space generative models. On current evidence the failure sits mainly with the score-based and diffusion baselines (vorticity-kurtosis errors of 1.3–3.4 and enstrophy ), but all methods, ours included, leave headroom on sliced-W (0.19 for the best method), and in this regime the white-noise base rather than the coupling does most of the work; OT-coupled flow matching is currently the strongest option. Finally, signature-kernel memory grows with path length (0.63 GB at 100 time points vs. 12.5 GB at 512), so very long paths fall back to RBF or costs. Future work includes stronger function-space OT formulations [28, 52] and base measures and costs designed for rough, turbulent data.
Acknowledgments and Disclosure of Funding
Barbora Barancikova is supported by UK Research and Innovation [UKRI Centre for Doctoral Training in AI for Healthcare grant number EP/S023283/1]. Fred Xu is partially supported by NSF grant 2531008 and was supported by Block, Inc. during an internship.
References
[1] Michael Arbel, Anna Korba, Adil Salim, and Arthur Gretton. Maximum mean discrepancy gradient flow. In Advances in Neural Information Processing Systems, volume 32, 2019. URL https://proceedings.neurips.cc/paper_files/paper/2019/hash/944a5ae3483ed5c1e10bbccb7942a279-Abstract.html.
[2] Barbora Barancikova, Zhuoyue Huang, and Cristopher Salvi. SigDiffusions: Score-based diffusion models for time series via log-signature embeddings. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=Y8KK9kjgIK.
[3] Jutta Bolt and Jan Luiten van Zanden. Maddison style estimates of the evolution of the world economy. A new 2020 update. Maddison-Project Working Paper WP-15, The Maddison Project, October 2020. URL https://www.rug.nl/ggdc/historicaldevelopment/maddison/publications/wp15.pdf.
[4] Guher Camliyurt, Igor Kukavica, and Vlad Vicol. Analyticity up to the boundary for the Stokes and the Navier–Stokes systems. Transactions of the American Mathematical Society, 373(5): 3375–3422, 2020. doi: 10.1090/tran/7990. URL https://doi.org/10.1090/tran/7990.
[5] Thomas Cass and Cristopher Salvi. Lecture notes on rough paths and applications to machine learning, 2024. URL https://arxiv.org/abs/2404.06583.
[6] Ilya Chevyrev and Harald Oberhauser. Signature moments to characterize laws of stochastic processes. Journal of Machine Learning Research, 23(176):1–42, 2022. URL https://jmlr.org/papers/v23/20-1466.html.
[7] Andreas Christmann and Ingo Steinwart. Universal kernels on non-standard input spaces. In J. Lafferty, C. Williams, J. Shawe-Taylor, R. Zemel, and A. Culotta, editors, Advances in Neural Information Processing Systems, volume 23. Curran Associates, Inc., 2010. URL https://proceedings.neurips.cc/paper_files/paper/2010/file/4e0cb6fb5fb446d1c92ede2ed8780188-Paper.pdf.
[8] Giuseppe Da Prato. An Introduction to Infinite-Dimensional Analysis. Universitext. Springer Berlin Heidelberg, 1st edition, 2006. ISBN 978-3-540-29020-9. doi: 10.1007/3-540-29021-4. URL https://link.springer.com/book/10.1007/3-540-29021-4.
[9] Vincent Divol, Jonathan Niles-Weed, and Aram-Alexandre Pooladian. Optimal transport map estimation in general function spaces. The Annals of Statistics, 53(3):963–988, 2025. doi:10.1214/24-AOS2482. URL https://doi.org/10.1214/24-AOS2482.
[10] R. M. Dudley. Real Analysis and Probability, volume 74 of Cambridge Studies in Advanced Mathematics. Cambridge University Press, Cambridge, 2nd edition, 2002. ISBN 978-0-521-00754-2. URL https://www.cambridge.org/core/books/real-analysis-and-probability/26DDF2D09E526185F2347AA5658B96F6.
[11] Nathaniel Eldredge. Analysis and probability on infinite-dimensional spaces, 2016. URL https://arxiv.org/abs/1607.03591.
[12] Lawrence C. Evans. Partial Differential Equations, volume 19 of Graduate Studies in Mathematics. American Mathematical Society, 2nd edition, 2010. ISBN 978-0-8218-4974-3. URL https://bookstore.ams.org/gsm-19-r.
[13] Kilian Fatras, Younes Zine, Rémi Flamary, Rémi Gribonval, and Nicolas Courty. Learning with minibatch Wasserstein: asymptotic and gradient properties. In International Conference on Artificial Intelligence and Statistics (AISTATS), 2020.
[14] Kilian Fatras, Younes Zine, Szymon Majewski, Rémi Flamary, Rémi Gribonval, and Nicolas Courty. Minibatch optimal transport distances; analysis and applications. arXiv preprint arXiv:2101.01792, 2021.
[15] Manuel Febrero-Bande and Manuel Oviedo de la Fuente. Statistical computing in functional data analysis: The R package fda.usc. Journal of Statistical Software, 51(4):1–28, 2012. doi:10.18637/jss.v051.i04. URL https://www.jstatsoft.org/article/view/v051i04.
[16] Jean Feydy, Thibault Séjourné, François-Xavier Vialard, Shun-ichi Amari, Alain Trouvé, and Gabriel Peyré. Interpolating between optimal transport and MMD using Sinkhorn divergences. In Kamalika Chaudhuri and Masashi Sugiyama, editors, Proceedings of the Twenty-Second International Conference on Artificial Intelligence and Statistics, volume 89 of Proceedings of Machine Learning Research, pages 2681–2690. PMLR, 2019. URL https://proceedings.mlr.press/v89/feydy19a.html.
[17] Rémi Flamary, Nicolas Courty, Alexandre Gramfort, Mokhtar Z. Alaya, Aurélie Boisbunon, Stanislas Chambon, Laetitia Chapel, Adrien Corenflos, Kilian Fatras, Nemo Fournier, Léo Gautheron, Nathalie T. H. Gayraud, Hicham Janati, Alain Rakotomamonjy, Ievgen Redko, Antoine Rolet, Antony Schutz, Vivien Seguy, Danica J. Sutherland, Romain Tavenard, Alexander Tong, and Titouan Vayer. POT: Python optimal transport. Journal of Machine Learning Research, 22(78):1–8, 2021. URL https://jmlr.org/papers/v22/20-451.html.
[18] Alexandre Galashov, Valentin De Bortoli, and Arthur Gretton. Deep MMD gradient flow without adversarial training. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=Pf85K2wtz8.
[19] Jacob R. Gardner, Geoff Pleiss, Kilian Q. Weinberger, David Bindel, and Andrew Gordon Wilson. GPyTorch: Blackbox matrix-matrix Gaussian process inference with GPU acceleration. In Advances in Neural Information Processing Systems, volume 31, 2018. URL https://proceedings.neurips.cc/paper/2018/hash/27e8e17134dd7083b050476733207ea1-Abstract.html.
[20] Arthur Gretton, Karsten M. Borgwardt, Malte J. Rasch, Bernhard Schölkopf, and Alexander J. Smola. A kernel method for the two-sample-problem. In Advances in Neural Information Processing Systems 19, pages 513–520, 2006. URL https://proceedings.neurips.cc/paper_files/paper/2006/hash/e9fb2eda3d9c55a0d89c98d6c54b5b3e-Abstract.html.
[21] Steven L. Heston. A closed-form solution for options with stochastic volatility with applications to bond and currency options. The Review of Financial Studies, 6(2):327–343, April 1993. doi:10.1093/rfs/6.2.327. URL https://doi.org/10.1093/rfs/6.2.327.
[22] Bamdad Hosseini, Alexander W. Hsu, and Amirhossein Taghvaei. Conditional optimal transport on function spaces. SIAM/ASA Journal on Uncertainty Quantification, 13(1):304–338, 2025. doi: 10.1137/23M1618922. URL https://epubs.siam.org/doi/10.1137/23M1618922.
[23] Zacharia Issa, Blanka Horvath, Maud Lemercier, and Cristopher Salvi. Non-adversarial training of neural SDEs with signature kernel scores. In Advances in Neural Information Processing Systems, volume 36, 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/2460396f2d0d421885997dd1612ac56b-Abstract-Conference.html.
[24] Gavin Kerrigan, Justin Ley, and Padhraic Smyth. Diffusion generative models in infinite dimensions. In Francisco Ruiz, Jennifer Dy, and Jan-Willem van de Meent, editors, Proceedings of The 26th International Conference on Artificial Intelligence and Statistics, volume 206 of Proceedings of Machine Learning Research, pages 9538–9563. PMLR, April 2023. URL https://proceedings.mlr.press/v206/kerrigan23a.html.
[25] Gavin Kerrigan, Giosue Migliorini, and Padhraic Smyth. Functional flow matching. In Sanjoy Dasgupta, Stephan Mandt, and Yingzhen Li, editors, Proceedings of The 27th International Conference on Artificial Intelligence and Statistics, volume 238 of Proceedings of Machine Learning Research, pages 3934–3942. PMLR, May 2024. URL https://proceedings.mlr.press/v238/kerrigan24a.html.
[26] Patrick Kidger, James Morrill, James Foster, and Terry Lyons. Neural controlled differential equations for irregular time series. In Advances in Neural Information Processing Systems, volume 33, pages 6696–6707, 2020. URL https://proceedings.neurips.cc/paper/2020/hash/4a5876b450b45371f6cfe5047ac8cd45-Abstract.html.
[27] Marcel Kollovieh, Marten Lienen, David Lüdke, Leo Schwinn, and Stephan Günnemann. Flow matching with Gaussian process priors for probabilistic time series forecasting. In International Conference on Learning Representations (ICLR), 2025. URL https://openreview.net/forum?id=UJ5WggV1xG.
[28] Nikita Kornilov, Petr Mokrov, Alexander Gasnikov, and Alexander Korotin. Optimal flow matching: Learning straight trajectories in just one step. In Advances in Neural Information Processing Systems, volume 37, 2024. doi: 10.52202/079017-3310. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/bc8f76d9caadd48f77025b1c889d2e2d-Abstract-Conference.html.
[29] Michel Ledoux and Michel Talagrand. Probability in Banach Spaces: Isoperimetry and Processes, volume 23 of Ergebnisse der Mathematik und ihrer Grenzgebiete (3). Springer-Verlag, Berlin, Heidelberg, 1991. URL https://link.springer.com/book/10.1007/978-3-642-20212-4.
[30] Yolanne Yi Ran Lee and Kyriakos Flouris. Operator flow matching for timeseries forecasting, 2025. URL https://arxiv.org/abs/2510.15101.
[31] Qian Li, Zhichao Wang, Gang Li, Jun Pang, and Guandong Xu. Hilbert Sinkhorn divergence for optimal transport. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 3835–3844, June 2021. URL https://openaccess.thecvf.com/content/CVPR2021/html/Li_Hilbert_Sinkhorn_Divergence_for_Optimal_Transport_CVPR_2021_paper.html.
[32] Zongyi Li, Nikola Borislavov Kovachki, Kamyar Azizzadenesheli, Burigede Liu, Kaushik Bhattacharya, Andrew Stuart, and Anima Anandkumar. Fourier neural operator for parametric partial differential equations. In The Ninth International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=c8P9NQVtmn0.
[33] Zongyi Li, Miguel Liu-Schiaffini, Nikola B. Kovachki, Kamyar Azizzadenesheli, Burigede Liu, Kaushik Bhattacharya, Andrew M. Stuart, and Anima Anandkumar. Learning chaotic dynamics in dissipative systems. In Advances in Neural Information Processing Systems, volume 35, pages 16768–16781, 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/6ad68277e27b42c60ac228c9859fc1a2-Abstract-Conference.html.
[34] Jae Hyun Lim, Nikola B. Kovachki, Ricardo Baptista, Christopher Beckham, Kamyar Azizzadenesheli, Jean Kossaifi, Vikram Voleti, Jiaming Song, Karsten Kreis, Jan Kautz, Christopher Pal, Arash Vahdat, and Anima Anandkumar. Score-Based diffusion models in function space. Journal of Machine Learning Research, 26(158):1–62, 2025. URL https://jmlr.org/papers/v26/23-1472.html.
[35] Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=PqvMRDCJT9t.
[36] David A. Orlando, Charles Y. Lin, Allister Bernard, Jean Y. Wang, Joshua E. S. Socolar, Edwin S. Iversen, Alexander J. Hartemink, and Steven B. Haase. Global control of cell-cycle transcription by coupled CDK and network oscillators. Nature, 453(7197):944–947, June 2008. doi: 10.1038/nature06955. URL https://www.nature.com/articles/nature06955.
[37] John C. Oxtoby. Invariant measures in groups which are not locally compact. Transactions of the American Mathematical Society, 60(2):215–237, September 1946. ISSN 0002-9947. doi: 10.1090/S0002-9947-1946-0018188-5. URL https://doi.org/10.1090/S0002-9947-1946-0018188-5.
[38] Gabriel Peyré and Marco Cuturi. Computational optimal transport with applications to data sciences. Foundations and Trends® in Machine Learning, 11(5–6):355–607, 2019. doi:10.1561/2200000073. URL https://doi.org/10.1561/2200000073.
[39] Aram-Alexandre Pooladian, Heli Ben-Hamu, Carles Domingo-Enrich, Brandon Amos, Yaron Lipman, and Ricky T. Q. Chen. Multisample flow matching: Straightening flows with minibatch couplings. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 28100–28127. PMLR, 2023. URL https://proceedings.mlr.press/v202/pooladian23a.html.
[40] Md Ashiqur Rahman, Manuel A. Florez, Anima Anandkumar, Zachary E. Ross, and Kamyar Azizzadenesheli. Generative adversarial neural operators. Transactions on Machine Learning Research, October 2022. ISSN 2835-8856. URL https://openreview.net/forum?id=X1VzbBU6xZ.
[41] Walter Rudin. Functional Analysis. McGraw-Hill Series in Higher Mathematics. McGraw-Hill, New York, 1973. ISBN 978-0-07-054225-9. URL https://books.google.com/books/about/Functional_Analysis.html?id=BB_vAAAAMAAJ.
[42] Cristopher Salvi, Thomas Cass, James Foster, Terry Lyons, and Weixin Yang. The signature kernel is the solution of a Goursat PDE. SIAM Journal on Mathematics of Data Science, 3(3):873–899, 2021. doi: 10.1137/20M1366794. URL https://epubs.siam.org/doi/10.1137/20M1366794.
[43] Cristopher Salvi, Maud Lemercier, and Andris Gerasimovics. Neural stochastic PDEs: Resolution-invariant learning of continuous spatiotemporal dynamics. In Advances in Neural Information Processing Systems, volume 35, 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/hash/091166620a04a289c555f411d8899049-Abstract-Conference.html.
[44] Daniil Shmelev and Cristopher Salvi. pySigLib – fast signature-based computations on CPU and GPU, 2025. URL https://arxiv.org/abs/2509.10613.
[45] Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In The Ninth International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=PxTIG12RRHS.
[46] Bharath K. Sriperumbudur, Arthur Gretton, Kenji Fukumizu, Bernhard Schölkopf, and Gert R. G. Lanckriet. Hilbert space embeddings and metrics on probability measures. Journal of Machine Learning Research, 11(50):1517–1561, 2010. URL https://jmlr.org/papers/v11/sriperumbudur10a.html.
[47] Thibault Séjourné, Jean Feydy, François-Xavier Vialard, Alain Trouvé, and Gabriel Peyré. Sinkhorn divergences for unbalanced optimal transport, 2019. URL https://arxiv.org/abs/1910.12958.
[48] Alexander Tong, Kilian Fatras, Nikolay Malkin, Guillaume Huguet, Yanlei Zhang, Jarrid Rector-Brooks, Guy Wolf, and Yoshua Bengio. Improving and generalizing flow-based generative models with minibatch optimal transport. Transactions on Machine Learning Research, pages 1–34, March 2024. ISSN 2835-8856. URL https://openreview.net/forum?id=CD9Snc73AW.
[49] Cédric Villani. Optimal Transport: Old and New, volume 338 of Grundlehren der mathematischen Wissenschaften. Springer, Berlin, Heidelberg, 2009. doi: 10.1007/978-3-540-71050-9. URL https://link.springer.com/book/10.1007/978-3-540-71050-9.
[50] Yasuo Yamasaki. Measures on Infinite Dimensional Spaces, volume 5 of Series in pure mathematics. World Scientific, 1985. ISBN 9789971978525. URL https://books.google.com/books?id=F243Sf1QYbQC.
[51] Angxiao Yue, Anqi Dong, and Hongteng Xu. OAT-FM: Optimal acceleration transport for improved flow matching, 2025. URL https://arxiv.org/abs/2509.24936.
[52] Ho Yun and Yoav Zemel. Gaussian optimal transport beyond Brenier's theorem, 2025. URL https://arxiv.org/abs/2512.21464.
[53] Jianxin Zhang and Clayton Scott. Flow straight and fast in hilbert space: Functional rectified flow, 2025. URL https://arxiv.org/abs/2509.10384.
[54] Johanna Ziegel, David Ginsbourger, and Lutz Dümbgen. Characteristic kernels on Hilbert spaces, Banach spaces, and on sets of measures, 2022. URL https://arxiv.org/abs/2206.07588.
A Additional Technical Background
This appendix collects the mathematical background on which the paper relies: probability measures on function spaces, reproducing kernel Hilbert spaces and kernel embeddings, path signatures, and optimal transport.
A.1 Probability Measure in Function Space
In this section we provide the definitions and necessary theoretical results for probability measure in function space, highlighting the analytical difficulties in general. We give high-level intuition and omit the proofs; for details we refer the reader to the textbooks of Rudin [41] and Da Prato [8].
Definition 3 (Hilbert Space). A Hilbert space is an inner-product space that is complete in the norm induced by its inner product, defined as , where for real Hilbert space.
Importantly, the Hilbert space’s inner product structure gives it a metric space with the norm and metric , . Let be the open balls defined using the metric , then the Borel -algebra of , denoted , is generated by the open balls defined in this way:
Another desirable property of the Hilbert space is eigenfunction spectral decomposition for bounded linear operators:
Theorem 4. Let be a compact, self-adjoint, bounded linear operator. Then there exists an orthonormal set of eigenvectors and real eigenvalues such that:
-
-
if is infinite.
-
has finite multiplicity.
-
The closure of span of non-zero eigenvectors produces closure of .
-
The spectral decomposition of T is:
In the main text, we adopt a measure-theoretic view of probability, which is crucial for function spaces. This is due to the following result, known as “no Lebesgue measure in infinite dimensions.” The statement usually takes the form: If is an infinite-dimensional separable normed linear space, then there is no nontrivial, translation-invariant, -additive Borel measure on that is finite on every nonempty open ball [50]. The implication of this result is that there is no universal definition of probability density as in , and only the more general Radon-Nikodym derivative can be defined between two measures that are absolutely continuous.
Definition 4 (Singular and Absolute Continuity). For a measurable space , two measures are mutually singular, written , if there exists , such that and . is said to be absolutely continuous w.r.t , denoted , if . If and , then we say that , or that they are equivalent.
Definition 5 (Radon-Nikodym Derivative). If and are -finite, then there exists a measurable function such that for all :
where is called the Radon-Nikodym derivative of w.r.t , denoted . When the measure space is and is the Lebesgue measure, is also called the probability density function of distribution .
Though there is no infinite-dimensional Lebesgue measure, and hence no universal way to define density, the most feasible and well-understood way to have a Lebesgue-like measure is to define Gaussian measures:
Definition 6 (Gaussian Measure). Let and , the space of positive, symmetric, and trace class linear operators, then the Gaussian measure on with mean and covariance operator is defined by the Fourier transform:
It can be shown that for every choice of , , there exists a unique Gaussian measure. In Da Prato [8], Chapter 1, the interesting argument for constructing this measure is by the theory of infinite product measure and the isomorphism between the sequence space and the Hilbert space , where the projection map defined using the indices of the spectral decomposition is mapped with Gaussian measures in (also known as 1D Gaussian distribution).
Still, for one Gaussian measure to be absolutely continuous with respect to another, strong conditions have to be imposed on their means and covariance operators: the Feldman–Hájek theorem and, for a shifted mean, the Cameron–Martin formula.
Definition 7 (Cameron–Martin Space). Let H be a Hilbert space and a centered Gaussian measure, then the Cameron–Martin space induced by is:
with inner product .
The general dichotomy for Gaussian measures is the Feldman–Hájek theorem:
Theorem 5 (Feldman–Hájek). Let H be a separable Hilbert space and be two Gaussian measures, then either or , and iff:
-
-
.
-
is Hilbert-Schmidt on
Theorem 6 (Cameron–Martin Formula). Let be two Gaussian measures, then:
-
If , then .
-
If , then .
-
If , then with ,
where denotes the Cameron–Martin linear functional associated with h.
These are the conditions enforced on the FFM model [25], which relies on the absolute continuity between the marginal and the conditional measure at every time t in the probability flow.
For a general Banach space, which is a complete normed space but need not have an inner product structure or spectral decomposition, the analysis becomes more abstract. For instance, without a coordinate map, the preceding product-measure construction of Gaussian measures no longer applies directly. We refer readers to Ledoux and Talagrand [29] for this broader probability theory, and instead explore Hilbert-space embeddings of probability measures in Section A.3.
A.2 Reproducing Kernel Hilbert Space
A Reproducing Kernel Hilbert Space is a Hilbert space of functions with a particular structure that makes each point evaluation well-behaved.
Definition 8 (Reproducing Kernel Hilbert Space). Let be a non-empty set. A Hilbert space, of functions is called a Reproducing Kernel Hilbert Space if for every , the point evaluation functional defined by is continuous and bounded.
By the Riesz representation theorem, there exists a unique element such that
This is the reproducing property that is the defining characteristic of an RKHS.
Since is both a function defined on X and in H, we have that
where is the element in associated with . This allows us to define the reproducing kernel, as:
From this, it is easy to see that is both symmetric and positive definite.
Arguably the core reason to use kernels is that they implicitly define feature maps in high (and potentially infinite) dimensional spaces, which is known colloquially as the “kernel trick”. We next formalize this property using the properties of the RKHS:
Definition 9 (Canonical Feature Maps). Let be a kernel with RKHS . The canonical feature map is defined by
which satisfies the fundamental identity , which is known as the “kernel trick”. This allows us to compute inner products in the feature space without explicit construction.
In the context of our work, we can understand the cost function in Proposition 3 by making use of the kernel trick.
For some of our kernel choices, it is useful to know when the RKHS is rich enough to approximate arbitrary continuous functions and when the induced mean embedding distinguishes probability distributions. Kernels with the former property are referred to as “universal”, defined as follows:
Definition 10 (Universal Kernel). Let be a compact metric space. A continuous kernel on is called universal if its associated RKHS, is dense in with respect to the supremum norm, . That is to say that for any and for any , there exists such that
Universality ensures that a kernel can approximate continuous functions, while characteristicness ensures that its mean embedding can distinguish probability distributions. A kernel with the latter property is called “characteristic”:
Definition 11 (Characteristic Kernel). Let X be a compact metric space. A kernel on X is characteristic if the mean embedding map
is injective on the space of probability measures . Equivalently, is characteristic if
implies that .
Universal kernels on compact spaces are characteristic, but the converse does not hold in general. These properties are useful for interpreting kernel discrepancies: characteristicness makes the kernel mean embedding injective, while universality gives a stronger approximation property on compact sets. The main theorems in Section 3.2 only require the specific assumptions stated there, namely bounded positive-definite kernels, compactness for the error decomposition, and Sobolev regularity for discretization invariance.
The radial basis function kernel is used in our Sobolev-space experiments. On a Sobolev space it is defined as
where is the bandwidth parameter. This Gaussian kernel is symmetric, positive definite, and characteristic on separable Hilbert spaces [54]. It is also bounded, , satisfying the boundedness condition used in Theorems 1 and 2.
A.3 Kernel Embedding of Probability Measure
We next turn our attention to the concept of embedding probability measures into a RKHS, following the framework developed by Sriperumbudur et al. [46]. This is central to our approach because it gives a tractable way to define kernel-induced transport costs on function spaces. As previously discussed, infinite-dimensional spaces lack a Lebesgue-like reference measure, making density-based approaches unavailable. The key insight is that we can embed probability measures as elements into a RKHS, where we compute distances between distributions without requiring explicit density estimation.
For this embedding to be well defined, we require an integrability condition on the kernel. The following proposition shows that bounded kernels ensure the embedding is valid for all probability measures [46]:
Proposition 1. Let be a measurable kernel on . Then, if and only if is bounded.
With the mean embedding in hand, we can define a natural notion of distance between probability measures. This construct relies on the concept of characteristic kernel (Definition 11). If the kernel is characteristic, then the metrics can be defined such that:
The bounded condition and the characteristic condition gives the following result, which is Theorem 1 in Sriperumbudur et al. [46]:
Theorem 7. Let , where is measurable on , then for any :
Below we show that the bounded RBF kernel defined on a Sobolev space is characteristic, to provide additional support for the kernel choices in the main text. First we state a lemma proved in Sriperumbudur et al. [46]:
Lemma 1. Let be an integrally strictly positive definite kernel on a topological space . Then is characteristic to .
Definition 12. Let be the finite signed Borel measures on . A bounded measurable kernel on is integrally strictly positive definite (ISPD) if for every ,
or equivalently, if is the kernel mean element (KME), then:
One can interpret ISPD as the statement that a zero KME implies a zero measure: .
We then reference Theorem 3.1 from Ziegel et al. [54], which shows that RBF / Gaussian kernel is ISPD on separable Hilbert space:
Theorem 8. Let H be a separable Hilbert space, then the Gaussian kernel on H is ISPD with respect to .
This theorem and Lemma 1 therefore imply that the RBF kernel is characteristic on our Sobolev spaces of interest.
A.4 Path Space and Signature Kernel
Denote by the space of continuous paths of finite -variation (see Definition 1.1.4 in Cass and Salvi [5]), with . is a finite-dimensional Banach space. For time series datasets, we usually have . For discrete observations, one may work with a piecewise-linear interpolation, which is again of finite -variation. Let be the tensor algebra (written in Section 2.3, where )
Definition 13 (The signature transform). The signature transform maps a path to the sequence of tensors
where the m-th tensor is given by the iterated integral
Here denotes the standard tensor product.
One can view as an infinite-dimensional feature representation of the path x, with higher signature levels (the level-m term of ; we use this notation throughout) encoding increasingly high-order interactions between the d channels.
Definition 14 (Time augmentation). The signature is invariant under continuous and non-decreasing time reparametrizations [5, Lemma 1.2.1]. In many machine learning settings, this invariance is not desirable, as we want to capture time series in a way that also depends on their time parametrisation. Following prior work [2, 26], we therefore use the standard time augmentation trick. For a path , we define the augmented path as
Throughout, we apply the signature transform to rather than . For notational simplicity, we suppress the bar in the definitions below. Note the signature is also invariant under constant translations of (see Section 1.4 in Cass and Salvi [5]). Throughout, we either fix or treat paths modulo translation.
Remark 1 (Tree-like equivalence without time augmentation). Without the additional time coordinate, the signature is injective only up to tree-like equivalence [5, Section 1.4]. Accordingly, statements such as universality and characteristicness of the signature kernel on a set K should be understood as holding on the corresponding quotient space of equivalence classes when time augmentation is not used.
When working directly with signatures, one typically truncates at level , defining the truncated signature . However, if one is interested in comparing paths and defining the corresponding kernel-induced discrepancies between distributions, the signature kernel provides a way to do so without truncation by working with inner products on the full tensor algebra. Concretely, equip with an inner product . This induces canonical inner products on each tensor space , and hence an inner product on by linearity across levels.
Definition 15 (Signature kernel). For two paths , the signature kernel is defined as the inner product of their signatures,
It is symmetric and positive semidefinite, and thus defines an RKHS on .
Crucially, can be computed without explicitly forming the signature tensors, via the signature kernel trick introduced in Salvi et al. [42, Theorem 2.5]. In particular, one can evaluate
where is the signature kernel between two path prefixes, , which satisfies the integral equation
When and are continuously differentiable, this reduces to a linear hyperbolic Goursat-type PDE with boundary conditions , for which standard finite-difference solvers apply. See Salvi et al. [42, Section 3.1] for one possible finite-difference scheme. We use the PYSIGLIB library from Shmelev and Salvi [44] for efficient signature kernel computations.
Proposition 2 (Universality of the signature kernel [5]). Let C be a path space equipped with a topology such that the signature transform is continuous into a tensor Hilbert space for which the signature kernel
is well-defined. Then on compact , the restriction is universal in the sense of Definition 10, and hence also characteristic to .
A precise statement of universality and its proof are given in Cass and Salvi [5, Theorem 2.2.3]. Characteristicness on compact K follows from the relation between universality and characteristicness established in Cass and Salvi [5, Theorem 2.2.7].
For a more detailed overview of signatures and signature kernels, we refer the reader to Cass and Salvi [5]. The compact-set universality and characteristicness statements used here can be found specifically in Chapter 2.2.
A.5 Optimal Transport and Sinkhorn Divergence
This section introduces the static optimal transport problem and its entropy-regularized version, which connects to the theory of statistical divergences.
Let be metric spaces with Borel -algebras , let and be probability measures, and let be a measurable cost function.
Definition 16 (Coupling). Let and be the coordinate projections. Then the set of couplings (transport plans) is:
Definition 17 (Kantorovich Problem). The static optimal transport cost associated with c is
Any minimizer (if it exists) is called an optimal transport plan.
Definition 18 (Wasserstein-p metrics). If is a metric space and with , define
for in .
In the main text, denotes with the quadratic cost , that is, . Next we present the Kantorovich dual form, which clarifies what is required of the ambient space for the infimum in the Kantorovich problem to be attained. First, we define Polish spaces:
Definition 19 (Polish space). A topological space is called Polish if there exists a metric such that:
-
generates the topology , i.e. , where is the metric topology induced by ;
-
is complete, i.e. every -Cauchy sequence in converges (with respect to ) to a point in ;
-
is separable, i.e. there exists a countable dense subset such that .
Equivalently, a metric space is Polish if it is complete and separable.
Theorem 9 (Kantorovich duality on Polish spaces). Let and be Polish spaces, and let , . Assume is lower semicontinuous and bounded from below, and that there exists at least one coupling with . Then
where the supremum is taken over all Borel functions and such that and . Moreover, the infimum is attained by some optimal plan .
This duality theorem can be found in Villani [49], Chapter 5, and the attainment of the infimum on Polish spaces in Villani [49], Theorem 4.1. For Theorem 2, attainment of the infimum holds on both function spaces used in our experiments: a separable Hilbert space with its norm topology is Polish, and so is path space with its product topology [5, Lemma 1.4.13].
The theory of entropy-regularized static OT can be found in Peyré and Cuturi [38], Chapter 4, and its connection with statistical divergences in Chapter 8. We state only the definitions needed for the Hilbert Sinkhorn Divergence of the main text.
The entropy-regularized problem adds to the transport cost a multiple of the Kullback–Leibler (KL) divergence of the plan from the product of its marginals.
Definition 20 (Kullback–Leibler (KL) divergence). Let be a measurable space and let be probability measures on it. The KL divergence of from is defined by
Equivalently, if then
where denotes the Radon–Nikodym derivative (defined Q-a.e.).
Definition 21 (Entropic OT Functional).
The Sinkhorn divergence is the debiased version of the entropic OT functional:
Definition 22 (Sinkhorn-Divergence).
This is the entropic OT functional used in the proof of Theorem 2; it is well defined in this generality because our ambient spaces are Polish. The Hilbert Sinkhorn divergence in the main text and in Li et al. [31] is obtained by applying the same self-cost debiasing after restricting the ambient space to an RKHS with its norm-induced topology.
B Technical Proofs
B.1 Inherited Results from Li et al. (2021)
For transparency, we separate prior results from our original proofs. Proposition 3 (the equivalence behind Equation (4)) and the two propositions below are all inherited from Li et al. [31]. We restate them here because they are standard ingredients used by our function-space analysis, but we do not claim them as new contributions. Their proofs are therefore referenced directly to the original source.
Proposition 3 (Li et al. [31]). The entropic OT functional underlying Definition 1 can be equivalently formulated as in Equation (4), in the sense that if minimizes Equation (4), then its pushforward minimizes Equation (3); applying the same self-cost subtraction on both sides yields .
Proof: The proof is given as Theorem 1 in the supplementary material of Li et al. [31] .
Proposition 4. Let be the empirical estimators in Equation (5) and . Then there exists such that
Proof: The proof is given as Theorem 2 in the supplementary material of Li et al. [31], same link as before .
Proposition 5. Let and consider . Let be the number of basis spanning functions in . Then for ,
whenever
Proof: The proof is given as Proposition 3 in the supplementary material of Li et al. [31], same link as before .
B.2 Absolute Continuity Behind the CFM/FM Equivalence
The equivalence between the conditional and unconditional flow-matching losses in Section 2.1 rests on an absolute-continuity assumption that is worth making explicit in infinite dimensions. Two FFM conditionals and are typically mutually singular (Feldman–Hájek), so the relevant structure is not conditional-versus-conditional but conditional-versus-mixture at each fixed : one needs for -a.e. . A sufficient condition, used implicitly by FFM [25], is that the data measure is supported in the Cameron–Martin space of the prior, together with bounded below , which Algorithm 1 enforces). Then, for fixed , all conditionals are mutually equivalent by the Cameron–Martin formula, hence absolutely continuous with respect to the mixture , and the exchange of marginal and conditional velocities is justified at each . When the data are rougher than the prior (supp ) the equivalence degrades, so the prior roughness should be matched to the data; this is one reason the white-noise base measure is selected on the Navier–Stokes family (Appendix C.5).
How kFFM inherits this structure. At the population level, write . The kFFM path marginal is , the FFM marginal is , and the kFFM conditional given is , while the FFM conditional is . For the entropic problem with a bounded cost (Theorem 1) the optimal plan has the Gibbs form with bounded potentials, so its density is bounded above and away from zero. Hence and for
-a.e. ; since equivalence of measures is preserved under pushforward, and , and every absolute-continuity relation that FFM relies on transfers verbatim to kFFM. Two remarks. First, this is exactly where entropic regularization matters: an unregularized OT plan can be singular with respect to the product measure, and the argument would fail. Second, the minibatch plans used in training are discrete surrogates of this population object (Section 3.1); the statement concerns the coupling they approximate.
B.3 Proof of Well-posedness and Uniform Boundedness (Theorem 1)
Theorem 1 (Well-posedness and uniform boundedness). Let be a real Banach space and let . Let and let be measurable, symmetric, and positive definite with RKHS . Assume additionally that is bounded: . Then the kernel cost satisfies for all , and for every the Hilbert Sinkhorn divergence (Definition 1) is finite for all , with .
Proof: The argument is elementary once one uses the boundedness of the RKHS cost induced by a bounded kernel. We start by writing the Hilbert Sinkhorn divergence in the general form
By the reproducing property, the canonical feature map of Definition 1 satisfies
Therefore, for any ,
Fix . Since and , we have . To upper bound , use the feasible coupling . Then and hence
Since is a probability measure, it follows that . The same argument applies to and . Since each of the three terms in the definition of lies in , the expression is finite. Moreover,
Interpretation. Theorem 1 is the well-posedness step needed in the function-space setting: it guarantees that the kernel cost is uniformly bounded by and that the HSD objective is finite for all probability measures on the ambient Banach space whenever the kernel is bounded, with no moment assumption on the measures. The uniform bound is what conditions the entropic solver (Section 3.2). This is precisely the hypothesis that is left implicit in the inherited equivalence proposition from Li et al. [31].
B.4 Proof of the Error Decomposition (Theorem 2)
Theorem 2 (Error decomposition). Let be a compact metric space and let . Define the target quadratic cost . Let be a bounded positive-definite kernel with RKHS-induced cost , and let . Let denote the entropic OT functional in Equation (4) with cost , and let . Then for every and every :
where is the -covering number of in the metric .
Proof. Let and let be the RKHS-induced cost in Theorem 2. By definition of , for every coupling ,
Therefore the unregularized OT values for the two costs differ by at most .
For the lower bound, non-negativity of the KL term gives
For the upper bound, let and choose centers whose closed -balls cover . A measurable quantization map with is obtained by assigning each point to the first center whose ball contains it, giving a finite Borel partition . Since is compact and is continuous, an optimal coupling for exists.
Set , , and . For cells with positive mass, let and be the conditional restrictions of and to and , respectively; zero-mass cells may be assigned arbitrary probability measures on , since their weights vanish. Define
This construction preserves the marginals, so . On with , the density of with respect to is , and cells with have . Hence
where the final inequality follows from . Moreover, if and , then
Applying this once under and once under gives
Using again , feasibility of for the entropic problem yields
Combining the lower and upper bounds and substituting proves the result. □
Euclidean covering-rate special case. If has bounded radius , then its covering number satisfies for a universal constant . Substituting this into Theorem 2 gives
after absorbing constants. When , this recovers the usual entropic-regularization rate up to constants.
B.5 Proof of Discretization Invariance (Theorem 3)
Theorem 3 (Discretization invariance). Let be a bounded periodic domain and let . Set , viewed as a compact subset of , and let . For the Fourier basis , let and let denote the orthogonal projection; hence . Write and . Define the Sobolev-RBF kernel on , and write for the corresponding entropic kernel-OT functional from Theorem 2. Then for every ,
Equivalently, in terms of grid spacing , the discretization error decays as .
Notation. Throughout this proof, is the bounded periodic domain, is the Fourier basis on , and the Sobolev norm is
denotes the orthogonal projection onto , so and the highest retained mode has frequency . We write and
for the RKHS-induced cost associated with the RBF kernel on . Since is compact in by the compact Sobolev embedding on bounded periodic domains [12] and is bounded and continuous, the entropic kernel-OT functionals below attain minimizers.
Step 1: Sobolev approximation on the truncation tail. For any with and any ,
Hence
Step 2: Stability of the squared distance under simultaneous projection. For , since is an orthogonal projection on ,
where we used and the Sobolev tail estimate from Step 1 applied to .
Step 3: Cost stability for the RBF kernel. Let for , so and . Then
The bound is uniform over .
Step 4: Upper bound. Let be a feasible coupling for the continuum problem and define . By Step 3,
By the data-processing inequality for KL divergence applied to the measurable map ,
Taking to be an optimizer of and using as a feasible point for gives
Step 5: Lower bound via gluing. Let be an optimizer for . Disintegrate along : since compact metric spaces are standard Borel, the standard regular conditional probability theorem applies [10]. Thus there exist Borel kernels , such that
with supported on the fibre for -a.e. , and similarly for . Define the lifted coupling
Direct verification gives and . Since is feasible with finite KL, the optimizer has finite KL and hence . On each fibre product, the Radon–Nikodym derivative of with respect to is exactly the derivative of with respect to evaluated at . Therefore, by the chain rule for KL divergence,
For the cost integral, Step 3 applied in reverse gives
using that projects to and that the cost difference is bounded uniformly. Hence
Step 6: Conclusion. Combining (8) and (9) yields
B.6 Composed End-to-End Bound
Corollary 1 (Composed end-to-end bound). Let be as in Theorem 3, equipped with , and let
denote quadratic-cost OT in the metric. Write and let be the corresponding covering number. For the Sobolev-RBF kernel in Theorem 3, define the mismatch , i.e.,
where the bound follows because the RBF-induced cost lies in and on . Then for every , and every projection rank ,
Proof. By the triangle inequality, . The first term is bounded by Theorem 3; the second by Theorem 2 applied on the compact metric space with the Sobolev-RBF kernel, whose mismatch is .
Remark. Of the four terms, only the discretization term vanishes with projection rank (rate , driven by the regularity gap ), the formal counterpart of the empirical resolution-invariance in Section 4. The corollary relies on compact Sobolev embedding [12], and our PDE benchmarks are used in the corresponding smooth-solution regime; such Sobolev and analytic regularity is standard in the PDE settings considered here, including Navier–Stokes in appropriate regimes [4]. The kernel-cost mismatch , by contrast, depends only on kernel design: zero for the linear kernel, finite for RBF (controlled by data scale and bandwidth ).
Remark (path space). For data on path space with , the analogue of spectral truncation is signature truncation at level , . Known factorial-decay bounds for signatures of finite-p-variation paths [5, Proposition 1.4.6] imply that, on compact sets with uniformly bounded p-variation control, the tail decays faster than any polynomial in . By Cauchy–Schwarz, the full and truncated signature kernels are then uniformly close on such compact sets. Consequently, the corresponding entropic kernel-OT objectives differ by at most the uniform signature-kernel cost error, since the KL term is unchanged. This gives the same qualitative discretization-invariance message for path space, but with a factorial tail in the signature truncation level rather than a Sobolev Fourier-tail rate.
C Additional Experimental Details
This appendix provides implementation details and additional experimental results that complement the main text.
C.1 Model Parameterization
We implement Functional Flow Matching with the official implementation provided by its authors without modifying any provided hyperparameter of the neural architecture, including . The baseline models use the following hyperparameters, also following Kerrigan et al. [25]:
-
DDPM: the noise schedule has , , and T=1000.
-
DDO (NCSN): the time interval is set to , and the noise schedule interpolates geometrically between and on the 1D datasets and between and on the 2D datasets.
-
GANO: the generator is trained every 5 epochs, and the gradient penalty is on the 1D and on the 2D datasets.
Training. The baseline models are trained with Adam, with learning rate on 1D and on 2D data, except that the rate is for GANO. This configuration also follows Kerrigan et al. [25]; no hyperparameter search was performed on the optimizer.
C.2 Baseline Description
We describe the baseline generative models used for the empirical comparisons. All operate in function space, and the roster covers the diffusion, flow-matching, adversarial, and score-based paradigms; every baseline uses the same neural-operator backbone and data pipeline as kFFM.
-
DDPM [24]: The DDPM used as a baseline is the functional DDPM model proposed by Kerrigan et al. [24], which generalizes the diffusion model in using Gaussian measure theory in Hilbert space. Its formulation is analogous to the base DDPM but performs diffusion directly on Gaussian measures.
-
FFM [25]: Functional Flow Matching is the base model that we extend. It generalizes flow matching in to infinite dimensions by formulating a path of Gaussian measures in a Hilbert space, in analogy with Kerrigan et al. [24]. In the terminology of Tong et al. [48], it couples prior and data samples independently, which leaves room for OT-based coupling.
https://github.com/GavinKerrigan/functional_flow_matching
-
CFM-OT( ) [48]: This is the direct finite-dimensional OT baseline used in the main text. It uses the same minibatch Sinkhorn solver and FNO backbone as our method, but applies OT to discretized vectors with the raw cost and the white-noise (i.i.d. Gaussian) base measure, rather than a function-space kernel cost.
-
GANO [40]: The Generative Adversarial Neural Operator (GANO) is a generative adversarial network in function space whose generator maps Gaussian random fields to samples.
-
DDO/NCSN [34]: The Denoising Diffusion Operator (DDO) is the analogue of score-based generative models [45] in infinite dimensions. We follow Kerrigan et al. [25] and use the NCSN noise scale; the loss and noise schedule, including preconditioning, follow the code released with Lim et al. [34].
C.3 Dataset Description
Of all the datasets we experiment on, AEMET, Gene expression, Economics are from Kerrigan et al. [25], Navier–Stokes, KdV, stochastic Navier–Stokes, stochastic KdV are from Salvi et al. [43], and Heston is from Issa et al. [23]. The descriptions below follow those sources; the architectures and training budgets of our runs are given in Appendix C.4.
AEMET Dataset: This dataset comprises functional observations representing the mean annual profile of average daily temperature (°C) over 1980–2009, collected from 73 weather stations in Spain. Each curve is sampled on a uniform grid of length 365.
Gene Expression: The full dataset contains 10,928 time series sampled at 20 evenly spaced time points, measuring gene-expression amplitudes for four genes. To produce a periodic spiking appearance while preserving the underlying structure, we concatenate the gene-specific sequences in time. Before training, the data are log-transformed and mean-centered. We then focus on 156 high-variability trajectories, selected by requiring the time-averaged standard deviation of each centered series to exceed 0.3.
Economic Dataset: We use the three economic datasets (population, GDP, labor) of Kerrigan et al. [25]; a separate model is trained on each, and the reported Economy metrics are averaged over the component series within each seed (the matched-seed comparisons of Tables 1 and 2 use the population and GDP series). As an example, the population dataset consists of time series tracking population changes for 169 countries worldwide from 1950 to 2018, sampled at 69 discrete time points. For visualization, each country's series is normalized by its own mean, so the curves show population relative to that country's average over the 69-year period. Overall, the trajectories display approximately linear growth with a common change point shared across countries.
Heston Dataset: The Heston model [21] is a stochastic volatility model with diffusion-driven, non-smooth sample paths. It models the asset price and its variance as (in the standard Heston notation, which is local to this paragraph):
where , are Wiener processes with correlations.
The Heston dataset is generated using the simulation code provided in the official repository of sigker-nsde [23] . The script generates 5000 univariate time series of length 100 on [0, 1]; we model the normalized log-variance paths. A long-horizon variant with 1000 time steps (Heston-Long) is used only in the sensitivity study (the “long volatility paths” of Appendices C.8 and C.16) and in the convergence diagnostic of Figure 6.
KdV and Stochastic KdV Equation: The stochastic Korteweg–de Vries equation is a higher-order SPDE given by:
https://github.com/issaz/sigker-nsdes and the base KdV equation simply removes the -Wiener process . The KdV dataset is a single trajectory on a grid of 512 spatial points with 201 time steps, and each time slice is one sample; the stochastic KdV dataset consists of 1200 trajectories on a grid of 128 spatial points with 101 time steps each, again treated as snapshots. The simulation code for these equations is taken from the torch-spde repository [43] .
Navier–Stokes and Stochastic Navier–Stokes Equation: The 2D stochastic Navier–Stokes equation for an incompressible flow has the form:
where the deterministic force is a function of space only, and is a -Wiener process colored in space and rescaled by . The initial condition is a Gaussian Random Field with periodic boundary conditions, and the viscosity is . The base Navier–Stokes equation corresponds to the case where (no stochastic forcing). We again use the simulation code from torch-spde for these 2D datasets, on a uniform grid. The turbulent benchmark of Section 4.2 uses the data of Li et al. [32] on the same grid (1200 trajectories; we keep the snapshots at and train on 9600 of them), and a forced Navier–Stokes dataset is used only for the cost measurements of Appendix C.9.
C.4 Training Configuration Description
The following tables give the hyperparameters of our runs. In all cases, the base FFM model follows the configuration in the original codebase of Kerrigan et al. [25]. We keep the neural architectures fixed and tune only the OT-related hyperparameters; for the 2D PDE datasets we additionally study the Gaussian-prior length scale in Appendix C.16.
-
All FFM and kFFM runs use the Adam optimizer with learning rate and a StepLR scheduler (step size , ).
-
Table 5 gives the FNO configurations on the 1D sequence datasets and Table 6 those on the 1D PDE datasets. We perform no hyperparameter search for the FNO backbone; only the OT-related hyperparameters are varied, so the configurations are dataset-specific. “Batch Size (Sig)” is the batch size used with the signature kernel, whose memory grows with path length.
-
The hyperparameters of the FNO on the 2D PDE datasets are in Table 7.
-
Shared training settings are given in Table 8.
Table 5: Training hyperparameters for 1D sequence datasets (FFM with FNO backbone).
| Dataset | Epochs | Batch Size | Batch Size (Sig) | FNO Modes | Width | MLP Width | GP | GP |
|---|---|---|---|---|---|---|---|---|
| AEMET | 300 | 512 | 64 | 64 | 256 | 128 | ||
| Gene Expr. | 300 | 512 | 128 | 16 | 256 | 128 | ||
| Economy | 300 | 512 | 128 | 16 | 128 | 64 | ||
| Heston | 300 | 512 | 128 | 32 | 256 | 128 |
Table 6: Training hyperparameters for 1D PDE datasets (FFM with FNO backbone).
| Dataset | Epochs | Batch Size | Batch Size (Sig) | FNO Modes | Width | MLP Width | GP | GP |
|---|---|---|---|---|---|---|---|---|
| KdV | 300 | 16 | 16 | 64 | 256 | 128 | ||
| Stochastic KdV | 100 | 512 | 128 | 32 | 256 | 128 |
C.5 Configuration Selection Protocol
kFFM as evaluated in this paper has two per-dataset configuration choices: the OT cost entering the entropic coupling (signature kernel, Euclidean–RBF kernel, Sobolev-RBF kernel, or the raw cost) and the Gaussian base measure (a smooth GP prior or white noise). The “kFFM (selected)” column of
https://github.com/crispitagorico/torchspde
Table 7: Training hyperparameters for 2D spatial PDE datasets (FFM with 2D-FNO backbone).
| Dataset | Epochs | Batch Size | Batch Size (Sig) | FNO Modes | Hidden Ch. | Proj. Ch. | GP | GP |
|---|---|---|---|---|---|---|---|---|
| Navier-Stokes | 300 | 512 | 512 | 16 | 32 | 64 | 0.001 | 1.0 |
| Stoch. NS | 100 | 512 | 512 | 16 | 32 | 64 | 0.001 | 1.0 |
Table 8: Common training settings for all datasets.
| Parameter | Value |
|---|---|
| Optimizer | Adam |
| Learning Rate | |
| LR Scheduler | StepLR (step=50, ) |
| FFM | |
| Number of Seeds | 10 (seeds ); 20 (seeds ) where in Table 2; 5 on the turbulent benchmark |
| ODE solver tolerances (atol, rtol) |
Table 1 is determined by a validation-based rule rather than by test-set performance: for each dataset, every candidate configuration is trained identically, the configuration with the best sliced Wasserstein distance — a criterion independent of the kernels being compared — on a held-out validation split is selected, and only the selected configuration is then evaluated on the test set. In practice this rule is nearly deterministic and coincides with a simple prior-knowledge heuristic that practitioners can apply without any search: use the signature kernel with a GP base for path-like or rough sequence data, and a bounded RBF cost (Sobolev-RBF with a GP base on the 1D KdV family, Euclidean-RBF on the Navier–Stokes family) for PDE fields, with the white-noise base selected on the Navier–Stokes family, whose fields are rougher than a smooth GP prior. On our benchmark the validated choice coincides with the best-performing configuration on all datasets except short-horizon Heston, where the top configurations are statistically indistinguishable. Pointwise diagnostics by kernel variant are reported in Appendix C.6; the cost and base measure of each selected cell are tagged in Table 1, and the Sinkhorn regularization and kernel bandwidth follow the defaults of Appendix C.8, to which the results are insensitive within the ranges reported in the sensitivity study below.
C.6 Detailed Main-Paper Results
This appendix includes a self-contained summary of the full baseline roster used in the paper, together with structural diagnostics, fuller pointwise comparisons, kernel ablations, and the super-resolution visualizations referenced in Section 4. The additional pointwise tables follow the evaluation convention of Kerrigan et al. [25]: discretization-level mean/variance MSE summaries together with autocorrelation or log-spectrum diagnostics, and higher moments where reported. These tables focus on models for which such pointwise statistics are currently available, while Table 1 in the main text summarizes the complete baseline family comparison including CFM-OT().
C.7 Full Statistics Report on Sequence Datasets
For the sequence datasets, in addition to the mean/variance/autocorrelation tables above, we also report kurtosis and skewness in Table 14, since these were also reported in Kerrigan et al. [25]. We keep them in the appendix because they are complementary to the main conclusion rather than central to it.
C.8 Implementation Details and Good Practices
Algorithm 1 (Section 3.1) summarizes kFFM training; here we collect the implementation choices behind it.
Unless stated otherwise, the Sinkhorn regularization is on the median-normalized cost matrix and the RBF bandwidth is on the same normalized scale (i.e. the median heuristic). The coupling is computed per minibatch with the following choices, which we found to matter for stability and recommend as defaults. (i) Median-normalize the per-batch cost matrix before Sinkhorn; this is the most important stability lever and makes the entropic regularization scale-free. (ii) Use log-domain Sinkhorn [38]. (iii) Sample endpoint pairs from the plan rather than using the barycentric projection. (iv) Use a bounded (kernel) cost: results are then invariant to across three
Table 9: Interpretable structural diagnostics complementing the full-baseline MMD comparison in Table 1. The first block reports autocorrelation error on sequence datasets; the second block reports log-spectrum error on PDE datasets. Lower is better. As in Tables 11 and 13, the kFFM column reports the best kernel variant per row (the signature kernel on Gene Expression, Economy, and Heston). All results are averaged over 10 seeds.
| Dataset | DDO/NCSN | GANO | DDPM | FFM | CFM-OT() | kFFM |
|---|---|---|---|---|---|---|
| AEMET (Autocorr.) | ||||||
| Gene Expr. (Autocorr.) | ||||||
| Economy (Autocorr.) | ||||||
| Heston (Autocorr.) | ||||||
| KdV (Log-spectrum) | ||||||
| Navier-Stokes (Log-spectrum) | ||||||
| Stoch. KdV (Log-spectrum) | ||||||
| Stoch. NS (Log-spectrum) |
Table 10: Sequence-data pointwise diagnostics following the evaluation convention of Kerrigan et al. [25]: mean and variance of the discretization-level MSE between target and generated samples, together with average autocorrelation error. We compare baseline FFM (Independent) against the OT-coupled variants: Signature = signature kernel, RBF = Euclidean–RBF kernel, Euclidean = raw cost with the GP base (kFFM-Euc). Results are mean±std over 10 seeds. Best is green; second best is orange.
| Dataset | Kernel | Mean | Variance | Autocorr. |
|---|---|---|---|---|
| AEMET | Independent | |||
| Signature | ||||
| RBF | ||||
| Euclidean | ||||
| Gene Expr. | Independent | |||
| Signature | ||||
| RBF | ||||
| Euclidean | ||||
| Economy | Independent | |||
| Signature | ||||
| RBF | ||||
| Euclidean | ||||
| Heston | Independent | |||
| Signature | ||||
| RBF | ||||
| Euclidean |
orders of magnitude and Sinkhorn converges faster (15–25% faster end-to-end training than with the unbounded cost; Table 15); with the raw cost keep (we observed a degradation at on long volatility paths). (v) Per-batch re-coupling was stable on all datasets. (vi) Batch size. Minibatch kernel OT induces the expected minibatch plan (Section 3.1); in a sweep over on Heston and Stoch. KdV, kFFM tracks FFM across the range, and the only seed-consistent edge favors kFFM at the largest batch (Stoch. KdV, b = 512: 3/3 seeds, 0.11 vs. MMD-RBF).
C.9 Compute and Memory Cost
Table 15 summarizes the measured cost of the coupling step, profiled on Heston, Stoch. KdV, and Navier–Stokes at and for batch sizes . The end-to-end overhead is at the largest resolution we train , and because the coupling cost is independent of model size and resolution, its relative weight shrinks as the backbone grows. The bounded RBF cost also conditions the Sinkhorn iterations (the Gibbs kernel stays bounded away from 0 and 1 across batches; Theorem 1), which is why it is about faster than unbounded- Sinkhorn at . Signature-kernel memory grows with path length, which is why the selection rule assigns RBF or costs to very long sequences.
Table 11: Baseline comparison for time series datasets among models with available pointwise statistics. The full baseline roster, including CFM-OT(), is summarized in Table 1. Following Kerrigan et al. [25], we report mean/variance MSE and autocorrelation error computed on the discretized samples. The kFFM row reports the best of the kernel variants in Table 10 for each metric (an oracle over variants, used only for these diagnostics), whereas Table 1 uses the validation-selected configuration. Results are mean±std over 10 seeds. Best is green; second best is orange.
| Dataset | Model | Mean | Variance | Autocorr. |
|---|---|---|---|---|
| AEMET | DDO/NCSN | |||
| DDPM | ||||
| GANO | ||||
| FFM | ||||
| kFFM | ||||
| Gene Expr. | DDO/NCSN | |||
| DDPM | ||||
| GANO | ||||
| FFM | ||||
| kFFM | ||||
| Economy | DDO/NCSN | |||
| DDPM | ||||
| GANO | ||||
| FFM | ||||
| kFFM | ||||
| Heston | DDO/NCSN | |||
| DDPM | ||||
| GANO | ||||
| FFM | ||||
| kFFM |
Table 12: PDE pointwise diagnostics following the evaluation convention of Kerrigan et al. [25]: mean and variance of the discretization-level MSE between target and generated samples, together with average log-spectrum error. Here we compare the baseline FFM (Independent) against its OT-coupled variants: RBF = Euclidean–RBF kernel, Euclidean = raw cost with the GP base (kFFM-Euc). Results are mean±std over 10 seeds. Best is green; second best is orange.
| Dataset | Kernel | Mean | Variance | Spectrum (log) |
|---|---|---|---|---|
| KdV | Independent | |||
| RBF | ||||
| Euclidean | ||||
| Navier-Stokes | Independent | |||
| RBF | ||||
| Euclidean | ||||
| Stoch. KdV | Independent | |||
| RBF | ||||
| Euclidean | ||||
| Stoch. NS | Independent | |||
| RBF | ||||
| Euclidean |
C.10 Non-Kernel Metrics
Table 3 (Section 4.1) reports sliced Wasserstein distance and marginal for kFFM versus FFM on the same runs. Coupling and evaluation kernels already differ for our strongest configurations (signature coupling, RBF-MMD evaluation), and the gains persist under every non-kernel metric. Table 16 adds the autocorrelation and log-spectrum errors on the same matched runs for the sequence datasets; the pointwise diagnostics by kernel variant on the original 10-seed runs are in Appendix C.6.
Table 13: Baseline comparison for PDE datasets among models with available pointwise statistics. The full baseline roster, including CFM-OT(), is summarized in Table 1. Following Kerrigan et al. [25], we compare kFFM against baseline models on discretization-level mean/variance MSE and log-spectrum error; the kFFM row reports the best of the kernel variants in Table 12 for each metric (an oracle over variants, used only for these diagnostics), whereas Table 1 uses the validation-selected configuration. Results are mean±std over 10 seeds. Best is green; second best is orange.
| Dataset | Model | Mean | Variance | Spectrum (log) |
|---|---|---|---|---|
| KdV | DDO/NCSN | |||
| DDPM | ||||
| GANO | ||||
| FFM | ||||
| kFFM | ||||
| Navier-Stokes | DDO/NCSN | |||
| DDPM | ||||
| GANO | ||||
| FFM | ||||
| kFFM | ||||
| Stoch. KdV | DDO/NCSN | |||
| DDPM | ||||
| GANO | ||||
| FFM | ||||
| kFFM | ||||
| Stoch. NS | DDO/NCSN | |||
| DDPM | ||||
| GANO | ||||
| FFM | ||||
| kFFM |
C.11 Turbulent Navier–Stokes: Samples and Statistics
Table 17 gives the turbulent benchmark of Section 4.2 with explicit configurations and unscaled values, and Figure 4 shows vorticity samples (pooled vorticity PDFs and energy spectra are in Figure 1). We also re-ran the standard Navier–Stokes configurations of Section 4.1 with the same physics diagnostics (3 seeds): the flow-matching family leads (enstrophy of 0.16 vs. 0.28 for DDPM; vorticity-PDF of 0.14–0.15 vs. 0.39), and kFFM matches FFM within noise on the physics metrics while retaining its distributional edge from Table 1. The kernel-cost mismatch is larger in the turbulent regime: prior-data distances more than double relative to the standard benchmark (median 91 vs. 40), pushing the RBF cost deeper into saturation, the regime where Theorem 2 is weakest; the empirical results carry the method there.
C.12 Measuring the Kernel-Cost Mismatch
Analytically, is a rescaled cost up to relative error , with the batch diameter; median normalization cancels the rescaling, so is small at large bandwidth. We measured the mismatch on training-faithful batches through the rank correlation between kernel and cost matrices and the total variation (TV) distance between the induced plans. (1) Where the RBF cost is not saturated it is a monotone transform of (rank correlation : Gene Expression 1.000, Heston 0.98), i.e. the same geometry with compressed outliers. (2) The signature kernel genuinely re-ranks pairs (rank correlation with of only 0.33–0.37 on AEMET and Gene Expression), the data class where its wins are largest and most significant; is large there by design, and Theorem 2 controls the deviation from Wasserstein with the chosen cost rather than proximity to OT. (3) On smooth Navier–Stokes fields the plans agree across costs (plan TV ), the small- regime where the bound is tightest and the bounded cost's stability and speed are the operative benefits.
C.13 Synthetic Couplings: Where Pairing Fails
Figure 5 isolates the two failure modes of pairing discussed in Section 4.1 on synthetic data at the training coupling protocol (stable over 6 seeds): a conditioning failure under heavy-tailed nuisance

(a) Samples.
(b) 4x temporal super-resolution.
Figure 2: Qualitative results on AEMET; panels labeled Euclidean, RBF, and Signature are kFFM variants (kFFM-Euc, kFFM-RBF, kFFM-Sig) and Independent is FFM. Kernel OT better preserves the seasonal spread and amplitude of trajectories both at the original resolution and under temporal super-resolution.


(a) Samples.


(b) 2x spatial super-resolution.
Figure 3: Qualitative results on Navier–Stokes; panels labeled Euclidean and RBF are kFFM variants (kFFM-Euc, kFFM-RBF) and Independent is FFM. Kernel OT produces smoother and more coherent flow structures than independent coupling, and this advantage persists under spatial super-resolution.
bursts, cured by any bounded cost, and a geometry failure on paths matched by volatility, cured only by the signature kernel.
C.14 Why Straightness Arguments Do Not Directly Transfer
Finite-dimensional OT-CFM is often motivated by the Euclidean picture: a better coupling, combined with linear interpolation, can lead to straighter paths and hence lower numerical integration cost. That intuition depends on geometric facts that are specific to the finite-dimensional Wasserstein setting and should not be treated as automatic in function space.
Proposition 6 (Coupling-only role of kernel OT). Fix a coupling . In kFFM, conditional on , the path is
so that
Table 14: Higher-moment sequence-data statistics (skewness and kurtosis errors) for the models with available pointwise diagnostics, following the evaluation convention of Kerrigan et al. [25]; mean, variance, and autocorrelation errors are in Table 11, and the full baseline roster, including CFM-OT(), in Table 1. The kFFM row uses the best kernel variant per metric. Lower is better. Best is green, second best is orange.
| Dataset | Model | Skewness | Kurtosis |
|---|---|---|---|
| AEMET | DDO/NCSN | ||
| DDPM | |||
| GANO | |||
| FFM | |||
| kFFM | |||
| Gene Expr. | DDO/NCSN | ||
| DDPM | |||
| GANO | |||
| FFM | |||
| kFFM | |||
| Economy | DDO/NCSN | ||
| DDPM | |||
| GANO | |||
| FFM | |||
| kFFM | |||
| Heston | DDO/NCSN | ||
| DDPM | |||
| GANO | |||
| FFM | |||
| kFFM |
Table 15: Measured training cost of the kernel-OT coupling step across benchmarks. The Sinkhorn solve is independent of model size and resolution.
| Quantity | Measurement |
|---|---|
| End-to-end training overhead vs. FFM | 5–7% at the largest trained resolution ( Navier–Stokes) |
| Peak coupling memory | 80–151 MB across benchmarks and ; 1.5–9% of the FNO forward+backward peak (e.g. 116 MB vs. 7.62 GB on Navier–Stokes ) |
| Per-batch coupling time | 1–80 ms, about one FNO step |
| Bounded RBF vs. unbounded | 9 vs. 73 ms per batch (); 15–25% faster end-to-end training |
| Sinkhorn () | |
| Signature-kernel memory | 0.63 GB at 100 time points vs. 12.5 GB at 512; the selection rule therefore assigns RBF/ costs to very long sequences |
| Larger-model control | Giving FFM the +6% budget as extra epochs does not close the gap (loss curves plateau early) |
the conditional path is affine in and deterministic given the pair, and its geometry does not depend on . Moreover, the training objective can be written as
Therefore, optimizing over changes only the distribution of endpoint pairs presented to the model; it does not introduce any explicit pathwise straightness, geodesic, or action-minimization term.
Proof. The path and its velocity are exactly those of Section 3.1; they coincide with the FFM path and conditional field of Section 2.1 with the base noise replaced by the paired prior sample . Differentiating the affine path gives the displayed derivatives. Substituting the conditional path into the conditional flow matching objective yields the displayed loss. Since enters only through the sampling law of and no additional functional of the path appears in the objective, the method does not explicitly optimize any global path-geometry quantity.
Table 16: Non-kernel and structural metrics for kFFM-Sig vs. FFM on the sequence datasets (same prior and architecture; lower is better), computed on the matched runs of Table 2: mean±std over 10 shared seeds (Economy averages the population and GDP series within each seed). Every comparison is individually significant when paired by seed (Wilcoxon ; kFFM better on 9–10 of the 10 seeds on both datasets); the wide autocorrelation spread on Gene Expression is across-seed variation shared by both methods, which the pairing removes. These runs are distinct from the 10-seed runs behind Table 10, so the autocorrelation values differ between the two tables; both favor kFFM.
| Dataset | Metric | FFM | kFFM-Sig |
|---|---|---|---|
| Gene Expr. | Sliced-W | ||
| Marginal- | |||
| Autocorr. MSE () | |||
| log-Spectrum MSE () | |||
| Economy | Sliced-W | ||
| Marginal- | |||
| Autocorr. MSE () | |||
| log-Spectrum MSE |
Table 17: Full version of Table 4 with explicit configurations (cost/base measure) and unscaled values. Turbulent 2D Navier–Stokes (, 1200 trajectories, Re 2000): distributional and physics diagnostics (lower is better), mean±std over 5 seeds, identical FNO backbone and training budget for all flow/diffusion methods. Best per column in bold (on MMD, kFFM and CFM-OT() tie within std). Vort-PDF : between pooled vorticity distributions; Enstrophy : between per-snapshot enstrophy distributions; Skew/Kurt: absolute errors of pooled-vorticity skewness and excess kurtosis; log-Spec: log-spectral error.
| Method | MMD | Sliced-W | Vort-PDF | Enstrophy | Skew err. | Kurt err. | log-Spec |
|---|---|---|---|---|---|---|---|
| kFFM (selected: Euclidean-RBF/wn) | |||||||
| CFM-OT() (raw /wn) | |||||||
| kFFM-Sob (Sobolev-RBF/gp) | |||||||
| kFFM-Euc (raw /gp) | |||||||
| FFM (gp, independent) | |||||||
| DDO/NCSN | |||||||
| DDPM |
Corollary 2 (Coupling-invariance of ambient path straightness). For a twice differentiable path , define the ambient acceleration and speed-variation functionals
Then for every coupling and every endpoint pair , the kFFM conditional path satisfies
Hence these natural ambient-space straightness measures of the prescribed conditional path are identical for all couplings.
Proof. By Proposition 6, is constant in and . Therefore . The speed is also constant in , so it coincides with its own time average and .
Proposition 6 and Corollary 2 formalize the internal reason that the usual OT-CFM straightness argument does not transfer directly to kFFM: kernel OT acts only at the level of endpoint coupling, while the interpolation template remains the same affine FFM path. Any improvement in convergence or sampling cost could therefore only arise indirectly through better endpoint pairings and the learned velocity field, not from an explicit path-straightness objective, and we do not claim one.
Our setting is different in a second, geometric way. FFM is formulated on Gaussian measures over separable Hilbert spaces, where absolute continuity and transport already depend on Cameron–Martin and Feldman–Hajek type conditions rather than Lebesgue-density arguments. Even when one restricts
Vorticity samples, turbulent 2D Navier-Stokes ( , FNO benchmark)

Figure 4: Turbulent 2D Navier–Stokes ( ): vorticity samples on a shared color scale (for each method, the samples whose enstrophy is closest to the data median). kFFM (selected) and FFM reproduce the data’s large-scale vortical organization, DDO/NCSN produces near-noise fields, and DDPM coarse blobs. The corresponding pooled vorticity PDFs and energy spectra are in Figure 1.
attention to Gaussian optimal transport, the appropriate geometry is the Bures–Wasserstein geometry rather than the flat Euclidean geometry used by standard OT-CFM heuristics.
Recent work by Yun and Zemel [52] makes this distinction explicit. For Gaussian measures on separable Hilbert spaces, they show that the optimal transport map can fail to admit the usual Brenier variational interpretation: formally, it is the subgradient of a convex function that is infinite almost everywhere, and the geodesic structure between degenerate Gaussian measures is richer than the classical finite-dimensional McCann interpolation picture. This does not mean that efficient flows are impossible in function space; rather, it means that the usual “OT implies straighter paths” argument is not a theorem in the present setting.
For this reason, our paper does not claim that kFFM is geodesic or pathwise optimal in a Bures–Wasserstein sense. The theoretical guarantees in this paper concern the well-posedness, error decomposition, and discretization invariance of the kernel OT surrogate, not global straightness of the learned ODE.
This is also why Section 4 makes no efficiency claim: the main supported claim of the paper is better distributional matching from geometry-aware coupling, and Appendix C.15 reports only the training-time convergence of the target metric.
C.15 Target-Metric Convergence During Training
In finite-dimensional OT-CFM, optimal transport is often motivated by improved convergence and straighter flows [48]. As discussed in Appendix C.14, we do not treat such properties as theoretical consequences in function space and make no efficiency claim. We report only the convergence of the target metric during training: Table 18 and Figure 6 show the MMD-RBF of FFM and kFFM over

Figure 5: Entropic minibatch couplings (, , median-normalized costs as in training) for three synthetic scenarios (rows) and four costs (columns). Sources and targets are sorted so that the intended matching is the diagonal, and each panel reports the plan mass on intended matches (a uniform plan gives ). Top: shifted bumps matched by location; every cost recovers the matching. Middle: bumps where of samples carry large, independent nuisance bursts. Burst pairs dominate the median normalization of the unbounded cost, collapsing clean-pair contrasts below , so its plan degenerates to near uniform (0.16); the bounded RBF cost saturates the bursts and recovers the matching (0.58), invariant to burst amplitude (the conditioning effect of Theorem 1). Bottom: Brownian paths , , matched by volatility. The expected cost is separable, , so it carries no assortative signal in expectation and its plan stays near uniform (0.25); the signature kernel (lead-lag) reads volatility through quadratic variation and concentrates on the intended matching (0.43). No single cost wins every scenario, which motivates the per-data-class selection rule of Appendix C.5.
Table 18: Relative MMD-RBF improvement of kFFM over FFM at the end of the convergence curves of Figure 6 (higher is better; values above occur where the unbiased estimate for kFFM is negative). Both methods share the GP prior and FNO backbone, isolating the coupling as the only changed component.
| Dataset | Heston | AEMET | KdV | Economy | Gene Expr. | Stoch. KdV | Stoch. NS | Navier-Stokes |
|---|---|---|---|---|---|---|---|---|
| ΔMMD-RBF (%) | +32% | +53% | +8% | +52% | +64% | +225% | +7% | +9% |
the final phase of training, with both models sharing the GP prior and FNO backbone so that the only change is the coupling. The curves are the best-so-far value (cumulative minimum) of the across-seed mean; on KdV, where the unbiased estimate is noisy at the level of single checkpoints, the curves are instead the running mean over the final phase. kFFM ends training at a better MMD-RBF on every dataset, with the largest gains on Stoch. KdV, Gene Expr., AEMET, Economy, and Heston.
C.16 Hyperparameter Sensitivity
Unless otherwise noted, we keep the training setup, neural architectures, Gaussian prior, and remaining OT settings fixed at the default values from the main experiments, and vary only one kFFM vs FFM: MMD-RBF Convergence - Zoomed to Final Training Phase

AEMET
Economy
Heston
Navier-Stokes
Stochastic NS
KdV
Epoch
Epoch
Figure 6: Per-dataset target-metric convergence using MMD-RBF (lower is better) corresponding to the headline summary in Table 18. The plot shows the best-so-far across-seed mean MMD-RBF over the final phase of training (on KdV, the running mean over the final phase, from epoch 125) for kFFM versus the original FFM under matched GP prior and FNO backbone, so the only change is the coupling. The kFFM curve uses the signature kernel on Stoch. KdV, Gene Expr., AEMET, Economy, and Heston, the Sobolev-RBF cost on KdV, the Euclidean–RBF cost on Stoch. NS, and the raw cost on Navier–Stokes and Heston-Long. kFFM ends training at a better MMD-RBF on every dataset, with especially large gains on Stoch. KdV, Gene Expr., AEMET, Economy, and Heston. The additional Heston-Long panel is a long-horizon variant of Heston (1000 time steps) used only in this diagnostic and in the sensitivity study; it is not one of the eight benchmark datasets.
hyperparameter at a time. We use the POT package [17] for optimal transport. The figures below are direct one-at-a-time sweeps: they vary or while holding the other settings fixed. We additionally report the sensitivity to the Gaussian-prior length scale on the 2D PDE datasets, where it has the clearest effect.
The kernel-specific hyperparameters are:
-
RBF kernel: the bandwidth .
-
Signature kernel:
(a) Boolean switches for the lead-lag and time augmentations (lead_lag, time_aug).
(b) Dyadic order in .
(c) Static-kernel bandwidth between 0.1 and 5.
(d) Maximum sequence length (subsampling) in .
The hyperparameters for the Sinkhorn algorithm are:
-
ot_reg, the regularization parameter ; the sweeps of Figure 8 use , and the full grids extend this range.
-
ot_method: Sinkhorn or exact OT; Sinkhorn generally performs better.
https://pythonot.github.io/ kFFM Hyperparameter Sensitivity on MMD-RBF

Figure 7: Aggregate MMD-RBF sensitivity of kFFM hyperparameters across datasets; the spread is over the tested settings of the hyperparameter in parentheses, and lower is less sensitive. Signature-kernel settings are nearly invariant on the tested sequence datasets, the Sinkhorn regularization is typically less influential than the RBF bandwidth, and the results depend more on under the raw (Euclidean) cost than under the bounded RBF cost (median spread of about 8% vs. near zero).
- ot_coupling: sampling from the plan (default) or barycentric projection; sampling usually performs better.
Figure 7 summarizes the aggregate MMD-RBF spread across datasets for the main tunable kernel families, where the spread for a given dataset is computed as over the tested settings. The dominant pattern is that the Sinkhorn regularization is typically quite stable, while the RBF bandwidth can matter more on selected datasets. Figure 8 then shows the direct sweeps on representative datasets, run at the white-noise base measure: the top panel varies the RBF bandwidth, and the bottom panel varies the Sinkhorn regularization. We focus these direct sweeps on the axes that showed the most variation; the signature-kernel settings were substantially flatter on the tested sequence datasets and are summarized in Figure 7. Re-aggregating the full grids: results are indistinguishable within seed-to-seed variation for RBF bandwidths on every dataset (the wider sweeps in Figure 8 show where larger bandwidths start to matter on selected datasets); the Sinkhorn regularization is flat across three orders of magnitude ( ) for bounded costs, whereas with the raw cost degrades long volatility paths by ; and the signature hyperparameters (dyadic order 0–3, static bandwidth 0.1–5) leave the results unchanged. The kernel family and the base measure are the choices that matter: Euclidean costs, raw or bounded, still lose to the signature kernel by on Gene Expression and Economy (Section 4.1).
The choice of Gaussian prior matters more on the 2D PDE datasets (Navier–Stokes and Stoch. NS), independently of the kernel. Figure 9 shows the sensitivity of these two datasets to the length scale of the Gaussian prior, which encodes a prior belief about the smoothness of the data.
D Extended Related Work
This section expands the discussion of Section 5. The study of using optimal transport [49] to improve flow matching was first proposed by Pooladian et al. [39], Tong et al. [48], which add an OT-induced coupling of each minibatch before the interpolation and training step. Several follow-up works [28, 51] have aimed to further expand the framework. All have assumed that the sample space is . In order to better capture the resolution-invariance of grid data and continuity of path data, Kerrigan et al. [25] first proposed Functional Flow Matching, a framework to perform flow matching in Hilbert space, relying on Gaussian measure theory. However, OT-based endpoint coupling had not been brought to this space.
The line of research that embeds probability measures in RKHS has been proposed by the pioneering work of Gretton et al. [20], Sriperumbudur et al. [46], where kernel-induced metrics, such as Integral Probability Metrics (IPM), have been studied extensively [10, 46] and used for two-sample hypothesis testing [20], most recently in path space [6] with the signature kernel. The IPM in the form of the Maximum Mean Discrepancy (MMD) has been linked with both probability divergences and
RBF Bandwidth Sensitivity (MMD-RBF, )
CFM-OT(RBF) CFM-OT(L2) …… No coupling

Stoch. KdV
Stoch. NS
NS 64×64
AEMET
Sinkhorn Sensitivity (MMD-RBF)
CFM-OT(RBF) CFM-OT(L2) …… No coupling
Heston
KdV
Stoch. KdV

Stoch. NS
NS 64×64
AEMET
Sinkhorn regularization
Sinkhorn regularization
Sinkhorn regularization
Figure 8: Direct one-at-a-time MMD-RBF sweeps on representative datasets (mean and one standard deviation across seeds). Top: varying the RBF bandwidth at fixed Sinkhorn regularization ( ). Bottom: varying at fixed bandwidth. All arms in this figure use the white-noise base measure: the solid curve (legend: CFM-OT(RBF)) is the Euclidean–RBF kernel coupling, the dashed line is CFM-OT( ), and the dotted line (legend: No coupling) is independent coupling at the same base. Across the tested values the swept arm moves within its seed-to-seed variation.
GP Prior Lengthscale Sensitivity

Distribution Median Mean Best
Figure 9: Distribution of the pointwise metrics (mean MSE, variance MSE, log-spectrum error) on the two 2D PDE datasets, Navier–Stokes and Stoch. NS, as a function of the length scale of the Gaussian prior.
Wasserstein distances [16], and it has an entropic OT formulation in the Hilbert Sinkhorn Divergence of Li et al. [31]. It has also been used as the objective of gradient flows [1, 18], which have been adopted in deep generative models. The extension of these frameworks to function space is an active area of research, and to our knowledge our work is the first to explore it in the context of flow matching.
Concurrent function-space flow matching. Three concurrent works are closest to ours; none studies the endpoint coupling. Kollovieh et al. [27] use flow matching with GP priors for probabilistic time-series forecasting, a conditional task with an independent prior-data coupling; this is closest in spirit to our GP-prior setup and orthogonal on the axis we study, and our results suggest that framework could itself benefit from kernel-OT coupling. Zhang and Scott [53] straighten flows in Hilbert space via rectification, iteratively re-training on model-generated endpoint pairs; rectification changes pairs across training rounds using the model, whereas kernel OT changes pairs within each batch using data geometry in a single run and extends beyond Hilbert spaces (signature kernel on path space), so the two can in principle be composed. Lee and Flouris [30] propose operator flow matching for time-series forecasting, again conditional prediction with independent coupling. On the finite-dimensional side, Fatras et al. [13, 14] analyze minibatch OT plans and the expected-minibatch coupling that Section 3.1 relies on.