Introduction
Since their introduction, diffusion models [32 , 33 , 17 , 34 ] have achieved state-of-the-art performance across a wide range of domains [10 , 24 , 18 , 37 ] . Training diffusion models requires estimating the gradient of the log-density (the so-called score ) of a noisy version of the target. Then samples are produced by iterative denoising through a formula involving this score. Taking a step back, iterative score-based sampling strategies long predate modern diffusion models, as epitomized by the celebrated Langevin algorithm [27 , 30 ] and its many variants such as underdamped Langevin [25 ] . The key factors explaining their success compared to those more classical algorithms are still unclear: what exact role does the noising process in diffusion models play, and how does it interact with the learning and sampling phases?
Our primary goal in this work is to prove a separation in sampling efficiency between diffusion models and Langevin dynamics in terms of their dependence on the condition number. This sheds light on the practical effectiveness of diffusion models on ill-conditioned distributions such as natural images [16 , 12 ] . To do so, we consider the class of (centered) Gaussian targets. Naturally, sampling from a Gaussian distribution is not our primary concern here. Rather, we use this analytically tractable setting to derive sharp convergence rates accompanied by matching asymptotics, in order to highlight how diffusion models overcome limitations of other score-based sampling methods. As discussed below, deriving tight condition-number dependence for more general target classes such as log-concave distributions is a long-standing open problem [6 , 8 ] , which is outside the scope of the present paper. Additionally, we focus for most of the paper on the sampling phase, comparing the sampling convergence rates of diffusion, unadjusted Langevin algorithm (ULA) and underdamped Langevin dynamics (ULD). Assuming access to the true score yields a clean analysis and the separation between diffusion and Langevin, hence for simplicity we focus on this case. The connection with the estimation of the score in the learning phase is discussed in the latter part of our work.
Contributions. We establish upper bounds on the 2-Wasserstein error between the target distribution and the distribution sampled from the diffusion, ULA and ULD. Convergence rates are derived in § 2 by optimizing these bounds with respect to hyperparameters (see Table 1 for summary). The bounds for diffusion and for Langevin differ by a factor proportional to the square root of the condition number. Thanks to explicit computations of the Wasserstein errors, we confirm these rates via matching first-order asymptotics. By contrast, in the learning phase, we show in § 3 that estimating the unoised score by gradient descent leads to essentially the same estimator as estimating a noisy score, the two differing only in how they regularize the directions unseen in the data, which suggests that the benefits of noising do not come from the learning phase.
Table 1. Convergence rates and ε \varepsilon ε -complexities for the Gaussian target. Rates are the orders of W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) as N → ∞ N \to\infty N → ∞ for fixed Σ \Sigma Σ (Theorems 1 and 3). The ε \varepsilon ε -complexity is the iteration budget N N N needed to achieve W 2 ( P N , P ) ≤ ε W_2(\mathbb{P}_N,\mathbb{P}) \le\varepsilon W 2 ( P N , P ) ≤ ε , where O ~ \widetilde{O} O hides logarithmic factors. Diffusion models remove both the conditioning factor κ \sqrt{\kappa} κ of Langevin samplers and the burn-in of order κ \kappa κ .
Related work. For ULA, a similar analysis of the two error terms was already performed, for example, by Durmus et al. [ [11 ] , Wibisono [ [38 ] and specifically in the Gaussian case by Pedregosa [2023]. Building upon these works, we perform hyperparameter optimization and compute the asymptotic equivalent (rather than upper bounds). Many works have studied ULD in the log-concave case, see, e.g. , Cheng et al. [ [6 ] , Dalalyan and Riou-Durand [ [8 ] , Leimkuhler et al. [ [26 ] , Kim et al. [ [23 ] for studies of the stochastic Euler scheme and Euler–Maruyama (EM) integrators. This line of work yields loose dependence on the condition number due to the bias term induced by non-vanishing step-sizes (see, e.g. , Eq. (11) in Dalalyan and Riou-Durand [ [8 ] with a κ 3 / 2 \kappa^{3/2} κ 3/2 in the complexity bound compared to our κ \sqrt{\kappa} κ ). A line of work has proved improved condition dependence for Gaussian targets [31 , 3 , 14 ] , albeit with more complex integrators (splitting, random step-sizes, or Metropolis corrections). To our knowledge, the tight study of the bias of ULD for a Gaussian target and the EM integrator is a novel contribution.
For diffusion models, Pierret and Galerne [ [29 ] derive and numerically analyze error terms for Gaussian targets, but do not analytically derive optimal hyperparameters, discuss the dependence on the condition number, nor derive asymptotic equivalents. Closer are the works by Hurault et al. [ [19 ] and Hurault et al. [ [20 ] , which derive Wasserstein bounds for Gaussian data and discuss optimal hyperparameter choices depending on the covariance spectrum. A key difference with our work is that their analysis holds asymptotically for small step-sizes, whereas we make a fully non-asymptotic analysis (albeit in less generality), which enables us to capture the interaction between the step-size and other parameters, and to derive optimal step complexity with respect to our bounds. Wasserstein bounds beyond the Gaussian case are given for instance by Strasman et al. [ [35 ] , Beyler and Bach [ [5 ] .
Sampling: diffusion removes the condition-number dependence
Problem setup
We denote by P \mathbb{P} P the target d d d -dimensional centered Gaussian distribution N ( 0 , Σ ) \mathcal{N}(0, \Sigma) N ( 0 , Σ ) . Let ( λ i ) 1 ≤ i ≤ d (\lambda_i)_{1 \le i \le d} ( λ i ) 1 ≤ i ≤ d denote the eigenvalues of the positive-definite covariance matrix Σ \Sigma Σ , and λ min \lambda_{\min} λ m i n and λ max \lambda_{\max} λ m a x be respectively the smallest and largest eigenvalues. The ratio
κ : = λ max λ min \kappa:= \frac{\lambda_{\max}}{\lambda_{\min}} κ := λ m i n λ m a x
is the condition number of Σ \Sigma Σ , which measures the degree of anisotropy of P \mathbb{P} P . Ill-conditioning is a classical source of difficulty for Langevin-based sampling methods, as their convergence rates typically deteriorate with κ \kappa κ [6 , 8 ] .
Let p p p denote the Lebesgue density of P \mathbb{P} P . We define the score s s s of the target distribution as
s : x ↦ ∇ log p ( x ) = − Σ − 1 x . s:x \mapsto\nabla\log p(x) = -\Sigma^{-1}x. s : x ↦ ∇ log p ( x ) = − Σ − 1 x .
We assume that the score is known exactly in this section; the learning problem is studied separately in § 3 .
We measure sampling error in the 2-Wasserstein distance, denoted by W 2 W_2 W 2 . For two centered Gaussians whose covariance matrices Σ 1 \Sigma_1 Σ 1 and Σ 2 \Sigma_2 Σ 2 commute, the distance reduces to the Fréchet distance ∥ Σ 1 1 / 2 − Σ 2 1 / 2 ∥ F \lVert\Sigma_1^{1/2} - \Sigma_2^{1/2} \rVert_F ∥ Σ 1 1/2 − Σ 2 1/2 ∥ F , with ∥ ⋅ ∥ F \lVert\cdot\rVert_F ∥ ⋅ ∥ F the Frobenius norm [13 ] . For each sampling scheme, we denote by P k \mathbb{P}_k P k the law of its k k k -th iterate.
Time-homogeneous Langevin samplers. We first consider the Langevin process associated with P \mathbb{P} P ,
d X t = s ( X t ) d t + 2 d W t , t ∈ R + , X 0 = 0 , (1) \mathrm{d}X_t = s(X_t)\,\mathrm{d}t + \sqrt{2}\,\mathrm{d}W_t,\quad t \in\mathbb{R}_+,\quad X_0 = 0, \tag*{(1)} d X t = s ( X t ) d t + 2 d W t , t ∈ R + , X 0 = 0 , (1)
where ( W t ) (W_t) ( W t ) is a standard Brownian motion.
The unadjusted Langevin algorithm (ULA) [7 ] is simply the Euler–Maruyama discretization of the SDE in (1) . Given a step-size η \eta η , an iteration budget N N N , and a sequence ( ξ k ) (\xi_k) ( ξ k ) of independent standard Gaussian vectors in R d \mathbb{R}^d R d , it is defined by
{ X 0 = 0 , ∀ k ∈ { 0 , … , N − 1 } , X k + 1 = X k + η s ( X k ) + 2 η ξ k . (2) \begin{cases}
X_0 = 0,\\
\forall k \in\{0,\ldots,N-1\},\quad X_{k+1} = X_k + \eta s(X_k) + \sqrt{2\eta}\xi_k. \tag*{(2)}
\end{cases} { X 0 = 0 , ∀ k ∈ { 0 , … , N − 1 } , X k + 1 = X k + η s ( X k ) + 2 η ξ k . (2)
We next consider underdamped Langevin dynamics (ULD) [6 ] , which introduces an auxiliary velocity variable into the Langevin dynamics with the aim of accelerating convergence:
\begin{cases}
\mathrm{d}X_t = V_t\,\mathrm{d}t,\\
\mathrm{d}V_t = -\gamma V_t\,\mathrm{d}t + s(X_t)\,\mathrm{d}t + \sqrt{2\gamma}\,\mathrm{d}W_t,
\end{cases}
\quad t \in\mathbb{R}_+, \tag*{(3)}\end{cases}
with initialization X 0 = V 0 = 0 X_0 = V_0 = 0 X 0 = V 0 = 0 , where γ > 0 \gamma> 0 γ > 0 is the friction coefficient. We discretize these dynamics using the Euler–Maruyama scheme, yielding with the same notation as above
{ X k + 1 = X k + η V k , V k + 1 = ( 1 − η γ ) V k + η s ( X k ) + 2 η γ ξ k . (4) \begin{cases}
X_{k+1} = X_k + \eta V_k,\\
V_{k+1} = (1-\eta\gamma)V_k + \eta s(X_k) + \sqrt{2\eta\gamma}\xi_k. \tag*{(4)}
\end{cases} { X k + 1 = X k + η V k , V k + 1 = ( 1 − η γ ) V k + η s ( X k ) + 2 η γ ξ k . (4)
Time-inhomogeneous diffusion sampler. Diffusion-based sampling follows a different principle [32 , 34 ] : rather than sampling directly with the score of the target distribution, it constructs a family of perturbed distributions and uses a time-dependent score along this family. Many conventions exist; we study the following one because it leads to telescoping cancellations in the computations, greatly simplifying our analysis (see Appendix § 8 .§ 2.1 ). Concretely, for a general (centered) target Q \mathbb{Q} Q , consider the forward noising process
{ d X t = d W t , t ∈ [ 0 , T ] , X 0 = X ∼ Q , \begin{cases}
\mathrm{d}X_t = \mathrm{d}W_t, \quad t \in[0,T],\\
X_0 = X \sim\mathbb{Q},
\end{cases} { d X t = d W t , t ∈ [ 0 , T ] , X 0 = X ∼ Q ,
whose marginal Q t \mathbb{Q}_t Q t at time t t t has Lebesgue density q t q_t q t and score s t : = ∇ log q t s_t := \nabla\log q_t s t := ∇ log q t . The forward diffusion gradually smooths the target distribution, and T T T is chosen large enough so that Q T ≈ N ( 0 , T I ) \mathbb{Q}_T \approx\mathcal{N}(0,T I) Q T ≈ N ( 0 , T I ) , a distribution that is straightforward to sample from. Sampling proceeds by reversing this transformation, i.e. , by simulating the reverse-time SDE Anderson, [2 ]
{ d Y t = s T − t ( Y t ) d t + d W t , t ∈ [ 0 , T − δ ] , Y 0 ∼ N ( 0 , T I ) , (5) \begin{cases}
\mathrm{d}Y_t = s_{T-t}(Y_t)\,\mathrm{d}t + \mathrm{d}W_t, \quad t \in[0,T-\delta],\\
Y_0 \sim\mathcal{N}(0,T I), \tag*{(5)}
\end{cases} { d Y t = s T − t ( Y t ) d t + d W t , t ∈ [ 0 , T − δ ] , Y 0 ∼ N ( 0 , T I ) , (5)
where N ( 0 , T I ) \mathcal{N}(0,T I) N ( 0 , T I ) replaces the intractable true marginal Q T \mathbb{Q}_T Q T and δ > 0 \delta> 0 δ > 0 is an early-stopping threshold, standard in the analysis of diffusion models, where it prevents a possible blow-up of the score as t → 0 t \to0 t → 0 [9 , 4 ] . In our Gaussian setting Q = P \mathbb{Q} = \mathbb{P} Q = P , all these quantities are explicit: the marginal at time t t t is Q t = N ( 0 , C t ) \mathbb{Q}_t = \mathcal{N}(0,C_t) Q t = N ( 0 , C t ) with C t = Σ + t I C_t = \Sigma+ tI C t = Σ + t I , and
s t : x ↦ − C t − 1 x , s_t : x \mapsto-C_t^{-1}x, s t : x ↦ − C t − 1 x ,
whose Lipschitz constant ( λ min + t ) − 1 (\lambda_{\min}+t)^{-1} ( λ m i n + t ) − 1 is bounded by ( λ min + δ ) − 1 (\lambda_{\min}+\delta)^{-1} ( λ m i n + δ ) − 1 on [ δ , T ] [\delta,T] [ δ , T ] .
Since information about the target is concentrated near t = T − δ t = T-\delta t = T − δ , we discretize (5) using a decreasing sequence of step-sizes ( η k ) (\eta_k) ( η k ) instead of a constant η \eta η . We fix a decreasing grid T = τ 0 > τ 1 > ⋯ > τ N = δ T = \tau_0 > \tau_1 > \cdots> \tau_N = \delta T = τ 0 > τ 1 > ⋯ > τ N = δ defining τ k = τ k − 1 − η k \tau_k = \tau_{k-1} - \eta_k τ k = τ k − 1 − η k for k ∈ { 1 , … , N } k \in\{1,\ldots,N\} k ∈ { 1 , … , N } . The diffusion algorithm we study is then
{ Y 0 ∼ N ( 0 , T I ) , ∀ k = 1 , … , N , Y k = Y k − 1 + η k s τ k − 1 ( Y k − 1 ) + η k ξ k . (6) \begin{cases}
Y_0 \sim\mathcal{N}(0,T I),\\
\forall k = 1,\ldots,N,\quad Y_k = Y_{k-1} + \eta_k s_{\tau_{k-1}}(Y_{k-1}) + \sqrt{\eta_k}\xi_k. \tag*{(6)}
\end{cases} { Y 0 ∼ N ( 0 , T I ) , ∀ k = 1 , … , N , Y k = Y k − 1 + η k s τ k − 1 ( Y k − 1 ) + η k ξ k . (6)
The main difference between diffusion and Langevin lies in the use of a time-dependent score s t s_t s t in the former. Langevin methods only use the target score s s s , and therefore operate under a fixed geometry governed by κ \kappa κ . This leads, as we will show in Theorem 1, to a penalizing κ \sqrt{\kappa} κ factor in the convergence rate. In contrast, diffusion progressively modifies the geometry of the score along the sampling trajectory. Indeed, note that the condition number associated with s t s_t s t is
κ t = t + λ max t + λ min ⟶ 1 , t → ∞ , \kappa_t = \frac{t+\lambda_{\max}}{t+\lambda_{\min}} \longrightarrow1,\qquad t\to\infty, κ t = t + λ m i n t + λ m a x ⟶ 1 , t → ∞ ,
decreasing from κ 0 = κ \kappa_0 = \kappa κ 0 = κ to 1 1 1 . Sampling therefore begins in a near-isotropic regime, and only gradually recovers the original conditioning of the target as the trajectory approaches t = 0 t = 0 t = 0 . This intuition is formalized in Theorem 3, showing that the sampling complexity of diffusion is indeed independent of κ \kappa κ .
Langevin samplers: the condition-number dependence
Table 1 summarizes our guarantees, with hyperparameters optimized for each method, and Figure 1 and Figure 2 illustrate them. Proofs are given in the appendices. We first consider ULA and ULD. The ULA bound builds on the Gaussian analysis of Pedregosa [2023]. The convergence rates for ULA and ULD differ only by numerical constants.
Figure 1. Sampling error W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) as a function of the iteration budget N N N (log–log scale) on an ill-conditioned Gaussian target: d = 1000 d = 1000 d = 1000 , log-uniform spectrum λ i = κ − ( i − 1 ) / ( d − 1 ) \lambda_i = \kappa^{-(i-1)/(d-1)} λ i = κ − ( i − 1 ) / ( d − 1 ) with κ = 10 6 \kappa= 10^6 κ = 1 0 6 . For this spectrum, λ max Tr ( Σ − 1 ) / Tr Σ = κ \lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})/\operatorname{Tr}\Sigma} = \sqrt{\kappa} λ m a x Tr ( Σ − 1 ) / Tr Σ = κ . Each point is a separate run: for every N N N , the sampler is tuned as in Theorems 1 and 3, run for N N N steps, and the error is evaluated in closed form. Dashed lines: asymptotic equivalents of the two theorems, drawn from N ⋆ N_\star N ⋆ onwards for the Langevin samplers. Segments N < N ⋆ N < N_\star N < N ⋆ : the step-size of Theorem 1 is inadmissible (Remark 2 ) and the largest admissible one is used instead, η = λ min \eta= \lambda_{\min} η = λ m i n for ULA and η = 1 / γ \eta= 1/\gamma η = 1/ γ for ULD; see the discussion after Remark 2 .
Figure 2. Tightness of the theory in dimension d = 1000 d = 1000 d = 1000 . (a) Ratio W 2 L a n g e v i n / W 2 d i f f u s i o n W_2^{\mathrm{Langevin}}/W_2^{\mathrm{diffusion}} W 2 Langevin / W 2 diffusion at budget N = 10 12 N = 10^{12} N = 1 0 12 , as a function of κ e f f : = λ max Tr ( Σ − 1 ) / Tr Σ \kappa_{\mathrm{eff}} := \lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})/\operatorname{Tr}\Sigma} κ eff := λ m a x Tr ( Σ − 1 ) / Tr Σ , for four spectral families with λ max = 1 \lambda_{\max} = 1 λ m a x = 1 and κ ∈ { 10 , 10 2 , … , 10 8 } \kappa\in\{10, 10^2, \ldots, 10^8\} κ ∈ { 10 , 1 0 2 , … , 1 0 8 } : “log-uniform” (λ i = κ − ( i − 1 ) / ( d − 1 ) \lambda_i = \kappa^{-(i-1)/(d-1)} λ i = κ − ( i − 1 ) / ( d − 1 ) ); “power law” (λ i = i − a \lambda_i = i^{-a} λ i = i − a with a = log κ / log d a = \log\kappa/\log d a = log κ / log d ); “two-block 1/2” (half of the eigenvalues equal to 1 1 1 and half to 1 / κ 1/\kappa 1/ κ ); “two-block 1/d d d ” (one eigenvalue equal to 1 1 1 and d − 1 d - 1 d − 1 equal to 1 / κ 1/\kappa 1/ κ ). Langevin samplers are tuned as in Theorem 1; the diffusion uses the spectrum-agnostic schedule of Proposition 4 (T = N T = \sqrt{N} T = N , δ = 1 / N 2 \delta= 1/N^2 δ = 1/ N 2 ). Lines are the quotients of the asymptotic equivalents, 1 5 κ e f f \frac{1}{5}\kappa_{\mathrm{eff}} 5 1 κ eff (ULA) and 2 5 κ e f f \frac{2}{5}\kappa_{\mathrm{eff}} 5 2 κ eff (ULD), with no fitted constant: all four families collapse onto them within 3.4%, consistent with a finite-N N N correction of order 1 / log N ≈ 3.6 % 1/\log N \approx3.6\% 1/ log N ≈ 3.6% . (b) Budget N ε N_\varepsilon N ε after which the error stays below ε = 10 − 3 Tr Σ \varepsilon= 10^{-3}\sqrt{\operatorname{Tr}\Sigma} ε = 1 0 − 3 Tr Σ , where Tr Σ = W 2 ( δ 0 , P ) \sqrt{\operatorname{Tr}\Sigma} = W_2(\delta_0, \mathsf{P}) Tr Σ = W 2 ( δ 0 , P ) is the scale of the target, for the log-uniform spectrum. Dashed: the sufficient budgets of Corollary 5 (r = 10 r = 10 r = 10 in Remark 6 for the diffusion), within a factor 3 of the observed ones. The diffusion budget does not depend on κ \kappa κ . The Langevin budgets follow the κ \sqrt{\kappa} κ rate of Table 1 as long as ε ≲ λ min Tr ( Σ − 1 ) = Tr Σ / κ \varepsilon\lesssim\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})} = \sqrt{\operatorname{Tr}\Sigma/\kappa} ε ≲ λ m i n Tr ( Σ − 1 ) = Tr Σ/ κ ; beyond, the burn-in N ⋆ = Θ ( κ log κ ) N_\star= \Theta(\kappa\log\kappa) N ⋆ = Θ ( κ log κ ) of Remark 2 takes over and the budget grows linearly in κ \kappa κ . Kinks on the ULA curve mark the switch between the two branches of its step-size.
Theorem 1 (Langevin samplers). Let N ≥ 2 N \ge2 N ≥ 2 be the iteration budget, and set the step-size η \eta η (and the friction γ \gamma γ for ULD) as
ULA: η = 1 2 λ max log N N \eta= \frac{1}{2}\lambda_{\max}\frac{\log N}{N} η = 2 1 λ m a x N l o g N , provided N ≥ 1 2 κ log N N \ge\frac{1}{2}\kappa\log N N ≥ 2 1 κ log N ;
ULD: η = 2 λ max κ log N N \eta= \sqrt{2\lambda_{\max}\kappa}\frac{\log N}{N} η = 2 λ m a x κ N l o g N and γ = 8 λ min \gamma= \sqrt{\frac{8}{\lambda_{\min}}} γ = λ m i n 8 , provided N ≥ 4 κ log N N \ge4\kappa\log N N ≥ 4 κ log N .
Then
W 2 ( P N , P ) ≤ λ max Tr ( Σ − 1 ) N ( C 1 log N + C 2 ) , W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{N}(C_1\log N+C_2), W 2 ( P N , P ) ≤ N λ m a x Tr ( Σ − 1 ) ( C 1 log N + C 2 ) , with C 1 = 1 4 C_1 = \frac{1}{4} C 1 = 4 1 , C 2 = 2 C_2 = \sqrt{2} C 2 = 2 for ULA and C 1 = 3 7 C_1 = \frac{3}{7} C 1 = 7 3 , C 2 = 8 C_2 = 8 C 2 = 8 for ULD. Furthermore, for fixed Σ \Sigma Σ , these bounds are tight up to a constant factor:
W 2 ( P N , P ) ∼ N → ∞ C 3 λ max Tr ( Σ − 1 ) log N N , W_2(\mathbb{P}_N,\mathbb{P}) \underset{N\to\infty}{\sim} C_3\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\log N}{N}, W 2 ( P N , P ) N → ∞ ∼ C 3 λ m a x Tr ( Σ − 1 ) N log N , with C 3 = 1 8 C_3 = \frac{1}{8} C 3 = 8 1 for ULA and C 3 = 1 4 C_3 = \frac{1}{4} C 3 = 4 1 for ULD.
Both Langevin samplers deteriorate with the condition number through a κ \sqrt{\kappa} κ factor, which can be made explicit by noting that λ max Tr ( Σ − 1 ) = λ max ∑ i = 1 d λ max λ i ∈ [ λ max κ , λ max d κ ] \lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})} = \sqrt{\lambda_{\max}}\sqrt{\sum_{i=1}^{d}\frac{\lambda_{\max}}{\lambda_i}} \in[\sqrt{\lambda_{\max}\kappa},\sqrt{\lambda_{\max}d\kappa}] λ m a x Tr ( Σ − 1 ) = λ m a x ∑ i = 1 d λ i λ m a x ∈ [ λ m a x κ , λ m a x d κ ] . The proof of this theorem, given in Appendix § 7 , exploits the Gaussian structure of the target, reducing the analysis to the eigenvalues of the covariance matrix, for which a closed-form expression can be obtained. This yields a Wasserstein error bound consisting of two terms: a discretization error, arising from the discretization of the continuous-time Langevin dynamics, and an early-stopping error, resulting from terminating the algorithm at time N η N\eta N η rather than letting it run indefinitely. The resulting hyperparameter choices and convergence rates therefore reflect a trade-off between these two errors.
The ratio ϕ = η / γ \phi= \eta/\gamma ϕ = η / γ of ULD equals the step-size η \eta η of ULA. This is expected: for large friction, the position approximately follows the overdamped Langevin dynamics slowed down by a factor γ \gamma γ [27 ] , so that ϕ \phi ϕ acts as an effective step-size. The small-friction regime yields the same rate (Corollary B.13 ): with the EM scheme, neither brings the acceleration expected from ULD.
Figure 1 illustrates this burn-in. Below N ⋆ N_{\star} N ⋆ , the step-size of Theorem 1 violates the admissibility conditions of Remark 2 . Since our bounds are convex (with respect to the variable η \eta η for ULA, ϕ : = η / γ \phi:= \eta/\gamma ϕ := η / γ for ULD), their constrained minimizer is the largest admissible value, η = λ min \eta= \lambda_{\min} η = λ m i n and η γ = 1 \eta\gamma= 1 η γ = 1 respectively (Appendix § 7 ). This step is dictated by the stiffest direction of the target, so the flattest ones barely move: the error stays at its initial value W 2 ( P 0 , P ) = Tr Σ W_2(\mathbb{P}_0,\mathbb{P}) = \sqrt{\operatorname{Tr}\Sigma} W 2 ( P 0 , P ) = Tr Σ for N ≲ κ N \lesssim\kappa N ≲ κ , then decays like e − c N / κ e^{-cN/\kappa} e − c N / κ (c = 2 c = 2 c = 2 for ULA, c = 1 / 4 c = 1/4 c = 1/4 for ULD) down to the discretization bias of that step, reached at N ≈ N ⋆ = Θ ( κ log κ ) N \approx N_{\star} = \Theta(\kappa\log\kappa) N ≈ N ⋆ = Θ ( κ log κ ) . Only then does the log N / N \log N/N log N / N regime of Theorem 1 begin, whereas the diffusion sampler follows its asymptote from N ≈ 10 2 N \approx10^2 N ≈ 1 0 2 onwards.
Diffusion models: circumventing the condition-number dependence
In contrast, diffusion models follow the scores s t s_t s t , whose conditioning κ t \kappa_t κ t tends to 1 at large times, and achieve rates that depend on neither κ \kappa κ nor λ min \lambda_{\min} λ m i n .
Theorem 3 (Diffusion sampler). Consider an iteration budget N ≥ 1 N \ge1 N ≥ 1 . Set horizon T = ( Tr ( Σ 5 ) / Tr Σ ) 1 / 4 N T = \left(\operatorname{Tr}(\Sigma^5)/\operatorname{Tr}\Sigma\right)^{1/4}\sqrt{N} T = ( Tr ( Σ 5 ) / Tr Σ ) 1/4 N , early-stopping threshold δ = Tr Σ / ( d N 2 ) \delta= \operatorname{Tr}\Sigma/(dN^2) δ = Tr Σ/ ( d N 2 ) , and geometric time discretization grid τ k = T ( δ / T ) k / N \tau_k = T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N for k ∈ { 0 , … , N } k \in\{0,\ldots,N\} k ∈ { 0 , … , N } . Then the diffusion algorithm (6) yields
W 2 ( P N , P ) ≤ Tr Σ N ( 5 8 a N ρ 1 / N log ( ρ 2 / 5 N ) + 1 + 8 ) , ρ : = d λ max Tr Σ ∈ [ 1 , d ] , W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\sqrt{\operatorname{Tr}\Sigma}}{N}\left(\frac{5}{8}a_N\rho^{1/N}\log(\rho^{2/5}N)+1+\sqrt{8}\right),\qquad\rho:= \frac{d\lambda_{\max}}{\operatorname{Tr}\Sigma}\in[1,d], W 2 ( P N , P ) ≤ N Tr Σ ( 8 5 a N ρ 1/ N log ( ρ 2/5 N ) + 1 + 8 ) , ρ := Tr Σ d λ m a x ∈ [ 1 , d ] , where a N : = ( 1 + 4 N − 2 ) 1 / 2 N 5 / ( 2 N ) a_N := (1+4N^{-2})^{1/2}N^{5/(2N)} a N := ( 1 + 4 N − 2 ) 1/2 N 5/ ( 2 N ) satisfies a N ≤ 2 7 / 4 a_N \le2^{7/4} a N ≤ 2 7/4 for all N ≥ 1 ∗ a n d ∗ N \ge1 *and* N ≥ 1 ∗ an d ∗ a_N \to 1$. Moreover, this bound is asymptotically exact: under the same hyperparameters,
W 2 ( P N , P ) ∼ N → ∞ 5 8 Tr Σ log N N , (7) W_2(\mathbb{P}_N,\mathbb{P})\underset{N\to\infty}{\sim}\frac{5}{8}\sqrt{\operatorname{Tr}\Sigma}\frac{\log N}{N}, \tag*{(7)} W 2 ( P N , P ) N → ∞ ∼ 8 5 Tr Σ N log N , (7) so that, for fixed Σ \Sigma Σ , the ratio of the bound to the actual error tends to 1.
The previous theorem gives a spectrum-adaptive bound. The simplified O ( Tr Σ log N / N ) O(\sqrt{\operatorname{Tr}\Sigma}\log N/N) O ( Tr Σ log N / N ) rate is obtained when d d d grows at most polynomially with N N N . The following proposition shows that this growth assumption can be removed at the price of a coarser dependence on the spectrum.
Proposition 4. With the alternative choice T = λ max N T = \lambda_{\max}\sqrt{N} T = λ m a x N , early-stopping threshold δ = λ max / N 2 \delta= \lambda_{\max}/N^2 δ = λ m a x / N 2 , and geometric time discretization grid τ k = T ( δ / T ) k / N \tau_k = T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N for k ∈ { 0 , … , N } k \in\{0,\ldots,N\} k ∈ { 0 , … , N } , the diffusion algorithm (6) satisfies, for every N ≥ 1 N \ge1 N ≥ 1 ,
W 2 ( P N , P ) ≤ d λ max N ( 5 2 5 / 4 log N + ( 5 4 ) 3 / 2 + 1 ) . W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\sqrt{d\lambda_{\max}}}{N}\left(\frac{5}{2^{5/4}}\log N+\left(\frac{5}{4}\right)^{3/2}+1\right). W 2 ( P N , P ) ≤ N d λ m a x ( 2 5/4 5 log N + ( 4 5 ) 3/2 + 1 ) .
On the one hand, Theorem 3 provides our sharpest, spectrum-adaptive guarantee, with a prefactor governed by the effective scale Tr Σ \sqrt{\operatorname{Tr}\Sigma} Tr Σ . However, achieving this sharp rate requires choosing the horizon T T T and early-stopping threshold δ \delta δ using spectral information about Σ \Sigma Σ , and its simplified O ( Tr Σ log N / N ) O(\sqrt{\operatorname{Tr}\Sigma}\log N/N) O ( Tr Σ log N / N ) form is stated under the growth condition d ≤ P ( N ) d \le P(N) d ≤ P ( N ) for some polynomial P P P . On the other hand, Proposition 4 holds unconditionally in d d d , at the price of a coarser prefactor. Since Tr Σ ≤ d λ max \operatorname{Tr}\Sigma\le d\lambda_{\max} Tr Σ ≤ d λ m a x (with equality if and only if the target is isotropic), the coarse bound exceeds the spectral bound by a factor ρ ∈ [ 1 , d ] \sqrt{\rho}\in[1,\sqrt{d}] ρ ∈ [ 1 , d ] . Importantly, this gap is merely a finite-N N N phenomenon reflecting specific hyperparameter choices rather than a different asymptotic sampling regime. We show in Appendix § 8 .§ 4 that any geometric schedule with T ∝ N T\propto\sqrt{N} T ∝ N and δ ∝ N − 2 \delta\propto N^{-2} δ ∝ N − 2 yields the same asymptotic equivalent (7): the rate is robust to schedule tuning. This covers the parameter choices of both Theorem 3 and Proposition 4 .
As in Theorem 1, the proof of Theorem 3 and Proposition 4 , given in Appendix § 8 , exploits the Gaussian structure of the target distribution. Since the resulting distribution P N \mathbb{P}_N P N is also Gaussian, the analysis reduces to the eigenvalues of its covariance matrix, which can be characterized explicitly. This leads to a Wasserstein error bound with three distinct contributions: a discretization error, an early-stopping error controlled by the threshold δ \delta δ , and an initialization error arising from starting the process at P 0 = N ( 0 , T I ) \mathbb{P}_0 = \mathcal{N}(0,T I) P 0 = N ( 0 , T I ) rather than at the true marginal N ( 0 , Σ + T I ) \mathcal{N}(0,\Sigma+ T I) N ( 0 , Σ + T I ) , which is not directly tractable. The resulting hyperparameter choices and convergence rates reflect a trade-off between these three sources of error. Consistently with the intuition of § 2.1 , the geometric grid τ k = T ( δ / T ) k / N \tau_k = T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N takes coarse steps while s t s_t s t remains close to isotropic, and only refines them as t → δ t \to\delta t → δ , when the anisotropy of the true score re-emerges. Such geometrically decreasing step-sizes near the data are standard in the analysis of diffusion models: the schedule of Benton et al. [ [4 ] , for instance, combines constant steps far from the data with steps decaying geometrically as t → 0 t \to0 t → 0 . We adopt the geometric grid over the whole horizon [ δ , T ] [\delta,T] [ δ , T ] , which makes the computations of Appendix § 8 easier.
The rates above describe the sampling error for a fixed iteration budget N N N . Sampling guarantees are, however, more commonly stated in the reverse direction in the literature: given a target accuracy, how many iterations are required? We follow this convention below.
Corollary 5 (ε \varepsilon ε -complexity). Let 0 < ε ≤ Tr Σ 0 < \varepsilon\le\sqrt{\operatorname{Tr}\Sigma} 0 < ε ≤ Tr Σ . In order for the sampling error to satisfy W 2 ( P N , P ) ≤ ε W_2(\mathbb{P}_N,\mathbb{P}) \le\varepsilon W 2 ( P N , P ) ≤ ε , it suffices
for ULA with η = min ( λ min , ε / Tr ( Σ − 1 ) ) \eta= \min\left(\lambda_{\min},\varepsilon/\sqrt{\operatorname{Tr}(\Sigma^{-1})}\right) η = min ( λ m i n , ε / Tr ( Σ − 1 ) ) , to take
N ≥ κ 2 max ( 1 , λ min Tr ( Σ − 1 ) ε ) log 8 Tr Σ ε . N \ge\frac{\kappa}{2}\max\left(1,\frac{\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{\varepsilon}\right)\log\frac{\sqrt{8\operatorname{Tr}\Sigma}}{\varepsilon}. N ≥ 2 κ max ( 1 , ε λ m i n Tr ( Σ − 1 ) ) log ε 8 Tr Σ . for ULD with η = min ( λ min / 8 , 7 2 6 ε / λ min Tr ( Σ − 1 ) ) \eta= \min\left(\sqrt{\lambda_{\min}/8},\frac{7\sqrt{2}}{6}\varepsilon/\sqrt{\lambda_{\min}\operatorname{Tr}(\Sigma^{-1})}\right) η = min ( λ m i n /8 , 6 7 2 ε / λ m i n Tr ( Σ − 1 ) ) and γ = 8 / λ min \gamma= \sqrt{8/\lambda_{\min}} γ = 8/ λ m i n , to take
N ≥ 4 κ max ( 1 , 3 14 λ min Tr ( Σ − 1 ) ε ) log 16 Tr Σ ε . N \ge4\kappa\max\left(1,\frac{3}{14}\frac{\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{\varepsilon}\right)\log\frac{16\sqrt{\operatorname{Tr}\Sigma}}{\varepsilon}. N ≥ 4 κ max ( 1 , 14 3 ε λ m i n Tr ( Σ − 1 ) ) log ε 16 Tr Σ . for the diffusion algorithm with δ = ε 2 / ( 9 d ) \delta= \varepsilon^2/(9d) δ = ε 2 / ( 9 d ) , T = 3 / ε Tr ( ( Σ + δ I ) 3 Σ 2 ) 1 / 4 T = \sqrt{3/\varepsilon}\operatorname{Tr}\left((\Sigma+\delta I)^3\Sigma^2\right)^{1/4} T = 3/ ε Tr ( ( Σ + δ I ) 3 Σ 2 ) 1/4 , and the geometric grid τ k = T ( δ / T ) k / N \tau_k = T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N , to take
N ≥ 3 ε 4 Tr Σ + 4 ε 2 / 9 ε log T δ . N \ge\frac{3\varepsilon}{4}\frac{\sqrt{\operatorname{Tr}\Sigma+4\varepsilon^2/9}}{\varepsilon}\log\frac{T}{\delta}. N ≥ 4 3 ε ε Tr Σ + 4 ε 2 /9 log δ T .
Using Tr Σ ≤ d λ max \operatorname{Tr}\Sigma\le d\lambda_{\max} Tr Σ ≤ d λ m a x and Tr ( Σ − 1 ) ≤ d / λ min \operatorname{Tr}(\Sigma^{-1}) \le d/\lambda_{\min} Tr ( Σ − 1 ) ≤ d / λ m i n , we retrieve the ε \varepsilon ε -complexities of Table 1 , i.e., O ~ ( κ + d κ λ max / ε ) \widetilde{O}(\kappa+\sqrt{d\kappa\lambda_{\max}/\varepsilon}) O ( κ + d κ λ m a x / ε ) for Langevin dynamics versus the condition-number-free O ~ ( d λ max / ε ) \widetilde{O}(\sqrt{d\lambda_{\max}/\varepsilon}) O ( d λ m a x / ε ) for diffusion. The spectral form is more informative. For the Langevin samplers, the 1 / ε 1/\varepsilon 1/ ε rate only sets in once ε ≤ λ min Tr ( Σ − 1 ) \varepsilon\le\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})} ε ≤ λ m i n Tr ( Σ − 1 ) for ULA and ε ≤ 3 14 λ min Tr ( Σ − 1 ) \varepsilon\le\frac{3}{14}\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})} ε ≤ 14 3 λ m i n Tr ( Σ − 1 ) for ULD; above these thresholds, the budget is a burn-in of order κ log ( Tr Σ / ε ) \kappa\log(\sqrt{\operatorname{Tr}\Sigma}/\varepsilon) κ log ( Tr Σ / ε ) , in line with Remark 2 . The diffusion sampler, on the contrary, has no burn-in: its budget is proportional to 1 / ε 1/\varepsilon 1/ ε for every ε ≤ Tr Σ \varepsilon\le\sqrt{\operatorname{Tr}\Sigma} ε ≤ Tr Σ , up to the factor log ( T / δ ) = O ( log ( Tr Σ / ε ) ) \log(T/\delta) = O(\log(\sqrt{\operatorname{Tr}\Sigma}/\varepsilon)) log ( T / δ ) = O ( log ( Tr Σ / ε )) , which does not involve κ \kappa κ . Finally, the constants are better for ULA than for ULD; this reflects our proof technique rather than an intrinsic advantage, as we did not seek to optimize them.
Remark 6. The restriction ε ≤ Tr Σ \varepsilon\le\sqrt{\operatorname{Tr}\Sigma} ε ≤ Tr Σ is harmless: Tr Σ = W 2 ( δ 0 , P ) \sqrt{\operatorname{Tr}\Sigma} = W_2(\delta_0,\mathbb{P}) Tr Σ = W 2 ( δ 0 , P ) is the error of the trivial output 0 0 0 , so larger error tolerances require no iterations at all. Moreover, the constant 3 ε / 4 3\varepsilon/4 3 ε /4 of the diffusion budget can be traded for a mild burn-in. We show in Appendix § 9 that, with the same δ \delta δ , T T T and grid, it suffices to take, for any r ≥ 1 r \ge1 r ≥ 1 ,
N ≥ r max ( 1 , 3 e 1 / r 4 r Tr Σ + 4 ε 2 / 9 ε ) log T δ . N \ge r\max\left(1,\frac{3e^{1/r}}{4r}\frac{\sqrt{\operatorname{Tr}\Sigma+4\varepsilon^2/9}}{\varepsilon}\right)\log\frac{T}{\delta}. N ≥ r max ( 1 , 4 r 3 e 1/ r ε Tr Σ + 4 ε 2 /9 ) log δ T .
For r = 1 r=1 r = 1 the maximum is always attained by its second argument, which gives the corollary. As r r r grows, the constant 3 e 1 / r / 4 3e^{1/r}/4 3 e 1/ r /4 decreases towards 3 / 4 3/4 3/4 , while the first argument, a κ \kappa κ -free burn-in of r log ( T / δ ) r\log(T/\delta) r log ( T / δ ) iterations, prevails for ε > c r Tr Σ \varepsilon>c_r\sqrt{\operatorname{Tr}\Sigma} ε > c r Tr Σ , with c r = 3 2 ( 4 r 2 e − 2 / r − 1 ) − 1 / 2 c_r=\frac{3}{2}(4r^2e^{-2/r}-1)^{-1/2} c r = 2 3 ( 4 r 2 e − 2/ r − 1 ) − 1/2 .
Learning: the impact of noise on the implicit bias
The previous results assume the score of the target distribution—or, for diffusion, its noisy versions s t s_t s t —to be known exactly. In practice, these scores must first be learned from (noisy) samples. The goal of this section is to study whether the noise introduced in diffusion models leads to a different score estimator. We are given a dataset D = { x i } 1 ≤ i ≤ m \mathcal{D}=\{x_i\}_{1\le i\le m} D = { x i } 1 ≤ i ≤ m of m m m independent realizations of P \mathbb{P} P and denote by Σ ^ = 1 m ∑ i = 1 m x i x i ⊤ \widehat{\Sigma}=\frac{1}{m}\sum_{i=1}^m x_i x_i^\top Σ = m 1 ∑ i = 1 m x i x i ⊤ the empirical covariance matrix. Since the score of a Gaussian distribution is linear, we consider the score model
s A : x ↦ − A x , s_A:x\mapsto-Ax, s A : x ↦ − A x ,
where A ∈ R d × d A\in\mathbb{R}^{d\times d} A ∈ R d × d , which recovers the true score s s s when A = Σ − 1 A=\Sigma^{-1} A = Σ − 1 . When Σ ^ \widehat{\Sigma} Σ is invertible, which is almost surely the case if m ≥ d m\ge d m ≥ d , the score-matching loss Hyvärinen [ [21 ]
L : A ↦ 1 m ∑ i = 1 m ( ∇ ⋅ s A ( x i ) + 1 2 ∥ s A ( x i ) ∥ 2 ) , (8) L:A\mapsto\frac{1}{m}\sum_{i=1}^m\left(\nabla\cdot s_A(x_i)+\frac{1}{2}\lVert s_A(x_i)\rVert^2\right), \tag*{(8)} L : A ↦ m 1 i = 1 ∑ m ( ∇ ⋅ s A ( x i ) + 2 1 ∥ s A ( x i ) ∥ 2 ) , (8)
where ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ denotes the Euclidean norm, admits the unique minimizer Σ ^ − 1 \widehat{\Sigma}^{-1} Σ − 1 . In the overparameterized regime m < d m<d m < d , however, it has no minimizer as it diverges towards − ∞ -\infty − ∞ along Ker Σ ^ \operatorname{Ker}\widehat{\Sigma} Ker Σ . In this regime, the direction of divergence followed by a given procedure is not determined by L L L alone but also depends on the optimization algorithm and its initialization, which is usually referred to as an implicit bias of the optimization algorithm [15 ] . Our goal is to compare the implicit biases of two algorithms. First, we study gradient descent initialized at A 0 = 0 A_0=0 A 0 = 0 and write A K A_K A K for the parameter obtained after K ≥ 1 K\ge1 K ≥ 1 gradient steps on (8) . We then compare with the iterate A K σ A_K^\sigma A K σ obtained by running K K K steps of gradient descent, from the same initialization, on a diffusion-style noised objective. Fix a noise level σ > 0 \sigma>0 σ > 0 and let ω ∼ N ( 0 , σ 2 I ) \omega\sim\mathcal{N}(0,\sigma^2I) ω ∼ N ( 0 , σ 2 I ) . The noised objective is
L σ : A ↦ 1 m ∑ i = 1 m E ω [ ∇ ⋅ s A ( x i + ω ) + 1 2 ∥ s A ( x i + ω ) ∥ 2 ] . L_\sigma:A\mapsto\frac{1}{m}\sum_{i=1}^m\mathbb{E}_\omega\left[\nabla\cdot s_A(x_i+\omega)+\frac{1}{2}\lVert s_A(x_i+\omega)\rVert^2\right]. L σ : A ↦ m 1 i = 1 ∑ m E ω [ ∇ ⋅ s A ( x i + ω ) + 2 1 ∥ s A ( x i + ω ) ∥ 2 ] .
As shown by Vincent [ [36 ] , this coincides, up to an A A A -independent constant, with the standard denoising score-matching regression objective. Additionally, a direct computation shows that
L σ ( A ) = L ( A ) + σ 2 2 ∥ A ∥ F 2 . L_\sigma(A)=L(A)+\frac{\sigma^2}{2}\lVert A\rVert_F^2. L σ ( A ) = L ( A ) + 2 σ 2 ∥ A ∥ F 2 .
Thus, it is equivalent to adding a ridge-type regularization term.
We show that, in this Gaussian setting, noise injection does not fundamentally change the learned score: both procedures recover the empirical covariance Σ ^ \widehat{\Sigma} Σ on its range, up to a shift of order σ 2 \sigma^2 σ 2 , and differ only in how they regularize its kernel. The key takeaway is that the benefit of the noising process identified in the sampling phase has no counterpart in the learning phase, at least in the Gaussian setting considered here.
Since A A A plays the role of the precision matrix Σ − 1 \Sigma^{-1} Σ − 1 in the score model s A ( x ) = − A x s_A(x)=-Ax s A ( x ) = − A x , Theorem 7 below characterizes, up to an exponentially decaying error, the covariance matrices estimated by each procedure—namely A K − 1 A_K^{-1} A K − 1 and ( A K σ ) − 1 (A_K^\sigma)^{-1} ( A K σ ) − 1 . Let us denote by λ ^ max \widehat{\lambda}_{\max} λ m a x the largest eigenvalue of Σ ^ \widehat{\Sigma} Σ , λ ^ min \widehat{\lambda}_{\min} λ m i n its smallest eigenvalue, λ ^ min + \widehat{\lambda}_{\min}^+ λ m i n + its smallest positive eigenvalue and Π Ker Σ ^ \Pi_{\operatorname{Ker}\widehat{\Sigma}} Π Ker Σ the orthogonal projector onto its kernel, of dimension max ( 0 , d − m ) \max(0,d-m) max ( 0 , d − m ) almost surely.
Theorem 7 (Score learning). Consider gradient descent initialized at A 0 = 0 A_0 = 0 A 0 = 0 , with step-size α > 0 \alpha> 0 α > 0 , on both L L L and L σ L_\sigma L σ . Let K ≥ 1 K \ge1 K ≥ 1 .
A K − 1 = Σ ^ + 1 K α Π Ker Σ ^ + O ( ρ 1 K ) A_K^{-1} = \hat{\Sigma} + \frac{1}{K\alpha}\Pi_{\operatorname{Ker}\hat{\Sigma}} + O(\rho_1^K) A K − 1 = Σ ^ + K α 1 Π Ker Σ ^ + O ( ρ 1 K ) with ρ 1 = max ( ∣ 1 − α λ ^ min + ∣ , ∣ 1 − α λ ^ max ∣ ) < 1 \rho_1 = \max\left(\left|1-\alpha\hat{\lambda}_{\min}^{+}\right|,\left|1-\alpha\hat{\lambda}_{\max}\right|\right) < 1 ρ 1 = max ( 1 − α λ ^ m i n + , 1 − α λ ^ m a x ) < 1 .
( A K σ ) − 1 = Σ ^ + σ 2 I + O ( ρ 2 K ) \left(A_K^\sigma\right)^{-1} = \hat{\Sigma}+\sigma^2 I+O(\rho_2^K) ( A K σ ) − 1 = Σ ^ + σ 2 I + O ( ρ 2 K ) with ρ 2 = max ( ∣ 1 − α ( λ ^ min + σ 2 ) ∣ , ∣ 1 − α ( λ ^ max + σ 2 ) ∣ ) < 1 \rho_2 = \max\left(\left|1-\alpha\left(\hat{\lambda}_{\min}+\sigma^2\right)\right|,\left|1-\alpha\left(\hat{\lambda}_{\max}+\sigma^2\right)\right|\right) < 1 ρ 2 = max ( 1 − α ( λ ^ m i n + σ 2 ) , 1 − α ( λ ^ m a x + σ 2 ) ) < 1 .
The distinction between the two procedures is clearest when Σ ^ \hat{\Sigma} Σ ^ is singular, that is, almost surely when m < d m<d m < d . For the standard score-matching loss L L L , the resulting non-identifiability is resolved implicitly by gradient descent: up to an exponentially small optimization error, A K − 1 A_K^{-1} A K − 1 coincides with Σ ^ \hat{\Sigma} Σ ^ on its range, while a correction of order 1 / ( K α ) 1/(K\alpha) 1/ ( K α ) appears only in the kernel of Σ ^ \hat{\Sigma} Σ ^ . In contrast, the noised objective L σ L_\sigma L σ induces an explicit ridge regularization, and this translates into a uniform covariance shift σ 2 I \sigma^2 I σ 2 I : all directions are regularized by the same amount. Thus the two procedures recover a regularized empirical covariance matrix, but differ slightly in the regularization: the implicit bias of L L L acts only in directions that are not identified by the data, whereas noise injection regularizes all directions indiscriminately. Yet, in order to recover the true covariance directions, one should take σ 2 ≪ λ ^ min + \sigma^2 \ll\hat{\lambda}_{\min}^{+} σ 2 ≪ λ ^ m i n + and, respectively, 1 / ( K α ) ≪ λ ^ min + 1/(K\alpha) \ll\hat{\lambda}_{\min}^{+} 1/ ( K α ) ≪ λ ^ m i n + . In this regime, both regularizations are essentially identical, meaning that the noising process does not help regularize the estimated score compared to learning the original score (with early stopping). We finally note that this constitutes an instance where the gradient descent path follows the explicit ridge regularization path, which is a structure appearing in many contexts [1 ] .
Conclusion
This work demonstrates an advantage of modeling the score at various levels of noise in the Gaussian setting: more efficient sampling by gradually adding anisotropy. This benefit is specific to sampling: in the same setting, the score learned with noise coincides, up to the regularization of the empirical nullspace, with the one learned without. Our sampling results take the form of scaling laws, both for the sampling error and for the hyperparameters that achieve it. We emphasize that, despite its simplicity, the Gaussian framework enables a rigorous proof by characterizing the exact dependence on the condition number. Weaker assumptions, e.g. , log-concavity, lead to loose dependence on the condition number, which is insufficient for our purpose.
Natural directions for future work include incorporating the score estimation error into the sampling analysis and extending the comparison beyond the Gaussian setting.
Acknowledgements
This work has received support from the French government, managed by the National Research Agency, under the France 2030 program with the reference “PR[AI]RIE-PSAI” (ANR-23-IACL-0008), and through the Génie-Pi project, as part of the PEPR Artificial Intelligence programme (ANR-25-PEIA-0006).
Preliminaries
We start with a lemma that serves for all three algorithms. Throughout, the constant random vector 0 0 0 is regarded as a degenerate centered Gaussian vector with a vanishing covariance matrix; this convention lets us handle the zero initializations of ULA and ULD without special treatment.
Lemma A.1. Let P P P be an orthogonal matrix diagonalizing Σ \Sigma Σ , i.e., Σ = P Λ P ⊤ \Sigma= P\Lambda P^{\top} Σ = P Λ P ⊤ with Λ = diag ( λ 1 , … , λ d ) \Lambda= \operatorname{diag}(\lambda_1,\ldots,\lambda_d) Λ = diag ( λ 1 , … , λ d ) , and let A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) denote the set of matrices that are diagonal in the eigenbasis of Σ \Sigma Σ :
A ( Σ ) = { P D P ⊤ , D diagonal } . \mathcal{A}(\Sigma) = \{PDP^{\top},\ D\ \text{diagonal}\}. A ( Σ ) = { P D P ⊤ , D diagonal } . For M ∈ A ( Σ ) M \in\mathcal{A}(\Sigma) M ∈ A ( Σ ) , we write [ M ] i [M]_i [ M ] i for its i i i -th diagonal entry in this basis. Let ( A k x x , A k x v , A k v x , A k v v , B k x , B k v ) k ≥ 0 (A_k^{xx}, A_k^{xv}, A_k^{vx}, A_k^{vv}, B_k^x, B_k^v)_{k\geq0} ( A k xx , A k xv , A k v x , A k v v , B k x , B k v ) k ≥ 0 be elements of A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) , ( ξ k ) (\xi_k) ( ξ k ) a sequence of independent standard Gaussian vectors in R d \mathbb{R}^d R d , and ( X 0 , V 0 ) (X_0,V_0) ( X 0 , V 0 ) a centered, possibly degenerate, Gaussian pair, independent of ( ξ k ) (\xi_k) ( ξ k ) , whose covariance blocks E [ X 0 X 0 ⊤ ] \mathbb{E}[X_0X_0^{\top}] E [ X 0 X 0 ⊤ ] , E [ V 0 V 0 ⊤ ] \mathbb{E}[V_0V_0^{\top}] E [ V 0 V 0 ⊤ ] and E [ X 0 V 0 ⊤ ] \mathbb{E}[X_0V_0^{\top}] E [ X 0 V 0 ⊤ ] all belong to A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) . Consider the process ( X k , V k ) (X_k,V_k) ( X k , V k ) defined by
∀ k ≥ 0 , { X k + 1 = A k x x X k + A k x v V k + B k x ξ k , V k + 1 = A k v x X k + A k v v V k + B k v ξ k , (9) \forall k \geq0,\qquad
\begin{cases}
X_{k+1} = A_k^{xx}X_k + A_k^{xv}V_k + B_k^x\xi_k,\\
V_{k+1} = A_k^{vx}X_k + A_k^{vv}V_k + B_k^v\xi_k,
\end{cases} \tag*{(9)} ∀ k ≥ 0 , { X k + 1 = A k xx X k + A k xv V k + B k x ξ k , V k + 1 = A k v x X k + A k v v V k + B k v ξ k , (9) and set Σ k : = E [ X k X k ⊤ ] \Sigma_k := \mathbb{E}[X_kX_k^{\top}] Σ k := E [ X k X k ⊤ ] , S k : = E [ V k V k ⊤ ] S_k := \mathbb{E}[V_kV_k^{\top}] S k := E [ V k V k ⊤ ] and Γ k : = E [ X k V k ⊤ ] \Gamma_k := \mathbb{E}[X_kV_k^{\top}] Γ k := E [ X k V k ⊤ ] . Finally, for 1 ≤ i ≤ d 1 \leq i \leq d 1 ≤ i ≤ d , denote by x k ( i ) x_k^{(i)} x k ( i ) , v k ( i ) v_k^{(i)} v k ( i ) and ζ k ( i ) \zeta_k^{(i)} ζ k ( i ) the i i i -th coordinates of P ⊤ X k P^{\top}X_k P ⊤ X k , P ⊤ V k P^{\top}V_k P ⊤ V k and P ⊤ ξ k P^{\top}\xi_k P ⊤ ξ k respectively. Then:
(i) ( X k , V k ) (X_k,V_k) ( X k , V k ) is a centered Gaussian vector, and Σ k \Sigma_k Σ k , S k S_k S k and Γ k \Gamma_k Γ k belong to A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) .
(ii) The d d d pairs ( x k ( i ) , v k ( i ) ) (x_k^{(i)},v_k^{(i)}) ( x k ( i ) , v k ( i ) ) , 1 ≤ i ≤ d 1 \le i \le d 1 ≤ i ≤ d , are mutually independent, and each of them follows the scalar recursion
{ x k + 1 ( i ) = [ A k x x ] i x k ( i ) + [ A k x v ] i v k ( i ) + [ B k x ] i ζ k ( i ) , v k + 1 ( i ) = [ A k v x ] i x k ( i ) + [ A k v v ] i v k ( i ) + [ B k v ] i ζ k ( i ) , \begin{cases}
x_{k+1}^{(i)} = [A_k^{xx}]_i x_k^{(i)} + [A_k^{xv}]_i v_k^{(i)} + [B_k^x]_i \zeta_k^{(i)},\\
v_{k+1}^{(i)} = [A_k^{vx}]_i x_k^{(i)} + [A_k^{vv}]_i v_k^{(i)} + [B_k^v]_i \zeta_k^{(i)},
\end{cases} { x k + 1 ( i ) = [ A k xx ] i x k ( i ) + [ A k xv ] i v k ( i ) + [ B k x ] i ζ k ( i ) , v k + 1 ( i ) = [ A k v x ] i x k ( i ) + [ A k v v ] i v k ( i ) + [ B k v ] i ζ k ( i ) ,
where the ( ζ k ( i ) ) k , i (\zeta_k^{(i)})_{k,i} ( ζ k ( i ) ) k , i are mutually independent standard one-dimensional Gaussian variables, independent of ( X 0 , V 0 ) (X_0,V_0) ( X 0 , V 0 ) .
(iii) The eigenvalues λ i ( k ) \lambda_i^{(k)} λ i ( k ) of Σ k \Sigma_k Σ k are the variances of the variables x k ( i ) x_k^{(i)} x k ( i ) :
λ i ( k ) = Var ( x k ( i ) ) . \lambda_i^{(k)} = \operatorname{Var}(x_k^{(i)}). λ i ( k ) = Var ( x k ( i ) ) .
Remark A.2. ULA (2) , ULD (4) and the diffusion sampler (6) are all instances of the process ( X k , V k ) (X_k,V_k) ( X k , V k ) above. For ULD the identification is immediate: A k x x = I A_k^{xx}=I A k xx = I , A k x v = η I A_k^{xv}=\eta I A k xv = η I , B k x = 0 B_k^x=0 B k x = 0 , A k v x = − η Σ − 1 A_k^{vx}=-\eta\Sigma^{-1} A k v x = − η Σ − 1 , A k v v = ( 1 − η γ ) I A_k^{vv}=(1-\eta\gamma)I A k v v = ( 1 − η γ ) I and B k v = 2 η γ I B_k^v=\sqrt{2\eta\gamma}I B k v = 2 η γ I . ULA and the diffusion have no velocity component, but they fit the same framework upon taking V 0 = 0 V_0=0 V 0 = 0 and A k x v = A k v x = A k v v = B k v = 0 A_k^{xv}=A_k^{vx}=A_k^{vv}=B_k^v=0 A k xv = A k v x = A k v v = B k v = 0 . ULA then corresponds to A k x x = I − η Σ − 1 A_k^{xx}=I-\eta\Sigma^{-1} A k xx = I − η Σ − 1 and B k x = 2 η I B_k^x=\sqrt{2\eta}I B k x = 2 η I , and the diffusion to A k x x = I − η k + 1 C π k − 1 A_k^{xx}=I-\eta_{k+1}C_{\pi_k}^{-1} A k xx = I − η k + 1 C π k − 1 and B k x = η k + 1 I B_k^x=\sqrt{\eta_{k+1}}I B k x = η k + 1 I , the covariance T I T I T I of its initialization N ( 0 , T I ) \mathcal{N}(0,T I) N ( 0 , T I ) being indeed in A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) .
Proof of Lemma A.1. We first prove (ii). For every k ≥ 0 k \ge0 k ≥ 0 , set X ~ k : = P T X k \widetilde{X}_k := P^{\mathsf T}X_k X k := P T X k , V ~ k : = P T V k \widetilde{V}_k := P^{\mathsf T}V_k V k := P T V k , and ξ ~ k : = P T ξ k \widetilde{\xi}_k := P^{\mathsf T}\xi_k ξ k := P T ξ k . Since P P P is orthogonal, ( ξ ~ k ) k ≥ 0 (\widetilde{\xi}_k)_{k\ge0} ( ξ k ) k ≥ 0 is again a sequence of independent standard Gaussian vectors, independent of ( X 0 , V 0 ) (X_0,V_0) ( X 0 , V 0 ) ; hence the family ( ζ k ( i ) ) k ≥ 0 , 1 ≤ i ≤ d (\zeta_k^{(i)})_{k\ge0,\,1\le i\le d} ( ζ k ( i ) ) k ≥ 0 , 1 ≤ i ≤ d consists of mutually independent N ( 0 , 1 ) \mathcal{N}(0,1) N ( 0 , 1 ) variables, independent of ( X 0 , V 0 ) (X_0,V_0) ( X 0 , V 0 ) , which is the last claim of (ii). Multiplying (9) by P T P^{\mathsf T} P T and inserting P P T = I PP^{\mathsf T}=I P P T = I in front of X k X_k X k , V k V_k V k and ξ k \xi_k ξ k gives
{ X ~ k + 1 = P T A k x x P X ~ k + P T A k x v P V ~ k + P T B k x P ξ ~ k , V ~ k + 1 = P T A k v x P X ~ k + P T A k v v P V ~ k + P T B k v P ξ ~ k . \begin{cases}
\widetilde{X}_{k+1}=P^{\mathsf T}A_k^{xx}P\widetilde{X}_k+P^{\mathsf T}A_k^{xv}P\widetilde{V}_k+P^{\mathsf T}B_k^xP\widetilde{\xi}_k,\\
\widetilde{V}_{k+1}=P^{\mathsf T}A_k^{vx}P\widetilde{X}_k+P^{\mathsf T}A_k^{vv}P\widetilde{V}_k+P^{\mathsf T}B_k^vP\widetilde{\xi}_k.
\end{cases} { X k + 1 = P T A k xx P X k + P T A k xv P V k + P T B k x P ξ k , V k + 1 = P T A k v x P X k + P T A k v v P V k + P T B k v P ξ k .
By definition of A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) , every matrix in this system is diagonal, so reading it coordinate by coordinate yields exactly the announced recursion
{ x k + 1 ( i ) = [ A k x x ] i x k ( i ) + [ A k x v ] i v k ( i ) + [ B k x ] i ζ k ( i ) , v k + 1 ( i ) = [ A k v x ] i x k ( i ) + [ A k v v ] i v k ( i ) + [ B k v ] i ζ k ( i ) , 1 ≤ i ≤ d . \begin{cases}
x_{k+1}^{(i)}=[A_k^{xx}]_i x_k^{(i)}+[A_k^{xv}]_i v_k^{(i)}+[B_k^x]_i\zeta_k^{(i)},\\
v_{k+1}^{(i)}=[A_k^{vx}]_i x_k^{(i)}+[A_k^{vv}]_i v_k^{(i)}+[B_k^v]_i\zeta_k^{(i)},
\end{cases}
\qquad1\le i\le d. { x k + 1 ( i ) = [ A k xx ] i x k ( i ) + [ A k xv ] i v k ( i ) + [ B k x ] i ζ k ( i ) , v k + 1 ( i ) = [ A k v x ] i x k ( i ) + [ A k v v ] i v k ( i ) + [ B k v ] i ζ k ( i ) , 1 ≤ i ≤ d .
It remains to show that the d d d pairs ( x k ( i ) , v k ( i ) ) (x_k^{(i)},v_k^{(i)}) ( x k ( i ) , v k ( i ) ) are independent, which we do by induction on k k k .
Base case. ( X ~ 0 , V ~ 0 ) (\widetilde{X}_0,\widetilde{V}_0) ( X 0 , V 0 ) is a centered Gaussian vector, as ( X 0 , V 0 ) (X_0,V_0) ( X 0 , V 0 ) is, and its covariance matrix
[ P T Σ 0 P P T Γ 0 P P T Γ 0 T P P T S 0 P ] \begin{bmatrix}
P^{\mathsf T}\Sigma_0P & P^{\mathsf T}\Gamma_0P\\
P^{\mathsf T}\Gamma_0^{\mathsf T}P & P^{\mathsf T}S_0P
\end{bmatrix} [ P T Σ 0 P P T Γ 0 T P P T Γ 0 P P T S 0 P ]
has four diagonal blocks, since Σ 0 \Sigma_0 Σ 0 , S 0 S_0 S 0 and Γ 0 \Gamma_0 Γ 0 belong to A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) . The pairs ( x 0 ( i ) , v 0 ( i ) ) 1 ≤ i ≤ d (x_0^{(i)},v_0^{(i)})_{1\le i\le d} ( x 0 ( i ) , v 0 ( i ) ) 1 ≤ i ≤ d are therefore uncorrelated and, being jointly Gaussian, independent.
Induction step. Assume the pairs ( x k ( i ) , v k ( i ) ) 1 ≤ i ≤ d (x_k^{(i)},v_k^{(i)})_{1\le i\le d} ( x k ( i ) , v k ( i ) ) 1 ≤ i ≤ d are independent for some k ≥ 0 k\ge0 k ≥ 0 . The vector ξ k \xi_k ξ k is independent of X 0 X_0 X 0 , V 0 V_0 V 0 and ( ξ j ) j < k (\xi_j)_{j<k} ( ξ j ) j < k , of which ( X k , V k ) (X_k,V_k) ( X k , V k ) is a deterministic function; hence ξ k \xi_k ξ k is independent of ( X k , V k ) (X_k,V_k) ( X k , V k ) , and ξ ~ k \widetilde{\xi}_k ξ k of ( X ~ k , V ~ k ) (\widetilde{X}_k,\widetilde{V}_k) ( X k , V k ) . As the coordinates ζ ( 1 ) , … , ζ ( d ) \zeta^{(1)},\ldots,\zeta^{(d)} ζ ( 1 ) , … , ζ ( d ) of ξ ~ k \widetilde{\xi}_k ξ k are themselves independent, the d d d triplets ( x k ( i ) , v k ( i ) , ζ k ( i ) ) (x_k^{(i)},v_k^{(i)},\zeta_k^{(i)}) ( x k ( i ) , v k ( i ) , ζ k ( i ) ) are mutually independent. Each pair ( x k + 1 ( i ) , v k + 1 ( i ) ) (x_{k+1}^{(i)},v_{k+1}^{(i)}) ( x k + 1 ( i ) , v k + 1 ( i ) ) is a deterministic function of the i i i -th triplet, so the pairs at step k + 1 k+1 k + 1 are independent as well. This completes the induction, and the proof of (ii).
We now turn to (i). The vector ( X k + 1 , V k + 1 ) (X_{k+1},V_{k+1}) ( X k + 1 , V k + 1 ) is a linear function of ( X k , V k , ξ k ) (X_k,V_k,\xi_k) ( X k , V k , ξ k ) . If ( X k , V k ) (X_k,V_k) ( X k , V k ) is a centered Gaussian vector, so is ( X k , V k , ξ k ) (X_k,V_k,\xi_k) ( X k , V k , ξ k ) , because ξ k \xi_k ξ k is centered Gaussian and independent of ( X k , V k ) (X_k,V_k) ( X k , V k ) (see the proof of (ii)); hence ( X k + 1 , V k + 1 ) (X_{k+1},V_{k+1}) ( X k + 1 , V k + 1 ) is centered Gaussian too, and the claim follows by induction from the assumption on ( X 0 , V 0 ) (X_0,V_0) ( X 0 , V 0 ) . As for the covariance matrices, Σ ‾ k \overline{\Sigma}_k Σ k belongs to A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) if and only if P ⊤ Σ ‾ k P P^\top\overline{\Sigma}_kP P ⊤ Σ k P is diagonal. But P ⊤ Σ ‾ k P P^\top\overline{\Sigma}_kP P ⊤ Σ k P is the covariance matrix of X ~ k \widetilde{X}_k X k , whose ( i , j ) (i,j) ( i , j ) entry is Cov ( x k ( i ) , x k ( j ) ) \operatorname{Cov}(x_k^{(i)},x_k^{(j)}) Cov ( x k ( i ) , x k ( j ) ) , which vanishes for i ≠ j i\ne j i = j by (ii). Thus Σ ‾ k ∈ A ( Σ ) \overline{\Sigma}_k\in\mathcal{A}(\Sigma) Σ k ∈ A ( Σ ) , and the same argument applies to S k S_k S k and Γ k \Gamma_k Γ k .
Finally, (iii) is a direct consequence of the above: the eigenvalues of Σ ‾ k \overline{\Sigma}_k Σ k are the diagonal entries of P ⊤ Σ ‾ k P P^\top\overline{\Sigma}_kP P ⊤ Σ k P , namely the variances Var ( x k ( i ) ) \operatorname{Var}(x_k^{(i)}) Var ( x k ( i ) ) .
We also rely on the following elementary fact, which expresses the Wasserstein distance between two centered Gaussians whose covariances are diagonal in the same orthonormal basis in terms of their eigenvalues.
Lemma A.3. Let Σ 1 , Σ 2 ∈ A ( Σ ) \Sigma_1,\Sigma_2\in\mathcal{A}(\Sigma) Σ 1 , Σ 2 ∈ A ( Σ ) be positive semi-definite, with diagonal entries (hence eigenvalues) ( a i ) 1 ≤ i ≤ d (a_i)_{1\le i\le d} ( a i ) 1 ≤ i ≤ d and ( b i ) 1 ≤ i ≤ d (b_i)_{1\le i\le d} ( b i ) 1 ≤ i ≤ d in the basis P P P . Then
W 2 ( N ( 0 , Σ 1 ) , N ( 0 , Σ 2 ) ) = ( ∑ i = 1 d ( a i − b i ) 2 ) 1 / 2 . W_2(\mathcal{N}(0,\Sigma_1),\mathcal{N}(0,\Sigma_2))=\left(\sum_{i=1}^{d}\left(\sqrt{a_i}-\sqrt{b_i}\right)^2\right)^{1/2}. W 2 ( N ( 0 , Σ 1 ) , N ( 0 , Σ 2 )) = ( i = 1 ∑ d ( a i − b i ) 2 ) 1/2 .
Proof. Since Σ 1 \Sigma_1 Σ 1 and Σ 2 \Sigma_2 Σ 2 belong to A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) , they commute, and the formula recalled in § 2.1 applies [13 ] :
W 2 ( N ( 0 , Σ 1 ) , N ( 0 , Σ 2 ) ) = ∥ Σ 1 1 / 2 − Σ 2 1 / 2 ∥ F . W_2(\mathcal{N}(0,\Sigma_1),\mathcal{N}(0,\Sigma_2))=\left\|\Sigma_1^{1/2}-\Sigma_2^{1/2}\right\|_F. W 2 ( N ( 0 , Σ 1 ) , N ( 0 , Σ 2 )) = Σ 1 1/2 − Σ 2 1/2 F .
Now Σ 1 1 / 2 = P diag ( a 1 , … , a d ) P ⊤ \Sigma_1^{1/2}=P\operatorname{diag}(\sqrt{a_1},\ldots,\sqrt{a_d})P^\top Σ 1 1/2 = P diag ( a 1 , … , a d ) P ⊤ and Σ 2 1 / 2 = P diag ( b 1 , … , b d ) P ⊤ \Sigma_2^{1/2}=P\operatorname{diag}(\sqrt{b_1},\ldots,\sqrt{b_d})P^\top Σ 2 1/2 = P diag ( b 1 , … , b d ) P ⊤ , and the Frobenius norm is invariant under orthogonal conjugation, whence the result.
Finally, the following elementary lemma is what we use to optimize the bounds of Propositions B.1 and B.7.
Lemma A.4. Let A A A , B B B , C C C and D D D be positive constants, and let
f : ( 0 , D ] ⟶ R , x ⟼ A e − B x + C x . \begin{aligned}
f &: (0,D]\longrightarrow\mathbb{R},\\
x &\longmapsto Ae^{-Bx}+Cx.
\end{aligned} f x : ( 0 , D ] ⟶ R , ⟼ A e − B x + C x . Then f f f is strictly convex and, provided 0 < log A B C ≤ B D 0<\log\frac{AB}{C}\le BD 0 < log C A B ≤ B D , it admits a unique minimizer,
x ∗ = 1 B log A B C , with f ( x ∗ ) = C B ( 1 + log A B C ) . x_*=\frac{1}{B}\log\frac{AB}{C},\qquad\text{with }f(x_*)=\frac{C}{B}\left(1+\log\frac{AB}{C}\right). x ∗ = B 1 log C A B , with f ( x ∗ ) = B C ( 1 + log C A B ) .
Proof. Strict convexity follows from f ′ ′ > 0 f''>0 f ′′ > 0 on ( 0 , D ] (0,D] ( 0 , D ] . Solving f ′ ( x ) = 0 f'(x)=0 f ′ ( x ) = 0 gives x ∗ x_* x ∗ , the condition 0 < log A B C ≤ B D 0<\log\frac{AB}{C}\le BD 0 < log C A B ≤ B D is exactly what ensures 0 < x ∗ ≤ D 0<x_*\le D 0 < x ∗ ≤ D , and the value of f ( x ∗ ) f(x_*) f ( x ∗ ) follows by substitution.
Proof of Theorem 1 (Langevin samplers)
Overview
This section is devoted to the proof of the following theorem, stated in § 2.2 .
Theorem 1 (Langevin samplers). Let N ≥ 2 N \ge2 N ≥ 2 be the iteration budget, and set the step-size η \eta η (and the friction γ \gamma γ for ULD) as
ULA: η = 1 2 λ max log N N \eta= \frac{1}{2}\lambda_{\max}\frac{\log N}{N} η = 2 1 λ m a x N l o g N , provided N ≥ 1 2 κ log N N \ge\frac{1}{2}\kappa\log N N ≥ 2 1 κ log N ;
ULD: η = 2 λ max κ log N N \eta= \sqrt{2\lambda_{\max}\kappa}\frac{\log N}{N} η = 2 λ m a x κ N l o g N and γ = 8 / λ min \gamma= \sqrt{8/\lambda_{\min}} γ = 8/ λ m i n , provided N ≥ 4 κ log N N \ge4\kappa\log N N ≥ 4 κ log N .
Then
W 2 ( P N , P ) ≤ λ max Tr ( Σ − 1 ) N ( C 1 log N + C 2 ) , W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{N}(C_1\log N+C_2), W 2 ( P N , P ) ≤ N λ m a x Tr ( Σ − 1 ) ( C 1 log N + C 2 ) , with C 1 = 1 4 C_1 = \frac{1}{4} C 1 = 4 1 , C 2 = 2 C_2 = \sqrt{2} C 2 = 2 for ULA and C 1 = 3 7 C_1 = \frac{3}{7} C 1 = 7 3 , C 2 = 8 C_2 = 8 C 2 = 8 for ULD. Furthermore, for fixed Σ \Sigma Σ , these bounds are tight up to a constant factor:
W 2 ( P N , P ) ∼ N → ∞ C 3 λ max Tr ( Σ − 1 ) log N N , W_2(\mathbb{P}_N,\mathbb{P}) \underset{N\to\infty}{\sim} C_3\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\log N}{N}, W 2 ( P N , P ) N → ∞ ∼ C 3 λ m a x Tr ( Σ − 1 ) N log N , with C 3 = 1 8 C_3 = \frac{1}{8} C 3 = 8 1 for ULA and C 3 = 1 4 C_3 = \frac{1}{4} C 3 = 4 1 for ULD.
Error decomposition. ULA and ULD define time-homogeneous Markov chains. Under stability conditions on the hyperparameters, established in step (i) below, these chains converge, not to the target P \mathbb{P} P , but to an invariant law P ∞ \mathbb{P}_{\infty} P ∞ that depends on the step-size η \eta η (and on the friction γ \gamma γ for ULD). The triangle inequality
W 2 ( P N , P ) ≤ W 2 ( P N , P ∞ ) + W 2 ( P ∞ , P ) (10) W_2(\mathbb{P}_N,\mathbb{P}) \le W_2(\mathbb{P}_N,\mathbb{P}_{\infty}) + W_2(\mathbb{P}_{\infty},\mathbb{P}) \tag*{(10)} W 2 ( P N , P ) ≤ W 2 ( P N , P ∞ ) + W 2 ( P ∞ , P ) (10)
separates two contributions. The first term is the early-stopping error: after N N N iterations, the chain has not yet reached its invariant law. The second is the discretization error: the bias of P ∞ \mathbb{P}_{\infty} P ∞ with respect to P \mathbb{P} P , introduced by the Euler–Maruyama scheme.
Reduction to eigenvalues. Lemma A.1 applies to both algorithms (Remark A.2): each P N \mathbb{P}_N P N is a centered Gaussian whose covariance Σ N \Sigma_N Σ N lies in A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) , and so does the covariance Σ ∞ \Sigma_{\infty} Σ ∞ of P ∞ \mathbb{P}_{\infty} P ∞ , the limit of ( Σ N ) (\Sigma_N) ( Σ N ) . By Lemma A.3, both terms in (10) then depend only on the eigenvalues λ i ( N ) \lambda_i^{(N)} λ i ( N ) of Σ N \Sigma_N Σ N , λ i ∞ \lambda_i^{\infty} λ i ∞ of Σ ∞ \Sigma_{\infty} Σ ∞ and λ i \lambda_i λ i of Σ \Sigma Σ :
W 2 2 ( P N , P ∞ ) = ∑ i = 1 d ( λ i ( N ) − λ i ∞ ) 2 , W 2 2 ( P ∞ , P ) = ∑ i = 1 d ( λ i ∞ − λ i ) 2 . (11) W_2^2(\mathbb{P}_N,\mathbb{P}_{\infty}) = \sum_{i=1}^{d}\left(\sqrt{\lambda_i^{(N)}}-\sqrt{\lambda_i^{\infty}}\right)^2,\qquad W_2^2(\mathbb{P}_{\infty},\mathbb{P}) = \sum_{i=1}^{d}\left(\sqrt{\lambda_i^{\infty}}-\sqrt{\lambda_i}\right)^2. \tag*{(11)} W 2 2 ( P N , P ∞ ) = i = 1 ∑ d ( λ i ( N ) − λ i ∞ ) 2 , W 2 2 ( P ∞ , P ) = i = 1 ∑ d ( λ i ∞ − λ i ) 2 . (11)
This is the payoff of the Gaussian setting: the analysis reduces to real sequences for which closed forms are available.
Throughout, a choice of hyperparameters is called admissible if it lies in the stability range of the chain, shrunk by numerical constants that give the estimates some slack, keeping the denominators involved bounded away from zero. Remarks B.4 and B.11 make the gap with the exact stability conditions explicit.
Outline. Sections B.2 (ULA) and B.3 (ULD) follow the same four steps.
Closed form. Compute the eigenvalues λ i ( N ) \lambda_i^{(N)} λ i ( N ) and λ i ∞ \lambda_i^\infty λ i ∞ from the scalar recursions of Lemma A.1 , and identify the stability conditions under which ( Σ N ) (\Sigma_N) ( Σ N ) converges.
Parametric bound. Bound each of the two terms in (10) and sum: this gives a bound on W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) valid over the whole admissible range identified in (i) (Proposition B.1 for ULA, Proposition B.7 for ULD).
Choice of hyperparameters. Minimize, up to a numerical constant, the bound obtained in (ii), and check that the selected values satisfy the stability conditions as soon as N ≥ N ⋆ N \ge N_\star N ≥ N ⋆ .
Asymptotic equivalent. For the hyperparameters of step (iii), derive an exact equivalent of W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) as N → ∞ N \to\infty N → ∞ from the closed forms of step (i). This equivalent has the same order log N / N \log N/N log N / N and the same spectral prefactor as the bound of step (iii), up to a numerical constant: the bound is of the right order of magnitude.
Unadjusted Langevin algorithm
The goal of this section is to prove the following proposition, which bounds W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) for every small enough step-size η \eta η . To lighten notation, we drop the index i i i whenever we argue at a fixed eigendirection i i i .
Proposition B.1 (Parametric bound for ULA). For any step-size 0 < η ≤ λ min 0 < \eta\le\lambda_{\min} 0 < η ≤ λ m i n and any N ≥ 0 N \ge0 N ≥ 0 , the error of ULA satisfies
W 2 ( P N , P ) ≤ 2 Tr Σ e − 2 η N / λ max + 1 2 Tr ( Σ − 1 ) η . W_2(\mathbb{P}_N,\mathbb{P}) \le\sqrt{2\operatorname{Tr}\Sigma}\,e^{-2\eta N/\lambda_{\max}}+\frac{1}{2}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\,\eta. W 2 ( P N , P ) ≤ 2 Tr Σ e − 2 η N / λ m a x + 2 1 Tr ( Σ − 1 ) η . The two terms of this bound come from bounding the early-stopping error and the discretization error respectively. The first decays exponentially in N η N\eta N η , the time at which the process is stopped, while the second grows linearly with the step-size η \eta η . The step-size selected in Theorem 1 is the best compromise between these two competing effects.
We first establish a closed form for the eigenvalues λ i ( N ) \lambda_i^{(N)} λ i ( N ) and their limit λ i ∞ \lambda_i^\infty λ i ∞ .
Lemma B.2. Assume 0 < η < 2 λ min 0 < \eta< 2\lambda_{\min} 0 < η < 2 λ m i n and set
λ i ∞ : = λ i 1 − η 2 λ i − 1 . \lambda_i^\infty:= \frac{\lambda_i}{1-\frac{\eta}{2}\lambda_i^{-1}}. λ i ∞ := 1 − 2 η λ i − 1 λ i . Then, for every N ≥ 0 N \ge0 N ≥ 0 ,
λ i ( N ) = λ i ∞ ( 1 − ( 1 − η λ i ) 2 N ) , \lambda_i^{(N)}=\lambda_i^\infty\left(1-\left(1-\frac{\eta}{\lambda_i}\right)^{2N}\right), λ i ( N ) = λ i ∞ ( 1 − ( 1 − λ i η ) 2 N ) , and in particular λ i ( N ) → λ i ∞ \lambda_i^{(N)} \to\lambda_i^\infty λ i ( N ) → λ i ∞ as N → ∞ N \to\infty N → ∞ .
Proof. Fix a direction i i i and consider the corresponding sequence ( λ ( k ) ) (\lambda^{(k)}) ( λ ( k ) ) of eigenvalues of Σ k \Sigma_k Σ k (the index i i i is dropped, as announced). By Lemma A.1 (iii) and the identification of Remark A.2, λ ( k ) \lambda^{(k)} λ ( k ) is the variance of x k x_k x k , where x 0 = 0 x_0=0 x 0 = 0 and
∀ k ≥ 0 , x k + 1 = ( 1 − η λ ) x k + 2 η ζ k , \forall k \ge0,\qquad x_{k+1}=\left(1-\frac{\eta}{\lambda}\right)x_k+\sqrt{2\eta}\,\zeta_k, ∀ k ≥ 0 , x k + 1 = ( 1 − λ η ) x k + 2 η ζ k ,
with ( ζ k ) (\zeta_k) ( ζ k ) independent standard one-dimensional Gaussians. Since x k x_k x k is a function of ( ζ j ) j < k (\zeta_j)_{j<k} ( ζ j ) j < k , it is independent of ζ k \zeta_k ζ k , and taking variances gives λ ( 0 ) = 0 \lambda^{(0)} = 0 λ ( 0 ) = 0 and
∀ k ≥ 0 , λ ( k + 1 ) = ( 1 − η λ ) 2 λ ( k ) + 2 η , \forall k \ge0,\quad\lambda^{(k+1)} = \left(1-\frac{\eta}{\lambda}\right)^2\lambda^{(k)}+2\eta, ∀ k ≥ 0 , λ ( k + 1 ) = ( 1 − λ η ) 2 λ ( k ) + 2 η ,
a first-order affine recursion. Its ratio satisfies
( 1 − η λ ) 2 < 1 , (12) \left(1-\frac{\eta}{\lambda}\right)^2 < 1, \tag*{(12)} ( 1 − λ η ) 2 < 1 , (12)
because 0 < η ≤ 2 λ min 0 < \eta\le2\lambda_{\min} 0 < η ≤ 2 λ m i n gives 0 < η / λ < 2 0 < \eta/\lambda< 2 0 < η / λ < 2 , i.e., − 1 < 1 − η / λ < 1 -1 < 1-\eta/\lambda< 1 − 1 < 1 − η / λ < 1 . In particular the ratio is not 1 1 1 , so the recursion has a unique fixed point
ℓ = 2 η 1 − ( 1 − η λ − 1 ) 2 = 2 η 2 η λ − 1 − η 2 λ − 2 = λ 1 − η 2 λ − 1 = λ ∞ , \ell= \frac{2\eta}{1-(1-\eta\lambda^{-1})^2}
= \frac{2\eta}{2\eta\lambda^{-1}-\eta^2\lambda^{-2}}
= \frac{\lambda}{1-\frac{\eta}{2}\lambda^{-1}}
= \lambda^\infty, ℓ = 1 − ( 1 − η λ − 1 ) 2 2 η = 2 η λ − 1 − η 2 λ − 2 2 η = 1 − 2 η λ − 1 λ = λ ∞ ,
and
∀ k ≥ 0 , λ ( k ) = ( 1 − η λ ) 2 k ( λ ( 0 ) − ℓ ) + ℓ = λ ∞ ( 1 − ( 1 − η λ ) 2 k ) . \forall k \ge0,\quad\lambda^{(k)}=\left(1-\frac{\eta}{\lambda}\right)^{2k}\left(\lambda^{(0)}-\ell\right)+\ell
=\lambda^\infty\left(1-\left(1-\frac{\eta}{\lambda}\right)^{2k}\right). ∀ k ≥ 0 , λ ( k ) = ( 1 − λ η ) 2 k ( λ ( 0 ) − ℓ ) + ℓ = λ ∞ ( 1 − ( 1 − λ η ) 2 k ) .
Taking k = N k=N k = N gives the closed form, and (12) gives the convergence λ ( N ) → λ ∞ \lambda^{(N)} \to\lambda^\infty λ ( N ) → λ ∞ . Observe that λ ∞ → λ \lambda^\infty\to\lambda λ ∞ → λ as η → 0 \eta\to0 η → 0 : the finer the Euler–Maruyama discretization, the smaller the bias. □
Early-stopping error
We now bound the early-stopping error of ULA.
Lemma B.3. Assume 0 < η ≤ λ min 0 < \eta\le\lambda_{\min} 0 < η ≤ λ m i n . Then, for every N ≥ 0 N \ge0 N ≥ 0 ,
W 2 ( P N , P ∞ ) ≤ 2 Tr Σ e − 2 η N / λ max . W_2(\mathbb{P}_N,\mathbb{P}_\infty) \le\sqrt{2\operatorname{Tr}\Sigma}\,e^{-2\eta N/\lambda_{\max}}. W 2 ( P N , P ∞ ) ≤ 2 Tr Σ e − 2 η N / λ m a x .
Proof. Starting from the first identity in (11) and writing a − b = ( a − b ) / ( a + b ) \sqrt{a}-\sqrt{b}=(a-b)/(\sqrt{a}+\sqrt{b}) a − b = ( a − b ) / ( a + b ) ,
W 2 2 ( P N , P ∞ ) = ∑ i = 1 d ( λ i ∞ − λ i ( N ) λ i ∞ + λ i ( N ) ) 2 ≤ ∑ i = 1 d ( λ i ∞ − λ i ( N ) ) 2 λ i ∞ . (13) W_2^2(\mathbb{P}_N,\mathbb{P}_\infty)
=\sum_{i=1}^{d}\left(\frac{\lambda_i^\infty-\lambda_i^{(N)}}{\sqrt{\lambda_i^\infty}+\sqrt{\lambda_i^{(N)}}}\right)^2
\le\sum_{i=1}^{d}\frac{(\lambda_i^\infty-\lambda_i^{(N)})^2}{\lambda_i^\infty}. \tag*{(13)} W 2 2 ( P N , P ∞ ) = i = 1 ∑ d λ i ∞ + λ i ( N ) λ i ∞ − λ i ( N ) 2 ≤ i = 1 ∑ d λ i ∞ ( λ i ∞ − λ i ( N ) ) 2 . (13)
Since λ ( N ) → λ ∞ \lambda^{(N)} \to\lambda^\infty λ ( N ) → λ ∞ , this step only costs a factor 2 2 2 asymptotically (on W 2 W_2 W 2 itself, once the square root is taken). By Lemma B.2 , λ ∞ − λ ( N ) = λ ∞ ( 1 − η λ ) 2 N \lambda^\infty-\lambda^{(N)}=\lambda^\infty\left(1-\frac{\eta}{\lambda}\right)^{2N} λ ∞ − λ ( N ) = λ ∞ ( 1 − λ η ) 2 N , hence
( λ ∞ − λ ( N ) ) 2 λ ∞ = λ ∞ ( 1 − η λ ) 4 N . \frac{(\lambda^\infty-\lambda^{(N)})^2}{\lambda^\infty}
=\lambda^\infty\left(1-\frac{\eta}{\lambda}\right)^{4N}. λ ∞ ( λ ∞ − λ ( N ) ) 2 = λ ∞ ( 1 − λ η ) 4 N .
The assumption η ≤ λ min \eta\le\lambda_{\min} η ≤ λ m i n gives both 0 ≤ 1 − η λ ≤ 1 − η λ max 0\le1-\frac{\eta}{\lambda}\le1-\frac{\eta}{\lambda_{\max}} 0 ≤ 1 − λ η ≤ 1 − λ m a x η and 1 − η 2 λ − 1 ≥ 1 2 1-\frac{\eta}{2}\lambda^{-1}\ge\frac{1}{2} 1 − 2 η λ − 1 ≥ 2 1 , i.e., 0 < λ ∞ ≤ 2 λ 0<\lambda^\infty\le2\lambda 0 < λ ∞ ≤ 2 λ , so that
( λ ∞ − λ ( N ) ) 2 λ ∞ ≤ 2 λ ( 1 − η λ max ) 4 N . \frac{(\lambda^\infty-\lambda^{(N)})^2}{\lambda^\infty}
\le2\lambda\left(1-\frac{\eta}{\lambda_{\max}}\right)^{4N}. λ ∞ ( λ ∞ − λ ( N ) ) 2 ≤ 2 λ ( 1 − λ m a x η ) 4 N .
Summing over i i i and plugging into (13) yields
W 2 ( P N , P ∞ ) ≤ 2 Tr Σ ( 1 − η λ max ) 2 N ≤ 2 Tr Σ e − 2 η N / λ max , W_2(\mathbb{P}_N,\mathbb{P}_\infty)
\le\sqrt{2\operatorname{Tr}\Sigma}\left(1-\frac{\eta}{\lambda_{\max}}\right)^{2N}
\le\sqrt{2\operatorname{Tr}\Sigma}\,e^{-2\eta N/\lambda_{\max}}, W 2 ( P N , P ∞ ) ≤ 2 Tr Σ ( 1 − λ m a x η ) 2 N ≤ 2 Tr Σ e − 2 η N / λ m a x ,
where the last inequality uses 1 − u ≤ e − u 1-u\le e^{-u} 1 − u ≤ e − u together with the positivity of 1 − η / λ max 1-\eta/\lambda_{\max} 1 − η / λ m a x . □
Remark B.4. Lemma B.2 only requires η < 2 λ min \eta< 2\lambda_{\min} η < 2 λ m i n , which is what the convergence of λ ( N ) \lambda^{(N)} λ ( N ) to λ ∞ \lambda^\infty λ ∞ needs, whereas Lemma B.3 assumes η ≤ λ min \eta\le\lambda_{\min} η ≤ λ m i n . The latter is a convenience assumption: it keeps 1 − η λ − 1 1-\eta\lambda^{-1} 1 − η λ − 1 nonnegative and, more importantly, keeps the denominator 1 − η 2 λ − 1 1-\frac{\eta}{2}\lambda^{-1} 1 − 2 η λ − 1 bounded away from zero. Since η \eta η is meant to go to 0 0 0 with N N N to reduce the discretization error, this is a mild restriction.
Discretization error
We turn to the discretization error.
Lemma B.5. Assume 0 < η ≤ λ min 0 < \eta\le\lambda_{\min} 0 < η ≤ λ m i n . Then
W 2 ( P ∞ , P ) ≤ 1 2 Tr ( Σ − 1 ) η . W_2(\mathbb{P}_\infty,\mathbb{P}) \le\frac{1}{2}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\,\eta. W 2 ( P ∞ , P ) ≤ 2 1 Tr ( Σ − 1 ) η .
Proof. This time we start from the second identity in (11) :
W 2 2 ( P ∞ , P ) = ∑ i = 1 d ( λ i ∞ − λ i λ i ∞ + λ i ) 2 ≤ 1 4 ∑ i = 1 d ( λ i ∞ − λ i ) 2 λ i , (14) W_2^2(\mathbb{P}_\infty,\mathbb{P})=\sum_{i=1}^{d}\left(\frac{\lambda_i^\infty-\lambda_i}{\sqrt{\lambda_i^\infty}+\sqrt{\lambda_i}}\right)^2\le\frac{1}{4}\sum_{i=1}^{d}\frac{(\lambda_i^\infty-\lambda_i)^2}{\lambda_i}, \tag*{(14)} W 2 2 ( P ∞ , P ) = i = 1 ∑ d ( λ i ∞ + λ i λ i ∞ − λ i ) 2 ≤ 4 1 i = 1 ∑ d λ i ( λ i ∞ − λ i ) 2 , (14)
where the inequality uses
λ ∞ > λ , (15) \lambda^\infty>\lambda, \tag*{(15)} λ ∞ > λ , (15)
a consequence of 1 − η 2 λ − 1 < 1 1-\frac{\eta}{2}\lambda^{-1}<1 1 − 2 η λ − 1 < 1 . By Lemma B.2 ,
λ ∞ − λ = λ ( 1 1 − η 2 λ − 1 − 1 ) = η 2 − η λ − 1 ≤ η , \lambda^\infty-\lambda=\lambda\left(\frac{1}{1-\frac{\eta}{2}\lambda^{-1}}-1\right)=\frac{\eta}{2-\eta\lambda^{-1}}\le\eta, λ ∞ − λ = λ ( 1 − 2 η λ − 1 1 − 1 ) = 2 − η λ − 1 η ≤ η ,
where we used η ≤ λ min \eta\le\lambda_{\min} η ≤ λ m i n once more. Since λ ∞ − λ > 0 \lambda^\infty-\lambda>0 λ ∞ − λ > 0 by (15) , this bound can be squared, and (14) gives the result.
Proof of Proposition B.1. Combine Lemmas B.3 and B.5 through the triangle inequality (10) .
Choice of the step-size
We now prove the first part of Theorem 1, namely the non-asymptotic bound for ULA.
Proof of Theorem 1, non-asymptotic bound for ULA. Let η N : = 1 2 λ max log N N \eta_N:=\frac{1}{2}\lambda_{\max}\frac{\log N}{N} η N := 2 1 λ m a x N l o g N be the ULA step-size of Theorem 1, and let N ≥ 1 2 κ log N N\ge\frac{1}{2}\kappa\log N N ≥ 2 1 κ log N . This condition is exactly η N ≤ λ min \eta_N\le\lambda_{\min} η N ≤ λ m i n , and since N > 1 N>1 N > 1 we have 0 < η N ≤ λ min 0<\eta_N\le\lambda_{\min} 0 < η N ≤ λ m i n . Proposition B.1 therefore applies with η = η N \eta=\eta_N η = η N , and since e − 2 η N N / λ max = 1 / N e^{-2\eta_NN/\lambda_{\max}}=1/N e − 2 η N N / λ m a x = 1/ N ,
W 2 ( P N , P ) ≤ 2 Tr Σ N + 1 4 λ max Tr ( Σ − 1 ) log N N . W_2(\mathbb{P}_N,\mathbb{P})\le\frac{\sqrt{2\operatorname{Tr}\Sigma}}{N}+\frac{1}{4}\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\log N}{N}. W 2 ( P N , P ) ≤ N 2 Tr Σ + 4 1 λ m a x Tr ( Σ − 1 ) N log N .
Finally,
Tr Σ ≤ λ max Tr ( Σ − 1 ) , (16) \sqrt{\operatorname{Tr}\Sigma}\le\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}, \tag*{(16)} Tr Σ ≤ λ m a x Tr ( Σ − 1 ) , (16)
since the left-hand side is at most d λ max \sqrt{d}\lambda_{\max} d λ m a x while the right-hand side is at least λ max d / λ max = d λ max \lambda_{\max}\sqrt{d/\lambda_{\max}}=\sqrt{d}\lambda_{\max} λ m a x d / λ m a x = d λ m a x . This gives the bound of Theorem 1,
W 2 ( P N , P ) ≤ λ max Tr ( Σ − 1 ) N ( C 1 log N + C 2 ) , W_2(\mathbb{P}_N,\mathbb{P})\le\frac{\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{N}(C_1\log N+C_2), W 2 ( P N , P ) ≤ N λ m a x Tr ( Σ − 1 ) ( C 1 log N + C 2 ) ,
with C 1 = 1 4 C_1=\frac{1}{4} C 1 = 4 1 and C 2 = 2 C_2=\sqrt{2} C 2 = 2 .
Asymptotic equivalent
We finally prove the second part of Theorem 1 for ULA: with the step-size η = η N = 1 2 λ max log N N \eta=\eta_N=\frac{1}{2}\lambda_{\max}\frac{\log N}{N} η = η N = 2 1 λ m a x N l o g N ,
W 2 ( P N , P ) ∼ N → ∞ 1 8 λ max Tr ( Σ − 1 ) log N N . W_2(\mathbb{P}_N,\mathbb{P}) \underset{N\to\infty}{\sim} \frac{1}{8}\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\log N}{N}. W 2 ( P N , P ) N → ∞ ∼ 8 1 λ m a x Tr ( Σ − 1 ) N log N .
Proof of Theorem 1, asymptotic equivalent for ULA. We take N N N large enough for η N \eta_N η N to be admissible in Proposition B.1 . The starting point is the closed form of Lemma B.2 ,
λ ( N ) = λ 1 − η N 2 λ − 1 − λ 1 − η N 2 λ − 1 ( 1 − η N λ ) 2 N . (17) \lambda^{(N)} = \frac{\lambda}{1-\frac{\eta_N}{2}\lambda^{-1}}-\frac{\lambda}{1-\frac{\eta_N}{2}\lambda^{-1}}\left(1-\frac{\eta_N}{\lambda}\right)^{2N}. \tag*{(17)} λ ( N ) = 1 − 2 η N λ − 1 λ − 1 − 2 η N λ − 1 λ ( 1 − λ η N ) 2 N . (17)
We first show that λ ( N ) → λ \lambda^{(N)}\to\lambda λ ( N ) → λ . On the one hand, since η N → 0 \eta_N\to0 η N → 0 ,
λ 1 − η N 2 λ − 1 ⟶ N → ∞ λ . (18) \frac{\lambda}{1-\frac{\eta_N}{2}\lambda^{-1}}\underset{N\to\infty}{\longrightarrow}\lambda. \tag*{(18)} 1 − 2 η N λ − 1 λ N → ∞ ⟶ λ . (18)
On the other hand, using log ( 1 − u ) ≤ − u \log(1-u)\le-u log ( 1 − u ) ≤ − u for u < 1 u<1 u < 1 and then λ ≤ λ max \lambda\le\lambda_{\max} λ ≤ λ m a x ,
( 1 − η N λ ) 2 N = exp ( 2 N log ( 1 − η N λ ) ) ≤ exp ( − 2 N η N λ ) = N − λ max / λ ≤ 1 N . (19) \left(1-\frac{\eta_N}{\lambda}\right)^{2N}=\exp\left(2N\log\left(1-\frac{\eta_N}{\lambda}\right)\right)\le\exp\left(-\frac{2N\eta_N}{\lambda}\right)=N^{-\lambda_{\max}/\lambda}\le\frac{1}{N}. \tag*{(19)} ( 1 − λ η N ) 2 N = exp ( 2 N log ( 1 − λ η N ) ) ≤ exp ( − λ 2 N η N ) = N − λ m a x / λ ≤ N 1 . (19)
so the second term in (17) tends to 0 0 0 , and with (18) we get λ ( N ) → λ \lambda^{(N)}\to\lambda λ ( N ) → λ . Applying Lemma A.3 directly to W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) then gives
W 2 2 ( P N , P ) = ∑ i = 1 d ( λ i ( N ) − λ i ) 2 = ∑ i = 1 d ( λ i ( N ) − λ i λ i ( N ) + λ i ) 2 ∼ 1 4 ∑ i = 1 d ( λ i ( N ) − λ i ) 2 λ i . (20) W_2^2(\mathbb{P}_N,\mathbb{P})=\sum_{i=1}^{d}\left(\sqrt{\lambda_i^{(N)}}-\sqrt{\lambda_i}\right)^2=\sum_{i=1}^{d}\left(\frac{\lambda_i^{(N)}-\lambda_i}{\sqrt{\lambda_i^{(N)}}+\sqrt{\lambda_i}}\right)^2\sim\frac{1}{4}\sum_{i=1}^{d}\frac{\left(\lambda_i^{(N)}-\lambda_i\right)^2}{\lambda_i}. \tag*{(20)} W 2 2 ( P N , P ) = i = 1 ∑ d ( λ i ( N ) − λ i ) 2 = i = 1 ∑ d λ i ( N ) + λ i λ i ( N ) − λ i 2 ∼ 4 1 i = 1 ∑ d λ i ( λ i ( N ) − λ i ) 2 . (20)
It remains to estimate λ ( N ) − λ \lambda^{(N)}-\lambda λ ( N ) − λ . By (17) and (19) ,
λ ( N ) − λ = λ 1 − η N 2 λ − 1 − λ + O ( 1 N ) = η N 2 − η N λ − 1 + O ( 1 N ) = 1 2 − η N λ − 1 × 1 2 λ max log N N + O ( 1 N ) ∼ 1 4 λ max log N N , \begin{aligned}
\lambda^{(N)}-\lambda
&=\frac{\lambda}{1-\frac{\eta N}{2}\lambda^{-1}}-\lambda+O\left(\frac{1}{N}\right)
=\frac{\eta N}{2-\eta N\lambda^{-1}}+O\left(\frac{1}{N}\right)\\
&=\frac{1}{2-\eta N\lambda^{-1}}\times\frac{1}{2}\lambda_{\max}\frac{\log N}{N}+O\left(\frac{1}{N}\right)
\sim\frac{1}{4}\lambda_{\max}\frac{\log N}{N},
\end{aligned} λ ( N ) − λ = 1 − 2 η N λ − 1 λ − λ + O ( N 1 ) = 2 − η N λ − 1 η N + O ( N 1 ) = 2 − η N λ − 1 1 × 2 1 λ m a x N log N + O ( N 1 ) ∼ 4 1 λ m a x N log N ,
an equivalent which does not depend on λ \lambda λ . Plugging it into (20) ,
W 2 ( P N , P ) ∼ N → ∞ 1 8 λ max Tr ( Σ − 1 ) log N N , W_2(\mathbb{P}_N,\mathbb{P})\underset{N\to\infty}{\sim}\frac{1}{8}\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\log N}{N}, W 2 ( P N , P ) N → ∞ ∼ 8 1 λ m a x Tr ( Σ − 1 ) N log N ,
which is the announced equivalent, consistent with the non-asymptotic bound.
Underdamped Langevin dynamics
The proof of Theorem 1 for ULD follows the structure of the previous section. We first prove the proposition below, which bounds W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) for all ( η , γ ) (\eta,\gamma) ( η , γ ) satisfying one of two sets of assumptions: a large-friction regime, which is the one adopted in Theorem 1, and a small-friction regime. Both lead to similar bounds, up to numerical constants; Remark B.8 explains why the first one is retained in Theorem 1.
Proposition B.7 (Parametric bound for ULD). Let N ≥ 0 N\ge0 N ≥ 0 . In the large-friction regime
γ ≥ 8 λ min and η ≤ 1 γ , (LF) \gamma\ge\sqrt{\frac{8}{\lambda_{\min}}}\quad\text{and}\quad\eta\le\frac{1}{\gamma},\qquad\text{(LF)} γ ≥ λ m i n 8 and η ≤ γ 1 , (LF) the error of ULD satisfies
W 2 ( P N , P ) ≤ 8 Tr Σ e − 2 η N / ( λ max γ ) + 6 7 Tr ( Σ − 1 ) η γ , W_2(\mathbb{P}_N,\mathbb{P})\le8\sqrt{\operatorname{Tr}\Sigma}e^{-2\eta N/(\lambda_{\max}\gamma)}+\frac{6}{7}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\eta}{\gamma}, W 2 ( P N , P ) ≤ 8 Tr Σ e − 2 η N / ( λ m a x γ ) + 7 6 Tr ( Σ − 1 ) γ η , and in the small-friction regime
γ ≤ 2 λ max and η ≤ 1 2 λ min γ , (SF) \gamma\le\sqrt{\frac{2}{\lambda_{\max}}}\quad\text{and}\quad\eta\le\frac{1}{2}\lambda_{\min}\gamma,\qquad\text{(SF)} γ ≤ λ m a x 2 and η ≤ 2 1 λ m i n γ , (SF) it satisfies
W 2 ( P N , P ) ≤ 8 Tr Σ e − γ η N / 2 + 3 2 Tr ( Σ − 1 ) η γ . W_2(\mathbb{P}_N,\mathbb{P})\le8\sqrt{\operatorname{Tr}\Sigma}e^{-\gamma\eta N/2}+\frac{3}{2}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\eta}{\gamma}. W 2 ( P N , P ) ≤ 8 Tr Σ e − γ η N /2 + 2 3 Tr ( Σ − 1 ) γ η . Here too, each bound is the sum of an early-stopping term and a discretization term. Up to a numerical constant, the discretization term has the same expression in both regimes. Only the early-stopping term changes, with the friction γ \gamma γ appearing in the denominator or in the numerator of the exponent according to whether it is large or small.
Remark B.8. The small-friction bound of Proposition B.7 is strictly decreasing in γ \gamma γ . There is no trade-off: one simply saturates the constraint γ ≤ 2 / λ max \gamma\le\sqrt{2/\lambda_{\max}} γ ≤ 2/ λ m a x , which also makes the admissible range η ≤ 1 2 λ min γ \eta\le\frac{1}{2}\lambda_{\min}\gamma η ≤ 2 1 λ m i n γ as wide as possible. The resulting rates are the same in both regimes. We retain the large-friction regime (LF) in Theorem 1 because the roots r ± r_{\pm} r ± introduced below are then real and positive, which keeps the analysis simplest, and because the bound has exactly the form of the ULA bound with ϕ : = η / γ \phi:=\eta/\gamma ϕ := η / γ in place of η \eta η ; with the hyperparameters of the theorem, ϕ = 1 2 λ max log N N \phi=\frac{1}{2}\lambda_{\max}\frac{\log N}{N} ϕ = 2 1 λ m a x N l o g N is precisely the ULA step-size.
Closed form of the eigenvalues
As before, we start with a closed form for the eigenvalues of Σ N \Sigma_N Σ N and Σ ∞ \Sigma_\infty Σ ∞ .
Lemma B.9. Fix an iteration budget N ≥ 0 N \ge0 N ≥ 0 . We consider two sets of assumptions:
γ > 2 λ min and 0 < η < 2 γ , \gamma> \frac{2}{\sqrt{\lambda_{\min}}}
\qquad\text{and}\qquad
0 < \eta< \frac{2}{\gamma}, γ > λ m i n 2 and 0 < η < γ 2 , in which case we set
r ± = 1 − 1 2 η ( γ ∓ γ 2 − 4 λ − 1 ) ; (21) r_{\pm}=1-\frac{1}{2}\eta\left(\gamma\mp\sqrt{\gamma^2-4\lambda^{-1}}\right); \tag*{(21)} r ± = 1 − 2 1 η ( γ ∓ γ 2 − 4 λ − 1 ) ; (21) 0 < γ < 2 λ max and 0 < η < λ min γ , 0 < \gamma< \frac{2}{\sqrt{\lambda_{\max}}}
\qquad\text{and}\qquad
0 < \eta< \lambda_{\min}\gamma, 0 < γ < λ m a x 2 and 0 < η < λ m i n γ , in which case we set
r ± = 1 − 1 2 η ( γ ∓ i 4 λ − 1 − γ 2 ) , r_{\pm}=1-\frac{1}{2}\eta\left(\gamma\mp i\sqrt{4\lambda^{-1}-\gamma^2}\right), r ± = 1 − 2 1 η ( γ ∓ i 4 λ − 1 − γ 2 ) , where i i i denotes the imaginary unit.
In both cases, the eigenvalues λ ( N ) \lambda^{(N)} λ ( N ) are exactly
λ ( N ) = 2 γ ( 2 − η γ + η 2 λ − 1 ) ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) λ − 2 η γ γ 2 − 4 λ − 1 ( r + 2 N 1 − r + 2 − 2 ( r + r − ) N 1 − r + r − + r − 2 N 1 − r − 2 ) , (22) \lambda^{(N)}
=
\frac{2\gamma(2-\eta\gamma+\eta^2\lambda^{-1})}{(\gamma-\eta\lambda^{-1})(4-2\eta\gamma+\eta^2\lambda^{-1})}\lambda
-
\frac{2\eta\gamma}{\gamma^2-4\lambda^{-1}}
\left(
\frac{r_+^{2N}}{1-r_+^2}
-
\frac{2(r_+r_-)^N}{1-r_+r_-}
+
\frac{r_-^{2N}}{1-r_-^2}
\right), \tag*{(22)} λ ( N ) = ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) 2 γ ( 2 − η γ + η 2 λ − 1 ) λ − γ 2 − 4 λ − 1 2 η γ ( 1 − r + 2 r + 2 N − 1 − r + r − 2 ( r + r − ) N + 1 − r − 2 r − 2 N ) , (22) and they converge as N → ∞ N \to\infty N → ∞ to
λ ∞ = 2 γ ( 2 − η γ + η 2 λ − 1 ) ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) λ . (23) \lambda^\infty
=
\frac{2\gamma(2-\eta\gamma+\eta^2\lambda^{-1})}{(\gamma-\eta\lambda^{-1})(4-2\eta\gamma+\eta^2\lambda^{-1})}\lambda. \tag*{(23)} λ ∞ = ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) 2 γ ( 2 − η γ + η 2 λ − 1 ) λ . (23)
Proof. Fix an index i i i and consider the corresponding sequence of eigenvalues ( λ ( k ) ) (\lambda^{(k)}) ( λ ( k ) ) . By Lemma A.1 (iii) and Remark A.2,
∀ k ≥ 0 , λ ( k ) = Var ( x k ) , (24) \forall k \ge0,\qquad\lambda^{(k)}=\operatorname{Var}(x_k), \tag*{(24)} ∀ k ≥ 0 , λ ( k ) = Var ( x k ) , (24)
where ( x k , v k ) (x_k,v_k) ( x k , v k ) is defined by x 0 = v 0 = 0 x_0=v_0=0 x 0 = v 0 = 0 and
{ x k + 1 = x k + η v k , v k + 1 = ( 1 − η γ ) v k − η λ − 1 x k + 2 η γ ζ k , \begin{cases}
x_{k+1}=x_k+\eta v_k,\\
v_{k+1}=(1-\eta\gamma)v_k-\eta\lambda^{-1}x_k+\sqrt{2\eta\gamma}\,\zeta_k,
\end{cases} { x k + 1 = x k + η v k , v k + 1 = ( 1 − η γ ) v k − η λ − 1 x k + 2 η γ ζ k ,
with ( ζ k ) (\zeta_k) ( ζ k ) independent standard one-dimensional Gaussians. In matrix form, z k + 1 = M z k + u ζ k z_{k+1}=Mz_k+u\zeta_k z k + 1 = M z k + u ζ k with
z k = [ x k v k ] , M = [ 1 η − η λ − 1 1 − η γ ] , u = [ 0 2 η γ ] , (25) z_k=
\begin{bmatrix}
x_k\\
v_k
\end{bmatrix},
\qquad
M=
\begin{bmatrix}
1 & \eta\\
-\eta\lambda^{-1} & 1-\eta\gamma
\end{bmatrix},
\qquad
u=
\begin{bmatrix}
0\\
\sqrt{2\eta\gamma}
\end{bmatrix}, \tag*{(25)} z k = [ x k v k ] , M = [ 1 − η λ − 1 η 1 − η γ ] , u = [ 0 2 η γ ] , (25)
so that, since z 0 = 0 z_0=0 z 0 = 0 ,
z k = ∑ j = 0 k − 1 M j u ζ k − 1 − j . (26) z_k=\sum_{j=0}^{k-1}M^j u\,\zeta_{k-1-j}. \tag*{(26)} z k = j = 0 ∑ k − 1 M j u ζ k − 1 − j . (26)
Let β j \beta_j β j denote the ( 1 , 2 ) (1,2) ( 1 , 2 ) entry of M j M^j M j . Reading the first coordinate of (26) at k = N k=N k = N gives
x N = 2 η γ ∑ j = 0 N − 1 β j ζ N − 1 − j . x_N=\sqrt{2\eta\gamma}\sum_{j=0}^{N-1}\beta_j\zeta_{N-1-j}. x N = 2 η γ j = 0 ∑ N − 1 β j ζ N − 1 − j .
hence by (24)
λ ( N ) = 2 η γ ∑ j = 0 N − 1 β j 2 . (27) \lambda^{(N)}=2\eta\gamma\sum_{j=0}^{N-1}\beta_j^2. \tag*{(27)} λ ( N ) = 2 η γ j = 0 ∑ N − 1 β j 2 . (27)
It remains to compute the β j \beta_j β j . By the Cayley–Hamilton theorem, M 2 − Tr ( M ) M + det ( M ) I = 0 M^2-\operatorname{Tr}(M)M+\det(M)I=0 M 2 − Tr ( M ) M + det ( M ) I = 0 , hence M j + 2 = Tr ( M ) M j + 1 − det ( M ) M j M^{j+2}=\operatorname{Tr}(M)M^{j+1}-\det(M)M^j M j + 2 = Tr ( M ) M j + 1 − det ( M ) M j for all j j j , and taking ( 1 , 2 ) (1,2) ( 1 , 2 ) entries,
∀ j ≥ 0 , β j + 2 = Tr ( M ) β j + 1 − det ( M ) β j . (28) \forall j\ge0,\quad\beta_{j+2}=\operatorname{Tr}(M)\beta_{j+1}-\det(M)\beta_j. \tag*{(28)} ∀ j ≥ 0 , β j + 2 = Tr ( M ) β j + 1 − det ( M ) β j . (28)
From (25) , Tr ( M ) = 2 − η γ \operatorname{Tr}(M)=2-\eta\gamma Tr ( M ) = 2 − η γ and det ( M ) = 1 − η γ + η 2 λ − 1 \det(M)=1-\eta\gamma+\eta^2\lambda^{-1} det ( M ) = 1 − η γ + η 2 λ − 1 , so the behavior of ( β j ) (\beta_j) ( β j ) is governed by the roots of
P ( X ) = X 2 − ( 2 − η γ ) X + 1 − η γ + η 2 λ − 1 , P(X)=X^2-(2-\eta\gamma)X+1-\eta\gamma+\eta^2\lambda^{-1}, P ( X ) = X 2 − ( 2 − η γ ) X + 1 − η γ + η 2 λ − 1 ,
whose discriminant is
Δ = η 2 ( γ 2 − 4 λ − 1 ) . (29) \Delta=\eta^2(\gamma^2-4\lambda^{-1}). \tag*{(29)} Δ = η 2 ( γ 2 − 4 λ − 1 ) . (29)
This formula shows that the two assumptions on γ \gamma γ in Lemma B.9 are exactly the cases where Δ \Delta Δ is positive for all eigenvalues (large friction, real roots), or negative for all eigenvalues (small friction, complex roots): these are the two homogeneous regimes we study.
Stability. By (27) , for λ ( N ) \lambda^{(N)} λ ( N ) to converge the sequence ( β j ) (\beta_j) ( β j ) must tend to 0 0 0 , i.e., both roots of P P P must have modulus strictly less than 1. By the Jury stability criterion [22 ] , this amounts to
∣ det ( M ) ∣ < 1 , P ( 1 ) > 0 , P ( − 1 ) > 0 , |\det(M)|<1,\quad P(1)>0,\quad P(-1)>0, ∣ det ( M ) ∣ < 1 , P ( 1 ) > 0 , P ( − 1 ) > 0 ,
that is,
∣ 1 − η γ + η 2 λ − 1 ∣ < 1 , η 2 λ − 1 > 0 , 4 − 2 η γ + η 2 λ − 1 > 0. |1-\eta\gamma+\eta^2\lambda^{-1}|<1,\quad\eta^2\lambda^{-1}>0,\quad4-2\eta\gamma+\eta^2\lambda^{-1}>0. ∣1 − η γ + η 2 λ − 1 ∣ < 1 , η 2 λ − 1 > 0 , 4 − 2 η γ + η 2 λ − 1 > 0.
The second condition holds since η > 0 \eta>0 η > 0 . For the third, as η 2 λ − 1 > 0 \eta^2\lambda^{-1}>0 η 2 λ − 1 > 0 , it suffices that η γ ≤ 2 \eta\gamma\le2 η γ ≤ 2 : this is immediate under ( L F 0 ) (\mathrm{LF}_0) ( LF 0 ) , whose assumption on η \eta η is precisely the strict version of this inequality, and under ( S F 0 ) (\mathrm{SF}_0) ( SF 0 ) it follows from
P ( − 1 ) = ( η − γ λ ) 2 λ + 4 − γ 2 λ ≥ 4 − γ 2 λ max > 0. P(-1)=\frac{(\eta-\gamma\lambda)^2}{\lambda}+4-\gamma^2\lambda\ge4-\gamma^2\lambda_{\max}>0. P ( − 1 ) = λ ( η − γ λ ) 2 + 4 − γ 2 λ ≥ 4 − γ 2 λ m a x > 0.
As for the first condition, det ( M ) < 1 \det(M)<1 det ( M ) < 1 is equivalent to η / γ < λ \eta/\gamma<\lambda η / γ < λ , which holds since η / γ < λ min ≤ λ \eta/\gamma<\lambda_{\min}\le\lambda η / γ < λ m i n ≤ λ under both ( L F 0 ) (\mathrm{LF}_0) ( LF 0 ) (where η / γ < 2 / γ 2 < λ min / 2 \eta/\gamma<2/\gamma^2<\lambda_{\min}/2 η / γ < 2/ γ 2 < λ m i n /2 ) and ( S F 0 ) (\mathrm{SF}_0) ( SF 0 ) ; and det ( M ) > − 1 \det(M)>-1 det ( M ) > − 1 follows from P ( 1 ) + P ( − 1 ) = 2 ( 1 + det ( M ) ) P(1)+P(-1)=2(1+\det(M)) P ( 1 ) + P ( − 1 ) = 2 ( 1 + det ( M )) , which is positive by the two conditions just established. Thus, in both cases,
∣ det ( M ) ∣ < 1 , P ( 1 ) > 0 , P ( − 1 ) > 0 , (30) |\det(M)|<1,\quad P(1)>0,\quad P(-1)>0, \tag*{(30)} ∣ det ( M ) ∣ < 1 , P ( 1 ) > 0 , P ( − 1 ) > 0 , (30)
and the assumptions of Lemma B.9 guarantee stability.
Computation of λ ( N ) \lambda^{(N)} λ ( N ) . By (29) , P P P has two distinct roots, which are the r ± r_\pm r ± of the statement: r ± = 1 − 1 2 η ( γ ∓ γ 2 − 4 λ − 1 ) r_\pm=1-\frac{1}{2}\eta(\gamma\mp\sqrt{\gamma^2-4\lambda^{-1}}) r ± = 1 − 2 1 η ( γ ∓ γ 2 − 4 λ − 1 ) under ( L F 0 ) (\mathrm{LF}_0) ( LF 0 ) and r ± = 1 − 1 2 η ( γ ∓ i 4 λ − 1 − γ 2 ) r_\pm=1-\frac{1}{2}\eta(\gamma\mp i\sqrt{4\lambda^{-1}-\gamma^2}) r ± = 1 − 2 1 η ( γ ∓ i 4 λ − 1 − γ 2 ) under ( S F 0 ) (\mathrm{SF}_0) ( SF 0 ) . They satisfy
r + + r − = Tr ( M ) = 2 − η γ (31) r_++r_-=\operatorname{Tr}(M)=2-\eta\gamma \tag*{(31)} r + + r − = Tr ( M ) = 2 − η γ (31)
and
r + r − = det ( M ) = 1 − η γ + η 2 λ − 1 (32) r_{+}r_{-}=\det(M)=1-\eta\gamma+\eta^{2}\lambda^{-1} \tag*{(32)} r + r − = det ( M ) = 1 − η γ + η 2 λ − 1 (32)
two relations we will use repeatedly. By (28) , β j = A r + j + B r − j \beta_j=Ar_{+}^{j}+Br_{-}^{j} β j = A r + j + B r − j for some constants A , B A,B A , B determined by β 0 = 0 \beta_0=0 β 0 = 0 and β 1 = η \beta_1=\eta β 1 = η , which gives
∀ j ≥ 0 , β j = η r + − r − ( r + j − r − j ) , \forall j\ge0,\quad\beta_j=\frac{\eta}{r_{+}-r_{-}}\left(r_{+}^{j}-r_{-}^{j}\right), ∀ j ≥ 0 , β j = r + − r − η ( r + j − r − j ) ,
and with (27) ,
λ ( N ) = 2 η 3 γ ( r + − r − ) 2 ∑ j = 0 N − 1 ( r + 2 j − 2 ( r + r − ) j + r − 2 j ) . \lambda^{(N)}=\frac{2\eta^{3}\gamma}{(r_{+}-r_{-})^{2}}\sum_{j=0}^{N-1}\left(r_{+}^{2j}-2(r_{+}r_{-})^{j}+r_{-}^{2j}\right). λ ( N ) = ( r + − r − ) 2 2 η 3 γ j = 0 ∑ N − 1 ( r + 2 j − 2 ( r + r − ) j + r − 2 j ) .
The Jury criterion, satisfied under (L F 0 \mathrm{LF}_0 LF 0 ) and (S F 0 \mathrm{SF}_0 SF 0 ), ensures
∣ r ± ∣ < 1 , (33) |r_{\pm}|<1, \tag*{(33)} ∣ r ± ∣ < 1 , (33)
so r + 2 r_{+}^{2} r + 2 , r − 2 r_{-}^{2} r − 2 and r + r − r_{+}r_{-} r + r − all differ from 1, and summing the three geometric series yields
λ ( N ) = λ ∞ − 2 η 3 γ ( r + − r − ) 2 ( r + 2 N 1 − r + 2 − 2 ( r + r − ) N 1 − r + r − + r − 2 N 1 − r − 2 ) , \lambda^{(N)}=\lambda^{\infty}-\frac{2\eta^{3}\gamma}{(r_{+}-r_{-})^{2}}\left(\frac{r_{+}^{2N}}{1-r_{+}^{2}}-\frac{2(r_{+}r_{-})^{N}}{1-r_{+}r_{-}}+\frac{r_{-}^{2N}}{1-r_{-}^{2}}\right), λ ( N ) = λ ∞ − ( r + − r − ) 2 2 η 3 γ ( 1 − r + 2 r + 2 N − 1 − r + r − 2 ( r + r − ) N + 1 − r − 2 r − 2 N ) ,
with
λ ∞ = 2 η 3 γ ( r + − r − ) 2 ( 1 1 − r + 2 − 2 1 − r + r − + 1 1 − r − 2 ) . (34) \lambda^{\infty}=\frac{2\eta^{3}\gamma}{(r_{+}-r_{-})^{2}}\left(\frac{1}{1-r_{+}^{2}}-\frac{2}{1-r_{+}r_{-}}+\frac{1}{1-r_{-}^{2}}\right). \tag*{(34)} λ ∞ = ( r + − r − ) 2 2 η 3 γ ( 1 − r + 2 1 − 1 − r + r − 2 + 1 − r − 2 1 ) . (34)
By (33) , λ ( N ) \lambda^{(N)} λ ( N ) converges to λ ∞ \lambda^{\infty} λ ∞ . It remains to show that λ ∞ \lambda^{\infty} λ ∞ has the announced form. Putting the three fractions in (34) over the common denominator ( 1 − r + 2 ) ( 1 − r − 2 ) ( 1 − r + r − ) (1-r_{+}^{2})(1-r_{-}^{2})(1-r_{+}r_{-}) ( 1 − r + 2 ) ( 1 − r − 2 ) ( 1 − r + r − ) , the numerator C C C factorizes:
C = ( 1 − r + 2 ) ( 1 − r + r − ) − 2 ( 1 − r + 2 ) ( 1 − r − 2 ) + ( 1 − r + r − ) ( 1 − r − 2 ) = r + 2 − 2 r + r − + r − 2 + r + r − ( r + 2 − 2 r + r − + r − 2 ) = ( r + − r − ) 2 ( 1 + r + r − ) , \begin{aligned}
C&=(1-r_{+}^{2})(1-r_{+}r_{-})-2(1-r_{+}^{2})(1-r_{-}^{2})+(1-r_{+}r_{-})(1-r_{-}^{2})\\
&=r_{+}^{2}-2r_{+}r_{-}+r_{-}^{2}+r_{+}r_{-}(r_{+}^{2}-2r_{+}r_{-}+r_{-}^{2})\\
&=(r_{+}-r_{-})^{2}(1+r_{+}r_{-}),
\end{aligned} C = ( 1 − r + 2 ) ( 1 − r + r − ) − 2 ( 1 − r + 2 ) ( 1 − r − 2 ) + ( 1 − r + r − ) ( 1 − r − 2 ) = r + 2 − 2 r + r − + r − 2 + r + r − ( r + 2 − 2 r + r − + r − 2 ) = ( r + − r − ) 2 ( 1 + r + r − ) ,
so that
λ ∞ = 2 η 3 γ 1 + r + r − ( 1 − r + 2 ) ( 1 − r − 2 ) ( 1 − r + r − ) . (35) \lambda^{\infty}=2\eta^{3}\gamma\frac{1+r_{+}r_{-}}{(1-r_{+}^{2})(1-r_{-}^{2})(1-r_{+}r_{-})}. \tag*{(35)} λ ∞ = 2 η 3 γ ( 1 − r + 2 ) ( 1 − r − 2 ) ( 1 − r + r − ) 1 + r + r − . (35)
To conclude independently of the regime, we express everything through the sum and product of the roots. On the one hand, by (31) and (32) ,
( 1 − r + 2 ) ( 1 − r − 2 ) = 1 + ( r + r − ) 2 − ( r + + r − ) 2 + 2 r + r − = 1 + ( 1 − η γ + η 2 λ − 1 ) 2 − ( 2 − η γ ) 2 + 2 ( 1 − η γ + η 2 λ − 1 ) = η 4 λ − 2 + 4 η 2 λ − 1 − 2 η 3 γ λ − 1 = η 2 λ − 1 ( 4 − 2 η γ + η 2 λ − 1 ) , \begin{aligned}
(1-r_{+}^{2})(1-r_{-}^{2})&=1+(r_{+}r_{-})^{2}-(r_{+}+r_{-})^{2}+2r_{+}r_{-}\\
&=1+(1-\eta\gamma+\eta^{2}\lambda^{-1})^{2}-(2-\eta\gamma)^{2}+2(1-\eta\gamma+\eta^{2}\lambda^{-1})\\
&=\eta^{4}\lambda^{-2}+4\eta^{2}\lambda^{-1}-2\eta^{3}\gamma\lambda^{-1}=\eta^{2}\lambda^{-1}(4-2\eta\gamma+\eta^{2}\lambda^{-1}),
\end{aligned} ( 1 − r + 2 ) ( 1 − r − 2 ) = 1 + ( r + r − ) 2 − ( r + + r − ) 2 + 2 r + r − = 1 + ( 1 − η γ + η 2 λ − 1 ) 2 − ( 2 − η γ ) 2 + 2 ( 1 − η γ + η 2 λ − 1 ) = η 4 λ − 2 + 4 η 2 λ − 1 − 2 η 3 γ λ − 1 = η 2 λ − 1 ( 4 − 2 η γ + η 2 λ − 1 ) ,
the third line being a direct expansion of the second. On the other hand, (32) gives 1 + r + r − = 2 − η γ + η 2 λ − 1 1+r_{+}r_{-}=2-\eta\gamma+\eta^{2}\lambda^{-1} 1 + r + r − = 2 − η γ + η 2 λ − 1 and 1 − r + r − = η ( γ − η λ − 1 ) 1-r_{+}r_{-}=\eta(\gamma-\eta\lambda^{-1}) 1 − r + r − = η ( γ − η λ − 1 ) . Plugging these into (35) ,
λ ∞ = 2 γ ( 2 − η γ + η 2 λ − 1 ) ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) λ , \lambda^{\infty}=\frac{2\gamma(2-\eta\gamma+\eta^{2}\lambda^{-1})}{(\gamma-\eta\lambda^{-1})(4-2\eta\gamma+\eta^{2}\lambda^{-1})}\lambda, λ ∞ = ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) 2 γ ( 2 − η γ + η 2 λ − 1 ) λ ,
which is (23) . As expected, this expression does not depend on the regime, and once again λ ∞ → λ \lambda^{\infty}\to\lambda λ ∞ → λ as η → 0 \eta\to0 η → 0 . Finally, (22) follows from ( r + − r − ) 2 = ( r + + r − ) 2 − 4 r + r − = η 2 ( γ 2 − 4 λ − 1 ) (r_{+}-r_{-})^{2}=(r_{+}+r_{-})^{2}-4r_{+}r_{-}=\eta^{2}(\gamma^{2}-4\lambda^{-1}) ( r + − r − ) 2 = ( r + + r − ) 2 − 4 r + r − = η 2 ( γ 2 − 4 λ − 1 ) , by (31) and (32) once more.
Early-stopping error
We now bound the early-stopping error of ULD.
Lemma B.10. Let N ≥ 0 N \ge0 N ≥ 0 . In the large-friction regime (LF), the early-stopping error satisfies
W 2 ( P N , P ∞ ) ≤ 8 Tr Σ e − 2 η N / ( λ max γ ) , W_2(\mathbb{P}_N,\mathbb{P}_\infty) \le8\sqrt{\operatorname{Tr}\Sigma}e^{-2\eta N/(\lambda_{\max}\gamma)}, W 2 ( P N , P ∞ ) ≤ 8 Tr Σ e − 2 η N / ( λ m a x γ ) , and in the small-friction regime (SF),
W 2 ( P N , P ∞ ) ≤ 8 Tr Σ e − η γ N / 2 . W_2(\mathbb{P}_N,\mathbb{P}_\infty) \le8\sqrt{\operatorname{Tr}\Sigma}e^{-\eta\gamma N/2}. W 2 ( P N , P ∞ ) ≤ 8 Tr Σ e − η γ N /2 .
Proof. Once again, (11) gives
W 2 2 ( P N , P ∞ ) = ∑ i = 1 d ( λ i ∞ − λ i ( N ) λ i ∞ + λ i ( N ) ) 2 ≤ ∑ i = 1 d ( λ i ∞ − λ i ( N ) ) 2 λ i ∞ . (36) W_2^2(\mathbb{P}_N,\mathbb{P}_\infty)=\sum_{i=1}^{d}\left(\frac{\lambda_i^\infty-\lambda_i^{(N)}}{\sqrt{\lambda_i^\infty}+\sqrt{\lambda_i^{(N)}}}\right)^2\le\sum_{i=1}^{d}\frac{(\lambda_i^\infty-\lambda_i^{(N)})^2}{\lambda_i^\infty}. \tag*{(36)} W 2 2 ( P N , P ∞ ) = i = 1 ∑ d λ i ∞ + λ i ( N ) λ i ∞ − λ i ( N ) 2 ≤ i = 1 ∑ d λ i ∞ ( λ i ∞ − λ i ( N ) ) 2 . (36)
We first check that
λ ∞ > λ . (37) \lambda^\infty>\lambda. \tag*{(37)} λ ∞ > λ . (37)
Starting from (23) ,
λ ∞ − λ = γ ( 4 − 2 η γ + 2 η 2 λ − 1 ) − ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) λ = γ η 2 λ − 1 + η λ − 1 ( 4 − 2 η γ + η 2 λ − 1 ) ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) λ = ( 4 − η γ + η 2 λ − 1 ) η ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) . (38) \begin{aligned}
\lambda^\infty-\lambda
&=\frac{\gamma(4-2\eta\gamma+2\eta^2\lambda^{-1})-(\gamma-\eta\lambda^{-1})(4-2\eta\gamma+\eta^2\lambda^{-1})}{(\gamma-\eta\lambda^{-1})(4-2\eta\gamma+\eta^2\lambda^{-1})}\lambda\\
&=\frac{\gamma\eta^2\lambda^{-1}+\eta\lambda^{-1}(4-2\eta\gamma+\eta^2\lambda^{-1})}{(\gamma-\eta\lambda^{-1})(4-2\eta\gamma+\eta^2\lambda^{-1})}\lambda\\
&=\frac{(4-\eta\gamma+\eta^2\lambda^{-1})\eta}{(\gamma-\eta\lambda^{-1})(4-2\eta\gamma+\eta^2\lambda^{-1})}. \tag*{(38)}
\end{aligned} λ ∞ − λ = ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) γ ( 4 − 2 η γ + 2 η 2 λ − 1 ) − ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) λ = ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) γ η 2 λ − 1 + η λ − 1 ( 4 − 2 η γ + η 2 λ − 1 ) λ = ( γ − η λ − 1 ) ( 4 − 2 η γ + η 2 λ − 1 ) ( 4 − η γ + η 2 λ − 1 ) η . (38)
Recognizing P ( − 1 ) = 4 − 2 η γ + η 2 λ − 1 P(-1)=4-2\eta\gamma+\eta^2\lambda^{-1} P ( − 1 ) = 4 − 2 η γ + η 2 λ − 1 , which we showed to be positive, this reads
λ ∞ − λ = η γ − η λ − 1 × P ( − 1 ) + η γ P ( − 1 ) . (39) \lambda^\infty-\lambda=\frac{\eta}{\gamma-\eta\lambda^{-1}}\times\frac{P(-1)+\eta\gamma}{P(-1)}. \tag*{(39)} λ ∞ − λ = γ − η λ − 1 η × P ( − 1 ) P ( − 1 ) + η γ . (39)
The difference therefore has the sign of γ − η λ − 1 \gamma-\eta\lambda^{-1} γ − η λ − 1 , which is positive by the first Jury condition in (30) . This proves (37) , and (36) becomes
W 2 2 ( P N , P ∞ ) ≤ ∑ i = 1 d ( λ i ∞ − λ i ( N ) ) 2 λ i . (40) W_2^2(\mathbb{P}_N,\mathbb{P}_\infty)\le\sum_{i=1}^{d}\frac{(\lambda_i^\infty-\lambda_i^{(N)})^2}{\lambda_i}. \tag*{(40)} W 2 2 ( P N , P ∞ ) ≤ i = 1 ∑ d λ i ( λ i ∞ − λ i ( N ) ) 2 . (40)
We are thus led to bound ∣ λ i ∞ − λ i ( N ) ∣ \lvert\lambda_i^\infty-\lambda_i^{(N)}\rvert ∣ λ i ∞ − λ i ( N ) ∣ , for which Lemma B.9 provides
∣ λ ∞ − λ ( N ) ∣ = 2 η γ ∣ γ 2 − 4 λ − 1 ∣ ∣ r + 2 N 1 − r + 2 − 2 ( r + r − ) N 1 − r + r − + r − 2 N 1 − r − 2 ∣ . (41) \lvert\lambda^\infty-\lambda^{(N)}\rvert=\frac{2\eta\gamma}{\lvert\gamma^2-4\lambda^{-1}\rvert}\left\lvert\frac{r_+^{2N}}{1-r_+^2}-\frac{2(r_+r_-)^N}{1-r_+r_-}+\frac{r_-^{2N}}{1-r_-^2}\right\rvert. \tag*{(41)} ∣ λ ∞ − λ ( N ) ∣ = ∣ γ 2 − 4 λ − 1 ∣ 2 η γ 1 − r + 2 r + 2 N − 1 − r + r − 2 ( r + r − ) N + 1 − r − 2 r − 2 N . (41)
Large-friction regime (LF). By (27) , λ ∞ \lambda^\infty λ ∞ is the limit of 2 η γ ∑ j = 0 N − 1 β j 2 2\eta\gamma\sum_{j=0}^{N-1}\beta_j^2 2 η γ ∑ j = 0 N − 1 β j 2 as N → ∞ N\to\infty N → ∞ , so the difference λ ∞ − λ ( N ) \lambda^\infty-\lambda^{(N)} λ ∞ − λ ( N ) is the tail
λ ∞ − λ ( N ) = 2 η γ ∑ j = N ∞ β j 2 ≥ 0. \lambda^\infty-\lambda^{(N)}=2\eta\gamma\sum_{j=N}^{\infty}\beta_j^2\ge0. λ ∞ − λ ( N ) = 2 η γ j = N ∑ ∞ β j 2 ≥ 0.
Since moreover γ 2 − 4 λ − 1 > 0 \gamma^2-4\lambda^{-1}>0 γ 2 − 4 λ − 1 > 0 under (LF), (41) holds without absolute values:
∣ λ ∞ − λ ( N ) ∣ = 2 η γ γ 2 − 4 λ − 1 ( r + 2 N 1 − r + 2 − 2 ( r + r − ) N 1 − r + r − + r − 2 N 1 − r − 2 ) . (42) \left|\lambda^\infty-\lambda^{(N)}\right|=\frac{2\eta\gamma}{\gamma^2-4\lambda^{-1}}\left(\frac{r_+^{2N}}{1-r_+^2}-\frac{2(r_+r_-)^N}{1-r_+r_-}+\frac{r_-^{2N}}{1-r_-^2}\right). \tag*{(42)} λ ∞ − λ ( N ) = γ 2 − 4 λ − 1 2 η γ ( 1 − r + 2 r + 2 N − 1 − r + r − 2 ( r + r − ) N + 1 − r − 2 r − 2 N ) . (42)
Now 1 − r + r − > 0 1-r_+r_->0 1 − r + r − > 0 by (33) , and (LF) makes the product of the roots positive:
r + r − = 1 − η γ + η 2 λ − 1 > 1 − η γ ≥ 0. (43) r_+r_-=1-\eta\gamma+\eta^2\lambda^{-1}>1-\eta\gamma\geq0. \tag*{(43)} r + r − = 1 − η γ + η 2 λ − 1 > 1 − η γ ≥ 0. (43)
The middle term in (42) is therefore negative, and
∣ λ ∞ − λ ( N ) ∣ < 2 η γ γ 2 − 4 λ − 1 ( r + 2 N 1 − r + 2 + r − 2 N 1 − r − 2 ) , (44) \left|\lambda^\infty-\lambda^{(N)}\right|<\frac{2\eta\gamma}{\gamma^2-4\lambda^{-1}}\left(\frac{r_+^{2N}}{1-r_+^2}+\frac{r_-^{2N}}{1-r_-^2}\right), \tag*{(44)} λ ∞ − λ ( N ) < γ 2 − 4 λ − 1 2 η γ ( 1 − r + 2 r + 2 N + 1 − r − 2 r − 2 N ) , (44)
where every numerator and denominator is positive: (LF) for γ 2 − 4 λ − 1 \gamma^2-4\lambda^{-1} γ 2 − 4 λ − 1 , and (33) for 1 − r ± 2 1-r_\pm^2 1 − r ± 2 . We next compare ∣ r + ∣ |r_+| ∣ r + ∣ and ∣ r − ∣ |r_-| ∣ r − ∣ . By (43) the two roots have the same sign, namely that of their sum 2 − η γ > 0 2-\eta\gamma>0 2 − η γ > 0 by (31) and (LF), so both are positive, and their expression (21) gives
r + = ∣ r + ∣ > ∣ r − ∣ = r − . (45) r_+=|r_+|>|r_-|=r_-. \tag*{(45)} r + = ∣ r + ∣ > ∣ r − ∣ = r − . (45)
Hence (44) yields
∣ λ ∞ − λ ( N ) ∣ < 2 η γ γ 2 − 4 λ − 1 ( 1 1 − r + 2 + 1 1 − r − 2 ) r + 2 N . \left|\lambda^\infty-\lambda^{(N)}\right|<\frac{2\eta\gamma}{\gamma^2-4\lambda^{-1}}\left(\frac{1}{1-r_+^2}+\frac{1}{1-r_-^2}\right)r_+^{2N}. λ ∞ − λ ( N ) < γ 2 − 4 λ − 1 2 η γ ( 1 − r + 2 1 + 1 − r − 2 1 ) r + 2 N .
One could bound the two terms in the parenthesis separately and get a slightly sharper estimate, but this would only improve a numerical constant, so we simply use 1 − r − 2 > 1 − r + 2 1-r_-^2>1-r_+^2 1 − r − 2 > 1 − r + 2 , a consequence of (45) , to obtain
∣ λ ∞ − λ ( N ) ∣ < 4 η γ γ 2 − 4 λ − 1 × r + 2 N 1 − r + 2 . \left|\lambda^\infty-\lambda^{(N)}\right|<\frac{4\eta\gamma}{\gamma^2-4\lambda^{-1}}\times\frac{r_+^{2N}}{1-r_+^2}. λ ∞ − λ ( N ) < γ 2 − 4 λ − 1 4 η γ × 1 − r + 2 r + 2 N .
By (LF), γ 2 − 4 λ − 1 ≥ γ 2 − 4 λ min − 1 ≥ 1 2 γ 2 \gamma^2-4\lambda^{-1}\geq\gamma^2-4\lambda_{\min}^{-1}\geq\frac{1}{2}\gamma^2 γ 2 − 4 λ − 1 ≥ γ 2 − 4 λ m i n − 1 ≥ 2 1 γ 2 , hence
∣ λ ∞ − λ ( N ) ∣ < 8 η γ × r + 2 N 1 − r + 2 . (46) \left|\lambda^\infty-\lambda^{(N)}\right|<\frac{8\eta}{\gamma}\times\frac{r_+^{2N}}{1-r_+^2}. \tag*{(46)} λ ∞ − λ ( N ) < γ 8 η × 1 − r + 2 r + 2 N . (46)
Again without optimizing constants, since r + > 0 r_+>0 r + > 0 ,
1 1 − r + 2 = 1 ( 1 + r + ) ( 1 − r + ) ≤ 1 1 − r + , (47) \frac{1}{1-r_+^2}=\frac{1}{(1+r_+)(1-r_+)}\leq\frac{1}{1-r_+}, \tag*{(47)} 1 − r + 2 1 = ( 1 + r + ) ( 1 − r + ) 1 ≤ 1 − r + 1 , (47)
and by (21) ,
1 1 − r + = 2 η ( γ − γ 2 − 4 λ − 1 ) = 2 ( γ + γ 2 − 4 λ − 1 ) η ( γ 2 − ( γ 2 − 4 λ − 1 ) ) < γ λ η . \frac{1}{1-r_+}=\frac{2}{\eta(\gamma-\sqrt{\gamma^2-4\lambda^{-1}})}=\frac{2(\gamma+\sqrt{\gamma^2-4\lambda^{-1}})}{\eta(\gamma^2-(\gamma^2-4\lambda^{-1}))}<\frac{\gamma\lambda}{\eta}. 1 − r + 1 = η ( γ − γ 2 − 4 λ − 1 ) 2 = η ( γ 2 − ( γ 2 − 4 λ − 1 )) 2 ( γ + γ 2 − 4 λ − 1 ) < η γ λ .
Combining with (46) and (47) ,
∣ λ ∞ − λ ( N ) ∣ < 8 λ r + 2 N . (48) \left|\lambda^\infty-\lambda^{(N)}\right|<8\lambda r_+^{2N}. \tag*{(48)} λ ∞ − λ ( N ) < 8 λ r + 2 N . (48)
To make this bound usable we finally bound r + r_+ r + . The concavity inequality 1 − u ≤ 1 − 1 2 u \sqrt{1-u}\leq1-\frac{1}{2}u 1 − u ≤ 1 − 2 1 u , valid for u ∈ [ 0 , 1 ] u\in[0,1] u ∈ [ 0 , 1 ] , gives
r + = 1 − 1 2 η γ ( 1 − 1 − 4 λ − 1 γ − 2 ) ≤ 1 − 1 2 η γ × 2 λ γ 2 = 1 − η λ γ ≤ 1 − η γ λ max . r_+=1-\frac{1}{2}\eta\gamma\left(1-\sqrt{1-4\lambda^{-1}\gamma^{-2}}\right)\leq1-\frac{1}{2}\eta\gamma\times\frac{2}{\lambda\gamma^2}=1-\frac{\eta}{\lambda\gamma}\leq1-\frac{\eta}{\gamma\lambda_{\max}}. r + = 1 − 2 1 η γ ( 1 − 1 − 4 λ − 1 γ − 2 ) ≤ 1 − 2 1 η γ × λ γ 2 2 = 1 − λγ η ≤ 1 − γ λ m a x η .
Since 1 − η / ( γ λ max ) 1-\eta/(\gamma\lambda_{\max}) 1 − η / ( γ λ m a x ) is positive under (LF), raising to the power 2 N 2N 2 N and using, as in Section B.2, the convexity inequality
∀ u ∈ R , 1 − u ≤ e − u , (49) \forall u \in\mathbb{R},\quad1-u \le e^{-u}, \tag*{(49)} ∀ u ∈ R , 1 − u ≤ e − u , (49)
we deduce from (48)
∣ λ ∞ − λ ( N ) ∣ ≤ 8 λ ( 1 − η γ λ max ) 2 N ≤ 8 λ e − 2 η N / ( γ λ max ) . (50) |\lambda^\infty-\lambda^{(N)}| \le8\lambda\left(1-\frac{\eta}{\gamma\lambda_{\max}}\right)^{2N} \le8\lambda e^{-2\eta N/(\gamma\lambda_{\max})}. \tag*{(50)} ∣ λ ∞ − λ ( N ) ∣ ≤ 8 λ ( 1 − γ λ m a x η ) 2 N ≤ 8 λ e − 2 η N / ( γ λ m a x ) . (50)
Small-friction regime (SF). We return to (41) . The roots r ± r_{\pm} r ± are now complex conjugates, so
∣ r + ∣ 2 = ∣ r − ∣ 2 = r + r − = 1 − η γ + η 2 λ − 1 = : R 2 , |r_{+}|^2=|r_{-}|^2=r_{+}r_{-}=1-\eta\gamma+\eta^2\lambda^{-1}=:R^2, ∣ r + ∣ 2 = ∣ r − ∣ 2 = r + r − = 1 − η γ + η 2 λ − 1 =: R 2 ,
the common value being the constant coefficient of P P P . Moreover r + 2 N 1 − r + 2 \frac{r_{+}^{2N}}{1-r_{+}^{2}} 1 − r + 2 r + 2 N and r − 2 N 1 − r − 2 \frac{r_{-}^{2N}}{1-r_{-}^{2}} 1 − r − 2 r − 2 N are conjugate as well, hence
∣ r + 2 N 1 − r + 2 − 2 ( r + r − ) N 1 − r + r − + r − 2 N 1 − r − 2 ∣ = 2 ∣ Re ( r + 2 N 1 − r + 2 ) − R 2 N 1 − R 2 ∣ \left|\frac{r_{+}^{2N}}{1-r_{+}^{2}}-\frac{2(r_{+}r_{-})^N}{1-r_{+}r_{-}}+\frac{r_{-}^{2N}}{1-r_{-}^{2}}\right|
=2\left|\operatorname{Re}\left(\frac{r_{+}^{2N}}{1-r_{+}^{2}}\right)-\frac{R^{2N}}{1-R^2}\right| 1 − r + 2 r + 2 N − 1 − r + r − 2 ( r + r − ) N + 1 − r − 2 r − 2 N = 2 Re ( 1 − r + 2 r + 2 N ) − 1 − R 2 R 2 N
≤ 2 ∣ r + 2 N 1 − r + 2 ∣ + 2 R 2 N 1 − R 2 = 2 R 2 N ( 1 ∣ 1 − r + 2 ∣ + 1 1 − R 2 ) ≤ 4 R 2 N 1 − R 2 , \begin{aligned}
\le2\left|\frac{r_{+}^{2N}}{1-r_{+}^{2}}\right|+\frac{2R^{2N}}{1-R^2}
=2R^{2N}\left(\frac{1}{|1-r_{+}^{2}|}+\frac{1}{1-R^2}\right) \\
&\le\frac{4R^{2N}}{1-R^2},
\end{aligned} ≤ 2 1 − r + 2 r + 2 N + 1 − R 2 2 R 2 N = 2 R 2 N ( ∣1 − r + 2 ∣ 1 + 1 − R 2 1 ) ≤ 1 − R 2 4 R 2 N ,
where the last step uses ∣ 1 − r + 2 ∣ ≥ 1 − ∣ r + ∣ 2 = 1 − R 2 |1-r_{+}^{2}|\ge1-|r_{+}|^2=1-R^2 ∣1 − r + 2 ∣ ≥ 1 − ∣ r + ∣ 2 = 1 − R 2 . Now R 2 = 1 − η ( γ − η λ − 1 ) R^2=1-\eta(\gamma-\eta\lambda^{-1}) R 2 = 1 − η ( γ − η λ − 1 ) and, by (SF),
γ − η λ − 1 ≥ γ − 1 2 λ min γ λ min − 1 = 1 2 γ , (51) \gamma-\eta\lambda^{-1}\ge\gamma-\frac{1}{2}\lambda_{\min}\gamma\lambda_{\min}^{-1}=\frac{1}{2}\gamma, \tag*{(51)} γ − η λ − 1 ≥ γ − 2 1 λ m i n γ λ m i n − 1 = 2 1 γ , (51)
so R 2 ≤ 1 − 1 2 η γ R^2\le1-\frac{1}{2}\eta\gamma R 2 ≤ 1 − 2 1 η γ and
∣ r + 2 N 1 − r + 2 − 2 ( r + r − ) N 1 − r + r − + r − 2 N 1 − r − 2 ∣ ≤ 8 ( 1 − 1 2 η γ ) N η γ . \left|\frac{r_{+}^{2N}}{1-r_{+}^{2}}-\frac{2(r_{+}r_{-})^N}{1-r_{+}r_{-}}+\frac{r_{-}^{2N}}{1-r_{-}^{2}}\right|
\le\frac{8(1-\frac{1}{2}\eta\gamma)^N}{\eta\gamma}. 1 − r + 2 r + 2 N − 1 − r + r − 2 ( r + r − ) N + 1 − r − 2 r − 2 N ≤ η γ 8 ( 1 − 2 1 η γ ) N .
Plugging this into (41) and using ∣ γ 2 − 4 λ − 1 ∣ = 4 λ − 1 − γ 2 ≥ 4 λ − 1 − 2 λ max − 1 ≥ 2 λ − 1 |\gamma^2-4\lambda^{-1}|=4\lambda^{-1}-\gamma^2\ge4\lambda^{-1}-2\lambda_{\max}^{-1}\ge2\lambda^{-1} ∣ γ 2 − 4 λ − 1 ∣ = 4 λ − 1 − γ 2 ≥ 4 λ − 1 − 2 λ m a x − 1 ≥ 2 λ − 1 ,
∣ λ ∞ − λ ( N ) ∣ ≤ 16 ∣ γ 2 − 4 λ − 1 ∣ ( 1 − 1 2 η γ ) N ≤ 8 λ ( 1 − 1 2 η γ ) N . |\lambda^\infty-\lambda^{(N)}|\le\frac{16}{|\gamma^2-4\lambda^{-1}|}\left(1-\frac{1}{2}\eta\gamma\right)^N\le8\lambda\left(1-\frac{1}{2}\eta\gamma\right)^N. ∣ λ ∞ − λ ( N ) ∣ ≤ ∣ γ 2 − 4 λ − 1 ∣ 16 ( 1 − 2 1 η γ ) N ≤ 8 λ ( 1 − 2 1 η γ ) N .
Since 1 − 1 2 η γ ≥ 0 1-\frac{1}{2}\eta\gamma\ge0 1 − 2 1 η γ ≥ 0 under (SF), the convexity inequality (49) finally gives
∣ λ ∞ − λ ( N ) ∣ ≤ 8 λ e − η γ N / 2 . (52) |\lambda^\infty-\lambda^{(N)}|\le8\lambda e^{-\eta\gamma N/2}. \tag*{(52)} ∣ λ ∞ − λ ( N ) ∣ ≤ 8 λ e − η γ N /2 . (52)
Conclusion. Plugging (50) , respectively (52) , into (40) gives
W 2 ( P N , P ∞ ) ≤ 8 Tr Σ e − 2 η N / ( λ max γ ) under (LF) , W 2 ( P N , P ∞ ) ≤ 8 Tr Σ e − η γ N / 2 under (SF) . \begin{aligned}
W_2(\mathbb{P}_N,\mathbb{P}_\infty)&\le8\sqrt{\operatorname{Tr}\Sigma}\,e^{-2\eta N/(\lambda_{\max}\gamma)} &&\text{under (LF)},\\
W_2(\mathbb{P}_N,\mathbb{P}_\infty)&\le8\sqrt{\operatorname{Tr}\Sigma}\,e^{-\eta\gamma N/2} &&\text{under (SF)}.
\end{aligned} W 2 ( P N , P ∞ ) W 2 ( P N , P ∞ ) ≤ 8 Tr Σ e − 2 η N / ( λ m a x γ ) ≤ 8 Tr Σ e − η γ N /2 under (LF) , under (SF) .
□ \square □
Remark B.11. The large- and small-friction assumptions (LF) and (SF) are stricter than conditions (LF0 _0 0 ) and (SF0 _0 0 ) of Lemma B.9, but only through numerical factors: their nature is the same. This stricter framework, which defines the admissible hyperparameters for ULD, keeps the denominator γ 2 − 4 λ − 1 \gamma^2-4\lambda^{-1} γ 2 − 4 λ − 1 bounded away from zero, and affects the early-stopping and discretization bounds by a constant factor only.
Discretization error
We now bound the discretization error.
Lemma B.12. Under (LF) or (SF), the discretization error satisfies
W 2 ( P ∞ , P ) ≤ C Tr ( Σ − 1 ) η γ , W_2(\mathbb{P}_\infty,\mathbb{P}) \le C\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\eta}{\gamma}, W 2 ( P ∞ , P ) ≤ C Tr ( Σ − 1 ) γ η , with C = 6 7 C=\frac{6}{7} C = 7 6 in the large-friction regime and C = 3 2 C=\frac{3}{2} C = 2 3 in the small-friction regime.
Proof. By (11) and the inequality (37) established in the previous section,
W 2 2 ( P ∞ , P ) = ∑ i = 1 d ( λ i ∞ − λ i λ i ∞ + λ i ) 2 ≤ 1 4 ∑ i = 1 d ( λ i ∞ − λ i ) 2 λ i . (53) W_2^2(\mathbb{P}_\infty,\mathbb{P})=\sum_{i=1}^{d}\left(\frac{\lambda_i^\infty-\lambda_i}{\sqrt{\lambda_i^\infty}+\sqrt{\lambda_i}}\right)^2\le\frac{1}{4}\sum_{i=1}^{d}\frac{(\lambda_i^\infty-\lambda_i)^2}{\lambda_i}. \tag*{(53)} W 2 2 ( P ∞ , P ) = i = 1 ∑ d ( λ i ∞ + λ i λ i ∞ − λ i ) 2 ≤ 4 1 i = 1 ∑ d λ i ( λ i ∞ − λ i ) 2 . (53)
The lemma will again follow from a bound on ∣ λ ∞ − λ ∣ = λ ∞ − λ |\lambda^\infty-\lambda|=\lambda^\infty-\lambda ∣ λ ∞ − λ ∣ = λ ∞ − λ , for which we return to (39):
λ ∞ − λ = η γ − η λ − 1 × P ( − 1 ) + η γ P ( − 1 ) = η γ − η λ − 1 ( 1 + η γ P ( − 1 ) ) . (54) \lambda^\infty-\lambda=\frac{\eta}{\gamma-\eta\lambda^{-1}}\times\frac{P(-1)+\eta\gamma}{P(-1)}=\frac{\eta}{\gamma-\eta\lambda^{-1}}\left(1+\frac{\eta\gamma}{P(-1)}\right). \tag*{(54)} λ ∞ − λ = γ − η λ − 1 η × P ( − 1 ) P ( − 1 ) + η γ = γ − η λ − 1 η ( 1 + P ( − 1 ) η γ ) . (54)
where P ( − 1 ) P(-1) P ( − 1 ) is the quantity introduced with the Jury criterion. The assumptions of Proposition B.7 , stronger than those of Lemma B.9 where this criterion appears, keep P ( − 1 ) P(-1) P ( − 1 ) bounded away from zero. Indeed, in both regimes η γ ≤ 1 \eta\gamma\le1 η γ ≤ 1 : this is immediate under (LF), and under (SF),
η γ ≤ 1 2 λ min γ 2 ≤ 1 κ ≤ 1. \eta\gamma\le\frac{1}{2}\lambda_{\min}\gamma^2\le\frac{1}{\kappa}\le1. η γ ≤ 2 1 λ m i n γ 2 ≤ κ 1 ≤ 1.
Consequently P ( − 1 ) = 4 − 2 η γ + η 2 λ − 1 > 4 − 2 η γ ≥ 2 P(-1)=4-2\eta\gamma+\eta^2\lambda^{-1}>4-2\eta\gamma\ge2 P ( − 1 ) = 4 − 2 η γ + η 2 λ − 1 > 4 − 2 η γ ≥ 2 in both regimes, and (54) gives
λ ∞ − λ < 3 2 × η γ − η λ − 1 . \lambda^\infty-\lambda<\frac{3}{2}\times\frac{\eta}{\gamma-\eta\lambda^{-1}}. λ ∞ − λ < 2 3 × γ − η λ − 1 η .
It remains to bound γ − η λ − 1 \gamma-\eta\lambda^{-1} γ − η λ − 1 from below. Under (LF),
γ − η λ − 1 = γ ( 1 − η γ λ ) ≥ γ ( 1 − 1 λ γ 2 ) ≥ γ ( 1 − λ min 8 λ ) ≥ 7 8 γ , \gamma-\eta\lambda^{-1}=\gamma\left(1-\frac{\eta}{\gamma\lambda}\right)\ge\gamma\left(1-\frac{1}{\lambda\gamma^2}\right)\ge\gamma\left(1-\frac{\lambda_{\min}}{8\lambda}\right)\ge\frac{7}{8}\gamma, γ − η λ − 1 = γ ( 1 − γ λ η ) ≥ γ ( 1 − λ γ 2 1 ) ≥ γ ( 1 − 8 λ λ m i n ) ≥ 8 7 γ ,
hence
λ ∞ − λ < 12 η 7 γ . (55) \lambda^\infty-\lambda<\frac{12\eta}{7\gamma}. \tag*{(55)} λ ∞ − λ < 7 γ 12 η . (55)
Under (SF), (51) gives γ − η λ − 1 ≥ 1 2 γ \gamma-\eta\lambda^{-1}\ge\frac{1}{2}\gamma γ − η λ − 1 ≥ 2 1 γ , hence
λ ∞ − λ < 3 η γ . (56) \lambda^\infty-\lambda<\frac{3\eta}{\gamma}. \tag*{(56)} λ ∞ − λ < γ 3 η . (56)
Plugging (55) and (56) into (53) completes the proof.
Proof of Proposition B.7 . Combine Lemmas B.10 and B.12 through the triangle inequality (10).
Choice of hyperparameters
We can now prove the first part of Theorem 1 for ULD.
Proof of Theorem 1, non-asymptotic bound for ULD. Let N ≥ 2 N \ge2 N ≥ 2 satisfy N ≥ 4 κ log N N \ge4\kappa\log N N ≥ 4 κ log N , and recall the ULD hyperparameters of Theorem 1: η N = 2 λ max κ log N N \eta_N = \sqrt{2\lambda_{\max}\kappa\frac{\log N}{N}} η N = 2 λ m a x κ N l o g N and γ = 8 λ min \gamma= \sqrt{\frac{8}{\lambda_{\min}}} γ = λ m i n 8 . They satisfy the large-friction assumption (LF): the only point to check is η N γ ≤ 1 \eta_N\gamma\le1 η N γ ≤ 1 , and indeed
η N γ = 4 κ log N N ≤ 1 \eta_N\gamma= 4\kappa\frac{\log N}{N} \le1 η N γ = 4 κ N log N ≤ 1
by assumption. The first bound of Proposition B.7 therefore applies. Since η N γ = 1 2 λ max log N N \frac{\eta_N}{\gamma} = \frac{1}{2}\lambda_{\max}\frac{\log N}{N} γ η N = 2 1 λ m a x N l o g N , the exponential equals e − log N = 1 / N e^{-\log N}=1/N e − l o g N = 1/ N , and
W 2 ( P N , P ) ≤ 8 Tr Σ N + 3 7 λ max Tr ( Σ − 1 ) log N N . W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{8\sqrt{\operatorname{Tr}\Sigma}}{N}+\frac{3}{7}\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\log N}{N}. W 2 ( P N , P ) ≤ N 8 Tr Σ + 7 3 λ m a x Tr ( Σ − 1 ) N log N .
Using (16) once more gives the announced bound,
W 2 ( P N , P ) ≤ λ max Tr ( Σ − 1 ) N ( 3 7 log N + 8 ) . W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{N}\left(\frac{3}{7}\log N+8\right). W 2 ( P N , P ) ≤ N λ m a x Tr ( Σ − 1 ) ( 7 3 log N + 8 ) .
The same argument in the small-friction regime (SF) gives a bound of the same order.
Corollary B.13. Let N ≥ 2 κ log N N \ge2\kappa\log N N ≥ 2 κ log N . With η = 2 λ max log N N \eta=\sqrt{2\lambda_{\max}}\frac{\log N}{N} η = 2 λ m a x N l o g N and γ = 2 / λ max \gamma=\sqrt{2/\lambda_{\max}} γ = 2/ λ m a x ,
W 2 ( P N , P ) ≤ λ max Tr ( Σ − 1 ) N ( 3 2 log N + 8 ) . W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{N}\left(\frac{3}{2}\log N+8\right). W 2 ( P N , P ) ≤ N λ m a x Tr ( Σ − 1 ) ( 2 3 log N + 8 ) .
Proof. With these hyperparameters, η γ = 2 log N N \eta\gamma=2\frac{\log N}{N} η γ = 2 N l o g N and η γ = λ max log N N \frac{\eta}{\gamma}=\lambda_{\max}\frac{\log N}{N} γ η = λ m a x N l o g N , and the condition N ≥ 2 κ log N N \ge2\kappa\log N N ≥ 2 κ log N is exactly η ≤ 1 2 λ min γ \eta\le\frac{1}{2}\lambda_{\min}\gamma η ≤ 2 1 λ m i n γ , so (SF) holds. The second bound of Proposition B.7 gives
W 2 ( P N , P ) ≤ 8 Tr Σ / N + 3 2 λ max Tr ( Σ − 1 ) log N N , W_2(\mathbb{P}_N,\mathbb{P}) \le8\sqrt{\operatorname{Tr}\Sigma}/N+\frac{3}{2}\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\log N}{N}, W 2 ( P N , P ) ≤ 8 Tr Σ / N + 2 3 λ m a x Tr ( Σ − 1 ) N log N ,
and (16) concludes.
Asymptotic equivalent
To complete the proof of Theorem 1, it remains to establish the asymptotic equivalent
W 2 ( P N , P ) ∼ N → ∞ 1 4 λ max Tr ( Σ − 1 ) log N N W_2(\mathbb{P}_N,\mathbb{P}) \underset{N\to\infty}{\sim} \frac{1}{4}\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\log N}{N} W 2 ( P N , P ) N → ∞ ∼ 4 1 λ m a x Tr ( Σ − 1 ) N log N
for η = η N = 2 λ max κ log N N \eta=\eta_N=\sqrt{2\lambda_{\max}\kappa}\sqrt{\frac{\log N}{N}} η = η N = 2 λ m a x κ N l o g N and γ = 8 λ min \gamma=\sqrt{\frac{8}{\lambda_{\min}}} γ = λ m i n 8 .
Proof of Theorem 1, asymptotic equivalent for ULD. Take N N N large enough for the hyperparameters to satisfy (LF), so that Lemma B.9 and the bound (50) apply. Recall from (23) that
λ ∞ = 2 γ ( 2 − η N γ + η N 2 λ − 1 ) ( γ − η N λ − 1 ) ( 4 − 2 η N γ + η N 2 λ − 1 ) λ . \lambda^\infty=\frac{2\gamma(2-\eta_N\gamma+\eta_N^2\lambda^{-1})}{(\gamma-\eta_N\lambda^{-1})(4-2\eta_N\gamma+\eta_N^2\lambda^{-1})}\lambda. λ ∞ = ( γ − η N λ − 1 ) ( 4 − 2 η N γ + η N 2 λ − 1 ) 2 γ ( 2 − η N γ + η N 2 λ − 1 ) λ .
We first show that λ ( N ) → λ \lambda^{(N)}\to\lambda λ ( N ) → λ . On the one hand, η N → 0 \eta_N\to0 η N → 0 , so
λ ∞ ⟶ 4 γ 4 γ λ = λ . (57) \lambda^\infty\longrightarrow\frac{4\gamma}{4\gamma}\lambda=\lambda. \tag*{(57)} λ ∞ ⟶ 4 γ 4 γ λ = λ . (57)
On the other hand, (50) with the values of the hyperparameters gives
∣ λ ∞ − λ ( N ) ∣ ≤ 8 λ e − 2 η N N / ( γ λ max ) = 8 λ N , \left|\lambda^\infty-\lambda^{(N)}\right|\leq8\lambda e^{-2\eta_NN/(\gamma\lambda_{\max})}=\frac{8\lambda}{N}, λ ∞ − λ ( N ) ≤ 8 λ e − 2 η N N / ( γ λ m a x ) = N 8 λ ,
and with (57) , λ ( N ) → λ \lambda^{(N)}\to\lambda λ ( N ) → λ indeed. Applying Lemma A.3 to P N \mathbb{P}_N P N and P \mathbb{P} P then gives
W 2 2 ( P N , P ) = ∑ i = 1 d ( λ i ( N ) − λ i ) 2 = ∑ i = 1 d ( λ i ( N ) − λ i λ i ( N ) + λ i ) 2 ∼ 1 4 ∑ i = 1 d ( λ i ( N ) − λ i ) 2 λ i . (58) W_2^2(\mathbb{P}_N,\mathbb{P})=\sum_{i=1}^{d}\left(\sqrt{\lambda_i^{(N)}}-\sqrt{\lambda_i}\right)^2=\sum_{i=1}^{d}\left(\frac{\lambda_i^{(N)}-\lambda_i}{\sqrt{\lambda_i^{(N)}}+\sqrt{\lambda_i}}\right)^2\sim\frac{1}{4}\sum_{i=1}^{d}\frac{(\lambda_i^{(N)}-\lambda_i)^2}{\lambda_i}. \tag*{(58)} W 2 2 ( P N , P ) = i = 1 ∑ d ( λ i ( N ) − λ i ) 2 = i = 1 ∑ d λ i ( N ) + λ i λ i ( N ) − λ i 2 ∼ 4 1 i = 1 ∑ d λ i ( λ i ( N ) − λ i ) 2 . (58)
It remains to estimate λ ( N ) − λ \lambda^{(N)}-\lambda λ ( N ) − λ . By the bound above,
λ ( N ) − λ = ( λ ( N ) − λ ∞ ) + ( λ ∞ − λ ) = λ ∞ − λ + O ( 1 N ) . (59) \lambda^{(N)}-\lambda=(\lambda^{(N)}-\lambda^\infty)+(\lambda^\infty-\lambda)=\lambda^\infty-\lambda+O\left(\frac{1}{N}\right). \tag*{(59)} λ ( N ) − λ = ( λ ( N ) − λ ∞ ) + ( λ ∞ − λ ) = λ ∞ − λ + O ( N 1 ) . (59)
and by (38) ,
λ ∞ − λ = ( 4 − η N γ + η N 2 λ − 1 ) η N ( γ − η N λ − 1 ) ( 4 − 2 η N γ + η N 2 λ − 1 ) ∼ N → ∞ 4 η N 4 γ = η N γ = 1 2 λ max log N N . \lambda^\infty-\lambda=\frac{(4-\eta_N\gamma+\eta_N^2\lambda^{-1})\eta_N}{(\gamma-\eta_N\lambda^{-1})(4-2\eta_N\gamma+\eta_N^2\lambda^{-1})}\underset{N\to\infty}{\sim}\frac{4\eta_N}{4\gamma}=\frac{\eta_N}{\gamma}=\frac{1}{2}\lambda_{\max}\frac{\log N}{N}. λ ∞ − λ = ( γ − η N λ − 1 ) ( 4 − 2 η N γ + η N 2 λ − 1 ) ( 4 − η N γ + η N 2 λ − 1 ) η N N → ∞ ∼ 4 γ 4 η N = γ η N = 2 1 λ m a x N log N .
Together with (59) ,
λ ( N ) − λ = 1 2 λ max log N N + O ( 1 N ) , \lambda^{(N)}-\lambda=\frac{1}{2}\lambda_{\max}\frac{\log N}{N}+O\left(\frac{1}{N}\right), λ ( N ) − λ = 2 1 λ m a x N log N + O ( N 1 ) ,
an equivalent which, as for ULA, does not depend on λ \lambda λ . The equivalent (58) then yields
W 2 ( P N , P ) ∼ N → ∞ 1 4 λ max Tr ( Σ − 1 ) log N N . W_2(\mathbb{P}_N,\mathbb{P})\underset{N\to\infty}{\sim}\frac{1}{4}\lambda_{\max}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\log N}{N}. W 2 ( P N , P ) N → ∞ ∼ 4 1 λ m a x Tr ( Σ − 1 ) N log N .
Proof of Theorem 3 and Proposition 4 (diffusion sampler)
Overview
We now turn to the proof of the following theorem, stated in § 2.3 .
Theorem 3 (Diffusion sampler). Consider an iteration budget N ≥ 1 N \ge1 N ≥ 1 . Set horizon T = ( Tr ( Σ 5 ) Tr Σ ) 1 / 4 N T = \left(\frac{\operatorname{Tr}(\Sigma^5)}{\operatorname{Tr}\Sigma}\right)^{1/4}\sqrt{N} T = ( Tr Σ Tr ( Σ 5 ) ) 1/4 N , early-stopping threshold δ = Tr Σ d N 2 \delta= \frac{\operatorname{Tr}\Sigma}{dN^2} δ = d N 2 Tr Σ , and geometric time discretization grid τ k = T ( δ / T ) k / N \tau_k = T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N for k ∈ { 0 , … , N } k \in\{0,\ldots,N\} k ∈ { 0 , … , N } . Then the diffusion algorithm (6) yields
W 2 ( P N , P ) ≤ Tr Σ N ( 5 8 a N ρ 1 / N log ( ρ 2 / 5 N ) + 1 + 8 ) , ρ : = d λ max Tr Σ ∈ [ 1 , d ] , W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\sqrt{\operatorname{Tr}\Sigma}}{N}\left(\frac{5}{8}a_N\rho^{1/N}\log(\rho^{2/5}N)+1+\sqrt{8}\right), \qquad\rho:= \frac{d\lambda_{\max}}{\operatorname{Tr}\Sigma}\in[1,d], W 2 ( P N , P ) ≤ N Tr Σ ( 8 5 a N ρ 1/ N log ( ρ 2/5 N ) + 1 + 8 ) , ρ := Tr Σ d λ m a x ∈ [ 1 , d ] , where a N : = ( 1 + 4 N − 2 ) 1 / 2 N 5 / ( 2 N ) a_N := (1+4N^{-2})^{1/2}N^{5/(2N)} a N := ( 1 + 4 N − 2 ) 1/2 N 5/ ( 2 N ) satisfies a N ≤ 2 7 / 4 a_N \le2^{7/4} a N ≤ 2 7/4 for all N ≥ 1 N \ge1 N ≥ 1 and a N → 1 a_N \to1 a N → 1 . Moreover, this bound is asymptotically exact: under the same hyperparameters,
W 2 ( P N , P ) ∼ N → ∞ 5 8 Tr Σ log N N . (60) W_2(\mathbb{P}_N,\mathbb{P}) \mathop{\sim}_{N\to\infty} \frac{5}{8}\frac{\sqrt{\operatorname{Tr}\Sigma}\log N}{N}. \tag*{(60)} W 2 ( P N , P ) ∼ N → ∞ 8 5 N Tr Σ log N . (60) so that, for fixed Σ \Sigma Σ , the ratio of the bound to the actual error tends to 1.
Proposition 4, which differs from Theorem 3 only through the choice of hyperparameters, is restated and proved in Section C.3.
Error decomposition. The error of the diffusion algorithm of § 2.1 combines three sources. The first is the initialization error: the process is started from Y 0 ∼ N ( 0 , T I ) Y_0 \sim\mathcal{N}(0,TI) Y 0 ∼ N ( 0 , T I ) as a proxy for the true marginal Q T = N ( 0 , Σ + T I ) Q_T = \mathcal{N}(0,\Sigma+TI) Q T = N ( 0 , Σ + T I ) , which is unknown a priori . It is measured by the Wasserstein distance W 2 ( P N , P ~ N ) W_2(\mathbb{P}_N,\widetilde{\mathbb{P}}_N) W 2 ( P N , P N ) between the law P N \mathbb{P}_N P N actually sampled and the law P ~ N \widetilde{\mathbb{P}}_N P N that would have been sampled from the exact initialization Y 0 ∼ N ( 0 , Σ + T I ) Y_0 \sim\mathcal{N}(0,\Sigma+TI) Y 0 ∼ N ( 0 , Σ + T I ) . The second is the discretization error incurred when simulating the reverse SDE (5) : it is W 2 ( P ~ N , Q δ ) W_2(\widetilde{\mathbb{P}}_N,Q_\delta) W 2 ( P N , Q δ ) , the distance, for an exact initialization, between the law produced by the discrete scheme and the law Q δ = N ( 0 , Σ + δ I ) Q_\delta= \mathcal{N}(0,\Sigma+\delta I) Q δ = N ( 0 , Σ + δ I ) reached by the continuous process. The third is the early-stopping error W 2 ( Q δ , P ) W_2(Q_\delta,\mathbb{P}) W 2 ( Q δ , P ) , due to stopping the continuous process at the threshold δ > 0 \delta> 0 δ > 0 . The triangle inequality formalizes this decomposition:
W 2 ( P N , P ) ≤ W 2 ( P N , P ~ N ) + W 2 ( P ~ N , Q δ ) + W 2 ( Q δ , P ) . (61) W_2(\mathbb{P}_N,\mathbb{P}) \le W_2(\mathbb{P}_N,\widetilde{\mathbb{P}}_N) + W_2(\widetilde{\mathbb{P}}_N,Q_\delta) + W_2(Q_\delta,\mathbb{P}). \tag*{(61)} W 2 ( P N , P ) ≤ W 2 ( P N , P N ) + W 2 ( P N , Q δ ) + W 2 ( Q δ , P ) . (61)
Reduction to eigenvalues. All the laws in (61) are centered Gaussians with covariance in A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) : this is immediate for P \mathbb{P} P and Q δ Q_\delta Q δ , and follows from Lemma A.1 for P N \mathbb{P}_N P N and P ~ N \widetilde{\mathbb{P}}_N P N . Lemma A.3 therefore applies and, denoting by λ i ( N ) \lambda_i^{(N)} λ i ( N ) and λ ~ i ( N ) \widetilde{\lambda}_i^{(N)} λ i ( N ) the eigenvalues of the covariances of P N \mathbb{P}_N P N and P ~ N \widetilde{\mathbb{P}}_N P N , we record for later use
W 2 2 ( P N , P ~ N ) = ∑ i = 1 d ( λ i ( N ) − λ ~ i ( N ) ) 2 , (62) W_2^2(\mathbb{P}_N,\widetilde{\mathbb{P}}_N)=\sum_{i=1}^{d}\left(\sqrt{\lambda_i^{(N)}}-\sqrt{\widetilde{\lambda}_i^{(N)}}\right)^2, \tag*{(62)} W 2 2 ( P N , P N ) = i = 1 ∑ d ( λ i ( N ) − λ i ( N ) ) 2 , (62)
W 2 2 ( P ~ N , Q δ ) = ∑ i = 1 d ( λ ~ i ( N ) − λ i + δ ) 2 , (63) W_2^2(\widetilde{\mathbb{P}}_N,Q_\delta)=\sum_{i=1}^{d}\left(\sqrt{\widetilde{\lambda}_i^{(N)}}-\sqrt{\lambda_i+\delta}\right)^2, \tag*{(63)} W 2 2 ( P N , Q δ ) = i = 1 ∑ d ( λ i ( N ) − λ i + δ ) 2 , (63)
W 2 2 ( Q δ , P ) = ∑ i = 1 d ( λ i + δ − λ i ) 2 . (64) W_2^2(Q_\delta,\mathbb{P})=\sum_{i=1}^{d}\left(\sqrt{\lambda_i+\delta}-\sqrt{\lambda_i}\right)^2. \tag*{(64)} W 2 2 ( Q δ , P ) = i = 1 ∑ d ( λ i + δ − λ i ) 2 . (64)
Outline. The proof of Theorem 3 follows the same steps as that of Theorem 1.
(i)–(ii) Parametric bound (Section C.2). Closed form of the eigenvalues λ i ( N ) \lambda_i^{(N)} λ i ( N ) and λ ~ i ( N ) \widetilde{\lambda}_i^{(N)} λ i ( N ) from the scalar recursions of Lemma A.1 , then separate bounds on the three terms of (61) , and summation. This gives a bound on W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) in which T T T and δ \delta δ remain free (Proposition C.1).
(iii) Choice of hyperparameters (Section C.3). Plug the hyperparameters of Theorem 3 and Proposition 4 into the bound of Proposition C.1.
(iv) Asymptotic equivalent (Section C.4). Exact equivalent of W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) as N → ∞ N \to\infty N → ∞ for any geometric grid with T ∝ N T \propto\sqrt{N} T ∝ N and δ ∝ N − 2 \delta\propto N^{-2} δ ∝ N − 2 , from the closed forms of step (i). This equivalent does not depend on the proportionality constants, which shows that the spectral rate is a robust feature of the scheme.
Parametric bound for the diffusion sampler
The goal of this section is to prove the following proposition, which bounds W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) for all values of the hyperparameters. As before, we freely drop the eigenvalue index i i i in the proofs.
Proposition C.1 (Parametric bound for the diffusion sampler). For every N ≥ 1 N \ge1 N ≥ 1 and every T > δ > 0 T > \delta> 0 T > δ > 0 , with the geometric discretization τ k = T ( δ / T ) k / N \tau_k = T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N , the error of the diffusion algorithm satisfies
W 2 ( P N , P ) ≤ Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 + Tr Σ + 4 d δ 4 N ( T δ ) 1 / N log T δ + γ δ . W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\sqrt{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}}{T^2}+\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{4N}\left(\frac{T}{\delta}\right)^{1/N}\log\frac{T}{\delta}+\sqrt{\gamma\delta}. W 2 ( P N , P ) ≤ T 2 Tr (( Σ + δ I ) 3 Σ 2 ) + 4 N Tr Σ + 4 d δ ( δ T ) 1/ N log δ T + γ δ . The three terms bound the initialization, discretization and early-stopping errors respectively.
We first establish a closed form for the eigenvalues λ ( N ) \lambda^{(N)} λ ( N ) and λ ~ ( N ) \widetilde{\lambda}^{(N)} λ ( N ) , valid for any discretization grid.
Lemma C.2. Fix N ≥ 1 N \ge1 N ≥ 1 and consider the following generalized diffusion algorithm:
{ Y 0 ∼ N ( 0 , M ) , ∀ k = 1 , … , N , Y k = Y k − 1 + η k s τ k − 1 ( Y k − 1 ) + η k ξ k , \begin{cases}
Y_0 \sim\mathcal{N}(0,M),\\
\forall k=1,\ldots,N,\quad Y_k=Y_{k-1}+\eta_k s_{\tau_{k-1}}(Y_{k-1})+\sqrt{\eta_k}\xi_k,
\end{cases} { Y 0 ∼ N ( 0 , M ) , ∀ k = 1 , … , N , Y k = Y k − 1 + η k s τ k − 1 ( Y k − 1 ) + η k ξ k , for some M ∈ A ( Σ ) M \in\mathcal{A}(\Sigma) M ∈ A ( Σ ) , with eigenvalues μ i : = [ M ] i \mu_i := [M]_i μ i := [ M ] i . Then the iterates ( Y k ) (Y_k) ( Y k ) are centered Gaussian vectors whose covariance matrices ( M k ) (M_k) ( M k ) belong to A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) , and the eigenvalues μ i ( N ) : = [ M N ] i \mu_i^{(N)} := [M_N]_i μ i ( N ) := [ M N ] i are given by
∀ i , μ i ( N ) = ( λ i + δ λ i + T ) 2 μ i + ( λ i + δ ) 2 ∑ j = 1 N η j ( λ i + τ j ) 2 . \forall i,\quad\mu_i^{(N)}=\left(\frac{\lambda_i+\delta}{\lambda_i+T}\right)^2\mu_i+(\lambda_i+\delta)^2\sum_{j=1}^{N}\frac{\eta_j}{(\lambda_i+\tau_j)^2}. ∀ i , μ i ( N ) = ( λ i + T λ i + δ ) 2 μ i + ( λ i + δ ) 2 j = 1 ∑ N ( λ i + τ j ) 2 η j .
Proof. This generalization of (6) falls within the scope of Lemma A.1 : the identification is that of Remark A.2, the only change being the initial covariance M M M , which lies in A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) by assumption. Point (ii) of the lemma gives the recursion
∀ k ≥ 0 , μ ( k + 1 ) = ( 1 − η k + 1 λ + τ k ) 2 μ ( k ) + η k + 1 . \forall k \ge0,\quad\mu^{(k+1)}=\left(1-\frac{\eta_{k+1}}{\lambda+\tau_k}\right)^2\mu^{(k)}+\eta_{k+1}. ∀ k ≥ 0 , μ ( k + 1 ) = ( 1 − λ + τ k η k + 1 ) 2 μ ( k ) + η k + 1 .
@page 33/49 starts_mid=0 ends_mid=1 Outline. The proof of Theorem 3 follows the same steps as that of Theorem 1.
(i)–(ii) Parametric bound (Section C.2). Closed form of the eigenvalues λ i ( N ) \lambda_i^{(N)} λ i ( N ) and λ ~ i ( N ) \widetilde{\lambda}_i^{(N)} λ i ( N ) from the scalar recursions of Lemma A.1 , then separate bounds on the three terms of (61) , and summation. This gives a bound on W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) in which T T T and δ \delta δ remain free (Proposition C.1).
(iii) Choice of hyperparameters (Section C.3). Plug the hyperparameters of Theorem 3 and Proposition 4 into the bound of Proposition C.1.
(iv) Asymptotic equivalent (Section C.4). Exact equivalent of W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) as N → ∞ N \to\infty N → ∞ for any geometric grid with T ∝ N T \propto\sqrt{N} T ∝ N and δ ∝ N − 2 \delta\propto N^{-2} δ ∝ N − 2 , from the closed forms of step (i). This equivalent does not depend on the proportionality constants, which shows that the spectral rate is a robust feature of the scheme.
Parametric bound for the diffusion sampler
The goal of this section is to prove the following proposition, which bounds W 2 ( P N , P ) W_2(\mathbb{P}_N,\mathbb{P}) W 2 ( P N , P ) for all values of the hyperparameters. As before, we freely drop the eigenvalue index i i i in the proofs.
Proposition C.1 (Parametric bound for the diffusion sampler). For every N ≥ 1 N \ge1 N ≥ 1 and every T > δ > 0 T > \delta> 0 T > δ > 0 , with the geometric discretization τ k = T ( δ / T ) k / N \tau_k = T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N , the error of the diffusion algorithm satisfies
W 2 ( P N , P ) ≤ Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 + Tr Σ + 4 d δ 4 N ( T δ ) 1 / N log T δ + γ δ . W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\sqrt{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}}{T^2}+\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{4N}\left(\frac{T}{\delta}\right)^{1/N}\log\frac{T}{\delta}+\sqrt{\gamma\delta}. W 2 ( P N , P ) ≤ T 2 Tr (( Σ + δ I ) 3 Σ 2 ) + 4 N Tr Σ + 4 d δ ( δ T ) 1/ N log δ T + γ δ . The three terms bound the initialization, discretization and early-stopping errors respectively.
We first establish a closed form for the eigenvalues λ ( N ) \lambda^{(N)} λ ( N ) and λ ~ ( N ) \widetilde{\lambda}^{(N)} λ ( N ) , valid for any discretization grid.
Lemma C.2. Fix N ≥ 1 N \ge1 N ≥ 1 and consider the following generalized diffusion algorithm:
{ Y 0 ∼ N ( 0 , M ) , ∀ k = 1 , … , N , Y k = Y k − 1 + η k s τ k − 1 ( Y k − 1 ) + η k ξ k , \begin{cases}
Y_0 \sim\mathcal{N}(0,M),\\
\forall k=1,\ldots,N,\quad Y_k=Y_{k-1}+\eta_k s_{\tau_{k-1}}(Y_{k-1})+\sqrt{\eta_k}\xi_k,
\end{cases} { Y 0 ∼ N ( 0 , M ) , ∀ k = 1 , … , N , Y k = Y k − 1 + η k s τ k − 1 ( Y k − 1 ) + η k ξ k , for some M ∈ A ( Σ ) M \in\mathcal{A}(\Sigma) M ∈ A ( Σ ) , with eigenvalues μ i : = [ M ] i \mu_i := [M]_i μ i := [ M ] i . Then the iterates ( Y k ) (Y_k) ( Y k ) are centered Gaussian vectors whose covariance matrices ( M k ) (M_k) ( M k ) belong to A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) , and the eigenvalues μ i ( N ) : = [ M N ] i \mu_i^{(N)} := [M_N]_i μ i ( N ) := [ M N ] i are given by
∀ i , μ i ( N ) = ( λ i + δ λ i + T ) 2 μ i + ( λ i + δ ) 2 ∑ j = 1 N η j ( λ i + τ j ) 2 . \forall i,\quad\mu_i^{(N)}=\left(\frac{\lambda_i+\delta}{\lambda_i+T}\right)^2\mu_i+(\lambda_i+\delta)^2\sum_{j=1}^{N}\frac{\eta_j}{(\lambda_i+\tau_j)^2}. ∀ i , μ i ( N ) = ( λ i + T λ i + δ ) 2 μ i + ( λ i + δ ) 2 j = 1 ∑ N ( λ i + τ j ) 2 η j .
Proof. This generalization of (6) falls within the scope of Lemma A.1 : the identification is that of Remark A.2, the only change being the initial covariance M M M , which lies in A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) by assumption. Point (ii) of the lemma gives the recursion
∀ k ≥ 0 , μ ( k + 1 ) = ( 1 − η k + 1 λ + τ k ) 2 μ ( k ) + η k + 1 . \forall k \ge0,\quad\mu^{(k+1)}=\left(1-\frac{\eta_{k+1}}{\lambda+\tau_k}\right)^2\mu^{(k)}+\eta_{k+1}. ∀ k ≥ 0 , μ ( k + 1 ) = ( 1 − λ + τ k η k + 1 ) 2 μ ( k ) + η k + 1 .
Since η k + 1 = τ k − τ k + 1 \eta_{k+1}=\tau_k-\tau_{k+1} η k + 1 = τ k − τ k + 1 , the contraction factor telescopes, leading to the simplification announced in § 2.1 :
μ ( k + 1 ) = ( λ + τ k − η k + 1 λ + τ k ) 2 μ ( k ) + η k + 1 = ( λ + τ k + 1 λ + τ k ) 2 μ ( k ) + η k + 1 . \mu^{(k+1)}=\left(\frac{\lambda+\tau_k-\eta_{k+1}}{\lambda+\tau_k}\right)^2\mu^{(k)}+\eta_{k+1}=\left(\frac{\lambda+\tau_{k+1}}{\lambda+\tau_k}\right)^2\mu^{(k)}+\eta_{k+1}. μ ( k + 1 ) = ( λ + τ k λ + τ k − η k + 1 ) 2 μ ( k ) + η k + 1 = ( λ + τ k λ + τ k + 1 ) 2 μ ( k ) + η k + 1 .
Dividing by ( λ + τ k + 1 ) 2 (\lambda+\tau_{k+1})^2 ( λ + τ k + 1 ) 2 and setting
∀ j ≥ 0 , ν j : = μ ( j ) ( λ + τ j ) 2 \forall j\geq0,\qquad\nu_j:=\frac{\mu^{(j)}}{(\lambda+\tau_j)^2} ∀ j ≥ 0 , ν j := ( λ + τ j ) 2 μ ( j )
we are left with the much simpler recursion
∀ j ≥ 0 , ν j + 1 = ν j + η j + 1 ( λ + τ j + 1 ) 2 , ν 0 = μ ( λ + T ) 2 . \forall j\geq0,\qquad\nu_{j+1}=\nu_j+\frac{\eta_{j+1}}{(\lambda+\tau_{j+1})^2},\qquad\nu_0=\frac{\mu}{(\lambda+T)^2}. ∀ j ≥ 0 , ν j + 1 = ν j + ( λ + τ j + 1 ) 2 η j + 1 , ν 0 = ( λ + T ) 2 μ .
whence
ν k = μ ( λ + T ) 2 + ∑ j = 1 k η j ( λ + τ j ) 2 and μ ( k ) = ( λ + τ k λ + T ) 2 μ + ( λ + τ k ) 2 ∑ j = 1 k η j ( λ + τ j ) 2 . \nu_k=\frac{\mu}{(\lambda+T)^2}+\sum_{j=1}^{k}\frac{\eta_j}{(\lambda+\tau_j)^2}
\qquad\text{and}\qquad
\mu^{(k)}=\left(\frac{\lambda+\tau_k}{\lambda+T}\right)^2\mu+(\lambda+\tau_k)^2\sum_{j=1}^{k}\frac{\eta_j}{(\lambda+\tau_j)^2}. ν k = ( λ + T ) 2 μ + j = 1 ∑ k ( λ + τ j ) 2 η j and μ ( k ) = ( λ + T λ + τ k ) 2 μ + ( λ + τ k ) 2 j = 1 ∑ k ( λ + τ j ) 2 η j .
Taking k = N k=N k = N , with τ N = δ \tau_N=\delta τ N = δ , gives the announced formula.
Remark C.3. Applying this lemma with M = T I M=TI M = T I and with M = Σ + T I M=\Sigma+TI M = Σ + T I , both in A ( Σ ) \mathcal{A}(\Sigma) A ( Σ ) , gives for every $N\geq 1
λ ( N ) = ( λ + δ λ + T ) 2 T + ( λ + δ ) 2 ∑ j = 1 N η j ( λ + τ j ) 2 , \lambda^{(N)}=\left(\frac{\lambda+\delta}{\lambda+T}\right)^2T+(\lambda+\delta)^2\sum_{j=1}^{N}\frac{\eta_j}{(\lambda+\tau_j)^2}, λ ( N ) = ( λ + T λ + δ ) 2 T + ( λ + δ ) 2 j = 1 ∑ N ( λ + τ j ) 2 η j ,
λ ~ ( N ) = ( λ + δ ) 2 λ + T + ( λ + δ ) 2 ∑ j = 1 N η j ( λ + τ j ) 2 . \widetilde{\lambda}^{(N)}=\frac{(\lambda+\delta)^2}{\lambda+T}+(\lambda+\delta)^2\sum_{j=1}^{N}\frac{\eta_j}{(\lambda+\tau_j)^2}. λ ( N ) = λ + T ( λ + δ ) 2 + ( λ + δ ) 2 j = 1 ∑ N ( λ + τ j ) 2 η j .
Initialization error
Lemma C.4. For every N ≥ 1 N\geq1 N ≥ 1 and every T > δ > 0 T>\delta>0 T > δ > 0 , the initialization error is bounded uniformly in N N N :
W 2 ( P N , P ~ N ) ≤ Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 . W_2(\mathbb{P}_N,\widetilde{\mathbb{P}}_N)\leq\frac{\sqrt{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}}{T^2}. W 2 ( P N , P N ) ≤ T 2 Tr (( Σ + δ I ) 3 Σ 2 ) .
Proof. Fix N ≥ 1 N\geq1 N ≥ 1 and T > δ > 0 T>\delta>0 T > δ > 0 throughout. By (62) ,
W 2 2 ( P N , P ~ N ) = ∑ i = 1 d ( λ i ( N ) − λ ~ i ( N ) ) 2 . (65) W_2^2(\mathbb{P}_N,\widetilde{\mathbb{P}}_N)=\sum_{i=1}^{d}\left(\sqrt{\lambda_i^{(N)}}-\sqrt{\widetilde{\lambda}_i^{(N)}}\right)^2. \tag*{(65)} W 2 2 ( P N , P N ) = i = 1 ∑ d ( λ i ( N ) − λ i ( N ) ) 2 . (65)
Starting from the expression of λ ~ ( N ) \widetilde{\lambda}^{(N)} λ ( N ) in Remark C.3, and using ( λ + δ ) 2 1 λ + δ = λ + δ (\lambda+\delta)^2\frac{1}{\lambda+\delta}=\lambda+\delta ( λ + δ ) 2 λ + δ 1 = λ + δ ,
λ ~ ( N ) = ( λ + δ ) 2 ( ∑ j = 1 N η j ( λ + τ j ) 2 + 1 λ + T ) = λ + δ + ( λ + δ ) 2 ( ∑ j = 1 N η j ( λ + τ j ) 2 − ( 1 λ + δ − 1 λ + T ) ) = λ + δ + ( λ + δ ) 2 Δ . (66) \begin{aligned}
\widetilde{\lambda}^{(N)}=(\lambda+\delta)^2\left(\sum_{j=1}^{N}\frac{\eta_j}{(\lambda+\tau_j)^2}+\frac{1}{\lambda+T}\right) \\
&=\lambda+\delta+(\lambda+\delta)^2\left(\sum_{j=1}^{N}\frac{\eta_j}{(\lambda+\tau_j)^2}-\left(\frac{1}{\lambda+\delta}-\frac{1}{\lambda+T}\right)\right)=\lambda+\delta+(\lambda+\delta)^2\Delta. \tag*{(66)}
\end{aligned} λ ( N ) = ( λ + δ ) 2 ( j = 1 ∑ N ( λ + τ j ) 2 η j + λ + T 1 ) = λ + δ + ( λ + δ ) 2 ( j = 1 ∑ N ( λ + τ j ) 2 η j − ( λ + δ 1 − λ + T 1 ) ) = λ + δ + ( λ + δ ) 2 Δ. (66)
where
Δ : = ∑ j = 1 N η j ( λ + τ j ) 2 − ( 1 λ + δ − 1 λ + T ) = ∑ j = 1 N η j ( λ + τ j ) 2 − ∫ δ T d τ ( λ + τ ) 2 . \Delta:= \sum_{j=1}^{N} \frac{\eta_j}{(\lambda+\tau_j)^2} - \left(\frac{1}{\lambda+\delta}-\frac{1}{\lambda+T}\right) = \sum_{j=1}^{N} \frac{\eta_j}{(\lambda+\tau_j)^2} - \int_{\delta}^{T} \frac{\mathrm{d}\tau}{(\lambda+\tau)^2}. Δ := j = 1 ∑ N ( λ + τ j ) 2 η j − ( λ + δ 1 − λ + T 1 ) = j = 1 ∑ N ( λ + τ j ) 2 η j − ∫ δ T ( λ + τ ) 2 d τ .
Δ \Delta Δ is the quadrature error made when approximating ∫ δ T ( λ + τ ) − 2 d τ \int_{\delta}^{T}(\lambda+\tau)^{-2}\,\mathrm{d}\tau ∫ δ T ( λ + τ ) − 2 d τ by the Riemann sum ∑ j = 1 N η j ( λ + τ j ) − 2 \sum_{j=1}^{N}\eta_j(\lambda+\tau_j)^{-2} ∑ j = 1 N η j ( λ + τ j ) − 2 , in which the decreasing integrand is evaluated at the left endpoint of each interval [ τ j , τ j − 1 ] [\tau_j,\tau_{j-1}] [ τ j , τ j − 1 ] ; it is therefore positive. Explicitly, since τ 0 = T \tau_0=T τ 0 = T and τ N = δ \tau_N=\delta τ N = δ ,
Δ = ∑ j = 1 N η j ( λ + τ j ) 2 − ∑ j = 1 N ( 1 λ + τ j − 1 λ + τ j − 1 ) = ∑ j = 1 N ( η j ( λ + τ j ) 2 − η j ( λ + τ j ) ( λ + τ j − 1 ) ) = ∑ j = 1 N η j 2 ( λ + τ j ) 2 ( λ + τ j − 1 ) > 0 , (67) \begin{aligned}
\Delta&= \sum_{j=1}^{N}\frac{\eta_j}{(\lambda+\tau_j)^2}-\sum_{j=1}^{N}\left(\frac{1}{\lambda+\tau_j}-\frac{1}{\lambda+\tau_{j-1}}\right) \\
&= \sum_{j=1}^{N}\left(\frac{\eta_j}{(\lambda+\tau_j)^2}-\frac{\eta_j}{(\lambda+\tau_j)(\lambda+\tau_{j-1})}\right) \\
&= \sum_{j=1}^{N}\frac{\eta_j^2}{(\lambda+\tau_j)^2(\lambda+\tau_{j-1})}>0, \tag*{(67)}
\end{aligned} Δ = j = 1 ∑ N ( λ + τ j ) 2 η j − j = 1 ∑ N ( λ + τ j 1 − λ + τ j − 1 1 ) = j = 1 ∑ N ( ( λ + τ j ) 2 η j − ( λ + τ j ) ( λ + τ j − 1 ) η j ) = j = 1 ∑ N ( λ + τ j ) 2 ( λ + τ j − 1 ) η j 2 > 0 , (67)
where we used τ j − 1 − τ j = η j \tau_{j-1}-\tau_j=\eta_j τ j − 1 − τ j = η j twice. With (66) , this gives
λ ~ ( N ) > λ + δ . (68) \tilde{\lambda}^{(N)}>\lambda+\delta. \tag*{(68)} λ ~ ( N ) > λ + δ . (68)
Remark C.3 also gives the difference of the two eigenvalues,
λ ~ ( N ) − λ ( N ) = ( λ + δ λ + T ) 2 λ , (69) \tilde{\lambda}^{(N)}-\lambda^{(N)}=\left(\frac{\lambda+\delta}{\lambda+T}\right)^2\lambda, \tag*{(69)} λ ~ ( N ) − λ ( N ) = ( λ + T λ + δ ) 2 λ , (69)
so that, by (68) ,
λ ~ ( N ) − λ ( N ) = λ ~ ( N ) − λ ( N ) λ ~ ( N ) + λ ( N ) ≤ λ ~ ( N ) − λ ( N ) λ + δ = ( λ + δ ) 3 / 2 λ ( λ + T ) 2 ≤ ( λ + δ ) 3 / 2 λ T 2 . \sqrt{\tilde{\lambda}^{(N)}}-\sqrt{\lambda^{(N)}}=\frac{\tilde{\lambda}^{(N)}-\lambda^{(N)}}{\sqrt{\tilde{\lambda}^{(N)}}+\sqrt{\lambda^{(N)}}}\leq\frac{\tilde{\lambda}^{(N)}-\lambda^{(N)}}{\sqrt{\lambda+\delta}}=\frac{(\lambda+\delta)^{3/2}\lambda}{(\lambda+T)^2}\leq\frac{(\lambda+\delta)^{3/2}\lambda}{T^2}. λ ~ ( N ) − λ ( N ) = λ ~ ( N ) + λ ( N ) λ ~ ( N ) − λ ( N ) ≤ λ + δ λ ~ ( N ) − λ ( N ) = ( λ + T ) 2 ( λ + δ ) 3/2 λ ≤ T 2 ( λ + δ ) 3/2 λ .
Squaring, summing over i i i and using (65) gives the bound of the lemma.
Discretization error
Lemma C.5. For every N ≥ 1 N\geq1 N ≥ 1 and every T > δ > 0 T>\delta>0 T > δ > 0 , with the geometric discretization τ k = T ( δ / T ) k / N \tau_k=T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N , the discretization error satisfies
W 2 ( P ~ N , Q δ ) ≤ Tr Σ + 4 d δ 4 N ( T δ ) 1 / N log T δ . W_2(\widetilde{P}_N,Q_\delta)\leq\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{4N}\left(\frac{T}{\delta}\right)^{1/N}\log\frac{T}{\delta}. W 2 ( P N , Q δ ) ≤ 4 N Tr Σ + 4 d δ ( δ T ) 1/ N log δ T .
Proof. Fix N ≥ 1 N\geq1 N ≥ 1 and T > δ > 0 T>\delta>0 T > δ > 0 . By (63) and (68) ,
W 2 2 ( P ~ N , Q δ ) = ∑ i = 1 d ( λ ~ i ( N ) − λ i + δ ) 2 = ∑ i = 1 d ( λ ~ i ( N ) − ( λ i + δ ) λ ~ i ( N ) + λ i + δ ) 2 ≤ 1 4 ∑ i = 1 d ( λ ~ i ( N ) − ( λ i + δ ) ) 2 λ i + δ , \begin{aligned}
W_2^2(\widetilde{P}_N,Q_\delta)=\sum_{i=1}^{d}\left(\sqrt{\widetilde{\lambda}_i^{(N)}}-\sqrt{\lambda_i+\delta}\right)^2=\sum_{i=1}^{d}\left(\frac{\widetilde{\lambda}_i^{(N)}-(\lambda_i+\delta)}{\sqrt{\widetilde{\lambda}_i^{(N)}}+\sqrt{\lambda_i+\delta}}\right)^2 \\
&\leq\frac{1}{4}\sum_{i=1}^{d}\frac{\left(\widetilde{\lambda}_i^{(N)}-(\lambda_i+\delta)\right)^2}{\lambda_i+\delta},
\end{aligned} W 2 2 ( P N , Q δ ) = i = 1 ∑ d ( λ i ( N ) − λ i + δ ) 2 = i = 1 ∑ d λ i ( N ) + λ i + δ λ i ( N ) − ( λ i + δ ) 2 ≤ 4 1 i = 1 ∑ d λ i + δ ( λ i ( N ) − ( λ i + δ ) ) 2 ,
and with (66) ,
W 2 2 ( P ~ N , Q δ ) ≤ 1 4 ∑ i = 1 d ( λ i + δ ) 3 Δ i 2 . (70) W_2^2(\widetilde{\mathbb{P}}_N, Q_\delta) \le\frac{1}{4}\sum_{i=1}^{d}(\lambda_i+\delta)^3\Delta_i^2. \tag*{(70)} W 2 2 ( P N , Q δ ) ≤ 4 1 i = 1 ∑ d ( λ i + δ ) 3 Δ i 2 . (70)
It thus remains to bound Δ \Delta Δ for the geometric grid τ k = T ( δ / T ) k / N \tau_k=T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N . Let q : = ( δ / T ) 1 / N q:=(\delta/T)^{1/N} q := ( δ / T ) 1/ N denote its ratio, so that τ k = q τ k − 1 \tau_k=q\tau_{k-1} τ k = q τ k − 1 and
∀ k ≥ 1 , η k = ( q − 1 − 1 ) τ k . \forall k\ge1,\qquad\eta_k=(q^{-1}-1)\tau_k. ∀ k ≥ 1 , η k = ( q − 1 − 1 ) τ k .
Returning to (67) ,
Δ = ( q − 1 − 1 ) ∑ j = 1 N τ j λ + τ j ( 1 λ + τ j − 1 λ + τ j − 1 ) (71) \Delta=(q^{-1}-1)\sum_{j=1}^{N}\frac{\tau_j}{\lambda+\tau_j}\left(\frac{1}{\lambda+\tau_j}-\frac{1}{\lambda+\tau_{j-1}}\right) \tag*{(71)} Δ = ( q − 1 − 1 ) j = 1 ∑ N λ + τ j τ j ( λ + τ j 1 − λ + τ j − 1 1 ) (71)
= ( q − 1 − 1 ) ∑ j = 1 N f ( τ j ) ( G ( τ j ) − G ( τ j − 1 ) ) , (72) =(q^{-1}-1)\sum_{j=1}^{N}f(\tau_j)\bigl(G(\tau_j)-G(\tau_{j-1})\bigr), \tag*{(72)} = ( q − 1 − 1 ) j = 1 ∑ N f ( τ j ) ( G ( τ j ) − G ( τ j − 1 ) ) , (72)
where
f : τ ⟼ τ λ + τ , G : τ ⟼ 1 λ + τ . f:\tau\longmapsto\frac{\tau}{\lambda+\tau},\qquad G:\tau\longmapsto\frac{1}{\lambda+\tau}. f : τ ⟼ λ + τ τ , G : τ ⟼ λ + τ 1 .
Since τ j < τ j − 1 \tau_j<\tau_{j-1} τ j < τ j − 1 and f f f is increasing,
f ( τ j ) ( G ( τ j ) − G ( τ j − 1 ) ) = f ( τ j ) ∫ τ j τ j − 1 d τ ( λ + τ ) 2 ≤ ∫ τ j τ j − 1 f ( τ ) d τ ( λ + τ ) 2 = ∫ τ j τ j − 1 τ d τ ( λ + τ ) 3 , f(\tau_j)\bigl(G(\tau_j)-G(\tau_{j-1})\bigr)
=f(\tau_j)\int_{\tau_j}^{\tau_{j-1}}\frac{\mathrm{d}\tau}{(\lambda+\tau)^2}
\le\int_{\tau_j}^{\tau_{j-1}}\frac{f(\tau)\,\mathrm{d}\tau}{(\lambda+\tau)^2}
=\int_{\tau_j}^{\tau_{j-1}}\frac{\tau\,\mathrm{d}\tau}{(\lambda+\tau)^3}, f ( τ j ) ( G ( τ j ) − G ( τ j − 1 ) ) = f ( τ j ) ∫ τ j τ j − 1 ( λ + τ ) 2 d τ ≤ ∫ τ j τ j − 1 ( λ + τ ) 2 f ( τ ) d τ = ∫ τ j τ j − 1 ( λ + τ ) 3 τ d τ ,
and summing over j j j in (72) ,
Δ ≤ ( q − 1 − 1 ) ∫ δ T τ d τ ( λ + τ ) 3 . (73) \Delta\le(q^{-1}-1)\int_{\delta}^{T}\frac{\tau\,\mathrm{d}\tau}{(\lambda+\tau)^3}. \tag*{(73)} Δ ≤ ( q − 1 − 1 ) ∫ δ T ( λ + τ ) 3 τ d τ . (73)
One checks that τ ⟼ λ 2 ( λ + τ ) 2 − 1 λ + τ \tau\longmapsto\frac{\lambda}{2(\lambda+\tau)^2}-\frac{1}{\lambda+\tau} τ ⟼ 2 ( λ + τ ) 2 λ − λ + τ 1 is an antiderivative of the integrand, hence
Δ ≤ ( q − 1 − 1 ) [ λ 2 ( λ + τ ) 2 − 1 λ + τ ] δ T = ( q − 1 − 1 ) ( λ + 2 δ 2 ( λ + δ ) 2 − λ + 2 T 2 ( λ + T ) 2 ) ≤ ( q − 1 − 1 ) λ + 2 δ 2 ( λ + δ ) 2 , \begin{aligned}
\Delta\le(q^{-1}-1)\left[\frac{\lambda}{2(\lambda+\tau)^2}-\frac{1}{\lambda+\tau}\right]_{\delta}^{T}
=(q^{-1}-1)\left(\frac{\lambda+2\delta}{2(\lambda+\delta)^2}-\frac{\lambda+2T}{2(\lambda+T)^2}\right) \\
&\le(q^{-1}-1)\frac{\lambda+2\delta}{2(\lambda+\delta)^2},
\end{aligned} Δ ≤ ( q − 1 − 1 ) [ 2 ( λ + τ ) 2 λ − λ + τ 1 ] δ T = ( q − 1 − 1 ) ( 2 ( λ + δ ) 2 λ + 2 δ − 2 ( λ + T ) 2 λ + 2 T ) ≤ ( q − 1 − 1 ) 2 ( λ + δ ) 2 λ + 2 δ ,
and therefore
( λ + δ ) 3 Δ 2 ≤ 1 4 ( q − 1 − 1 ) 2 ( λ + 2 δ ) 2 λ + δ ≤ 1 4 ( q − 1 − 1 ) 2 ( λ + 4 δ ) , (\lambda+\delta)^3\Delta^2\le\frac{1}{4}(q^{-1}-1)^2\frac{(\lambda+2\delta)^2}{\lambda+\delta}
\le\frac{1}{4}(q^{-1}-1)^2(\lambda+4\delta), ( λ + δ ) 3 Δ 2 ≤ 4 1 ( q − 1 − 1 ) 2 λ + δ ( λ + 2 δ ) 2 ≤ 4 1 ( q − 1 − 1 ) 2 ( λ + 4 δ ) ,
where the last inequality is ( λ + 2 δ ) 2 ≤ ( λ + 2 δ ) 2 + λ δ = ( λ + δ ) ( λ + 4 δ ) (\lambda+2\delta)^2\le(\lambda+2\delta)^2+\lambda\delta=(\lambda+\delta)(\lambda+4\delta) ( λ + 2 δ ) 2 ≤ ( λ + 2 δ ) 2 + λ δ = ( λ + δ ) ( λ + 4 δ ) . Plugging this into (70) ,
W 2 ( P ~ N , Q δ ) ≤ 1 4 ( q − 1 − 1 ) Tr Σ + 4 d δ . (74) W_2(\widetilde{\mathbb{P}}_N,Q_\delta)\le\frac{1}{4}(q^{-1}-1)\sqrt{\operatorname{Tr}\Sigma+4d\delta}. \tag*{(74)} W 2 ( P N , Q δ ) ≤ 4 1 ( q − 1 − 1 ) Tr Σ + 4 d δ . (74)
Finally, the inequality e u − 1 ≤ u e u e^u-1\le ue^u e u − 1 ≤ u e u , valid for all u ∈ R u\in\mathbb{R} u ∈ R , applied to u = 1 N log T δ u=\frac{1}{N}\log\frac{T}{\delta} u = N 1 log δ T gives
q − 1 − 1 = ( T δ ) 1 / N − 1 ≤ 1 N ( T δ ) 1 / N log T δ , q^{-1}-1=\left(\frac{T}{\delta}\right)^{1/N}-1
\le\frac{1}{N}\left(\frac{T}{\delta}\right)^{1/N}\log\frac{T}{\delta}, q − 1 − 1 = ( δ T ) 1/ N − 1 ≤ N 1 ( δ T ) 1/ N log δ T ,
which together with (74) concludes the proof.
Early-stopping error
Lemma C.6. For every δ > 0 \delta> 0 δ > 0 , the early-stopping error satisfies
W 2 ( Q δ , P ) ≤ λ δ . W_2(Q_\delta,\mathbb{P}) \le\sqrt{\lambda\delta}. W 2 ( Q δ , P ) ≤ λ δ .
Proof. By (64) , it suffices to note that for every λ > 0 \lambda> 0 λ > 0 ,
( λ + δ − λ ) 2 = 2 λ + δ − 2 λ λ + δ < 2 λ + δ − 2 λ = δ . \left(\sqrt{\lambda+\delta}-\sqrt{\lambda}\right)^2=2\lambda+\delta-2\sqrt{\lambda}\sqrt{\lambda+\delta}<2\lambda+\delta-2\lambda=\delta. ( λ + δ − λ ) 2 = 2 λ + δ − 2 λ λ + δ < 2 λ + δ − 2 λ = δ .
Proof of Proposition C.1. Combine Lemmas C.4 , C.5 and C.6 through the triangle inequality (61) .
Choice of hyperparameters
Thanks to Proposition C.1, we can now prove the non-asymptotic bounds of Theorem 3 (including the properties of ( α N ) (\alpha_N) ( α N ) stated there) and of Proposition 4 .
Proof of Theorem 3, non-asymptotic bound. Let N ≥ 1 N \ge1 N ≥ 1 and recall the hyperparameters of Theorem 3:
T = ( Tr ( Σ 5 ) Tr Σ ) 1 / 4 N , δ = Tr Σ d N 2 . T=\left(\frac{\operatorname{Tr}(\Sigma^5)}{\operatorname{Tr}\Sigma}\right)^{1/4}\sqrt{N},\qquad\delta=\frac{\operatorname{Tr}\Sigma}{dN^2}. T = ( Tr Σ Tr ( Σ 5 ) ) 1/4 N , δ = d N 2 Tr Σ .
We first check that T > δ T>\delta T > δ , as required by Proposition C.1. By Hölder’s inequality, Tr ( Σ 5 ) ≥ ( Tr Σ ) 5 / d 4 \operatorname{Tr}(\Sigma^5)\ge(\operatorname{Tr}\Sigma)^5/d^4 Tr ( Σ 5 ) ≥ ( Tr Σ ) 5 / d 4 , hence
T ≥ ( ( Tr Σ ) 4 d 4 ) 1 / 4 N = Tr Σ d N , T\ge\left(\frac{(\operatorname{Tr}\Sigma)^4}{d^4}\right)^{1/4}\sqrt{N}=\frac{\operatorname{Tr}\Sigma}{d}\sqrt{N}, T ≥ ( d 4 ( Tr Σ ) 4 ) 1/4 N = d Tr Σ N ,
which exceeds δ = Tr Σ d N − 2 \delta=\frac{\operatorname{Tr}\Sigma}{d}N^{-2} δ = d Tr Σ N − 2 as soon as N ≥ 2 N\ge2 N ≥ 2 . For N = 1 N=1 N = 1 , the inequality T > δ T>\delta T > δ still holds unless Hölder’s inequality is an equality, i.e., unless Σ \Sigma Σ is a scalar matrix. In that isotropic case one has T = δ T=\delta T = δ , the algorithm performs a single step of size η 1 = 0 \eta_1=0 η 1 = 0 , and P 1 = N ( 0 , T I ) = P \mathbb{P}_1=\mathcal{N}(0,T I)=\mathbb{P} P 1 = N ( 0 , T I ) = P , so that W 2 ( P 1 , P ) = 0 W_2(\mathbb{P}_1,\mathbb{P})=0 W 2 ( P 1 , P ) = 0 and the bound holds trivially. This degenerate case is of no interest, but covering it allows Theorem 3 to be stated for all N ≥ 1 N\ge1 N ≥ 1 . We assume T > δ T>\delta T > δ from now on.
Proposition C.1 then gives
W 2 ( P N , P ) ≤ Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 + Tr Σ + 4 d δ 4 N ( T δ ) 1 / N log T δ + λ δ . (75) W_2(\mathbb{P}_N,\mathbb{P})\le\frac{\sqrt{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}}{T^2}+\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{4N}\left(\frac{T}{\delta}\right)^{1/N}\log\frac{T}{\delta}+\sqrt{\lambda\delta}. \tag*{(75)} W 2 ( P N , P ) ≤ T 2 Tr (( Σ + δ I ) 3 Σ 2 ) + 4 N Tr Σ + 4 d δ ( δ T ) 1/ N log δ T + λ δ . (75)
and we bound the three terms in turn.
Initialization. With the value of T T T ,
Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 = Tr Σ N × Tr ( ( Σ + δ I ) 3 Σ 2 ) Tr ( Σ 5 ) . (76) \frac{\sqrt{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}}{T^2}=\frac{\sqrt{\operatorname{Tr}\Sigma}}{N}\times\sqrt{\frac{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}{\operatorname{Tr}(\Sigma^5)}}. \tag*{(76)} T 2 Tr (( Σ + δ I ) 3 Σ 2 ) = N Tr Σ × Tr ( Σ 5 ) Tr (( Σ + δ I ) 3 Σ 2 ) . (76)
Expanding the binomial and inserting the value of δ \delta δ ,
Tr ( ( Σ + δ I ) 3 Σ 2 ) = ∑ j = 0 3 ( 3 j ) δ j Tr ( Σ 5 − j ) = ∑ j = 0 3 ( 3 j ) ( Tr Σ d N 2 ) j Tr ( Σ 5 − j ) . \operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)=\sum_{j=0}^{3}\binom{3}{j}\delta^j\operatorname{Tr}(\Sigma^{5-j})=\sum_{j=0}^{3}\binom{3}{j}\left(\frac{\operatorname{Tr}\Sigma}{dN^2}\right)^j\operatorname{Tr}(\Sigma^{5-j}). Tr (( Σ + δ I ) 3 Σ 2 ) = j = 0 ∑ 3 ( j 3 ) δ j Tr ( Σ 5 − j ) = j = 0 ∑ 3 ( j 3 ) ( d N 2 Tr Σ ) j Tr ( Σ 5 − j ) .
By Hölder’s inequality again, Tr ( Σ k ) ≤ d 1 − k / 5 Tr ( Σ 5 ) k / 5 \operatorname{Tr}(\Sigma^k) \le d^{1-k/5}\operatorname{Tr}(\Sigma^5)^{k/5} Tr ( Σ k ) ≤ d 1 − k /5 Tr ( Σ 5 ) k /5 for 1 ≤ k ≤ 5 1 \le k \le5 1 ≤ k ≤ 5 ; applied to k = 1 k = 1 k = 1 and k = 5 − j k = 5-j k = 5 − j , this gives ( Tr Σ / d ) j ≤ d − j / 5 Tr ( Σ 5 ) j / 5 (\operatorname{Tr}\Sigma/d)^j \le d^{-j/5}\operatorname{Tr}(\Sigma^5)^{j/5} ( Tr Σ/ d ) j ≤ d − j /5 Tr ( Σ 5 ) j /5 and Tr ( Σ 5 − j ) ≤ d j / 5 Tr ( Σ 5 ) 1 − j / 5 \operatorname{Tr}(\Sigma^{5-j}) \le d^{j/5}\operatorname{Tr}(\Sigma^5)^{1-j/5} Tr ( Σ 5 − j ) ≤ d j /5 Tr ( Σ 5 ) 1 − j /5 , so the powers of d d d cancel and
Tr ( ( Σ + δ I ) 3 Σ 2 ) ≤ ∑ j = 0 3 ( 3 j ) 1 N 2 j Tr ( Σ 5 ) = ( 1 + 1 N 2 ) 3 Tr ( Σ 5 ) . \operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2) \le\sum_{j=0}^{3} \binom{3}{j}\frac{1}{N^{2j}}\operatorname{Tr}(\Sigma^5) = \left(1+\frac{1}{N^2}\right)^3\operatorname{Tr}(\Sigma^5). Tr (( Σ + δ I ) 3 Σ 2 ) ≤ j = 0 ∑ 3 ( j 3 ) N 2 j 1 Tr ( Σ 5 ) = ( 1 + N 2 1 ) 3 Tr ( Σ 5 ) .
Returning to (76) ,
Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 ≤ ( 1 + 1 N 2 ) 3 / 2 Tr Σ N ≤ 8 Tr Σ N . \frac{\sqrt{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}}{T^2} \le\left(1+\frac{1}{N^2}\right)^{3/2}\frac{\sqrt{\operatorname{Tr}\Sigma}}{N} \le\sqrt{8}\frac{\sqrt{\operatorname{Tr}\Sigma}}{N}. T 2 Tr (( Σ + δ I ) 3 Σ 2 ) ≤ ( 1 + N 2 1 ) 3/2 N Tr Σ ≤ 8 N Tr Σ .
Discretization. On the one hand, Tr Σ + 4 d δ = ( 1 + 4 N − 2 ) Tr Σ \operatorname{Tr}\Sigma+4d\delta=(1+4N^{-2})\operatorname{Tr}\Sigma Tr Σ + 4 d δ = ( 1 + 4 N − 2 ) Tr Σ . On the other hand,
T δ = ( Tr ( Σ 5 ) Tr Σ ) 1 / 4 d N 5 / 2 Tr Σ ≤ d λ max Tr Σ N 5 / 2 = ρ N 5 / 2 , \frac{T}{\delta}=\left(\frac{\operatorname{Tr}(\Sigma^5)}{\operatorname{Tr}\Sigma}\right)^{1/4}\frac{dN^{5/2}}{\operatorname{Tr}\Sigma}\le\frac{d\lambda_{\max}}{\operatorname{Tr}\Sigma}N^{5/2}=\rho N^{5/2}, δ T = ( Tr Σ Tr ( Σ 5 ) ) 1/4 Tr Σ d N 5/2 ≤ Tr Σ d λ m a x N 5/2 = ρ N 5/2 ,
where we used Tr ( Σ 5 ) ≤ λ max 4 Tr Σ \operatorname{Tr}(\Sigma^5)\le\lambda_{\max}^4\operatorname{Tr}\Sigma Tr ( Σ 5 ) ≤ λ m a x 4 Tr Σ , and where ρ : = d λ max / Tr Σ ∈ [ 1 , d ] \rho:=d\lambda_{\max}/\operatorname{Tr}\Sigma\in[1,d] ρ := d λ m a x / Tr Σ ∈ [ 1 , d ] is the ratio between the largest eigenvalue of Σ \Sigma Σ and the arithmetic mean of its spectrum: the more anisotropic Σ \Sigma Σ , the larger ρ \rho ρ . Since x ↦ x 1 / N log x x\mapsto x^{1/N}\log x x ↦ x 1/ N log x is increasing on [ 1 , ∞ ) [1,\infty) [ 1 , ∞ ) and T / δ > 1 T/\delta>1 T / δ > 1 , the discretization term is at most
( 1 + 4 N − 2 ) 1 / 2 Tr Σ 4 N ( ρ N 5 / 2 ) 1 / N log ( ρ N 5 / 2 ) = 5 8 a N Tr Σ N ρ 1 / N log ( ρ 2 / 5 N ) , \frac{(1+4N^{-2})^{1/2}\sqrt{\operatorname{Tr}\Sigma}}{4N}(\rho N^{5/2})^{1/N}\log(\rho N^{5/2})=\frac{5}{8}a_N\frac{\sqrt{\operatorname{Tr}\Sigma}}{N}\rho^{1/N}\log(\rho^{2/5}N), 4 N ( 1 + 4 N − 2 ) 1/2 Tr Σ ( ρ N 5/2 ) 1/ N log ( ρ N 5/2 ) = 8 5 a N N Tr Σ ρ 1/ N log ( ρ 2/5 N ) ,
where we wrote log ( ρ N 5 / 2 ) = 5 2 log ( ρ 2 / 5 N ) \log(\rho N^{5/2})=\frac{5}{2}\log(\rho^{2/5}N) log ( ρ N 5/2 ) = 2 5 log ( ρ 2/5 N ) and a N : = ( 1 + 4 N − 2 ) 1 / 2 N 5 / ( 2 N ) a_N:=(1+4N^{-2})^{1/2}N^{5/(2N)} a N := ( 1 + 4 N − 2 ) 1/2 N 5/ ( 2 N ) as in the statement.
Early stopping. Immediately, d δ = Tr Σ / N \sqrt{d\delta}=\sqrt{\operatorname{Tr}\Sigma}/N d δ = Tr Σ / N .
Summing the three bounds in (75) gives the bound of Theorem 3,
W 2 ( P N , P ) ≤ Tr Σ N ( 5 8 a N ρ 1 / N log ( ρ 2 / 5 N ) + 1 + 8 ) . W_2(\mathbb{P}_N,\mathbb{P})\le\frac{\sqrt{\operatorname{Tr}\Sigma}}{N}\left(\frac{5}{8}a_N\rho^{1/N}\log(\rho^{2/5}N)+1+\sqrt{8}\right). W 2 ( P N , P ) ≤ N Tr Σ ( 8 5 a N ρ 1/ N log ( ρ 2/5 N ) + 1 + 8 ) .
Properties of ( a N ) (a_N) ( a N ) . Both factors of a N a_N a N tend to 1 1 1 , so a N → 1 a_N\to1 a N → 1 . Moreover, ( 1 + 4 N − 2 ) 1 / 2 (1+4N^{-2})^{1/2} ( 1 + 4 N − 2 ) 1/2 is decreasing in N N N , and N 1 / N N^{1/N} N 1/ N is decreasing for N ≥ 3 N\ge3 N ≥ 3 (as the study of x ↦ x 1 / x x\mapsto x^{1/x} x ↦ x 1/ x shows), so ( a N ) N ≥ 3 (a_N)_{N\ge3} ( a N ) N ≥ 3 is decreasing and
sup N ≥ 1 a N = max ( a 1 , a 2 , a 3 ) = max ( 5 , 2 × 2 5 / 4 , 1 3 13 × 3 5 / 6 ) = 2 7 / 4 . (77) \sup_{N\ge1}a_N=\max(a_1,a_2,a_3)=\max\left(\sqrt{5},\sqrt{2}\times2^{5/4},\frac{1}{3}\sqrt{13}\times3^{5/6}\right)=2^{7/4}. \tag*{(77)} N ≥ 1 sup a N = max ( a 1 , a 2 , a 3 ) = max ( 5 , 2 × 2 5/4 , 3 1 13 × 3 5/6 ) = 2 7/4 . (77)
In particular 5 8 a N ≤ 5 / 2 5 / 4 \frac{5}{8}a_N\le5/2^{5/4} 8 5 a N ≤ 5/ 2 5/4 , which yields a version of the bound with fixed numerical constants.
We now turn to Proposition 4 , which we restate for convenience.
Proposition 4. With the alternative choice T = λ max N T=\lambda_{\max}\sqrt{N} T = λ m a x N , early-stopping threshold δ = λ max / N 2 \delta=\lambda_{\max}/N^2 δ = λ m a x / N 2 , and geometric time discretization grid τ k = T ( δ / T ) k / N \tau_k=T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N for k ∈ { 0 , … , N } k\in\{0,\ldots,N\} k ∈ { 0 , … , N } , the diffusion algorithm (6) satisfies, for every N ≥ 1 N\ge1 N ≥ 1 ,
W 2 ( P N , P ) ≤ d λ max N ( 5 2 5 / 4 log N + ( 5 4 ) 3 / 2 + 1 ) . W_2(\mathbb{P}_N,\mathbb{P})\le\frac{\sqrt{d\lambda_{\max}}}{N}\left(\frac{5}{2^{5/4}}\log N+\left(\frac{5}{4}\right)^{3/2}+1\right). W 2 ( P N , P ) ≤ N d λ m a x ( 2 5/4 5 log N + ( 4 5 ) 3/2 + 1 ) .
Proof. Let N ≥ 1 N\ge1 N ≥ 1 and set T = λ max N T=\lambda_{\max}\sqrt{N} T = λ m a x N and δ = λ max / N 2 \delta=\lambda_{\max}/N^2 δ = λ m a x / N 2 as in the statement. The condition T > δ T>\delta T > δ of Proposition C.1 holds as soon as N ≥ 2 N\ge2 N ≥ 2 . For N = 1 N=1 N = 1 , we have T = δ T=\delta T = δ ; as in the proof of Theorem 3, the algorithm performs a single step of size η 1 = 0 \eta_1=0 η 1 = 0 , and P 1 = N ( 0 , λ max I ) \mathbb{P}_1=\mathcal{N}(0,\lambda_{\max}I) P 1 = N ( 0 , λ m a x I ) . Hence, W 2 ( P 1 , P ) ≤ d λ max W_2(\mathbb{P}_1,\mathbb{P})\le\sqrt{d\lambda_{\max}} W 2 ( P 1 , P ) ≤ d λ m a x and the bound of Proposition 4 holds. As before, this degenerate case only serves to state the proposition for all $N\ge1. From now on, we assume N ≥ 2 N \ge2 N ≥ 2 , so that T > δ T > \delta T > δ and Proposition C.1 applies:
W 2 ( P N , P ) ≤ Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 + Tr Σ + 4 d δ 4 N ( T δ ) 1 / N log T δ + d δ . (78) W_2(\mathbb{P}_N,\mathbb{P}) \le\frac{\sqrt{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}}{T^2}+\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{4N}\left(\frac{T}{\delta}\right)^{1/N}\log\frac{T}{\delta}+\sqrt{d\delta}. \tag*{(78)} W 2 ( P N , P ) ≤ T 2 Tr (( Σ + δ I ) 3 Σ 2 ) + 4 N Tr Σ + 4 d δ ( δ T ) 1/ N log δ T + d δ . (78)
We bound the three terms in turn.
Initialization. Bounding each eigenvalue λ i \lambda_i λ i by λ max \lambda_{\max} λ m a x , we have
Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 ≤ ( 1 + N − 2 ) 3 d λ max 5 λ max 2 N = ( 1 + N − 2 ) 3 / 2 d λ max N . \frac{\sqrt{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}}{T^2}\le\frac{\sqrt{(1+N^{-2})^3d\lambda_{\max}^5}}{\lambda_{\max}^2N}=(1+N^{-2})^{3/2}\frac{\sqrt{d\lambda_{\max}}}{N}. T 2 Tr (( Σ + δ I ) 3 Σ 2 ) ≤ λ m a x 2 N ( 1 + N − 2 ) 3 d λ m a x 5 = ( 1 + N − 2 ) 3/2 N d λ m a x .
Since N ≥ 2 N\ge2 N ≥ 2 , we get
Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 ≤ ( 5 4 ) 3 / 2 d λ max N . \frac{\sqrt{\operatorname{Tr}((\Sigma+\delta I)^3\Sigma^2)}}{T^2}\le\left(\frac{5}{4}\right)^{3/2}\frac{\sqrt{d\lambda_{\max}}}{N}. T 2 Tr (( Σ + δ I ) 3 Σ 2 ) ≤ ( 4 5 ) 3/2 N d λ m a x .
Discretization. Since T / δ = N 5 / 2 T/\delta=N^{5/2} T / δ = N 5/2 , using Tr Σ ≤ d λ max \operatorname{Tr}\Sigma\le d\lambda_{\max} Tr Σ ≤ d λ m a x gives
Tr Σ + 4 d δ 4 N ( T δ ) 1 / N log T δ ≤ d λ max ( 1 + 4 N − 2 ) 4 N N 5 / ( 2 N ) log ( N 5 / 2 ) = 5 8 ( 1 + 4 N − 2 ) 1 / 2 N 5 / ( 2 N ) d λ max log N N = 5 8 a N d λ max log N N ≤ 5 2 5 / 4 d λ max log N N , \begin{aligned}
\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{4N}\left(\frac{T}{\delta}\right)^{1/N}\log\frac{T}{\delta}\le\frac{\sqrt{d\lambda_{\max}(1+4N^{-2})}}{4N}N^{5/(2N)}\log(N^{5/2}) \\
&=\frac{5}{8}(1+4N^{-2})^{1/2}N^{5/(2N)}\sqrt{d\lambda_{\max}}\frac{\log N}{N} \\
&=\frac{5}{8}a_N\sqrt{d\lambda_{\max}}\frac{\log N}{N} \\
&\le\frac{5}{2^{5/4}}\sqrt{d\lambda_{\max}}\frac{\log N}{N},
\end{aligned} 4 N Tr Σ + 4 d δ ( δ T ) 1/ N log δ T ≤ 4 N d λ m a x ( 1 + 4 N − 2 ) N 5/ ( 2 N ) log ( N 5/2 ) = 8 5 ( 1 + 4 N − 2 ) 1/2 N 5/ ( 2 N ) d λ m a x N log N = 8 5 a N d λ m a x N log N ≤ 2 5/4 5 d λ m a x N log N ,
where the last inequality is (77) .
Early stopping. Immediately, d δ = d λ max / N \sqrt{d\delta}=\sqrt{d\lambda_{\max}}/N d δ = d λ m a x / N .
Summing the three bounds in (78) then yields the announced bound.
The equivalent (7), on which the asymptotic exactness claimed in Theorem 3 rests, is the object of the next section.
Asymptotic equivalent
We prove the following proposition, of which the asymptotic equivalent of Theorem 3 is a special case. It also covers the hyperparameters of Proposition 4 , namely A = B = λ max A=B=\lambda_{\max} A = B = λ m a x , so that the asymptotic equivalent (7) holds in that case as well.
Proposition C.7. Let A , B > 0 A,B>0 A , B > 0 be constants independent of N N N . With hyperparameters of the form
T = A N , δ = B N 2 , T=A\sqrt{N},\qquad\delta=\frac{B}{N^2}, T = A N , δ = N 2 B , and the geometric discretization τ k = T ( δ / T ) k / N \tau_k=T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N , the error of the diffusion algorithm satisfies
W 2 ( P N , P ) ∼ N → ∞ 5 8 Tr Σ log N N . W_2(\mathbb{P}_N,\mathbb{P})\mathop{\sim}_{N\to\infty}\frac{5}{8}\sqrt{\operatorname{Tr}\Sigma}\frac{\log N}{N}. W 2 ( P N , P ) ∼ N → ∞ 8 5 Tr Σ N log N .
Proof. Let T = A N T=A\sqrt{N} T = A N , δ = B N − 2 \delta=BN^{-2} δ = B N − 2 and τ k = T ( δ / T ) k / N \tau_k=T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N as in the statement, and take N N N large enough that T > δ T>\delta T > δ . By Lemma A.3 ,
W 2 2 ( P N , P ) = ∑ i = 1 d ( λ i ( N ) − λ i ) 2 = ∑ i = 1 d ( λ i ( N ) − λ i λ i ( N ) + λ i ) 2 , (79) W_2^2(\mathbb{P}_N,\mathbb{P})=\sum_{i=1}^{d}\left(\sqrt{\lambda_i^{(N)}}-\sqrt{\lambda_i}\right)^2=\sum_{i=1}^{d}\left(\frac{\lambda_i^{(N)}-\lambda_i}{\sqrt{\lambda_i^{(N)}}+\sqrt{\lambda_i}}\right)^2, \tag*{(79)} W 2 2 ( P N , P ) = i = 1 ∑ d ( λ i ( N ) − λ i ) 2 = i = 1 ∑ d λ i ( N ) + λ i λ i ( N ) − λ i 2 , (79)
so we need an equivalent of λ ( N ) − λ \lambda^{(N)}-\lambda λ ( N ) − λ , which we split as
λ ( N ) − λ = ( λ ( N ) − λ ~ ( N ) ) + ( λ ~ ( N ) − ( λ + δ ) ) + δ . \lambda^{(N)}-\lambda=\left(\lambda^{(N)}-\widetilde{\lambda}^{(N)}\right)+\left(\widetilde{\lambda}^{(N)}-(\lambda+\delta)\right)+\delta. λ ( N ) − λ = ( λ ( N ) − λ ( N ) ) + ( λ ( N ) − ( λ + δ ) ) + δ .
By (69) , the first term is − ( λ + δ λ + T ) 2 λ = O ( T − 2 ) = O ( N − 1 ) -\left(\frac{\lambda+\delta}{\lambda+T}\right)^2\lambda=O(T^{-2})=O(N^{-1}) − ( λ + T λ + δ ) 2 λ = O ( T − 2 ) = O ( N − 1 ) , and the third is δ = O ( N − 2 ) \delta=O(N^{-2}) δ = O ( N − 2 ) . Hence
λ ( N ) − λ = λ ~ ( N ) − ( λ + δ ) + O ( 1 N ) , (80) \lambda^{(N)}-\lambda=\widetilde{\lambda}^{(N)}-(\lambda+\delta)+O\left(\frac{1}{N}\right), \tag*{(80)} λ ( N ) − λ = λ ( N ) − ( λ + δ ) + O ( N 1 ) , (80)
and by (66) the remaining term is
λ ~ ( N ) − ( λ + δ ) = ( λ + δ ) 2 Δ . (81) \widetilde{\lambda}^{(N)}-(\lambda+\delta)=(\lambda+\delta)^2\Delta. \tag*{(81)} λ ( N ) − ( λ + δ ) = ( λ + δ ) 2 Δ. (81)
Everything thus reduces to an equivalent of the quadrature error Δ \Delta Δ , which we obtain by squeezing it between two quantities with the same asymptotics.
Upper bound. By (73) , since the integrand is positive,
Δ ≤ ( q − 1 − 1 ) ∫ δ T τ d τ ( λ + τ ) 3 ≤ ( q − 1 − 1 ) ∫ 0 ∞ τ d τ ( λ + τ ) 3 = ( q − 1 − 1 ) [ λ 2 ( λ + τ ) 2 − 1 λ + τ ] 0 ∞ = q − 1 − 1 2 λ , \begin{aligned}
\Delta\le(q^{-1}-1)\int_{\delta}^{T}\frac{\tau\,\mathrm{d}\tau}{(\lambda+\tau)^3}\le(q^{-1}-1)\int_{0}^{\infty}\frac{\tau\,\mathrm{d}\tau}{(\lambda+\tau)^3} \\
&=(q^{-1}-1)\left[\frac{\lambda}{2(\lambda+\tau)^2}-\frac{1}{\lambda+\tau}\right]_{0}^{\infty}=\frac{q^{-1}-1}{2\lambda},
\end{aligned} Δ ≤ ( q − 1 − 1 ) ∫ δ T ( λ + τ ) 3 τ d τ ≤ ( q − 1 − 1 ) ∫ 0 ∞ ( λ + τ ) 3 τ d τ = ( q − 1 − 1 ) [ 2 ( λ + τ ) 2 λ − λ + τ 1 ] 0 ∞ = 2 λ q − 1 − 1 ,
and, since 1 N log A N 5 / 2 B → 0 \frac{1}{N}\log\frac{AN^{5/2}}{B}\to0 N 1 log B A N 5/2 → 0 ,
q − 1 − 1 = ( A N 5 / 2 B ) 1 / N − 1 = exp ( 1 N log A N 5 / 2 B ) − 1 ∼ 1 N log A N 5 / 2 B ∼ 5 log N 2 N . (82) q^{-1}-1=\left(\frac{AN^{5/2}}{B}\right)^{1/N}-1=\exp\left(\frac{1}{N}\log\frac{AN^{5/2}}{B}\right)-1\sim\frac{1}{N}\log\frac{AN^{5/2}}{B}\sim\frac{5\log N}{2N}. \tag*{(82)} q − 1 − 1 = ( B A N 5/2 ) 1/ N − 1 = exp ( N 1 log B A N 5/2 ) − 1 ∼ N 1 log B A N 5/2 ∼ 2 N 5 log N . (82)
Lower bound. Since q ≤ 1 q\le1 q ≤ 1 and τ j = q τ j − 1 \tau_j=q\tau_{j-1} τ j = q τ j − 1 , for every j ≥ 1 j\ge1 j ≥ 1 ,
f ( τ j ) = q τ j − 1 λ + q τ j − 1 ≥ q τ j − 1 λ + τ j − 1 = q f ( τ j − 1 ) , f(\tau_j)=\frac{q\tau_{j-1}}{\lambda+q\tau_{j-1}}\ge\frac{q\tau_{j-1}}{\lambda+\tau_{j-1}}=qf(\tau_{j-1}), f ( τ j ) = λ + q τ j − 1 q τ j − 1 ≥ λ + τ j − 1 q τ j − 1 = q f ( τ j − 1 ) ,
where f : τ ↦ τ λ + τ f:\tau\mapsto\frac{\tau}{\lambda+\tau} f : τ ↦ λ + τ τ is the increasing function of Section C.2. Returning to (71) and using ( q − 1 − 1 ) q = 1 − q (q^{-1}-1)q=1-q ( q − 1 − 1 ) q = 1 − q ,
Δ ≥ ( 1 − q ) ∑ j = 1 N f ( τ j − 1 ) ( 1 λ + τ j − 1 λ + τ j − 1 ) = ( 1 − q ) ∑ j = 1 N f ( τ j − 1 ) ∫ τ j τ j − 1 d τ ( λ + τ ) 2 ≥ ( 1 − q ) ∑ j = 1 N ∫ τ j τ j − 1 f ( τ ) d τ ( λ + τ ) 2 = ( 1 − q ) ∫ δ T τ d τ ( λ + τ ) 3 , \begin{aligned}
\Delta\ge(1-q)\sum_{j=1}^{N}f(\tau_{j-1})\left(\frac{1}{\lambda+\tau_j}-\frac{1}{\lambda+\tau_{j-1}}\right)=(1-q)\sum_{j=1}^{N}f(\tau_{j-1})\int_{\tau_j}^{\tau_{j-1}}\frac{\mathrm{d}\tau}{(\lambda+\tau)^2} \\
&\ge(1-q)\sum_{j=1}^{N}\int_{\tau_j}^{\tau_{j-1}}\frac{f(\tau)\,\mathrm{d}\tau}{(\lambda+\tau)^2}=(1-q)\int_{\delta}^{T}\frac{\tau\,\mathrm{d}\tau}{(\lambda+\tau)^3},
\end{aligned} Δ ≥ ( 1 − q ) j = 1 ∑ N f ( τ j − 1 ) ( λ + τ j 1 − λ + τ j − 1 1 ) = ( 1 − q ) j = 1 ∑ N f ( τ j − 1 ) ∫ τ j τ j − 1 ( λ + τ ) 2 d τ ≥ ( 1 − q ) j = 1 ∑ N ∫ τ j τ j − 1 ( λ + τ ) 2 f ( τ ) d τ = ( 1 − q ) ∫ δ T ( λ + τ ) 3 τ d τ ,
the second inequality using f ( τ ) ≤ f ( τ j − 1 ) f(\tau)\le f(\tau_{j-1}) f ( τ ) ≤ f ( τ j − 1 ) on [ τ j , τ j − 1 ] [\tau_j,\tau_{j-1}] [ τ j , τ j − 1 ] . As δ → 0 \delta\to0 δ → 0 and T → ∞ T\to\infty T → ∞ , the integrability of τ ↦ τ ( λ + τ ) − 3 \tau\mapsto\tau(\lambda+\tau)^{-3} τ ↦ τ ( λ + τ ) − 3 gives
∫ δ T τ d τ ( λ + τ ) 3 ⟶ N → ∞ ∫ 0 ∞ τ d τ ( λ + τ ) 3 = 1 2 λ . \int_{\delta}^{T}\frac{\tau\,\mathrm{d}\tau}{(\lambda+\tau)^3}\mathrel{\longrightarrow}_{N\to\infty}\int_{0}^{\infty}\frac{\tau\,\mathrm{d}\tau}{(\lambda+\tau)^3}=\frac{1}{2\lambda}. ∫ δ T ( λ + τ ) 3 τ d τ ⟶ N → ∞ ∫ 0 ∞ ( λ + τ ) 3 τ d τ = 2 λ 1 .
while q → 1 q \to1 q → 1 and (82) give 1 − q = q ( q − 1 − 1 ) ∼ 5 2 log N N 1-q=q(q^{-1}-1)\sim\frac{5}{2}\frac{\log N}{N} 1 − q = q ( q − 1 − 1 ) ∼ 2 5 N l o g N .
Conclusion. We have shown
( 1 − q ) ∫ δ T τ d τ ( λ + τ ) 3 ≤ Δ ≤ q − 1 − 1 2 λ , hence Δ → N → ∞ 5 4 λ log N N . (1-q)\int_{\delta}^{T}\frac{\tau\,\mathrm{d}\tau}{(\lambda+\tau)^3}\leq\Delta\leq\frac{q^{-1}-1}{2\lambda},\qquad\text{hence}\quad\Delta\xrightarrow[N\to\infty]{}\frac{5}{4\lambda}\frac{\log N}{N}. ( 1 − q ) ∫ δ T ( λ + τ ) 3 τ d τ ≤ Δ ≤ 2 λ q − 1 − 1 , hence Δ N → ∞ 4 λ 5 N log N .
Plugging this into (81) and then (80) , and using δ → 0 \delta\to0 δ → 0 ,
λ ( N ) − λ ∼ λ ~ ( N ) − ( λ + δ ) ∼ 5 λ 4 log N N . \lambda^{(N)}-\lambda\sim\widetilde{\lambda}^{(N)}-(\lambda+\delta)\sim\frac{5\lambda}{4}\frac{\log N}{N}. λ ( N ) − λ ∼ λ ( N ) − ( λ + δ ) ∼ 4 5 λ N log N .
In particular λ ( N ) → λ \lambda^{(N)}\to\lambda λ ( N ) → λ , so the denominators in (79) tend to 2 λ 2\sqrt{\lambda} 2 λ and
W 2 2 ( P N , P ) ∼ ∑ i = 1 d ( λ i ( N ) − λ i ) 2 4 λ i ∼ ( 5 log N 8 N ) 2 ∑ i = 1 d λ i = ( 5 log N 8 N ) 2 Tr Σ , W_2^2(\mathsf{P}_N,\mathsf{P})\sim\sum_{i=1}^{d}\frac{(\lambda_i^{(N)}-\lambda_i)^2}{4\lambda_i}\sim\left(\frac{5\log N}{8N}\right)^2\sum_{i=1}^{d}\lambda_i=\left(\frac{5\log N}{8N}\right)^2\operatorname{Tr}\Sigma, W 2 2 ( P N , P ) ∼ i = 1 ∑ d 4 λ i ( λ i ( N ) − λ i ) 2 ∼ ( 8 N 5 log N ) 2 i = 1 ∑ d λ i = ( 8 N 5 log N ) 2 Tr Σ ,
which is the announced equivalent.
Proof of Theorem 3, asymptotic equivalent and exactness. The hyperparameters of Theorem 3 are of the form of Proposition C.7 with A = ( Tr ( Σ 5 ) / Tr Σ ) 1 / 4 A=(\operatorname{Tr}(\Sigma^5)/\operatorname{Tr}\Sigma)^{1/4} A = ( Tr ( Σ 5 ) / Tr Σ ) 1/4 and B = Tr Σ / d B=\operatorname{Tr}\Sigma/d B = Tr Σ/ d , which gives the equivalent (7). Dividing the non-asymptotic bound by 5 8 Tr Σ log N N \frac{5}{8}\sqrt{\operatorname{Tr}\Sigma}\frac{\log N}{N} 8 5 Tr Σ N l o g N , the ratio of the bound to the error is asymptotically
a N ρ 1 / N log ( ρ 2 / 5 N ) log N + 8 ( 1 + 8 ) 5 log N = a N ρ 1 / N ( 1 + 2 log ρ 5 log N ) + 8 ( 1 + 8 ) 5 log N → N → ∞ 1. a_N\rho^{1/N}\frac{\log(\rho^{2/5}N)}{\log N}+\frac{8(1+\sqrt{8})}{5\log N}=a_N\rho^{1/N}\left(1+\frac{2\log\rho}{5\log N}\right)+\frac{8(1+\sqrt{8})}{5\log N}\xrightarrow[N\to\infty]{}1. a N ρ 1/ N log N log ( ρ 2/5 N ) + 5 log N 8 ( 1 + 8 ) = a N ρ 1/ N ( 1 + 5 log N 2 log ρ ) + 5 log N 8 ( 1 + 8 ) N → ∞ 1.
for fixed Σ \Sigma Σ , since a N → 1 a_N\to1 a N → 1 , ρ 1 / N → 1 \rho^{1/N}\to1 ρ 1/ N → 1 and ρ \rho ρ does not depend on N N N . The bound is therefore asymptotically exact, which completes the proof of Theorem 3.
Proof of Corollary 5 (ε-complexity)
This section proves the following corollary, stated in § 2.3 .
Corollary 5 (ε \varepsilon ε -complexity). Let 0 < ε ≤ Tr Σ 0<\varepsilon\leq\sqrt{\operatorname{Tr}\Sigma} 0 < ε ≤ Tr Σ . In order for the sampling error to satisfy W 2 ( P N , P ) ≤ ε W_2(\mathsf{P}_N,\mathsf{P})\leq\varepsilon W 2 ( P N , P ) ≤ ε , it suffices
for ULA with η = min ( λ min , ε Tr ( Σ − 1 ) ) \eta=\min\left(\lambda_{\min},\frac{\varepsilon}{\sqrt{\operatorname{Tr}(\Sigma^{-1})}}\right) η = min ( λ m i n , Tr ( Σ − 1 ) ε ) , to take
N ≥ κ 2 max ( 1 , λ min Tr ( Σ − 1 ) ε ) log 8 Tr Σ ε . N\geq\frac{\kappa}{2}\max\left(1,\frac{\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{\varepsilon}\right)\log\frac{\sqrt{8\operatorname{Tr}\Sigma}}{\varepsilon}. N ≥ 2 κ max ( 1 , ε λ m i n Tr ( Σ − 1 ) ) log ε 8 Tr Σ .
for ULD with η = min ( λ min / 8 , 7 2 6 ε λ min Tr ( Σ − 1 ) ) \eta=\min\left(\sqrt{\lambda_{\min}/8},\frac{7\sqrt{2}}{6}\frac{\varepsilon}{\sqrt{\lambda_{\min}\operatorname{Tr}(\Sigma^{-1})}}\right) η = min ( λ m i n /8 , 6 7 2 λ m i n Tr ( Σ − 1 ) ε ) and γ = 8 / λ min \gamma=\sqrt{8/\lambda_{\min}} γ = 8/ λ m i n , to take
N ≥ 4 κ max ( 1 , 3 14 λ min Tr ( Σ − 1 ) ε ) log 16 Tr Σ ε . N\geq4\kappa\max\left(1,\frac{3}{14}\frac{\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{\varepsilon}\right)\log\frac{16\sqrt{\operatorname{Tr}\Sigma}}{\varepsilon}. N ≥ 4 κ max ( 1 , 14 3 ε λ m i n Tr ( Σ − 1 ) ) log ε 16 Tr Σ .
for the diffusion algorithm with δ = ε 2 / ( 9 d ) \delta= \varepsilon^2/(9d) δ = ε 2 / ( 9 d ) , T = 3 / ε Tr ( ( Σ + δ I ) 3 Σ 2 ) 1 / 4 T = \sqrt{3/\varepsilon}\operatorname{Tr}\left((\Sigma+\delta I)^3\Sigma^2\right)^{1/4} T = 3/ ε Tr ( ( Σ + δ I ) 3 Σ 2 ) 1/4 , and the geometric grid τ k = T ( δ / T ) k / N \tau_k = T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N , to take
N ≥ 3 e 4 Tr Σ + 4 ε 2 / 9 ε log T δ . N \ge\frac{3\mathrm{e}}{4}\frac{\sqrt{\operatorname{Tr}\Sigma+4\varepsilon^2/9}}{\varepsilon}\log\frac{T}{\delta}. N ≥ 4 3 e ε Tr Σ + 4 ε 2 /9 log δ T .
The three ε \varepsilon ε -complexities follow from the parametric bounds of Propositions B.1 , B.7 and C.1 respectively.
Proof. Let ε ≤ Tr Σ \varepsilon\le\sqrt{\operatorname{Tr}\Sigma} ε ≤ Tr Σ . In each case we choose the hyperparameters and the budget N N N so that the error terms are all at most a fixed fraction of ε \varepsilon ε .
ULA. By Proposition B.1 , for every 0 < η ≤ λ min 0 < \eta\le\lambda_{\min} 0 < η ≤ λ m i n and every N ≥ 0 N \ge0 N ≥ 0 ,
W 2 ( P N , P ) ≤ 2 Tr Σ e − 2 η N / λ max + 1 2 Tr ( Σ − 1 ) η . (83) W_2(\mathbb{P}_N,\mathbb{P}) \le\sqrt{2\operatorname{Tr}\Sigma}\mathrm{e}^{-2\eta N/\lambda_{\max}}+\frac{1}{2}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\eta. \tag*{(83)} W 2 ( P N , P ) ≤ 2 Tr Σ e − 2 η N / λ m a x + 2 1 Tr ( Σ − 1 ) η . (83)
and we make each term at most ε / 2 \varepsilon/2 ε /2 . For the discretization term,
1 2 Tr ( Σ − 1 ) η ≤ ε 2 ⟺ η ≤ ε Tr ( Σ − 1 ) . (84) \frac{1}{2}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\eta\le\frac{\varepsilon}{2}\quad\Longleftrightarrow\quad\eta\le\frac{\varepsilon}{\sqrt{\operatorname{Tr}(\Sigma^{-1})}}. \tag*{(84)} 2 1 Tr ( Σ − 1 ) η ≤ 2 ε ⟺ η ≤ Tr ( Σ − 1 ) ε . (84)
We take
η = min ( λ min , ε Tr ( Σ − 1 ) ) , (85) \eta= \min\left(\lambda_{\min},\frac{\varepsilon}{\sqrt{\operatorname{Tr}(\Sigma^{-1})}}\right), \tag*{(85)} η = min ( λ m i n , Tr ( Σ − 1 ) ε ) , (85)
which is admissible for Proposition B.1 and saturates (84) whenever possible: it is the largest admissible step-size, hence the one that makes the exponential factor decay fastest. For the early-stopping term,
2 Tr Σ e − 2 η N / λ max ≤ ε 2 ⟺ N ≥ λ max 2 η log 8 Tr Σ ε , \sqrt{2\operatorname{Tr}\Sigma}\mathrm{e}^{-2\eta N/\lambda_{\max}} \le\frac{\varepsilon}{2}\quad\Longleftrightarrow\quad N \ge\frac{\lambda_{\max}}{2\eta}\log\frac{\sqrt{8\operatorname{Tr}\Sigma}}{\varepsilon}, 2 Tr Σ e − 2 η N / λ m a x ≤ 2 ε ⟺ N ≥ 2 η λ m a x log ε 8 Tr Σ ,
and with (85) ,
λ max 2 η = λ max 2 max ( 1 λ min , Tr ( Σ − 1 ) ε ) = κ 2 max ( 1 , λ min Tr ( Σ − 1 ) ε ) . \frac{\lambda_{\max}}{2\eta}=\frac{\lambda_{\max}}{2}\max\left(\frac{1}{\lambda_{\min}},\frac{\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{\varepsilon}\right)=\frac{\kappa}{2}\max\left(1,\frac{\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{\varepsilon}\right). 2 η λ m a x = 2 λ m a x max ( λ m i n 1 , ε Tr ( Σ − 1 ) ) = 2 κ max ( 1 , ε λ m i n Tr ( Σ − 1 ) ) .
This is the announced condition
N ≥ κ 2 max ( 1 , λ min Tr ( Σ − 1 ) ε ) log 8 Tr Σ ε . N \ge\frac{\kappa}{2}\max\left(1,\frac{\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{\varepsilon}\right)\log\frac{\sqrt{8\operatorname{Tr}\Sigma}}{\varepsilon}. N ≥ 2 κ max ( 1 , ε λ m i n Tr ( Σ − 1 ) ) log ε 8 Tr Σ .
ULD. By the first bound of Proposition B.7 , for every γ ≥ 8 / λ min \gamma\ge\sqrt{8}/\lambda_{\min} γ ≥ 8 / λ m i n , every η ≤ 1 / γ \eta\le1/\gamma η ≤ 1/ γ and every N ≥ 0 N \ge0 N ≥ 0 ,
W 2 ( P N , P ) ≤ 8 Tr Σ e − 2 η N / ( λ max γ ) + 6 7 Tr ( Σ − 1 ) η γ . W_2(\mathbb{P}_N,\mathbb{P}) \le8\sqrt{\operatorname{Tr}\Sigma}\mathrm{e}^{-2\eta N/(\lambda_{\max}\gamma)}+\frac{6}{7}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\frac{\eta}{\gamma}. W 2 ( P N , P ) ≤ 8 Tr Σ e − 2 η N / ( λ m a x γ ) + 7 6 Tr ( Σ − 1 ) γ η .
This bound depends on ( η , γ ) (\eta,\gamma) ( η , γ ) only through ϕ : = η / γ \phi:= \eta/\gamma ϕ := η / γ , and the constraints translate into ϕ ≤ 1 / γ 2 ≤ λ min / 8 \phi\le1/\gamma^2 \le\lambda_{\min}/8 ϕ ≤ 1/ γ 2 ≤ λ m i n /8 ; conversely, every ϕ ∈ ( 0 , λ min / 8 ] \phi\in(0,\lambda_{\min}/8] ϕ ∈ ( 0 , λ m i n /8 ] is reached by an admissible pair, for instance γ = 8 / λ min \gamma=\sqrt{8/\lambda_{\min}} γ = 8/ λ m i n and η = ϕ γ \eta=\phi\gamma η = ϕ γ . We therefore work with the bound
W 2 ( P N , P ) ≤ 8 Tr Σ e − 2 ϕ N / λ max + 6 7 Tr ( Σ − 1 ) ϕ , ϕ ≤ λ min 8 . W_2(\mathbb{P}_N,\mathbb{P}) \le8\sqrt{\operatorname{Tr}\Sigma}\mathrm{e}^{-2\phi N/\lambda_{\max}}+\frac{6}{7}\sqrt{\operatorname{Tr}(\Sigma^{-1})}\phi,\quad\phi\le\frac{\lambda_{\min}}{8}. W 2 ( P N , P ) ≤ 8 Tr Σ e − 2 ϕN / λ m a x + 7 6 Tr ( Σ − 1 ) ϕ , ϕ ≤ 8 λ m i n .
Up to some numerical constants, this bound has the same form as in (83) . We proceed as before and obtain the condition of Corollary 5 , namely
N ≥ 4 κ max ( 1 , 3 14 λ min Tr ( Σ − 1 ) ε ) log 16 Tr Σ ε , N \ge4\kappa\max\left(1,\frac{3}{14}\frac{\lambda_{\min}\sqrt{\operatorname{Tr}(\Sigma^{-1})}}{\varepsilon}\right)\log\frac{16\sqrt{\operatorname{Tr}\Sigma}}{\varepsilon}, N ≥ 4 κ max ( 1 , 14 3 ε λ m i n Tr ( Σ − 1 ) ) log ε 16 Tr Σ ,
with
η = min ( λ min 8 , 7 2 6 ε λ min Tr ( Σ − 1 ) ) , γ = 8 λ min . \eta=\min\left(\sqrt{\frac{\lambda_{\min}}{8}},\frac{7\sqrt{2}}{6}\frac{\varepsilon}{\sqrt{\lambda_{\min}\operatorname{Tr}(\Sigma^{-1})}}\right),\qquad\gamma=\sqrt{\frac{8}{\lambda_{\min}}}. η = min ( 8 λ m i n , 6 7 2 λ m i n Tr ( Σ − 1 ) ε ) , γ = λ m i n 8 .
Diffusion. We show the more general statement of Remark 6, namely that, with
δ = ε 2 9 d , T = 3 ε Tr ( ( Σ + δ I ) 3 Σ 2 ) 1 / 4 , \delta=\frac{\varepsilon^2}{9d},\qquad T=\sqrt{\frac{3}{\varepsilon}}\operatorname{Tr}\left((\Sigma+\delta I)^3\Sigma^2\right)^{1/4}, δ = 9 d ε 2 , T = ε 3 Tr ( ( Σ + δ I ) 3 Σ 2 ) 1/4 ,
and the geometric grid τ k = T ( δ / T ) k / N \tau_k=T(\delta/T)^{k/N} τ k = T ( δ / T ) k / N , an error ε \varepsilon ε is achieved by taking, for any r ≥ 1 r\ge1 r ≥ 1 ,
N ≥ r max ( 1 , 3 e 1 / r 4 r Tr Σ + 4 ε 2 / 9 ε ) log T δ . N\ge r\max\left(1,\frac{3e^{1/r}}{4r}\frac{\sqrt{\operatorname{Tr}\Sigma+4\varepsilon^2/9}}{\varepsilon}\right)\log\frac{T}{\delta}. N ≥ r max ( 1 , 4 r 3 e 1/ r ε Tr Σ + 4 ε 2 /9 ) log δ T .
By Proposition C.1, for every N ≥ 1 N\ge1 N ≥ 1 and every T > δ > 0 T>\delta>0 T > δ > 0 ,
W 2 ( P N , P ) ≤ Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 + Tr Σ + 4 d δ 4 N ( T δ ) 1 / N log T δ + d δ , W_2(P_N,P)\le\frac{\sqrt{\operatorname{Tr}\left((\Sigma+\delta I)^3\Sigma^2\right)}}{T^2}+\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{4N}\left(\frac{T}{\delta}\right)^{1/N}\log\frac{T}{\delta}+\sqrt{d\delta}, W 2 ( P N , P ) ≤ T 2 Tr ( ( Σ + δ I ) 3 Σ 2 ) + 4 N Tr Σ + 4 d δ ( δ T ) 1/ N log δ T + d δ ,
and we make each of the three terms at most ε / 3 \varepsilon/3 ε /3 .
Early stopping. We have
d δ ≤ ε 3 ⟺ δ ≤ ε 2 9 d . \sqrt{d\delta}\le\frac{\varepsilon}{3}\Longleftrightarrow\delta\le\frac{\varepsilon^2}{9d}. d δ ≤ 3 ε ⟺ δ ≤ 9 d ε 2 .
We saturate this constraint by taking
δ = ε 2 9 d . (86) \delta=\frac{\varepsilon^2}{9d}. \tag*{(86)} δ = 9 d ε 2 . (86)
Initialization. We have
Tr ( ( Σ + δ I ) 3 Σ 2 ) T 2 ≤ ε 3 ⟺ T ≥ 3 ε Tr ( ( Σ + δ I ) 3 Σ 2 ) 1 / 4 , \frac{\sqrt{\operatorname{Tr}\left((\Sigma+\delta I)^3\Sigma^2\right)}}{T^2}\le\frac{\varepsilon}{3}\Longleftrightarrow T\ge\sqrt{\frac{3}{\varepsilon}}\operatorname{Tr}\left((\Sigma+\delta I)^3\Sigma^2\right)^{1/4}, T 2 Tr ( ( Σ + δ I ) 3 Σ 2 ) ≤ 3 ε ⟺ T ≥ ε 3 Tr ( ( Σ + δ I ) 3 Σ 2 ) 1/4 ,
so we take
T = 3 ε Tr ( ( Σ + δ I ) 3 Σ 2 ) 1 / 4 . (87) T=\sqrt{\frac{3}{\varepsilon}}\operatorname{Tr}\left((\Sigma+\delta I)^3\Sigma^2\right)^{1/4}. \tag*{(87)} T = ε 3 Tr ( ( Σ + δ I ) 3 Σ 2 ) 1/4 . (87)
This choice is compatible with the constraint T > δ T>\delta T > δ . Indeed, with (86) and (87) ,
T δ = ( 3 ε ) 5 / 2 d Tr ( ( Σ + δ I ) 3 Σ 2 ) 1 / 4 > ( 3 ε ) 5 / 2 d Tr ( Σ 5 ) 1 / 4 . (88) \frac{T}{\delta}=\left(\frac{3}{\varepsilon}\right)^{5/2}d\operatorname{Tr}\left((\Sigma+\delta I)^3\Sigma^2\right)^{1/4}>\left(\frac{3}{\varepsilon}\right)^{5/2}d\operatorname{Tr}(\Sigma^5)^{1/4}. \tag*{(88)} δ T = ( ε 3 ) 5/2 d Tr ( ( Σ + δ I ) 3 Σ 2 ) 1/4 > ( ε 3 ) 5/2 d Tr ( Σ 5 ) 1/4 . (88)
But, by Hölder’s inequality, Tr ( Σ 5 ) ≥ ( Tr Σ ) 5 / d 4 \operatorname{Tr}(\Sigma^5)\ge(\operatorname{Tr}\Sigma)^5/d^4 Tr ( Σ 5 ) ≥ ( Tr Σ ) 5 / d 4 , so (88) yields
T δ ≥ 3 5 / 2 ( Tr Σ ε 2 ) 5 / 4 > 1. (89) \frac{T}{\delta}\ge3^{5/2}\left(\frac{\operatorname{Tr}\Sigma}{\varepsilon^2}\right)^{5/4}>1. \tag*{(89)} δ T ≥ 3 5/2 ( ε 2 Tr Σ ) 5/4 > 1. (89)
since we assumed ε ≤ Tr Σ \varepsilon\le\sqrt{\operatorname{Tr}\Sigma} ε ≤ Tr Σ .
Discretization. It remains to ensure
E : = Tr Σ + 4 d δ 4 N ( T δ ) 1 / N log T δ ≤ ε 3 . E := \frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{4N}\left(\frac{T}{\delta}\right)^{1/N}\log\frac{T}{\delta}\le\frac{\varepsilon}{3}. E := 4 N Tr Σ + 4 d δ ( δ T ) 1/ N log δ T ≤ 3 ε .
The factor ( T / δ ) 1 / N (T/\delta)^{1/N} ( T / δ ) 1/ N is what prevents solving E ≤ ε / 3 E\le\varepsilon/3 E ≤ ε /3 in closed form; but it tends to 1 1 1 as N N N grows, and it is under control as soon as N N N exceeds a few multiples of log ( T / δ ) \log(T/\delta) log ( T / δ ) . Precisely, for any r ≥ 1 r\ge1 r ≥ 1 ,
( T δ ) 1 / N ≤ e 1 / r ⟺ N ≥ r log T δ . (90) \left(\frac{T}{\delta}\right)^{1/N}\le e^{1/r}\Longleftrightarrow N\ge r\log\frac{T}{\delta}. \tag*{(90)} ( δ T ) 1/ N ≤ e 1/ r ⟺ N ≥ r log δ T . (90)
Under (90) for a given r ≥ 1 r\ge1 r ≥ 1 ,
E ≤ e 1 / r 4 Tr Σ + 4 d δ N log T δ , E\le\frac{e^{1/r}}{4}\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{N}\log\frac{T}{\delta}, E ≤ 4 e 1/ r N Tr Σ + 4 d δ log δ T ,
and
e 1 / r 4 Tr Σ + 4 d δ N log T δ ≤ ε 3 ⟺ N ≥ 3 e 1 / r 4 Tr Σ + 4 d δ ε log T δ . \frac{e^{1/r}}{4}\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{N}\log\frac{T}{\delta}\le\frac{\varepsilon}{3}\Longleftrightarrow N\ge\frac{3e^{1/r}}{4}\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{\varepsilon}\log\frac{T}{\delta}. 4 e 1/ r N Tr Σ + 4 d δ log δ T ≤ 3 ε ⟺ N ≥ 4 3 e 1/ r ε Tr Σ + 4 d δ log δ T .
Both requirements are met as soon as
N ≥ max ( r log T δ , 3 e 1 / r 4 Tr Σ + 4 d δ ε log T δ ) = r max ( 1 , 3 e 1 / r 4 r Tr Σ + 4 ε 2 / 9 ε ) log T δ . (91) N\ge\max\left(r\log\frac{T}{\delta},\frac{3e^{1/r}}{4}\frac{\sqrt{\operatorname{Tr}\Sigma+4d\delta}}{\varepsilon}\log\frac{T}{\delta}\right)
=r\max\left(1,\frac{3e^{1/r}}{4r}\frac{\sqrt{\operatorname{Tr}\Sigma+4\varepsilon^2/9}}{\varepsilon}\right)\log\frac{T}{\delta}. \tag*{(91)} N ≥ max ( r log δ T , 4 3 e 1/ r ε Tr Σ + 4 d δ log δ T ) = r max ( 1 , 4 r 3 e 1/ r ε Tr Σ + 4 ε 2 /9 ) log δ T . (91)
which is the budget of Remark 6. The parameter r r r tunes a trade-off: a larger r r r brings the constant 3 e 1 / r / 4 3e^{1/r}/4 3 e 1/ r /4 down towards 3 / 4 3/4 3/4 , at the price of a higher floor r log ( T / δ ) r\log(T/\delta) r log ( T / δ ) .
Taking r = 1 r=1 r = 1 , since Tr Σ + 4 ε 2 / 9 ≥ 2 3 ε \sqrt{\operatorname{Tr}\Sigma+4\varepsilon^2/9}\ge\frac{2}{3}\varepsilon Tr Σ + 4 ε 2 /9 ≥ 3 2 ε , the second argument of the maximum in (91) is at least 3 e 4 × 2 3 = e 2 > 1 \frac{3e}{4}\times\frac{2}{3}=\frac{e}{2}>1 4 3 e × 3 2 = 2 e > 1 . The maximum is therefore always attained by the second argument, and (91) reduces to
N ≥ 3 e 4 Tr Σ + 4 ε 2 / 9 ε log T δ , (92) N\ge\frac{3e}{4}\frac{\sqrt{\operatorname{Tr}\Sigma+4\varepsilon^2/9}}{\varepsilon}\log\frac{T}{\delta}, \tag*{(92)} N ≥ 4 3 e ε Tr Σ + 4 ε 2 /9 log δ T , (92)
the budget of Corollary 5.
Since log ( 3 5 / 2 ( 10 / 9 ) 3 / 4 ) ≈ 2.83 < 3 \log\left(3^{5/2}(10/9)^{3/4}\right)\approx2.83<3 log ( 3 5/2 ( 10/9 ) 3/4 ) ≈ 2.83 < 3 , we finally obtain
5 2 log 3 Tr Σ ε ≤ log T δ ≤ 5 2 log Tr Σ ε + log ρ + 3. (93) \frac{5}{2}\log\frac{3\sqrt{\operatorname{Tr}\Sigma}}{\varepsilon}\leq\log\frac{T}{\delta}\leq\frac{5}{2}\log\frac{\sqrt{\operatorname{Tr}\Sigma}}{\varepsilon}+\log\rho+3. \tag*{(93)} 2 5 log ε 3 Tr Σ ≤ log δ T ≤ 2 5 log ε Tr Σ + log ρ + 3. (93)
In particular, log ( T / δ ) = Θ ( log ( Tr Σ / ε ) ) \log(T/\delta)=\Theta(\log(\sqrt{\operatorname{Tr}\Sigma}/\varepsilon)) log ( T / δ ) = Θ ( log ( Tr Σ / ε )) for fixed Σ \Sigma Σ . Combined with Tr Σ + 4 ε 2 / 9 ≤ 13 3 Tr Σ \sqrt{\operatorname{Tr}\Sigma+4\varepsilon^2/9}\leq\frac{\sqrt{13}}{3}\sqrt{\operatorname{Tr}\Sigma} Tr Σ + 4 ε 2 /9 ≤ 3 13 Tr Σ , equation (92) and the upper bound in (93) lead to the fully explicit budget condition
N ≥ 13 ε 4 Tr Σ ε ( 5 2 log Tr Σ ε + log ρ + 3 ) , N\geq\frac{\sqrt{13\varepsilon}}{4}\frac{\sqrt{\operatorname{Tr}\Sigma}}{\varepsilon}\left(\frac{5}{2}\log\frac{\sqrt{\operatorname{Tr}\Sigma}}{\varepsilon}+\log\rho+3\right), N ≥ 4 13 ε ε Tr Σ ( 2 5 log ε Tr Σ + log ρ + 3 ) ,
of order O ~ ( Tr Σ / ε ) \widetilde{O}(\sqrt{\operatorname{Tr}\Sigma}/\varepsilon) O ( Tr Σ / ε ) with no dependence on κ \kappa κ .
Proof of Theorem 7 (score learning)
This section proves the following theorem, stated in § 3 .
Theorem 7 (Score learning). Consider gradient descent initialized at A 0 = 0 A_0=0 A 0 = 0 , with step-size α > 0 \alpha>0 α > 0 , on both L L L and L σ L_\sigma L σ . Let K ≥ 1 K\geq1 K ≥ 1 .
A K − 1 = Σ ^ + 1 K α Π Ker Σ ^ + O ( ρ 1 K ) , A_K^{-1}=\widehat{\Sigma}+\frac{1}{K\alpha}\Pi_{\operatorname{Ker}\widehat{\Sigma}}+O(\rho_1^K), A K − 1 = Σ + K α 1 Π Ker Σ + O ( ρ 1 K ) , with ρ 1 = max ( ∣ 1 − α λ ^ min + ∣ , ∣ 1 − α λ ^ max ∣ ) < 1 \rho_1=\max\left(\left|1-\alpha\widehat{\lambda}_{\min}^{+}\right|,\left|1-\alpha\widehat{\lambda}_{\max}\right|\right)<1 ρ 1 = max ( 1 − α λ m i n + , 1 − α λ m a x ) < 1 .
( A K σ ) − 1 = Σ ^ + σ 2 I + O ( ρ 2 K ) , (A_K^\sigma)^{-1}=\widehat{\Sigma}+\sigma^2 I+O(\rho_2^K), ( A K σ ) − 1 = Σ + σ 2 I + O ( ρ 2 K ) , with ρ 2 = max ( ∣ 1 − α ( λ ^ min + σ 2 ) ∣ , ∣ 1 − α ( λ ^ max + σ 2 ) ∣ ) < 1 \rho_2=\max\left(\left|1-\alpha(\widehat{\lambda}_{\min}+\sigma^2)\right|,\left|1-\alpha(\widehat{\lambda}_{\max}+\sigma^2)\right|\right)<1 ρ 2 = max ( 1 − α ( λ m i n + σ 2 ) , 1 − α ( λ m a x + σ 2 ) ) < 1 .
The proof is a direct computation: we first write both losses in closed form and derive their gradients, then compute the iterates A K A_K A K and A K σ A_K^\sigma A K σ explicitly, and finally invert these expressions.
Losses and gradients
We treat the two losses simultaneously by introducing, for t ≥ 0 t\geq0 t ≥ 0 ,
L ( t ) ( A ) = 1 m ∑ i = 1 m E ω [ ∇ ⋅ s A ( x i + ω ) + 1 2 ∥ s A ( x i + ω ) ∥ 2 ] , L^{(t)}(A)=\frac{1}{m}\sum_{i=1}^{m}\mathbb{E}_{\omega}\left[\nabla\cdot s_A(x_i+\omega)+\frac{1}{2}\|s_A(x_i+\omega)\|^2\right], L ( t ) ( A ) = m 1 i = 1 ∑ m E ω [ ∇ ⋅ s A ( x i + ω ) + 2 1 ∥ s A ( x i + ω ) ∥ 2 ] ,
with ω ∼ N ( 0 , t I ) \omega\sim\mathcal{N}(0,tI) ω ∼ N ( 0 , t I ) . Hence, L = L ( 0 ) L=L^{(0)} L = L ( 0 ) and L σ = L ( σ 2 ) L_\sigma=L^{(\sigma^2)} L σ = L ( σ 2 ) . We first compute the losses and their gradients:
Lemma E.1. For all t ≥ 0 t\geq0 t ≥ 0 and A ∈ R d × d A\in\mathbb{R}^{d\times d} A ∈ R d × d , we have
L ( t ) ( A ) = 1 2 Tr ( A Σ ^ A ⊤ ) − Tr A + t 2 ∥ A ∥ F 2 , L^{(t)}(A)=\frac{1}{2}\operatorname{Tr}(A\widehat{\Sigma}A^\top)-\operatorname{Tr}A+\frac{t}{2}\|A\|_F^2, L ( t ) ( A ) = 2 1 Tr ( A Σ A ⊤ ) − Tr A + 2 t ∥ A ∥ F 2 , with gradient
∇ L ( t ) ( A ) = A ( Σ ^ + t I ) − I . \nabla L^{(t)}(A)=A(\widehat{\Sigma}+tI)-I. ∇ L ( t ) ( A ) = A ( Σ + t I ) − I .
Proof. Fix t ≥ 0 t \ge0 t ≥ 0 , A ∈ R d × d A \in\mathbb{R}^{d \times d} A ∈ R d × d . For any x ∈ R d x \in\mathbb{R}^d x ∈ R d , we have s A ( x ) = − A x s_A(x)=-Ax s A ( x ) = − A x , hence
L ( t ) ( A ) = 1 m ∑ i = 1 m E ω [ − Tr A + 1 2 ∥ A ( x i + ω ) ∥ 2 ] = − Tr A + 1 2 m ∑ i = 1 m E ω [ ∥ A x i ∥ 2 + 2 x i T A T A ω + ∥ A ω ∥ 2 ] = − Tr A + 1 2 E ω [ ω T A T A ω ] + 1 2 m ∑ i = 1 m Tr ( A x i x i T A T ) + 1 m ( ∑ i = 1 m x i T A T A ) E ω = − Tr A + 1 2 Tr ( t I A A T ) + 1 2 Tr ( A Σ ^ A T ) = 1 2 Tr ( A Σ ^ A T ) − Tr A + t 2 ∥ A ∥ F 2 . \begin{aligned}
L^{(t)}(A)=\frac{1}{m}\sum_{i=1}^{m}\mathbb{E}_{\omega}\left[-\operatorname{Tr} A+\frac{1}{2}\left\|A(x_i+\omega)\right\|^2\right] \\
&=-\operatorname{Tr} A+\frac{1}{2m}\sum_{i=1}^{m}\mathbb{E}_{\omega}\left[\left\|Ax_i\right\|^2+2x_i^{\mathsf{T}}A^{\mathsf{T}}A\omega+\left\|A\omega\right\|^2\right] \\
&=-\operatorname{Tr} A+\frac{1}{2}\mathbb{E}_{\omega}\left[\omega^{\mathsf{T}}A^{\mathsf{T}}A\omega\right]+\frac{1}{2m}\sum_{i=1}^{m}\operatorname{Tr}\left(Ax_i x_i^{\mathsf{T}}A^{\mathsf{T}}\right)+\frac{1}{m}\left(\sum_{i=1}^{m}x_i^{\mathsf{T}}A^{\mathsf{T}}A\right)\mathbb{E}_{\omega} \\
&=-\operatorname{Tr} A+\frac{1}{2}\operatorname{Tr}\left(tI AA^{\mathsf{T}}\right)+\frac{1}{2}\operatorname{Tr}\left(A\widehat{\Sigma}A^{\mathsf{T}}\right) \\
&=\frac{1}{2}\operatorname{Tr}\left(A\widehat{\Sigma}A^{\mathsf{T}}\right)-\operatorname{Tr} A+\frac{t}{2}\left\|A\right\|_F^2.
\end{aligned} L ( t ) ( A ) = m 1 i = 1 ∑ m E ω [ − Tr A + 2 1 ∥ A ( x i + ω ) ∥ 2 ] = − Tr A + 2 m 1 i = 1 ∑ m E ω [ ∥ A x i ∥ 2 + 2 x i T A T A ω + ∥ A ω ∥ 2 ] = − Tr A + 2 1 E ω [ ω T A T A ω ] + 2 m 1 i = 1 ∑ m Tr ( A x i x i T A T ) + m 1 ( i = 1 ∑ m x i T A T A ) E ω = − Tr A + 2 1 Tr ( t I A A T ) + 2 1 Tr ( A Σ A T ) = 2 1 Tr ( A Σ A T ) − Tr A + 2 t ∥ A ∥ F 2 .
Denoting
f : A ↦ 1 2 Tr ( A Σ ^ A T ) , g : A ↦ − Tr A , h : A ↦ 1 2 ∥ A ∥ F 2 , f:A\mapsto\frac{1}{2}\operatorname{Tr}\left(A\widehat{\Sigma}A^{\mathsf{T}}\right),\qquad g:A\mapsto-\operatorname{Tr} A,\qquad h:A\mapsto\frac{1}{2}\left\|A\right\|_F^2, f : A ↦ 2 1 Tr ( A Σ A T ) , g : A ↦ − Tr A , h : A ↦ 2 1 ∥ A ∥ F 2 ,
we compute, using the symmetry of Σ ^ \widehat{\Sigma} Σ ,
∇ f ( A ) = A Σ ^ , ∇ g ( A ) = − I , ∇ h ( A ) = A . \nabla f(A)=A\widehat{\Sigma},\qquad\nabla g(A)=-I,\qquad\nabla h(A)=A. ∇ f ( A ) = A Σ , ∇ g ( A ) = − I , ∇ h ( A ) = A .
The gradient of L ( t ) L^{(t)} L ( t ) then follows:
∇ L ( t ) ( A ) = A ( Σ ^ + t I ) − I . \nabla L^{(t)}(A)=A(\widehat{\Sigma}+tI)-I. ∇ L ( t ) ( A ) = A ( Σ + t I ) − I .
Note that in particular, we retrieve the fact that
∀ A , L σ ( A ) = L ( A ) + σ 2 2 ∥ A ∥ F 2 , \forall A,\qquad L_{\sigma}(A)=L(A)+\frac{\sigma^2}{2}\left\|A\right\|_F^2, ∀ A , L σ ( A ) = L ( A ) + 2 σ 2 ∥ A ∥ F 2 ,
so the loss L σ L_{\sigma} L σ is indeed a ridge-type regularization of L L L , as claimed in § 3 .
Closed form of the iterates
Let Σ ^ t = Σ ^ + t I \widehat{\Sigma}_t=\widehat{\Sigma}+tI Σ t = Σ + t I and denote by ( λ ^ i ) 1 ≤ i ≤ d (\widehat{\lambda}_i)_{1\le i\le d} ( λ i ) 1 ≤ i ≤ d the eigenvalues of Σ ^ \widehat{\Sigma} Σ , with an orthonormal eigenbasis ( u i ) (u_i) ( u i ) ; Σ ^ t \widehat{\Sigma}_t Σ t has eigenvalues λ ^ i + t \widehat{\lambda}_i+t λ i + t in the same basis. Moreover, denote by Σ ^ + \widehat{\Sigma}^{+} Σ + the Moore–Penrose inverse of Σ ^ \widehat{\Sigma} Σ , i.e., the matrix defined by
Σ ^ + = ∑ i = 1 λ ^ i ≠ 0 d 1 λ ^ i u i u i T . \widehat{\Sigma}^{+}=\sum_{\substack{i=1\\\widehat{\lambda}_i\ne0}}^{d}\frac{1}{\widehat{\lambda}_i}u_i u_i^{\mathsf{T}}. Σ + = i = 1 λ i = 0 ∑ d λ i 1 u i u i T .
Proposition E.2. Let α > 0 \alpha>0 α > 0 be the gradient step-size. For every K ≥ 0 K\ge0 K ≥ 0 , the iterate of gradient descent on L ( t ) L^{(t)} L ( t ) is
A K ( t ) = α ∑ j = 0 K − 1 ( I − α Σ ^ t ) j = ∑ i = 1 d ψ K ( λ ^ i + t ) u i u i T , A_K^{(t)}=\alpha\sum_{j=0}^{K-1}(I-\alpha\widehat{\Sigma}_t)^j=\sum_{i=1}^{d}\psi_K(\widehat{\lambda}_i+t)u_i u_i^{\mathsf{T}}, A K ( t ) = α j = 0 ∑ K − 1 ( I − α Σ t ) j = i = 1 ∑ d ψ K ( λ i + t ) u i u i T ,
with
ψ K : x ↦ { 1 − ( 1 − α x ) K x if x ≠ 0 , K α otherwise. \psi_K:x\mapsto
\begin{cases}
\frac{1-(1-\alpha x)^K}{x} & \text{if } x\ne0,\\
K\alpha& \text{otherwise.}
\end{cases} ψ K : x ↦ { x 1 − ( 1 − α x ) K K α if x = 0 , otherwise.
Hence, for t > 0 t>0 t > 0 we have
A K ( t ) = Σ ^ t − 1 ( I − ( I − α Σ ^ t ) K ) , (94) A_K^{(t)}=\widehat{\Sigma}_t^{-1}\left(I-\left(I-\alpha\widehat{\Sigma}_t\right)^K\right), \tag*{(94)} A K ( t ) = Σ t − 1 ( I − ( I − α Σ t ) K ) , (94)
while
A K ( 0 ) = Σ ^ + ( I − ( I − α Σ ^ ) K ) + K α Π Ker Σ ^ , (95) A_K^{(0)}=\widehat{\Sigma}^{+}\left(I-\left(I-\alpha\widehat{\Sigma}\right)^K\right)+K\alpha\Pi_{\operatorname{Ker}\widehat{\Sigma}}, \tag*{(95)} A K ( 0 ) = Σ + ( I − ( I − α Σ ) K ) + K α Π Ker Σ , (95)
with Σ ^ + = Σ ^ − 1 \widehat{\Sigma}^{+}=\widehat{\Sigma}^{-1} Σ + = Σ − 1 and Π Ker Σ ^ = 0 \Pi_{\operatorname{Ker}\widehat{\Sigma}}=0 Π Ker Σ = 0 when Σ ^ \widehat{\Sigma} Σ is invertible.
Proof. Let K ≥ 0 K\ge0 K ≥ 0 . The process ( A j ( t ) ) 0 ≤ j ≤ K \left(A_j^{(t)}\right)_{0\le j\le K} ( A j ( t ) ) 0 ≤ j ≤ K is defined by the gradient descent on the loss L ( t ) \mathcal{L}^{(t)} L ( t ) with step-size α \alpha α , initialized at A 0 ( t ) = 0 A_0^{(t)}=0 A 0 ( t ) = 0 :
{ ∀ j , A j + 1 ( t ) = A j ( t ) − α ∇ L ( t ) ( A j ( t ) ) , A 0 ( t ) = 0. \begin{cases}
\forall j,\quad A_{j+1}^{(t)}=A_j^{(t)}-\alpha\nabla\mathcal{L}^{(t)}\left(A_j^{(t)}\right),\\
A_0^{(t)}=0.
\end{cases} { ∀ j , A j + 1 ( t ) = A j ( t ) − α ∇ L ( t ) ( A j ( t ) ) , A 0 ( t ) = 0.
Therefore, by Lemma E.1 , we have
∀ j , A j + 1 ( t ) = A j ( t ) ( I − α Σ ^ t ) + α I , \forall j,\quad A_{j+1}^{(t)}=A_j^{(t)}\left(I-\alpha\widehat{\Sigma}_t\right)+\alpha I, ∀ j , A j + 1 ( t ) = A j ( t ) ( I − α Σ t ) + α I ,
thus
A K ( t ) = α ∑ j = 0 K − 1 ( I − α Σ ^ t ) j = ∑ i = 1 d ( α ∑ j = 0 K − 1 ( 1 − α ( λ ^ i + t ) ) j u i u i T ) . \begin{aligned}
A_K^{(t)}=\alpha\sum_{j=0}^{K-1}\left(I-\alpha\widehat{\Sigma}_t\right)^j \\
&=\sum_{i=1}^{d}\left(\alpha\sum_{j=0}^{K-1}\left(1-\alpha(\widehat{\lambda}_i+t)\right)^j u_i u_i^{\mathsf{T}}\right).
\end{aligned} A K ( t ) = α j = 0 ∑ K − 1 ( I − α Σ t ) j = i = 1 ∑ d ( α j = 0 ∑ K − 1 ( 1 − α ( λ i + t ) ) j u i u i T ) .
The equality
A K ( t ) = ∑ i = 1 d ψ K ( λ ^ i + t ) u i u i T A_K^{(t)}=\sum_{i=1}^{d}\psi_K(\widehat{\lambda}_i+t)u_i u_i^{\mathsf{T}} A K ( t ) = i = 1 ∑ d ψ K ( λ i + t ) u i u i T
is then a simple consequence of the identity
∑ j = 0 K − 1 x j = { 1 − x K 1 − x if x ≠ 1 , K otherwise, \sum_{j=0}^{K-1}x^j=
\begin{cases}
\frac{1-x^K}{1-x} & \text{if } x\ne1,\\
K & \text{otherwise,}
\end{cases} j = 0 ∑ K − 1 x j = { 1 − x 1 − x K K if x = 1 , otherwise,
and the relations (94) and (95) follow.
Inverses of the iterates
We can now prove Theorem 7.
Proof of Theorem 7. Fix K ≥ 1 K\ge1 K ≥ 1 . By Proposition E.2 , we have for any t ≥ 0 t\ge0 t ≥ 0 , α > 0 \alpha>0 α > 0 :
A K ( t ) = ∑ i = 1 d ψ K ( λ ^ i + t ) u i u i T . A_K^{(t)}=\sum_{i=1}^{d}\psi_K(\widehat{\lambda}_i+t)u_i u_i^{\mathsf{T}}. A K ( t ) = i = 1 ∑ d ψ K ( λ i + t ) u i u i T .
In particular, for every α < 2 λ ^ max + t \alpha< \frac{2}{\hat{\lambda}_{\max}+t} α < λ ^ m a x + t 2 , the eigenvalues ψ K ( λ ^ i + t ) \psi_K(\hat{\lambda}_i+t) ψ K ( λ ^ i + t ) of A K ( t ) A_K^{(t)} A K ( t ) are all positive, thus non-zero, and A K ( t ) A_K^{(t)} A K ( t ) is invertible with
( A K ( t ) ) − 1 = ∑ i = 1 d u i u i T ψ K ( λ ^ i + t ) . (96) \left(A_K^{(t)}\right)^{-1}=\sum_{i=1}^{d}\frac{u_i u_i^{\mathsf{T}}}{\psi_K(\hat{\lambda}_i+t)}. \tag*{(96)} ( A K ( t ) ) − 1 = i = 1 ∑ d ψ K ( λ ^ i + t ) u i u i T . (96)
Loss L L L (t = 0 t=0 t = 0 ). We have
ψ K ( λ ^ i ) = { 1 − ( 1 − α λ ^ i ) K λ ^ i if λ ^ i ≠ 0 , K α otherwise . \psi_K(\hat{\lambda}_i)=
\begin{cases}
\frac{1-(1-\alpha\hat{\lambda}_i)^K}{\hat{\lambda}_i} & \text{if }\hat{\lambda}_i\ne0,\\
K\alpha& \text{otherwise}.
\end{cases} ψ K ( λ ^ i ) = { λ ^ i 1 − ( 1 − α λ ^ i ) K K α if λ ^ i = 0 , otherwise .
equation (96) therefore yields for t = 0 t=0 t = 0 :
A K − 1 = ∑ i = 1 λ ^ i ≠ 0 d u i u i T ψ K ( λ ^ i ) + ∑ i = 1 λ ^ i = 0 d u i u i T ψ K ( λ ^ i ) = ∑ i = 1 λ ^ i ≠ 0 d λ ^ i 1 − ( 1 − α λ ^ i ) K u i u i T + ∑ i = 1 λ ^ i = 0 d 1 K α u i u i T = ∑ i = 1 λ ^ i ≠ 0 d λ ^ i u i u i T + ∑ i = 1 λ ^ i ≠ 0 d λ ^ i ( 1 − α λ ^ i ) K 1 − ( 1 − α λ ^ i ) K u i u i T + 1 K α Π Ker Σ ^ = Σ ^ + 1 K α Π Ker Σ ^ + ∑ i = 1 λ ^ i ≠ 0 d λ ^ i ( 1 − α λ ^ i ) K 1 − ( 1 − α λ ^ i ) K u i u i T . (97) \begin{aligned}
A_K^{-1}
&=\sum_{\substack{i=1\\\hat{\lambda}_i\ne0}}^{d}\frac{u_i u_i^{\mathsf{T}}}{\psi_K(\hat{\lambda}_i)}
+\sum_{\substack{i=1\\\hat{\lambda}_i=0}}^{d}\frac{u_i u_i^{\mathsf{T}}}{\psi_K(\hat{\lambda}_i)}\\
&=\sum_{\substack{i=1\\\hat{\lambda}_i\ne0}}^{d}\frac{\hat{\lambda}_i}{1-(1-\alpha\hat{\lambda}_i)^K}u_i u_i^{\mathsf{T}}
+\sum_{\substack{i=1\\\hat{\lambda}_i=0}}^{d}\frac{1}{K\alpha}u_i u_i^{\mathsf{T}}\\
&=\sum_{\substack{i=1\\\hat{\lambda}_i\ne0}}^{d}\hat{\lambda}_i u_i u_i^{\mathsf{T}}
+\sum_{\substack{i=1\\\hat{\lambda}_i\ne0}}^{d}\frac{\hat{\lambda}_i(1-\alpha\hat{\lambda}_i)^K}{1-(1-\alpha\hat{\lambda}_i)^K}u_i u_i^{\mathsf{T}}
+\frac{1}{K\alpha}\Pi_{\operatorname{Ker}\hat{\Sigma}}\\
&=\hat{\Sigma}+\frac{1}{K\alpha}\Pi_{\operatorname{Ker}\hat{\Sigma}}
+\sum_{\substack{i=1\\\hat{\lambda}_i\ne0}}^{d}\frac{\hat{\lambda}_i(1-\alpha\hat{\lambda}_i)^K}{1-(1-\alpha\hat{\lambda}_i)^K}u_i u_i^{\mathsf{T}}. \tag*{(97)}
\end{aligned} A K − 1 = i = 1 λ ^ i = 0 ∑ d ψ K ( λ ^ i ) u i u i T + i = 1 λ ^ i = 0 ∑ d ψ K ( λ ^ i ) u i u i T = i = 1 λ ^ i = 0 ∑ d 1 − ( 1 − α λ ^ i ) K λ ^ i u i u i T + i = 1 λ ^ i = 0 ∑ d K α 1 u i u i T = i = 1 λ ^ i = 0 ∑ d λ ^ i u i u i T + i = 1 λ ^ i = 0 ∑ d 1 − ( 1 − α λ ^ i ) K λ ^ i ( 1 − α λ ^ i ) K u i u i T + K α 1 Π Ker Σ ^ = Σ ^ + K α 1 Π Ker Σ ^ + i = 1 λ ^ i = 0 ∑ d 1 − ( 1 − α λ ^ i ) K λ ^ i ( 1 − α λ ^ i ) K u i u i T . (97)
Denote by R K R_K R K the last sum. It is a symmetric matrix, diagonal in the basis ( u i ) (u_i) ( u i ) , whose eigenvalues are the numbers
r i : = λ ^ i ( 1 − α λ ^ i ) K 1 − ( 1 − α λ ^ i ) K , λ ^ i ≠ 0. r_i:=\frac{\hat{\lambda}_i(1-\alpha\hat{\lambda}_i)^K}{1-(1-\alpha\hat{\lambda}_i)^K},\qquad\hat{\lambda}_i\ne0. r i := 1 − ( 1 − α λ ^ i ) K λ ^ i ( 1 − α λ ^ i ) K , λ ^ i = 0.
Since x ↦ ∣ 1 − α x ∣ x\mapsto|1-\alpha x| x ↦ ∣1 − α x ∣ is convex, its maximum over the interval [ λ ^ min + , λ ^ max ] [\hat{\lambda}_{\min}^{+},\hat{\lambda}_{\max}] [ λ ^ m i n + , λ ^ m a x ] is attained at one of the endpoints:
∣ 1 − α λ ^ i ∣ ≤ max ( ∣ 1 − α λ ^ min + ∣ , ∣ 1 − α λ ^ max ∣ ) = ρ 1 |1-\alpha\hat{\lambda}_i|\le\max\left(|1-\alpha\hat{\lambda}_{\min}^{+}|,|1-\alpha\hat{\lambda}_{\max}|\right)=\rho_1 ∣1 − α λ ^ i ∣ ≤ max ( ∣1 − α λ ^ m i n + ∣ , ∣1 − α λ ^ m a x ∣ ) = ρ 1
for every i i i with λ ^ i ≠ 0 \hat{\lambda}_i\ne0 λ ^ i = 0 . The assumption α < 2 / λ ^ max \alpha<2/\hat{\lambda}_{\max} α < 2/ λ ^ m a x gives ρ 1 < 1 \rho_1<1 ρ 1 < 1 ; therefore
∣ r i ∣ ≤ λ ^ i ρ 1 K 1 − ρ 1 K ≤ λ ^ i 1 − ρ 1 ρ 1 K . |r_i|\le\frac{\hat{\lambda}_i\rho_1^K}{1-\rho_1^K}\le\frac{\hat{\lambda}_i}{1-\rho_1}\rho_1^K. ∣ r i ∣ ≤ 1 − ρ 1 K λ ^ i ρ 1 K ≤ 1 − ρ 1 λ ^ i ρ 1 K .
Hence, denoting ∥ ⋅ ∥ 2 \|\cdot\|_2 ∥ ⋅ ∥ 2 the spectral norm, we have
∥ R K ∥ 2 ≤ λ ^ max 1 − ρ 1 ρ 1 K = O ( ρ 1 K ) , \|R_K\|_2\le\frac{\hat{\lambda}_{\max}}{1-\rho_1}\rho_1^K=O(\rho_1^K), ∥ R K ∥ 2 ≤ 1 − ρ 1 λ ^ m a x ρ 1 K = O ( ρ 1 K ) ,
which, along with (97) , leads to the first claim of Theorem 7.
Loss L σ L_\sigma L σ (t = σ 2 t = \sigma^2 t = σ 2 ). The argument is the same, without any kernel to single out; the inverse formula (96) gives
( A K σ ) − 1 = ∑ i = 1 d λ ^ i + σ 2 1 − ( 1 − α ( λ ^ i + σ 2 ) ) K u i u i T = ∑ i = 1 d ( λ ^ i + σ 2 + ( λ ^ i + σ 2 ) ( 1 − α ( λ ^ i + σ 2 ) ) K 1 − ( 1 − α ( λ ^ i + σ 2 ) ) K ) u i u i T = Σ ^ + σ 2 I + R K σ , (98) (A_K^\sigma)^{-1} = \sum_{i=1}^{d} \frac{\widehat{\lambda}_i+\sigma^2}{1-(1-\alpha(\widehat{\lambda}_i+\sigma^2))^K}u_i u_i^\mathsf{T}
= \sum_{i=1}^{d}\left(\widehat{\lambda}_i+\sigma^2+\frac{(\widehat{\lambda}_i+\sigma^2)(1-\alpha(\widehat{\lambda}_i+\sigma^2))^K}{1-(1-\alpha(\widehat{\lambda}_i+\sigma^2))^K}\right)u_i u_i^\mathsf{T}
= \widehat{\Sigma}+\sigma^2 I+R_K^\sigma, \tag*{(98)} ( A K σ ) − 1 = i = 1 ∑ d 1 − ( 1 − α ( λ i + σ 2 ) ) K λ i + σ 2 u i u i T = i = 1 ∑ d ( λ i + σ 2 + 1 − ( 1 − α ( λ i + σ 2 ) ) K ( λ i + σ 2 ) ( 1 − α ( λ i + σ 2 ) ) K ) u i u i T = Σ + σ 2 I + R K σ , (98)
where
R K σ = ∑ i = 1 d ( λ ^ i + σ 2 ) ( 1 − α ( λ ^ i + σ 2 ) ) K 1 − ( 1 − α ( λ ^ i + σ 2 ) ) K u i u i T . R_K^\sigma= \sum_{i=1}^{d}\frac{(\widehat{\lambda}_i+\sigma^2)(1-\alpha(\widehat{\lambda}_i+\sigma^2))^K}{1-(1-\alpha(\widehat{\lambda}_i+\sigma^2))^K}u_i u_i^\mathsf{T}. R K σ = i = 1 ∑ d 1 − ( 1 − α ( λ i + σ 2 ) ) K ( λ i + σ 2 ) ( 1 − α ( λ i + σ 2 ) ) K u i u i T .
Under the assumption α < 2 / ( λ ^ max + σ 2 ) \alpha< 2/(\widehat{\lambda}_{\max}+\sigma^2) α < 2/ ( λ m a x + σ 2 ) ,
∥ R K σ ∥ 2 ≤ λ ^ max + σ 2 1 − ρ 2 ρ 2 K = O ( ρ 2 K ) , \lVert R_K^\sigma\rVert_2 \le\frac{\widehat{\lambda}_{\max}+\sigma^2}{1-\rho_2}\rho_2^K = O(\rho_2^K), ∥ R K σ ∥ 2 ≤ 1 − ρ 2 λ m a x + σ 2 ρ 2 K = O ( ρ 2 K ) ,
with ρ 2 = max ( ∣ 1 − α ( λ ^ min + σ 2 ) ∣ , ∣ 1 − α ( λ ^ max + σ 2 ) ∣ ) \rho_2=\max\left(|1-\alpha(\widehat{\lambda}_{\min}+\sigma^2)|,|1-\alpha(\widehat{\lambda}_{\max}+\sigma^2)|\right) ρ 2 = max ( ∣1 − α ( λ m i n + σ 2 ) ∣ , ∣1 − α ( λ m a x + σ 2 ) ∣ ) . With (98) , this gives the second claim of Theorem 7. □
LLM usage
The appendix, initially written by the authors in another language, was translated into English with the help of LLMs. LLMs were also used to assist in checking the proofs and in writing the code that generates the figures. All LLM-assisted content was reviewed and verified by the authors.
Code availability
The code used to generate the figures is available at
https://github.com/aperbost/diffusion-vs-Langevin.
The Wasserstein distances are computed in closed form from the expressions of the eigenvalues of the covariance matrices given in the Appendices § 7 .§ 2.1 , B.3.1 and C.2.1, so no stochastic simulation is involved.