Analysis of a Two-Layer Neural Network via Displacement Convexity

Adel Javanmard, Marco Mondelli, Andrea Montanari

Introduction

One of the most fruitful ideas in this context is to use functions that are linear combinations of simple components:

Special instantiations of this idea include (we provide only pointers to the immense literature on each topic):

Kernel ridge regression and related random feature methods [CST00, RR08];

Despite the impressive practical success of these methods, the risk function RN(w)R_{N}({\boldsymbol{w}}) is highly non-convex and little is known about global convergence of algorithms that try to minimize it (we refer to Section 2 for further discussion of the related literature).

Notable exceptions to the last statement are provided by random features and by boosting algorithms. In random feature methods, the parameters wi{\boldsymbol{w}}_{i} are not optimized over (they are drawn i.i.d. from some common distribution), and the resulting risk function becomes convex in the weights (a1,…,aN)(a_{1},\dots,a_{N}) to be learnt. While this is a fruitful idea, it gives up the degrees of freedom afforded by the wi{\boldsymbol{w}}_{i}’s.

Boosting overcomes non-convexity by fitting the components w1{\boldsymbol{w}}_{1}, …, wN{\boldsymbol{w}}_{N} one at the time, sequentially. The underlying assumption is that the problem of minimizing RN(w)R_{N}({\boldsymbol{w}}) with respect to one of the hidden units wi{\boldsymbol{w}}_{i} is tractable. However, this is generally not the case when the parameters wi{\boldsymbol{w}}_{i} belong to a high-dimensional space.

The risk function (1.2) crystalizes a central conundrum in statistical learning. In a number of applications (especially at low noise), it is rarely the case that low prediction error can be achieved through a function that is linear in the raw covariates, e.g. f^(x)=⟨w,x⟩\hat{f}(x)=\langle{\boldsymbol{w}},{\boldsymbol{x}}\rangle. In a classical setting, the statistician would craft nonlinear features out of the covariates on the basis of expert knowledge. For the model of Eq. (1.1), this amounts to constructing vectors w1,…,wN{\boldsymbol{w}}_{1},\dots,{\boldsymbol{w}}_{N}. Statistical methods would then be confined to the convex task of fitting the coefficients a1,…,aNa_{1},\dots,a_{N}. This step is well understood from a statistical and computational perspective.

Modern machine learning approaches (boosting, neural networks, etc.) hold the promise of automatizing feature extraction, hence producing superior performances in a wide variety of applications. Unfortunately, we are still far from understanding in which cases optimizing over the wi{\boldsymbol{w}}_{i}’s yields a significant improvement over –say– choosing them randomly. This central challenge intertwines statistical and computational aspects. It is not hard to see that varying the weights wi{\boldsymbol{w}}_{i}’s produces a significantly larger function class [Bac17]. The relevant question is what part of this class can be accessed using gradient descent or other practical algorithms.

The main objective of this paper is to introduce a nonparametric regression model in which these questions can be addressed rigorously. The model is interesting for at least two reasons: (i)(i) From a theoretical point of view, global convergence can be proved in the limit of a large neurons. The proof relies on a mathematical mechanism that has not been explored in the statistics or machine learning literature before. (ii)(ii) From a practical point of view, the model is nontrivial enough to illustrate the potential advantage of fitting the features wi{\boldsymbol{w}}_{i} (we demonstrate this numerically in Section 4.)

The model (1.4) is general enough to include a broad class of radial-basis function (RBF) networks which are known to be universal function approximators [PS91]. To the best of our knowledge, there is no result on the global convergence of stochastic gradient descent for learning RBF networks, and this paper establishes the first result of this type.

It is important to emphasize a few differences with respect to standard RBF networks. First of all, we do not require the kernel K(x)K({\boldsymbol{x}}) to be radial, i.e. to depend uniquely on the norm ∣x∣|{\boldsymbol{x}}|. Second, we require KK to have compact support. This is mainly a technical requirement that simplifies some arguments: we expect our results to be generalizable to kernels that decay rapidly enough. Finally, and most crucially, the form (1.4) does not include non-uniform weights for the NN components. A more standard formulation would posit f^(x;w)=∑i=1NaiKδ(x−wi)\hat{f}({\boldsymbol{x}};{\boldsymbol{w}})=\sum_{i=1}^{N}a_{i}K^{\delta}({\boldsymbol{x}}-{\boldsymbol{w}}_{i}) and learn the weights aia_{i} from data, see Eq. (1.1). We deliberately set the weights to a fixed value because the risk function is convex in a=(ai)i≤N{\boldsymbol{a}}=(a_{i})_{i\leq N}, and hence fitting a{\boldsymbol{a}}’s to global optimality is ‘easy.’ Indeed, universal approximation could be achieved by keeping the centers wi{\boldsymbol{w}}_{i} fixed (and sufficiently dense in Ω\Omega) and only adjusting a{\boldsymbol{a}}. As discussed above, our focus is on the role of the wi{\boldsymbol{w}}_{i}’s.

Our main result is a proof that, for sufficiently large NN and small δ\delta, gradient descent algorithms converge to weights w{\boldsymbol{w}} with nearly optimum prediction error, provided ff is strongly concave. Let us emphasize that the resulting population risk RN(w)R_{N}({\boldsymbol{w}}) is non-convex regardless of the concavity properties of ff. Our proof unveils a novel mechanism by which global convergence takes place. Convergence results for non-convex empirical risk minimization are generally proved by carefully ruling out local minima in the cost function (see Section 2 for pointers to this literature). Instead we prove that, as N→∞N\to\infty, δ→0\delta\to 0, the gradient descent dynamics converges to a gradient flow in Wasserstein space, and that the corresponding cost function is ‘displacement convex.’ Breakthrough results in optimal transport theory guarantee dimension-free convergence rates for this limiting dynamics [CJM+01, CMV03, CMV06]. In particular, we expect the cost function RN(w)R_{N}({\boldsymbol{w}}) to have many local minima, which are however completely neglected by the gradient descent dynamics.

More specifically, our first step is to show that – for large NN – the evolution of the weights w1,…,wN{\boldsymbol{w}}_{1},\dots,{\boldsymbol{w}}_{N} under gradient descent can be replaced by the evolution of a probability distributionThroughout,\mathscrsfsP2(X)\mathscrsfs{P}_{2}({\cal X}) denotes the space of probability distributions on X{\cal X}, endowed with Wasserstein metric W2W_{2}. ρδ∈\mathscrsfsP2(Ω)\rho^{\delta}\in\mathscrsfs{P}_{2}(\Omega), which approximates their empirical distribution. Namely, if (w1k,…,wNk)({\boldsymbol{w}}^{k}_{1},\dots,{\boldsymbol{w}}^{k}_{N}) denote the weights after kk iterations with step size ε{\varepsilon}, and ρ^k(N)=∑i=1Nδwik/N\hat{\rho}^{(N)}_{k}=\sum_{i=1}^{N}\delta_{{\boldsymbol{w}}_{i}^{k}}/N is their empirical distribution, then we have

where the limit holds in the sense of weak convergence or in W1W_{1} distance (the two are equivalent since Ω\Omega is compact). The limit evolution (ρtδ)t≥0(\rho^{\delta}_{t})_{t\geq 0} satisfies a partial differential equation (PDE) that can also be described as the Wasserstein W2W_{2} gradient flow (i.e. gradient flow in \mathscrsfsP2(Ω)\mathscrsfs{P}_{2}(\Omega)), for the following effective risk

where ν0=1/∣Ω∣\nu_{0}=1/|\Omega| and ∣Ω∣|\Omega| denotes the volume of the set Ω\Omega. Here ∗\ast denotes the usual convolution. Let us emphasize that the convergence to Wasserstein gradient flow holds regardless of the concavity of ff.

The use of W2W_{2} gradient flows to analyze two-layer neural networks was recently developed in several papers [MMN18, RVE18, CB18, SS18]. However, we cannot rely on earlier results because of the specific boundary conditions in our problem. We constrain the wi∈Ωδ{\boldsymbol{w}}_{i}\in\Omega^{\delta} by running projected stochastic gradient descent (SGD): at each step wi{\boldsymbol{w}}_{i} moves in the direction of a stochastic gradient of RN(w)R_{N}({\boldsymbol{w}}) and then projected back to Ωδ\Omega^{\delta}. This results in a PDE with Neumann boundary condition on Ωδ\Omega^{\delta}, which is not covered by previous theory. We establish a quantitative version of the limit (1.5) via propagation-of-chaos techniques.

Even if the cost (1.6) is quadratic and convex in ρ\rho, its W2W_{2} gradient flow can have multiple fixed points, and hence global convergence cannot be guaranteed. Global convergence results were proven in [MMN18] and in [CB18] by showing that, for all t≥0t\geq 0 ρtδ\rho^{\delta}_{t} has a density that is either smooth, or strictly positive everywhere. However, these convergence results are non-quantitative, and do not provide convergence ratesAn argument indicating convergence in a time polynomial in dd was put forward in [WLLM18], but for a different type of continuous flow..

Indeed, the mathematical property that controls global convergence of W2W_{2} gradient flow is not ordinary convexity but displacement convexity. Roughly speaking, displacement convexity is convexity along geodesics of the W2W_{2} metric, see Section 3.5. The risk function (1.6) is not displacement convex. Indeed, its quadratic term reads ν0∫Kδ∗Kδ(x−x′)ρ(x)ρ(x′)dxdx′\nu_{0}\int K_{\delta}\ast K_{\delta}({\boldsymbol{x}}-{\boldsymbol{x}}^{\prime})\rho({\boldsymbol{x}})\rho({\boldsymbol{x}}^{\prime}){\rm d}{\boldsymbol{x}}{\rm d}{\boldsymbol{x}}^{\prime} which is not displacement convex unless Kδ∗KδK_{\delta}\ast K_{\delta} is convex (see Lemma H.1), which cannot be in our setting. However, for small δ\delta, we can formally approximate Kδ∗ρ≈ρK^{\delta}\ast\rho\approx\rho, and hence hope to replace the risk function (1.6) with a simpler one

Most of our technical work is devoted to making rigorous this δ→0\delta\to 0 approximation. Namely, we prove that, as δ→0\delta\to 0, ρtδ⇒ρt\rho^{\delta}_{t}\Rightarrow\rho_{t} where ρt\rho_{t} follows the W2W_{2} gradient flow for the risk R(ρ)R(\rho).

Remarkably, the risk function R(ρ)R(\rho) is strongly displacement convex (provided ff is strongly concave). A long line of work in PDE and optimal transport theory establishes dimension-free convergence rates for its W2W_{2} gradient flow [CJM+01, CMV03, CMV06]. Namely, if ff is α\alpha-strongly concave, then R(ρt)≤R(ρ0) e−2αtR(\rho_{t})\leq R(\rho_{0})\,e^{-2\alpha t}. By using the approximation results outlined above, we obtain global convergence for SGD. With high probability,

where the error term err{\sf err} vanishes as N→∞N\to\infty, ε,δ→0{\varepsilon},\delta\to 0 in a suitable order.

This result implies that SGD converges exponentially fast to a near-global optimum with a rate that is controlled by the convexity parameter α\alpha.

Our bounds are not sharp enough to provide quantitative control on the error term err(N,d,ε,δ){\sf err}(N,d,{\varepsilon},\delta), especially in high dimension. Nevertheless, the convergence rate predicted by our asymptotic theory is in excellent agreement with numerical simulations, cf. Section 4. Explaining this surprising quantitative agreement is an outstanding challenge.

Related literature

The present work ties in several lines of research, some of which were already mentioned in the introduction. A substantial amount of work has been devoted to analyzing two-layer neural networks and developing algorithms with convergence guarantees, see e.g. [ZSJ+17, Tia17, BJW18]. However these approaches are typically based on tensor factorization or similar initialization steps that are not used in practice, and do not scale well (although polynomially) in high dimension.

The landscape of empirical risk minimization was also studied in a number of papers, see e.g. [LY17, SJL18]. However, global convergence was only proved in the extremely overparametrized regime in which the neural network essentially behaves as kernel ridge regression [DZPS18].

Classical theory of neural networks was largely devoted to the two-layer case [AB09], although the focus was on representation and approximation questions [Cyb89, Bar93], as well as on generalization error. It was already clear in that context that a two-layer network is conveniently characterized by the empirical distribution of the hidden neurons, and that it is useful to relax this from a distribution with NN atoms, to a general probability measure. This representation plays an important role, for instance, in [Bar98], and was exploited again under the label of ‘convex neural networks’ in [BRV+06].

Over the last year, several groups independently revisited this connection, with the objective of understanding the landscape structure of two-layer networks, and the dynamics of gradient descent methods [NS17, MMN18, RVE18, SS18, CB18, MMM19]. In particular, it was proven in [MMN18] that, under certain smoothness condition on the underlying data distribution, the gradient descent evolution is well approximated by a Wasserstein gradient flow, provided that the number of neurons exceeds the data dimensions. As mentioned above, the algorithm treated here differs from the ones analyzed in earlier work, because the weights wi{\boldsymbol{w}}_{i} are constrained to lie in the convex set Ωδ\Omega^{\delta}. We enforce this constraint by using projected SGD, i.e. projecting at each step the weights onto the set Ωδ\Omega^{\delta}. We generalize the analysis of [MMN18], obtaining convergence to a PDE with Neumann (reflecting) boundary conditions. As in [MMN18], we build on ideas that were first developed in the context of interacting particle systems [Dob79, Szn91].

The Wasserstein gradient flow approach was used in [MMN18, CB18] to establish global convergence results. However, these results fall short of our objectives for several reasons:

The global convergence result of [CB18] rely on certain homogeneity properties of the neurons that are lacking here. We could obtain homogeneity by adding coefficients to Eq. (1.4), i.e. considering f^(x;w)=∑i=1NaiKδ(x−wi)\hat{f}({\boldsymbol{x}};{\boldsymbol{w}})=\sum_{i=1}^{N}a_{i}K^{\delta}({\boldsymbol{x}}-{\boldsymbol{w}}_{i}) and minimizing the risk with respect to the coefficients aia_{i}. As mentioned above, we refrain from introducing coefficients not to oversimplify the problem: when N→∞N\to\infty, it is sufficient to fit the coefficients aia_{i} to achieve vanishing risk. Fitting the aia_{i}’s is a least squares problem.

In contrast, our results are a first step towards dimension-independent convergence rate, in a more restricted setting than [MMN18, CB18, MMM19].

In summary, our results do not subsume earlier work, that assumes a more general setting, but rather establish stronger results in narrower context. Indeed, we believe that specific structural conditions must be imposed on the data distribution and activation function for the Wasserstein gradient flow approach to yield quantitative convergence rates. This paper presents one specific set of assumptions. Although our results are not strong enough to establish non-asymptotic convergence rates, they point clearly in that direction.

Model and assumptions

Throughout the paper, we use CC to denote finite constants, which can vary from point to point. When these constants can depend on some of the problem parameters, e.g. a,b,ca,b,c, we will write C(a,b,c)C(a,b,c). When they are absolute numerical constants, we will emphasize this by writing C∗C_{*}.

2 Data

Our formal assumptions on the set Ω\Omega and the function ff are as follows:

Ω⊇B(0;r)\Omega\supseteq{\sf B}({\boldsymbol{0}};r), with r>0r>0, is a compact convex set with \mathscrsfsC2\mathscrsfs{C}^{2} boundary.

where ∇2f\nabla^{2}f denotes the Hessian of ff.

f∈\mathscrsfsC∞(Ω)f\in\mathscrsfs{C}^{\infty}(\Omega), with ∥f∥\mathscrsfsL∞(Ω),∥∇f∥\mathscrsfsL∞(Ω)≤C∗\|f\|_{\mathscrsfs{L}^{\infty}(\Omega)},\|\nabla f\|_{\mathscrsfs{L}^{\infty}(\Omega)}\leq C_{*} for an absolute constant C∗C_{*}.

Without loss of generality, we can also assume that ∫Ωf(x) dx=1\int_{\Omega}f({\boldsymbol{x}})\,{\rm d}{\boldsymbol{x}}=1. As a running example, we will use Ω=B(0;r)\Omega={\sf B}({\boldsymbol{0}};r), where we remind rr is defined in Assumption (A1).

The assumption xj∼Unif(Ω){\boldsymbol{x}}_{j}\sim{\sf Unif}(\Omega) is quite strong but simplifies our analysis. We believe our approach can be generalized to a broader family of probability distribution for the covariates xj{\boldsymbol{x}}_{j}, but defer these generalizations to future work.

3 Neural network and SGD

