Introduction
Sequence-to-sequence tasks seek to learn a map from an input sequence to an output sequence. In time-series adaptation, such a map can transform observations from a source process to match the statistical behavior of a target process. Related transport and alignment problems arise in sensor calibration [20 ] , climate-model bias correction [36 ] , and time-series domain adaptation [35 , 29 ] .
In many of these cases, the sequences themselves are long, but the number of sequences available from the source and target distributions is limited. A practical concern is how much data must be collected to learn this map for a subject or device. Sensor calibration can require repeated, costly data collection [20 ] , while neural decoding motivates adapting pretrained models using limited recordings from each new subject. ENIGMA and MindEye2 pursue this objective for EEG and functional magnetic resonance imaging (fMRI), respectively [21 , 41 ] . These constraints motivate studying adaptation from one or a few observed trajectories. Although each trajectory contains many observations, those observations are temporally dependent. This raises the question:
Can we learn, from one source and one target trajectory, a map that transforms a fresh source trajectory into one that follows the target dynamics?
In this paper, we study this problem for Markovian trajectories. When both the source and target follow Markov processes, we want the learned mapping to preserve the target’s transition law and hence its Markov structure in the generated trajectory. At first glance, this task seems daunting: treating an entire trajectory as one high-dimensional datapoint leaves us with only one sample from each trajectory distribution. However, the Markov property and time homogeneity let us learn a common transition rule from successive observations. Under stationarity, these observations share a common transition-pair distribution, although they remain dependent. We exploit this structure to give a principled answer to the question above.
In particular, we propose an algorithm based on conditional flow matching for transporting a source trajectory to a target trajectory, accounting for the source history through the current source state. We prove exact population-level transport under suitable assumptions, provide finite-sample error bounds, and evaluate the algorithm on real and simulated data.
Transport between Markov chains has also been studied through cost-minimizing joint distributions over transitions and trajectories [33 , 30 ] . Our objective is to learn a recursively reusable generator from one source and one target trajectory.
Formally, let ( x i ) i ≥ 0 (x_i)_{i\ge0} ( x i ) i ≥ 0 and ( y i ) i ≥ 0 (y_i)_{i\ge0} ( y i ) i ≥ 0 be independent, time-homogeneous Markov processes on R d \mathbb{R}^d R d with transition kernels P X P_X P X and P Y P_Y P Y . We observe trajectories x 0 : m \mathbf{x}_{0:m} x 0 : m and y 0 : m \mathbf{y}_{0:m} y 0 : m . At test time, we receive a fresh source trajectory x 0 : n ′ \mathbf{x}'_{0:n} x 0 : n ′ with transition kernel P X P_X P X and seek to map it to a trajectory y ^ 0 : n \widehat{\mathbf{y}}_{0:n} y 0 : n with transition kernel P Y P_Y P Y . Given the source trajectory, we map each next source state conditional on the current source and generated target states. Lemma 1 shows that, conditional on their joint history, the next source state still follows the source transition kernel. Thus maps that transport each source transition to the corresponding target transition can be applied recursively. We learn a single family of maps Φ x , y : R d → R d \Phi_{\mathbf{x},\mathbf{y}}:\mathbb{R}^d\to\mathbb{R}^d Φ x , y : R d → R d and generate recursively by
y ^ i + 1 = Φ x i ′ , y ^ i ( x i + 1 ′ ) . (1) \widehat{y}_{i+1}=\Phi_{x'_i,\widehat{y}_i}(x'_{i+1}). \tag*{(1)} y i + 1 = Φ x i ′ , y i ( x i + 1 ′ ) . (1)
Natural heuristics such as Histogram or marginal matching matches state frequencies alone and need not preserve the transition law. For e.g., consider two Markov processes on { 0 , 1 } \{0,1\} { 0 , 1 } that are equally likely to be in either state. If the source repeats its current state with probability 0.9 while the target switches with probability 0.9, their state frequencies agree, with very different transition behaviour.
Our approach. To learn the transition map, we use conditional flow matching (CFM) [26 , 28 ] , regressing the next-state displacement y + − x + y^{+}-x^{+} y + − x + on z t = ( 1 − t ) x + + t y + z_t=(1-t)x^{+}+ty^{+} z t = ( 1 − t ) x + + t y + , with flow time t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] and current states ( x , y ) (x,y) ( x , y ) as conditioning inputs. Here x + ∼ P X ( x , ⋅ ) x^{+}\sim P_X(x,\cdot) x + ∼ P X ( x , ⋅ ) and y + ∼ P Y ( y , ⋅ ) y^{+}\sim P_Y(y,\cdot) y + ∼ P Y ( y , ⋅ ) are independent given the current states. At test time, integrating the learned velocity from x i + 1 ′ x'_{i+1} x i + 1 ′ with ( x i ′ , y ^ i ) (x'_i,\hat{y}_i) ( x i ′ , y ^ i ) fixed implements the recursive update (1) . Our analysis quantifies how transition mixing time affects the required training trajectory length. § 3 defines the conditional velocity and its ODE map, and Figure 1 summarizes the algorithm.
Figure 1. Each learned flow transports one source transition to one target transition. The index i i i denotes time in the Markov process, while t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] denotes flow time within a single transition.
Our results
Population correctness. Propositions 1 and 2 prove exact generation under suitable assumptions. The population flow maps each source transition P X ( x , ⋅ ) P_X(x,\cdot) P X ( x , ⋅ ) to the target transition P Y ( y , ⋅ ) P_Y(y,\cdot) P Y ( y , ⋅ ) . Initialized from the stationary target distribution independently of the fresh source trajectory, its recursive application in (1) produces the exact target trajectory law.
Sample complexity. Theorem 1 bounds the squared velocity error of least-squares estimation, integrated over flow time, from two independent stationary trajectories. For a finite candidate class V \mathcal{V} V containing the population velocity, under suitable assumptions, error at most ϵ > 0 \epsilon> 0 ϵ > 0 holds with probability at least 1 − δ 1-\delta 1 − δ , for δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , if
m ≥ C K max { 1 , ϵ − 1 } log ( 6 K ∣ V ∣ δ ) , (2) m \ge CK\max\{1,\epsilon^{-1}\}\log\left(\frac{6K|\mathcal{V}|}{\delta}\right), \tag*{(2)} m ≥ C K max { 1 , ϵ − 1 } log ( δ 6 K ∣ V ∣ ) , (2)
where m m m counts transitions per trajectory, K = τ m i x ( δ / ( 3 m ) ) K=\tau_{\mathrm{mix}}(\delta/(3m)) K = τ mix ( δ / ( 3 m )) is the observation spacing in Theorem 1, and C C C depends only on the assumption parameters. Compared with independent-sample analyses [52 , 14 ] , dependence replaces the sample size m m m by m / K m/K m / K , up to logarithmic factors, as in Markovian regression [31 ] , streaming principal component analysis [22 ] , and matrix concentration [32 ] .
Lower bound. Proposition 3 adapts the lower-bound argument of Nagaraj et al. [31 ] to Gaussian conditional transitions. Even with only two candidate velocities, achieving small squared velocity error with high probability requires a number of transitions proportional to the mixing time.
Accuracy of generated states and trajectories. Theorem 2 in Appendix § 8 .§ 5 bounds generation error under a coverage condition on generated state pairs. For contractive target dynamics and coverage uniform over the horizon, the state-marginal error bound has a decaying initialization term and an estimation term bounded independently of trajectory length. Proposition 5 in the same appendix bounds trajectory Wasserstein distance with transport cost equal to the sum of squared state distances.
Empirical evaluation. § 5 evaluates Gaussian and nonlinear transition recovery and supervised EEG-to-image retrieval. For EEG, we freeze the ENIGMA encoder and projection network pretrained on other subjects ([21 , 1 ] ). Using 4,096 calibration images per subject, we compare adapting only the subject-specific temporal map with jointly training that map and a preceding width-64 flow conditioned on the 32 previous EEG samples. This raises mean top-5 retrieval accuracy from 43.87% to 49.05%, an 11.82% relative improvement.
Related work
Kerrigan et al. [18 ] and Chemseddine et al. [10 ] construct flows between conditional distributions. For Markov chains, Moulos [30 ] and O’Connor et al. [33 ] optimize trajectory and transition couplings through dynamic programming, while O’Connor et al. [34 ] estimate stationary transport plans and their costs from observations. We use conditional flow matching to learn a continuous transition map from one source and one target trajectory. Conditioning on current source and target states lets us reuse this map to generate from a fresh source trajectory.
Zhou and Liu [52 ] and Gaur et al. [14 ] give finite-sample error bounds for neural flow matching trained on independent samples. For sequential data, Lim et al. [25 ] express the empirical flow-matching solution as a similarity-weighted average of observed transition velocities and prove convergence as the trajectory grows. We give finite-sample bounds for learning from dependent transitions: for a finite candidate class, we bound the number of transitions needed for a prescribed velocity error in terms of the transition mixing time, and prove that a mixing-dependent sample threshold is necessary. Appendix § 13 surveys further related work.
Preliminaries and notation
Notation. Here, a Markov process is discrete-time, possibly continuous state-space, and a trajectory is a finite sequence of its states. Vectors and vector-valued functions use bold lowercase letters, e.g. x ∈ R d \mathbf{x} \in\mathbb{R}^{d} x ∈ R d and the velocity field v t \mathbf{v}_{t} v t . Matrices use bold uppercase letters, e.g. A ∈ R d × d \mathbf{A} \in\mathbb{R}^{d \times d} A ∈ R d × d . Scalars, indices, scalar-valued functions, and Markov kernels use ordinary italics. We use ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ for the Euclidean norm for vectors and ∥ A ∥ F = ( ∑ j , k A j k 2 ) 1 / 2 \lVert\mathbf{A} \rVert_{\mathrm{F}} = \left(\sum_{j,k} A_{jk}^{2}\right)^{1/2} ∥ A ∥ F = ( ∑ j , k A j k 2 ) 1/2 for the Frobenius norm of a matrix. For a random vector and p ≥ 1 p \ge1 p ≥ 1 , ∥ u ∥ L p = ( E ∥ u ∥ p ) 1 / p \lVert\mathbf{u} \rVert_{L_{p}} = \left(\mathbb{E}\lVert\mathbf{u} \rVert^{p}\right)^{1/p} ∥ u ∥ L p = ( E ∥ u ∥ p ) 1/ p . Distributions are probability measures; densities are not assumed to exist. We write Law ( u ) \operatorname{Law}(\mathbf{u}) Law ( u ) for the law of u \mathbf{u} u , so Law ( u ) ( A ) = P ( u ∈ A ) \operatorname{Law}(\mathbf{u})(A) = \mathbb{P}(\mathbf{u} \in A) Law ( u ) ( A ) = P ( u ∈ A ) for every measurable set A A A , and g # μ g_{\#}\mu g # μ for the law of g ( u ) g(\mathbf{u}) g ( u ) when u ∼ μ \mathbf{u} \sim\mu u ∼ μ . The quadratic Wasserstein distance W 2 ( μ , ν ) W_{2}(\mu,\nu) W 2 ( μ , ν ) is the square root of the minimum E ∥ u − w ∥ 2 \mathbb{E}\lVert\mathbf{u} - \mathbf{w} \rVert^{2} E ∥ u − w ∥ 2 over joint distributions with u ∼ μ \mathbf{u} \sim\mu u ∼ μ and w ∼ ν \mathbf{w} \sim\nu w ∼ ν ; such a joint distribution is called a coupling ([46 ] , Chapter 6). We also write ∥ μ − ν ∥ T V = sup A ∣ μ ( A ) − ν ( A ) ∣ \lVert\mu- \nu\rVert_{\mathrm{TV}} = \sup_{A} |\mu(A) - \nu(A)| ∥ μ − ν ∥ TV = sup A ∣ μ ( A ) − ν ( A ) ∣ for total-variation distance. Time is indexed by i i i , while t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] denotes flow time within one transition. We write U ( 0 , 1 ) \mathcal{U}(0,1) U ( 0 , 1 ) for the uniform distribution on [ 0 , 1 ] [0,1] [ 0 , 1 ] .
Markov processes and mixing. For a Markov kernel P P P , P ( x , ⋅ ) P(\mathbf{x},\cdot) P ( x , ⋅ ) is the distribution of the next state given the current state x \mathbf{x} x . The first-order Markov property means Law ( x i + 1 ∣ x 0 : i ) = P ( x i , ⋅ ) \operatorname{Law}(\mathbf{x}_{i+1}\mid\mathbf{x}_{0:i})=P(\mathbf{x}_i,\cdot) Law ( x i + 1 ∣ x 0 : i ) = P ( x i , ⋅ ) ; time homogeneity means that P P P does not depend on time index i i i . A distribution π \pi π is stationary when ∫ P ( x , A ) π ( d x ) = π ( A ) \int P(\mathbf{x},A)\pi(\mathrm{d}\mathbf{x})=\pi(A) ∫ P ( x , A ) π ( d x ) = π ( A ) for every set A A A . For a stationary Markov process ( x i ) i ≥ 0 (\mathbf{x}_i)_{i\ge0} ( x i ) i ≥ 0 , initialized with x 0 ∼ π \mathbf{x}_0\sim\pi x 0 ∼ π , each x i \mathbf{x}_i x i has distribution π \pi π . Using standard definitions of mixing [7 , 50 , 8 ] , let
β ℓ = E x ∼ π ∥ Law ( x ℓ ∣ x 0 = x ) − π ∥ T V , τ m i x ( α ) = min { ℓ ≥ 1 : β ℓ ≤ α } . (3) \beta_\ell=\mathbb{E}_{\mathbf{x}\sim\pi}\left\|\operatorname{Law}(\mathbf{x}_\ell\mid\mathbf{x}_0=\mathbf{x})-\pi\right\|_{\mathrm{TV}},\qquad\tau_{\mathrm{mix}}(\alpha)=\min\{\ell\ge1:\beta_\ell\le\alpha\}. \tag*{(3)} β ℓ = E x ∼ π ∥ Law ( x ℓ ∣ x 0 = x ) − π ∥ TV , τ mix ( α ) = min { ℓ ≥ 1 : β ℓ ≤ α } . (3)
We write τ m i x = τ m i x ( 1 / 4 ) \tau_{\mathrm{mix}}=\tau_{\mathrm{mix}}(1/4) τ mix = τ mix ( 1/4 ) and call it the mixing time; τ m i x ( α ) \tau_{\mathrm{mix}}(\alpha) τ mix ( α ) denotes the mixing time at any other tolerance α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) . If β ℓ ≤ c 0 e − ℓ / τ 0 \beta_\ell\le c_0e^{-\ell/\tau_0} β ℓ ≤ c 0 e − ℓ / τ 0 , then τ m i x ( α ) ≤ max { 1 , ⌈ τ 0 log ( c 0 / α ) ⌉ } \tau_{\mathrm{mix}}(\alpha)\le\max\{1,\lceil\tau_0\log(c_0/\alpha)\rceil\} τ mix ( α ) ≤ max { 1 , ⌈ τ 0 log ( c 0 / α )⌉} .
Remark (Comparison with worst-case mixing). Let d ℓ w c = sup x ∥ Law ( x ℓ ∣ x 0 = x ) − π ∥ T V d_\ell^{\mathrm{wc}}=\sup_{\mathbf{x}}\left\|\operatorname{Law}(\mathbf{x}_\ell\mid\mathbf{x}_0=\mathbf{x})-\pi\right\|_{\mathrm{TV}} d ℓ wc = sup x ∥ Law ( x ℓ ∣ x 0 = x ) − π ∥ TV and τ w c ( α ) = min { ℓ ≥ 1 : d ℓ w c ≤ α } \tau_{\mathrm{wc}}(\alpha)=\min\{\ell\ge1:d_\ell^{\mathrm{wc}}\le\alpha\} τ wc ( α ) = min { ℓ ≥ 1 : d ℓ wc ≤ α } , the standard worst-case total-variation mixing time [24 Chapter 4] . Since an average is at most a supremum, β ℓ ≤ d ℓ w c \beta_\ell\le d_\ell^{\mathrm{wc}} β ℓ ≤ d ℓ wc and therefore τ m i x ( α ) ≤ τ w c ( α ) \tau_{\mathrm{mix}}(\alpha)\le\tau_{\mathrm{wc}}(\alpha) τ mix ( α ) ≤ τ wc ( α ) .
Flow matching. Let μ 0 \mu_0 μ 0 and μ 1 \mu_1 μ 1 be distributions on R d \mathbb{R}^d R d with finite second moments. Draw u 0 ∼ μ 0 \mathbf{u}_0\sim\mu_0 u 0 ∼ μ 0 and u 1 ∼ μ 1 \mathbf{u}_1\sim\mu_1 u 1 ∼ μ 1 independently, and let φ : R d → R \varphi:\mathbb{R}^d\to\mathbb{R} φ : R d → R be any smooth compactly supported scalar function.
z t = ( 1 − t ) u 0 + t u 1 , v t ⋆ ( z ) = E [ u 1 − u 0 ∣ z t = z ] , d d t E [ φ ( z t ) ] = E [ ⟨ ∇ φ ( z t ) , v t ⋆ ( z t ) ⟩ ] . (4) \mathbf{z}_t=(1-t)\mathbf{u}_0+t\mathbf{u}_1,\qquad\mathbf{v}_t^\star(\mathbf{z})=\mathbb{E}[\mathbf{u}_1-\mathbf{u}_0\mid\mathbf{z}_t=\mathbf{z}],\qquad\frac{\mathrm{d}}{\mathrm{d}t}\mathbb{E}[\varphi(\mathbf{z}_t)]=\mathbb{E}[\langle\nabla\varphi(\mathbf{z}_t),\mathbf{v}_t^\star(\mathbf{z}_t)\rangle]. \tag*{(4)} z t = ( 1 − t ) u 0 + t u 1 , v t ⋆ ( z ) = E [ u 1 − u 0 ∣ z t = z ] , d t d E [ φ ( z t )] = E [⟨ ∇ φ ( z t ) , v t ⋆ ( z t )⟩] . (4)
The interpolation z t \mathbf{z}_t z t joins the sampled endpoints by a straight line. The velocity v t ⋆ ( z ) \mathbf{v}_t^\star(\mathbf{z}) v t ⋆ ( z ) averages the endpoint displacements of paths passing through z \mathbf{z} z at time t t t , giving the local direction and speed of transport. The function φ \varphi φ tests the evolving interpolation law through its expectation; smooth compact support means that φ \varphi φ is infinitely differentiable and vanishes outside a bounded set. Under the regularity in Assumption 1, uniqueness for this continuity equation identifies the interpolation law with the law generated by the velocity’s ordinary differential equation (ODE) [2 Proposition 8.1.7] . Specifically, for each a ∈ R d \mathbf{a}\in\mathbb{R}^d a ∈ R d , define Φ t ( a ) \Phi_t(\mathbf{a}) Φ t ( a ) by
d d t Φ t ( a ) = v t ⋆ ( Φ t ( a ) ) , Φ 0 ( a ) = a . \frac{\mathrm{d}}{\mathrm{d}t}\Phi_t(\mathbf{a})=\mathbf{v}_t^\star(\Phi_t(\mathbf{a})),\qquad\Phi_0(\mathbf{a})=\mathbf{a}. d t d Φ t ( a ) = v t ⋆ ( Φ t ( a )) , Φ 0 ( a ) = a .
Then ( Φ 1 ) # μ 0 = μ 1 (\Phi_1)_\#\mu_0=\mu_1 ( Φ 1 ) # μ 0 = μ 1 , so Φ 1 \Phi_1 Φ 1 transports the initial distribution to the target distribution [26 , 28 ] . We apply this identity to conditional transition laws in Proposition 1.
Problem and model
The model separates training trajectories from the fresh source trajectory used for generation.
Model 1 (Markov process transport). Fix d , m , n ∈ N d,m,n\in\mathbb{N} d , m , n ∈ N . Let ( x i ) i ≥ 0 (\mathbf{x}_i)_{i\ge0} ( x i ) i ≥ 0 and ( y i ) i ≥ 0 (\mathbf{y}_i)_{i\ge0} ( y i ) i ≥ 0 be independent, time-homogeneous Markov processes on R d \mathbb{R}^d R d , with transition kernels P X P_X P X and P Y P_Y P Y . We observe one source trajectory x 0 : m \mathbf{x}_{0:m} x 0 : m and one target trajectory y 0 : m \mathbf{y}_{0:m} y 0 : m . At generation time, we receive a fresh source trajectory x 0 : n ′ \mathbf{x}'_{0:n} x 0 : n ′ with transition kernel P X P_X P X , independent of both training trajectories. Its initial distribution is arbitrary.
The finite-sample analysis additionally assumes stationary, mixing training data.
Model 2 (Stationary training trajectories). Instantiate Model 1 with stationary distributions π X \pi_X π X and π Y \pi_Y π Y , and initialize the training trajectories independently as x 0 ∼ π X \mathbf{x}_0 \sim\pi_X x 0 ∼ π X and y 0 ∼ π Y \mathbf{y}_0 \sim\pi_Y y 0 ∼ π Y . Write ( β ℓ X , τ X ) (\beta_\ell^X,\tau_X) ( β ℓ X , τ X ) and ( β ℓ Y , τ Y ) (\beta_\ell^Y,\tau_Y) ( β ℓ Y , τ Y ) for their respective mixing profiles and times in (3) . Assume β ℓ X → 0 \beta_\ell^X \to0 β ℓ X → 0 and β ℓ Y → 0 \beta_\ell^Y \to0 β ℓ Y → 0 as ℓ → ∞ \ell\to\infty ℓ → ∞ . The two processes need not have the same mixing profile or mixing time.
The generation objective specifies the conditional law of each output transition.
Problem 1 (Transport between Markov processes). Under Model 1, given the two training trajectories and a fresh source trajectory x 0 : n ′ \mathbf{x}'_{0:n} x 0 : n ′ , learn a single family of maps ( Φ x ′ , y ) (\Phi_{\mathbf{x}',\mathbf{y}}) ( Φ x ′ , y ) such that the recursion
y ^ i + 1 = Φ x i ′ , y ^ i ( x i + 1 ′ ) (5) \widehat{\mathbf{y}}_{i+1} = \Phi_{\mathbf{x}'_i,\widehat{\mathbf{y}}_i}(\mathbf{x}'_{i+1}) \tag*{(5)} y i + 1 = Φ x i ′ , y i ( x i + 1 ′ ) (5) has transition kernel P Y P_Y P Y . If P Y P_Y P Y has stationary distribution π Y \pi_Y π Y and y ^ 0 ∼ π Y \widehat{\mathbf{y}}_0 \sim\pi_Y y 0 ∼ π Y independently of x ′ \mathbf{x}' x ′ , the desired output is a stationary target trajectory. We call (5) a rollout .
Conditional transport problem
Fix a time index i i i and condition on the current states x i = x \mathbf{x}_i = \mathbf{x} x i = x and y i = y \mathbf{y}_i = \mathbf{y} y i = y . Here x i , y i \mathbf{x}_i,\mathbf{y}_i x i , y i are random states, whereas x , y ∈ R d \mathbf{x},\mathbf{y} \in\mathbb{R}^d x , y ∈ R d are their fixed values. To construct the map Φ x , y \Phi_{\mathbf{x},\mathbf{y}} Φ x , y in (5) , write x + = x i + 1 \mathbf{x}^{+} = \mathbf{x}_{i+1} x + = x i + 1 and y + = y i + 1 \mathbf{y}^{+} = \mathbf{y}_{i+1} y + = y i + 1 . Their conditional laws are
Law ( x + ∣ x i = x , y i = y ) = P X ( x , ⋅ ) , Law ( y + ∣ x i = x , y i = y ) = P Y ( y , ⋅ ) , (6) \operatorname{Law}(\mathbf{x}^{+} \mid\mathbf{x}_i = \mathbf{x}, \mathbf{y}_i = \mathbf{y}) = P_X(\mathbf{x}, \cdot), \qquad\operatorname{Law}(\mathbf{y}^{+} \mid\mathbf{x}_i = \mathbf{x}, \mathbf{y}_i = \mathbf{y}) = P_Y(\mathbf{y}, \cdot), \tag*{(6)} Law ( x + ∣ x i = x , y i = y ) = P X ( x , ⋅ ) , Law ( y + ∣ x i = x , y i = y ) = P Y ( y , ⋅ ) , (6)
and they are conditionally independent. Define
z t = ( 1 − t ) x + + t y + , v t ⋆ ( z , x , y ) = E [ y + − x + ∣ z t = z , x i = x , y i = y ] . (7) \mathbf{z}_t = (1-t)\mathbf{x}^{+} + t\mathbf{y}^{+}, \qquad\mathbf{v}^{\star}_t(\mathbf{z},\mathbf{x},\mathbf{y}) = \mathbb{E}\left[\mathbf{y}^{+} - \mathbf{x}^{+} \mid\mathbf{z}_t = \mathbf{z}, \mathbf{x}_i = \mathbf{x}, \mathbf{y}_i = \mathbf{y}\right]. \tag*{(7)} z t = ( 1 − t ) x + + t y + , v t ⋆ ( z , x , y ) = E [ y + − x + ∣ z t = z , x i = x , y i = y ] . (7)
Write q t ∣ x , y = Law ( z t ∣ x i = x , y i = y ) q_{t\mid\mathbf{x},\mathbf{y}} = \operatorname{Law}(\mathbf{z}_t \mid\mathbf{x}_i = \mathbf{x}, \mathbf{y}_i = \mathbf{y}) q t ∣ x , y = Law ( z t ∣ x i = x , y i = y ) . For any velocity function v \mathbf{v} v , let Φ x , y , t v ( a ) \Phi^{\mathbf{v}}_{\mathbf{x},\mathbf{y},t}(\mathbf{a}) Φ x , y , t v ( a ) denote the solution at flow time t t t of
d z t d t = v t ( z t , x , y ) , z 0 = a , (8) \frac{\mathrm{d}\mathbf{z}_t}{\mathrm{d}t} = \mathbf{v}_t(\mathbf{z}_t,\mathbf{x},\mathbf{y}), \qquad\mathbf{z}_0 = \mathbf{a}, \tag*{(8)} d t d z t = v t ( z t , x , y ) , z 0 = a , (8)
and write Φ x , y v = Φ x , y , 1 v \Phi^{\mathbf{v}}_{\mathbf{x},\mathbf{y}} = \Phi^{\mathbf{v}}_{\mathbf{x},\mathbf{y},1} Φ x , y v = Φ x , y , 1 v . The required one-transition identity is
( Φ x , y ) # P X ( x , ⋅ ) = P Y ( y , ⋅ ) . (9) (\Phi_{\mathbf{x},\mathbf{y}})_{\#}P_X(\mathbf{x},\cdot) = P_Y(\mathbf{y},\cdot). \tag*{(9)} ( Φ x , y ) # P X ( x , ⋅ ) = P Y ( y , ⋅ ) . (9)
The regression in (7) applies standard flow matching (Lipman et al., [26 ] ; Liu et al., [28 ] ) conditional on ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) . The ODE requires the following regularity.
Assumption 1 (Flow regularity). At every current-state pair ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) where a population flow is invoked, the transition distributions have finite second moments. The population velocity is measurable in t t t and satisfies, for all z , z ′ ∈ R d \mathbf{z},\mathbf{z}' \in\mathbb{R}^d z , z ′ ∈ R d and almost every t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] ,
∥ v t ⋆ ( z , x , y ) − v t ⋆ ( z ′ , x , y ) ∥ ≤ L t ( x , y ) ∥ z − z ′ ∥ , ∥ v t ⋆ ( z , x , y ) ∥ ≤ G t ( x , y ) ( 1 + ∥ z ∥ ) , (10) \left\lVert\mathbf{v}^{\star}_t(\mathbf{z},\mathbf{x},\mathbf{y})-\mathbf{v}^{\star}_t(\mathbf{z}',\mathbf{x},\mathbf{y})\right\rVert\le L_t(\mathbf{x},\mathbf{y})\left\lVert\mathbf{z}-\mathbf{z}'\right\rVert, \qquad\left\lVert\mathbf{v}^{\star}_t(\mathbf{z},\mathbf{x},\mathbf{y})\right\rVert\le G_t(\mathbf{x},\mathbf{y})(1+\lVert\mathbf{z}\rVert), \tag*{(10)} ∥ v t ⋆ ( z , x , y ) − v t ⋆ ( z ′ , x , y ) ∥ ≤ L t ( x , y ) ∥ z − z ′ ∥ , ∥ v t ⋆ ( z , x , y ) ∥ ≤ G t ( x , y ) ( 1 + ∥ z ∥) , (10) where L ⋅ ( x , y ) L_{\cdot}(\mathbf{x},\mathbf{y}) L ⋅ ( x , y ) and G ⋅ ( x , y ) G_{\cdot}(\mathbf{x},\mathbf{y}) G ⋅ ( x , y ) are nonnegative and integrable on [ 0 , 1 ] [0,1] [ 0 , 1 ] . Whenever a learned flow is invoked, the learned velocity satisfies the same conditions with its own nonnegative integrable functions L t L_t L t and G t G_t G t .
These bounds give a unique solution on [ 0 , 1 ] [0,1] [ 0 , 1 ] by Ambrosio et al. [2 ] and Gronwall’s inequality, ensuring the ODE uniqueness required in Liu [27 ] . Bansal et al. [5 ] similarly require the learned velocity to be Lipschitz, with a constant uniform in flow time. Appendix § 9 verifies the bounds for Gaussian transitions. Algorithm 1 trains the velocity and generates the target trajectory. Exact stationary generation uses μ ^ 0 = π Y \widehat{\mu}_0 = \pi_Y μ 0 = π Y ; the finite-sample bounds retain the error of approximate initialization.
Main results
Transport requires learning target transitions and preserving them under recursive application. We first establish these properties for the population velocity. This reduces the statistical problem to estimating that velocity from dependent observations, for which we give an upper bound and a mixing-dependent lower bound. We then bound generation error under suitable stability assumptions.
From one transition to a trajectory
For fixed current states ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) , applying the flow-matching identity (4) to P X ( x , ⋅ ) P_X(\mathbf{x},\cdot) P X ( x , ⋅ ) and P Y ( y , ⋅ ) P_Y(\mathbf{y},\cdot) P Y ( y , ⋅ ) shows that the population ODE follows the conditional interpolation law and reaches the target transition.
Proposition 1 (Conditional transport). Under Model 1, fix current-state values ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) at which Assumption 1 holds. For the ODE map Φ x , y , t ⋆ \Phi^{\star}_{\mathbf{x},\mathbf{y},t} Φ x , y , t ⋆ in (8) and every t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] ,
( Φ x , y , t ⋆ ) # P X ( x , ⋅ ) = q t ∣ x , y . (11) \left(\Phi^{\star}_{\mathbf{x},\mathbf{y},t}\right)_{\#}P_X(\mathbf{x},\cdot)=q_{t\mid\mathbf{x},\mathbf{y}}. \tag*{(11)} ( Φ x , y , t ⋆ ) # P X ( x , ⋅ ) = q t ∣ x , y . (11) In particular, ( Φ x , y , 1 ⋆ ) # P X ( x , ⋅ ) = P Y ( y , ⋅ ) \left(\Phi^{\star}_{\mathbf{x},\mathbf{y},1}\right)_{\#}P_X(\mathbf{x},\cdot)=P_Y(\mathbf{y},\cdot) ( Φ x , y , 1 ⋆ ) # P X ( x , ⋅ ) = P Y ( y , ⋅ ) .
During recursive generation, the current target state depends on past source states. We therefore need the transport identity to remain valid after conditioning on this shared history. The source Markov property ensures that the next source state still has law P X ( x i ′ , ⋅ ) P_X(\mathbf{x}'_i,\cdot) P X ( x i ′ , ⋅ ) , to which we can apply the transport map.
Lemma 1 (Conditional transitions during generation). Under Model 1, let y ^ 0 ∼ μ ^ 0 \widehat{\mathbf{y}}_0\sim\widehat{\mu}_0 y 0 ∼ μ 0 be independent of x ′ \mathbf{x}' x ′ , and suppose each y ^ i + 1 \widehat{\mathbf{y}}_{i+1} y i + 1 is a fixed measurable function of ( x 0 : i + 1 ′ , y ^ 0 : i ) (\mathbf{x}'_{0:i+1},\widehat{\mathbf{y}}_{0:i}) ( x 0 : i + 1 ′ , y 0 : i ) . Then, for every i ≥ 0 i\ge0 i ≥ 0 , Law ( x i + 1 ′ ∣ x 0 : i ′ , y ^ 0 : i ) = P X ( x i ′ , ⋅ ) \operatorname{Law}(\mathbf{x}'_{i+1}\mid\mathbf{x}'_{0:i},\widehat{\mathbf{y}}_{0:i})=P_X(\mathbf{x}'_i,\cdot) Law ( x i + 1 ′ ∣ x 0 : i ′ , y 0 : i ) = P X ( x i ′ , ⋅ ) almost surely. If the updates follow (5) with maps satisfying (9) at every visited state pair, then, for every i ≥ 0 i\ge0 i ≥ 0 and measurable B ⊆ R d B\subseteq\mathbb{R}^d B ⊆ R d , almost surely,
P ( y ^ i + 1 ∈ B ∣ x 0 : i ′ , y ^ 0 : i ) = P Y ( y ^ i , B ) . (12) \mathbb{P}\left(\widehat{\mathbf{y}}_{i+1}\in B\mid\mathbf{x}'_{0:i},\widehat{\mathbf{y}}_{0:i}\right)=P_Y(\widehat{\mathbf{y}}_i,B). \tag*{(12)} P ( y i + 1 ∈ B ∣ x 0 : i ′ , y 0 : i ) = P Y ( y i , B ) . (12)
The generated process thus has the target transition kernel conditional on its full history. Its initial distribution determines its trajectory law; choosing π Y \pi_Y π Y gives the stationary target law. Appendix § 8 .§ 1 gives the conditioning argument and proves the following consequence.
Algorithm 1 Conditional flow matching for transport between Markov processes
Require: Training trajectories x 0 : m , y 0 : m \mathbf{x}_{0:m},\mathbf{y}_{0:m} x 0 : m , y 0 : m ; candidate velocity class V \mathcal{V} V ; fresh source trajectory x 0 : n ′ \mathbf{x}'_{0:n} x 0 : n ′ ; initial distribution μ ^ 0 \widehat{\mu}_0 μ 0 .
for i = 0 , … , m − 1 i=0,\ldots,m-1 i = 0 , … , m − 1 do
Set r i = y i + 1 − x i + 1 r_i=y_{i+1}-x_{i+1} r i = y i + 1 − x i + 1 and z i ( t ) = ( 1 − t ) x i + 1 + t y i + 1 z_i(t)=(1-t)x_{i+1}+ty_{i+1} z i ( t ) = ( 1 − t ) x i + 1 + t y i + 1 for t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] .
end for
Minimize 1 m ∑ i = 0 m − 1 ∫ 0 1 ∥ v t ( z i ( t ) , x i , y i ) − r i ∥ 2 d t \frac{1}{m}\sum_{i=0}^{m-1}\int_0^1\left\|v_t(z_i(t),x_i,y_i)-r_i\right\|^2\,dt m 1 ∑ i = 0 m − 1 ∫ 0 1 ∥ v t ( z i ( t ) , x i , y i ) − r i ∥ 2 d t over v ∈ V v\in\mathcal{V} v ∈ V to obtain v ^ \widehat{v} v .
Draw y ^ 0 ∼ μ ^ 0 \widehat{y}_0\sim\widehat{\mu}_0 y 0 ∼ μ 0 independently of x ′ \mathbf{x}' x ′ .
for i = 0 , … , n − 1 i=0,\ldots,n-1 i = 0 , … , n − 1 do
Solve z ˙ t = v ^ t ( z t , x i ′ , y ^ i ) \dot{z}_t=\widehat{v}_t(z_t,x'_i,\widehat{y}_i) z ˙ t = v t ( z t , x i ′ , y i ) on [ 0 , 1 ] [0,1] [ 0 , 1 ] from z 0 = x i + 1 ′ z_0=x'_{i+1} z 0 = x i + 1 ′ .
Set y ^ i + 1 = z 1 \widehat{y}_{i+1}=z_1 y i + 1 = z 1 .
end for
return y ^ 0 : n \widehat{y}_{0:n} y 0 : n .
Proposition 2 (Exact trajectory generation). Under Model 1 , suppose P Y P_Y P Y has stationary distribution π Y \pi_Y π Y , draw y ~ 0 ∼ π Y \tilde{y}_0 \sim\pi_Y y ~ 0 ∼ π Y independently of x ∗ x^* x ∗ , and generate by (5) . If (9) holds at every visited current-state pair, then y ~ 0 : n \tilde{y}_{0:n} y ~ 0 : n has the stationary target trajectory law for every n ≥ 0 n \ge0 n ≥ 0 .
Velocity estimation from two dependent trajectories
Algorithm 1 estimates the population velocity by regressing next-state displacements on interpolated states and the current-state pair. The statistical difficulty is dependence between successive regression pairs from the two trajectories. For each observed transition and flow time t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] , set
z i ( t ) = ( 1 − t ) x i + 1 + t y i + 1 , r i = y i + 1 − x i + 1 , h i ( t ) = ( t , z i ( t ) , x i , y i ) . (13) z_i(t) = (1-t)x_{i+1} + t y_{i+1}, \qquad r_i = y_{i+1} - x_{i+1}, \qquad h_i(t) = (t,z_i(t),x_i,y_i). \tag*{(13)} z i ( t ) = ( 1 − t ) x i + 1 + t y i + 1 , r i = y i + 1 − x i + 1 , h i ( t ) = ( t , z i ( t ) , x i , y i ) . (13)
Regression noise. Let ( h , r ) (h,r) ( h , r ) be obtained from a fresh stationary transition pair and an independent flow time t ∼ U ( 0 , 1 ) t \sim\mathcal{U}(0,1) t ∼ U ( 0 , 1 ) using (13) . The population velocity in (7) satisfies v ∗ ( h ) = E [ r ∣ h ] v^*(h) = \mathbb{E}[r \mid h] v ∗ ( h ) = E [ r ∣ h ] . Define the regression noise by ξ = v ∗ ( h ) − r \xi= v^*(h) - r ξ = v ∗ ( h ) − r and ξ i ( t ) = v ∗ ( h i ( t ) ) − r i \xi_i(t) = v^*(h_i(t)) - r_i ξ i ( t ) = v ∗ ( h i ( t )) − r i . The following assumption controls this regression noise.
Assumption 2 (Conditional sub-Gaussian noise). There exists ν ≥ 0 \nu\ge0 ν ≥ 0 such that, almost surely, for every a ∈ R d a \in\mathbb{R}^d a ∈ R d and θ ∈ R \theta\in\mathbb{R} θ ∈ R ,
E [ e θ ⟨ a , ξ ⟩ ∣ h ] ≤ e θ 2 ν 2 ∥ a ∥ 2 / 2 . (14) \mathbb{E}\left[e^{\theta\langle a,\xi\rangle}\mid h\right] \le e^{\theta^2\nu^2\lVert a\rVert^2/2}. \tag*{(14)} E [ e θ ⟨ a , ξ ⟩ ∣ h ] ≤ e θ 2 ν 2 ∥ a ∥ 2 /2 . (14) By stationarity, the same bound holds for ( h i ( t ) , r i ) (h_i(t),r_i) ( h i ( t ) , r i ) when t t t is drawn independently from U ( 0 , 1 ) \mathcal{U}(0,1) U ( 0 , 1 ) , for every i i i .
Remark. Assumption 2 holds with ν = B \nu= B ν = B whenever ∥ r ∥ ≤ B \lVert r\rVert\le B ∥ r ∥ ≤ B almost surely. This includes source and target processes on bounded state spaces. It also holds for transitions with uniformly bounded additive noise and for Gaussian transition kernels with uniformly bounded covariance; both allow nonlinear transition means. Appendix § 10 verifies these cases.
We fit this conditional mean over a nonempty finite class V \mathcal{V} V of measurable functions v : [ 0 , 1 ] × R d × R d × R d → R d \mathbf{v} : [0,1] \times\mathbb{R}^d \times\mathbb{R}^d \times\mathbb{R}^d \to\mathbb{R}^d v : [ 0 , 1 ] × R d × R d × R d → R d . The finite-class assumption reflects finite-precision storage of neural-network parameters. For a fixed architecture with p p p parameters, each taking at most q q q values, we have ∣ V ∣ ≤ q p |\mathcal{V}| \le q^p ∣ V ∣ ≤ q p and log ∣ V ∣ ≤ p log q \log|\mathcal{V}| \le p \log q log ∣ V ∣ ≤ p log q . Kumar et al. [23 ] use the same interpretation. We average the regression loss over flow time:
L ^ ( v ) = 1 m ∑ i = 0 m − 1 ∫ 0 1 ∥ v ( h i ( t ) ) − r i ∥ 2 d t , v ∈ V . (15) \widehat{L}(\mathbf{v}) = \frac{1}{m}\sum_{i=0}^{m-1}\int_0^1 \lVert\mathbf{v}(h_i(t)) - r_i\rVert^2\,\mathrm{d}t,\qquad\mathbf{v} \in\mathcal{V}. \tag*{(15)} L ( v ) = m 1 i = 0 ∑ m − 1 ∫ 0 1 ∥ v ( h i ( t )) − r i ∥ 2 d t , v ∈ V . (15)
Uniformly sampling transition indices and fresh independent flow times gives unbiased minibatch estimates, as in Kumar et al. [23 ] . Appendix § 11 specifies this procedure for our experiments. The statistical analysis concerns empirical minimization; finite-budget optimization is a separate source of error. We minimize this loss and measure squared error relative to the population velocity:
v ^ ∈ arg min v ∈ V L ^ ( v ) , R ( v , v ∗ ) = E ∥ v ( h ) − v ∗ ( h ) ∥ 2 , (16) \widehat{\mathbf{v}} \in\underset{\mathbf{v}\in\mathcal{V}}{\arg\min}\ \widehat{L}(\mathbf{v}),\qquad R(\mathbf{v},v^*) = \mathbb{E}\lVert\mathbf{v}(h) - v^*(h)\rVert^2, \tag*{(16)} v ∈ v ∈ V arg min L ( v ) , R ( v , v ∗ ) = E ∥ v ( h ) − v ∗ ( h ) ∥ 2 , (16)
where h h h is a fresh draw from the stationary training distribution. To relate empirical fit to population error, we assume realizability and a fourth-moment bound on prediction errors.
Assumption 3 (Realizability and fourth-moment bound). The class is realizable, meaning v ⋆ ∈ V \mathbf{v}^{\star} \in\mathcal{V} v ⋆ ∈ V . There is a constant C 4 → 2 ≥ 1 C_{4\to2} \ge1 C 4 → 2 ≥ 1 such that, for every v ∈ V \mathbf{v} \in\mathcal{V} v ∈ V , R ( v , v ⋆ ) < ∞ R(\mathbf{v},\mathbf{v}^{\star}) < \infty R ( v , v ⋆ ) < ∞ and
( E ∥ v ( h ) − v ⋆ ( h ) ∥ 4 ) 1 / 4 ≤ C 4 → 2 R ( v , v ⋆ ) . (17) \left(\mathbb{E}\left\|\mathbf{v}(\mathbf{h})-\mathbf{v}^{\star}(\mathbf{h})\right\|^{4}\right)^{1/4} \le C_{4\to2}\sqrt{R(\mathbf{v},\mathbf{v}^{\star})}. \tag*{(17)} ( E ∥ v ( h ) − v ⋆ ( h ) ∥ 4 ) 1/4 ≤ C 4 → 2 R ( v , v ⋆ ) . (17)
The moment comparison parallels Kumar et al. [23 ] , Assumption 2 and the assumption in Wainwright [47 ] , Section 14.2), here under the joint training distribution. Appendix § 9 verifies realizability and C 4 → 2 4 ≤ 8 C_{4\to2}^{4} \le8 C 4 → 2 4 ≤ 8 for the finite Gaussian velocity class.
To account for training dependence, note that the function t ↦ ( h i ( t ) , r i ) t \mapsto(\mathbf{h}_{i}(t),r_{i}) t ↦ ( h i ( t ) , r i ) is determined by the transition observation o i = ( x i , x i + 1 , y i , y i + 1 ) \mathbf{o}_{i}=(\mathbf{x}_{i},\mathbf{x}_{i+1},\mathbf{y}_{i},\mathbf{y}_{i+1}) o i = ( x i , x i + 1 , y i , y i + 1 ) . Consecutive observations o i \mathbf{o}_{i} o i and o i + 1 \mathbf{o}_{i+1} o i + 1 contain the same states x i + 1 \mathbf{x}_{i+1} x i + 1 and y i + 1 \mathbf{y}_{i+1} y i + 1 . Under Model 2, this sequence is stationary and Markov by Lemma 2. With stationary law π O \pi_{O} π O , its observation mixing profile and mixing time are
β ℓ = E o 0 ∼ π O ∥ Law ( o ℓ ∣ o 0 ) − π O ∥ T V , τ m i x ( α ) = min { ℓ ≥ 1 : β ℓ ≤ α } , (18) \beta_{\ell}=\mathbb{E}_{\mathbf{o}_{0}\sim\pi_{O}}\left\|\operatorname{Law}(\mathbf{o}_{\ell}\mid\mathbf{o}_{0})-\pi_{O}\right\|_{\mathrm{TV}}, \qquad\tau_{\mathrm{mix}}(\alpha)=\min\{\ell\ge1:\beta_{\ell}\le\alpha\}, \tag*{(18)} β ℓ = E o 0 ∼ π O ∥ Law ( o ℓ ∣ o 0 ) − π O ∥ TV , τ mix ( α ) = min { ℓ ≥ 1 : β ℓ ≤ α } , (18)
for integers ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 and α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , specializing (3) to ( o i ) (\mathbf{o}_{i}) ( o i ) . Given o 0 \mathbf{o}_{0} o 0 , the states ( x ℓ , y ℓ ) (\mathbf{x}_{\ell},\mathbf{y}_{\ell}) ( x ℓ , y ℓ ) evolve from ( x 1 , y 1 ) (\mathbf{x}_{1},\mathbf{y}_{1}) ( x 1 , y 1 ) for ℓ − 1 \ell-1 ℓ − 1 steps. Independence bounds their joint total-variation distance by the sum of the two chains’ distances; drawing the next states cannot increase that distance. Lemma 2 in Appendix § 8 .§ 2 therefore gives, for every ℓ ≥ 2 \ell\ge2 ℓ ≥ 2 and α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) ,
β ℓ ≤ β ℓ − 1 X + β ℓ − 1 Y , τ m i x ( α ) ≤ 1 + max { τ X ( α / 2 ) , τ Y ( α / 2 ) } . (19) \beta_{\ell}\le\beta^{X}_{\ell-1}+\beta^{Y}_{\ell-1}, \qquad\tau_{\mathrm{mix}}(\alpha)\le1+\max\{\tau_{X}(\alpha/2),\tau_{Y}(\alpha/2)\}. \tag*{(19)} β ℓ ≤ β ℓ − 1 X + β ℓ − 1 Y , τ mix ( α ) ≤ 1 + max { τ X ( α /2 ) , τ Y ( α /2 )} . (19)
The slower process controls this upper bound; the mixing times may differ. We combine the noise, moment, and mixing assumptions. The resulting risk bound scales as K / m K/m K / m , up to class complexity and logarithmic factors, where K K K is the observation mixing time at tolerance δ / ( 3 m ) \delta/(3m) δ / ( 3 m ) .
Theorem 1 (Velocity estimation from dependent trajectories). Under Model 2, assume Assumptions 3 and 2. Fix δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) and set K = τ m i x ( δ / ( 3 m ) ) K=\tau_{\mathrm{mix}}(\delta/(3m)) K = τ mix ( δ / ( 3 m )) for the transition-observation sequence ( o i ) (\mathbf{o}_{i}) ( o i ) , as defined in (18) . Suppose
m ≥ 128 C 4 → 2 4 K log ( 6 K ∣ V ∣ δ ) . (20) m\ge128C_{4\to2}^{4}K\log\left(\frac{6K|\mathcal{V}|}{\delta}\right). \tag*{(20)} m ≥ 128 C 4 → 2 4 K log ( δ 6 K ∣ V ∣ ) . (20) Then the minimizer v ^ \hat{\mathbf{v}} v ^ of (15) satisfies, with probability at least 1 − δ 1-\delta 1 − δ over the two training trajectories,
R ( v ^ , v ⋆ ) ≤ 128 C 4 → 2 4 ν 2 K log ( 6 K ∣ V ∣ / δ ) m . (21) R(\hat{\mathbf{v}},\mathbf{v}^{\star})\le128C_{4\to2}^{4}\nu^{2}\frac{K\log(6K|\mathcal{V}|/\delta)}{m}. \tag*{(21)} R ( v ^ , v ⋆ ) ≤ 128 C 4 → 2 4 ν 2 m K log ( 6 K ∣ V ∣/ δ ) . (21) The same guarantee holds when each time integral is replaced by the average of any fixed number J ≥ 1 J\ge1 J ≥ 1 of independent uniform flow-time samples per transition, with probability also over these samples (Corollary 1). The sample size m m m counts observed transitions in both cases.
To see how these ingredients enter, put g i ( v , t ) = v ( h i ( t ) ) − v ⋆ ( h i ( t ) ) \mathbf{g}_{i}(\mathbf{v},t)=\mathbf{v}(\mathbf{h}_{i}(t))-\mathbf{v}^{\star}(\mathbf{h}_{i}(t)) g i ( v , t ) = v ( h i ( t )) − v ⋆ ( h i ( t )) and decompose the excess loss:
L ^ ( v ) − L ^ ( v ⋆ ) = 1 m ∑ i ∫ 0 1 ( ∥ g i ( v , t ) ∥ 2 + 2 ⟨ g i ( v , t ) , ξ i ( t ) ⟩ ) d t . (22) \widehat{L}(\mathbf{v})-\widehat{L}(\mathbf{v}^{\star})=\frac{1}{m}\sum_{i}\int_{0}^{1}\left(\|\mathbf{g}_{i}(\mathbf{v},t)\|^{2}+2\langle\mathbf{g}_{i}(\mathbf{v},t),\boldsymbol{\xi}_{i}(t)\rangle\right)\,\mathrm{d}t. \tag*{(22)} L ( v ) − L ( v ⋆ ) = m 1 i ∑ ∫ 0 1 ( ∥ g i ( v , t ) ∥ 2 + 2 ⟨ g i ( v , t ) , ξ i ( t )⟩ ) d t . (22)
At the empirical minimizer, the left side is nonpositive by realizability. Conditional sub-Gaussianity and the fourth-moment assumption bound the exponential moment of the negative excess loss at a random flow time. Jensen’s inequality preserves this bound when we average over flow time. To handle dependence, we split the indices into subsequences a , a + K , a + 2 K , … a, a+K, a+2K,\ldots a , a + K , a + 2 K , … for a ∈ { 0 , … , K − 1 } a \in\{0,\ldots,K-1\} a ∈ { 0 , … , K − 1 } . We couple each subsequence to independent observations and bound the probability of any mismatch. Hölder’s inequality combines the exponential bounds for these subsequences without assuming independence between them. In Appendix § 8 .§ 2 , we give the full proof and derive the sample complexity in (2) by combining (20) and (21) .
To establish the necessity of mixing-dependent sample complexity, we construct two models that no estimator can reliably distinguish from a short trajectory. We do so by adapting the unvisited-state argument of Nagaraj et al. [31 ] : a slowly mixing chain may avoid the region where two candidate velocities differ, leaving their models indistinguishable on the observed trajectories.
Proposition 3 (Mixing-time lower bound). For every integer τ ≥ 1 \tau\ge1 τ ≥ 1 and ϵ > 0 \epsilon> 0 ϵ > 0 , there exist two instances of Model 2 which satisfy Assumptions 2, 1, and 3 with universal constants ν \nu ν , C 4 → 2 C_{4\to2} C 4 → 2 , share a class V \mathcal{V} V of two velocities, and both have observation mixing time Θ ( τ ) \Theta(\tau) Θ ( τ ) , such that for any δ ∈ ( 0 , 1 / ( 2 π ) ) \delta\in(0,1/(2\pi)) δ ∈ ( 0 , 1/ ( 2 π )) and any estimator v ~ ∈ V \widetilde{v} \in\mathcal{V} v ∈ V which achieves R ( v ~ , v ⋆ ) < ϵ R(\widetilde{v},v^\star) < \epsilon R ( v , v ⋆ ) < ϵ with probability at least 1 − δ 1-\delta 1 − δ under both instances using m m m observed transitions from each training trajectory,
m ≥ 1 3 τ m i x log 1 2 π δ . (23) m \ge\frac{1}{3}\tau_{\mathrm{mix}}\log\frac{1}{2\pi\delta}. \tag*{(23)} m ≥ 3 1 τ mix log 2 π δ 1 . (23)
Here τ m i x \tau_{\mathrm{mix}} τ mix denotes either instance’s observation mixing time at tolerance 1 / 4 1/4 1/4 .
Remark (Comparing the upper and lower bounds). The lower bound uses τ m i x = τ m i x ( 1 / 4 ) \tau_{\mathrm{mix}}=\tau_{\mathrm{mix}}(1/4) τ mix = τ mix ( 1/4 ) , whereas the upper bound uses K = τ m i x ( δ / ( 3 m ) ) K=\tau_{\mathrm{mix}}(\delta/(3m)) K = τ mix ( δ / ( 3 m )) . We compare these rates under geometric mixing, i.e., β ℓ ≤ c 0 e − c 1 ℓ / τ m i x \beta_\ell\le c_0 e^{-c_1\ell/\tau_{\mathrm{mix}}} β ℓ ≤ c 0 e − c 1 ℓ / τ mix for all ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 and universal c 0 ≥ 1 c_0 \ge1 c 0 ≥ 1 , c 1 > 0 c_1 > 0 c 1 > 0 . Then K = O ( τ m i x log ( 3 m / δ ) ) K=O(\tau_{\mathrm{mix}}\log(3m/\delta)) K = O ( τ mix log ( 3 m / δ )) , so the bounds agree in mixing-time dependence up to logarithmic factors. Appendix § 8 .§ 4 derives this comparison, verifies the exponential profile for our Gaussian construction, and gives a variant under finite worst-case mixing time using total-variation contraction (Levin and Peres, [24 ] ).
Experiments
We test Gaussian and nonlinear transition recovery and EEG image retrieval. Lemma 1 identifies the source law as P X ( x i , ⋅ ) P_X(\mathbf{x}_i,\cdot) P X ( x i , ⋅ ) , so conditioning also on x i \mathbf{x}_i x i gives the exact trajectory guarantee of Proposition 2. We compare our flow, an ablation omitting x i \mathbf{x}_i x i , an unconditional marginal flow, and an oracle. Marginal flow learns a single map T T T between state distributions and outputs T ( x i + 1 ) T(\mathbf{x}_{i+1}) T ( x i + 1 ) without either context input. Appendices D and E specify the protocols. Figure 2 (a–Figure 2 b) varies training size at d = 10 d=10 d = 10 . We measure conditional next-state error by sliced W 2 W_2 W 2 (Rowland et al., [37 ] ), defined in Appendix § 11 . Both oracles transport the supplied source next state using the true transition laws. Their positive error reflects finite-sample evaluation.
Figure 2. Synthetic transition recovery and EEG image retrieval. (a–b) Next-state distribution error for d = 10 d = 10 d = 10 (mean ± \pm ± standard error over three seeds; lower is better). The ablation omits x i x_i x i ; marginal flow omits both context states; the oracle uses true kernels. (c) Relative Top-5 retrieval accuracy lift over ENIGMA with only W s \mathbf{W}_s W s adapted, versus EEG context length k k k ; both flow networks precede W s \mathbf{W}_s W s and have two hidden layers: width 64 and width 14. Accuracies average three seeds per subject, then ten subjects; error bars show 95% subject-bootstrap percentile intervals.
Gaussian transitions. We simulate independent processes in R 10 \mathbb{R}^{10} R 10 with Gaussian transitions P X ( x , ⋅ ) = N ( A X x , Q X ) P_X(\mathbf{x},\cdot)=\mathcal{N}(A_X\mathbf{x},Q_X) P X ( x , ⋅ ) = N ( A X x , Q X ) and P Y ( y , ⋅ ) = N ( A Y y , Q Y ) P_Y(\mathbf{y},\cdot)=\mathcal{N}(A_Y\mathbf{y},Q_Y) P Y ( y , ⋅ ) = N ( A Y y , Q Y ) , where A X , A Y A_X,A_Y A X , A Y are transition matrices and Q X , Q Y Q_X,Q_Y Q X , Q Y are positive-definite noise covariances. Source and target transition eigenvalue magnitudes lie in [ 0.72 , 0.94 ] [0.72,0.94] [ 0.72 , 0.94 ] and [ 0.15 , 0.58 ] [0.15,0.58] [ 0.15 , 0.58 ] , respectively; all four matrices have independent random orthogonal eigenbases. Each process supplies m ∈ { 2 9 , 2 10 , … , 2 15 } m\in\{2^9,2^{10},\ldots,2^{15}\} m ∈ { 2 9 , 2 10 , … , 2 15 } training transitions. Figure 2 (a) shows that our error falls from 1.286 at m = 512 m=512 m = 512 to 0.133 at m = 32768 m=32768 m = 32768 , versus 0.725 for the ablation and 0.827 for marginal flow. Conditioning improves recovery with more data.
Nonlinear mixture transitions. For d = 10 d = 10 d = 10 , let R X , R Y \mathbf{R}_X, \mathbf{R}_Y R X , R Y be independent random orthogonal matrices. Define f ( x ) = 0.85 R X tanh ( R X T x ) \mathbf{f}(\mathbf{x}) = 0.85\mathbf{R}_X \tanh(\mathbf{R}_X^\mathsf{T}\mathbf{x}) f ( x ) = 0.85 R X tanh ( R X T x ) , g ( y ) = R Y [ 0.55 tanh ( R Y T y ) + 0.2 sin ( 2 R Y T y ) ] \mathbf{g}(\mathbf{y}) = \mathbf{R}_Y [0.55 \tanh(\mathbf{R}_Y^\mathsf{T}\mathbf{y}) + 0.2 \sin(2\mathbf{R}_Y^\mathsf{T}\mathbf{y})] g ( y ) = R Y [ 0.55 tanh ( R Y T y ) + 0.2 sin ( 2 R Y T y )] , and u = d − 1 / 2 R Y ( 1 , … , 1 ) T \mathbf{u} = d^{-1/2}\mathbf{R}_Y(1,\ldots,1)^\mathsf{T} u = d − 1/2 R Y ( 1 , … , 1 ) T , where tanh \tanh tanh and sin \sin sin act coordinatewise. Each map applies scalar nonlinearities in rotated coordinates, then transforms back, coupling the observed coordinates. We use P X ( x , ⋅ ) = N ( f ( x ) , 0.6 2 I ) P_X(\mathbf{x}, \cdot) = \mathcal{N}(\mathbf{f}(\mathbf{x}), 0.6^2\mathbf{I}) P X ( x , ⋅ ) = N ( f ( x ) , 0. 6 2 I ) and P Y ( y , ⋅ ) = 1 2 N ( g ( y ) − 0.8 d u , 0.25 2 I ) + 1 2 N ( g ( y ) + 0.8 d u , 0.25 2 I ) P_Y(\mathbf{y}, \cdot) = \frac{1}{2}\mathcal{N}(\mathbf{g}(\mathbf{y}) - 0.8\sqrt{d}\,\mathbf{u}, 0.25^2\mathbf{I}) + \frac{1}{2}\mathcal{N}(\mathbf{g}(\mathbf{y}) + 0.8\sqrt{d}\,\mathbf{u}, 0.25^2\mathbf{I}) P Y ( y , ⋅ ) = 2 1 N ( g ( y ) − 0.8 d u , 0.2 5 2 I ) + 2 1 N ( g ( y ) + 0.8 d u , 0.2 5 2 I ) . Each target noise vector uses one mixture sign, giving two modes along u \mathbf{u} u . We use the same training-size sweep as in panel (a). In Figure 2 (b), conditioning improves with more data: at m = 32768 m = 32768 m = 32768 , our error is 0.312 versus 0.675 for the ablation, 0.852 for marginal flow, and 0.131 for the oracle. The ablation performs better at the smallest sample sizes, while our gains taper at larger sizes under the fixed training budget. Appendix § 11 .§ 3 reports the corresponding d = 100 d = 100 d = 100 results.
Supervised EEG adaptation. In THINGS-EEG2 (Gifford et al., [15 ] ), participants view images while electroencephalography (EEG) records electrical activity from 63 scalp channels. Each recording spans one second after an image appears. The task is to learn a decoder which predicts the viewed image among the 200 candidate images. Responses to the same image vary across people, motivating adaptation of a decoder for new subjects. We test whether a flow conditioned on preceding EEG measurements improves adaptation by transforming the recording before decoding.
For subject s s s viewing image u u u , let A = E s ( u ) = ( a 1 , … , a 250 ) ∈ R 63 × 250 \mathbf{A} = \mathbf{E}_s(u) = (\mathbf{a}_1,\ldots,\mathbf{a}_{250}) \in\mathbb{R}^{63 \times250} A = E s ( u ) = ( a 1 , … , a 250 ) ∈ R 63 × 250 . Our ENIGMA baseline (Kneeland et al., [21 ] ; Alljoined, [1 ] ) predicts D ( W s ( A ) ) D(\mathbf{W}_s(\mathbf{A})) D ( W s ( A )) , adapting the subject-specific temporal map W s \mathbf{W}_s W s while freezing the encoder and projection network D D D pretrained on other subjects. We predict D ( W s ( F θ ( A ) ) ) D(\mathbf{W}_s(F_\theta(\mathbf{A}))) D ( W s ( F θ ( A ))) , jointly training the flow F θ F_\theta F θ and W s \mathbf{W}_s W s . Both methods share 4,096 calibration and 1,000 validation images per subject; evaluation averages 80 EEG repetitions per image.
Training pairs A \mathbf{A} A with each reference subject’s recording B q = E q ( u ) \mathbf{B}_q = \mathbf{E}_q(u) B q = E q ( u ) of the same image, with columns b q j \mathbf{b}_{qj} b q j . For 0 ≤ k ≤ 32 0 \leq k \leq32 0 ≤ k ≤ 32 , the history h k ( A , j ) = ( a j − 1 , … , a j − k , 0 , … , 0 ) ∈ R 63 ⋅ 32 \mathbf{h}_k(\mathbf{A},j)=(\mathbf{a}_{j-1},\ldots,\mathbf{a}_{j-k},\mathbf{0},\ldots,\mathbf{0})\in\mathbb{R}^{63\cdot32} h k ( A , j ) = ( a j − 1 , … , a j − k , 0 , … , 0 ) ∈ R 63 ⋅ 32 contains the previous k k k samples, with missing samples and unused slots set to zero; define h k ( B q , j ) \mathbf{h}_k(\mathbf{B}_q,j) h k ( B q , j ) similarly. This keeps network size fixed as k k k varies. With t ∼ U ( 0 , 1 ) t\sim\mathcal{U}(0,1) t ∼ U ( 0 , 1 ) and z q j = ( 1 − t ) a j + t b q j \mathbf{z}_{qj}=(1-t)\mathbf{a}_j+t\mathbf{b}_{qj} z q j = ( 1 − t ) a j + t b q j , we combine ENIGMA’s supervised objective with the mean flow-matching loss
∥ v θ ( t , z q j ; h k ( A , j ) , h k ( B q , j ) ) − ( b q j − a j ) ∥ 2 . \left\lVert\mathbf{v}_{\theta}\left(t,\mathbf{z}_{qj};\mathbf{h}_k(\mathbf{A},j),\mathbf{h}_k(\mathbf{B}_q,j)\right)-(\mathbf{b}_{qj}-\mathbf{a}_j)\right\rVert^2. ∥ v θ ( t , z q j ; h k ( A , j ) , h k ( B q , j ) ) − ( b q j − a j ) ∥ 2 .
At inference, we generate B ^ = F θ ( A ) \widehat{\mathbf{B}}=F_{\theta}(\mathbf{A}) B = F θ ( A ) sequentially by integrating from each a j \mathbf{a}_j a j , using previously generated target history h k ( B ^ , j ) \mathbf{h}_k(\widehat{\mathbf{B}},j) h k ( B , j ) and holding both histories fixed during each solve. Only the source recording is required. Remaining details are in Appendix § 12 .
Figure 2 c compares widths 64 and 14 at k ∈ { 0 , 1 , 4 , 16 , 32 } k\in\{0,1,4,16,32\} k ∈ { 0 , 1 , 4 , 16 , 32 } . Top-5 accuracy is the frequency of ranking the viewed image among the top five candidates. At k = 32 k=32 k = 32 , our width-64 model achieves 49.05% accuracy versus 43.87% for the baseline, an 11.82% relative lift (95% subject-bootstrap interval [9.25, 14.06]%), up from 4.18% lift at k = 0 k=0 k = 0 . The width-14 model similarly reaches 6.53% lift at k = 32 k=32 k = 32 . Both widths benefit from temporal context and improve on the baseline for all ten subjects after averaging seeds.
Conclusion
We prove that conditional flow matching transforms a fresh source trajectory into the exact target trajectory distribution at the population level. For a finite candidate class, we prove a sample-complexity upper bound proportional to mixing time up to logarithmic factors, a lower bound showing that this dependence is unavoidable, and a finite-sample rollout bound. Our synthetic experiments show the value of conditioning on the previous source state, and our EEG study shows improved adaptation between subjects.
Extending the analysis beyond finite classes, identifying when accuracy on observed transitions carries over to generated trajectories, and handling longer memory remain open directions. Generation can be slow because it requires sequential ODE solves along the trajectory. Reducing this latency is another interesting direction, potentially through parallel Picard iteration [42 ] or training flows to generate several future states jointly.
Acknowledgements
SK gratefully acknowledges funding support from the Amazon AI PhD Fellowship. PS gratefully acknowledges NSF grants 2217069 and CCF-2505865.
Ethics statement
Our EEG experiments reuse the publicly released THINGS-EEG2 dataset [15 ] ; we collect no new human-subject data. The dataset is distributed under a CC BY 4.0 license. EEG-based image retrieval raises privacy concerns because it seeks to infer viewed stimuli from neural recordings. Our evaluation is limited to ranking a fixed set of candidate images in a controlled experimental setting. Any use beyond this setting requires separate validation and safeguards for participant consent and neural-data privacy.
Reproducibility statement
Appendix § 8 contains the proofs, and Appendices § 11 and § 12 describe the experimental procedures.
AI use statement
In this work, we used generative AI tools to explore ideas for the rollout proof and the lower bound, assist with writing and revising proofs, and support experiment implementation. Additionally, we used these tools for manuscript editing, literature searches and citation checking, code development, and figure preparation. The authors reviewed the AI-assisted work by checking the proofs, testing the code, and verifying the references. The authors take responsibility for the final manuscript, mathematical claims, code, figures, and experimental results, including content produced with the assistance of generative AI.
Proofs
Conditional transport and trajectory generation
Proposition 1 identifies the law of a single population flow. Lemma 1 verifies that its source input retains the required conditional law during generation; together they give Proposition 2.
Proof of Proposition 1. We show that the interpolation law solves the continuity equation, then use uniqueness to identify it with the ODE flow law. Condition on x i = x x_i=x x i = x and y i = y y_i=y y i = y . Throughout this proof, all laws and expectations are under this conditioning, which we suppress from the notation. Let z t = ( 1 − t ) x + + t y + z_t=(1-t)x^+ + ty^+ z t = ( 1 − t ) x + + t y + , q t = Law ( z t ) q_t=\operatorname{Law}(z_t) q t = Law ( z t ) , and r = y + − x + r=y^+-x^+ r = y + − x + . For every smooth compactly supported φ : R d → R \varphi:\mathbb{R}^d\to\mathbb{R} φ : R d → R , finite first moments and conditioning on z t z_t z t give
d d t ∫ φ ( z ) q t ( d z ) = E ⟨ ∇ φ ( z t ) , r ⟩ = E ⟨ ∇ φ ( z t ) , E [ r ∣ z t ] ⟩ = ∫ ⟨ ∇ φ ( z ) , v t ∗ ( z ) ⟩ q t ( d z ) . \begin{aligned}
\frac{\mathrm{d}}{\mathrm{d}t}\int\varphi(z)q_t(\mathrm{d}z)=\mathbb{E}\langle\nabla\varphi(z_t),r\rangle=\mathbb{E}\langle\nabla\varphi(z_t),\mathbb{E}[r\mid z_t]\rangle\\
&=\int\langle\nabla\varphi(z),v_t^*(z)\rangle q_t(\mathrm{d}z).
\end{aligned} d t d ∫ φ ( z ) q t ( d z ) = E ⟨ ∇ φ ( z t ) , r ⟩ = E ⟨ ∇ φ ( z t ) , E [ r ∣ z t ]⟩ = ∫ ⟨ ∇ φ ( z ) , v t ∗ ( z )⟩ q t ( d z ) .
Thus q t q_t q t solves the continuity equation with velocity v t ∗ v_t^* v t ∗ and initial law P X ( x , ⋅ ) P_X(x,\cdot) P X ( x , ⋅ ) . To identify this solution, observe that the ODE flow in (8) has the same velocity and initial law. Uniqueness under Assumption 1 (Ambrosio et al., [2 ] , Proposition 8.1.7) therefore gives Law ( Φ x , y , t v ∗ ( x + ) ) = q t ∣ x , y \operatorname{Law}(\Phi_{x,y,t}^{v^*}(x^+))=q_t\mid_{x,y} Law ( Φ x , y , t v ∗ ( x + )) = q t ∣ x , y . At t = 1 t=1 t = 1 , this is P Y ( y , ⋅ ) P_Y(y,\cdot) P Y ( y , ⋅ ) .
Proof of Lemma 1. We first identify the source law conditional on the generated history, then apply the transport identity to obtain the target transition. Independence of y ^ 0 \hat{y}_0 y ^ 0 and x ′ x' x ′ , followed by the source Markov property, gives
Law ( x i + 1 ′ ∣ x 0 : i ′ , y ^ 0 ) = Law ( x i + 1 ′ ∣ x 0 : i ′ ) = P X ( x i ′ , ⋅ ) . \operatorname{Law}(x'_{i+1}\mid x'_{0:i},\hat{y}_0)=\operatorname{Law}(x'_{i+1}\mid x'_{0:i})=P_X(x'_i,\cdot). Law ( x i + 1 ′ ∣ x 0 : i ′ , y ^ 0 ) = Law ( x i + 1 ′ ∣ x 0 : i ′ ) = P X ( x i ′ , ⋅ ) .
By recursion, y ^ 0 : i \hat{y}_{0:i} y ^ 0 : i is a deterministic function of ( x 0 : i ′ , y ^ 0 ) (x'_{0:i},\hat{y}_0) ( x 0 : i ′ , y ^ 0 ) . Since the generated history includes y ^ 0 \hat{y}_0 y ^ 0 , these two histories generate the same sigma-field:
σ ( x 0 : i ′ , y ^ 0 : i ) = σ ( x 0 : i ′ , y ^ 0 ) . \sigma(x'_{0:i},\hat{y}_{0:i})=\sigma(x'_{0:i},\hat{y}_0). σ ( x 0 : i ′ , y ^ 0 : i ) = σ ( x 0 : i ′ , y ^ 0 ) .
This proves the first assertion. For updates of the form (5) , the transport identity (9) at ( x i ′ , y ^ i ) (x'_i,\hat{y}_i) ( x i ′ , y ^ i ) now gives, for every measurable B ⊆ R d B\subseteq\mathbb{R}^d B ⊆ R d ,
P ( y ^ i + 1 ∈ B ∣ x 0 : i ′ , y ^ 0 : i ) = ∫ 1 { Φ x i ′ , y ^ i x + , y + ( u ) ∈ B } P X ( x i ′ , d u ) = P Y ( y ^ i , B ) . \begin{aligned}
\mathbb{P}(\hat{y}_{i+1}\in B\mid x'_{0:i},\hat{y}_{0:i})=\int\mathbf{1}\{\Phi_{x'_i,\hat{y}_i}^{x^+,y^+}(u)\in B\}P_X(x'_i,\mathrm{d}u) \\
&=P_Y(\hat{y}_i,B).
\end{aligned} P ( y ^ i + 1 ∈ B ∣ x 0 : i ′ , y ^ 0 : i ) = ∫ 1 { Φ x i ′ , y ^ i x + , y + ( u ) ∈ B } P X ( x i ′ , d u ) = P Y ( y ^ i , B ) .
Proof of Proposition 2. By Lemma 1 and the tower property, Law ( y ^ i + 1 ∣ y ^ 0 : i ) = P Y ( y ^ i , ⋅ ) \operatorname{Law}(\hat{y}_{i+1}\mid\hat{y}_{0:i})=P_Y(\hat{y}_i,\cdot) Law ( y ^ i + 1 ∣ y ^ 0 : i ) = P Y ( y ^ i , ⋅ ) . Starting from y ^ 0 ∼ π Y \hat{y}_0\sim\pi_Y y ^ 0 ∼ π Y , iteration gives the joint law
π Y ( d y 0 ) ∏ j = 0 n − 1 P Y ( y j , d y j + 1 ) , \pi_Y(\mathrm{d}y_0)\prod_{j=0}^{n-1}P_Y(y_j,\mathrm{d}y_{j+1}), π Y ( d y 0 ) j = 0 ∏ n − 1 P Y ( y j , d y j + 1 ) ,
which is the stationary target trajectory distribution.
Dependent velocity estimation
Lemma 2 bounds the mixing of the transition observations. Lemma 3 then couples regularly spaced observations to independent copies. Lemma 4 bounds the exponential moment of each excess loss, and Lemma 5 combines these bounds to control the risk of an empirical minimizer.
Lemma 2 (Mixing of transition observations). Under Model 2 , let ( o i ) i ≥ 0 (\mathbf{o}_i)_{i\geq0} ( o i ) i ≥ 0 be the transition observations in (18) . Then ( o i ) (\mathbf{o}_i) ( o i ) is a stationary, time-homogeneous Markov process. For every integer ℓ ≥ 2 \ell\geq2 ℓ ≥ 2 and α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) ,
β ℓ ≤ β ℓ − 1 X + β ℓ − 1 Y , τ m i x ( α ) ≤ 1 + max { τ X ( α / 2 ) , τ Y ( α / 2 ) } . \beta_{\ell} \leq\beta_{\ell-1}^{X}+\beta_{\ell-1}^{Y}, \qquad\tau_{\mathrm{mix}}(\alpha) \leq1+\max\{\tau_X(\alpha/2),\tau_Y(\alpha/2)\}. β ℓ ≤ β ℓ − 1 X + β ℓ − 1 Y , τ mix ( α ) ≤ 1 + max { τ X ( α /2 ) , τ Y ( α /2 )} .
Proof. We express each observation as a random update of the current-state pair. Total-variation contraction then reduces its mixing bound to those of the two independent chains.
For probability laws μ , ν \mu,\nu μ , ν and a Markov kernel Q Q Q , write ( μ Q ) ( A ) = ∫ Q ( u , A ) μ ( d u ) (\mu Q)(A)=\int Q(u,A)\,\mu(\mathrm{d}u) ( μ Q ) ( A ) = ∫ Q ( u , A ) μ ( d u ) . Since Q ( u , A ) ∈ [ 0 , 1 ] Q(u,A)\in[0,1] Q ( u , A ) ∈ [ 0 , 1 ] ,
∣ ( μ Q ) ( A ) − ( ν Q ) ( A ) ∣ = ∣ ∫ 0 1 ( μ { u : Q ( u , A ) > s } − ν { u : Q ( u , A ) > s } ) d s ∣ ≤ ∥ μ − ν ∥ T V . \begin{aligned}
\left|(\mu Q)(A)-(\nu Q)(A)\right|=\left|\int_0^1\bigl(\mu\{u:Q(u,A)>s\}-\nu\{u:Q(u,A)>s\}\bigr)\,\mathrm{d}s\right| \\
&\leq\|\mu-\nu\|_{\mathrm{TV}}.
\end{aligned} ∣ ( μ Q ) ( A ) − ( ν Q ) ( A ) ∣ = ∫ 0 1 ( μ { u : Q ( u , A ) > s } − ν { u : Q ( u , A ) > s } ) d s ≤ ∥ μ − ν ∥ TV .
Taking the supremum over A A A proves
∥ μ Q − ν Q ∥ T V ≤ ∥ μ − ν ∥ T V . (24) \|\mu Q-\nu Q\|_{\mathrm{TV}}\leq\|\mu-\nu\|_{\mathrm{TV}}. \tag*{(24)} ∥ μ Q − ν Q ∥ TV ≤ ∥ μ − ν ∥ TV . (24)
This contraction also applies to a kernel that appends an independent draw. Combining it with the triangle inequality, using intermediate law ν X ⊗ μ Y \nu_X\otimes\mu_Y ν X ⊗ μ Y , gives
∥ μ X ⊗ μ Y − ν X ⊗ ν Y ∥ T V ≤ ∥ μ X ⊗ μ Y − ν X ⊗ μ Y ∥ T V + ∥ ν X ⊗ μ Y − ν X ⊗ ν Y ∥ T V ≤ ∥ μ X − ν X ∥ T V + ∥ μ Y − ν Y ∥ T V . \begin{aligned}
\|\mu_X\otimes\mu_Y-\nu_X\otimes\nu_Y\|_{\mathrm{TV}}\leq\|\mu_X\otimes\mu_Y-\nu_X\otimes\mu_Y\|_{\mathrm{TV}}+\|\nu_X\otimes\mu_Y-\nu_X\otimes\nu_Y\|_{\mathrm{TV}} \\
&\leq\|\mu_X-\nu_X\|_{\mathrm{TV}}+\|\mu_Y-\nu_Y\|_{\mathrm{TV}}.
\end{aligned} ∥ μ X ⊗ μ Y − ν X ⊗ ν Y ∥ TV ≤ ∥ μ X ⊗ μ Y − ν X ⊗ μ Y ∥ TV + ∥ ν X ⊗ μ Y − ν X ⊗ ν Y ∥ TV ≤ ∥ μ X − ν X ∥ TV + ∥ μ Y − ν Y ∥ TV .
To apply these inequalities, define the observation kernel as follows. Let Q ( ( x , y ) , ⋅ ) Q((x,y),\cdot) Q (( x , y ) , ⋅ ) be the law of ( x , x + , y , y + ) (x,x^+,y,y^+) ( x , x + , y , y + ) obtained by drawing x + ∼ P X ( x , ⋅ ) x^+\sim P_X(x,\cdot) x + ∼ P X ( x , ⋅ ) and y + ∼ P Y ( y , ⋅ ) y^+\sim P_Y(y,\cdot) y + ∼ P Y ( y , ⋅ ) independently. The Markov property and independence of the chains give
Law ( o i + 1 ∣ o 0 , … , o i ) = Q ( ( x i + 1 , y i + 1 ) , ⋅ ) . \operatorname{Law}(\mathbf{o}_{i+1}\mid\mathbf{o}_0,\ldots,\mathbf{o}_i)=Q((x_{i+1},y_{i+1}),\cdot). Law ( o i + 1 ∣ o 0 , … , o i ) = Q (( x i + 1 , y i + 1 ) , ⋅ ) .
Thus ( o i ) (\mathbf{o}_i) ( o i ) is time-homogeneous and Markov. Stationarity of the two trajectories gives its stationary law π O = ( π X ⊗ π Y ) Q \pi_O=(\pi_X\otimes\pi_Y)Q π O = ( π X ⊗ π Y ) Q .
Conditioning on o 0 \mathbf{o}_0 o 0 fixes x 1 x_1 x 1 and y 1 y_1 y 1 . For ℓ ≥ 2 \ell\geq2 ℓ ≥ 2 , the two chains then evolve independently for ℓ − 1 \ell-1 ℓ − 1 steps before the operation Q Q Q constructs o ℓ \mathbf{o}_\ell o ℓ . Therefore, almost surely,
Law ( o ℓ ∣ o 0 ) = ( P X ℓ − 1 ( x 1 , ⋅ ) ⊗ P Y ℓ − 1 ( y 1 , ⋅ ) ) Q . \operatorname{Law}(\mathbf{o}_\ell\mid\mathbf{o}_0)=\left(P_X^{\ell-1}(x_1,\cdot)\otimes P_Y^{\ell-1}(y_1,\cdot)\right)Q. Law ( o ℓ ∣ o 0 ) = ( P X ℓ − 1 ( x 1 , ⋅ ) ⊗ P Y ℓ − 1 ( y 1 , ⋅ ) ) Q .
Applying the two total-variation inequalities above yields
∥ Law ( o ℓ ∣ o 0 ) − π O ∥ T V ≤ ∥ P X ℓ − 1 ( x 1 , ⋅ ) ⊗ P Y ℓ − 1 ( y 1 , ⋅ ) − π X ⊗ π Y ∥ T V ≤ ∥ P X ℓ − 1 ( x 1 , ⋅ ) − π X ∥ T V + ∥ P Y ℓ − 1 ( y 1 , ⋅ ) − π Y ∥ T V . \begin{aligned}
\|\operatorname{Law}(\mathbf{o}_\ell\mid\mathbf{o}_0)-\pi_O\|_{\mathrm{TV}}\leq\|P_X^{\ell-1}(x_1,\cdot)\otimes P_Y^{\ell-1}(y_1,\cdot)-\pi_X\otimes\pi_Y\|_{\mathrm{TV}} \\
&\le\left\lVert P_X^{\ell-1}(x_1,\cdot)-\pi_X\right\rVert_{\mathrm{TV}}+\left\lVert P_Y^{\ell-1}(y_1,\cdot)-\pi_Y\right\rVert_{\mathrm{TV}}.
\end{aligned} ∥ Law ( o ℓ ∣ o 0 ) − π O ∥ TV ≤ ∥ P X ℓ − 1 ( x 1 , ⋅ ) ⊗ P Y ℓ − 1 ( y 1 , ⋅ ) − π X ⊗ π Y ∥ TV ≤ P X ℓ − 1 ( x 1 , ⋅ ) − π X TV + P Y ℓ − 1 ( y 1 , ⋅ ) − π Y TV .
Averaging over o 0 \mathbf{o}_0 o 0 , whose next-state marginals are π X \pi_X π X and π Y \pi_Y π Y , gives
β ℓ = E ∥ Law ( o ℓ ∣ o 0 ) − π O ∥ T V ≤ β ℓ − 1 X + β ℓ − 1 Y . \beta_\ell=\mathbb{E}\left\lVert\operatorname{Law}(\mathbf{o}_\ell\mid\mathbf{o}_0)-\pi_O\right\rVert_{\mathrm{TV}}\le\beta_{\ell-1}^X+\beta_{\ell-1}^Y. β ℓ = E ∥ Law ( o ℓ ∣ o 0 ) − π O ∥ TV ≤ β ℓ − 1 X + β ℓ − 1 Y .
For the mixing-time bound, (24) also implies monotonicity: for a Markov kernel P P P with stationary law π \pi π ,
∥ P k + 1 ( u , ⋅ ) − π ∥ T V = ∥ P k ( u , ⋅ ) P − π P ∥ T V ≤ ∥ P k ( u , ⋅ ) − π ∥ T V . \left\lVert P^{k+1}(u,\cdot)-\pi\right\rVert_{\mathrm{TV}}=\left\lVert P^k(u,\cdot)P-\pi P\right\rVert_{\mathrm{TV}}\le\left\lVert P^k(u,\cdot)-\pi\right\rVert_{\mathrm{TV}}. P k + 1 ( u , ⋅ ) − π TV = P k ( u , ⋅ ) P − π P TV ≤ P k ( u , ⋅ ) − π TV .
Hence each stationary-average mixing profile is nonincreasing. For k = max { τ X ( α / 2 ) , τ Y ( α / 2 ) } k=\max\{\tau_X(\alpha/2),\tau_Y(\alpha/2)\} k = max { τ X ( α /2 ) , τ Y ( α /2 )} , we obtain β k + 1 ≤ β k X + β k Y ≤ α \beta_{k+1}\le\beta_k^X+\beta_k^Y\le\alpha β k + 1 ≤ β k X + β k Y ≤ α , proving the mixing-time bound.
For an integer spacing 1 ≤ K ≤ m 1\le K\le m 1 ≤ K ≤ m , write I a = { a + j K : j ≥ 0 , a + j K < m } I_a=\{a+jK:j\ge0,\ a+jK<m\} I a = { a + j K : j ≥ 0 , a + j K < m } for 0 ≤ a < K 0\le a<K 0 ≤ a < K . The next lemma supplies independent observations within each I a I_a I a while preserving the joint law of the original data.
Lemma 3 (Residue-class coupling). Let ( o i ) (\mathbf{o}_i) ( o i ) be a stationary, time-homogeneous Markov process on a Euclidean space with stationary law π O \pi_O π O and mixing profile β ℓ \beta_\ell β ℓ defined by (18) . For every integer 1 ≤ K ≤ m 1\le K\le m 1 ≤ K ≤ m , there are copies ( o ‾ i ) i = 0 m − 1 (\overline{\mathbf{o}}_i)_{i=0}^{m-1} ( o i ) i = 0 m − 1 jointly coupled with ( o i ) (\mathbf{o}_i) ( o i ) such that ( o ‾ i ) i ∈ I a (\overline{\mathbf{o}}_i)_{i\in I_a} ( o i ) i ∈ I a are iid with law π O \pi_O π O for each a a a , and
P ( o ‾ i ≠ o i for at least one i ) ≤ m β K . (25) \mathbb{P}(\overline{\mathbf{o}}_i\ne\mathbf{o}_i\text{ for at least one }i)\le m\beta_K. \tag*{(25)} P ( o i = o i for at least one i ) ≤ m β K . (25) The coupling preserves the joint law of ( o i ) (\mathbf{o}_i) ( o i ) ; the copies in different residue classes may be dependent.
Proof. We construct independent copies sequentially within each residue class, then bound the probability of any mismatch by a union bound. The construction uses maximal coupling ([7 Corollary 4.2.5] ): given u ∼ μ \mathbf{u}\sim\mu u ∼ μ , auxiliary randomness produces u ‾ ∼ ν \overline{\mathbf{u}}\sim\nu u ∼ ν with P ( u ‾ ≠ u ) = ∥ μ − ν ∥ T V \mathbb{P}(\overline{\mathbf{u}}\ne\mathbf{u})=\lVert\mu-\nu\rVert_{\mathrm{TV}} P ( u = u ) = ∥ μ − ν ∥ TV .
Write P O P_O P O for the transition kernel. Fix a residue class I a = { a , a + K , … } ∩ { 0 , … , m − 1 } I_a=\{a,a+K,\ldots\}\cap\{0,\ldots,m-1\} I a = { a , a + K , … } ∩ { 0 , … , m − 1 } , with indices i 1 < ⋯ < i r i_1<\cdots<i_r i 1 < ⋯ < i r , and keep o ‾ i 1 = o i 1 ∼ π O \overline{\mathbf{o}}_{i_1}=\mathbf{o}_{i_1}\sim\pi_O o i 1 = o i 1 ∼ π O . For j ≥ 2 j\ge2 j ≥ 2 , suppose the earlier copies have been constructed from the earlier observations in this class and independent auxiliary randomness. The Markov property gives
Law ( o i j ∣ o i 1 , … , o i j − 1 , o ‾ i 1 , … , o ‾ i j − 1 ) = P O K ( o i j − 1 , ⋅ ) . \operatorname{Law}(\mathbf{o}_{i_j}\mid\mathbf{o}_{i_1},\ldots,\mathbf{o}_{i_{j-1}},\overline{\mathbf{o}}_{i_1},\ldots,\overline{\mathbf{o}}_{i_{j-1}})=P_O^K(\mathbf{o}_{i_{j-1}},\cdot). Law ( o i j ∣ o i 1 , … , o i j − 1 , o i 1 , … , o i j − 1 ) = P O K ( o i j − 1 , ⋅ ) .
Apply maximal coupling conditionally to this law and π O \pi_O π O , using fresh auxiliary randomness to construct o ‾ i j \overline{\mathbf{o}}_{i_j} o i j from o i j \mathbf{o}_{i_j} o i j . The conditional law of the new copy is π O \pi_O π O , so it is independent of all earlier copies in this class. Its mismatch probability is
P ( o ‾ i j ≠ o i j ) = E ∥ P O K ( o i j − 1 , ⋅ ) − π O ∥ T V = E o ∼ π O ∥ P O K ( o , ⋅ ) − π O ∥ T V = β K . \begin{aligned}
\mathbb{P}(\overline{\mathbf{o}}_{i_j}\ne\mathbf{o}_{i_j})=\mathbb{E}\left\lVert P_O^K(\mathbf{o}_{i_{j-1}},\cdot)-\pi_O\right\rVert_{\mathrm{TV}} \\
&=\mathbb{E}_{\mathbf{o}\sim\pi_O}\left\lVert P_O^K(\mathbf{o},\cdot)-\pi_O\right\rVert_{\mathrm{TV}}=\beta_K.
\end{aligned} P ( o i j = o i j ) = E P O K ( o i j − 1 , ⋅ ) − π O TV = E o ∼ π O P O K ( o , ⋅ ) − π O TV = β K .
Repeat this construction separately for each class, using independent auxiliary randomness. The original observations remain unchanged, and a union bound yields
P ( ∃ i : o ‾ i ≠ o i ) ≤ ∑ a = 0 K − 1 ( ∣ I a ∣ − 1 ) β K = ( m − K ) β K ≤ m β K . \mathbb{P}(\exists i:\overline{\mathbf{o}}_i\ne\mathbf{o}_i)\le\sum_{a=0}^{K-1}(|I_a|-1)\beta_K=(m-K)\beta_K\le m\beta_K. P ( ∃ i : o i = o i ) ≤ a = 0 ∑ K − 1 ( ∣ I a ∣ − 1 ) β K = ( m − K ) β K ≤ m β K .
For v ∈ V \mathbf{v} \in\mathcal{V} v ∈ V , recall the prediction error g i ( v , t ) = v ( h i ( t ) ) − v ∗ ( h i ( t ) ) \mathbf{g}_i(\mathbf{v},t)=\mathbf{v}(\mathbf{h}_i(t))-\mathbf{v}^{\ast}(\mathbf{h}_i(t)) g i ( v , t ) = v ( h i ( t )) − v ∗ ( h i ( t )) from (22) . Define the excess loss and its average over flow time by
Δ i ( v , t ) = ∥ v ( h i ( t ) ) − r i ∥ 2 − ∥ v ∗ ( h i ( t ) ) − r i ∥ 2 = ∥ g i ( v , t ) ∥ 2 + 2 ⟨ g i ( v , t ) , ξ i ( t ) ⟩ , A i ( v ) = ∫ 0 1 Δ i ( v , t ) d t . (26) \begin{aligned}
\Delta_i(\mathbf{v},t) &= \left\|\mathbf{v}(\mathbf{h}_i(t))-\mathbf{r}_i\right\|^2-\left\|\mathbf{v}^{\ast}(\mathbf{h}_i(t))-\mathbf{r}_i\right\|^2 \\
&= \left\|\mathbf{g}_i(\mathbf{v},t)\right\|^2+2\left\langle\mathbf{g}_i(\mathbf{v},t),\boldsymbol{\xi}_i(t)\right\rangle,\qquad A_i(\mathbf{v})=\int_0^1\Delta_i(\mathbf{v},t)\,\mathrm{d}t. \tag*{(26)}
\end{aligned} Δ i ( v , t ) = ∥ v ( h i ( t )) − r i ∥ 2 − ∥ v ∗ ( h i ( t )) − r i ∥ 2 = ∥ g i ( v , t ) ∥ 2 + 2 ⟨ g i ( v , t ) , ξ i ( t ) ⟩ , A i ( v ) = ∫ 0 1 Δ i ( v , t ) d t . (26)
Thus m − 1 ∑ i A i ( v ) = L ^ ( v ) − L ^ ( v ∗ ) m^{-1}\sum_i A_i(\mathbf{v})=\widehat{L}(\mathbf{v})-\widehat{L}(\mathbf{v}^{\ast}) m − 1 ∑ i A i ( v ) = L ( v ) − L ( v ∗ ) . The noise and moment assumptions ensure that the integrated losses are finite almost surely: E ∥ ξ ∥ 2 ≤ d ν 2 \mathbb{E}\left\|\boldsymbol{\xi}\right\|^2\le d\nu^2 E ∥ ξ ∥ 2 ≤ d ν 2 and every candidate has finite prediction risk. All time evaluations of a transition share its endpoints; we keep them together when bounding the excess loss.
Lemma 4 (Exponential bounds for excess loss). Under Assumptions 2 and 3, for a stationary transition and ν > 0 \nu>0 ν > 0 , define
λ = 1 4 ν 2 , Ψ ( u ) = 1 4 C 4 → 2 4 ( 1 − e − u / ( 16 ν 2 ) ) , u ≥ 0. (27) \lambda=\frac{1}{4\nu^2},\qquad\Psi(u)=\frac{1}{4C_{4\to2}^4}\left(1-e^{-u/(16\nu^2)}\right),\qquad u\ge0. \tag*{(27)} λ = 4 ν 2 1 , Ψ ( u ) = 4 C 4 → 2 4 1 ( 1 − e − u / ( 16 ν 2 ) ) , u ≥ 0. (27) Let t ∼ U ( 0 , 1 ) t\sim\mathcal{U}(0,1) t ∼ U ( 0 , 1 ) be independent of the transition. For every v ∈ V \mathbf{v}\in\mathcal{V} v ∈ V and transition index i i i ,
max { E e − λ Δ i ( v , t ) , E e − λ A i ( v ) } ≤ e − Ψ ( R ( v , v ∗ ) ) , (28) \max\left\{\mathbb{E}e^{-\lambda\Delta_i(\mathbf{v},t)},\mathbb{E}e^{-\lambda A_i(\mathbf{v})}\right\}\le e^{-\Psi(R(\mathbf{v},\mathbf{v}^{\ast}))}, \tag*{(28)} max { E e − λ Δ i ( v , t ) , E e − λ A i ( v ) } ≤ e − Ψ ( R ( v , v ∗ )) , (28) where Δ i \Delta_i Δ i and A i A_i A i are defined in (26) .
Proof. We first bound the exponential moment at a random flow time using the conditional noise assumption and the fourth-moment bound. Jensen’s inequality then transfers this bound to the integral over flow time.
Fix v \mathbf{v} v and draw a stationary transition and an independent uniform flow time, giving ( h , r ) (\mathbf{h},\mathbf{r}) ( h , r ) . Write g = v ( h ) − v ∗ ( h ) \mathbf{g}=\mathbf{v}(\mathbf{h})-\mathbf{v}^{\ast}(\mathbf{h}) g = v ( h ) − v ∗ ( h ) , G = ∥ g ∥ 2 G=\|\mathbf{g}\|^2 G = ∥ g ∥ 2 , and R = R ( v , v ∗ ) = E G R=R(\mathbf{v},\mathbf{v}^{\ast})=\mathbb{E}G R = R ( v , v ∗ ) = E G . Use λ = 1 / ( 4 ν 2 ) \lambda=1/(4\nu^2) λ = 1/ ( 4 ν 2 ) from (27) . Conditional on h \mathbf{h} h , the vector g \mathbf{g} g is fixed, so Assumption 2 gives
E [ e − λ ( G + 2 ⟨ g , ξ ⟩ ) ∣ h ] ≤ e − λ G + 2 λ 2 ν 2 G = e − G / ( 8 ν 2 ) . (29) \mathbb{E}\left[\left.e^{-\lambda(G+2\langle\mathbf{g},\boldsymbol{\xi}\rangle)}\right|\mathbf{h}\right]\le e^{-\lambda G+2\lambda^2\nu^2G}=e^{-G/(8\nu^2)}. \tag*{(29)} E [ e − λ ( G + 2 ⟨ g , ξ ⟩) h ] ≤ e − λ G + 2 λ 2 ν 2 G = e − G / ( 8 ν 2 ) . (29)
If R > 0 R>0 R > 0 , Cauchy–Schwarz and (17) yield
R ≤ R 2 + E [ G 1 { G ≥ R / 2 } ] ≤ R 2 + E G 2 P ( G ≥ R / 2 ) , P ( G ≥ R / 2 ) ≥ R 2 4 E G 2 ≥ 1 4 C 4 → 2 4 . R\le\frac{R}{2}+\mathbb{E}[G\mathbf{1}\{G\ge R/2\}]\le\frac{R}{2}+\sqrt{\mathbb{E}G^2\,\mathbb{P}(G\ge R/2)},\qquad\mathbb{P}(G\ge R/2)\ge\frac{R^2}{4\mathbb{E}G^2}\ge\frac{1}{4C_{4\to2}^4}. R ≤ 2 R + E [ G 1 { G ≥ R /2 }] ≤ 2 R + E G 2 P ( G ≥ R /2 ) , P ( G ≥ R /2 ) ≥ 4 E G 2 R 2 ≥ 4 C 4 → 2 4 1 .
Averaging the conditional bound (29) and using this probability bound gives
E e − λ ( G + 2 ⟨ g , ξ ⟩ ) ≤ E e − G / ( 8 ν 2 ) ≤ 1 − 1 − e − R / ( 16 ν 2 ) 4 C 4 → 2 4 ≤ e − Ψ ( R ) . \mathbb{E}e^{-\lambda(G+2\langle\mathbf{g},\boldsymbol{\xi}\rangle)}\le\mathbb{E}e^{-G/(8\nu^2)}\le1-\frac{1-e^{-R/(16\nu^2)}}{4C_{4\to2}^4}\le e^{-\Psi(R)}. E e − λ ( G + 2 ⟨ g , ξ ⟩) ≤ E e − G / ( 8 ν 2 ) ≤ 1 − 4 C 4 → 2 4 1 − e − R / ( 16 ν 2 ) ≤ e − Ψ ( R ) .
For R = 0 R=0 R = 0 , (29) directly gives the same bound. This proves the random-time bound. For the integrated loss, Jensen’s inequality gives, pointwise in the transition observation,
e − λ A i ( v ) = exp ( − λ ∫ 0 1 Δ i ( v , t ) d t ) ≤ ∫ 0 1 e − λ Δ i ( v , t ) d t . e^{-\lambda A_i(\mathbf{v})}=\exp\left(-\lambda\int_0^1\Delta_i(\mathbf{v},t)\,\mathrm{d}t\right)\le\int_0^1e^{-\lambda\Delta_i(\mathbf{v},t)}\,\mathrm{d}t. e − λ A i ( v ) = exp ( − λ ∫ 0 1 Δ i ( v , t ) d t ) ≤ ∫ 0 1 e − λ Δ i ( v , t ) d t .
Taking expectations and applying Tonelli’s theorem proves (28) .
The next lemma uses only the exponential bound for a stationary loss and the mixing of its observations. We state it for a general loss A i ( v ) = A ( v , o i ) A_i(\mathbf{v}) = A(\mathbf{v},\mathbf{o}_i) A i ( v ) = A ( v , o i ) so that it applies to both integrated and sampled flow times.
Lemma 5 (Risk from empirical excess loss). Let ( o i ) (\mathbf{o}_i) ( o i ) be a stationary Markov process as in Lemma 3, and let V \mathcal{V} V be finite. Fix ν > 0 \nu> 0 ν > 0 , C 4 → 2 ≥ 1 C_{4\to2} \ge1 C 4 → 2 ≥ 1 , and use λ , Ψ \lambda,\Psi λ , Ψ from (27) , with finite risks R R R as in (16) . Suppose real-valued measurable losses A i ( v ) = A ( v , o i ) A_i(\mathbf{v}) = A(\mathbf{v},\mathbf{o}_i) A i ( v ) = A ( v , o i ) satisfy
E e − λ A i ( v ) ≤ e − Ψ ( R ( v , v ⋆ ) ) for every v ∈ V . (30) \mathbb{E}e^{-\lambda A_i(\mathbf{v})} \le e^{-\Psi(R(\mathbf{v},\mathbf{v}^{\star}))}\quad\text{for every }\mathbf{v}\in\mathcal{V}. \tag*{(30)} E e − λ A i ( v ) ≤ e − Ψ ( R ( v , v ⋆ )) for every v ∈ V . (30) Fix an integer 1 ≤ K ≤ m 1 \le K \le m 1 ≤ K ≤ m and ϵ o p t ≥ 0 \epsilon_{\mathrm{opt}} \ge0 ϵ opt ≥ 0 . Any possibly data-dependent v ~ ∈ V \widetilde{\mathbf{v}}\in\mathcal{V} v ∈ V with m − 1 ∑ i A i ( v ~ ) ≤ ϵ o p t m^{-1}\sum_i A_i(\widetilde{\mathbf{v}})\le\epsilon_{\mathrm{opt}} m − 1 ∑ i A i ( v ) ≤ ϵ opt almost surely satisfies, for every u > 0 u>0 u > 0 ,
P ( R ( v ~ , v ⋆ ) ≥ u ) ≤ m β K + ∣ V ∣ exp { m K ( λ ϵ o p t − Ψ ( u ) ) } . (31) \mathbb{P}\bigl(R(\widetilde{\mathbf{v}},\mathbf{v}^{\star})\ge u\bigr)\le m\beta_K+|\mathcal{V}|\exp\left\{\frac{m}{K}\bigl(\lambda\epsilon_{\mathrm{opt}}-\Psi(u)\bigr)\right\}. \tag*{(31)} P ( R ( v , v ⋆ ) ≥ u ) ≤ m β K + ∣ V ∣ exp { K m ( λ ϵ opt − Ψ ( u ) ) } . (31)
Proof. Apply Lemma 3 with spacing K K K to obtain copies ( o ‾ i ) (\overline{\mathbf{o}}_i) ( o i ) . Let A ‾ i ( v ) \overline{A}_i(\mathbf{v}) A i ( v ) be A ( v , o ‾ i ) A(\mathbf{v},\overline{\mathbf{o}}_i) A ( v , o i ) . Each copied loss is a function of its copied observation. Thus, for fixed v \mathbf{v} v , independence within I a I_a I a and the stationary exponential bound (30) give
E exp ( − λ ∑ i ∈ I a A ‾ i ( v ) ) ≤ e − ∣ I a ∣ Ψ ( R ( v , v ⋆ ) ) . \mathbb{E}\exp\left(-\lambda\sum_{i\in I_a}\overline{A}_i(\mathbf{v})\right)\le e^{-|I_a|\Psi(R(\mathbf{v},\mathbf{v}^{\star}))}. E exp ( − λ i ∈ I a ∑ A i ( v ) ) ≤ e − ∣ I a ∣Ψ ( R ( v , v ⋆ )) .
To combine the classes, apply Hölder’s inequality with all K K K exponents equal to K K K (the identity when K = 1 K=1 K = 1 ):
E exp ( − λ K ∑ i A ‾ i ( v ) ) ≤ ∏ a = 0 K − 1 [ E exp ( − λ ∑ i ∈ I a A ‾ i ( v ) ) ] 1 / K ≤ exp ( − m K Ψ ( R ( v , v ⋆ ) ) ) . \mathbb{E}\exp\left(-\frac{\lambda}{K}\sum_i\overline{A}_i(\mathbf{v})\right)
\le\prod_{a=0}^{K-1}\left[\mathbb{E}\exp\left(-\lambda\sum_{i\in I_a}\overline{A}_i(\mathbf{v})\right)\right]^{1/K}
\le\exp\left(-\frac{m}{K}\Psi(R(\mathbf{v},\mathbf{v}^{\star}))\right). E exp ( − K λ i ∑ A i ( v ) ) ≤ a = 0 ∏ K − 1 [ E exp ( − λ i ∈ I a ∑ A i ( v ) ) ] 1/ K ≤ exp ( − K m Ψ ( R ( v , v ⋆ )) ) .
This step requires no independence across residue classes. Markov’s inequality now gives
P ( 1 m ∑ i A ‾ i ( v ) ≤ ϵ o p t ) ≤ exp { m K ( λ ϵ o p t − Ψ ( R ( v , v ⋆ ) ) ) } . \mathbb{P}\left(\frac{1}{m}\sum_i\overline{A}_i(\mathbf{v})\le\epsilon_{\mathrm{opt}}\right)
\le\exp\left\{\frac{m}{K}\bigl(\lambda\epsilon_{\mathrm{opt}}-\Psi(R(\mathbf{v},\mathbf{v}^{\star}))\bigr)\right\}. P ( m 1 i ∑ A i ( v ) ≤ ϵ opt ) ≤ exp { K m ( λ ϵ opt − Ψ ( R ( v , v ⋆ )) ) } .
Since Ψ \Psi Ψ is increasing, a union bound over candidates with R ( v , v ⋆ ) ≥ u R(\mathbf{v},\mathbf{v}^{\star})\ge u R ( v , v ⋆ ) ≥ u bounds the probability that any such candidate has copied excess loss at most ϵ o p t \epsilon_{\mathrm{opt}} ϵ opt by the exponential term in (31) . On the event that all copies agree with the data, A ‾ i ( v ) = A i ( v ) \overline{A}_i(\mathbf{v})=A_i(\mathbf{v}) A i ( v ) = A i ( v ) for every i , v i,\mathbf{v} i , v . The assumed empirical loss bound for v ~ \widetilde{\mathbf{v}} v then places it among the candidates just considered whenever its risk is at least u u u . Adding the coupling failure probability m β K m\beta_K m β K proves the claim. □
Proof of Theorem 1. We apply Lemma 5 with the integrated excess losses in (26) . Lemma 2 supplies the stationary Markov observations, and Lemma 4 supplies the exponential bound (30) . It remains to choose the risk threshold. First suppose ν > 0 \nu>0 ν > 0 , and set
K = τ m i x ( δ 3 m ) , L = log ( 6 K ∣ V ∣ δ ) , u = 128 C 4 → 2 4 ν 2 K L / m . K=\tau_{\mathrm{mix}}\left(\frac{\delta}{3m}\right),\qquad L=\log\left(\frac{6K|\mathcal{V}|}{\delta}\right),\qquad u=128C_{4\to2}^{4}\nu^2KL/m. K = τ mix ( 3 m δ ) , L = log ( δ 6 K ∣ V ∣ ) , u = 128 C 4 → 2 4 ν 2 K L / m .
The sample-size condition (20) implies K ≤ m K \le m K ≤ m and u / ( 16 ν 2 ) = 8 C 4 → 2 4 K L / m ≤ 1 / 16 u/(16\nu^2) = 8C_{4\to2}^4KL/m \le1/16 u / ( 16 ν 2 ) = 8 C 4 → 2 4 K L / m ≤ 1/16 . By the definition of Ψ \Psi Ψ in (27) and 1 − e − s ≥ s / 2 1-e^{-s} \ge s/2 1 − e − s ≥ s /2 for s ∈ [ 0 , 1 ] s \in[0,1] s ∈ [ 0 , 1 ] ,
Ψ ( u ) ≥ 1 4 C 4 → 2 4 u 32 ν 2 = K L m . \Psi(u) \ge\frac{1}{4C_{4\to2}^4}\frac{u}{32\nu^2} = \frac{KL}{m}. Ψ ( u ) ≥ 4 C 4 → 2 4 1 32 ν 2 u = m K L .
Realizability and empirical optimality give m − 1 ∑ i A i ( v ^ ) = L ^ ( v ^ ) − L ^ ( v ⋆ ) ≤ 0 m^{-1}\sum_i A_i(\hat{\mathbf{v}})=\hat{L}(\hat{\mathbf{v}})-\hat{L}(\mathbf{v}^\star)\le0 m − 1 ∑ i A i ( v ^ ) = L ^ ( v ^ ) − L ^ ( v ⋆ ) ≤ 0 . Lemma 5 with ϵ o p t = 0 \epsilon_{\mathrm{opt}}=0 ϵ opt = 0 therefore yields
P ( R ( v ^ , v ⋆ ) ≥ u ) ≤ m β K + ∣ V ∣ e − L ≤ δ 3 + δ 6 K ≤ δ 2 . (32) \mathbb{P}\left(R(\hat{\mathbf{v}},\mathbf{v}^\star)\ge u\right)\le m\beta_K+|\mathcal{V}|e^{-L}\le\frac{\delta}{3}+\frac{\delta}{6K}\le\frac{\delta}{2}. \tag*{(32)} P ( R ( v ^ , v ⋆ ) ≥ u ) ≤ m β K + ∣ V ∣ e − L ≤ 3 δ + 6 K δ ≤ 2 δ . (32)
This proves the stated 1 − δ 1-\delta 1 − δ guarantee. More generally, the same calculation holds for any 1 ≤ K ≤ m 1\le K\le m 1 ≤ K ≤ m with m β K ≤ δ / 3 m\beta_K\le\delta/3 m β K ≤ δ /3 and (20) .
If ν = 0 \nu=0 ν = 0 , the conditional noise bound also holds with every positive parameter η \eta η . The preceding argument then bounds P ( R ( v ^ , v ⋆ ) > 128 C 4 → 2 4 η 2 K L / m ) \mathbb{P}(R(\hat{\mathbf{v}},\mathbf{v}^\star)>128C_{4\to2}^4\eta^2KL/m) P ( R ( v ^ , v ⋆ ) > 128 C 4 → 2 4 η 2 K L / m ) by δ / 2 \delta/2 δ /2 . As η ↓ 0 \eta\downarrow0 η ↓ 0 , these events increase to { R ( v ^ , v ⋆ ) > 0 } \{R(\hat{\mathbf{v}},\mathbf{v}^\star)>0\} { R ( v ^ , v ⋆ ) > 0 } . Continuity of probability proves the zero-risk conclusion.
Corollary 1 (Sampled flow times). Under the assumptions and sample-size condition of Theorem 1, fix an integer J ≥ 1 J\ge1 J ≥ 1 and draw ( t i j ) 0 ≤ i < m , 1 ≤ j ≤ J (t_{ij})_{0\le i<m,\,1\le j\le J} ( t ij ) 0 ≤ i < m , 1 ≤ j ≤ J iid from U ( 0 , 1 ) U(0,1) U ( 0 , 1 ) , independently of the trajectories. Any minimizer v ^ J \hat{\mathbf{v}}_J v ^ J of
L ^ J ( v ) = 1 m J ∑ i = 0 m − 1 ∑ j = 1 J ∥ v ( h i ( t i j ) ) − r i ∥ 2 (33) \hat{L}_J(\mathbf{v})=\frac{1}{mJ}\sum_{i=0}^{m-1}\sum_{j=1}^{J}\lVert\mathbf{v}(\mathbf{h}_i(t_{ij}))-\mathbf{r}_i\rVert^2 \tag*{(33)} L ^ J ( v ) = m J 1 i = 0 ∑ m − 1 j = 1 ∑ J ∥ v ( h i ( t ij )) − r i ∥ 2 (33) obeys (21) , with v ^ J \hat{\mathbf{v}}_J v ^ J in place of v ^ \hat{\mathbf{v}} v ^ , with probability at least 1 − δ 1-\delta 1 − δ over the trajectories and flow-time samples.
Proof. First suppose ν > 0 \nu>0 ν > 0 . Append the independent time vector ( t i 1 , … , t i J ) (t_{i1},\ldots,t_{iJ}) ( t i 1 , … , t i J ) to o i \mathbf{o}_i o i . The resulting process is stationary and Markov. Appending independent uniform draws cannot increase total variation by (24) ; contraction under projection onto o i \mathbf{o}_i o i gives the reverse inequality. Its mixing profile is therefore exactly β ℓ \beta_\ell β ℓ . Apply Lemma 5 with the loss A i ( v ) = J − 1 ∑ j Δ i ( v , t i j ) A_i(\mathbf{v})=J^{-1}\sum_j\Delta_i(\mathbf{v},t_{ij}) A i ( v ) = J − 1 ∑ j Δ i ( v , t ij ) . To verify its exponential hypothesis, convexity gives
exp ( − λ J ∑ j Δ i ( v , t i j ) ) ≤ 1 J ∑ j e − λ Δ i ( v , t i j ) . \exp\left(-\frac{\lambda}{J}\sum_j\Delta_i(\mathbf{v},t_{ij})\right)\le\frac{1}{J}\sum_j e^{-\lambda\Delta_i(\mathbf{v},t_{ij})}. exp ( − J λ j ∑ Δ i ( v , t ij ) ) ≤ J 1 j ∑ e − λ Δ i ( v , t ij ) .
Taking expectations and applying the random-time bound in Lemma 4 to each summand gives E exp ( − λ J − 1 ∑ j Δ i ( v , t i j ) ) ≤ e − Ψ ( R ( v , v ⋆ ) ) \mathbb{E}\exp(-\lambda J^{-1}\sum_j\Delta_i(\mathbf{v},t_{ij}))\le e^{-\Psi(R(\mathbf{v},\mathbf{v}^\star))} E exp ( − λ J − 1 ∑ j Δ i ( v , t ij )) ≤ e − Ψ ( R ( v , v ⋆ )) , with λ , Ψ \lambda,\Psi λ , Ψ from (27) . This verifies (30) . Realizability and empirical optimality give m − 1 ∑ i A i ( v ^ J ) ≤ 0 m^{-1}\sum_i A_i(\hat{\mathbf{v}}_J)\le0 m − 1 ∑ i A i ( v ^ J ) ≤ 0 , so Lemma 5 applies with ϵ o p t = 0 \epsilon_{\mathrm{opt}}=0 ϵ opt = 0 . Use the same K , L , u K,L,u K , L , u as in the proof of Theorem 1; its limiting argument also covers ν = 0 \nu=0 ν = 0 .
The corollary controls risk integrated over flow time, for each fixed J J J , without treating m J mJ m J evaluations as independent transitions. A deterministic time grid instead requires moment and noise assumptions for its time sampling distribution; transferring grid-averaged risk to integrated risk also requires control of the time-discretization error. For approximate minimization of the integrated loss, L ^ ( v ~ ) ≤ min v ∈ V L ^ ( v ) + ϵ o p t \hat{L}(\tilde{\mathbf{v}})\le\min_{\mathbf{v}\in\mathcal{V}}\hat{L}(\mathbf{v})+\epsilon_{\mathrm{opt}} L ^ ( v ~ ) ≤ min v ∈ V L ^ ( v ) + ϵ opt gives m − 1 ∑ i A i ( v ~ ) ≤ ϵ o p t m^{-1}\sum_i A_i(\tilde{\mathbf{v}})\le\epsilon_{\mathrm{opt}} m − 1 ∑ i A i ( v ~ ) ≤ ϵ opt by realizability. Lemma 5 applies with the integrated excess loss in (26) . Thus (31) also records the effect of an empirical optimization error; we do not certify this error for AdamW.
For (2) , set C = 128 C 4 → 2 4 max { 1 , ν 2 } C = 128C_{4\to2}^{4}\max\{1,\nu^{2}\} C = 128 C 4 → 2 4 max { 1 , ν 2 } and L = log ( 6 K ∣ V ∣ / δ ) L = \log(6K|\mathcal{V}|/\delta) L = log ( 6 K ∣ V ∣/ δ ) . The condition m ≥ C K L max { 1 , ϵ − 1 } m \ge CKL\max\{1,\epsilon^{-1}\} m ≥ C K L max { 1 , ϵ − 1 } implies both (20) and 128 C 4 → 2 4 ν 2 K L / m ≤ ϵ 128C_{4\to2}^{4}\nu^{2}KL/m \le\epsilon 128 C 4 → 2 4 ν 2 K L / m ≤ ϵ . Theorem 1 therefore gives risk at most ϵ \epsilon ϵ with probability at least 1 − δ 1-\delta 1 − δ .
The sample-size lower bound
Proof of Proposition 3. We construct two models with separated velocities whose observations agree when a slowly mixing Gaussian coordinate stays nonnegative. We first verify the flow and moment assumptions and compute the velocity separation. We then bound the probability that the data agree and apply a two-point testing argument, as in Nagaraj et al. [31 ] , Appendix C.1, proof of Theorem 1. Finally, we relate the Gaussian coordinate’s time scale to the observation mixing time.
For the prescribed integer τ ≥ 1 \tau\ge1 τ ≥ 1 , set a = e − 1 / τ a=e^{-1/\tau} a = e − 1/ τ and σ τ 2 = ( 1 − a 2 ) − 1 \sigma_{\tau}^{2}=(1-a^{2})^{-1} σ τ 2 = ( 1 − a 2 ) − 1 . Fix a smooth function ψ : R → [ 0 , 1 ] \psi:\mathbb{R}\to[0,1] ψ : R → [ 0 , 1 ] equal to 1 1 1 on ( − ∞ , − 1 ] (-\infty,-1] ( − ∞ , − 1 ] and to 0 0 0 on [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) . For G ∼ N ( 0 , 1 ) G\sim N(0,1) G ∼ N ( 0 , 1 ) , write M 2 = E ψ ( G ) 2 ≥ P ( G ≤ − 1 ) > 0 M_{2}=\mathbb{E}\psi(G)^{2}\ge\mathbb{P}(G\le-1)>0 M 2 = E ψ ( G ) 2 ≥ P ( G ≤ − 1 ) > 0 and set h = ϵ / ( π M 2 ) h=\sqrt{\epsilon/(\pi M_{2})} h = ϵ / ( π M 2 ) . Under θ ∈ { − h , h } \theta\in\{-h,h\} θ ∈ { − h , h } , let
y i = ( C i , U i ) , C i + 1 = a C i + η i + 1 , U i + 1 = θ ψ ( C i / σ τ ) + ζ i + 1 , (34) y_i=(C_i,U_i),\qquad C_{i+1}=aC_i+\eta_{i+1},\qquad U_{i+1}=\theta\psi(C_i/\sigma_\tau)+\zeta_{i+1}, \tag*{(34)} y i = ( C i , U i ) , C i + 1 = a C i + η i + 1 , U i + 1 = θ ψ ( C i / σ τ ) + ζ i + 1 , (34)
where ( η i ) (\eta_i) ( η i ) and ( ζ i ) (\zeta_i) ( ζ i ) are independent iid standard Gaussian sequences. Use a stationary extension of ( C i ) (C_i) ( C i ) to index − 1 -1 − 1 and set U 0 = θ ψ ( C − 1 / σ τ ) + ζ 0 U_0=\theta\psi(C_{-1}/\sigma_\tau)+\zeta_0 U 0 = θ ψ ( C − 1 / σ τ ) + ζ 0 . Then y \mathbf{y} y is stationary and C i / σ τ ∼ N ( 0 , 1 ) C_i/\sigma_\tau\sim N(0,1) C i / σ τ ∼ N ( 0 , 1 ) . Independently, take x i ∼ i i d N ( 0 , I 2 ) \mathbf{x}_i\mathrel{\overset{\mathrm{iid}}{\sim}}N(0,I_2) x i ∼ iid N ( 0 , I 2 ) . For y = ( c , u ) \mathbf{y}=(c,u) y = ( c , u ) , put g θ ( y ) = ( a c , θ ψ ( c / σ τ ) ) g_\theta(\mathbf{y})=(ac,\theta\psi(c/\sigma_\tau)) g θ ( y ) = ( a c , θ ψ ( c / σ τ )) . The conditional transitions are P X ( x , ⋅ ) = N ( 0 , I 2 ) P_X(\mathbf{x},\cdot)=N(0,I_2) P X ( x , ⋅ ) = N ( 0 , I 2 ) and P Y , θ ( y , ⋅ ) = N ( g θ ( y ) , I 2 ) P_{Y,\theta}(\mathbf{y},\cdot)=N(g_\theta(\mathbf{y}),I_2) P Y , θ ( y , ⋅ ) = N ( g θ ( y ) , I 2 ) .
For fixed ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) , apply Lemma 6 with means 0 , g θ ( y ) \mathbf{0},g_\theta(\mathbf{y}) 0 , g θ ( y ) in dimension two. With s t = ( 1 − t ) 2 + t 2 s_t=(1-t)^2+t^2 s t = ( 1 − t ) 2 + t 2 , it gives
v θ , t ⋆ ( z , x , y ) = 2 t − 1 s t z + 1 − t s t g θ ( y ) , V = { v − h ⋆ , v h ⋆ } . (35) v_{\theta,t}^{\star}(\mathbf{z},\mathbf{x},\mathbf{y})=\frac{2t-1}{s_t}\mathbf{z}+\frac{1-t}{s_t}g_\theta(\mathbf{y}),\qquad\mathcal{V}=\{v_{-h}^{\star},v_h^{\star}\}. \tag*{(35)} v θ , t ⋆ ( z , x , y ) = s t 2 t − 1 z + s t 1 − t g θ ( y ) , V = { v − h ⋆ , v h ⋆ } . (35)
Its flow is Φ x , y , t v θ ⋆ ( z 0 ) = t g θ ( y ) + s t z 0 \Phi_{\mathbf{x},\mathbf{y},t}^{v_\theta^\star}(\mathbf{z}_0)=tg_\theta(\mathbf{y})+\sqrt{s_t}\mathbf{z}_0 Φ x , y , t v θ ⋆ ( z 0 ) = t g θ ( y ) + s t z 0 . Lemma 6 verifies Assumption 1 for both candidates, with L t = ∣ 2 t − 1 ∣ / s t L_t=|2t-1|/s_t L t = ∣2 t − 1∣/ s t and ∫ 0 1 L t d t = log 2 \int_0^1L_t\,dt=\log2 ∫ 0 1 L t d t = log 2 . It also gives ξ ∣ h ∼ N ( 0 , I 2 / s t ) \boldsymbol{\xi}\mid h\sim N(0,I_2/s_t) ξ ∣ h ∼ N ( 0 , I 2 / s t ) , verifying Assumption 2 with ν 2 = 2 \nu^2=2 ν 2 = 2 .
Write R θ R_\theta R θ for risk under model θ \theta θ . Only the second velocity coordinate differs, by 2 h ( 1 − t ) ψ ( c / σ τ ) / s t 2h(1-t)\psi(c/\sigma_\tau)/s_t 2 h ( 1 − t ) ψ ( c / σ τ ) / s t in absolute value. Using the integral (51) ,
R θ ( v − θ ⋆ , v θ ⋆ ) = 4 h 2 M 2 ∫ 0 1 ( 1 − t ) 2 s t 2 d t = π h 2 M 2 = ϵ . (36) R_\theta(v_{-\theta}^{\star},v_\theta^{\star})=4h^2M_2\int_0^1\frac{(1-t)^2}{s_t^2}\,dt=\pi h^2M_2=\epsilon. \tag*{(36)} R θ ( v − θ ⋆ , v θ ⋆ ) = 4 h 2 M 2 ∫ 0 1 s t 2 ( 1 − t ) 2 d t = π h 2 M 2 = ϵ . (36)
The same class contains the truth under either model. Since the candidate difference has norm at most 4 h 4h 4 h ,
E θ ∥ v − θ ⋆ ( h ) − v θ ⋆ ( h ) ∥ 4 ≤ 16 h 2 R θ ( v − θ ⋆ , v θ ⋆ ) = 16 π M 2 R θ ( v − θ ⋆ , v θ ⋆ ) 2 . \mathbb{E}_\theta\left\|v_{-\theta}^{\star}(\mathbf{h})-v_\theta^{\star}(\mathbf{h})\right\|^4\le16h^2R_\theta(v_{-\theta}^{\star},v_\theta^{\star})=\frac{16}{\pi M_2}R_\theta(v_{-\theta}^{\star},v_\theta^{\star})^2. E θ v − θ ⋆ ( h ) − v θ ⋆ ( h ) 4 ≤ 16 h 2 R θ ( v − θ ⋆ , v θ ⋆ ) = π M 2 16 R θ ( v − θ ⋆ , v θ ⋆ ) 2 .
This verifies Assumption 3 with the universal constant C 4 → 2 4 = 16 / ( π M 2 ) C_{4\to2}^{4}=16/(\pi M_2) C 4 → 2 4 = 16/ ( π M 2 ) .
The candidates thus satisfy the flow and moment assumptions and have risk separation ϵ \epsilon ϵ . To show that a short trajectory cannot reliably distinguish them, we exhibit an event on which their observations coincide. Couple the two models using the same source trajectory, Gaussian noises, C C C -trajectory, and auxiliary randomness of the estimator. On E = { C − 1 , C 0 , … , C m − 1 ≥ 0 } E=\{C_{-1},C_0,\ldots,C_{m-1}\ge0\} E = { C − 1 , C 0 , … , C m − 1 ≥ 0 } , the observed ( U 0 , … , U m ) (U_0,\ldots,U_m) ( U 0 , … , U m ) equal ( ζ 0 , … , ζ m ) (\zeta_0,\ldots,\zeta_m) ( ζ 0 , … , ζ m ) under both models. Thus the data agree on E E E , including the initial observation U 0 U_0 U 0 . Let ( Z s ) s ≥ 0 (Z_s)_{s\ge0} ( Z s ) s ≥ 0 be a stationary Ornstein–Uhlenbeck process with covariance E [ Z s Z t ] = e − ∣ s − t ∣ \mathbb{E}[Z_sZ_t]=e^{-|s-t|} E [ Z s Z t ] = e − ∣ s − t ∣ . The vectors ( C − 1 , … , C m − 1 ) / σ τ (C_{-1},\ldots,C_{m-1})/\sigma_\tau ( C − 1 , … , C m − 1 ) / σ τ and ( Z 0 , Z 1 / τ , … , Z m / τ ) (Z_0,Z_{1/\tau},\ldots,Z_{m/\tau}) ( Z 0 , Z 1/ τ , … , Z m / τ ) have the same centered Gaussian law. Continuous nonnegativity implies nonnegativity at these sampled times. The survival formula in Aurzada and Baumgarten [3 ] , evaluated at time 2 m / τ 2m/\tau 2 m / τ to account for their covariance e − ∣ s − t ∣ / 2 e^{-|s-t|/2} e − ∣ s − t ∣/2 , gives
P ( E ) ≥ P ( Z s ≥ 0 for all s ∈ [ 0 , m / τ ] ) = 1 π arcsin ( e − m / τ ) ≥ 1 2 π e − m / τ . (37) \mathbb{P}(E)\ge\mathbb{P}(Z_s\ge0\text{ for all }s\in[0,m/\tau])=\frac{1}{\pi}\arcsin(e^{-m/\tau})\ge\frac{1}{2\pi}e^{-m/\tau}. \tag*{(37)} P ( E ) ≥ P ( Z s ≥ 0 for all s ∈ [ 0 , m / τ ]) = π 1 arcsin ( e − m / τ ) ≥ 2 π 1 e − m / τ . (37)
Since the estimator takes values in V = { v − h ⋆ , v h ⋆ } \mathcal{V}=\{\mathbf{v}_{-h}^{\star},\mathbf{v}_{h}^{\star}\} V = { v − h ⋆ , v h ⋆ } , let p p p be its conditional probability of returning v h ⋆ \mathbf{v}_{h}^{\star} v h ⋆ given E E E . The conditional data law is the same under both models, so the conditional error probabilities are p p p under θ = − h \theta=-h θ = − h and 1 − p 1-p 1 − p under θ = h \theta=h θ = h . Their maximum is at least 1 / 2 1/2 1/2 . Together with (36) , the two-point argument gives
max θ ∈ { − h , h } P θ ( R θ ( v ~ , v θ ⋆ ) ≥ ϵ ) ≥ 1 2 P ( E ) ≥ 1 2 π e − m / τ . (38) \max_{\theta\in\{-h,h\}}\mathbb{P}_{\theta}\left(R_{\theta}(\widetilde{\mathbf{v}},\mathbf{v}_{\theta}^{\star})\ge\epsilon\right)\ge\frac{1}{2}\mathbb{P}(E)\ge\frac{1}{2\pi}e^{-m/\tau}. \tag*{(38)} θ ∈ { − h , h } max P θ ( R θ ( v , v θ ⋆ ) ≥ ϵ ) ≥ 2 1 P ( E ) ≥ 2 π 1 e − m / τ . (38)
It remains to verify that τ \tau τ is proportional to the observation mixing time. Write τ m i x , θ ( α ) \tau_{\mathrm{mix},\theta}(\alpha) τ mix , θ ( α ) for the observation mixing time under model θ \theta θ , as defined in (18) . Let π C = N ( 0 , σ τ 2 ) \pi_C=N(0,\sigma_\tau^2) π C = N ( 0 , σ τ 2 ) and let β k C \beta_k^C β k C be the stationary-average coefficient of ( C i ) (C_i) ( C i ) . The joint-law identity (58) , applied to this chain, gives β k C = ∥ Law ( C 0 , C k ) − π C ⊗ π C ∥ T V \beta_k^C=\|\operatorname{Law}(C_0,C_k)-\pi_C\otimes\pi_C\|_{\mathrm{TV}} β k C = ∥ Law ( C 0 , C k ) − π C ⊗ π C ∥ TV . For r = a k r=a^k r = a k , the relative entropy of the joint standardized Gaussian pair ( C 0 / σ τ , C k / σ τ ) (C_0/\sigma_\tau,C_k/\sigma_\tau) ( C 0 / σ τ , C k / σ τ ) with respect to two independent standard Gaussians is − 1 2 log ( 1 − r 2 ) -\frac{1}{2}\log(1-r^2) − 2 1 log ( 1 − r 2 ) , as computed in (59) . Pinsker’s inequality (Canonne, [9 ] ) gives the upper bound below. For the lower bound, the bivariate Gaussian sign formula (Aurzada and Baumgarten, [3 ] ) shows that the probability that C 0 , C k C_0,C_k C 0 , C k have the same sign exceeds its value under independence by arcsin ( a k ) / π \arcsin(a^k)/\pi arcsin ( a k ) / π . Thus, for k ≥ 1 k\ge1 k ≥ 1 ,
1 π arcsin ( a k ) ≤ β k C ≤ 1 2 − log ( 1 − a 2 k ) . \frac{1}{\pi}\arcsin(a^k)\le\beta_k^C\le\frac{1}{2}\sqrt{-\log(1-a^{2k})}. π 1 arcsin ( a k ) ≤ β k C ≤ 2 1 − log ( 1 − a 2 k ) .
For ℓ ≥ 3 \ell\ge3 ℓ ≥ 3 , conditional on o 0 \mathbf{o}_0 o 0 , the law of C ℓ − 1 C_{\ell-1} C ℓ − 1 depends only on C 1 C_1 C 1 and is the ( ℓ − 2 ) (\ell-2) ( ℓ − 2 ) -step Gaussian transition law. Given C ℓ − 1 C_{\ell-1} C ℓ − 1 , draw C ℓ , C ℓ + 1 C_\ell,C_{\ell+1} C ℓ , C ℓ + 1 and the independent noises defining U ℓ , U ℓ + 1 U_\ell,U_{\ell+1} U ℓ , U ℓ + 1 , as well as the independent source pair. This constructs o ℓ \mathbf{o}_\ell o ℓ by a common Markov kernel. The contraction bound (24) gives the upper bound below; projecting ( o 0 , o ℓ ) (\mathbf{o}_0,\mathbf{o}_\ell) ( o 0 , o ℓ ) onto ( C 1 , C ℓ ) (C_1,C_\ell) ( C 1 , C ℓ ) gives the lower bound:
β ℓ − 1 C ≤ β ℓ ≤ β ℓ − 2 C . (39) \beta_{\ell-1}^C\le\beta_\ell\le\beta_{\ell-2}^C. \tag*{(39)} β ℓ − 1 C ≤ β ℓ ≤ β ℓ − 2 C . (39)
The lower bound also holds for ℓ = 2 \ell=2 ℓ = 2 , and β 1 = 1 \beta_1=1 β 1 = 1 since adjacent observations share the continuous coordinate C 1 C_1 C 1 . Since arcsin ( e − 1 / 4 ) / π > 1 / 4 \arcsin(e^{-1/4})/\pi>1/4 arcsin ( e − 1/4 ) / π > 1/4 and − log ( 1 − e − 2 ) / 2 < 1 / 4 \sqrt{-\log(1-e^{-2})}/2<1/4 − log ( 1 − e − 2 ) /2 < 1/4 , these bounds imply, under both models,
τ 4 ≤ τ m i x , θ ( 1 / 4 ) ≤ τ + 2 ≤ 3 τ . \frac{\tau}{4}\le\tau_{\mathrm{mix},\theta}(1/4)\le\tau+2\le3\tau. 4 τ ≤ τ mix , θ ( 1/4 ) ≤ τ + 2 ≤ 3 τ .
The source is iid, and the target is a projection of the mixing observation process, so both satisfy Model 2. With the mixing-time comparison established, an estimator that succeeds under both models with probability at least 1 − δ 1-\delta 1 − δ must satisfy, by (38) ,
m ≥ τ log 1 2 π δ ≥ 1 3 τ m i x , θ ( 1 / 4 ) log 1 2 π δ for either θ , m\ge\tau\log\frac{1}{2\pi\delta}\ge\frac{1}{3}\tau_{\mathrm{mix},\theta}(1/4)\log\frac{1}{2\pi\delta}\quad\text{for either }\theta, m ≥ τ log 2 π δ 1 ≥ 3 1 τ mix , θ ( 1/4 ) log 2 π δ 1 for either θ ,
which proves (23) .
Comparison of mixing tolerances
Remark (Comparing the upper and lower bounds). To compare the bounds, we relate the estimation spacing K = τ m i x ( δ / ( 3 m ) ) K = \tau_{\mathrm{mix}}(\delta/(3m)) K = τ mix ( δ / ( 3 m )) to τ m i x \tau_{\mathrm{mix}} τ mix . If β ℓ ≤ c 0 exp ( − c 1 ℓ / τ m i x ) \beta_\ell\le c_0 \exp(-c_1\ell/\tau_{\mathrm{mix}}) β ℓ ≤ c 0 exp ( − c 1 ℓ / τ mix ) for all ℓ ≥ 1 \ell\ge1 ℓ ≥ 1 and universal c 0 ≥ 1 c_0 \ge1 c 0 ≥ 1 , c 1 > 0 c_1 > 0 c 1 > 0 , then
τ m i x ( δ / ( 3 m ) ) ≤ ⌈ τ m i x c 1 log 3 c 0 m δ ⌉ . \tau_{\mathrm{mix}}(\delta/(3m)) \le\left\lceil\frac{\tau_{\mathrm{mix}}}{c_1}\log\frac{3c_0m}{\delta}\right\rceil. τ mix ( δ / ( 3 m )) ≤ ⌈ c 1 τ mix log δ 3 c 0 m ⌉ .
If we strengthen the mixing assumption in Model 2 to require finite worst-case mixing time τ w c ( 1 / 4 ) \tau_{\mathrm{wc}}(1/4) τ wc ( 1/4 ) for the observation process ( o i ) (o_i) ( o i ) , with τ w c \tau_{\mathrm{wc}} τ wc defined in § 2 , then
τ m i x ( δ / ( 3 m ) ) ≤ τ w c ( δ / ( 3 m ) ) ≤ τ w c ( 1 / 4 ) ⌈ log 2 3 m δ ⌉ ⏟ K . \tau_{\mathrm{mix}}(\delta/(3m)) \le\tau_{\mathrm{wc}}(\delta/(3m)) \le\tau_{\mathrm{wc}}(1/4)\underbrace{\left\lceil\log_2\frac{3m}{\delta}\right\rceil}_{K}. τ mix ( δ / ( 3 m )) ≤ τ wc ( δ / ( 3 m )) ≤ τ wc ( 1/4 ) K ⌈ log 2 δ 3 m ⌉ .
by total-variation contraction (Levin and Peres, [24 ] , Lemmas 4.10–4.11 and (4.34)). This choice satisfies m β K ≤ δ / 3 m\beta_K \le\delta/3 m β K ≤ δ /3 . The proof of Theorem 1 therefore applies with this K K K in both its risk bound and sample-size condition. The Gaussian models in Proposition 3 satisfy the exponential stationary-average profile above, by (39) and its Gaussian bounds. Their worst-case mixing time is infinite: conditional on C 1 = c C_1 = c C 1 = c , the mean of C ℓ C_\ell C ℓ is a ℓ − 1 c a^{\ell-1}c a ℓ − 1 c , which is unbounded as ∣ c ∣ |c| ∣ c ∣ grows, while its conditional variance is fixed. Thus d ℓ w c = 1 d_\ell^{\mathrm{wc}} = 1 d ℓ wc = 1 at every finite lag.
Accuracy of generated states and trajectories
The estimation theorem controls velocity error at stationary training pairs, but the learned recursion visits pairs drawn from its own rollout distribution. We connect these errors through the concentrability condition (41) , then use contraction of the target transitions to control their accumulation across steps. Throughout this subsection, laws and expectations involving a fitted velocity are taken with the training data held fixed. For a candidate velocity v ∈ V \mathbf{v} \in\mathcal{V} v ∈ V , let y ^ i v \hat{\mathbf{y}}_i^{\mathbf{v}} y ^ i v be its rollout in (5) using Φ v \Phi^{\mathbf{v}} Φ v and an initialization y ^ 0 ∼ μ ^ 0 \hat{\mathbf{y}}_0 \sim\hat{\mu}_0 y ^ 0 ∼ μ ^ 0 independent of the fresh source and training data. Write Γ i v = Law ( x i ′ , y ^ i v ) \Gamma_i^{\mathbf{v}} = \operatorname{Law}(x'_i,\hat{\mathbf{y}}_i^{\mathbf{v}}) Γ i v = Law ( x i ′ , y ^ i v ) for the distribution of the source and generated state pair. The velocity error at a fixed pair is
ℓ v ( x , y ) = ∫ 0 1 E q t ∣ x , y ∥ v t ( z , x , y ) − v t ⋆ ( z , x , y ) ∥ 2 d t , R ( v , v ⋆ ) = E π X ⊗ π Y ℓ v . (40) \ell_{\mathbf{v}}(\mathbf{x},\mathbf{y}) = \int_0^1 \mathbb{E}_{q_t\mid\mathbf{x},\mathbf{y}}\left\|\mathbf{v}_t(\mathbf{z},\mathbf{x},\mathbf{y})-\mathbf{v}_t^\star(\mathbf{z},\mathbf{x},\mathbf{y})\right\|^2\,\mathrm{d}t,\qquad R(\mathbf{v},\mathbf{v}^\star)=\mathbb{E}_{\pi_X\otimes\pi_Y}\ell_{\mathbf{v}}. \tag*{(40)} ℓ v ( x , y ) = ∫ 0 1 E q t ∣ x , y ∥ v t ( z , x , y ) − v t ⋆ ( z , x , y ) ∥ 2 d t , R ( v , v ⋆ ) = E π X ⊗ π Y ℓ v . (40)
The next theorem assumes that the error under Γ i v \Gamma_i^{\mathbf{v}} Γ i v is controlled by its training average and combines this with target contraction.
Theorem 2 (Finite-sample rollout). *Under the assumptions of Theorem 1 and Assumption 1, fix ϵ > 0 \epsilon> 0 ϵ > 0 , δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , and an integer n ≥ 1 n \ge1 n ≥ 1 . Suppose the candidate rollouts are well-defined, every candidate is L ^ t \hat{L}_t L ^ t -Lipschitz in z \mathbf{z} z , uniformly over current-state pairs, for a common nonnegative function L ^ t \hat{L}_t L ^ t with Λ = ∫ 0 1 L ^ t d t < ∞ \Lambda= \int_0^1 \hat{L}_t\,\mathrm{d}t < \infty Λ = ∫ 0 1 L ^ t d t < ∞ . Suppose, for some finite C r o l l ≥ 1 C_{\mathrm{roll}} \ge1 C roll ≥ 1 ,
E Γ i v ℓ v ≤ C r o l l R ( v , v ⋆ ) for all v ∈ V , 0 ≤ i < n . (41) \mathbb{E}_{\Gamma_i^{\mathbf{v}}}\ell_{\mathbf{v}} \le C_{\mathrm{roll}}R(\mathbf{v},\mathbf{v}^\star)\qquad\text{for all }\mathbf{v}\in\mathcal{V},\quad0\le i<n. \tag*{(41)} E Γ i v ℓ v ≤ C roll R ( v , v ⋆ ) for all v ∈ V , 0 ≤ i < n . (41) Suppose the target transitions and π Y \pi_Y π Y have finite second moments, a 0 = W 2 ( μ ^ 0 , π Y ) < ∞ a_0 = W_2(\hat{\mu}_0,\pi_Y) < \infty a 0 = W 2 ( μ ^ 0 , π Y ) < ∞ , and W 2 ( P Y ( y , ⋅ ) , P Y ( y ′ , ⋅ ) ) ≤ ρ ∥ y − y ′ ∥ W_2(P_Y(\mathbf{y},\cdot),P_Y(\mathbf{y}',\cdot)) \le\rho\|\mathbf{y}-\mathbf{y}'\| W 2 ( P Y ( y , ⋅ ) , P Y ( y ′ , ⋅ )) ≤ ρ ∥ y − y ′ ∥ for some 0 ≤ ρ < 1 0\le\rho<1 0 ≤ ρ < 1 . If m m m satisfies (2) , then, with probability at least 1 − δ 1-\delta 1 − δ over the training trajectories, the rollout using the exact ODE flow of v ^ \hat{\mathbf{v}} v ^ satisfies
W 2 ( Law ( y ^ n ) , π Y ) ≤ ρ n a 0 + e Λ C r o l l ϵ 1 − ρ . (42) W_2(\operatorname{Law}(\hat{\mathbf{y}}_n),\pi_Y)\le\rho^n a_0+\frac{e^{\Lambda}\sqrt{C_{\mathrm{roll}}\epsilon}}{1-\rho}. \tag*{(42)} W 2 ( Law ( y ^ n ) , π Y ) ≤ ρ n a 0 + 1 − ρ e Λ C roll ϵ . (42)
The bound separates the decaying initialization error from the accumulated estimation error, whose amplification by the target dynamics is at most 1 / ( 1 − ρ ) 1/(1-\rho) 1/ ( 1 − ρ ) . The concentrability condition (41) transfers training accuracy to generated state pairs, as in offline reinforcement learning [51 Section 4.3, (16b] .
Proposition 4 converts conditional velocity error to transition error, and Proposition 5 propagates this error along the trajectory. We condition on the fitted velocity when applying these deterministic bounds, then use Theorem 1 to prove the finite-sample guarantee.
Assumption 4 (Learned velocity Lipschitz bound). There is a nonnegative integrable function L ^ t \widehat{L}_t L t such that, for every current-state pair used in the result, all z , z ′ ∈ R d \mathbf{z},\mathbf{z}' \in\mathbb{R}^{d} z , z ′ ∈ R d , and almost every t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] ,
∥ v ^ t ( z , x , y ) − v ^ t ( z ′ , x , y ) ∥ ≤ L ^ t ∥ z − z ′ ∥ , Λ = ∫ 0 1 L ^ t d t < ∞ . (43) \left\|\widehat{v}_t(\mathbf{z},\mathbf{x},\mathbf{y})-\widehat{v}_t(\mathbf{z}',\mathbf{x},\mathbf{y})\right\| \le\widehat{L}_t\left\|\mathbf{z}-\mathbf{z}'\right\|,\qquad\Lambda=\int_{0}^{1}\widehat{L}_t\,\mathrm{d}t<\infty. \tag*{(43)} ∥ v t ( z , x , y ) − v t ( z ′ , x , y ) ∥ ≤ L t ∥ z − z ′ ∥ , Λ = ∫ 0 1 L t d t < ∞. (43)
A uniform Lipschitz bound on the learned velocity is also used by Bansal et al. [5 ] Assumption 1(b); here the bound may vary with flow time. Every candidate in Appendix § 9 satisfies it with Λ = log 2 \Lambda=\log2 Λ = log 2 .
Proposition 4 (One-transition error). Under Assumptions 1 and 4 at ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) , the learned transition map satisfies
W 2 2 ( ( Φ ^ x , y ) # P X ( x , ⋅ ) , P Y ( y , ⋅ ) ) ≤ e 2 Λ ℓ v ^ ( x , y ) , (44) W_2^2\left((\widehat{\Phi}_{\mathbf{x},\mathbf{y}})_{\#}P_X(\mathbf{x},\cdot),P_Y(\mathbf{y},\cdot)\right)\le e^{2\Lambda}\ell_{\widehat{v}}(\mathbf{x},\mathbf{y}), \tag*{(44)} W 2 2 ( ( Φ x , y ) # P X ( x , ⋅ ) , P Y ( y , ⋅ ) ) ≤ e 2Λ ℓ v ( x , y ) , (44) where ℓ v ^ \ell_{\widehat{v}} ℓ v is the conditional risk in (40) .
Proof of Proposition 4. We start the two flows from the same source draw and bound their separation using Gronwall’s inequality. The population transport identity then converts this coupling cost to the claimed Wasserstein bound.
Fix current-state values ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) and start both flows from the same x + ∼ P X ( x , ⋅ ) \mathbf{x}^{+}\sim P_X(\mathbf{x},\cdot) x + ∼ P X ( x , ⋅ ) . All laws and expectations below are over this source draw, with ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) held fixed. Write z t ⋆ = Φ x , y , t v ⋆ ( x + ) \mathbf{z}^{\star}_t=\Phi^{v^{\star}}_{\mathbf{x},\mathbf{y},t}(\mathbf{x}^{+}) z t ⋆ = Φ x , y , t v ⋆ ( x + ) , z ^ t = Φ ^ x , y , t ( x + ) \widehat{\mathbf{z}}_t=\widehat{\Phi}_{\mathbf{x},\mathbf{y},t}(\mathbf{x}^{+}) z t = Φ x , y , t ( x + ) , and b t = ∥ v ^ t ( z t ⋆ , x , y ) − v t ⋆ ( z t ⋆ , x , y ) ∥ b_t=\left\|\widehat{v}_t(\mathbf{z}^{\star}_t,\mathbf{x},\mathbf{y})-v^{\star}_t(\mathbf{z}^{\star}_t,\mathbf{x},\mathbf{y})\right\| b t = ∥ v t ( z t ⋆ , x , y ) − v t ⋆ ( z t ⋆ , x , y ) ∥ . Subtract the two ODEs and apply Assumption 4 to obtain
∥ z ^ t − z t ⋆ ∥ ≤ ∫ 0 t ( L ^ s ∥ z ^ s − z s ⋆ ∥ + b s ) d s . \left\|\widehat{\mathbf{z}}_t-\mathbf{z}^{\star}_t\right\|\le\int_{0}^{t}\left(\widehat{L}_s\left\|\widehat{\mathbf{z}}_s-\mathbf{z}^{\star}_s\right\|+b_s\right)\,\mathrm{d}s. ∥ z t − z t ⋆ ∥ ≤ ∫ 0 t ( L s ∥ z s − z s ⋆ ∥ + b s ) d s .
Gronwall’s inequality and Cauchy–Schwarz give
E ∥ z ^ 1 − z 1 ⋆ ∥ 2 ≤ E ( ∫ 0 1 e ∫ t 1 L ^ s d s b t d t ) 2 ≤ e 2 Λ ∫ 0 1 E b t 2 d t . \mathbb{E}\left\|\widehat{\mathbf{z}}_1-\mathbf{z}^{\star}_1\right\|^2\le\mathbb{E}\left(\int_{0}^{1}e^{\int_{t}^{1}\widehat{L}_s\,\mathrm{d}s}b_t\,\mathrm{d}t\right)^2\le e^{2\Lambda}\int_{0}^{1}\mathbb{E}b_t^2\,\mathrm{d}t. E ∥ z 1 − z 1 ⋆ ∥ 2 ≤ E ( ∫ 0 1 e ∫ t 1 L s d s b t d t ) 2 ≤ e 2Λ ∫ 0 1 E b t 2 d t .
To express the right side in terms of conditional velocity error, Proposition 1 gives Law ( z t ⋆ ) = q t ∣ x , y \operatorname{Law}(\mathbf{z}^{\star}_t)=q_{t\mid\mathbf{x},\mathbf{y}} Law ( z t ⋆ ) = q t ∣ x , y , so the right side is e 2 Λ ℓ v ^ ( x , y ) e^{2\Lambda}\ell_{\widehat{v}}(\mathbf{x},\mathbf{y}) e 2Λ ℓ v ( x , y ) . At t = 1 t=1 t = 1 , the coupled endpoints have the two laws in (44) , proving the bound. □ \square □
For a fixed measurable transition map Φ x , y \Phi_{\mathbf{x},\mathbf{y}} Φ x , y and its rollout (5) , let P ~ x , y = ( Φ x , y ) # P X ( x , ⋅ ) \widetilde{P}_{\mathbf{x},\mathbf{y}}=(\Phi_{\mathbf{x},\mathbf{y}})_{\#}P_X(\mathbf{x},\cdot) P x , y = ( Φ x , y ) # P X ( x , ⋅ ) and define
e i 2 = E W 2 2 ( P ~ x ^ i , y ^ i , P Y ( y ^ i , ⋅ ) ) . (45) e_i^2=\mathbb{E}W_2^2\left(\widetilde{P}_{\widehat{x}_i,\widehat{y}_i},P_Y(\widehat{y}_i,\cdot)\right). \tag*{(45)} e i 2 = E W 2 2 ( P x i , y i , P Y ( y i , ⋅ ) ) . (45)
To propagate this error, we assume that the target kernel is Lipschitz in W 2 W_2 W 2 .
Assumption 5 (Target kernel Lipschitz bound). The target transition distributions have finite second moments, and there is a finite constant ρ ≥ 0 \rho\ge0 ρ ≥ 0 such that, for all y , y ′ ∈ R d \mathbf{y},\mathbf{y}' \in\mathbb{R}^{d} y , y ′ ∈ R d ,
W 2 ( P Y ( y , ⋅ ) , P Y ( y ′ , ⋅ ) ) ≤ ρ ∥ y − y ′ ∥ . (46) W_{2}(P_Y(\mathbf{y},\cdot),P_Y(\mathbf{y}',\cdot)) \le\rho\lVert\mathbf{y}-\mathbf{y}'\rVert. \tag*{(46)} W 2 ( P Y ( y , ⋅ ) , P Y ( y ′ , ⋅ )) ≤ ρ ∥ y − y ′ ∥ . (46) For example, consider transitions g ( y ) + η \mathbf{g}(\mathbf{y})+\boldsymbol{\eta} g ( y ) + η , where g : R d → R d \mathbf{g}:\mathbb{R}^{d}\to\mathbb{R}^{d} g : R d → R d is ρ \rho ρ -Lipschitz and the noise law is independent of y \mathbf{y} y with E ∥ η ∥ 2 < ∞ \mathbb{E}\lVert\boldsymbol{\eta}\rVert^{2}<\infty E ∥ η ∥ 2 < ∞ . Use the same noise at both states. This gives W 2 ( P Y ( y , ⋅ ) , P Y ( y ′ , ⋅ ) ) ≤ ∥ g ( y ) − g ( y ′ ) ∥ ≤ ρ ∥ y − y ′ ∥ W_{2}(P_Y(\mathbf{y},\cdot),P_Y(\mathbf{y}',\cdot))\le\lVert\mathbf{g}(\mathbf{y})-\mathbf{g}(\mathbf{y}')\rVert\le\rho\lVert\mathbf{y}-\mathbf{y}'\rVert W 2 ( P Y ( y , ⋅ ) , P Y ( y ′ , ⋅ )) ≤ ∥ g ( y ) − g ( y ′ )∥ ≤ ρ ∥ y − y ′ ∥ .
Proposition 5 (Rollout recursion). Under Model 1 and Assumption 5, suppose P Y P_Y P Y has a stationary distribution π Y \pi_Y π Y with finite second moment. Fix measurable transition maps Φ x , y \Phi_{\mathbf{x},\mathbf{y}} Φ x , y and generate by (5) , with y ^ 0 ∼ μ ^ 0 \widehat{\mathbf{y}}_0\sim\widehat{\mu}_0 y 0 ∼ μ 0 independently of the fresh source. Suppose a 0 = W 2 ( μ ^ 0 , π Y ) < ∞ a_0=W_2(\widehat{\mu}_0,\pi_Y)<\infty a 0 = W 2 ( μ 0 , π Y ) < ∞ and the errors e i e_i e i in (45) are finite. With a i + 1 = ρ a i + e i a_{i+1}=\rho a_i+e_i a i + 1 = ρ a i + e i ,
W 2 ( Law ( y ^ n ) , π Y ) ≤ a n = ρ n a 0 + ∑ i = 0 n − 1 ρ n − 1 − i e i . W_2(\operatorname{Law}(\widehat{\mathbf{y}}_n),\pi_Y)\le a_n=\rho^n a_0+\sum_{i=0}^{n-1}\rho^{n-1-i}e_i. W 2 ( Law ( y n ) , π Y ) ≤ a n = ρ n a 0 + i = 0 ∑ n − 1 ρ n − 1 − i e i . For a stationary target trajectory y 0 : n \mathbf{y}_{0:n} y 0 : n , the joint laws satisfy
W 2 , d n 2 ( Law ( y ^ 0 : n ) , Law ( y 0 : n ) ) ≤ ∑ i = 0 n a i 2 , d n 2 ( y , z ) = ∑ i = 0 n ∥ y i − z i ∥ 2 , (47) W_{2,d_n}^{2}(\operatorname{Law}(\widehat{\mathbf{y}}_{0:n}),\operatorname{Law}(\mathbf{y}_{0:n}))\le\sum_{i=0}^{n}a_i^2,\qquad d_n^2(\mathbf{y},\mathbf{z})=\sum_{i=0}^{n}\lVert\mathbf{y}_i-\mathbf{z}_i\rVert^2, \tag*{(47)} W 2 , d n 2 ( Law ( y 0 : n ) , Law ( y 0 : n )) ≤ i = 0 ∑ n a i 2 , d n 2 ( y , z ) = i = 0 ∑ n ∥ y i − z i ∥ 2 , (47) where W 2 , d n W_{2,d_n} W 2 , d n uses the trajectory metric d n d_n d n .
Proof of Proposition 5. We couple the generated and stationary target trajectories while preserving the source transitions. We then bound the coupling cost recursively, iterate for the marginal guarantee, and sum the costs for the trajectory guarantee.
Couple ( y ^ 0 , y 0 ) (\widehat{\mathbf{y}}_0,\mathbf{y}_0) ( y 0 , y 0 ) optimally, independently of the fresh source. At each step, let H i \mathcal{H}_i H i be the joint history of the source, generated, and comparison trajectories through time i i i , including the auxiliary randomness already used. We construct this history from x 0 : i ′ \mathbf{x}'_{0:i} x 0 : i ′ and randomness independent of the full source trajectory. The Markov and tower-property argument of Lemma 1 therefore gives
Law ( x i + 1 ′ ∣ H i ) = P X ( x i ′ , ⋅ ) , Law ( y ^ i + 1 ∣ H i ) = P ~ x i ′ , y ^ i . \operatorname{Law}(\mathbf{x}'_{i+1}\mid\mathcal{H}_i)=P_X(\mathbf{x}'_i,\cdot),\qquad\operatorname{Law}(\widehat{\mathbf{y}}_{i+1}\mid\mathcal{H}_i)=\widetilde{P}_{\mathbf{x}'_i,\widehat{\mathbf{y}}_i}. Law ( x i + 1 ′ ∣ H i ) = P X ( x i ′ , ⋅ ) , Law ( y i + 1 ∣ H i ) = P x i ′ , y i .
Keep this source transition and its generated output. Conditional on H i \mathcal{H}_i H i , couple that output optimally to u i + 1 ∼ P Y ( y ^ i , ⋅ ) \mathbf{u}_{i+1}\sim P_Y(\widehat{\mathbf{y}}_i,\cdot) u i + 1 ∼ P Y ( y i , ⋅ ) , and couple u i + 1 \mathbf{u}_{i+1} u i + 1 optimally to y i + 1 ∼ P Y ( y i , ⋅ ) \mathbf{y}_{i+1}\sim P_Y(\mathbf{y}_i,\cdot) y i + 1 ∼ P Y ( y i , ⋅ ) . Measurable optimal couplings, disintegration, and gluing on R d \mathbb{R}^{d} R d justify these conditional draws ([46 Chapter 1 and Corollary 5.22] ). They use only the history, the generated output, and fresh auxiliary randomness, so future source transitions are unchanged. The comparison process has conditional transition law P Y ( y i , ⋅ ) P_Y(\mathbf{y}_i,\cdot) P Y ( y i , ⋅ ) and hence the stationary target trajectory law.
To bound the cost of this coupling, let Δ i = ( E ∥ y ^ i − y i ∥ 2 ) 1 / 2 \Delta_i=(\mathbb{E}\lVert\widehat{\mathbf{y}}_i-\mathbf{y}_i\rVert^2)^{1/2} Δ i = ( E ∥ y i − y i ∥ 2 ) 1/2 . By the definition of e i e_i e i in (45) and Assumption 5, the two costs satisfy
E ∥ y ^ i + 1 − u i + 1 ∥ 2 = e i 2 , E [ ∥ u i + 1 − y i + 1 ∥ 2 ∣ H i ] ≤ ρ 2 ∥ y ^ i − y i ∥ 2 . \mathbb{E}\lVert\widehat{\mathbf{y}}_{i+1}-\mathbf{u}_{i+1}\rVert^2=e_i^2,\qquad\mathbb{E}\left[\lVert\mathbf{u}_{i+1}-\mathbf{y}_{i+1}\rVert^2\mid\mathcal{H}_i\right]\le\rho^2\lVert\widehat{\mathbf{y}}_i-\mathbf{y}_i\rVert^2. E ∥ y i + 1 − u i + 1 ∥ 2 = e i 2 , E [ ∥ u i + 1 − y i + 1 ∥ 2 ∣ H i ] ≤ ρ 2 ∥ y i − y i ∥ 2 .
Minkowski’s inequality now gives
Δ i + 1 ≤ ( E ∥ y ^ i + 1 − u i + 1 ∥ 2 ) 1 / 2 + ( E ∥ u i + 1 − y i + 1 ∥ 2 ) 1 / 2 \Delta_{i+1}\le\left(\mathbb{E}\lVert\widehat{\mathbf{y}}_{i+1}-\mathbf{u}_{i+1}\rVert^2\right)^{1/2}+\left(\mathbb{E}\lVert\mathbf{u}_{i+1}-\mathbf{y}_{i+1}\rVert^2\right)^{1/2} Δ i + 1 ≤ ( E ∥ y i + 1 − u i + 1 ∥ 2 ) 1/2 + ( E ∥ u i + 1 − y i + 1 ∥ 2 ) 1/2
≤ e i + ρ Δ i \le e_i+\rho\Delta_i ≤ e i + ρ Δ i .
Since Δ 0 = a 0 \Delta_0=a_0 Δ 0 = a 0 , induction gives Δ i ≤ a i \Delta_i\le a_i Δ i ≤ a i , and solving the recursion for a i a_i a i yields the marginal bound. For the joint law, the same coupling has expected trajectory cost E ∑ i = 0 n ∥ y ^ i − y i ∥ 2 = ∑ i = 0 n Δ i 2 ≤ ∑ i = 0 n a i 2 \mathbb{E}\sum_{i=0}^{n}\|\widehat{y}_i-y_i\|^2=\sum_{i=0}^{n}\Delta_i^2\le\sum_{i=0}^{n}a_i^2 E ∑ i = 0 n ∥ y i − y i ∥ 2 = ∑ i = 0 n Δ i 2 ≤ ∑ i = 0 n a i 2 , which proves (47) .
The concentrability condition (41) is uniform over V \mathcal{V} V , so it applies to the fitted candidate. The constant C r o l l C_{\mathrm{roll}} C roll may depend on the horizon, source initialization, and target initialization; a bound uniform in the horizon requires the same constant for all i i i . Appendix § 13 .§ 3 gives the precise comparison with off-policy evaluation. Verifying this condition for broader model classes remains an open question.
For example, if Γ i V \Gamma_i^{\mathcal{V}} Γ i V has density at most M M M relative to π X ⊗ π Y \pi_X\otimes\pi_Y π X ⊗ π Y , uniformly over candidates and times, then (41) holds with C r o l l = M C_{\mathrm{roll}}=M C roll = M .
Proof of Theorem 2. We use the estimation theorem to bound population risk, then concentrability to control transition error at generated states. The rollout recursion and a geometric sum give the result.
Under (2) , Theorem 1 gives R ( v ^ , v ⋆ ) ≤ ϵ R(\widehat{v},v^\star)\le\epsilon R ( v , v ⋆ ) ≤ ϵ with probability at least 1 − δ 1-\delta 1 − δ , as verified in Appendix § 8 .§ 2 . Fix any training sample in this event and use the maps Φ x , y = Φ x , y v ^ \Phi_{x,y}=\Phi^{\widehat{v}}_{x,y} Φ x , y = Φ x , y v in (45) . The common candidate Lipschitz bound gives Assumption 4 for the selected velocity. Proposition 4 and the concentrability condition (41) give, for every i < n i<n i < n ,
e i 2 ≤ e 2 Λ E Γ i v ^ ℓ v ^ ( x , y ) ≤ e 2 Λ C r o l l R ( v ^ , v ⋆ ) . (48) e_i^2\le e^{2\Lambda}\mathbb{E}_{\Gamma_i^{\widehat{v}}}\ell_{\widehat{v}}(x,y)\le e^{2\Lambda}C_{\mathrm{roll}}R(\widehat{v},v^\star). \tag*{(48)} e i 2 ≤ e 2Λ E Γ i v ℓ v ( x , y ) ≤ e 2Λ C roll R ( v , v ⋆ ) . (48)
These errors are finite at every i < n i<n i < n , and the target contraction assumption gives Assumption 5. Thus Proposition 5, with the same source and initialization, gives
W 2 ( Law ( y ^ n ) , π Y ) ≤ ρ n a 0 + e Λ C r o l l R ( v ^ , v ⋆ ) ∑ j = 0 n − 1 ρ j . (49) W_2(\operatorname{Law}(\widehat{y}_n),\pi_Y)\le\rho^n a_0+e^\Lambda\sqrt{C_{\mathrm{roll}}R(\widehat{v},v^\star)}\sum_{j=0}^{n-1}\rho^j. \tag*{(49)} W 2 ( Law ( y n ) , π Y ) ≤ ρ n a 0 + e Λ C roll R ( v , v ⋆ ) j = 0 ∑ n − 1 ρ j . (49)
For 0 ≤ ρ < 1 0\le\rho<1 0 ≤ ρ < 1 , the geometric sum is ( 1 − ρ n ) / ( 1 − ρ ) ≤ ( 1 − ρ ) − 1 (1-\rho^n)/(1-\rho)\le(1-\rho)^{-1} ( 1 − ρ n ) / ( 1 − ρ ) ≤ ( 1 − ρ ) − 1 . Substituting R ( v ^ , v ⋆ ) ≤ ϵ R(\widehat{v},v^\star)\le\epsilon R ( v , v ⋆ ) ≤ ϵ proves (42) . No additional failure probability is incurred.
Gaussian transitions, estimation, and rollout
This example verifies the estimation assumptions explicitly and bounds rollout error by coupling the two recursions with the same Gaussian noise. We first record the conditional calculation also used in the lower bound.
Lemma 6 (Flow between Gaussian transitions). Fix a , b ∈ R d \mathbf{a},\mathbf{b}\in\mathbb{R}^d a , b ∈ R d , draw independent x + ∼ N ( a , I d ) \mathbf{x}^+\sim N(\mathbf{a},I_d) x + ∼ N ( a , I d ) and y + ∼ N ( b , I d ) \mathbf{y}^+\sim N(\mathbf{b},I_d) y + ∼ N ( b , I d ) , and set z t = ( 1 − t ) x + + t y + \mathbf{z}_t=(1-t)\mathbf{x}^++t\mathbf{y}^+ z t = ( 1 − t ) x + + t y + , r = y + − x + \mathbf{r}=\mathbf{y}^+-\mathbf{x}^+ r = y + − x + , and s t = ( 1 − t ) 2 + t 2 s_t=(1-t)^2+t^2 s t = ( 1 − t ) 2 + t 2 . The conditional mean velocity and its ODE flow are
v t ⋆ ( z ) = 2 t − 1 s t z − t s t a + 1 − t s t b , Φ t ( z 0 ) = ( 1 − t ) a + t b + s t ( z 0 − a ) . (50) \mathbf{v}_t^\star(\mathbf{z})=\frac{2t-1}{s_t}\mathbf{z}-\frac{t}{s_t}\mathbf{a}+\frac{1-t}{s_t}\mathbf{b},\qquad\Phi_t(\mathbf{z}_0)=(1-t)\mathbf{a}+t\mathbf{b}+\sqrt{s_t}(\mathbf{z}_0-\mathbf{a}). \tag*{(50)} v t ⋆ ( z ) = s t 2 t − 1 z − s t t a + s t 1 − t b , Φ t ( z 0 ) = ( 1 − t ) a + t b + s t ( z 0 − a ) . (50) For each t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] , the residual v t ⋆ ( z t ) − r \mathbf{v}_t^\star(\mathbf{z}_t)-\mathbf{r} v t ⋆ ( z t ) − r conditional on z t \mathbf{z}_t z t has law N ( 0 , I d / s t ) N(\mathbf{0},I_d/s_t) N ( 0 , I d / s t ) . The velocity satisfies Assumption 1. For each t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] , the map z ↦ v t ⋆ ( z ) \mathbf{z}\mapsto\mathbf{v}_t^\star(\mathbf{z}) z ↦ v t ⋆ ( z ) is Lipschitz with constant L t = ∣ 2 t − 1 ∣ / s t L_t=|2t-1|/s_t L t = ∣2 t − 1∣/ s t , and ∫ 0 1 L t d t = log 2 \int_0^1L_t\,\mathrm{d}t=\log2 ∫ 0 1 L t d t = log 2 .
Proof. Write m t = ( 1 − t ) a + t b \mathbf{m}_t=(1-t)\mathbf{a}+t\mathbf{b} m t = ( 1 − t ) a + t b . The pair ( r , z t ) (\mathbf{r},z_t) ( r , z t ) is jointly Gaussian, with means b − a , m t \mathbf{b}-\mathbf{a},\mathbf{m}_t b − a , m t , variances 2 I d , s t I d 2I_d,s_tI_d 2 I d , s t I d , and cross covariance ( 2 t − 1 ) I d (2t-1)I_d ( 2 t − 1 ) I d . Gaussian conditioning gives
E [ r ∣ z t = z ] = b − a + 2 t − 1 s t ( z − m t ) , Cov ( r ∣ z t ) = ( 2 − ( 2 t − 1 ) 2 s t ) I d = I d s t . \mathbb{E}[\mathbf{r}\mid z_t=z]=\mathbf{b}-\mathbf{a}+\frac{2t-1}{s_t}(z-\mathbf{m}_t),\qquad\operatorname{Cov}(\mathbf{r}\mid z_t)=\left(2-\frac{(2t-1)^2}{s_t}\right)I_d=\frac{I_d}{s_t}. E [ r ∣ z t = z ] = b − a + s t 2 t − 1 ( z − m t ) , Cov ( r ∣ z t ) = ( 2 − s t ( 2 t − 1 ) 2 ) I d = s t I d .
Expanding the mean proves the velocity formula. Since s ˙ t = 2 ( 2 t − 1 ) \dot{s}_t=2(2t-1) s ˙ t = 2 ( 2 t − 1 ) , differentiating the proposed flow gives
d d t Φ t ( z 0 ) = b − a + 2 t − 1 s t ( Φ t ( z 0 ) − m t ) = v t ⋆ ( Φ t ( z 0 ) ) , Φ 0 ( z 0 ) = z 0 . \frac{\mathrm{d}}{\mathrm{d}t}\Phi_t(z_0)=\mathbf{b}-\mathbf{a}+\frac{2t-1}{s_t}\left(\Phi_t(z_0)-\mathbf{m}_t\right)=v_t^\star(\Phi_t(z_0)),\qquad\Phi_0(z_0)=z_0. d t d Φ t ( z 0 ) = b − a + s t 2 t − 1 ( Φ t ( z 0 ) − m t ) = v t ⋆ ( Φ t ( z 0 )) , Φ 0 ( z 0 ) = z 0 .
For all z , z ′ ∈ R d z,z'\in\mathbb{R}^d z , z ′ ∈ R d ,
∥ v t ⋆ ( z ) − v t ⋆ ( z ′ ) ∥ = ∣ 2 t − 1 ∣ s t ∥ z − z ′ ∥ . \left\|v_t^\star(z)-v_t^\star(z')\right\|=\frac{\lvert2t-1\rvert}{s_t}\left\|z-z'\right\|. ∥ v t ⋆ ( z ) − v t ⋆ ( z ′ ) ∥ = s t ∣ 2 t − 1 ∣ ∥ z − z ′ ∥ .
The affine coefficients are bounded because s t ≥ 1 / 2 s_t\ge1/2 s t ≥ 1/2 , and
∫ 0 1 ∣ 2 t − 1 ∣ s t d t = 2 ∫ 1 / 2 1 2 t − 1 s t d t = log s 1 − log s 1 / 2 = log 2. \int_0^1\frac{\lvert2t-1\rvert}{s_t}\,\mathrm{d}t=2\int_{1/2}^1\frac{2t-1}{s_t}\,\mathrm{d}t=\log s_1-\log s_{1/2}=\log2. ∫ 0 1 s t ∣ 2 t − 1 ∣ d t = 2 ∫ 1/2 1 s t 2 t − 1 d t = log s 1 − log s 1/2 = log 2.
These bounds verify Assumption 1.
For s t = ( 1 − t ) 2 + t 2 s_t=(1-t)^2+t^2 s t = ( 1 − t ) 2 + t 2 , symmetry under t ↦ 1 − t t\mapsto1-t t ↦ 1 − t gives the first two equalities below, and the substitution q = 2 t − 1 q=2t-1 q = 2 t − 1 gives the last:
∫ 0 1 t 2 s t 2 d t = ∫ 0 1 ( 1 − t ) 2 s t 2 d t = 1 2 ∫ 0 1 d t s t = π 4 . (51) \int_0^1\frac{t^2}{s_t^2}\,\mathrm{d}t=\int_0^1\frac{(1-t)^2}{s_t^2}\,\mathrm{d}t=\frac{1}{2}\int_0^1\frac{\mathrm{d}t}{s_t}=\frac{\pi}{4}. \tag*{(51)} ∫ 0 1 s t 2 t 2 d t = ∫ 0 1 s t 2 ( 1 − t ) 2 d t = 2 1 ∫ 0 1 s t d t = 4 π . (51)
Consider independent stationary processes X i + 1 = a X i + ϵ i + 1 X_{i+1}=aX_i+\epsilon_{i+1} X i + 1 = a X i + ϵ i + 1 and Y i + 1 = b Y i + ζ i + 1 Y_{i+1}=bY_i+\zeta_{i+1} Y i + 1 = b Y i + ζ i + 1 with independent standard Gaussian noise. The unknown ( a , b ) (a,b) ( a , b ) belongs to a known finite set Θ 0 ⊂ [ − r , r ] 2 \Theta_0\subset[-r,r]^2 Θ 0 ⊂ [ − r , r ] 2 , where 0 < r < 1 0<r<1 0 < r < 1 . With s t = ( 1 − t ) 2 + t 2 s_t=(1-t)^2+t^2 s t = ( 1 − t ) 2 + t 2 , define
v t u , w ( z , x , y ) = 2 t − 1 s t z − t s t u x + 1 − t s t w y , ( u , w ) ∈ Θ 0 . (52) v_t^{u,w}(z,x,y)=\frac{2t-1}{s_t}z-\frac{t}{s_t}ux+\frac{1-t}{s_t}wy,\qquad(u,w)\in\Theta_0. \tag*{(52)} v t u , w ( z , x , y ) = s t 2 t − 1 z − s t t ux + s t 1 − t w y , ( u , w ) ∈ Θ 0 . (52)
Its exact time-one map is Φ x , y u , w ( z ) = z − u x + w y \Phi_{x,y}^{u,w}(z)=z-ux+wy Φ x , y u , w ( z ) = z − ux + w y .
Proposition 6 (Gaussian estimation and rollout). In the Gaussian model above , fix δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , set K = τ m i x ( δ / ( 3 m ) ) K=\tau_{\mathrm{mix}}(\delta/(3m)) K = τ mix ( δ / ( 3 m )) , and suppose m ≥ 1024 K log ( 6 K ∣ Θ 0 ∣ / δ ) m\ge1024K\log(6K\lvert\Theta_0\rvert/\delta) m ≥ 1024 K log ( 6 K ∣ Θ 0 ∣ / δ ) . With probability at least 1 − δ 1-\delta 1 − δ , the minimizer of (15) over (52) satisfies
R ( v ^ , v ⋆ ) ≤ 2048 K log ( 6 K ∣ Θ 0 ∣ / δ ) m . (53) R(\widehat{v},v^\star)\le2048\frac{K\log(6K\lvert\Theta_0\rvert/\delta)}{m}. \tag*{(53)} R ( v , v ⋆ ) ≤ 2048 m K log ( 6 K ∣ Θ 0 ∣ / δ ) . (53) On this event , conditional on the training data, the rollout using its exact ODE flow, a fresh stationary source, and an independent initialization Y ^ 0 ∼ μ ^ 0 \widehat{Y}_0\sim\widehat{\mu}_0 Y 0 ∼ μ 0 with a 0 = W 2 ( μ ^ 0 , π Y ) < ∞ a_0=W_2(\widehat{\mu}_0,\pi_Y)<\infty a 0 = W 2 ( μ 0 , π Y ) < ∞ satisfies, for every integer n ≥ 0 n\ge0 n ≥ 0 ,
W 2 ( Law ( Y ^ n ) , π Y ) ≤ r n a 0 + 8 π R ( v ^ , v ⋆ ) ∑ j = 0 n − 1 r j . (54) W_2(\operatorname{Law}(\widehat{Y}_n),\pi_Y)\le r^n a_0+\sqrt{\frac{8}{\pi}R(\widehat{v},v^\star)\sum_{j=0}^{n-1}r^j}. \tag*{(54)} W 2 ( Law ( Y n ) , π Y ) ≤ r n a 0 + π 8 R ( v , v ⋆ ) j = 0 ∑ n − 1 r j . (54)
More generally, for P X ( x , ⋅ ) = N ( a x , σ X 2 ) P_X(x,\cdot)=\mathcal{N}(ax,\sigma_X^2) P X ( x , ⋅ ) = N ( a x , σ X 2 ) and P Y ( y , ⋅ ) = N ( b y , σ Y 2 ) P_Y(y,\cdot)=\mathcal{N}(by,\sigma_Y^2) P Y ( y , ⋅ ) = N ( b y , σ Y 2 ) with σ X , σ Y > 0 \sigma_X,\sigma_Y>0 σ X , σ Y > 0 , the population map is
Φ x , y ( z ) = b y + σ Y σ X ( z − a x ) . (55) \Phi_{x,y}(z)=by+\frac{\sigma_Y}{\sigma_X}(z-ax). \tag*{(55)} Φ x , y ( z ) = b y + σ X σ Y ( z − a x ) . (55)
The scalar population flow is increasing and transports the source law to the target law, so it agrees with this quantile map.
Proof of Proposition 6. We first compute the population flow, then verify the moment and mixing assumptions to apply Theorem 1. For the rollout bound, we couple the recursions using the same Gaussian noise and use the risk identity to control their separation.
Apply Lemma 6 in dimension one with means a x , b y ax,by a x , b y . The population velocity is (52) with ( u , w ) = ( a , b ) (u,w)=(a,b) ( u , w ) = ( a , b ) , and the conditional noise variance is 1 / s t ≤ 2 1/s_t\leq2 1/ s t ≤ 2 . Applying the flow formula with means u x , w y ux,wy ux , w y gives, for every candidate,
z t = ( 1 − t ) u x + t w y + s t ( z 0 − u x ) , z 1 = z 0 − u x + w y . (56) z_t=(1-t)ux+twy+\sqrt{s_t}(z_0-ux),\qquad z_1=z_0-ux+wy. \tag*{(56)} z t = ( 1 − t ) ux + tw y + s t ( z 0 − ux ) , z 1 = z 0 − ux + w y . (56)
Lemma 6 also verifies flow regularity and Assumption 4 for every candidate, with Λ = log 2 \Lambda=\log2 Λ = log 2 .
To check the fourth-moment assumption, fix ( u , w ) ∈ Θ 0 (u,w)\in\Theta_0 ( u , w ) ∈ Θ 0 and write R = R ( v u , w , v a , b ) R=R(\mathbf{v}^{u,w},\mathbf{v}^{a,b}) R = R ( v u , w , v a , b ) , A = ( u − a ) 2 / ( 1 − a 2 ) A=(u-a)^2/(1-a^2) A = ( u − a ) 2 / ( 1 − a 2 ) , and B = ( w − b ) 2 / ( 1 − b 2 ) B=(w-b)^2/(1-b^2) B = ( w − b ) 2 / ( 1 − b 2 ) . At fixed t t t , the prediction error under π X ⊗ π Y \pi_X\otimes\pi_Y π X ⊗ π Y is centered Gaussian with variance f t = [ t 2 A + ( 1 − t ) 2 B ] / s t 2 f_t=[t^2A+(1-t)^2B]/s_t^2 f t = [ t 2 A + ( 1 − t ) 2 B ] / s t 2 . The integrals in (51) give
R ( v u , w , v a , b ) = π 4 ( A + B ) . (57) R(\mathbf{v}^{u,w},\mathbf{v}^{a,b})=\frac{\pi}{4}(A+B). \tag*{(57)} R ( v u , w , v a , b ) = 4 π ( A + B ) . (57)
To bound the fourth moment by R 2 R^2 R 2 , use s t ≥ 1 / 2 s_t\geq1/2 s t ≥ 1/2 and t 2 , ( 1 − t ) 2 ≤ s t t^2,(1-t)^2\leq s_t t 2 , ( 1 − t ) 2 ≤ s t to obtain f t ≤ 2 ( A + B ) f_t\leq2(A+B) f t ≤ 2 ( A + B ) . Thus
E ∣ v u , w ( h ) − v a , b ( h ) ∣ 4 = 3 ∫ 0 1 f t 2 d t ≤ 6 ( A + B ) R = 24 π R 2 ≤ 8 R 2 . \mathbb{E}\left|\mathbf{v}^{u,w}(\mathbf{h})-\mathbf{v}^{a,b}(\mathbf{h})\right|^4=3\int_0^1 f_t^2\,\mathrm{d}t\leq6(A+B)R=\frac{24}{\pi}R^2\leq8R^2. E v u , w ( h ) − v a , b ( h ) 4 = 3 ∫ 0 1 f t 2 d t ≤ 6 ( A + B ) R = π 24 R 2 ≤ 8 R 2 .
Together with the conditional noise calculation above, this verifies Assumptions 2 and 3 with ν 2 = 2 \nu^2=2 ν 2 = 2 and C 4 → 2 4 = 8 C^4_{4\to2}=8 C 4 → 2 4 = 8 ; realizability follows from ( a , b ) ∈ Θ 0 (a,b)\in\Theta_0 ( a , b ) ∈ Θ 0 .
It remains to check stationary mixing before applying the estimation theorem. Lemma 2 gives β ℓ ≤ β ℓ − 1 X + β ℓ − 1 Y \beta_\ell\leq\beta^X_{\ell-1}+\beta^Y_{\ell-1} β ℓ ≤ β ℓ − 1 X + β ℓ − 1 Y for ℓ ≥ 2 \ell\geq2 ℓ ≥ 2 . To bound β ℓ X \beta^X_\ell β ℓ X , use the identity
β ℓ X = ∥ Law ( X 0 , X ℓ ) − π X ⊗ π X ∥ T V . (58) \beta^X_\ell=\left\|\operatorname{Law}(X_0,X_\ell)-\pi_X\otimes\pi_X\right\|_{\mathrm{TV}}. \tag*{(58)} β ℓ X = ∥ Law ( X 0 , X ℓ ) − π X ⊗ π X ∥ TV . (58)
Indeed, the two joint laws have the same first marginal π X \pi_X π X ; integrating the total variation of their conditional second-coordinate laws gives the definition of β ℓ X \beta^X_\ell β ℓ X . Write r ℓ = a ℓ r_\ell=a^\ell r ℓ = a ℓ . Standardizing the two coordinates gives a centered Gaussian pair with covariance Σ ℓ = ( 1 r ℓ r ℓ 1 ) \Sigma_\ell=\begin{pmatrix}1&r_\ell\\r_\ell&1\end{pmatrix} Σ ℓ = ( 1 r ℓ r ℓ 1 ) . For laws μ , ν \mu,\nu μ , ν , write D K L ( μ ∥ ν ) D_{\mathrm{KL}}(\mu\Vert\nu) D KL ( μ ∥ ν ) for relative entropy. The Gaussian density formula gives
D K L ( N ( 0 , Σ ℓ ) ∥ N ( 0 , I 2 ) ) = 1 2 ( tr Σ ℓ − 2 − log det Σ ℓ ) = − 1 2 log ( 1 − r ℓ 2 ) . (59) D_{\mathrm{KL}}\left(\mathcal{N}(0,\Sigma_\ell)\middle\Vert\mathcal{N}(0,I_2)\right)=\frac{1}{2}\left(\operatorname{tr}\Sigma_\ell-2-\log\det\Sigma_\ell\right)=-\frac{1}{2}\log(1-r_\ell^2). \tag*{(59)} D KL ( N ( 0 , Σ ℓ ) ∥ N ( 0 , I 2 ) ) = 2 1 ( tr Σ ℓ − 2 − log det Σ ℓ ) = − 2 1 log ( 1 − r ℓ 2 ) . (59)
Pinsker’s inequality, ∥ μ − ν ∥ T V 2 ≤ D K L ( μ ∥ ν ) / 2 \|\mu-\nu\|_{\mathrm{TV}}^2\leq D_{\mathrm{KL}}(\mu\Vert\nu)/2 ∥ μ − ν ∥ TV 2 ≤ D KL ( μ ∥ ν ) /2 (Canonne, [9 ] ), and − log ( 1 − q ) ≤ q / ( 1 − q ) -\log(1-q)\leq q/(1-q) − log ( 1 − q ) ≤ q / ( 1 − q ) give
β ℓ X ≤ 1 2 − log ( 1 − a 2 ℓ ) ≤ r ℓ 2 1 − r 2 . \beta^X_\ell\leq\frac{1}{2}\sqrt{-\log(1-a^{2\ell})}\leq\frac{r^\ell}{2\sqrt{1-r^2}}. β ℓ X ≤ 2 1 − log ( 1 − a 2 ℓ ) ≤ 2 1 − r 2 r ℓ .
Applying the same calculation to Y Y Y yields β ℓ ≤ r ℓ − 1 / 1 − r 2 \beta_{\ell} \le r^{\ell-1}/\sqrt{1-r^2} β ℓ ≤ r ℓ − 1 / 1 − r 2 for ℓ ≥ 2 \ell\ge2 ℓ ≥ 2 . All estimation assumptions therefore hold. Theorem 1, with ν 2 = 2 \nu^2=2 ν 2 = 2 and C 4 → 2 4 = 8 C_{4\to2}^{4}=8 C 4 → 2 4 = 8 , now gives (53) .
With the risk bound established, we turn to rollout error. Condition on the fitted parameters ( a ^ , b ^ ) (\hat{a},\hat{b}) ( a ^ , b ^ ) and write R = R ( v ^ , v ⋆ ) R=R(\hat{v},v^\star) R = R ( v ^ , v ⋆ ) . Couple Y ^ 0 ∼ μ ^ 0 \widehat{Y}_0\sim\widehat{\mu}_0 Y 0 ∼ μ 0 and Y 0 ∼ π Y Y_0\sim\pi_Y Y 0 ∼ π Y so that ∥ Y ^ 0 − Y 0 ∥ L 2 = a 0 \lVert\widehat{Y}_0-Y_0\rVert_{L^2}=a_0 ∥ Y 0 − Y 0 ∥ L 2 = a 0 , independently of the fresh stationary source. The source noise variables ϵ i + 1 = X i + 1 ′ − a X i ′ \epsilon_{i+1}=X'_{i+1}-aX'_i ϵ i + 1 = X i + 1 ′ − a X i ′ are iid standard Gaussian, with ϵ i + 1 \epsilon_{i+1} ϵ i + 1 independent of the histories through time i i i . Using them to drive both recursions, (56) gives
Y ^ i + 1 = b ^ Y ^ i + ( a − a ^ ) X i ′ + ϵ i + 1 , Y i + 1 = b Y i + ϵ i + 1 . (60) \begin{aligned}
\widehat{Y}_{i+1} &= \widehat{b}\widehat{Y}_i+(a-\widehat{a})X'_i+\epsilon_{i+1},\\
Y_{i+1} &= bY_i+\epsilon_{i+1}. \tag*{(60)}
\end{aligned} Y i + 1 Y i + 1 = b Y i + ( a − a ) X i ′ + ϵ i + 1 , = b Y i + ϵ i + 1 . (60)
The comparison trajectory has the stationary target law. Subtracting the updates cancels the shared noise and gives
Y ^ i + 1 − Y i + 1 = b ^ ( Y ^ i − Y i ) + ( b ^ − b ) Y i + ( a − a ^ ) X i ′ . (61) \widehat{Y}_{i+1}-Y_{i+1}=\widehat{b}(\widehat{Y}_i-Y_i)+(\widehat{b}-b)Y_i+(a-\widehat{a})X'_i. \tag*{(61)} Y i + 1 − Y i + 1 = b ( Y i − Y i ) + ( b − b ) Y i + ( a − a ) X i ′ . (61)
Minkowski’s inequality, ∣ b ^ ∣ ≤ r |\widehat{b}|\le r ∣ b ∣ ≤ r , and (57) therefore give
∥ Y ^ i + 1 − Y i + 1 ∥ L 2 ≤ r ∥ Y ^ i − Y i ∥ L 2 + ∣ b ^ − b ∣ 1 − b 2 + ∣ a ^ − a ∣ 1 − a 2 ≤ r ∥ Y ^ i − Y i ∥ L 2 + 8 R / π . \begin{aligned}
\lVert\widehat{Y}_{i+1}-Y_{i+1}\rVert_{L^2}
&\le r\lVert\widehat{Y}_i-Y_i\rVert_{L^2}
+\frac{|\widehat{b}-b|}{\sqrt{1-b^2}}
+\frac{|\widehat{a}-a|}{\sqrt{1-a^2}}\\
&\le r\lVert\widehat{Y}_i-Y_i\rVert_{L^2}+\sqrt{8R/\pi}.
\end{aligned} ∥ Y i + 1 − Y i + 1 ∥ L 2 ≤ r ∥ Y i − Y i ∥ L 2 + 1 − b 2 ∣ b − b ∣ + 1 − a 2 ∣ a − a ∣ ≤ r ∥ Y i − Y i ∥ L 2 + 8 R / π .
This estimate uses only the stationary second moments of X i ′ X'_i X i ′ and Y i Y_i Y i ; they may be dependent under the coupling. Iterating from the initial cost a 0 a_0 a 0 proves (54) .
Examples for the conditional noise assumption
Bounded displacements, bounded additive noise, and Gaussian transition kernels satisfy Assumption 2 under the conditions below. Each calculation conditions on the full regression input h = ( t , z t , x , y ) \mathbf{h}=(t,\mathbf{z}_t,\mathbf{x},\mathbf{y}) h = ( t , z t , x , y ) and verifies only the conditional noise assumption.
Bounded displacements. Recall r = y + − x + \mathbf{r}=\mathbf{y}^{+}-\mathbf{x}^{+} r = y + − x + and ξ = E [ r ∣ h ] − r \boldsymbol{\xi}=\mathbb{E}[\mathbf{r}\mid\mathbf{h}]-\mathbf{r} ξ = E [ r ∣ h ] − r from § 4.2 . Suppose ∥ r ∥ ≤ B \lVert\mathbf{r}\rVert\le B ∥ r ∥ ≤ B almost surely. For every fixed direction a ∈ R d \mathbf{a}\in\mathbb{R}^d a ∈ R d , the scalar ⟨ a , r ⟩ \langle\mathbf{a},\mathbf{r}\rangle ⟨ a , r ⟩ lies in [ − B ∥ a ∥ , B ∥ a ∥ ] [-B\lVert\mathbf{a}\rVert,B\lVert\mathbf{a}\rVert] [ − B ∥ a ∥ , B ∥ a ∥] , including after conditioning on h \mathbf{h} h . Since ⟨ a , ξ ⟩ = E [ ⟨ a , r ⟩ ∣ h ] − ⟨ a , r ⟩ \langle\mathbf{a},\boldsymbol{\xi}\rangle=\mathbb{E}[\langle\mathbf{a},\mathbf{r}\rangle\mid\mathbf{h}]-\langle\mathbf{a},\mathbf{r}\rangle ⟨ a , ξ ⟩ = E [⟨ a , r ⟩ ∣ h ] − ⟨ a , r ⟩ , conditional Hoeffding’s lemma (Vershynin, [45 ] , Section 2.2) gives
E [ e θ ⟨ a , ξ ⟩ ∣ h ] ≤ exp ( θ 2 ( 2 B ∥ a ∥ ) 2 8 ) = exp ( θ 2 B 2 ∥ a ∥ 2 2 ) . \mathbb{E}\left[e^{\theta\langle\mathbf{a},\boldsymbol{\xi}\rangle}\mid\mathbf{h}\right]\le\exp\left(\frac{\theta^2(2B\lVert\mathbf{a}\rVert)^2}{8}\right)=\exp\left(\frac{\theta^2B^2\lVert\mathbf{a}\rVert^2}{2}\right). E [ e θ ⟨ a , ξ ⟩ ∣ h ] ≤ exp ( 8 θ 2 ( 2 B ∥ a ∥ ) 2 ) = exp ( 2 θ 2 B 2 ∥ a ∥ 2 ) .
Thus ν = B \nu=B ν = B suffices. In particular, if both processes take values in a ball of radius B B B , then ∥ y + − x + ∥ ≤ 2 B \lVert\mathbf{y}^{+}-\mathbf{x}^{+}\rVert\le2B ∥ y + − x + ∥ ≤ 2 B , so ν = 2 B \nu=2B ν = 2 B suffices for either discrete or continuous state distributions.
Bounded additive noise. Subtracting any function of ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) from the displacement leaves its conditional residual unchanged. This allows the preceding Hoeffding bound to apply when only the additive noise is bounded. Consider
x + = f ( x ) + η X , y + = g ( y ) + η Y , ∥ η X ∥ , ∥ η Y ∥ ≤ B almost surely , \mathbf{x}^{+}=f(\mathbf{x})+\boldsymbol{\eta}^{X},\qquad
\mathbf{y}^{+}=g(\mathbf{y})+\boldsymbol{\eta}^{Y},\qquad
\lVert\boldsymbol{\eta}^{X}\rVert,\lVert\boldsymbol{\eta}^{Y}\rVert\le B\ \text{almost surely}, x + = f ( x ) + η X , y + = g ( y ) + η Y , ∥ η X ∥ , ∥ η Y ∥ ≤ B almost surely ,
where f , g : R d → R d \mathbf{f}, \mathbf{g} : \mathbb{R}^{d} \to\mathbb{R}^{d} f , g : R d → R d may be nonlinear and the noise distributions may depend on the current states. Conditional on h \mathbf{h} h , the term g ( y ) − f ( x ) \mathbf{g}(\mathbf{y}) - \mathbf{f}(\mathbf{x}) g ( y ) − f ( x ) is fixed. Consequently,
ξ = E [ η Y − η X ∣ h ] − ( η Y − η X ) . \boldsymbol{\xi} = \mathbb{E}[\boldsymbol{\eta}^{Y} - \boldsymbol{\eta}^{X} \mid\mathbf{h}] - (\boldsymbol{\eta}^{Y} - \boldsymbol{\eta}^{X}). ξ = E [ η Y − η X ∣ h ] − ( η Y − η X ) .
The noise difference η Y − η X \boldsymbol{\eta}^{Y} - \boldsymbol{\eta}^{X} η Y − η X has norm at most 2 B 2B 2 B , so the preceding calculation gives ν = 2 B \nu= 2B ν = 2 B . The states and transition means themselves need not be bounded.
Gaussian transitions. Suppose the two transition kernels are Gaussian with arbitrary mean functions and covariance matrices bounded above by σ 2 I \sigma^{2}\mathbf{I} σ 2 I , uniformly in the current states. Fix ( x , y , t ) (\mathbf{x},\mathbf{y},t) ( x , y , t ) . The endpoints are independent under (6) , and ( r , z t ) (\mathbf{r},\mathbf{z}_{t}) ( r , z t ) is jointly Gaussian. Gaussian conditioning therefore gives a centered Gaussian residual with
Var ( ⟨ a , ξ ⟩ ∣ h ) = Var ( ⟨ a , r ⟩ ∣ h ) ≤ Var ( ⟨ a , r ⟩ ∣ x , y , t ) ≤ 2 σ 2 ∥ a ∥ 2 . \operatorname{Var}(\langle\mathbf{a},\boldsymbol{\xi}\rangle\mid\mathbf{h}) = \operatorname{Var}(\langle\mathbf{a},\mathbf{r}\rangle\mid\mathbf{h}) \le\operatorname{Var}(\langle\mathbf{a},\mathbf{r}\rangle\mid\mathbf{x},\mathbf{y},t) \le2\sigma^{2}\lVert\mathbf{a}\rVert^{2}. Var (⟨ a , ξ ⟩ ∣ h ) = Var (⟨ a , r ⟩ ∣ h ) ≤ Var (⟨ a , r ⟩ ∣ x , y , t ) ≤ 2 σ 2 ∥ a ∥ 2 .
The Gaussian moment-generating function yields (14) with ν = 2 σ \nu= \sqrt{2\sigma} ν = 2 σ , including for nonlinear conditional means.
For other sub-Gaussian transition models, Assumption 2 requires a bound conditional on the full input h \mathbf{h} h , including z t = ( 1 − t ) x + + t y + \mathbf{z}_{t} = (1-t)\mathbf{x}^{+} + t\mathbf{y}^{+} z t = ( 1 − t ) x + + t y + . Sub-Gaussian bounds on the stationary states, or on additive transition noise conditional only on the current states, do not by themselves give the conditional bound used in Lemma 4.
Experimental details
The Gaussian and nonlinear experiments use seeds 0, 1, 2, with d = 10 d = 10 d = 10 for the main panels and d = 100 d = 100 d = 100 as a stress test. The main panels use m ∈ { 512 , 1024 , 2048 , 4096 , 8192 , 16384 , 32768 } m \in\{512, 1024, 2048, 4096, 8192, 16384, 32768\} m ∈ { 512 , 1024 , 2048 , 4096 , 8192 , 16384 , 32768 } training transitions; the stress test uses m ∈ { 256 , 512 , 1024 , 2048 , 4096 , 8192 } m \in\{256, 512, 1024, 2048, 4096, 8192\} m ∈ { 256 , 512 , 1024 , 2048 , 4096 , 8192 } . Architecture and optimization settings stay fixed across training sizes. Each seed produces one complete experiment run. We report the mean across these three runs, with standard error equal to the sample standard deviation divided by 3 \sqrt{3} 3 . Each training trajectory starts from zero, discards 1,000 states, and retains 32,769 states at d = 10 d = 10 d = 10 or 8,193 at d = 100 d = 100 d = 100 . Training sets are nested prefixes; process parameters and evaluation draws stay fixed across training sizes within each seed. Independent random streams generate parameters, source and target training trajectories, evaluation contexts, projection directions, and evaluation noise.
At each training update, we sample transition indices uniformly with replacement and draw one fresh independent t ∼ U ( 0 , 1 ) t \sim\mathcal{U}(0,1) t ∼ U ( 0 , 1 ) per sampled transition. Each repeated occurrence of a transition receives a new flow time, including repeated indices within a minibatch. Source and target transitions retain their paired indices. The minibatch loss is an unbiased estimate, conditional on the training trajectories and current network, of L ^ ( v ) / d \widehat{L}(\mathbf{v})/d L ( v ) / d , where (15) defines the time-integrated objective. The factor 1 / d 1/d 1/ d averages over coordinates. The velocity network takes ( t , z , x , y ) (t,\mathbf{z},\mathbf{x},\mathbf{y}) ( t , z , x , y ) and outputs a vector in R d \mathbb{R}^{d} R d . It has three SiLU hidden layers, width 64 at d = 10 d = 10 d = 10 and 256 at d = 100 d = 100 d = 100 , and a zero-initialized final layer. Training uses 2,400 AdamW updates with batch size 256, initial learning rate 2 × 10 − 3 2 \times10^{-3} 2 × 1 0 − 3 , cosine decay, weight decay 10 − 5 10^{-5} 1 0 − 5 , and gradient norm clipping at 5. We compare the full conditional flow with two learned baselines. All three learned flows share initialization, minibatch indices, and flow times. The source-state ablation sets x i \mathbf{x}_{i} x i to zero. Training still uses x i + 1 \mathbf{x}_{i+1} x i + 1 to form the interpolation and conditions on y i y_i y i ; generation starts from x i + 1 + x^+_{i+1} x i + 1 + and conditions on y ^ i \widehat{y}_i y i . The marginal-flow baseline zeros both context inputs and fits an unconditional flow from the same source and target next-state observations. Its ODE defines a single map T T T applied pointwise as y ^ i + 1 = T ( x i + 1 + ) \widehat{y}_{i+1}=T(x^+_{i+1}) y i + 1 = T ( x i + 1 + ) . It is trained to match the marginal state distributions and uses the same architecture, training budget, and solver. Every learned flow uses the final training update; no test metric selects a checkpoint or hyperparameter. For a fixed current-state pair ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) , generation initializes z 0 = x + \mathbf{z}_0=\mathbf{x}^+ z 0 = x + and applies 32 explicit midpoint steps, with h = 1 / 32 h=1/32 h = 1/32 and k = 0 , … , 31 k=0,\ldots,31 k = 0 , … , 31 :
a k = v ^ k h ( z k , x , y ) , z k + 1 = z k + h v ^ ( k + 1 / 2 ) h ( z k + h a k / 2 , x , y ) . (62) \mathbf{a}_k=\widehat{\mathbf{v}}_{kh}(\mathbf{z}_k,\mathbf{x},\mathbf{y}),\qquad\mathbf{z}_{k+1}=\mathbf{z}_k+h\widehat{\mathbf{v}}_{(k+1/2)h}\left(\mathbf{z}_k+h\mathbf{a}_k/2,\mathbf{x},\mathbf{y}\right). \tag*{(62)} a k = v k h ( z k , x , y ) , z k + 1 = z k + h v ( k + 1/2 ) h ( z k + h a k /2 , x , y ) . (62)
We evaluate the next-state distribution at 128 fresh current-state pairs. For each pair c c c , each method produces 512 next states. We project them onto J d i r = 64 J_{\mathrm{dir}}=64 J dir = 64 independent directions drawn uniformly from the unit sphere. Let q ^ c , j , k \widehat{q}_{c,j,k} q c , j , k be the k k k th smallest generated projection in direction j j j , and let q c , j ( p ) q_{c,j}(p) q c , j ( p ) be the corresponding true target-transition quantile at probability p p p . The reported error is
( 1 128 ⋅ J d i r ⋅ 512 ∑ c = 1 128 ∑ j = 1 J d i r ∑ k = 1 512 [ q ^ c , j , k − q c , j ( k − 1 / 2 512 ) ] 2 ) 1 / 2 . (63) \left(\frac{1}{128\cdot J_{\mathrm{dir}}\cdot512}\sum_{c=1}^{128}\sum_{j=1}^{J_{\mathrm{dir}}}\sum_{k=1}^{512}\left[\widehat{q}_{c,j,k}-q_{c,j}\left(\frac{k-1/2}{512}\right)\right]^2\right)^{1/2}. \tag*{(63)} ( 128 ⋅ J dir ⋅ 512 1 c = 1 ∑ 128 j = 1 ∑ J dir k = 1 ∑ 512 [ q c , j , k − q c , j ( 512 k − 1/2 ) ] 2 ) 1/2 . (63)
Evaluation uses fresh samples independent of training, with current-state pairs, projection directions, and source draws shared across methods. For every method, we evaluate conditional-transition recovery at the supplied ( x , y ) (\mathbf{x},\mathbf{y}) ( x , y ) ; marginal flow ignores these two context inputs. Projected Gaussian quantiles are analytic; projected mixture quantiles are computed by 55 bisection steps on their exact cumulative distribution functions. Thus the metric does not require an independently sampled target reference. The oracle error is constant across training sizes because its parameters and evaluation draws are fixed.
Gaussian transition experiments
The processes have transitions P X ( x , ⋅ ) = N ( A X x , Q X ) P_X(\mathbf{x},\cdot)=\mathcal{N}(A_X\mathbf{x},Q_X) P X ( x , ⋅ ) = N ( A X x , Q X ) and P Y ( y , ⋅ ) = N ( A Y y , Q Y ) P_Y(\mathbf{y},\cdot)=\mathcal{N}(A_Y\mathbf{y},Q_Y) P Y ( y , ⋅ ) = N ( A Y y , Q Y ) . For each seed, all four matrices have independent random orthogonal eigenbases. Source transition eigenvalue magnitudes are uniform on [ 0.72 , 0.94 ] [0.72,0.94] [ 0.72 , 0.94 ] and target magnitudes on [ 0.15 , 0.58 ] [0.15,0.58] [ 0.15 , 0.58 ] , with independent random signs. Noise covariance eigenvalues λ \lambda λ satisfy log λ ∼ U ( log 0.25 , log 1.75 ) \log\lambda\sim\mathcal{U}(\log0.25,\log1.75) log λ ∼ U ( log 0.25 , log 1.75 ) . The true-kernel oracle is
Φ x , y o r ( z ) = A Y y + Q Y 1 / 2 Q X − 1 / 2 ( z − A X x ) . (64) \Phi^{\mathrm{or}}_{\mathbf{x},\mathbf{y}}(\mathbf{z})=A_Y\mathbf{y}+Q_Y^{1/2}Q_X^{-1/2}(\mathbf{z}-A_X\mathbf{x}). \tag*{(64)} Φ x , y or ( z ) = A Y y + Q Y 1/2 Q X − 1/2 ( z − A X x ) . (64)
It maps N ( A X x , Q X ) \mathcal{N}(A_X\mathbf{x},Q_X) N ( A X x , Q X ) to N ( A Y y , Q Y ) \mathcal{N}(A_Y\mathbf{y},Q_Y) N ( A Y y , Q Y ) .
Nonlinear mixture benchmark
For independent random orthogonal matrices R X , R Y R_X,R_Y R X , R Y , define
f ( x ) = 0.85 R X tanh ( R X T x ) , g ( y ) = R Y [ 0.55 tanh ( R Y T y ) + 0.2 sin ( 2 R Y T y ) ] , f(\mathbf{x})=0.85R_X\tanh(R_X^{\mathsf T}\mathbf{x}),\qquad g(\mathbf{y})=R_Y\left[0.55\tanh(R_Y^{\mathsf T}\mathbf{y})+0.2\sin(2R_Y^{\mathsf T}\mathbf{y})\right], f ( x ) = 0.85 R X tanh ( R X T x ) , g ( y ) = R Y [ 0.55 tanh ( R Y T y ) + 0.2 sin ( 2 R Y T y ) ] ,
where the nonlinearities act coordinatewise. Let u = d − 1 / 2 R Y ( 1 , … , 1 ) T \mathbf{u}=d^{-1/2}R_Y(1,\ldots,1)^{\mathsf T} u = d − 1/2 R Y ( 1 , … , 1 ) T , so ∥ u ∥ = 1 \lVert\mathbf{u}\rVert=1 ∥ u ∥ = 1 . The source transition is P X ( x , ⋅ ) = N ( f ( x ) , 0.6 2 I ) P_X(\mathbf{x},\cdot)=\mathcal{N}(f(\mathbf{x}),0.6^2I) P X ( x , ⋅ ) = N ( f ( x ) , 0. 6 2 I ) , and
P Y ( y , ⋅ ) = 1 2 N ( g ( y ) − 0.8 d u , 0.25 2 I ) + 1 2 N ( g ( y ) + 0.8 d u , 0.25 2 I ) . P_Y(\mathbf{y},\cdot)=\tfrac{1}{2}\mathcal{N}(g(\mathbf{y})-0.8\sqrt{d}\mathbf{u},0.25^2I)+\tfrac{1}{2}\mathcal{N}(g(\mathbf{y})+0.8\sqrt{d}\mathbf{u},0.25^2I). P Y ( y , ⋅ ) = 2 1 N ( g ( y ) − 0.8 d u , 0.2 5 2 I ) + 2 1 N ( g ( y ) + 0.8 d u , 0.2 5 2 I ) .
There is one mixture sign per noise vector, giving two multivariate modes. The rotations couple the observed coordinates in both conditional means.
Let F N F_N F N be the standard normal cumulative distribution function and H d H_d H d that of 1 2 N ( − 0.8 d , 0.25 2 ) + 1 2 N ( 0.8 d , 0.25 2 ) \frac{1}{2}N(-0.8\sqrt{d}, 0.25^2) + \frac{1}{2}N(0.8\sqrt{d}, 0.25^2) 2 1 N ( − 0.8 d , 0.2 5 2 ) + 2 1 N ( 0.8 d , 0.2 5 2 ) . For a supplied source next state z \mathbf{z} z , set w = ( z − f ( x ) ) / 0.6 \mathbf{w} = (\mathbf{z} - \mathbf{f}(\mathbf{x}))/0.6 w = ( z − f ( x )) /0.6 and s = u T w s = \mathbf{u}^{\mathsf{T}}\mathbf{w} s = u T w . The oracle is
Φ x , y o r ( z ) = g ( y ) + 0.25 ( w − s u ) + u H d − 1 ( F N ( s ) ) . (65) \Phi^{\mathrm{or}}_{\mathbf{x},\mathbf{y}}(\mathbf{z}) = \mathbf{g}(\mathbf{y}) + 0.25(\mathbf{w} - s\mathbf{u}) + \mathbf{u}H_d^{-1}(F_N(s)). \tag*{(65)} Φ x , y or ( z ) = g ( y ) + 0.25 ( w − s u ) + u H d − 1 ( F N ( s )) . (65)
Under the source transition, s ∼ N ( 0 , 1 ) s \sim N(0,1) s ∼ N ( 0 , 1 ) independently of w − s u ∼ N ( 0 , I − u u T ) \mathbf{w} - s\mathbf{u} \sim N(0,\mathbf{I} - \mathbf{u}\mathbf{u}^{\mathsf{T}}) w − s u ∼ N ( 0 , I − u u T ) . The quantile map gives the required mixture along u \mathbf{u} u , while the orthogonal component supplies independent Gaussian noise, yielding exactly P Y ( y , ⋅ ) P_Y(\mathbf{y}, \cdot) P Y ( y , ⋅ ) . For a unit evaluation direction a \mathbf{a} a , the projected target law is a mixture with means a T g ( y ) ± 0.8 d a T u \mathbf{a}^{\mathsf{T}}\mathbf{g}(\mathbf{y}) \pm0.8\sqrt{d}\mathbf{a}^{\mathsf{T}}\mathbf{u} a T g ( y ) ± 0.8 d a T u and variance 0.25 2 0.25^2 0.2 5 2 in each component; its quantiles enter (63) .
Results at dimension 100
We repeat both sample-size experiments at d = 100 d = 100 d = 100 with width 256 and all other training and evaluation settings unchanged. At m = 8192 m = 8192 m = 8192 , the mean next-state errors (standard errors in parentheses) are
Table 1.
At this sample size, the full conditional flow has lower mean error than both learned baselines in both benchmarks. Its improvement over the source-state ablation is smaller for nonlinear transitions. Errors remain above the oracle, and the nonlinear ablation performs better at some smaller sample sizes under the fixed training budget.
Ten-subject EEG study
Protocol
We evaluate all ten THINGS-EEG2 subjects using the released ENIGMA implementation ([21 , 1 ] ) under the matched subject-adaptation protocol in § 5 . ENIGMA uses subject-specific alignment and fine-tuning on calibration data to adapt to differences between subjects ([21 ] , Sections 3.3 and 4.3). Other EEG retrieval methods address these differences through label-free calibration or coordinate alignment ([17 , 11 ] ). Each recording contains 250 time samples from 63 channels over one second following image presentation. ENIGMA maps recordings to image embeddings and ranks candidate images by embedding similarity. Split seed 20260904 selects 4,096 calibration and 1,000 validation images. Evaluation averages 80 EEG repetitions per image in the official 200-image gallery. Baseline and flow use identical splits and seeds. This 63-channel adaptation protocol differs from ENIGMA's published 32-channel joint-training experiment ([21 ] , Sections 3.3–4.1).
For adapted subject s s s , ENIGMA is pretrained on reference subjects S s \mathcal{S}_s S s : subjects 5–10 for s ∈ { 1 , 2 , 3 , 4 } s \in\{1,2,3,4\} s ∈ { 1 , 2 , 3 , 4 } ; subjects { 1 , 2 , 3 , 4 , 7 , 8 , 9 , 10 } \{1,2,3,4,7,8,9,10\} { 1 , 2 , 3 , 4 , 7 , 8 , 9 , 10 } for s ∈ { 5 , 6 } s \in\{5,6\} s ∈ { 5 , 6 } ; and subjects 1–6 for s ∈ { 7 , 8 , 9 , 10 } s \in\{7,8,9,10\} s ∈ { 7 , 8 , 9 , 10 } . The baseline and both flow widths share this pretrained model, whose encoder and projection network remain frozen. We average seeds 0, 1, and 42 within each subject. Confidence intervals are percentiles 2.5 and 97.5 over 100,000 paired bootstrap resamples of ten subjects. For Figure 2 c, each resample recomputes the mean CFM and baseline accuracies a ˉ \bar{a} a ˉ and b ˉ \bar{b} b ˉ and their relative lift 100 ( a ˉ / b ˉ − 1 ) % 100(\bar{a}/\bar{b}-1)\% 100 ( a ˉ / b ˉ − 1 ) % ; for the absolute gains below, it computes their difference. All configurations use the final training update; no test value selects a checkpoint, width, or context length.
Adapter configurations
Inputs and outputs. Let E s ( u ) ∈ R 63 × 250 E_s(u) \in\mathbb{R}^{63 \times250} E s ( u ) ∈ R 63 × 250 be subject s s s ’s EEG epoch for image u u u , F θ F_\theta F θ the flow map with learned parameters θ \theta θ , and D D D the frozen ENIGMA encoder and projection network. The flow precedes the subject-specific temporal map W s \mathbf{W}_s W s ; its endpoints and predicted embedding are
A ( u ) = E s ( u ) , B q ( u ) = E q ( u ) ( q ∈ S s ) , D ( W s ( F θ ( A ( u ) ) ) ) . (66) \mathbf{A}(u)=\mathbf{E}_s(u), \qquad\mathbf{B}_q(u)=\mathbf{E}_q(u)\quad(q\in\mathcal{S}_s), \qquad D\left(\mathbf{W}_s\left(F_\theta(\mathbf{A}(u))\right)\right). \tag*{(66)} A ( u ) = E s ( u ) , B q ( u ) = E q ( u ) ( q ∈ S s ) , D ( W s ( F θ ( A ( u )) ) ) . (66)
The map W s \mathbf{W}_s W s has a 250 × 250 250 \times250 250 × 250 weight matrix and 250-dimensional bias shared across channels, initialized by averaging the reference subjects’ pretrained maps. We train one flow and one map for each adapted subject, seed, width, and context length. The flow outputs a 63 × 250 63 \times250 63 × 250 epoch; D D D maps the adapted epoch to an image embedding.
Past-state conditioning. For any epoch E \mathbf{E} E with columns E j ∈ R 63 \mathbf{E}_j \in\mathbb{R}^{63} E j ∈ R 63 , define the ordered history vector h k ( E , j ) = ( E j − 1 , … , E j − 32 ) \mathbf{h}_k(\mathbf{E},j)=(\mathbf{E}_{j-1},\ldots,\mathbf{E}_{j-32}) h k ( E , j ) = ( E j − 1 , … , E j − 32 ) , with each slot replaced by zero if its lag exceeds k k k or its time index is at most zero. Thus k ∈ { 0 , 1 , 4 , 16 , 32 } k\in\{0,1,4,16,32\} k ∈ { 0 , 1 , 4 , 16 , 32 } specifies the number of previous samples available, while the input dimension stays fixed. The velocity v θ ( t , z ; h k ( A , j ) , h k ( B q , j ) ) ∈ R 63 \mathbf{v}_\theta(t,\mathbf{z};\mathbf{h}_k(\mathbf{A},j),\mathbf{h}_k(\mathbf{B}_q,j))\in\mathbb{R}^{63} v θ ( t , z ; h k ( A , j ) , h k ( B q , j )) ∈ R 63 receives flow time t t t , the current interpolation z \mathbf{z} z , and both histories. Its implementation concatenates one zero 63-channel slot, the source history, z \mathbf{z} z , the target history, and t t t , giving 4,159 input coordinates. The current source endpoint is used to form the interpolation but is not separately supplied to the velocity. A network shared across all EEG samples has two hidden GELU layers, each of width 64 for our main model or 14 for the smaller-model comparison, and a 63-dimensional linear output; all layers have biases. There is no normalization, dropout, skip, or recurrent layer. Zero output-layer initialization makes the initial flow the identity.
One source and multiple reference targets. For a batch of N = 64 N=64 N = 64 distinct calibration images u b u_b u b , write A b = A ( u b ) \mathbf{A}_b=\mathbf{A}(u_b) A b = A ( u b ) and B b q = B q ( u b ) \mathbf{B}_{bq}=\mathbf{B}_q(u_b) B b q = B q ( u b ) , with columns a b j \mathbf{a}_{bj} a bj and b b q j \mathbf{b}_{bqj} b b q j . Pair each source epoch separately with every q ∈ S s q\in\mathcal{S}_s q ∈ S s . Draw independent t b q ∼ U ( 0 , 1 ) t_{bq}\sim\mathcal{U}(0,1) t b q ∼ U ( 0 , 1 ) , shared across the 250 samples of that pair, and set z b q j = ( 1 − t b q ) a b j + t b q b b q j \mathbf{z}_{bqj}=(1-t_{bq})\mathbf{a}_{bj}+t_{bq}\mathbf{b}_{bqj} z b q j = ( 1 − t b q ) a bj + t b q b b q j and r b q j = b b q j − a b j \mathbf{r}_{bqj}=\mathbf{b}_{bqj}-\mathbf{a}_{bj} r b q j = b b q j − a bj .
Let L ^ E N I G M A \widehat{L}_{\mathrm{ENIGMA}} L ENIGMA denote the supervised embedding and contrastive objective described in the optimization paragraph below. We add the flow-matching loss L ^ F M \widehat{L}_{\mathrm{FM}} L FM to obtain
L ^ E E G = L ^ E N I G M A + 0.02 L ^ F M , \widehat{L}_{\mathrm{EEG}}=\widehat{L}_{\mathrm{ENIGMA}}+0.02\widehat{L}_{\mathrm{FM}}, L EEG = L ENIGMA + 0.02 L FM ,
L ^ F M = 1 N ∣ S s ∣ 63 ⋅ 250 ∑ b = 1 N ∑ q ∈ S s ∑ j = 1 250 ∥ v θ ( t b q , z b q j ; h k ( A b , j ) , h k ( B b q , j ) ) − r b q j ∥ 2 . (67) \widehat{L}_{\mathrm{FM}}=\frac{1}{N|\mathcal{S}_s|\,63\cdot250}\sum_{b=1}^{N}\sum_{q\in\mathcal{S}_s}\sum_{j=1}^{250}\left\|\mathbf{v}_\theta\left(t_{bq},\mathbf{z}_{bqj};\mathbf{h}_k(\mathbf{A}_b,j),\mathbf{h}_k(\mathbf{B}_{bq},j)\right)-\mathbf{r}_{bqj}\right\|^2. \tag*{(67)} L FM = N ∣ S s ∣ 63 ⋅ 250 1 b = 1 ∑ N q ∈ S s ∑ j = 1 ∑ 250 ∥ v θ ( t b q , z b q j ; h k ( A b , j ) , h k ( B b q , j ) ) − r b q j ∥ 2 . (67)
Reference subjects receive equal weight, with one loss term for each source–reference pair. The same velocity network handles all references, without a reference-subject identity input. Training conditions on the observed reference history h k ( B b q , j ) \mathbf{h}_k(\mathbf{B}_{bq},j) h k ( B b q , j ) , held fixed as flow time varies.
Sequential generation. For a source epoch A \mathbf{A} A with columns a j \mathbf{a}_j a j , generate columns b ^ j \widehat{\mathbf{b}}_j b j of B ^ = F θ ( A ) \widehat{\mathbf{B}} = F_\theta(\mathbf{A}) B = F θ ( A ) in order j = 1 , … , 250 j = 1,\ldots,250 j = 1 , … , 250 by approximately solving
z j ( 0 ) = a j , d z j ( t ) d t = v θ ( t , z j ( t ) ; h k ( A , j ) , h k ( B ^ , j ) ) , b ^ j = z j ( 1 ) . (68) \mathbf{z}_j(0) = \mathbf{a}_j,\qquad\frac{\mathrm{d}\mathbf{z}_j(t)}{\mathrm{d}t} = \mathbf{v}_\theta\left(t,\mathbf{z}_j(t);\mathbf{h}_k(\mathbf{A},j),\mathbf{h}_k(\widehat{\mathbf{B}},j)\right),\qquad\widehat{\mathbf{b}}_j = \mathbf{z}_j(1). \tag*{(68)} z j ( 0 ) = a j , d t d z j ( t ) = v θ ( t , z j ( t ) ; h k ( A , j ) , h k ( B , j ) ) , b j = z j ( 1 ) . (68)
Two explicit-midpoint steps of size 1 / 2 1/2 1/2 integrate each local ODE, holding both histories fixed. Target history contains only previously generated samples; at j = 1 j = 1 j = 1 , both histories are zero. Thus the initial sample uses a learned marginal flow, and generation requires no reference recording or reference-subject choice. The supervised loss L ^ E N I G M A \widehat{L}_{\mathrm{ENIGMA}} L ENIGMA differentiates through the full sequential generation and W s \mathbf{W}_s W s ; D D D remains frozen. For k = 1 k = 1 k = 1 and j > 1 j > 1 j > 1 , the velocity inputs and source initialization follow our theoretical transition construction. Here training pairs recordings of the same image, and generation uses a learned flow for the initial sample. The theory assumes independent source and target training trajectories and stationary target initialization. We do not assume that the EEG data satisfy its stationary Markov or mixing hypotheses.
Optimization. We retain ENIGMA’s mean squared error over image-embedding coordinates and its symmetric image and text contrastive losses, weighted 1, 0.5, and 0.05, respectively [1 ] . Contrastive scores use normalized target embeddings, unnormalized predictions, and the fixed pretrained score multiplier; the squared loss uses unnormalized image embeddings. The baseline trains only W s \mathbf{W}_s W s ; our method jointly trains W s \mathbf{W}_s W s and the flow. Both use 300 AdamW updates, peak learning rate 3 ⋅ 10 − 4 3 \cdot10^{-4} 3 ⋅ 1 0 − 4 , weight decay 0.01 excluding biases and normalization parameters, gradient clipping at norm 1, and a one-cycle schedule with 10% warmup and cosine decay. Each update draws a fresh image batch and fresh flow times.
Additional results
Table 1 reports the k = 32 k = 32 k = 32 comparison with the flow before W s \mathbf{W}_s W s . Our main width-64 model achieves 49.05% mean Top-5 accuracy, versus 43.87% for the baseline: a gain of 5.18 percentage points (95% interval [4.08, 6.08]), or 11.82% relative lift ([9.25, 14.06]%). The smaller width-14 model reaches 46.73%, a gain of 2.87 points ([2.13, 3.53]), or 6.53% relative lift ([4.81, 8.22]%). Both improve on the baseline for all ten subjects after averaging seeds. Figure 2 c reports every context length under the same protocol. Longer history improves retrieval at both widths without increasing model size within either sweep.
Table 1 (PDF p. 39). Retrieval accuracy (%) at k = 32 k = 32 k = 32 , averaging seeds within subjects and then ten subjects. Both CFM networks precede W s \mathbf{W}_s W s .
Flow after the temporal map
We also place the flow after W s \mathbf{W}_s W s , giving the predicted embedding D ( F θ ( W s ( E s ( u ) ) ) ) D(F_\theta(\mathbf{W}_s(E_s(u)))) D ( F θ ( W s ( E s ( u )))) . The subjects, reference sets, data splits, seeds, architectures, optimization settings, and final checkpoint rule are unchanged. The source and reference endpoints are now A ( u ) = W s ( E s ( u ) ) \mathbf{A}(u) = \mathbf{W}_s(\mathbf{E}_s(u)) A ( u ) = W s ( E s ( u )) and B q ( u ) = W q ( E q ( u ) ) \mathbf{B}_q(u) = \mathbf{W}_q(\mathbf{E}_q(u)) B q ( u ) = W q ( E q ( u )) . Each reference map W q \mathbf{W}_q W q is frozen at its pretrained value; W s \mathbf{W}_s W s and F θ \mathbf{F}_\theta F θ train jointly, with gradients through W s \mathbf{W}_s W s in both the retrieval and flow-matching losses. The velocity inputs, loss (65), and sequential generation (66) use these transformed endpoints. Thus k k k counts preceding samples in the transformed sequence. Since the temporal maps mix all 250 raw time samples, this history need not correspond to preceding measurements in raw EEG time.
Figure 3 reports all five context lengths for both widths. Relative Top-5 lift increases from 3.91% at k = 0 k = 0 k = 0 to 11.63% at k = 32 k = 32 k = 32 for width 64, and from 1.44% to 7.26% for width 14. At k = 32 k = 32 k = 32 , the width-64 model achieves 48.97% Top-5 accuracy, a gain of 5.10 percentage points over the 43.87% baseline (95% interval [4.05, 6.28]), or 11.63% relative lift ([8.83, 15.00]%). Width 14 reaches 47.05%, a gain of 3.18 points ([2.10, 4.33]), or 7.26% relative lift ([4.61, 10.37]%). Both improve on the baseline for all ten subjects after averaging seeds. These results show that the benefit of additional context also appears when the flow acts on temporally transformed EEG. Table 2 gives the corresponding Top-1, Top-5, and Top-10 accuracies.
Figure 3. Additional EEG comparison with both flow networks after W s \mathbf{W}_s W s . Relative Top-5 retrieval accuracy lift over the matched W s \mathbf{W}_s W s -only baseline is plotted against context length k k k in transformed EEG coordinates. Accuracies average three seeds within each of ten subjects; error bars give 95% paired subject-bootstrap percentile intervals.
Table 2. Retrieval accuracy (%) at k = 32 k = 32 k = 32 with CFM after W s \mathbf{W}_s W s , averaging three seeds within subjects and then ten subjects.
Further comparisons with prior work
Sequential transport and generation
Time-series adaptation methods align observations, time axes, or representations across domains [35 , 29 ] . Flow models generate entire functions or correlated sequences [19 , 48 ] ; Schrödinger-bridge methods learn dynamics between endpoint laws or complete time-series laws [44 , 16 ] . COT-GAN uses causal transport as a training objective for sequential data [49 ] . We instead transform a prescribed fresh source trajectory by recursively applying a learned conditional transition map.
Causal transport requires Law ( y 0 : i ∣ x 0 : n ) = Law ( y 0 : i ∣ x 0 : i ) \operatorname{Law}(y_{0:i}\mid x_{0:n}) = \operatorname{Law}(y_{0:i}\mid x_{0:i}) Law ( y 0 : i ∣ x 0 : n ) = Law ( y 0 : i ∣ x 0 : i ) ; bicausal transport imposes the reverse identity as well [4 , 30 ] . For Markov chains, Moulos [30 ] compute bicausal transport costs by value iteration, and O’Connor et al. [33 ] optimize stationary transition couplings for long-run average cost. O’Connor et al. [34 ] give finite-sample cost bounds for estimated stationary couplings of finite-valued processes under mixing assumptions. Our statistical bound controls the squared prediction error of a continuous conditional velocity; (49) converts it into accuracy of generated states.
Statistical error and dependence
Benton et al. [6 ] and Gao et al. [13 ] convert population velocity error into Wasserstein error. For stochastic diffusion flow matching, Silveri et al. [43 ] bound Kullback–Leibler error; Bansal et al. [5 ] and Roy et al. [39 ] analyze rectified-flow discretization. We combine velocity estimation from dependent transitions with conditional Wasserstein bounds and recursive generation. Our estimation proof uses the coupling and fourth-moment approach to dependent square-loss regression, as in Roy et al. [38 ] .
For convex or realizable predictor classes, Ziemann et al. [53 ] show that, under suitable moment assumptions, the leading square-loss error term need not contain a mixing-time factor. Dependence enters the minimum sample size and higher-order terms. Our lower bound is consistent with this distinction: it establishes a mixing-dependent sample threshold.
Distribution mismatch and rollout stability
In offline policy evaluation, Zanette and Wainwright [51 ] compare squared Bellman-residual norms under the target-policy occupancy law ν ˉ π \bar{\nu}^{\pi} ν ˉ π and the data law μ \mu μ . If ν ˉ π \bar{\nu}^{\pi} ν ˉ π has density at most M M M relative to μ \mu μ , then every f f f with E ( s , a ) ∼ μ f ( s , a ) 2 < ∞ \mathbb{E}_{(s,a)\sim\mu}f(s,a)^2 < \infty E ( s , a ) ∼ μ f ( s , a ) 2 < ∞ satisfies
E ( s , a ) ∼ ν ˉ π f ( s , a ) 2 ≤ M E ( s , a ) ∼ μ f ( s , a ) 2 , \mathbb{E}_{(s,a)\sim\bar{\nu}^{\pi}}f(s,a)^2 \le M\mathbb{E}_{(s,a)\sim\mu}f(s,a)^2, E ( s , a ) ∼ ν ˉ π f ( s , a ) 2 ≤ M E ( s , a ) ∼ μ f ( s , a ) 2 ,
where ( s , a ) (s,a) ( s , a ) is a state–action pair. Their application takes f f f to be a Bellman residual. Duan et al. [12 ] similarly restrict distribution mismatch to a function class through a restricted χ 2 \chi^2 χ 2 divergence. The concentrability condition (41) compares our conditional velocity error under the law Γ ˉ i v \bar{\Gamma}_{i}^{\mathrm{v}} Γ ˉ i v of source and generated state pairs and the training law π X ⊗ π Y \pi_X \otimes\pi_Y π X ⊗ π Y , with the conditional risk L v \mathcal{L}_{\mathrm{v}} L v from (40) playing the role of the squared Bellman residual.
Rudolf and Schweizer [40 ] propagate one-transition discrepancies through contracting Markov dynamics in first-order Wasserstein distance. Proposition 5 gives a conditional W 2 W_{2} W 2 coupling that retains the prescribed source transitions and controls both state and joint-trajectory error.