For δ>0\delta>0, let Kδ(x)=δ−dK(x/δ)K^{\delta}({\boldsymbol{x}})=\delta^{-d}K({\boldsymbol{x}}/\delta). We try to fit the function (1.4) with parameters w=(w1,…,wN){\boldsymbol{w}}=({\boldsymbol{w}}_{1},\dots,{\boldsymbol{w}}_{N}). These parameters are constrained to wi∈Ωδ{\boldsymbol{w}}_{i}\in\Omega^{\delta} which is a suitable scaling of Ω\Omega, as defined in the following. Given δ<r/c0\delta<r/c_{0}, with rr defined in (A1), define

We use stochastic gradient descent to minimize the population risk (1.2). At each step, we use a new data point (yk,xk)(y_{k},{\boldsymbol{x}}_{k}), thus the sample size is equal to the number of iterations of the algorithm. Assuming for simplicity constant step size ε>0{\varepsilon}>0, we update the parameters by

Here gik+1∼N(0,Id){\boldsymbol{g}}_{i}^{k+1}\sim{\sf N}(0,{\boldsymbol{I}}_{d}) is Gaussian noise which we take to be i.i.d. across time and neuron indices, kk and ii, and P{\sf P} is the orthogonal projector onto Ωδ\Omega^{\delta}:

The noise term 2ετ gik+1\sqrt{2{\varepsilon}\tau}\,{\boldsymbol{g}}_{i}^{k+1} is added mainly for technical reasons. Namely, it allows us to control the smoothness of the solutions of the resulting PDE. In simulations we do not find it useful, and we believe that a more careful analysis would be able to establish smoothness without the noise term.

We initialize SGD with (wi0)i≤N∼i.i.d.ρ\mboxinitδ∈\mathscrsfsP2(Ωδ)({\boldsymbol{w}}_{i}^{0})_{i\leq N}\sim_{\rm i.i.d.}\rho^{\delta}_{\mbox{\tiny\rm init}}\in\mathscrsfs{P}_{2}(\Omega^{\delta}), where ρ\mboxinitδ\rho^{\delta}_{\mbox{\tiny\rm init}} is a scaling of a fixed distribution ρ\mboxinit∈\mathscrsfsP2(Ω)\rho_{\mbox{\tiny\rm init}}\in\mathscrsfs{P}_{2}(\Omega), i.e. ρ\mboxinitδ(S)=ρ\mboxinit(S/λδ)\rho^{\delta}_{\mbox{\tiny\rm init}}(S)=\rho_{\mbox{\tiny\rm init}}(S/\lambda_{\delta}). We assume that the initialization is smooth:

ρ\mboxinit∈\mathscrsfsC∞(Ωδ)\rho_{\mbox{\tiny\rm init}}\in\mathscrsfs{C}^{\infty}(\Omega^{\delta}).

4 PDE Model, δ>0𝛿0\delta>0

In particular lim⁡δ→0inf⁡ρ∈\mathscrsfsP2(Ω)Rδ(ρ)=0\lim_{\delta\to 0}\inf_{\rho\in\mathscrsfs{P}_{2}(\Omega)}R^{\delta}(\rho)=0.

Our first main result is that the dynamics of SGD is well approximated by the following PDE (see Section 5.1 for a formal statement):

where n(x){\boldsymbol{n}}({\boldsymbol{x}}) denotes the inward normal vector to ∂Ωδ\partial\Omega^{\delta} at x{\boldsymbol{x}}.

A rigorous definition of solutions of this PDE, along with some of their properties, is given in Appendix B. In Appendix C, we discuss the connection between the PDE (3.9) and the so-called “nonlinear dynamics”, i.e. a stochastic differential equation that captures the trajectories of the weights wik{\boldsymbol{w}}_{i}^{k}. Using this connection, we prove existence and uniqueness of weak solutions of Eq. (3.9). In the proofs, we will often assume ν0=1\nu_{0}=1, which amounts to a rescaling of time tt.

For τ=0\tau=0, the evolution defined by Eq. (3.9) corresponds to the gradient flow in Wasserstein metric for the risk function Rδ(ρ)R^{\delta}(\rho). For τ>0\tau>0, it is the gradient flow for the free energy functional Fδ(ρ)F^{\delta}(\rho) defined below

5 Limit PDE, δ=0𝛿0\delta=0

The corresponding Wasserstein gradient flow is also known as viscous porous medium equation [Váz07] and it is given by

In Appendix A, we give the definition of a weak solution for the PDE (3.12) with initial and boundary conditions (3.13). We also prove that the weak solution of the PDE (3.12) is unique, under a mild integrability condition. Again, in proofs we will assume without loss of generality ν0=1\nu_{0}=1.

As in the δ>0\delta>0 case, the evolution defined by Eq. (3.12) is the gradient flow for the free energy F(ρ)=(1/2)R(ρ)−τS(ρ)F(\rho)=(1/2)R(\rho)-\tau S(\rho). Our analysis uses a key property of the risk function R(ρ)=ν0∥f−ρ∥\mathscrsfsL2(Ω)2R(\rho)=\nu_{0}\|f-\rho\|_{\mathscrsfs{L}^{2}(\Omega)}^{2} (and the free energy): displacement convexity [McC97]. For the reader’s convenience, we recall its definition here, referring to [AGS08, Vil08, San15] for further background. Given two probability measures ρ0,ρ1∈\mathscrsfsP2(Ω)\rho_{0},\rho_{1}\in\mathscrsfs{P}_{2}(\Omega), their W2W_{2} distance is defined by

where the infimum is taken over the set Γ(ρ0,ρ1)\Gamma(\rho_{0},\rho_{1}) of couplings of ρ0\rho_{0}, ρ1\rho_{1} (i.e. probability measures on Ω×Ω\Omega\times\Omega whose first marginal coincides with ρ0\rho_{0}, and second with ρ1\rho_{1}). The infimum is achieved by weak compactness of \mathscrsfsP2(Ω)\mathscrsfs{P}_{2}(\Omega).

The metric space (\mathscrsfsP2(Ω),W2)(\mathscrsfs{P}_{2}(\Omega),W_{2}) is a ‘length space,’ and in particular it is possible to construct geodesics, i.e. paths of minimum length connecting any two probability measures ρ0,ρ1\rho_{0},\rho_{1}. Geodesics have a simple description. Let γ∗\gamma_{*} be the coupling achieving the infimum in the definition of W2(ρ0,ρ1)W_{2}(\rho_{0},\rho_{1}). Letting (X0,X1)∼γ∗(\boldsymbol{X}_{0},\boldsymbol{X}_{1})\sim\gamma_{*}, we define ρt\rho_{t} to be the distribution of Xt=(1−t)X0+tX1\boldsymbol{X}_{t}=(1-t)\boldsymbol{X}_{0}+t\boldsymbol{X}_{1}. The curve t↦ρtt\mapsto\rho_{t}, indexed by t∈t\in turns out to be the geodesic between ρ0\rho_{0} and ρ1\rho_{1} in (\mathscrsfsP2(Ω),W2)(\mathscrsfs{P}_{2}(\Omega),W_{2}).

A useful observation is that displacement convexity implies that all local minima of F{\mathcal{F}} are global minimizer. Indeed, by (3.15) it is straightforward to see that F{\mathcal{F}} has at most one global minimizer ρ∗\rho^{*}. Also, for every other point ρ\rho, the geodesic between ρ\rho and ρ∗\rho_{*} is a strictly decreasing path for the function F{\mathcal{F}}. Now, suppose that ρˉ≠ρ∗\bar{\rho}\neq\rho_{*} is a local minimum. Then, there exists a neighborhood UU around ρˉ\bar{\rho} such that, for any ρ∈U\rho\in U, F(ρ)≥F(ρˉ){\mathcal{F}}(\rho)\geq{\mathcal{F}}(\bar{\rho}). However, the strictly decreasing path between ρˉ\bar{\rho} and ρ∗\rho_{*} passes through the neighborhood UU, which leads to a contradiction and so ρ=ρ∗\rho=\rho_{*}

It follows from [McC97] that the risk function R(ρ)R(\rho) and the free energy F(ρ)F(\rho) are strongly displacement convex.

The concavity assumption on the regression function ff (Assumption (A2)) defines a nonparametric class under which global convergence can be established, with convergence rates uniquely determined by the curvature α\alpha (in the limit N→∞N\to\infty, δ→0\delta\to 0). Nonparametric estimation of concave functions has attracted considerable attention over recent years, see e.g. [HD13, CS16], and is –by itself– an interesting domain of applicability.

However, our projected SGD algorithm is potentially applicable to any data set, and will return a meaningful estimate f^\hat{f} regardless whether ff is concave or not. Indeed, in the next section we present numerical simulations indicating convergence to a near-global optimum even for non-concave functions ff.

From mathematical point of view, Assumption (A2) is only used to show the convergence of the solution of the viscous porous medium equation (limit PDE, δ=0\delta=0) to the unique global minimizer of the free energy F(ρ)=(1/2)R(ρ)−τS(ρ)F(\rho)=(1/2)R(\rho)-\tau S(\rho), as formally stated in Theorem F.8. Concavity is not needed for the other results in the paper, namely approximating the SGD trajectory with the solution of the PDE (δ>0\delta>0), see Theorem 5.1, and the convergence of the solution of the PDE (δ>0\delta>0) to the solution of the viscous porous medium equation, see Theorem 5.2. It is therefore foreseeable a more general analysis that relaxes the concavity assumption.

Numerical illustrations

In this section we provide some simple numerical illustrations of our setting, and compare numerical results with the predictions of the Wasserstein gradient flow theory.

We set Ω=\Omega= and f(x)=(1−ex−1)/(1−e−2)f(x)=(1-e^{x-1})/(1-e^{-2}) (we choose the normalization so that ∫−11f(x)dx=1\int_{-1}^{1}f(x){\rm d}x=1). Note that ff is uniformly concave in $.Wesetthekernel. We set the kernelK$ as follows:

where CdC_{d} is a normalization constant ensuring that ∫−11K(x) dx=1\int_{-1}^{1}K(x)\,{\rm d}x=1. The initialization ρ\mboxinit\rho_{\mbox{\tiny\rm init}} is a truncated Gaussian: ρ\mboxinit(x)=c⋅exp⁡(−x2/(2σ2)) 1(x)\rho_{\mbox{\tiny\rm init}}(x)=c\cdot\exp(-x^{2}/(2\sigma^{2}))\,{\boldsymbol{1}}_{}(x), with σ=1/3\sigma=1/3.

We find empirically that standard stochastic gradient descent (SGD) without the projection P{\sf P} onto Ωδ\Omega^{\delta} works well in this example, and consider this algorithm for simplicity in our first illustrations. We pick N=200N=200, τ=0\tau=0 (noiseless SGD), and constant step size ε=10−6\varepsilon=10^{-6}. In Figure 1, left column, we plot the true function f( ⋅ )f(\,\cdot\,) together with the neural network estimate f^( ⋅ ;wk)\hat{f}(\,\cdot\,;{\boldsymbol{w}}^{k}) at several points in time tt (time is related to the number of iterations kk via t=kεt=k{\varepsilon}). Different plots correspond to different values of δ\delta with δ∈{1/5,1/10,1/20}\delta\in\{1/5,1/10,1/20\}. We observe that the network estimates f^( ⋅ ;wk)\hat{f}(\,\cdot\,;{\boldsymbol{w}}^{k}) seem to converge to a limit curve which is an approximation of the true function ff. As expected, the quality of the approximation improves as δ\delta gets smaller.

In the right column, we report the evolution of the population risk (1.2) normalized by ∥f∥\mathscrsfsL2(Ω)2\|f\|^{2}_{\mathscrsfs{L}^{2}(\Omega)}. For comparison, we plot the evolution of the risk (1.7) as predicted by the limit PDE (3.12) with τ=0\tau=0. We solve the PDE (3.12) numerically using a finite difference scheme that enforces the conservation law ∫ρ(x,t)dx=1\int\rho(x,t){\rm d}x=1, see, e.g., [Tho13]. In the finite difference scheme, we choose time step and spatial step Δt=10−5\Delta t=10^{-5} and Δx=10−2\Delta x=10^{-2}, respectively. The curve obtained by this numerical solution appears to capture well the evolution of SGD towards optimality. The main difference is that, while the PDE (3.12) corresponds to δ=0\delta=0, and hence evolves towards a global optimum at zero risk, SGD converges to a non-zero risk value, which can be interpreted as the approximation error, decreasing with δ\delta.

In Figure 2, we illustrate the numerical solution of the PDE (3.12) by plotting (i) the regression function ff together with the PDE solution ρt\rho_{t} (which coincides with the prediction f^\hat{f} at δ=0\delta=0) at several times tt, and (ii) the PDE prediction for the risk R(ρt)R(\rho_{t}) (1.7) normalized with respect to ∥f∥\mathscrsfsL2(Ω)2\|f\|^{2}_{\mathscrsfs{L}^{2}(\Omega)} (this plot aggregates data from Figs. 1.(b), (d), (f)). We also compare the risk (1.7) to the population risk RN(wk)R_{N}({\boldsymbol{w}}^{k}) achieved by SGD for different values of δ\delta. Note that, as δ\delta becomes smaller, the risk converges to the predicted curve. The risk of the limit PDE (3.12) converges to exponentially fast in tt, as predicted by the strong displacement convexity of R(ρ)R(\rho).

In Figure 3, we consider the SGD algorithm with projection P{\sf P}, see (3.5). We pick N=200N=200, τ=0\tau=0, ε=10−6{\varepsilon}=10^{-6} and δ=1/20\delta=1/20. On the left, we illustrate the evolution of the value of 4040 weights chosen at random; and on the right, we plot the histogram of their empirical distribution at t=5t=5. Note that this histogram matches well the regression function ff plotted in black.

2 A two-dimensional concave example

Next, we consider a two-dimensional example. We set Ω=2\Omega=^{2} and

with q1=(2.5127,−2.4490){\boldsymbol{q}}_{1}=(2.5127,-2.4490), q2=(0.0596,1.9908){\boldsymbol{q}}_{2}=(0.0596,1.9908) and where c1c_{1} and c2c_{2} are chosen so that ff is non-negative and ∫Ωf(x) dx=1\int_{\Omega}f({\boldsymbol{x}})\,{\rm d}{\boldsymbol{x}}=1. The kernel KK is given by K(x)=Cdκ(∣x∣)K({\boldsymbol{x}})=C_{d}\kappa(|{\boldsymbol{x}}|), where κ\kappa is defined in (4.1) and CdC_{d} is a normalization constant ensuring that ∫B(0;1)K(x) dx=1\int_{{\sf B}({\boldsymbol{0}};1)}K({\boldsymbol{x}})\,{\rm d}{\boldsymbol{x}}=1. Again, the initialization ρ\mboxinit\rho_{\mbox{\tiny\rm init}} is a truncated Gaussian: ρ\mboxinit(x)=c⋅exp⁡(−∣x∣2/(2σ2)) 12(x)\rho_{\mbox{\tiny\rm init}}({\boldsymbol{x}})=c\cdot\exp(-|{\boldsymbol{x}}|^{2}/(2\sigma^{2}))\,{\boldsymbol{1}}_{^{2}}({\boldsymbol{x}}), with σ=1/3\sigma=1/3. We compare the normalized risk of SGD with no projection P{\sf P} (N=2000N=2000, τ=0\tau=0 and ε=10−6{\varepsilon}=10^{-6}) for δ∈{1/3,1/5,1/10}\delta\in\{1/3,1/5,1/10\} with that of the limit PDE (3.12). Figure 4 shows that, already at δ=1/10\delta=1/10, the risk of SGD converges to the predicted curve and the risk of the limit PDE (3.12) tends to exponentially fast in tt.

3 Comparing feature learning to random features

As discussed in the introduction, it is useful to consider the more general model

with parameters a=(a1,…,aN){\boldsymbol{a}}=(a_{1},\ldots,a_{N}) as well as w=(w1,…,wN){\boldsymbol{w}}=({\boldsymbol{w}}_{1},\dots,{\boldsymbol{w}}_{N}). This setting allows to compare two different approaches:

Random feature regression: the weights w{\boldsymbol{w}} are chosen independently of the labels yiy_{i} (we allow for dependence on the covariates xi{\boldsymbol{x}}_{i}).

Feature learning: the weights w{\boldsymbol{w}} depend on the data (yi,xi)(y_{i},{\boldsymbol{x}}_{i}).

where λ\lambda is chosen via cross-validation on a hold-out set, comprising 10%10\% of the samples.

In Figure 5, we compare the performance of three different ways to construct the weights w{\boldsymbol{w}}: ‘random w{\boldsymbol{w}},’ we choose the weights wi{\boldsymbol{w}}_{i} independently and uniformly at random in Ω\Omega (blue triangles pointing down); ‘w={\boldsymbol{w}}= data points,’ we choose the weights wi{\boldsymbol{w}}_{i} uniformly at random among the data points (green circles); ‘optimized w{\boldsymbol{w}},’ we use the output of the projected SGD algorithm of the previous sections (red triangles pointing up). The first two can be regarded as ‘random features’ approaches, while the latter is a ‘feature learning’ method.

For the optimized w{\boldsymbol{w}}, we use exactly the same algorithm in as in (3.5) (without coefficients a{\boldsymbol{a}} in the SGD update), with the only difference that each SGD step is carried out with respect to an independent sample from the empirical data, with replacement. SGD is stopped after kmax⁡k_{\max} iteration, and the coefficient a^\hat{{\boldsymbol{a}}} are computed according to (4.3). Notice that this procedure is probably suboptimal, and it would be better to optimize a{\boldsymbol{a}} and w{\boldsymbol{w}} jointly: we choose this simpler two-stage procedure to have a more direct application of the algorithm analyzed in the paper, and a comparison with the random feature methods. We set τ=0\tau=0 (noiseless SGD), and constant step size ε=5⋅10−4\varepsilon=5\cdot 10^{-4}. The number of iterations kmax⁡∈{5⋅103,15⋅103,5⋅104,15⋅104,5⋅105,15⋅105}k_{\max}\in\{5\cdot 10^{3},15\cdot 10^{3},5\cdot 10^{4},15\cdot 10^{4},5\cdot 10^{5},15\cdot 10^{5}\} is chosen via cross-validation, by using the same hold-out set employed to optimize λ\lambda.

We set Ω=4\Omega=^{4} and define yj=f(xj)y_{j}=f({\boldsymbol{x}}_{j}), where f(x)f({\boldsymbol{x}}) takes the form (4.2) with q1=(−0.3832,0.3074,−0.3198,0.4792){\boldsymbol{q}}_{1}=(-0.3832,0.3074,-0.3198,0.4792) and q2=(0.3502,−0.1471,{\boldsymbol{q}}_{2}=(0.3502,-0.1471, 0.1685,0.0546)0.1685,0.0546). Again, c1c_{1} and c2c_{2} are chosen so that ff is non-negative and ∫Ωf(x) dx=1\int_{\Omega}f({\boldsymbol{x}})\,{\rm d}{\boldsymbol{x}}=1; the kernel KK is given by K(x)=Cdκ(∣x∣)K({\boldsymbol{x}})=C_{d}\kappa(|{\boldsymbol{x}}|), where κ\kappa is defined in Eq. (4.1) and CdC_{d} ensures that ∫B(0;1)K(x) dx=1\int_{{\sf B}({\boldsymbol{0}};1)}K({\boldsymbol{x}})\,{\rm d}{\boldsymbol{x}}=1.

After estimating wi{\boldsymbol{w}}_{i} and aia_{i} by either methods, we generate a test set of 10,00010,000 samples and use it to estimate the generalization error. We perform 2020 independent trials of the experiment, and we plot the average risk normalized by ∥f∥\mathscrsfsL2(Ω)2\|f\|^{2}_{\mathscrsfs{L}^{2}(\Omega)} together with the error bar at 1 standard deviation. In Figure 5-(a), we fix the number of neurons N=200N=200 and we plot the normalized risk as a function of the number of data points nn. In Figure 5-(b), we fix the number of samples nn to 20002000 and we plot the normalized risk as a function of the number of neurons NN. The data set used for cross-validation has size max⁡(n/10,40)\max(n/10,40). Note that feature learning leads to improved performance in both settings. The improvement becomes more pronounced with the sample size nn, presumably because a better set of weights wi{\boldsymbol{w}}_{i} can be learnt. On the other hand, when the number of neurons NN becomes very large, random wi{\boldsymbol{w}}_{i}’s are already covering Ω\Omega densely enough, and there is no significant advantage in feature learning.

4 A non-concave one-dimensional example

We set Ω=\Omega= and f(x)=(x+sin⁡(5x−π/2)−c1)/c2f(x)=(x+\sin(5x-\pi/2)-c_{1})/c_{2}, where c1c_{1} and c2c_{2} are chosen so that ff is non-negative and ∫Ωf(x) dx=1\int_{\Omega}f(x)\,{\rm d}x=1. Note that the target function ff is bimodal, thus it is not concave. We perform the same numerical experiment described in Section 4.1. In Figure 6, left column, we plot the true function f( ⋅ )f(\,\cdot\,) together with the neural network estimate f^( ⋅ ;wk)\hat{f}(\,\cdot\,;{\boldsymbol{w}}^{k}) at several points in time tt, where different plots correspond to different values of δ∈{1/5,1/10,1/20}\delta\in\{1/5,1/10,1/20\}. In the right column, we report the evolution of the population risk (1.2) normalized by ∥f∥\mathscrsfsL2(Ω)2\|f\|^{2}_{\mathscrsfs{L}^{2}(\Omega)}. In Figure 7, we plot (i) the regression function ff together with the PDE solution ρt\rho_{t} at several times tt, and (ii) the PDE prediction for the risk R(ρt)R(\rho_{t}) (1.7) (normalized with respect to ∥f∥\mathscrsfsL2(Ω)2\|f\|^{2}_{\mathscrsfs{L}^{2}(\Omega)}) compared with the population risk RN(wk)R_{N}({\boldsymbol{w}}^{k}) achieved by SGD for different values of δ\delta. Even if the target function is not concave, the results are similar to those presented in the concave case: (i) the network estimates f^( ⋅ ;wk)\hat{f}(\,\cdot\,;{\boldsymbol{w}}^{k}) seem to converge to a limit curve which is an approximation of the true function ff, (ii) the quality of the approximation improves as δ\delta gets smaller, and (iii) the risk of the limit PDE (3.12) converges to exponentially fast in tt.

5 Failure for small N𝑁N

We repeat the same experiment described in Section 4.1 for a smaller number of neurons N=20N=20. As can be seen in Figures 8 and 9, the quality of the approximation becomes worse as δ\delta gets smaller. This is expected because with small number of activations, reducing their bandwidth δ\delta leads to a worse performance as they are all zero on a large part of the space. Put differently, the number of neurons is too small to guarantee convergence of SGD to the predictions of the Wasserstein gradient flow theory.

Main results

We now state our result concerning the convergence of the SGD dynamics (3.5) to the PDE (3.9). Note that this result does not require concavity of ff. Its proof is presented in Appendix D.

Assume that conditions (A1), (A3)-(A5) hold. Consider the SGD update (3.5) with initialization (wi0)i≤N∼i.i.d.ρ\mboxinitδ({\boldsymbol{w}}_{i}^{0})_{i\leq N}\sim_{\rm i.i.d.}\rho_{\mbox{\tiny\rm init}}^{\delta} and constant step size ε\varepsilon. For t≥0t\geq 0, let ρt\rho_{t} be the unique solution of the PDE (3.9) with initial and boundary conditions (3.10), and assume supp(ρ\mboxinitδ)⊆B(0,r){\rm supp}(\rho^{\delta}_{\mbox{\tiny\rm init}})\subseteq{\sf B}({\boldsymbol{0}},r) Then, for any fixed t≥0t\geq 0, ρ⌊t/ε⌋(N)⇒ρt\rho^{(N)}_{\lfloor t/\varepsilon\rfloor}\Rightarrow\rho_{t} almost surely along any sequence (N,ε=εNN,\varepsilon=\varepsilon_{N}) such that N→∞N\to\infty, εN→0\varepsilon_{N}\to 0.

Our proof is based on the same approach developed in [MMN18]. We prove that solutions of the PDE (3.9) are in correspondence with distributions over trajectories (Xt)t≥0(\boldsymbol{X}_{t})_{t\geq 0} in Ω\Omega satisfying the following stochastic differential equation

where (Bt)t≥0(\boldsymbol{B}_{t})_{t\geq 0} is a standard Brownian motion and dΦt{\rm d}{\boldsymbol{\Phi}}_{t} is the boundary reflection (in the sense of a Skorokhod problem). The density ρt\rho_{t} is determined, self consistently, via ρt=Law(Xt)\rho_{t}={\rm Law}(\boldsymbol{X}_{t}). We prove existence and uniqueness of solutions to this problem, and refer to the corresponding stochastic process (Xt)t≥0(\boldsymbol{X}_{t})_{t\geq 0} as nonlinear dynamics. This in turn implies existence and uniqueness of the solutions of the PDE (3.9).

We next construct a coupling between the network weights (w1k,…,wNk)∈(Ωδ)N({\boldsymbol{w}}^{k}_{1},\dots,{\boldsymbol{w}}^{k}_{N})\in(\Omega^{\delta})^{N}, and NN i.i.d. trajectories of the nonlinear dynamics (X1t,…,XNt)∈(Ωδ)N(\boldsymbol{X}^{t}_{1},\dots,\boldsymbol{X}^{t}_{N})\in(\Omega^{\delta})^{N}. Controlling the expected distance in this coupling yields Theorem 5.1.

The error term in Eq. (5.1) is completely analogous to the error in a similar theorem proved in [MMN18]. The constant δ−d\delta^{-d} appearing here is obtained by bounding the Lipschitz constant of ∇Ψ(w;ρ)\nabla\Psi({\boldsymbol{w}};\rho). As already mentioned, the main technical difficulty with respect to [MMN18] is posed by the Neumann (reflecting) boundary conditions. Indeed, even if we are given a solution of the PDE (3.9), existence and uniqueness of solutions of the Skorokhod problem (5.3) is a highly non-trivial fact first established in [Tan79, LS84]. As a consequence, while the main proof idea is similar to the one in [MMN18], its implementation is significantly different.

2 Convergence to the solutions of porous medium equation

We next prove that the solution of the PDE (3.9) converges, as δ→0\delta\to 0, to the unique solution of the porous medium equation (3.12). As for Theorem 5.1, this result does not rely on the concavity assumption for ff.

Assume that conditions (A1) and (A3)-(A5) hold. Denote by ρδ\rho^{\delta} the unique solution of the PDE (3.9) with initial condition ρ0δ=ρ\mboxinit\rho^{\delta}_{0}=\rho_{\mbox{\tiny\rm init}}. Then

The porous medium equation (3.12) admits a weak solution ρ:(t,x)↦ρt(x)\rho:(t,{\boldsymbol{x}})\mapsto\rho_{t}({\boldsymbol{x}}) with initial and boundary conditions (3.13). Further, this solution is unique under the additional condition ρ∈\mathscrsfsL4([0,T]×Ω)\rho\in\mathscrsfs{L}^{4}([0,T]\times\Omega).

For almost all t∈[0,T]t\in[0,T], we have ρtδ→ρt\rho_{t}^{\delta}\to\rho_{t} in \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega) as δ→0\delta\to 0.

While this statement is very natural at a heuristic level, its proof is actually the bulk of our technical work. Similar approximation results have been proved in the past by Oelschläger, Philipowski, Figalli [Oel02, Phi07, FP08], but they do not apply directly to the present case unless f=0f=0 (also, we have to deal with different boundary conditions).

Our proof follows a classical compactness argument, generalizing the approach of [FP08]. Namely we consider the sequence of trajectories (ρtδ)t∈[0,T](\rho^{\delta}_{t})_{t\in[0,T]} indexed by the width δ\delta. We prove that that this family is bounded and equicontinuous in \mathscrsfsC([0,T],\mathscrsfsP2(Ω))\mathscrsfs{C}([0,T],\mathscrsfs{P}_{2}(\Omega)), and hence admits converging subsequences (ρtδn)t∈[0,T]→(ρt)t∈[0,T](\rho^{\delta_{n}}_{t})_{t\in[0,T]}\to(\rho_{t})_{t\in[0,T]}. We next prove that any such converging subsequence converges in \mathscrsfsL2(Ω×[0,T])\mathscrsfs{L}^{2}(\Omega\times[0,T]) and that the limit is a weak solution of the porous medium equation (3.12). Unfortunately, uniqueness of weak solutions of the PME (3.12) is –to the best of our knowledge– an open problem. However, we generalize methods from [Oel02] to show that any subsequential limit is actually in \mathscrsfsL4(Ω×[0,T])\mathscrsfs{L}^{4}(\Omega\times[0,T]), and prove that the weak solution is unique under this condition. This allows us to conclude that (ρtδ)t∈[0,T](\rho^{\delta}_{t})_{t\in[0,T]} converges to this unique weak solution (ρt)t∈[0,T](\rho_{t})_{t\in[0,T]}.

3 Global convergence of SGD

Let us now state the main result of this paper: SGD converges to a model with nearly optimal risk.

Consider the SGD update (3.5) with initialization (wi0)i≤N∼i.i.d.ρ\mboxinit({\boldsymbol{w}}_{i}^{0})_{i\leq N}\sim_{\rm i.i.d.}\rho_{\mbox{\tiny\rm init}} and constant step size ε\varepsilon. Assume supp(ρ\mboxinit)⊆B(0;r){\rm supp}(\rho_{\mbox{\tiny\rm init}})\subseteq{\sf B}({\boldsymbol{0}};r). Then, for any k≤T/εk\leq T/{\varepsilon}, the following holds with probability at least 1−1/z1-1/z,

The error term 2τ Δ′(k,ε,d)2\tau\,\Delta^{\prime}(k,{\varepsilon},d) in Eq. (5.4) is always non-negative. In fact, Δ′(k,ε,d)≥0\Delta^{\prime}(k,{\varepsilon},d)\geq 0 as S(ρ)≤log⁡∣Ω∣S(\rho)\leq\log|\Omega| for any ρ∈P2(Ω)\rho\in{\mathcal{P}}_{2}(\Omega). Furthermore, by applying Jensen’s inequality, we have that, for any ρ∈P2(Ω)\rho\in{\mathcal{P}}_{2}(\Omega),

Recall that τ\tau controls the variance of the noise, which is added at each step of the SGD algorithm for technical purposes. Thus, we can take τ\tau sufficiently small so that the term 2τΔ′(k,ε,d)2\tau\Delta^{\prime}(k,{\varepsilon},d) is arbitrarily small.

The term Δ1\Delta_{1} bounds the error due to describing the SGD dynamics using the PDE (3.9). It vanishes when N→∞N\to\infty, ε→0{\varepsilon}\to 0, under the stated conditions. The term Δ2\Delta_{2} captures the error due to approximating the PDE (3.9) with the porous medium equation (3.12). Finally, the term e−2αkεe^{-2\alpha k\varepsilon} describes the convergence to equilibrium of the solution of the porous medium equation.

The proof of Theorem 5.3 is presented in Appendix F and relies crucially on regularity results for the PDE (3.9) which are established in Appendix E.

More specifically, the proof is based on three steps, which we spell out once more:

We approximate the dynamics of SGD by the PDE (3.9) at δ>0\delta>0 fixed. In doing so, we incur an error Δ1\Delta_{1} which is controlled using Theorem 5.1.

We approximate the solution ρtδ\rho^{\delta}_{t} of the PDE (3.9) at δ>0\delta>0 using the solution ρt\rho_{t} of the porous medium equation (3.12), as stated in Theorem 5.2.

We use results from [CJM+01, CMV03, CMV06] to prove that the latter solution converges exponentially fast to the global optimum, with rate O(e−2αt)O(e^{-2\alpha t}).

Given Theorems 5.1, 5.2, and the results of [CJM+01, CMV03, CMV06], this proof is relatively direct. We emphasize that, unlike Theorems 5.1, 5.2, the proof Theorem 5.3 relies in a crucial way on our structural assumptions, namely the concavity of ff, and the structure of the bump-like activation Kδ(x−wi)K_{\delta}({\boldsymbol{x}}-{\boldsymbol{w}}_{i}).

Discussion

It is instructive to compare the general strategy followed in this paper (and in related work, e.g. [MMN18, MMM19]) and the results we obtain, to a more classical approach in theoretical statistics. For the sake of clarity, we will abstract away most of the details of the present problem, and focus on the most important differences.

This is normally proved through a uniform convergence argument to establish a bound sup⁡w∣R^n(w)−R(w)∣≤err(D,n)/2\sup_{{\boldsymbol{w}}}|\widehat{R}_{n}({\boldsymbol{w}})-R({\boldsymbol{w}})|\leq{\sf err}(D,n)/2. Here err(D,n){\sf err}(D,n) is an error term that (hopefully) vanishes as n→∞n\to\infty for DD fixed. Second, one proves that gradient descent (with respect to the cost function R^n\widehat{R}_{n}) converges to a minimizer w^n\hat{\boldsymbol{w}}_{n}. This is achieved by showing that, with high probability, the landscape w↦R^n(w){\boldsymbol{w}}\mapsto\widehat{R}_{n}({\boldsymbol{w}}) satisfies some strong conditions that guarantee convergence of gradient descent (or other algorithms). For instance, one desirable (although not sufficient) property is that R^n\widehat{R}_{n} does not have local minima other than the global minima, provided that the sample size is large enough. A substantial literature applies this general scheme (with significant refinements) to a variety of non-convex problems in high-dimensional statistics, including phase retrieval, clustering, matrix completion, error-in-variables models, and so on. We refer to [MBM+18] for examples and a more detailed survey.

Unfortunately this approach runs into substantial difficulties when treating complex models such as multi-layer neural networks. We can name at least two sources of difficulties. First of all, the number of parameters DD in the model is often comparable with the sample size nn, and therefore uniform convergence of the empirical risk to population risk does not hold. For instance, in the present model, we could use a number of parameters Nd≳nNd\gtrsim n: indeed, such an example is considered in Figure 5-(a), where Nd=800Nd=800 and n∈{100,…,2000}n\in\{100,\dots,2000\}. Of course this problem can be addressed by constraining other measures of complexity than the number of parameters [Bar98], but the common practice is not to add such regularizers in the training.

The second source of difficulties is that studying the risk landscape, and ruling out local minima is extremely difficult, even if we limit ourselves to the n=∞n=\infty limit, i.e. the population risk R(w)R({\boldsymbol{w}}). In two-layers neural networks, part of this difficulty is due to the fact that the risk (1.2) is invariant under permutations of the NN neurons, and hence it has (generically) at least N!N! global minima related by permutations, and a large number of saddle points connecting them.

The approach pursued in this paper builds on two simple remarks, which are connected to the previous difficulties:

Uniform convergence of the empirical risk R^n(w)\widehat{R}_{n}({\boldsymbol{w}}) to the population risk R(w)R({\boldsymbol{w}}) is not necessary, nor it is necessary to control the random deviations of the whole landscape of the empirical risk. What is instead important is to control the landscape of the empirical risk along the trajectory of gradient descent from a given initialization.

A convenient way to implement this idea is to consider SGD in a one-pass setting in which each sample is used only once. In the limit of small step size, this converges to gradient flow with respect to R(w)R({\boldsymbol{w}}).

Absence of local minima in the population landscape R(w)R({\boldsymbol{w}}) is not necessary either. What is instead important is absence of local minima along the gradient flow trajectory for R(w)R({\boldsymbol{w}}) or, more precisely, the fact that the gradient flow trajectory converges to a global minimum.

These remarks suggest the following proof strategy. Let w(t){\boldsymbol{w}}(t) denote the gradient flow trajectory from a given initialization w(0)=w0{\boldsymbol{w}}(0)={\boldsymbol{w}}_{0} (namely w˙(t)=−∇R(w(t))\dot{{\boldsymbol{w}}}(t)=-\nabla R({\boldsymbol{w}}(t))), and wk{\boldsymbol{w}}^{k} be the (random) parameters produced after kk SGD steps. We first prove that gradient flow converges to a global optimum, possibly with explicit convergence rate Δ(t)\Delta(t):

where Δ(t)→0\Delta(t)\to 0 as t→∞t\to\infty. We then show that the SGD trajectory, after kk steps, is well approximated by the gradient flow for R(w)R({\boldsymbol{w}}) provided the step size ε{\varepsilon} is small. For instance we might prove that there exists a numerical constant c0c_{0} such that, for any kε≤Tk{\varepsilon}\leq T, with high probability

The reader might recognize that the last estimate is analogous to the one obtained in Theorem 5.1, while the estimate 6.2 is what we obtain from displacement convexity (after taking the limit δ→0\delta\to 0 using Theorem 5.2). Putting the two estimates together, and recalling that we can run a total of nn SGD steps (in the one-pass setting), we get

where we set w^=wk\hat{\boldsymbol{w}}={\boldsymbol{w}}^{k}. The error is reminiscent of a bias-variance tradeoff: the first term is a bias due to early stopping; the second is instead the stochastic approximation error. We can now optimize nn as to minimize this error. For instance, if Δ(t)=e−c1t\Delta(t)=e^{-c_{1}t}, and err(T)=ec2T{\sf err}(T)=e^{c_{2}T}, we can choose ε∝(log⁡n/n){\varepsilon}\propto(\log n/n), yielding R(w^)≤min⁡wR(w)+C(log⁡n)c0/nc′R(\hat{\boldsymbol{w}})\leq\min_{{\boldsymbol{w}}}R({\boldsymbol{w}})+C(\log n)^{c_{0}}/n^{c^{\prime}} where c′=c0c1/(c1+c2)c^{\prime}=c_{0}c_{1}/(c_{1}+c_{2}).

In summary, within the present approach, the generalization error is bounded via a tradeoff between the convergence rate of gradient flow in the population risk, and the error of approximating the gradient flow by SGD. A side benefit of this proof strategy is that it guarantees the existence of an efficient algorithm to compute the weights w^\hat{\boldsymbol{w}}.

Because of these additional challenges, our bounds are not nearly as neat as in Eqs. (6.2), 6.3 and depend on the additional parameters d,δd,\delta: in particular, the approximation by the porous medium equation in Theorem 5.2 is non-quantitative. We therefore refrain from optimizing the tradeoff between convergence rate of gradient flow, and error in stochastic approximation, which would result in suboptimal statistical guarantees, and defer this objective to future work.

Acknowledgements

A. Javanmard was partially supported by an Outlier Research in Business (iORB) grant from the USC Marshall School of Business, a Google Faculty Research award and the NSF CAREER award DMS-1844481. M. Mondelli was supported by an Early Postdoc.Mobility fellowship from the Swiss National Science Foundation and by the Simons Institute for the Theory of Computing. A. Montanari was partially supported by grants NSF DMS-1613091, CCF-1714305, IIS-1741162 and ONR N00014-18-1-2729. This work was carried out in part while the authors were visiting the Simons Institute for the Theory of Computing.

Appendix A Uniqueness of weak solutions of limit PDE (δ=0𝛿0\delta=0)

In this appendix, we prove that the limit PDE obtained for δ→0\delta\to 0, namely the porous medium equation (3.12) has at most one solution in \mathscrsfsL4(Ω×[0,T])\mathscrsfs{L}^{4}(\Omega\times[0,T]). Existence of such solutions will follow from the results of Appendix F, and in particular from Lemma F.4.

Throughout this appendix, we adopt the notation Φ(ρ)=τρ+ν0 ρ2/2\Phi(\rho)=\tau\rho+\nu_{0}\,\rho^{2}/2. Let us formally define the concept of weak solutions for the PDE (A.1).

We say that ρ∈\mathscrsfsC([0,T],\rho\in\mathscrsfs{C}([0,T], \mathscrsfsP2(Ω))\mathscrsfs{P}_{2}(\Omega)) is a weak solution of the PDE (A.1), with initial and boundary conditions (A.2) if

ρt\rho_{t} has density ρ( ⋅ ,t)\rho(\,\cdot\,,t) with respect to Lebesgue measure, and ρ∈\mathscrsfsL2(Ω×[0,T])\rho\in\mathscrsfs{L}^{2}(\Omega\times[0,T]).

For any test function h∈\mathscrsfsC2,1(Ω×[0,T])h\in\mathscrsfs{C}^{2,1}(\Omega\times[0,T]), satisfying ⟨n(x),∇h(x,t)⟩=0\langle{\boldsymbol{n}}({\boldsymbol{x}}),\nabla h({\boldsymbol{x}},t)\rangle=0 for all x∈∂Ω,t∈[0,T]{\boldsymbol{x}}\in\partial\Omega,t\in[0,T], we have

We now prove a uniqueness result, under a mild integrability condition.

Note that setting ν0=1\nu_{0}=1 corresponds to scaling time by a factor ν0\nu_{0} and to substituting τ\tau with τ ν0\tau\,\nu_{0}. Since the proof holds for any τ>0\tau>0, without loss of generality we can set ν0=1\nu_{0}=1.

Here, η^t\hat{\eta}_{t} is a smooth approximation of ηtM\eta_{t}^{M}, such that τ≤η^t(x)≤M\tau\leq\hat{\eta}_{t}({\boldsymbol{x}})\leq M. (We will make precise below in what sense η^t\hat{\eta}_{t} has to approximate ηtM\eta_{t}^{M}. For the moment, it can be a general smooth function satisfying the bounds τ≤η^t(x)≤M\tau\leq\hat{\eta}_{t}({\boldsymbol{x}})\leq M.) Note that (A.6) is a backward parabolic problem with smooth coefficients and with Neumann boundary conditions. Hence, by classical results on quasilinear parabolic PDEs [LSU88], it admits a solution ht∈\mathscrsfsC2,1(Ω×[0,T])h_{t}\in\mathscrsfs{C}^{2,1}(\Omega\times[0,T]). Rewriting (A.5) for such a test function hth_{t}, we get

By applying Cauchy-Schwarz inequality, we have that

Here (a)(a) follows from integration by parts in the integral over Ω\Omega and using the fact that ⟨n(x),∇ht(x)⟩=0\langle{\boldsymbol{n}}({\boldsymbol{x}}),\nabla h_{t}({\boldsymbol{x}})\rangle=0 for x∈∂Ω{\boldsymbol{x}}\in\partial\Omega and t∈[0,T]t\in[0,T]. Also, (b)(b) follows from integration by parts in the integral over tt. Finally (c)(c) holds because hT(x)=0h_{T}({\boldsymbol{x}})=0 for x∈Ω{\boldsymbol{x}}\in\Omega and μ(0)≥0\mu(0)\geq 0.

Getting back to (A) and using the properties of function μ(t)\mu(t), we have

The penultimate step follows from integration by parts and the constraint ⟨∇ht(x),n(x)⟩=0\langle\nabla h_{t}({\boldsymbol{x}}),{\boldsymbol{n}}({\boldsymbol{x}})\rangle=0, for x∈∂Ω{\boldsymbol{x}}\in\partial\Omega and t∈[0,T]t\in[0,T], and the last step follows by applying Cauchy-Schwartz inequality. We continue by applying Cauchy-Schwartz inequality again to get

where C=sup⁡x∈Ω∣∇f(x)∣C=\sup_{{\boldsymbol{x}}\in\Omega}|\nabla f({\boldsymbol{x}})|. Combining Equations (A.11) and (A.12), we get

where μmax⁡=sup⁡t∈[0,T]μ(t)\mu_{\max}=\sup_{t\in[0,T]}\mu(t). We find a smooth function μ(t)\mu(t) such that

μ(t)≥μmin⁡>0\mu(t)\geq\mu_{\min}>0, for t∈[0,T]t\in[0,T],

μ′(t)−2C2τμ(t)≥0\mu^{\prime}(t)-\frac{2C^{2}}{\tau}\mu(t)\geq 0.

Now by employing (A.14) in bound (A) combined with (A.7) we get

Call the first integral I1I_{1} and denote the second one by I2I_{2}. The integrand in I2I_{2} is pointwise bounded by

where ε{\varepsilon} is an arbitrary small fixed constant.

In addition, since η^t(x)≥τ\hat{\eta}_{t}({\boldsymbol{x}})\geq\tau, invoking (A.15) we have

Since μmax⁡μmin⁡=e2C2τT<∞\frac{\mu_{\max}}{\mu_{\min}}=e^{\frac{2C^{2}}{\tau}T}<\infty and θ\theta are independent of ε{\varepsilon}, by choosing ε{\varepsilon} arbitrarily small, we conclude that

Since θt(x)≥0\theta_{t}({\boldsymbol{x}})\geq 0 was an arbitrary smooth function supported on Ω×[0,T]\Omega\times[0,T], this implies that u≤0u\leq 0, almost everywhere. By repeating a similar argument, we get u≥0u\geq 0, almost everywhere. The result follows. ∎

Appendix B General results on the PDE (3.9) (δ>0𝛿0\delta>0)

This appendix contains some basic results on the PDE (3.9). Although these facts are standard, we collect them here for the reader’s convenience.

In fact, we will consider a more general PDE, which also includes as a special case the one studied in [MMN18]. We consider a compact convex domain DD, with a non-empty interior. The general PDE is parametrized by two functions V∈\mathscrsfsC2(D)V\in\mathscrsfs{C}^{2}(D) and U∈\mathscrsfsC2(D×D)U\in\mathscrsfs{C}^{2}(D\times D), with U(x1,x2)=U(x2,x1)U({\boldsymbol{x}}_{1},{\boldsymbol{x}}_{2})=U({\boldsymbol{x}}_{2},{\boldsymbol{x}}_{1}). (Unlike in [MMN18], we consider the case of a compact domain with Neumann boundary conditions.) Given ρ∈\mathscrsfsP2(D)\rho\in\mathscrsfs{P}_{2}(D), we define

We will typically write ρt( ⋅ )\rho_{t}(\,\cdot\,) for a solution of this equation, in order to emphasize that it is a function of tt that takes values in \mathscrsfsP2(D)\mathscrsfs{P}_{2}(D), and ρ(x,t)\rho({\boldsymbol{x}},t) for the corresponding density, viewed as a function on D×[0,T]D\times[0,T]. Let us formally define the concept of weak solutions for the PDE (B.2).

Note that the PDE (3.9) is a special case of this setting with D=ΩδD=\Omega^{\delta}, and V(w)V({\boldsymbol{w}}) and U(w1,w2)=U(w1−w2)U({\boldsymbol{w}}_{1},{\boldsymbol{w}}_{2})=U({\boldsymbol{w}}_{1}-{\boldsymbol{w}}_{2}) defined as follows:

For the special choice of VV and UU given by (B.4) the following properties hold:

lim⁡δ→0sup⁡w∈Ωδ∣V(w)+ν0 f(w)∣=0\lim_{\delta\to 0}\sup_{{\boldsymbol{w}}\in\Omega^{\delta}}|V({\boldsymbol{w}})+\nu_{0}\,f({\boldsymbol{w}})|=0.

U(w)=ν0 δ−2dK(2)(w/δ)U({\boldsymbol{w}})=\nu_{0}\,\delta^{-2d}K^{(2)}({\boldsymbol{w}}/\delta), where K(2)=K∗KK^{(2)}=K*K.

We have V(w)=−ν0∫Kδ(x)f(w−x)dxV({\boldsymbol{w}})=-\nu_{0}\int K^{\delta}({\boldsymbol{x}})f({\boldsymbol{w}}-{\boldsymbol{x}}){\rm d}{\boldsymbol{x}}. Hence,

This proves that V(w)V({\boldsymbol{w}}) is convex. The next two properties are straightforward. ∎

We say that ρ:[0,T]→\mathscrsfsP2(D)\rho:[0,T]\to\mathscrsfs{P}_{2}(D) is a weak solution of (B.2) with initial and boundary conditions (B.3) if ρ∈\mathscrsfsC([0,T],\mathscrsfsP2(D))\rho\in\mathscrsfs{C}([0,T],\mathscrsfs{P}_{2}(D)) and, for any test function h∈\mathscrsfsC2,1(D×[0,T])h\in\mathscrsfs{C}^{2,1}(D\times[0,T]), satisfying ⟨n(x),∇h(x,t)⟩=0\langle{\boldsymbol{n}}({\boldsymbol{x}}),\nabla h({\boldsymbol{x}},t)\rangle=0 for all x∈∂D,t∈[0,T]{\boldsymbol{x}}\in\partial D,t\in[0,T], we have

We now state and prove Duhamel’s principle for the PDE (B.2). Duhamel’s principle follows from the fact that the right-hand side of (B.2) contains the linear diffusion term τΔρ\tau\Delta\rho, and it will be crucial for the proofs that will follow.

Assume τ>0\tau>0. Let GD(x,y;t)G^{D}({\boldsymbol{x}},{\boldsymbol{y}};t) denote the heat kernel with Neumann boundary conditions, defined in (G.1)-(G.3). Let ρ\rho be a weak solution of the PDE (B.2) with initial and boundary conditions (B.3). Then, for any t>0t>0, ρt(dx)\rho_{t}({\rm d}{\boldsymbol{x}}) has a density, denoted by ρ(  ⋅  ,t)\rho(\;\cdot\;,t), which satisfies, for any t>0t>0,

By rescaling time, without loss of generality, we set τ=1\tau=1. Let φ∈\mathscrsfsC2(D)\varphi\in\mathscrsfs{C}^{2}(D), and define

By the properties of the heat kernel, we have:

Let ρt\rho_{t} be a weak solution. We choose the test function h(x,s)=Gφ(x;t−s)h({\boldsymbol{x}},s)=G_{\varphi}({\boldsymbol{x}};t-s) in (B.5) with T=tT=t. Note that by (B.8), this test function satisfies the Neumann boundary condition. In addition, by (B.9) we obtain

By an application of Fubini’s theorem, this implies

Since φ∈\mathscrsfsC2(D)\varphi\in\mathscrsfs{C}^{2}(D) is arbitrary, we obtain that ρt\rho_{t} admits a density and (B.6) follows. ∎

As an intermediate step towards proving existence and uniqueness, we consider a linearized problem

Then, the PDE (B.13) with initial and boundary conditions (B.14) has at most one weak solution.

Without loss of generality, we will set τ=1\tau=1. Assume by contradiction that ρ(1)\rho^{(1)}, ρ(2)\rho^{(2)} are two solutions. Fix arbitrary 0≤t′≤t0\leq t^{\prime}\leq t. Then, by an application of (B.6) to Ψ∗(x,t)\Psi_{*}({\boldsymbol{x}},t), we have

where we used the estimates of Theorem G.1. By taking supremum over 0≤t′≤t0\leq t^{\prime}\leq t form both sides, we obtain that for t<1/(C(D)2∥∇Ψ∗∥\mathscrsfsL∞(D×[0,T])2)t<1/(C(D)^{2}\|\nabla\Psi_{*}\|_{\mathscrsfs{L}^{\infty}(D\times[0,T])}^{2}),

Therefore, the two solutions coincide if we fix the initial condition ρ(1)( ⋅ ,0)=ρ(2)( ⋅ ,0)=ρ\mboxinit\rho^{(1)}(\,\cdot\,,0)=\rho^{(2)}(\,\cdot\,,0)=\rho_{\mbox{\tiny\rm init}}. For larger tt, the claim follows by iterating the above argument. ∎

Appendix C Nonlinear dynamics

The ‘nonlinear dynamics’ plays an important role in our proof of Theorem 5.1. In this section we adopt the same general setting as in Appendix B, remembering that for our application we set D=ΩδD=\Omega^{\delta} and U,VU,V as per Eq. (B.4).

Given ρ:[0,T]→\mathscrsfsP2(D)\rho:[0,T]\to\mathscrsfs{P}_{2}(D), consider the following stochastic differential equation for a process (Xt)t∈[0,T](\boldsymbol{X}_{t})_{t\in[0,T]}, with a reflecting boundary condition (known as ‘Skorokhod problem’)

where (Bt)t≥0(\boldsymbol{B}_{t})_{t\geq 0} is a standard dd-dimensional Brownian motion and (Φt)t≥0({\boldsymbol{\Phi}}_{t})_{t\geq 0} enforces the reflecting boundary by satisfying the following constraints (recall that n(x){\boldsymbol{n}}({\boldsymbol{x}}) is the normal to ∂D\partial D at x∈∂D{\boldsymbol{x}}\in\partial D, directed inside):

(Φt)t≥0({\boldsymbol{\Phi}}_{t})_{t\geq 0} is adapted (and hence so is (Xt)t≥0(\boldsymbol{X}_{t})_{t\geq 0}).

t↦Φtt\mapsto{\boldsymbol{\Phi}}_{t} has (almost surely) bounded variation. Denoting by ∥Φ∥\mboxTV(t)\|{\boldsymbol{\Phi}}\|_{\mbox{\tiny\rm TV}}(t) the total variation of Φ{\boldsymbol{\Phi}} on the interval [0,t][0,t], we define the measure μΦ\mu_{\Phi} on [0,T][0,T] by μΦ([0,t])=∥Φ∥\mboxTV(t)\mu_{\Phi}([0,t])=\|{\boldsymbol{\Phi}}\|_{\mbox{\tiny\rm TV}}(t).

μΦ({t: Xt∈D∘})=0\mu_{\Phi}(\{t:\,\boldsymbol{X}_{t}\in D^{\circ}\})=0, where D∘D^{\circ} denotes the interior of DD.

where Ns=n(Xs){\boldsymbol{N}}_{s}={\boldsymbol{n}}(\boldsymbol{X}_{s}), for μΦ\mu_{\Phi}-almost every ss.

Then, (Xt,Φt)t∈[0,T](\boldsymbol{X}_{t},{\boldsymbol{\Phi}}_{t})_{t\in[0,T]} is said to solve the Skorokhod problem.

Fix ρ\mboxinit∈\mathscrsfsP2(D)\rho_{\mbox{\tiny\rm init}}\in\mathscrsfs{P}_{2}(D) and let ρ:[0,T]→\mathscrsfsP2(D)\rho:[0,T]\to\mathscrsfs{P}_{2}(D) with ρ0=ρ\mboxinit\rho_{0}=\rho_{\mbox{\tiny\rm init}}. Then, the Skorokhod problem (C.1), (C.2) admits a unique solution (Xt)t≥0(\boldsymbol{X}_{t})_{t\geq 0} with continuous paths. Define \mathscrsfsF(ρ)t∈\mathscrsfsP2(D)\mathscrsfs{F}(\rho)_{t}\in\mathscrsfs{P}_{2}(D), for t∈[0,T]t\in[0,T], by letting \mathscrsfsF(ρ)t=Law(Xt)\mathscrsfs{F}(\rho)_{t}={\rm Law}(\boldsymbol{X}_{t}). Then, \mathscrsfsF(ρ)∈\mathscrsfsC([0,T],\mathscrsfsP2(D))\mathscrsfs{F}(\rho)\in\mathscrsfs{C}([0,T],\mathscrsfs{P}_{2}(D)).

Let b(x,t)≡−∇Ψ(x,ρt){\boldsymbol{b}}({\boldsymbol{x}},t)\equiv-\nabla\Psi({\boldsymbol{x}},\rho_{t}) and notice that, by the smoothness of U,VU,V, and compactness of DD, this is a Lipschitz continuous function of x{\boldsymbol{x}}. Hence the problem (C.1), (C.2) admits a unique solution by [Tan79, Theorem 4.1].

We are left with the task of proving that t↦\mathscrsfsF(ρ)tt\mapsto\mathscrsfs{F}(\rho)_{t} is continuous in W2W_{2} metric. Notice that

By [Tan79, Lemma 2.2], we have, for any s≤ts\leq t,

We say that ρ∈\mathscrsfsC([0,T];\mathscrsfsP2(D))\rho\in\mathscrsfs{C}([0,T];\mathscrsfs{P}_{2}(D)) is a solution of the nonlinear dynamics if \mathscrsfsF(ρ)=ρ\mathscrsfs{F}(\rho)=\rho, namely

Assume τ>0\tau>0. If ρ:[0,T]→\mathscrsfsP2(D)\rho:[0,T]\to\mathscrsfs{P}_{2}(D) is a weak solution of the PDE (B.2) with initial and boundary conditions (B.3), then it is a solution of the nonlinear dynamics. Vice versa, if ρ:[0,T]→\mathscrsfsP2(D)\rho:[0,T]\to\mathscrsfs{P}_{2}(D) is a solution of the nonlinear dynamics, then it is a weak solution of PDE (B.2) with initial and boundary conditions (B.3).

Next, assume that ρ:[0,T]→\mathscrsfsP2(D)\rho:[0,T]\to\mathscrsfs{P}_{2}(D) is a solution of the nonlinear dynamics. Then by the same application of Ito’s formula to the process Xt\boldsymbol{X}_{t}, we have

which coincides with the claim that ρ\rho is a weak solution of the PDE (B.2). ∎

For any initial condition ρ\mboxinit∈\mathscrsfsP2(D)\rho_{\mbox{\tiny\rm init}}\in\mathscrsfs{P}_{2}(D), and any T>0T>0, the nonlinear dynamics (C.6) admits a unique solution ρ:[0,T]→\mathscrsfsP2(D)\rho:[0,T]\to\mathscrsfs{P}_{2}(D) with ρ0=ρ\mboxinit\rho_{0}=\rho_{\mbox{\tiny\rm init}}. As a consequence, the PDE (B.2) with initial and boundary conditions (B.3) has a unique solution.

Note that it is sufficient to prove the claim for T≤T0T\leq T_{0}, where T0>0T_{0}>0 is a small enough constant, since this implies the claim for arbitrary TT by breaking [0,T][0,T] into intervals of size smaller than T0T_{0}.

Selecting T0T_{0} small enough, so that (2CT02)/(1−2LT02)≤1/2(2CT_{0}^{2})/(1-2LT_{0}^{2})\leq 1/2, we obtain

This proves that \mathscrsfsF\mathscrsfs{F} is a contraction as claimed. By Lemma C.1, \mathscrsfsF\mathscrsfs{F} maps \mathscrsfsC([0,T],P2(D))\mathscrsfs{C}([0,T],{\mathcal{P}}_{2}(D)) into itself. Furthermore, \mathscrsfsC([0,T],P2(D))\mathscrsfs{C}([0,T],{\mathcal{P}}_{2}(D)) is complete with respect to the metric dd. As a result, there exists a unique fixed point. ∎

This can be viewed as an Euler discretization of the stochastic differential equation (C.1), (C.2), and the next theorem establishes that this is indeed a close approximation of the original process. It is just an immediate consequence of a result of Slomiński [Slo94, Slo01].

The proof is obtained simply by chasing the constants in the proof of Theorem 3.2 (part (ii)) of [Slo01], and using the optimal constant in the Burkholder-Davis-Gundy inequality (which yields C(p)≤(C∗p)2pC(p)\leq(C_{*}p)^{2p} in [Slo01, Eq. (2.7)]). ∎

Appendix D Convergence of SGD to the PDE: Proof of Theorem 5.1

The proof is a ‘propagation of chaos’ argument [Szn91]. While the basic idea is similar to the one used in [MMN18], implementing it requires different estimates because of the reflecting boundary conditions. In particular, we rely on tools developed in the study of discretizations of reflecting stochastic differential equations.

∥y∥∞\|y\|_{\infty}, ∥σ∥∞=esssup⁡w∈D,x∣σ(x;w)∣≤σ∞\|\sigma\|_{\infty}={\rm ess}\sup_{{\boldsymbol{w}}\in D,{\boldsymbol{x}}}|\sigma({\boldsymbol{x}};{\boldsymbol{w}})|\leq\sigma_{\infty}, and ∇wσ(x;w)\nabla_{{\boldsymbol{w}}}\sigma({\boldsymbol{x}};{\boldsymbol{w}}) is γ\gamma-subgaussian.

Consider the general update (D.1) with initialization (wi0)i≤N∼iidρ0=ρ\mboxinit({\boldsymbol{w}}_{i}^{0})_{i\leq N}\sim_{iid}\rho_{0}=\rho_{\mbox{\tiny\rm init}}, under the conditions (G1){\sf(G1)}, (G2){\sf(G2)} above. For t≥0t\geq 0, let ρt\rho_{t} be the unique solution of the PDE (B.2) with initial and boundary conditions (B.3). Assume supp(ρ\mboxinit)⊆B(0,r){\rm supp}(\rho_{\mbox{\tiny\rm init}})\subseteq{\sf B}({\boldsymbol{0}},r).

Theorem 5.1 follows as a special case of Theorem D.1 by considering σ(x;w)=Kδ(x−w)\sigma({\boldsymbol{x}};{\boldsymbol{w}})=K_{\delta}({\boldsymbol{x}}-{\boldsymbol{w}}) and letting σ∞≤C∗δ−d\sigma_{\infty}\leq C_{*}\delta^{-d}, γ=C∗δ−d−1\gamma=C_{*}\delta^{-d-1} and L=C∗δ−2d−1L=C_{*}\delta^{-2d-1}.

Let Fk{\mathcal{F}}_{k} denote the sigma algebra generated by (zj)j≤k({\boldsymbol{z}}_{j})_{j\leq k} and denote the empirical distribution of (wik)i≤N({\boldsymbol{w}}_{i}^{k})_{i\leq N} by ρk(N)≡∑i=1nδwik\rho^{(N)}_{k}\equiv\sum_{i=1}^{n}\delta_{{\boldsymbol{w}}_{i}^{k}}. Note that

We introduce two auxiliary processes (w‾ik)i≤N(\overline{\boldsymbol{w}}_{i}^{k})_{i\leq N} (w^ik)i≤N(\hat{\boldsymbol{w}}_{i}^{k})_{i\leq N}, with initial conditions w‾i0=w^i0=wi0\overline{\boldsymbol{w}}_{i}^{0}=\hat{\boldsymbol{w}}_{i}^{0}={\boldsymbol{w}}_{i}^{0}, as follows:

In particular, for any kk, (w^ik)i≤N∼iidρkε(\hat{\boldsymbol{w}}_{i}^{k})_{i\leq N}\sim_{iid}\rho_{k{\varepsilon}}.

The trajectories (w‾ik)k≥0(\overline{\boldsymbol{w}}_{i}^{k})_{k\geq 0} are obtained by the Euler discretization of the non-linear dynamics:

As above, (ρs)s≥0(\rho_{s})_{s\geq 0} is the solution of the PDE (B.2). Note that, again, the (w‾ik)i≤N(\overline{\boldsymbol{w}}_{i}^{k})_{i\leq N} are i.i.d. although their distribution does not coincide with ρkε\rho_{k{\varepsilon}}.

We construct these three processes on the same space by letting Bi((k+1)ε)=Bi(kε)+εgik+1\boldsymbol{B}_{i}((k+1){\varepsilon})=\boldsymbol{B}_{i}(k{\varepsilon})+\sqrt{{\varepsilon}}{\boldsymbol{g}}_{i}^{k+1}, and define the distances (for q≥1q\geq 1)

Note that wik{\boldsymbol{w}}_{i}^{k}, w‾ik\overline{\boldsymbol{w}}_{i}^{k} take the form

Finally, φik{\boldsymbol{\varphi}}^{k}_{i}, φ‾ik\overline{\boldsymbol{\varphi}}^{k}_{i} are corrections to satisfy the constraint wik,w‾ik∈D{\boldsymbol{w}}_{i}^{k},\overline{\boldsymbol{w}}_{i}^{k}\in D. Indeed the above can be viewed as Skorokhod problems with unknowns (wi,φi)({\boldsymbol{w}}_{i},{\boldsymbol{\varphi}}_{i}) and (w‾i,φ‾i)(\overline{\boldsymbol{w}}_{i},\overline{\boldsymbol{\varphi}}_{i}).

Using [Slo94, Theorem 1] (where we can set Cp=(C∗p)2pC_{p}=(C_{*}p)^{2p} which is the tight constant in the Burkholder-Davis-Gundy inequality), we get

where [M]k[{\boldsymbol{M}}]_{k} denotes the quadratic variation of the martingale M{\boldsymbol{M}}, and ∣V∣k|{\boldsymbol{V}}|_{k} is the total variation of the process V{\boldsymbol{V}}. We then have

By using the inequality xp≤exp!x^{p}\leq e^{x}p!, this implies, for α≤d/2\alpha\leq\sqrt{d/2},

By taking α=p/k\alpha=\sqrt{p/k} (which is allowed provided p≤kd/2p\leq\sqrt{kd/2}), we obtain that

We next consider the total variation of the process Vi{\boldsymbol{V}}_{i} in Eq. (D.17). We have

Using the Lipschitz property of ∇V\nabla V, ∇U\nabla U, we get

For the second term, we get, by triangular inequality,

Substituting (D.23), (D.24), (D.27), (D.28) in Eq. (D.17), we obtain

Using Eq. (D.10) and Gronwall inequality, along with the fact that kε≤Tk{\varepsilon}\leq T, this yields

By Markov inequality along with the Jensen inequality applied to the convex function x2px^{2p}, we have

where in the third step we used (D.8) and (D.9). Set Δ=z eC∗pLTerr(N,d,ε)\Delta=z\,e^{C_{*}pLT}{\sf err}(N,d,{\varepsilon}). Thus, we obtain

The bounds in Eq. (D.3) follow straightforwardly from Eq. (D.31) as in the proofs of Lemma 3.3 and 3.4 in the supplementary material of [MMN18]. ∎

Appendix E Regularity of the solutions of the PDE (3.9) (δ>0𝛿0\delta>0)

In this section we prove some standard regularity properties of the solutions of the PDE (3.9), for δ>0\delta>0, and indeed for the more general PDE (B.2). First of all, we show that the weak solution of the PDE (B.2) is in fact strong, i.e., ρ∈\mathscrsfsC2,1(Ωδ,[0,T])\rho\in\mathscrsfs{C}^{2,1}(\Omega^{\delta},[0,T]) and the equation (B.2) holds pointwise. We will then prove upper bounds on ∇Kδ∗ρ\nabla K^{\delta}\ast\rho and ∇Uδ∗ρ\nabla U^{\delta}\ast\rho that are uniform in δ\delta. These will be crucial in order to take the δ→0\delta\to 0 limit in the next section.

We start by proving a bound on the \mathscrsfsL∞\mathscrsfs{L}^{\infty} norm of ρ\rho. In the proofs of the two lemmas that follow, we assume without loss of generality that τ=1\tau=1.

Let ρt\rho_{t} be a weak solution of the PDE (B.2) with initial and boundary conditions (B.3). Recall that ρt\rho_{t} has a density with respect to Lebesgue measure, denoted by ρ( ⋅ ,t)\rho(\,\cdot\,,t). Then, there exists a constant C(Ω)C(\Omega) such that, by letting L=(∥∇V∥\mathscrsfsL∞(Ω)∨∥∇U∥\mathscrsfsL∞(Ω×Ω))L=(\|\nabla V\|_{\mathscrsfs{L}^{\infty}(\Omega)}\vee\|\nabla U\|_{\mathscrsfs{L}^{\infty}(\Omega\times\Omega)}), we have

Any solution the PDE (B.2) satisfies Eq. (B.6). Given a measurable (Borel) function ρ∈mB(Ω×[0,T])\rho\in m{\mathcal{B}}(\Omega\times[0,T]), denote by \mathscrsfsD(ρ)∈mB(Ω×[0,T])\mathscrsfs{D}(\rho)\in m{\mathcal{B}}(\Omega\times[0,T]) the function given by the right-hand side of (B.2). Let C(Ω)C(\Omega) be the constant in the statement of Theorem G.1 (part 3) and let CU,V≡C(Ω)(∥∇V∥\mathscrsfsL∞(Ω)+∥∇U∥\mathscrsfsL∞(Ω×Ω))C_{U,V}\equiv C(\Omega)(\|\nabla V\|_{\mathscrsfs{L}^{\infty}(\Omega)}+\|\nabla U\|_{\mathscrsfs{L}^{\infty}(\Omega\times\Omega)}). We then have

Hence \mathscrsfsD\mathscrsfs{D} maps \mathscrsfsL∞(Ω×[0,T])\mathscrsfs{L}^{\infty}(\Omega\times[0,T]) into itself, and is a contraction for CU,VT<1C_{U,V}\sqrt{T}<1. Therefore, it must have a unique fixed point in \mathscrsfsL∞\mathscrsfs{L}^{\infty} that coincides with the unique solution of PDE (B.2). Let T0=1/(4CUV2)T_{0}=1/(4C_{UV}^{2}). Then for that fixed point ρ∈\mathscrsfsL∞(Ω×[0,T])\rho\in\mathscrsfs{L}^{\infty}(\Omega\times[0,T]) we have from Eq. (E.3)

The desired claim follow by iterating this inequality ⌈t/T0⌉\lceil t/T_{0}\rceil times. ∎

We prove the claim for q=2q=2. For larger values of qq, the proof is similar and it only requires to iterate the argument.

The proof of [MMN18][Supplementary material, Lemma 6.7] uses the following inequality from [LSU88][Chapter IV, Section 3, Eq. (3.1)]

Furthermore, (G.11) of Theorem G.1 yields

Since GRΩ∈\mathscrsfsC∞(Ω×Ω×[0,T])G_{R}^{\Omega}\in\mathscrsfs{C}^{\infty}(\Omega\times\Omega\times[0,T]), we have that

The proof of [MMN18][Supplementary material, Lemma 6.7] can be repeated verbatimly with (E.7) replaced by (E.10). ∎

As a consequence of the last lemma, the PDE (B.2) admits unique strong solutions ρ∈\mathscrsfsC2,1(Ω,[0,T])\rho\in\mathscrsfs{C}^{2,1}(\Omega,[0,T]) with initial condition ρ\mboxinit\rho_{\mbox{\tiny\rm init}} and Neumann boundary condition. We will use ρ(t)\rho(t) as shortcut for ρ( ⋅ ,t)\rho(\,\cdot\,,t). The rest of this appendix is devoted to prove further regularity results for ρ(t)\rho(t), which will be crucial in the proofs provided in Appendix F. To emphasize the dependence of ρ\rho on δ\delta, we will denote this solution by ρδ\rho^{\delta}.

In what follows, we will set the initial condition ρδ(0)≡ρ\mboxinitδ\rho^{\delta}(0)\equiv\rho_{\mbox{\tiny\rm init}}^{\delta} at δ>0\delta>0 to be defined via ρ\mboxinitδ(w)=λδ−dρ\mboxinit(w/λδ)\rho_{\mbox{\tiny\rm init}}^{\delta}({\boldsymbol{w}})=\lambda_{\delta}^{-d}\rho_{\mbox{\tiny\rm init}}({\boldsymbol{w}}/\lambda_{\delta}), with λδ\lambda_{\delta} given by Eq. (3.4)

It is useful to recall the definition of free energy, which is given by

The following lemma provides an expression for the derivative of the free energy with respect to time. Such an expression immediately yields an upper bound on the \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega) norm of Kδ∗ρδ(t)K^{\delta}*\rho^{\delta}(t) which is independent of δ\delta.

Let ρδ∈\mathscrsfsC2,1(Ωδ,[0,T])\rho^{\delta}\in\mathscrsfs{C}^{2,1}(\Omega^{\delta},[0,T]) be the solution of the PDE (B.2) with initial and boundary conditions (B.3). Then,

By differentiating Fδ(ρδ(t))F^{\delta}(\rho^{\delta}(t)) along the solution of (B.2), we obtain

Let ρδ∈\mathscrsfsC2,1(Ωδ,[0,T])\rho^{\delta}\in\mathscrsfs{C}^{2,1}(\Omega^{\delta},[0,T]) be the solution of the PDE (B.2) with initial and boundary conditions (B.3). Then,

where ∣Ωδ∣|\Omega^{\delta}| denotes the volume of the set Ωδ\Omega^{\delta}.

By Lemma E.3 we have Fδ(ρδ(t))≤Fδ(ρδ(0))F^{\delta}(\rho^{\delta}(t))\leq F^{\delta}(\rho^{\delta}(0)). The claim follows by substituting the definition of Fδ(ρδ)F^{\delta}(\rho^{\delta}) and using S(ρδ)≤log⁡∣Ωδ∣S(\rho^{\delta})\leq\log|\Omega^{\delta}|. ∎

By Corollary E.4, we are able to provide a δ\delta-free upper bound on ν0∥Kδ∗ρδ(t)−f∥\mathscrsfsL2(Ω)2\nu_{0}\|K^{\delta}{*}\rho^{\delta}(t)-f\|^{2}_{\mathscrsfs{L}^{2}(\Omega)}. Specifically, Ωδ⊆Ω\Omega^{\delta}\subseteq\Omega and hence ∣Ωδ∣≤∣Ω∣|\Omega^{\delta}|\leq|\Omega|. We also have

Since λδ→1\lambda_{\delta}\to 1 as δ→0\delta\to 0, there exists a C∗>0C_{*}>0 such that for δ<C∗\delta<C_{*}, λδ≥1/2\lambda_{\delta}\geq 1/2. Thus, the term S(ρδ(0))S(\rho^{\delta}(0)) has a δ\delta-free upper bound.

By Young’s inequality it only remains to give a δ\delta-free upper bound on the quantity ∥ρδ(0)∥\mathscrsfsL2(Ω)\|\rho^{\delta}(0)\|_{\mathscrsfs{L}^{2}(\Omega)}. Let us write

Again, for δ<C∗\delta<C_{*}, λδ≥1/2\lambda_{\delta}\geq 1/2. Also, by Assumption (A5) and the fact that Ω\Omega is compact, we have ∥ρ\mboxinit2∥\mathscrsfsL2(Ω)2<∞\|\rho^{2}_{\mbox{\tiny\rm init}}\|^{2}_{\mathscrsfs{L}^{2}(\Omega)}<\infty, which concludes the claim.

We next prove δ\delta-free upper bound on the gradient of ∇Kδ∗ρδ\nabla K^{\delta}{*}\rho^{\delta}.

Let ρδ∈\mathscrsfsC2,1(Ωδ,[0,T])\rho^{\delta}\in\mathscrsfs{C}^{2,1}(\Omega^{\delta},[0,T]) be the solution of the PDE (B.2) with initial and boundary conditions (B.3). Then, the following bound holds:

Denote by ⟨f,g⟩=∫f(x)g(x)dx\langle f,g\rangle=\int f({\boldsymbol{x}})g({\boldsymbol{x}}){\rm d}{\boldsymbol{x}} the standard scalar product in \mathscrsfsL2\mathscrsfs{L}^{2}. Then,

By integrating (E.16) between and TT, we obtain

Hence, (E.15) follows from Corollary E.4. ∎

Note that by virtue of Lemma E.5, we are able to get a δ\delta-free upper bound on the left-hand side of (E.15). Indeed, by definition of ∇V\nabla V as per (B.4) and using Assumption (A3), we have the δ\delta-free bound:

In addition, by Remark E.1, ∥Kδ∗ρδ(0)∥\mathscrsfsL2(Ω)2\|K^{\delta}{*}\rho^{\delta}(0)\|_{\mathscrsfs{L}^{2}(\Omega)}^{2} has δ\delta-free bound.

Appendix F Global convergence: Proof of Theorems 5.2 and 5.3

We start by showing that ρδ\rho^{\delta} admits a limit in a suitable functional space as δ→0\delta\to 0.

Let ρδ∈\mathscrsfsC2,1(Ωδ,\rho^{\delta}\in\mathscrsfs{C}^{2,1}(\Omega^{\delta}, [0,T])[0,T]) be the unique solution of the PDE (B.2) with initial and boundary conditions (B.3). Then, the family (ρδ)δ>0(\rho^{\delta})_{\delta>0} is relatively compact in the space \mathscrsfsC([0,T],\mathscrsfsP2(Ω))\mathscrsfs{C}([0,T],\mathscrsfs{P}_{2}(\Omega)). In particular any sequence (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1}, admits a converging subsequence.

This follows from the Ascoli-Arzelá’s theorem. Notice that \mathscrsfsP2(Ω)\mathscrsfs{P}_{2}(\Omega) is compact due to the compactness of Ω\Omega. Therefore, it is sufficient to prove that the family is equicontinuous. Using the representation in terms of nonlinear dynamics (cf. Appendix C), we have

Note that we omit for simplicity the dependence on δ\delta. Recall that the nonlinear dynamic satisfies (for b(x,t)≡−∇Ψ(x,ρt){\boldsymbol{b}}({\boldsymbol{x}},t)\equiv-\nabla\Psi({\boldsymbol{x}},\rho_{t}))

where [B]st[\boldsymbol{B}]_{s}^{t} denotes the quadratic variation of B\boldsymbol{B}, and ∣V∣st|{\boldsymbol{V}}|_{s}^{t} the total variation of V{\boldsymbol{V}} between times ss and tt. We thus have

We have now proved that the sequence (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1} admits a converging subsequence, where δn→0\delta_{n}\to 0 as n→∞n\to\infty. Fix such a convergent subsequence and, with an abuse of notation, also denote it by (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1}. Let ρ∞∈\mathscrsfsC([0,T],\mathscrsfsP2(Ω))\rho^{\infty}\in\mathscrsfs{C}([0,T],\mathscrsfs{P}_{2}(\Omega)) be its limit.

Recall that ρδn\rho^{\delta_{n}} is supported in Ωδn\Omega^{\delta_{n}}. Hence, Kδn∗ρδnK^{\delta_{n}}\ast\rho^{\delta_{n}} is supported in Ω\Omega and Kδn∗ρδn∈\mathscrsfsP2(Ω)K^{\delta_{n}}\ast\rho^{\delta_{n}}\in\mathscrsfs{P}_{2}(\Omega). We will now show that (Kδn∗ρδn)n≥1(K^{\delta_{n}}\ast\rho^{\delta_{n}})_{n\geq 1} has the same limit as (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1} in \mathscrsfsC([0,T],\mathscrsfsP2(Ω))\mathscrsfs{C}([0,T],\mathscrsfs{P}_{2}(\Omega)).

The sequence (Kδn∗ρδn)n≥1(K^{\delta_{n}}\ast\rho^{\delta_{n}})_{n\geq 1} also converges in \mathscrsfsC([0,T],\mathscrsfs{C}([0,T], \mathscrsfsP2(Ω))\mathscrsfs{P}_{2}(\Omega)) to ρ∞\rho^{\infty}.

By Lemma F.1, the result is implied by the following claim:

for any coupling γ\gamma of the probability distributions of x{\boldsymbol{x}} and y{\boldsymbol{y}}. Hence,

Thus, it suffices to show that sup⁡0≤t≤TW1(Kδn∗ρtδn,ρtδn)→0\sup_{0\leq t\leq T}W_{1}(K^{\delta_{n}}\ast\rho_{t}^{\delta_{n}},\rho_{t}^{\delta_{n}})\to 0 as n→∞n\to\infty.

We will now prove a stronger convergence result.

The measure ρ∞\rho^{\infty} has a density, which is the limit in \mathscrsfsL2(Ω×[0,T])\mathscrsfs{L}^{2}(\Omega\times[0,T]) of the sequence (Kδn∗ρδn)n≥1(K^{\delta_{n}}\ast\rho^{\delta_{n}})_{n\geq 1}.

By Corollary E.4, we have that, for any n≥1n\geq 1, Kδn∗ρδn∈\mathscrsfsL2(Ω×[0,T])K^{\delta_{n}}\ast\rho^{\delta_{n}}\in\mathscrsfs{L}^{2}(\Omega\times[0,T]). Let us show that (Kδn∗ρδn)n≥1(K^{\delta_{n}}\ast\rho^{\delta_{n}})_{n\geq 1} is a Cauchy sequence in \mathscrsfsL2(Ω×[0,T])\mathscrsfs{L}^{2}(\Omega\times[0,T]).

As Kδn∗ρtδn∈\mathscrsfsL2(Ω)K^{\delta_{n}}\ast\rho_{t}^{\delta_{n}}\in\mathscrsfs{L}^{2}(\Omega) for every t∈[0,T]t\in[0,T], its Fourier transform exists and we denote it by \savestack\tmpbox\stretchto\scaleto\scalerel∗[\widthofKδn∗ρδn]\mathchar8662.4ex\stackon[−6.9pt]Kδn∗ρδn\tmpbox\savestack{\tmpbox}{\stretchto{\scaleto{\scalerel*[\widthof{K^{\delta_{n}}\ast\rho^{\delta_{n}}}]{\kern 0.1pt\mathchar 866\relax\kern 0.1pt}{\rule{0.0pt}{505.89pt}}}{}}{2.4ex}}\stackon[-6.9pt]{K^{\delta_{n}}\ast\rho^{\delta_{n}}}{\tmpbox}. Hence, by applying Parseval’s theorem, we have

Fix Λ>1\Lambda>1 and decompose the integral in the right-hand side of (F.11) as

Consider the first term of (F.12). By Lemma F.2, and since by Jensen’s inequality W1(ρ1,ρ2)≤W2(ρ1,ρ2)W_{1}(\rho_{1},\rho_{2})\leq W_{2}(\rho_{1},\rho_{2}) for any two distributions ρ1,ρ2\rho_{1},\rho_{2}, we have W1(Kδn∗ρtδn−Kδn′∗ρtδn′)→0W_{1}(K^{\delta_{n}}*\rho_{t}^{\delta_{n}}-K^{\delta_{n^{\prime}}}*\rho_{t}^{\delta_{n^{\prime}}})\to 0, as n,n′→∞n,n^{\prime}\to\infty. Since for the complex exponential functions ∥ei⟨λ,x⟩∥Lip≤∣λ∣\|e^{i\langle{\boldsymbol{\lambda}},{\boldsymbol{x}}\rangle}\|_{{\rm Lip}}\leq|{\boldsymbol{\lambda}}|, by definition of 1-Wasserstein distance, the integrand in the first term converges pointwise to . Furthermore, the integrand is upper bounded by an integrable function, since ∣\savestack\tmpbox\stretchto\scaleto\scalerel∗[\widthofKδn∗ρtδn]\mathchar8662.4ex\stackon[−6.9pt]Kδn∗ρtδn\tmpbox(λ)∣≤∥Kδn∗ρtδn∥\mathscrsfsL2(Ω)≤C|\savestack{\tmpbox}{\stretchto{\scaleto{\scalerel*[\widthof{K^{\delta_{n}}\ast\rho_{t}^{\delta_{n}}}]{\kern 0.1pt\mathchar 866\relax\kern 0.1pt}{\rule{0.0pt}{505.89pt}}}{}}{2.4ex}}\stackon[-6.9pt]{K^{\delta_{n}}\ast\rho_{t}^{\delta_{n}}}{\tmpbox}({\boldsymbol{\lambda}})|\leq\|K^{\delta_{n}}\ast\rho_{t}^{\delta_{n}}\|_{\mathscrsfs{L}^{2}(\Omega)}\leq C for all nn and every t∈[0,T]t\in[0,T]. Hence, by dominated convergence, the first integral in (F.12) converges to .

As for the second term of (F.12), the following chain of inequalities holds:

where in the last equality we have applied again Parseval’s theorem. By Lemma E.5, the integral in the right-hand side of (F.13) is upper bounded by a constant independent of nn. Therefore, as Λ→∞\Lambda\to\infty, the second term of (F.12) converges to .

From now on, with an abuse of notation, we will use ρ∞\rho^{\infty} to denote also the density which is the limit in \mathscrsfsL2(Ω×[0,T])\mathscrsfs{L}^{2}(\Omega\times[0,T]) of the sequence (Kδn∗ρδn)n≥1(K^{\delta_{n}}\ast\rho^{\delta_{n}})_{n\geq 1}.

Let ρ∞\rho^{\infty} be the limit in \mathscrsfsC([0,T],\mathscrsfsP2(Ω))\mathscrsfs{C}([0,T],\mathscrsfs{P}_{2}(\Omega)) of the converging sequence (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1}. Then, ρ∞\rho^{\infty} is a weak solution of the PDE (A.1) with initial and boundary conditions (A.2).

By Lemma F.3, we have that ρ∞∈\mathscrsfsL2(Ω×[0,T])\rho^{\infty}\in\mathscrsfs{L}^{2}(\Omega\times[0,T]). Choose a test function h∈\mathscrsfsC2,1(Ω×[0,T])h\in\mathscrsfs{C}^{2,1}(\Omega\times[0,T]), satisfying ⟨n(x),∇h(x,t)⟩=0\langle{\boldsymbol{n}}({\boldsymbol{x}}),\nabla h({\boldsymbol{x}},t)\rangle=0 for all x∈∂Ω,t∈[0,T]{\boldsymbol{x}}\in\partial\Omega,t\in[0,T]. In order to prove the claim, we need to show that (A.3) holds. Throughout the proof, we will let λn≡λδn\lambda_{n}\equiv\lambda_{\delta_{n}}.

Recall that, for any n≥1n\geq 1, ρδn\rho^{\delta_{n}} is a weak solution of the PDE (B.2) with initial and boundary conditions (B.3). Hence, by Definition B.1, we have that

for any hδn∈\mathscrsfsC2,1(Ωδn×[0,T])h^{\delta_{n}}\in\mathscrsfs{C}^{2,1}(\Omega^{\delta_{n}}\times[0,T]) satisfying ⟨n(x),∇hδn(x,t)⟩=0\langle{\boldsymbol{n}}({\boldsymbol{x}}),\nabla h^{\delta_{n}}({\boldsymbol{x}},t)\rangle=0 for all x∈∂Ωδn,t∈[0,T]{\boldsymbol{x}}\in\partial\Omega^{\delta_{n}},t\in[0,T]. Now, we set

By definition of Ωnδ\Omega^{\delta}_{n}, we have that hδn∈\mathscrsfsC2,1(Ωδn×[0,T])h^{\delta_{n}}\in\mathscrsfs{C}^{2,1}(\Omega^{\delta_{n}}\times[0,T]) since h∈\mathscrsfsC2,1(Ω×[0,T])h\in\mathscrsfs{C}^{2,1}(\Omega\times[0,T]). Furthermore, ⟨n(x),∇h(x,t)⟩=0\langle{\boldsymbol{n}}({\boldsymbol{x}}),\nabla h({\boldsymbol{x}},t)\rangle=0 for all x∈∂Ω{\boldsymbol{x}}\in\partial\Omega, t∈[0,T]t\in[0,T] immediately implies that ⟨n(x),∇hδn(x,t)⟩=0\langle{\boldsymbol{n}}({\boldsymbol{x}}),\nabla h^{\delta_{n}}({\boldsymbol{x}},t)\rangle=0 for all x∈∂Ωδn{\boldsymbol{x}}\in\partial\Omega^{\delta_{n}}, t∈[0,T]t\in[0,T].

Since (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1} converges in \mathscrsfsC([0,T],\mathscrsfsP2(Ω))\mathscrsfs{C}([0,T],\mathscrsfs{P}_{2}(\Omega)) to ρ∞\rho^{\infty} by Lemma F.1, we have that

Furthermore, since ρ0δn(x)=λn−dρ\mboxinit(x/λn)\rho_{0}^{\delta_{n}}({\boldsymbol{x}})=\lambda_{n}^{-d}\rho_{\mbox{\tiny\rm init}}({\boldsymbol{x}}/\lambda_{n}), we have that

where the last equality follows since λn→1\lambda_{n}\to 1, and ∇Kδn∗f(λnx)→∇f(x)\nabla K^{\delta_{n}}\ast f(\lambda_{n}{\boldsymbol{x}})\to\nabla f({\boldsymbol{x}}) uniformly in Ω\Omega.

The second term in the right-hand side of (F.22) is equal to by integration by parts. The third integral in the right-hand side of (F.22) is upper bounded as follows:

which converges to , as (Kδn∗ρδn)n≥1(K^{\delta_{n}}\ast\rho^{\delta_{n}})_{n\geq 1} converges in \mathscrsfsL2(Ω×[0,T])\mathscrsfs{L}^{2}(\Omega\times[0,T]) to ρ∞\rho^{\infty}. The first term in the right-hand side of (F.22) is upper bounded as follows:

where (a)(a) follows from an application of Cauchy-Schwartz. By Lemma E.5, we deduce that the right-hand side of (F.26) is bounded uniformly in δn\delta_{n}. Thus, the first term of (F.24) converges to because of Eq. (F.25). As concerns the second term of (F.24), we have that

Recall that ρtδn\rho^{\delta_{n}}_{t} is supported on Ωδn⊆Ω\Omega^{\delta_{n}}\subseteq\Omega, and Ω\Omega is bounded. In addition, since the kernel KK has bounded support, the diameter of the support of KδnK^{\delta_{n}} is at most δn\delta_{n} times a constant. Consequently, the last term in the right-hand side of (F.27) is upper bounded by

By using that Kδn∗ρδn∈\mathscrsfsL2(Ω×[0,T])K^{\delta_{n}}\ast\rho^{\delta_{n}}\in\mathscrsfs{L}^{2}(\Omega\times[0,T]) and the result of Lemma E.5, we have that the two last integrals are bounded uniformly in δ\delta. As a result, the right-hand side of (F.28) converges to , which implies that the right-hand side of (F.22) also converges to . By putting this fact together with (F.18) and (F.21), the desired result follows. ∎

We have now proved that (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1} converges to a weak solution of the limit PDE (A.1). In order to prove the uniqueness of the weak solutions of the limit PDE, we next prove a bound on ∥ρtδn∥\mathscrsfsL4(Ω)\|\rho^{\delta_{n}}_{t}\|_{\mathscrsfs{L}^{4}(\Omega)}, which along with Lemma A.2 proves the uniqueness claim.

Assume that ρ\mboxinit,f∈\mathscrsfsC∞(Ω)\rho_{\mbox{\tiny\rm init}},f\in\mathscrsfs{C}^{\infty}(\Omega) and consider the sequence (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1}. Then,

for some bounded constant 0<C(Ω)<∞0<C(\Omega)<\infty.

For simplicity, we indicate the norms \mathscrsfsLp(Ω)\mathscrsfs{L}^{p}(\Omega) by ∥⋅∥p\|\cdot\|_{p}. For a function g∈\mathscrsfsCm(Ω)g\in\mathscrsfs{C}^{m}(\Omega), we let ∇⊗mg\nabla^{\otimes m}g be the vector with coordinates ∂mg/(∂i1…∂im){\partial^{m}}g/{(\partial_{i_{1}}\dotsc\partial_{i_{m}})}, with 1≤i1,i2,…,im≤d1\leq i_{1},i_{2},\dotsc,i_{m}\leq d. The proof strategy to prove this lemma is to first bound ∥∇⊗mρtδn∥2\|\nabla^{\otimes m}\rho^{\delta_{n}}_{t}\|_{2}, for some m≥d/4m\geq d/4, and then apply the Gagliardo-Nirenberg interpolation inequality (cf. Lemma H.3) to bound ∥ρtδn∥4\|\rho^{\delta_{n}}_{t}\|_{4}. Throughout this proof, we will use CC, CkC_{k} and so on to denote constants that can depend on the domain Ω\Omega, but do not depend on tt or δ\delta.

Before proceeding, we need to establish some notations and definitions.

For a function gg and an integer k≥0k\geq 0, we denote its Sobolev norms by

We will use the following relations on Sobolev norms (see [Oel01, Equation (1.14)]):

Instead of bounding ∥∇⊗mρtδn∥2\|\nabla^{\otimes m}\rho^{\delta_{n}}_{t}\|_{2}, we will bound the dominating quantity ∥ρtδn∥(m)\|\rho^{\delta_{n}}_{t}\|_{(m)}. To this end, we follow a similar strategy as in [Oel01]. Namely, we derive descriptions of the evolution of ∥(−Δ)mρtδn∥2\|(-\Delta)^{m}\rho^{\delta_{n}}_{t}\|_{2} and ∥(−Δ)m(ρtδn∗Kδn−f)∥2\|(-\Delta)^{m}(\rho^{\delta_{n}}_{t}\ast K^{\delta_{n}}-f)\|_{2}. More precisely, we derive a recursive equation (on mm) for the evolution of a suitably chosen linear combination of these two quantities.

Since ρδn\rho^{\delta_{n}} is a solution of the PDE (B.2), we have

Following along the same lines as in derivation of [Oel01, Equation (3.12)], we obtain

We set m=⌈1+d/2⌉m=\lceil 1+d/2\rceil for which we can upper bound the right-hand side of (F.34) as

where the last step follows from (F.33). Note that the first term on the right-hand side can be bounded as

where the last step follows from Young’s convolution inequality and the fact that ∥Kδn∥1=1\|K^{\delta_{n}}\|_{1}=1.

The second term in (F.36) can be bounded following the same lines as in derivation of [Oel01, Equations (3.3) and (3.16)], which along with (F.37) gives

Since f∈\mathscrsfsC∞(Ω)f\in\mathscrsfs{C}^{\infty}(\Omega), there exists constant M>0M>0, such that ∥(−Δ)m+1f∥2≤M\|(-\Delta)^{m+1}f\|_{2}\leq M, ∥∇(−Δ)mf∥2≤M\|\nabla(-\Delta)^{m}f\|_{2}\leq M. Using the particular choice of mm, we can upper bound the right-hand side of (F.38) as

Define C1≡2∥ρ\mboxinit∥(2m)C_{1}\equiv 2\|\rho_{\mbox{\tiny\rm init}}\|_{(2m)} and let

for n≥1n\geq 1. Clearly, Tn>0T_{n}>0 by choice of C1C_{1}. In addition, by applying Sobolev’s inequality (see e.g. [Oel01, Equation (1.12)]), we have

where C2>0C_{2}>0 is a constant depending on dd. We let C∗≡C1C2/CC_{\ast}\equiv C_{1}C_{2}/C. Recall that the constant C>0C>0 in (F.35) and (F.39) was arbitrary. We choose it in a way that C<τ/(2Cm)C<\tau/(2C_{m}). We then consider the evolution of the following linear combination of the two quantities we analyzed above. Note that by Equations (F.35) and (F.39), we have for t∈[0,Tn]t\in[0,T_{n}],

where in (a)(a) we use the fact that ∥(−Δ)mρtδn∥2≤∥ρtδn∥(2m)\|(-\Delta)^{m}\rho^{\delta_{n}}_{t}\|_{2}\leq\|\rho^{\delta_{n}}_{t}\|_{(2m)}, which follows immediately from (F.31); (b)(b) follows from the fact that for any function g∈\mathscrsfsL2(Ω)g\in\mathscrsfs{L}^{2}(\Omega), ∥g∗Kδn∥2≤∥Kδn∥1∥g∥2=∥g∥2\|g\ast K^{\delta_{n}}\|_{2}\leq\|K^{\delta_{n}}\|_{1}\|g\|_{2}=\|g\|_{2}, by Young’s inequality for convolution.

Another observation that will be used later is that

This claim follows by repeating the same argument we had to derive (F.40), for m=0m=0. In this case, we have analogous equations to (F.35) and (F.39), where only the first two terms appear.

Next note that by (F.32), we have for t∈[0,Tn]t\in[0,T_{n}],

where the last step is a result of (F.41) and (F.40). Let us stress that Cˉm\bar{C}_{m}, C∗C_{\ast}, C3C_{3} are constants that are independent of nn.

for n≥1n\geq 1. Here, the first step is a result of triangle inequality and the Young’s inequality for convolution along with the fact that ∥Kδn∥1=1\|K^{\delta_{n}}\|_{1}=1. The second step follows from definition of C1C_{1}. Since f∈\mathscrsfsC∞(Ω)f\in\mathscrsfs{C}^{\infty}(\Omega), ∥f∥(2m)2\|f\|_{(2m)}^{2} is uniformly bounded over Ω\Omega. We denote the right-hand side of (F.43) by the constant C4C_{4}. Using bound (F.43) into (F.42) results in

for t∈[0,Tn]t\in[0,T_{n}]. By employing a generalization of Gronwall’s inequality (cf. Lemma H.2 and Remark H.1) we get

with C5≡CˉmC4C_{5}\equiv\bar{C}_{m}C_{4} and C6≡CˉmτM2C∗C_{6}\equiv\bar{C}_{m}\tau M^{2}C_{\ast}. Note that C5C_{5}, C6C_{6} and T0T_{0} are independent of nn, but depend on dd. Let m0=⌈d/4⌉m_{0}=\lceil d/4\rceil. Then, by the choice of m=1+⌈d/2⌉m=1+\lceil d/2\rceil we have ∥∇⊗m0ρtδn∥2≤∥ρtδn∥(2m)\|\nabla^{\otimes{m_{0}}}\rho^{\delta_{n}}_{t}\|_{2}\leq\|\rho^{\delta_{n}}_{t}\|_{(2m)}, and hence as a result of (F.47), we obtain

Finally, by applying Gagliardo-Nirenberg interpolation inequality (cf. Lemma H.3) we get

for some constant C7,C8>0C_{7},C_{8}>0, which completes the proof. ∎

Let ρ∞\rho^{\infty} be the limit in \mathscrsfsC([0,T],\mathscrsfsP2(Ω))\mathscrsfs{C}([0,T],\mathscrsfs{P}_{2}(\Omega)) of the converging sequence (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1}. Then, ρ∞\rho^{\infty} is the unique weak solution of the PDE (A.1) in \mathscrsfsL4(Ω×[0,T])\mathscrsfs{L}^{4}(\Omega\times[0,T]) with initial and boundary conditions (A.2).

From Lemma F.3, we have that the sequence (Kδn∗ρδn)n≥1(K^{\delta_{n}}\ast\rho^{\delta_{n}})_{n\geq 1} converges in \mathscrsfsL2(Ω×[0,T])\mathscrsfs{L}^{2}(\Omega\times[0,T]) to ρ∞\rho^{\infty}. Furthermore, by Lemma F.5, ∥ρtδ∥\mathscrsfsL4(Ω)≤C(1+T)\|\rho^{\delta}_{t}\|_{\mathscrsfs{L}^{4}(\Omega)}\leq C(1+T) for any t∈[0,T0]t\in[0,T_{0}], where CC is a universal constant. By using Young’s convolution inequality, we also deduce that ∥Kδn∗ρtδ∥\mathscrsfsL4(Ω)≤C(1+T)\|K^{\delta_{n}}\ast\rho^{\delta}_{t}\|_{\mathscrsfs{L}^{4}(\Omega)}\leq C(1+T) for any t∈[0,T0]t\in[0,T_{0}].

At this point, we state and prove a lemma showing that the sequence (ρtδn)n≥1(\rho_{t}^{\delta_{n}})_{n\geq 1} converges in \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega) to ρt∞\rho^{\infty}_{t}.

For almost all t∈[0,T]t\in[0,T], the measure ρt∞\rho^{\infty}_{t} is the limit in \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega) of the sequence (ρtδn)n≥1(\rho_{t}^{\delta_{n}})_{n\geq 1}.

The proof is similar to that of Lemma F.3. Suppose that t∈[0,T0]t\in[0,T_{0}], where T0T_{0} is defined in the statement of Lemma F.5. Note that, for any n≥1n\geq 1, ρδn∈\mathscrsfsL2(Ω)\rho^{\delta_{n}}\in\mathscrsfs{L}^{2}(\Omega). Let us show that (ρδn)n≥1(\rho^{\delta_{n}})_{n\geq 1} is a Cauchy sequence in \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega).

As ρtδn∈\mathscrsfsL2(Ω)\rho_{t}^{\delta_{n}}\in\mathscrsfs{L}^{2}(\Omega) for every t∈[0,T0]t\in[0,T_{0}], its Fourier transform exists and we denote it by ρδn^\widehat{\rho^{\delta_{n}}}. Hence, by applying Parseval’s theorem, we have

Fix Λ>1\Lambda>1 and decompose the integral in the right-hand side of (F.51) as

Consider the first term of (F.52). By Lemma F.1, and since by Jensen’s inequality W1(ρ1,ρ2)≤W2(ρ1,ρ2)W_{1}(\rho_{1},\rho_{2})\leq W_{2}(\rho_{1},\rho_{2}) for any two distributions ρ1,ρ2\rho_{1},\rho_{2}, we have W1(ρtδn−ρtδn′)→0W_{1}(\rho_{t}^{\delta_{n}}-\rho_{t}^{\delta_{n^{\prime}}})\to 0, as n,n′→∞n,n^{\prime}\to\infty. Since for the complex exponential functions ∥ei⟨λ,x⟩∥Lip≤∣λ∣\|e^{i\langle{\boldsymbol{\lambda}},{\boldsymbol{x}}\rangle}\|_{{\rm Lip}}\leq|{\boldsymbol{\lambda}}|, by definition of 1-Wasserstein distance, the integrand in the first term converges pointwise to . Furthermore, the integrand is upper bounded by an integrable function, since ∣ρtδn^(λ)∣≤∥ρtδn∥\mathscrsfsL2(Ω)≤C|\widehat{\rho_{t}^{\delta_{n}}}({\boldsymbol{\lambda}})|\leq\|\rho_{t}^{\delta_{n}}\|_{\mathscrsfs{L}^{2}(\Omega)}\leq C for all nn and every t∈[0,T0]t\in[0,T_{0}]. Hence, by dominated convergence, the first integral in (F.52) converges to .

As for the second term of (F.52), the following chain of inequalities holds:

where in the last equality we have applied again Parseval’s theorem. In the proof of Lemma F.5, we provide an upper bound, which does not depend on nn, on the Sobolev norm of ρtδn\rho_{t}^{\delta_{n}} (see (F.47)). Thus, as Λ→∞\Lambda\to\infty, the second term of (F.52) converges to .

Theorem 5.2 follows from Lemma A.2, Lemma F.6 and Lemma F.7.

Let us define the free energy associated to the PDE (A.1) as

As explained in Section 3.5, this limit free energy is displacement convex, and hence its W2W_{2} gradient flow converges to the unique minimizer of (F.54). These facts are stated and proved formally in the theorem that follows.

Assume that the initial condition ρ∞(0)∈\mathscrsfsC∞(Ω)\rho^{\infty}(0)\in\mathscrsfs{C}^{\infty}(\Omega). Then, the following results hold:

There exists a unique minimizer in \mathscrsfsP2(Ω)\mathscrsfs{P}_{2}(\Omega), call it ρ∗\rho^{*}, of the free energy FF defined in (F.54).

For any n≥1n\geq 1 and for almost any t≥0t\geq 0, we have

where α\alpha is defined in (3.1) and Δ(δ,T,d)→0\Delta(\delta,T,d)\to 0 as δ→0\delta\to 0.

The proof follows from the results of [CJM+01]. The technical assumptions required by [CJM+01] are satisfied by the PDE (A.1), since Ω\Omega is convex and bounded, the initial condition ρ∞(0)∈\mathscrsfsL∞(Ω)\rho^{\infty}(0)\in\mathscrsfs{L}^{\infty}(\Omega), and ff satisfies the assumptions (A2) and (A3). Note also that the condition inf⁡ΩV=0\inf_{\Omega}V=0 coming from assumption (HV3) of [CJM+01] can be relaxed. In fact, adding a constant to VV does not change the entropy functional in [CJM+01, Eq. (3)] (which corresponds to the free energy (F.54)) and the PDE in [CJM+01, Eq. (46)] (which corresponds to the PDE (A.1)).

The uniqueness of the minimizer ρ∗\rho^{*} follows from [CJM+01, Lemma 6], which proves the first result. Since ρ∞\rho^{\infty} is the unique weak solution of the PDE (A.1) with initial and boundary conditions (A.2), then it coincides with the unique, non-negative mass-preserving solution of [CJM+01, Theorem 16]. Thus, the inequality (F.55) readily follows from [CJM+01, Theorem 16].

It remains to prove inequality (F.56). By definition of free energy, we obtain

Recall that, by Lemma F.7, ρδ(t)\rho^{\delta}(t) converges to ρ∞(t)\rho^{\infty}(t) in \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega). Consequently, by using the triangle inequality, we have that the term R(ρδ(t))−R(ρ∞(t))R(\rho^{\delta}(t))-R(\rho^{\infty}(t)) tends to as δ→0\delta\to 0.

In order to complete the proof, it remains to show that S(ρδ(t))−S(ρ∞(t))S(\rho^{\delta}(t))-S(\rho^{\infty}(t)) tends to as δ→0\delta\to 0. To do so, define

Note that A∪B∪C=ΩA\cup B\cup C=\Omega. In fact, suppose that x∉B{\boldsymbol{x}}\not\in B and x∉C{\boldsymbol{x}}\not\in C. Then, one between ρδ(x,t)\rho^{\delta}({\boldsymbol{x}},t) and ρ∞(x,t)\rho^{\infty}({\boldsymbol{x}},t) is ∈[0,1/4]\in[0,1/4] and the other is >1/2>1/2. Consequently, ∣ρδ(x,t)−ρ∞(x,t)∣>1/4|\rho^{\delta}({\boldsymbol{x}},t)-\rho^{\infty}({\boldsymbol{x}},t)|>1/4 and x∈A{\boldsymbol{x}}\in A. This immediately implies that

We will now upper bound the three integrals in the RHS of (F.59). As for the first term, note that

where ∣A∣|A| denotes the volume of AA. Furthermore,

Note that ∣tlog⁡t∣≤1|t\log t|\leq 1 for t∈t\in and ∣log⁡t∣≤t|\log t|\leq t for t≥1t\geq 1. Thus, the RHS of (F.61) is upper bounded by

By Lemma F.7, for almost all t∈[0,T]t\in[0,T], ρδ(t)\rho^{\delta}(t) converges to ρ∞(t)\rho^{\infty}(t) in \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega). Thus, by (F.60), ∣A∣|A| tends to as δ→0\delta\to 0. By Lemma F.6, ρ∞(t)∈\mathscrsfsL4(Ω)\rho^{\infty}(t)\in\mathscrsfs{L}^{4}(\Omega) for almost all t∈[0,T]t\in[0,T]. Furthermore, by Lemma F.5, the quantity ∥ρδ(t)∥\mathscrsfsL4(Ω)\|\rho^{\delta}(t)\|_{\mathscrsfs{L}^{4}(\Omega)} has a δ\delta-free upper bound for t∈[0,T0]t\in[0,T_{0}]. As a result, for almost all t∈[0,T0]t\in[0,T_{0}], the first integral in (F.59) tends to as δ→0\delta\to 0. By iterating this argument T/T0T/T_{0} times, we conclude that for almost all t∈[0,T0]t\in[0,T_{0}], the first integral in (F.59) tends to as δ→0\delta\to 0.

In order to bound the second integral in (F.59), we write

where in the last inequality we have applied [CT06, Theorem 17.3.3], since ρδ(x,t)\rho^{\delta}({\boldsymbol{x}},t), ρ∞(x,t)∈[0,1/2]\rho^{\infty}({\boldsymbol{x}},t)\in[0,1/2] by definition of BB. Note that

Thus, the RHS of (F.63) is upper bounded by

where in the last step we have used Cauchy-Schwarz inequality. By Lemma F.7, for almost all t∈[0,T]t\in[0,T], ρδ(t)\rho^{\delta}(t) converges to ρ∞(t)\rho^{\infty}(t) in \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega). As a result, the second integral in (F.59) also tends to as δ→0\delta\to 0.

Finally, let us bound the third integral in (F.59). Define h(x)=xlog⁡xh(x)=x\log x. Then, for x>1/4x>1/4,

where in the last step we have used Cauchy-Schwarz inequality. By Lemma F.7, for almost all t∈[0,T]t\in[0,T], ρδ(t)\rho^{\delta}(t) converges to ρ∞(t)\rho^{\infty}(t) in \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega). By Lemma F.6, ρ∞(t)∈\mathscrsfsL2(Ω)\rho^{\infty}(t)\in\mathscrsfs{L}^{2}(\Omega) for almost all t∈[0,T]t\in[0,T]. Furthermore, by Lemma F.5, the quantity ∥ρδ(t)∥\mathscrsfsL2(Ω)\|\rho^{\delta}(t)\|_{\mathscrsfs{L}^{2}(\Omega)} has a δ\delta-free upper bound for t∈[0,T0]t\in[0,T_{0}]. As a result, for almost all t∈[0,T0]t\in[0,T_{0}], the third integral in (F.59) tends to as δ→0\delta\to 0. By iterating this argument T/T0T/T_{0} times, we conclude that for almost all t∈[0,T0]t\in[0,T_{0}], the third integral in (F.59) tends to as δ→0\delta\to 0, and the proof is complete. ∎

At this point, we are ready to provide the proof of Theorem 5.3.

By substituting zz with z1/2pz^{1/2p} in Theorem 5.1, we have that with probability at least 1−1/z1-1/z

where err(N,d,ε,δ){\sf err}(N,d,{\varepsilon},\delta) is defined in (5.2). The risk Rδ(ρkεδ)R^{\delta}(\rho^{\delta}_{k{\varepsilon}}) can be upper bounded as

where Δ0(δ,T,d)→0\Delta_{0}(\delta,T,d)\to 0 as δ→0\delta\to 0, since both Kδ∗ρtδK^{\delta}\ast\rho^{\delta}_{t} and ρtδ\rho^{\delta}_{t} converge in \mathscrsfsL2(Ω)\mathscrsfs{L}^{2}(\Omega) to ρt∞\rho^{\infty}_{t}. Furthermore, by Theorem F.8,

where Δ(δ,T,d)→0\Delta(\delta,T,d)\to 0 as δ→0\delta\to 0 and we recall that ∣Ω∣|\Omega| denotes the volume of the set Ω\Omega.

since ρ∗\rho^{*} is the minimizer of FF. By combining (F.70) with (F.69), we deduce that

where in the last step we use again the result of Theorem 5.1 and the fact that R(ρ∞(0))−Rδ(ρ∞(0))R(\rho^{\infty}(0))-R^{\delta}(\rho^{\infty}(0)) tends to as δ→0\delta\to 0.

By optimizing over pp in (F.67), we will set Δ1(N,ε,T,d,z)\Delta_{1}(N,{\varepsilon},T,d,z) as in (5.8). We also let Δ2(δ,T,d)=Δ0(δ,T,d)+Δ(δ,T,d)\Delta_{2}(\delta,T,d)=\Delta_{0}(\delta,T,d)+\Delta(\delta,T,d). Then, the result follows by combining (F.67), (F.68) and (F.71). ∎

Appendix G Heat kernel in bounded domains with Neumann boundary

Finally, GDG^{D} can be viewed as the kernel representation of the bounded operator etΔ/2e^{t\Delta/2} in \mathscrsfsL2(D,Unif)\mathscrsfs{L}^{2}(D,{\sf Unif}). We have

Hence GD(x,y;t)G^{D}({\boldsymbol{x}},{\boldsymbol{y}};t) can be represented in terms of the eigenfunctions ϕk\phi_{k}, and eigenvalues λk\lambda_{k}, of −Δ-\Delta,

Here 0=λ0<λ1≤λ2≤…0=\lambda_{0}<\lambda_{1}\leq\lambda_{2}\leq\dots, with lim⁡k→∞λk=∞\lim_{k\to\infty}\lambda_{k}=\infty, and ϕ0(x)=1D(x)/Vol(D)1/2\phi_{0}({\boldsymbol{x}})={\boldsymbol{1}}_{D}({\boldsymbol{x}})/{\rm Vol}(D)^{1/2}.

Since Δ\Delta is self-adjoint in \mathscrsfsL2(D,Unif)\mathscrsfs{L}^{2}(D,{\sf Unif}), it follows that GDG^{D} is symmetric, namely GD(x,y,t)=GD(y,x;t)G^{D}({\boldsymbol{x}},{\boldsymbol{y}},t)=G^{D}({\boldsymbol{y}},{\boldsymbol{x}};t), and therefore it satisfies

The Neumann heat kernel satisfies the following properties:

For any t>0t>0, GD(  ⋅  ,  ⋅  ;t)∈\mathscrsfsC∞(D×D)G^{D}(\;\cdot\;,\;\cdot\;;t)\in\mathscrsfs{C}^{\infty}(D\times D).

Substituting GD(x,y;t)=G(x,y;t)+GRD(x,y;t)G^{D}({\boldsymbol{x}},{\boldsymbol{y}};t)=G({\boldsymbol{x}},{\boldsymbol{y}};t)+G_{R}^{D}({\boldsymbol{x}},{\boldsymbol{y}};t) into Eqs. (G.1) to (G.3) yields, for x∈D{\boldsymbol{x}}\in D,

Thus GRG_{R} satisfies the heat equation in D×[0,T]D\times[0,T] and hence (y,t)↦GRD(x,y;t)({\boldsymbol{y}},t)\mapsto G^{D}_{R}({\boldsymbol{x}},{\boldsymbol{y}};t) is \mathscrsfsC∞\mathscrsfs{C}^{\infty} inside this domain (see, e.g., [Eva09, Chapter 2, Theorem 8], which refers to Dirichlet boundary condition, but applies equally well to the Neumann case). By symmetry, we have the claimed continuity in (x,y)({\boldsymbol{x}},{\boldsymbol{y}}), thus proving point 1.

Claim 2 follows by the same decomposition.

Finally, claim 3 follows from Lemma 3.1 in [WY13]. ∎

Appendix H Some useful technical lemmas

Hence, displacement convexity implies ⟨δ,∇2U(x)δ⟩≥0\langle{\boldsymbol{\delta}},\nabla^{2}U({\boldsymbol{x}}){\boldsymbol{\delta}}\rangle\geq 0. Since this holds for all ∣δ∣<∣x∣|{\boldsymbol{\delta}}|<|{\boldsymbol{x}}|, we obtain ∇2U(x)⪰0\nabla^{2}U({\boldsymbol{x}})\succeq{\boldsymbol{0}} for all x≠0{\boldsymbol{x}}\neq{\boldsymbol{0}}, which in turns imply that UU is convex (by a continuity argument, it is sufficient to lower bound the Hessian everywhere except at a point). ∎

To derive Equation (F.45), we use Lemma H.2 with ω(u)=u2\omega(u)=u^{2}, Ψ(s)=CˉmC3\Psi(s)=\bar{C}_{m}C_{3}, A=CˉmC4+CˉmτM2CastTnA=\bar{C}_{m}C_{4}+\bar{C}_{m}\tau M^{2}C_{a}stT_{n}.

Fix 1≤q,r≤∞1\leq q,r\leq\infty and mm a positive integer. Let u∈\mathscrsfsLq(Ω)∩\mathscrsfsLr(Ω)u\in\mathscrsfs{L}^{q}(\Omega)\cap\mathscrsfs{L}^{r}(\Omega) and ∇⊗mu∈\mathscrsfsLp(Ω)\nabla^{\otimes m}u\in\mathscrsfs{L}^{p}(\Omega). For integer jj, 0≤j≤m0\leq j\leq m, and θ∈[j/m,1]\theta\in[j/m,1] (with the exception θ≠1\theta\neq 1 if m−j−d/2m-j-d/2 is a non-negative integer), define pp by

Then ∇⊗ju∈\mathscrsfsLp(Ω)\nabla^{\otimes j}u\in\mathscrsfs{L}^{p}(\Omega) and satisfies

References