Shallow Learning Tends to Ridgelet Transform

5 Sample-size threshold: from the empirical to the population Gibbs minimizer

Section 5 of the paper. The empirical problem is the population problem for the empirical feature on the index space of the sample, so the structure theorem applies verbatim (lem:empirical-gibbs); uniform deviations over the class of measures with bounded first amplitude moment are controlled by the Rademacher complexity of the feature class (lem:uniform-deviation), which gives the sample-size threshold (thm:m3).

5.1 Empirical Gibbs structure, moment bounds and tails

Theorem 269
✓

For the empirical feature, \(F_\rho (i)=F_\rho (x_i)\): the realization is the vector \(F_\rho |_x=(F_\rho (x_i))_i\in {\mathbb R}^N\).

Proof ▶

\(L_N(\rho )=\frac1{2N}\sum _i(F_\rho (x_i)-y_i)^2 =\tfrac 12\| F_\rho |_x-y\| _N^2\) is the population risk of the empirical feature for the uniform measure on \(\{ 1,\dots ,N\} \) and the target \(y\).

Proof ▶

\({\mathcal F}_N(\rho )=L_N(\rho )+\beta \operatorname {KL}(\rho \| \mu _U)\) is the free energy of the empirical feature for the uniform measure on \(\{ 1,\dots ,N\} \) and the target \(y\).

Proof ▶

For \(r\in {\mathbb R}^N\) the analysis map of the empirical feature is \((S^*r)(z)=\frac1N\sum _i\varphi _z(x_i)r_i=(S_N^*r)(z)\).

Proof ▶

For \(\nu \in {\mathcal P}(Z)\) and \(h\in {\mathbb R}^N\) the kernel operator of the empirical feature is \(K_{N,\nu }\): \((K_\nu h)_i=\int \varphi _z(x_i)\langle \Phi _z,h\rangle _N\, \nu (\, \mathrm dz)\).

Proof ▶

For \(\lambda {\gt}0\) and \(\nu \in {\mathcal P}(Z)\), \(K_{N,\nu }+\lambda \) is injective (hence bijective) on \({\mathbb R}^N\), since \(K_{N,\nu }\) is positive semidefinite for \(\langle \cdot ,\cdot \rangle _N\).

Proof ▶

Let \(s\) be measurable with \(|s|\le C\), \(\rho _s=\hat\mu _{W_s}\) as in Lemma 218, \(B_C:=\frac C\lambda +\sqrt{\frac{2\beta }{\pi \lambda }}\) and \(T\ge C/\lambda \). Then \(\int _{\{ |a|{\gt}T\} }|a|\, \mathrm d\rho _s\le B_C\exp \bigl(-\frac\lambda {2\beta }(T-\frac C\lambda )^2\bigr)\). (Conditionally on \(z\), \(a\sim {\mathcal N}(-s(z)/\lambda ,\beta /\lambda )\) with \(|s(z)/\lambda |\le C/\lambda \); apply Lemma 908 with \(m_0=C/\lambda \), \(v=\beta /\lambda \) and integrate over \(\nu _{\rho _s}\).)

Proof ▶

Step 1: the set integral as the integral of ‘g(a) = |a| 1_|a| > T‘.

Step 2: transport through the disintegration ‘ρ_s.map swap = ν ⊗ κ_s‘.

Step 3: the inner Gaussian truncated moment, uniformly in ‘z‘.

Step 4: integrate over the hidden marginal.

The minimizer \(\rho _N^*\) of \({\mathcal F}_N\) on \({\mathcal D}\) is the minimizer of the free energy of the empirical feature \((z,i)\mapsto \varphi _z(x_i)\) for the uniform measure on \(\{ 1,\dots ,N\} \) and the target \(y\in {\mathbb R}^N=L^2(\text{uniform})\); all of Lemma ?? and Theorem ?? apply to it.

Proof ▶

With \(r_N^*:=F_{\rho _N^*}|_x-y\) and \(g_N:=S_N^*r_N^*\), \(\rho _N^*=\hat\mu _{W_N^*}\) relative to \(\mu _U\) with \(W_N^*(\theta )=a\, g_N(z)\), i.e. \(\rho _N^*(\, \mathrm d\theta )\propto e^{-a g_N(z)/\beta }\mu _U(\, \mathrm d\theta )\).

Proof ▶

Let \(r_N^*:=F_{\rho _N^*}|_x-y\in {\mathbb R}^N\), \(g_N:=S_N^*r_N^*\) and \(\nu _N^*:=\nu _{\rho _N^*}\). Then \(\rho _N^*(\, \mathrm da\, \mathrm dz) =\nu _N^*(\, \mathrm dz)\, {\mathcal N}\bigl(-g_N(z)/\lambda ,\beta /\lambda \bigr)(\, \mathrm da)\).

Proof ▶

\(\nu _N^*(\, \mathrm dz) \propto \exp \bigl(\frac{g_N(z)^2}{2\lambda \beta }\bigr)\nu _0(\, \mathrm dz)\) (with \(\nu _0\propto e^{-V/\beta }\, \mathrm dz\) this is \(\nu _N^*(\, \mathrm dz) \propto \exp \bigl(\frac{g_N(z)^2}{2\lambda \beta }-\frac{V(z)}\beta \bigr)\, \mathrm dz\)).

Proof ▶
Proof ▶

With \(K:=K_{N,\nu _N^*}\),

\[ (K+\lambda )r_N^*=-\lambda y,\qquad F_{\rho _N^*}|_x=-\lambda ^{-1}Kr_N^*,\qquad m_{\rho _N^*}=R^N_{\lambda ,\nu _N^*}y\ (\nu _N^*\text{-a.e.}),\qquad g_N=-\lambda R^N_{\lambda ,\nu _N^*}y , \]

and \(K+\lambda \) is injective on \({\mathbb R}^N\), so that \(r_N^*=-\lambda (K+\lambda )^{-1}y\) and \(F_{\rho _N^*}|_x=K(K+\lambda )^{-1}y\).

Proof ▶

Step 1: ‘(K_ν + λ) r = −λ y‘ in ‘L²(uniformFin N)‘, from ‘r = −λ (K_ν + λ)⁻¹ y‘.

Step 2: transport to ‘ℝ^N‘ through the dictionary.

Step 3: ‘F_ρ|_x = r + y = −λ⁻¹ K_ν r‘.

If \(|y_i|\le {Y_{\max }}\) for all \(i\), then deterministically \(\| r_N^*\| _N\le \| y\| _N\le {Y_{\max }}\), \(\sup _z|g_N(z)|\le {Y_{\max }}\) and \(|m_{\rho _N^*}(z)|\le {Y_{\max }}/\lambda \) for \(\nu _N^*\)-a.e. \(z\).

Proof ▶

If \(|y_i|\le {Y_{\max }}\) for all \(i\), then deterministically \(\int |a|\, \mathrm d\rho _N^*\le B:=\frac{{Y_{\max }}}\lambda +\sqrt{\frac{2\beta }{\pi \lambda }}\) and \(\int a^2\, \mathrm d\rho _N^*\le \frac{{Y_{\max }}^2}{\lambda ^2}+\frac\beta \lambda \).

Proof ▶

If \(|y_i|\le {Y_{\max }}\) for all \(i\) and \(T\ge {Y_{\max }}/\lambda \), then deterministically \(\int _{\{ |a|{\gt}T\} }|a|\, \mathrm d\rho _N^* \le B\exp \bigl(-\frac\lambda {2\beta }(T-\frac{{Y_{\max }}}\lambda )^2\bigr)\), \(B=\frac{{Y_{\max }}}\lambda +\sqrt{\frac{2\beta }{\pi \lambda }}\).

Proof ▶

If \(\| f\| _{L^2(P_X)}\le {Y_{\max }}\) then, with \(g^*:=S^*r^*\) as in Theorem ??, \(\| r^*\| _{L^2(P_X)}\le \| f\| _{L^2(P_X)}\le {Y_{\max }}\), \(\sup _z|g^*(z)|\le {Y_{\max }}\) and \(|m_{\rho ^*}(z)|\le {Y_{\max }}/\lambda \) for \(\nu ^*\)-a.e. \(z\).

Proof ▶

If \(\| f\| _{L^2(P_X)}\le {Y_{\max }}\) then \(\int |a|\, \mathrm d\rho ^*\le B=\frac{{Y_{\max }}}\lambda +\sqrt{\frac{2\beta }{\pi \lambda }}\) and \(\int a^2\, \mathrm d\rho ^*\le \frac{{Y_{\max }}^2}{\lambda ^2}+\frac\beta \lambda \).

Proof ▶

If \(\| f\| _{L^2(P_X)}\le {Y_{\max }}\) and \(T\ge {Y_{\max }}/\lambda \), then \(\int _{\{ |a|{\gt}T\} }|a|\, \mathrm d\rho ^* \le B\exp \bigl(-\frac\lambda {2\beta }(T-\frac{{Y_{\max }}}\lambda )^2\bigr)\).

Proof ▶

Let \(f\) be a regression function of \(Q\) with \(|f|\le C\), \(|Y|\le {Y_{\max }}\) a.s., and \(\rho \) with \(\int |a|\, \mathrm d\rho {\lt}\infty \). Then \(\tilde L(\rho )=L(\rho )+\tfrac 12\, {\mathbb E}(Y-f(X))^2=L(\rho )+\tfrac 12\, {\mathbb E}\, \mathrm{Var}(Y\mid X)\), since \({\mathbb E}[(F_\rho (X)-f(X))(f(X)-Y)]=0\) by the tower property.

Proof ▶

Step 1: pointwise, ‘(F_ρ − Y)² = g² − 2 (Y − f) g + (Y − f)²‘ with ‘g = F_ρ − f‘.

Step 2: integrability of the three terms.

Step 3: the tower property kills the cross term, and ‘∫ g² dQ = ∫ (F_ρ − f)² dP_X‘.

Under the hypotheses of Lemma 288, for \(\rho ,\rho '\) with integrable amplitude, \(\tilde L(\rho )-\tilde L(\rho ')=L(\rho )-L(\rho ')\).

Proof ▶

Let \(f\) be a regression function of \(Q\) with \(|f|\le C\), \(|Y|\le {Y_{\max }}\) a.s., \(P_X\) the first marginal of \(Q\), and \(\rho ^*\) the minimizer of \({\mathcal F}\) on \({\mathcal D}\) (for the target \(f\in L^2(P_X)\)). Then for every \(\rho \in {\mathcal D}\), \(\operatorname {KL}(\rho \| \rho ^*){\lt}\infty \) and

\[ \tilde{{\mathcal F}}(\rho )-\tilde{{\mathcal F}}(\rho ^*)=\tfrac 12\| F_\rho -F_{\rho ^*}\| ^2_{L^2(P_X)} +\beta \, \operatorname {KL}(\rho \| \rho ^*). \]

(Lemma 212 and Lemma 288: \(\tilde{{\mathcal F}}-{\mathcal F}\) is the constant \(\tfrac 12{\mathbb E}(Y-f(X))^2\).)

Proof ▶

The population risk only sees the a.e. class of the target.

Let \(\rho _N^*\) be the minimizer of \({\mathcal F}_N\) on \({\mathcal D}\) for the sample \((x_i,y_i)_{i=1}^N\). Then for every \(\rho \in {\mathcal D}\), \(\operatorname {KL}(\rho \| \rho _N^*){\lt}\infty \) and

\[ {\mathcal F}_N(\rho )-{\mathcal F}_N(\rho _N^*)=\tfrac 12\| F_\rho |_x-F_{\rho _N^*}|_x\| ^2_N +\beta \, \operatorname {KL}(\rho \| \rho _N^*). \]

(Lemma 212 for the empirical feature, through the dictionary of Lemma 61.)

Proof ▶

For a sample \(\omega =(x_i,y_i)_{i=1}^N\) and the minimizer \(\rho _N^*\) of \({\mathcal F}_N\) on \({\mathcal D}\), every \(\rho \in {\mathcal D}\) satisfies \({\mathcal F}_N(\rho )-{\mathcal F}_N(\rho _N^*)=\tfrac 12\| F_\rho |_x-F_{\rho _N^*}|_x\| ^2_N +\beta \, \operatorname {KL}(\rho \| \rho _N^*)\).

Proof ▶

5.2 Uniform deviation over the class of bounded first amplitude moment

For \(\rho \in {\mathcal P}_B\) and every \(x\in {\mathcal X}\), \(|F_\rho (x)|\le B\).

Proof ▶
Theorem 294
✓
#

For \(|a|\le B\) and \(z\in Z\), \(\delta _{(a,z)}\in {\mathcal P}_B\).

Proof ▶

Let \(B\ge 0\), \(x_1,\dots ,x_N\in {\mathcal X}\) and \(\sigma \in \{ \pm 1\} ^N\), and let \(\psi _\sigma (z):=\frac1N\sum _i\sigma _i\varphi _z(x_i)\). Then \(\sup _{\rho \in {\mathcal P}_B}\frac1N\sum _i\sigma _iF_\rho (x_i)=B\sup _{z\in Z}|\psi _\sigma (z)|\) (and the same with \(\bigl|\frac1N\sum _i\sigma _iF_\rho (x_i)\bigr|\) on the left).

Proof ▶

Upper bound: ‘|(1/N) ∑ σ_k F_ρ(x_k)| = |∫ a ψ_σ(z) dρ| ≤ C ∫ |a| dρ ≤ B C‘.

Lower bound: ‘ρ = δ_(B s, z)‘ with ‘s = sign ψ_σ(z)‘ gives the value ‘B |ψ_σ(z)|‘.

Let \(B\ge 0\) and \(x_1,\dots ,x_N\in {\mathcal X}\). Then, in the one-sided convention of the paper, \({\widehat{\mathfrak R}}_N({\mathcal{H}}_B)=B\, {\widehat{\mathfrak R}}_N(\Phi )\) for \({\mathcal{H}}_B=\{ F_\rho :\rho \in {\mathcal P}_B\} \), where \({\widehat{\mathfrak R}}_N(\Phi )={\mathbb E}_\sigma \sup _z|\psi _\sigma (z)|\) is ‘featureRademacher‘.

Proof ▶

Under the hypotheses of Lemma 296, also in the absolute convention \({\widehat{\mathfrak R}}_N({\mathcal{H}}_B)=B\, {\widehat{\mathfrak R}}_N(\Phi )\).

Proof ▶
Theorem 298
✓

If for every \(z\in Z\) there is \(z'\in Z\) with \(\varphi _{z'}=-\varphi _z\) (for \(\tanh \), \(z'=-z\)), then \({\widehat{\mathfrak R}}_N(\Phi )\) coincides with the one-sided complexity \({\mathbb E}_\sigma \sup _z\frac1N\sum _i\sigma _i\varphi _z(x_i)\) of the paper.

Proof ▶
Theorem 299
✓

\({\mathcal P}_B^0\) is countable.

Proof ▶

Let \(Z\) be first countable, \(Z_0\subseteq Z\) dense, \(\varphi \) continuous in \(z\), \(Q\in {\mathcal P}({\mathcal X}\times {\mathbb R})\), \(B\ge 0\) and \(x_1,\dots ,x_N\in {\mathcal X}\). For every \(\rho \in {\mathcal P}_B\) and \(\varepsilon {\gt}0\) there is \(\rho '\in {\mathcal P}_B^0\) with \(\int |F_\rho -F_{\rho '}|\, \mathrm dQ\le \varepsilon \) and \(|F_\rho (x_k)-F_{\rho '}(x_k)|\le \varepsilon \) for all \(k\). The proof samples \(M\) particles from \(\rho \) reweighted by \(|a|\) (Monte Carlo, expected squared error \(\le B^2/M\)), then moves the atoms into \(Z_0\) and the amplitude into \({\mathbb Q}\).

Proof ▶

‘B’ = 0‘: ‘F_ρ = 0‘, approximated by ‘δ_(0, z₀)‘.

‘B’ > 0‘: Monte Carlo approximation, then atoms to ‘Z₀‘ and amplitude to ‘ℚ‘.

Let \(Z\) be separable and first countable, \(\varphi \) continuous in \(z\), \(Q\in {\mathcal P}({\mathcal X}\times {\mathbb R})\) with \(|Y|\le {Y_{\max }}\) a.s., \(B\ge 0\), \({Y_{\max }}\ge 0\) and \(N\ge 1\). Then \({\mathbb E}\, G_\pm \le 2B(B+{Y_{\max }})\, {\mathfrak R}_N(\Phi )\).

Proof ▶

Let \(Z\) be separable and first countable, \(\varphi \) continuous in \(z\), \(Q\in {\mathcal P}({\mathcal X}\times {\mathbb R})\) with \(|Y|\le {Y_{\max }}\) a.s., \(B{\gt}0\), \({Y_{\max }}\ge 0\) and \(N\ge 1\). Let \(G:=\sup _{\rho \in {\mathcal P}_B}|L_N(\rho )-\tilde L(\rho )|\). Then for every \(\delta \in (0,1)\), with probability at least \(1-\delta \) over the i.i.d. sample of size \(N\) from \(Q\),

\[ G\le 2B(B+{Y_{\max }})\, {\mathfrak R}_N(\Phi )+\frac{(B+{Y_{\max }})^2}{2}\sqrt{\frac{\log (2/\delta )}{2N}} . \]

The proof is symmetrization (one-sided), the contraction principle, the identity \({\widehat{\mathfrak R}}_N({\mathcal{H}}_B)=B{\widehat{\mathfrak R}}_N(\Phi )\), McDiarmid’s inequality for \(G_\pm \) with bounded differences \((B+{Y_{\max }})^2/(2N)\) and a union bound; the suprema over \({\mathcal P}_B\) are computed on the countable dense subclass \({\mathcal P}_B^0\).

Proof ▶

Step 4 (concentration): McDiarmid for a measurable function with bounded differences ‘b/N‘, at the level ‘ε‘, gives failure probability ‘δ/2‘.

The union bound and the complement.

The good event: all labels in ‘[−Ymax, Ymax]‘, where ‘G = G̃‘.

Assume (A3) and an i.i.d. sample of size \(N\ge 1\) (only the \(x_i\) are used). For every \(\delta _2\in (0,1)\), with probability at least \(1-\delta _2\), \(H_N\le 2\, {\mathfrak R}_N(\Psi )+\sqrt{2\log (2/\delta _2)/N}\). (FoML’s bound has the sharper radius \(\sqrt{2\log (1/\delta _2)/N}\), obtained without a union bound.)

Proof ▶

For \(|e|\le E_*\) and every sample \((x_i,y_i)_{i=1}^N\), \({\widehat{\mathfrak R}}_N(\{ \varphi _ze\} )\le E_*\, {\widehat{\mathfrak R}}_N(\Phi )\), by the contraction lemma with the \(E_*\)-Lipschitz maps \(t\mapsto e(x_i,y_i)t\).

Proof ▶

Assume (A3), an i.i.d. sample of size \(N\ge 1\) and a measurable \(e\colon {\mathcal X}\times {\mathbb R}\to {\mathbb R}\) with \(|e|\le E_*\), \(E_*{\gt}0\) (in the paper \(e(x,y)=y-f(x)\)). For every \(\delta _1\in (0,1)\), with probability at least \(1-\delta _1\), \(G_N\le 2E_*\, {\mathfrak R}_N(\Phi )+E_*\sqrt{2\log (2/\delta _1)/N}\).

Proof ▶

Under the hypotheses of Lemma 305, with \(e(x,y)=y-f(x)\) for a measurable \(f\) and \(|Y-f(X)|\le E_*\) almost surely, the same bound holds for \(G_N=\sup _z|(P_N-P)(\varphi _ze)|\).

Proof ▶

On the samples with ‘|e(x_k, y_k)| ≤ E_*‘ the two deviations agree.

5.3 Complexity of the class of tanh ridge functions

For every \(m\), \(\mathrm{HC}(m,8,6)\) holds: for every \(N\), every \(x_1,\dots ,x_N\in {\mathbb R}^m\) and every \(0{\lt}{\varepsilon }\le 1/2\), \(\mathcal N({\varepsilon },\Phi ,L_2(P_N))\le (8/{\varepsilon })^{6(m+1)}\).

Proof ▶

Lemma 825 with \(d=m+1\) (Lemma 110) and \(|\varphi _z|\le 1\).

For every \(m\), \(N\) and every \(x_1,\dots ,x_N\in {\mathbb R}^m\), \({\widehat{\mathfrak R}}_N(\Phi )\le 18\sqrt{(m+1)\log (N+1)/N}\).

Proof ▶

Lemma 815 with \(d=m+1\) (Lemma 110); for \(N=0\) both sides vanish. Compared with Lemma 314(b), the factor \(\sqrt{\log (N+1)}\) comes from the factor \(N\) in the Sauer–Shelah covering bound, which Haussler’s bound removes.

Assume (A3). For every \(N\) and every \(x_1,\dots ,x_N\), \({\widehat{\mathfrak R}}_N(\Psi )\le 26\sqrt{(m+1)\log (N+1)/N}\).

Proof ▶

Lemma 816 with \(F=G=\Phi \) and \(d=m+1\) (Lemma 110); for \(N=0\) both sides vanish.

Assume \(\mathrm{HC}(m,A,c)\) for all \(m\), with \(2A\ge 1\), \(c\ge 1\). Then for every \(m\), \(N\) and \(x_1,\dots ,x_N\in {\mathbb R}^m\), \({\widehat{\mathfrak R}}_N(\Phi )\le \bigl(1+6\sqrt{\log (2A)}+12\sqrt2\bigr)\sqrt c\, \sqrt{(m+1)/N}\), i.e. Lemma 314(b) with \(C_{\mathrm P}=(1+6\sqrt{\log (2A)}+12\sqrt2)\sqrt c\).

Proof ▶

Lemma 818 with \(d=c(m+1)\); for \(N=0\) both sides vanish.

Assume \(\mathrm{HC}(m,A,c)\) for all \(m\), with \(2A\ge 1\), \(c\ge 1\). Then for every \(m\), \(N\) and \(x_1,\dots ,x_N\in {\mathbb R}^m\), \({\widehat{\mathfrak R}}_N(\Psi )\le \bigl(1+6\sqrt{\log (4A)}+12\sqrt2\bigr)\sqrt{2c}\, \sqrt{(m+1)/N}\).

Proof ▶

Lemma 813 gives \(\mathcal N({\varepsilon },\Psi ,L_2(P_N))\le \mathcal N({\varepsilon }/2,\Phi ,L_2(P_N))^2\le (2A/{\varepsilon })^{2c(m+1)}\), and Lemma 818 applies with \(d=2c(m+1)\).

For every \(m\), \(N\) and \(x_1,\dots ,x_N\in {\mathbb R}^m\), \({\widehat{\mathfrak R}}_N(\Phi )\le \bigl(1+6\sqrt{\log 16}+12\sqrt2\bigr)\sqrt6\, \sqrt{(m+1)/N}\); numerically the constant is at most \(69\).

Proof ▶

Lemma 310 with Lemma 307.

For every \(m\), \(N\) and \(x_1,\dots ,x_N\in {\mathbb R}^m\), \({\widehat{\mathfrak R}}_N(\Psi )\le \bigl(1+6\sqrt{\log 32}+12\sqrt2\bigr)\sqrt{12}\, \sqrt{(m+1)/N}\); numerically the constant is at most \(101\).

Proof ▶

Lemma 311 with Lemma 307.

(a) The pseudo-dimension of the class \(\Phi =\{ \varphi _z:z\in Z\} \) of \(\tanh \) ridge functions \(x\mapsto \tanh (w^\top x-b)\), \((w,b)\in {\mathbb R}^m\times {\mathbb R}\), is at most \(m+1\). (b) There is an absolute constant \(C_{\mathrm P}\) such that for every \(N\) and every \(x_1,\dots ,x_N\), \({\widehat{\mathfrak R}}_N(\Phi )\le C_{\mathrm P}\sqrt{(m+1)/N}\), hence \({\mathfrak R}_N(\Phi )\le C_{\mathrm P}\sqrt{(m+1)/N}\). A crude evaluation through Haussler’s covering bound and Dudley’s entropy integral gives \(C_{\mathrm P}\le 43\).

Proof ▶

Assume (A3). For every \(N\) and every \(x_1,\dots ,x_N\), \({\widehat{\mathfrak R}}_N(\Psi )\le C'_{\mathrm P}\sqrt{(m+1)/N}\) with \(C'_{\mathrm P}:=\min \{ 4C_{\mathrm P},63\} \).

Proof ▶

Under Lemma 314, for every \(Q\in {\mathcal P}({\mathcal X}\times {\mathbb R})\), \({\mathfrak R}_N(\Phi )\le C_{\mathrm P}\sqrt{(m+1)/N}\).

Proof ▶

Under Lemma 315, for every \(Q\in {\mathcal P}({\mathcal X}\times {\mathbb R})\), \({\mathfrak R}_N(\Psi )\le C'_{\mathrm P}\sqrt{(m+1)/N}\).

Proof ▶

For every \(Q\in {\mathcal P}({\mathcal X}\times {\mathbb R})\), \({\mathfrak R}_N(\Phi )\le 18\sqrt{(m+1)\log (N+1)/N}\).

Proof ▶

For every \(Q\in {\mathcal P}({\mathcal X}\times {\mathbb R})\), \({\mathfrak R}_N(\Psi )\le 26\sqrt{(m+1)\log (N+1)/N}\).

Proof ▶

5.4 The main estimate, the sample-size threshold and the convergence of the learned quantities

Proof ▶

If \(|y_i|\le {Y_{\max }}\) for all \(i\) then \(\rho _N^*(\omega )\in {\mathcal P}_B\) (Lemma ??(c)).

Proof ▶

Under the hypotheses of Lemma 302, for every \(\delta \in (0,1)\), \({\mathbb P}(E_\delta )\ge 1-\delta \).

Proof ▶

On a sample with \(|y_i|\le {Y_{\max }}\), \(\tilde{{\mathcal F}}(\rho _N^*)-\tilde{{\mathcal F}}(\rho ^*) =[\tilde L(\rho _N^*)-L_N(\rho _N^*)]+[{\mathcal F}_N(\rho _N^*)-{\mathcal F}_N(\rho ^*)] +[L_N(\rho ^*)-\tilde L(\rho ^*)]\le G_++G_-\), since the middle term is \(\le 0\) by minimality of \(\rho _N^*\) and \(\rho _N^*,\rho ^*\in {\mathcal P}_B\).

Proof ▶

On a sample with \(|y_i|\le {Y_{\max }}\), \({\mathcal F}_N(\rho ^*)-{\mathcal F}_N(\rho _N^*) =[L_N(\rho ^*)-\tilde L(\rho ^*)]+[\tilde{{\mathcal F}}(\rho ^*)-\tilde{{\mathcal F}}(\rho _N^*)] +[\tilde L(\rho _N^*)-L_N(\rho _N^*)]\le G_++G_-\), since the middle term is \(\le 0\) by minimality of \(\rho ^*\).

Proof ▶

On the event \(E_\delta \) of Lemma 302,

\[ \tfrac 12\| F_{\rho _N^*}-F_{\rho ^*}\| ^2_{L^2(P_X)}+\beta \, \operatorname {KL}(\rho _N^*\| \rho ^*) =\tilde{{\mathcal F}}(\rho _N^*)-\tilde{{\mathcal F}}(\rho ^*)\le G_++G_-\le 2G\le \Delta _N(\delta ). \]
Proof ▶

On the event \(E_\delta \),

\[ \tfrac 12\| F_{\rho _N^*}|_x-F_{\rho ^*}|_x\| ^2_N+\beta \, \operatorname {KL}(\rho ^*\| \rho _N^*) ={\mathcal F}_N(\rho ^*)-{\mathcal F}_N(\rho _N^*)\le G_++G_-\le 2G\le \Delta _N(\delta ). \]
Proof ▶

On the event \(E_\delta \), \(\beta \, \operatorname {KL}(\rho _N^*\| \rho ^*)\le \Delta _N(\delta )\) and \(\beta \, \operatorname {KL}(\rho ^*\| \rho _N^*)\le \Delta _N(\delta )\).

Proof ▶

Assume the setting of Section ?? (\(|Y|\le {Y_{\max }}\), i.i.d. sample, \(\lambda ,\beta {\gt}0\), \(Z\) separable and first countable, \(\varphi \) continuous in \(z\)) and Lemma ?? for \(L\) and \(L_N\). Let \(B\) be as in 82 and \(\Delta _N(\delta )\) as in 83. For every \(\delta \in (0,1)\), with probability at least \(1-\delta \) over the sample, the following hold simultaneously:

\[ \tfrac 12\| F_{\rho _N^*}-F_{\rho ^*}\| ^2_{L^2(P_X)}+\beta \, \operatorname {KL}(\rho _N^*\| \rho ^*) \le \Delta _N(\delta ),\qquad \tfrac 12\| F_{\rho _N^*}|_x-F_{\rho ^*}|_x\| ^2_N+\beta \, \operatorname {KL}(\rho ^*\| \rho _N^*) \le \Delta _N(\delta ). \]
Proof ▶

If \({\mathfrak R}_N(\Phi )\le C_{\mathrm P}\sqrt{(m+1)/N}\) (Lemma 314) then \(\Delta _N(\delta )\le D(\delta )/\sqrt N\) with \(D(\delta )\) as in 84.

Proof ▶

In the setting of Theorem 328, let \({\varepsilon }{\gt}0\), \(\delta \in (0,1)\), \({\mathfrak R}_N(\Phi )\le C_{\mathrm P}\sqrt{(m+1)/N}\) and \(N_0({\varepsilon },\delta )\) as in 85. If \(N\ge N_0({\varepsilon },\delta )\) then on \(E_\delta \) (probability at least \(1-\delta \)), \(\operatorname {KL}(\rho _N^*\| \rho ^*)\le {\varepsilon }\) and \(\operatorname {KL}(\rho ^*\| \rho _N^*)\le {\varepsilon }\).

Proof ▶

On \(E_\delta \), \(\tilde{{\mathcal F}}(\rho _N^*)-\tilde{{\mathcal F}}(\rho ^*)\le \Delta _N(\delta )\) and \({\mathcal F}_N(\rho ^*)-{\mathcal F}_N(\rho _N^*)\le \Delta _N(\delta )\).

Proof ▶

On \(E_\delta \), \(\| F_{\rho _N^*}-F_{\rho ^*}\| _{L^2(P_X)}\le \sqrt{2\Delta _N(\delta )}\) and \(\| F_{\rho _N^*}|_x-F_{\rho ^*}|_x\| _N\le \sqrt{2\Delta _N(\delta )}\).

Proof ▶
Proof ▶

Step 1: the expansion ‘L(ρ_N^*) − L(ρ*) = ⟪F_ρ_N^* − F_ρ*, r*⟫ + ½‖F_ρ_N^* − F_ρ*‖²‘.

Step 2: ‘‖r*‖ ≤ Ymax‘, ‘‖d‖ ≤ √(2Δ)‘ and ‘½‖d‖² ≤ Δ‘.

\((S^*r^*)(z)={\mathbb E}[\varphi _z(X)(F_{\rho ^*}(X)-f(X))] ={\mathbb E}[\varphi _z(X)(F_{\rho ^*}(X)-Y)]\) by the tower property.

Proof ▶

Step 1: ‘S* r* (z) = ∫ φ_z(x) (F_ρ*(x) − f(x)) P_X(dx) = ∫ φ_z(x) (F_ρ*(x) − f(x)) Q(dx dy)‘.

Step 2: split ‘F_ρ* − f = (F_ρ* − y) + (y − f)‘; the second term integrates to ‘0‘.

On \(E_{\delta /2}\) (in particular on \(E'_\delta \)), with \(\Delta _N:=\Delta _N(\delta /2)\), \(\| \rho _N^*-\rho ^*\| _{\mathrm{TV}}\le \sqrt{\Delta _N/(2\beta )}\) and \(\| \nu _N^*-\nu ^*\| _{\mathrm{TV}}\le \sqrt{\Delta _N/(2\beta )}\) (Pinsker’s inequality and ??; the total variation of the marginals is at most that of the joint laws).

Proof ▶

On a sample with \(|y_i|\le {Y_{\max }}\), for every \(z\in Z\),

\[ g_N(z)-g^*(z)=\frac1N\sum _i\varphi _z(x_i)\bigl(F_{\rho _N^*}(x_i)-F_{\rho ^*}(x_i)\bigr) -\Bigl[\frac1N\sum _i\varphi _z(x_i)e(x_i,y_i)-{\mathbb E}[\varphi _z(X)e(X,Y)]\Bigr], \]

hence \(|g_N(z)-g^*(z)|\le \| F_{\rho _N^*}|_x-F_{\rho ^*}|_x\| _N+G_N(\omega )\).

Proof ▶

Step 1: the first term is ‘⟪Φ_z, d⟫_N‘, bounded by ‘‖Φ_z‖_N ‖d‖_N ≤ ‖d‖_N‘.

Step 2: the second term is bounded by the deviation ‘G_N‘ of the residual class.

Step 3: combine through the decomposition and the tower property.

On \(E'_\delta \), with \(\Delta _N:=\Delta _N(\delta /2)\) and \(\Delta '_N\) as in 86,

\[ \sup _{z\in Z}\bigl|(R^N_{\lambda ,\nu _N^*}y)(z)-(R_{\lambda ,\nu ^*}f)(z)\bigr| \le \frac1\lambda \Bigl[\sqrt{2\Delta _N}+\Delta _N'\Bigr], \]

where \(R^N_{\lambda ,\nu _N^*}y=-g_N/\lambda =m_{\rho _N^*}\) (\(\nu _N^*\)-a.e.) and \(R_{\lambda ,\nu ^*}f=-g^*/\lambda =m_{\rho ^*}\) (\(\nu ^*\)-a.e.).

Proof ▶

‘g_N = −λ R^N y‘ and ‘g* = −λ R f‘ (‘lem:empirical-gibbs‘(a), ‘thm:m1‘(c)).

Proof ▶

Step 1: ‘F_ρ_N^* = S_ν_N^*(−g_N/λ)‘ and ‘F_ρ* = S_ν*(−g*/λ)‘.

Step 2: the pointwise bounds ‘|(−g_N/λ − (−g*/λ)) φ_z| ≤ S‘ and ‘|(−g*/λ) φ_z| ≤ Ymax/λ‘.

Step 3: split ‘F_ρ_N^* − F_ρ* = ∫ (m_N − m*) φ dν_N + [∫ m* φ dν_N − ∫ m* φ dν*]‘.

Under the hypotheses of Theorem 328, \({\mathbb P}(E'_\delta )\ge 1-\delta \): apply Theorem 328 with \(\delta /2\) and Lemma 305 with \(\delta /2\) to the class \(\{ \varphi _ze\} \), \(|\varphi _ze|\le B+{Y_{\max }}\), and take the intersection.

Proof ▶
Proof ▶

Step 1: ‘Πρ_N^* = m_N ν_N^*‘ and ‘Πρ* = m* ν*‘ with ‘m_N = −g_N/λ‘, ‘m* = −g*/λ‘.

Step 2: for every measurable ‘A‘, ‘(Πρ_N^* − Πρ*)(A) − (Πρ_N^* − Πρ*)(Aᶜ) = ∫ σ_A (m_N − m*) dν_N^* + [∫ σ_A m* dν_N^* − ∫ σ_A m* dν*]‘.

Step 3: the two terms are bounded by ‘S = sup|m_N − m*|‘ and ‘2(Ymax/λ) ‖ν_N^* − ν*‖_TV‘.

By Lemma 314, \(\Delta _N\le D(\delta /2)/\sqrt N\) and \(\Delta _N'\le D'(\delta )/\sqrt N\), so that on \(E'_\delta \), \(\| \rho _N^*-\rho ^*\| _{\mathrm{TV}}\le \sqrt{D(\delta /2)/(2\beta \sqrt N)}\) and \(\sup _z|(R^N_{\lambda ,\nu _N^*}y)(z)-(R_{\lambda ,\nu ^*}f)(z)| \le \frac1\lambda \bigl[\sqrt{2D(\delta /2)/\sqrt N}+D'(\delta )/\sqrt N\bigr]\): for fixed \((\lambda ,\beta ,\delta ,m,{Y_{\max }})\), (b) is \(O(N^{-1/4})\) and (a), (c), (d) are \(O(\beta ^{-1/2}N^{-1/4})\).

Proof ▶

In the setting of Theorem 328 let \(\delta \in (0,1)\), \(\Delta _N:=\Delta _N(\delta /2)\) and \(\Delta '_N\) as in 86. With probability at least \(1-\delta \) the following hold simultaneously: (a) \(\| \rho _N^*-\rho ^*\| _{\mathrm{TV}}\le \sqrt{\Delta _N/(2\beta )}\) and \(\| \nu _N^*-\nu ^*\| _{\mathrm{TV}}\le \sqrt{\Delta _N/(2\beta )}\); (b) \(\sup _z|g_N(z)-g^*(z)|\le \sqrt{2\Delta _N}+\Delta '_N\), i.e. \(\sup _z|(R^N_{\lambda ,\nu _N^*}y)(z)-(R_{\lambda ,\nu ^*}f)(z)| \le \frac1\lambda [\sqrt{2\Delta _N}+\Delta '_N]\); (c) \(\sup _x|F_{\rho _N^*}(x)-F_{\rho ^*}(x)|\le \frac1\lambda [\sqrt{2\Delta _N}+\Delta '_N] +\frac{2{Y_{\max }}}\lambda \sqrt{\Delta _N/(2\beta )}\); (d) \(\| \Pi \rho _N^*-\Pi \rho ^*\| _{\mathrm{TV}}\le \frac1{2\lambda }[\sqrt{2\Delta _N}+\Delta '_N] +\frac{{Y_{\max }}}\lambda \sqrt{\Delta _N/(2\beta )}\).

Proof ▶

5.5 Improved rate via linearization

Theorem 343
✓

For \(m_i\in L^1(\nu _i)\), \(m_1\nu _1-m_2\nu _2=\psi \, (\nu _1+\nu _2)\) with \(\psi \) the mixed density.

Proof ▶
Theorem 344
✓

For \(g m_i\in L^1(\nu _i)\), \(\int m_1g\, \mathrm d\nu _1-\int m_2g\, \mathrm d\nu _2=\int \psi g\, \mathrm d(\nu _1+\nu _2)\).

Proof ▶

For bounded measurable \(m_1,m_2\), \(|m_1\nu _1-m_2\nu _2|(\alpha )=\int |\psi |\, \mathrm d(\nu _1+\nu _2)\).

Proof ▶

For bounded measurable \(m_1,m_2\) with \(|m_2|\le M\), \(\int |\psi |\, \mathrm d(\nu _1+\nu _2)\le \int |m_1-m_2|\, \mathrm d\nu _1+2M\| \nu _1-\nu _2\| _{\mathrm{TV}}\), from \(|w_1m_1-w_2m_2|\le w_1|m_1-m_2|+|w_1-w_2||m_2|\).

Proof ▶

Step 1: the pointwise bound ‘|w₁ m₁ − w₂ m₂| ≤ w₁ |m₁ − m₂| + M |w₁ − w₂|‘.

Step 2: integrate, using ‘∫ w₁ g dμ = ∫ g dν₁‘ and ‘lem:rn-deriv-sub-tv‘.

If \(\| f\| _{L^2(P_X)}\le {Y_{\max }}\) then \(\sup _z|m^*(z)|\le M_*={Y_{\max }}/\lambda \).

Proof ▶

\(F_{\rho ^*}(x)=\int _Zm^*(z)\varphi _z(x)\, \nu ^*(\, \mathrm dz)\) for every \(x\).

Proof ▶

If \(|Y|\le {Y_{\max }}\) a.s. and \(\| f\| \le {Y_{\max }}\), then \(|e|\le E_*=M_*+{Y_{\max }}\) a.s.

Proof ▶

If \(|y_i|\le {Y_{\max }}\) for all \(i\) then \(\sup _z|m_N(z)|\le {Y_{\max }}/\lambda \).

Proof ▶

\(F_{\rho _N^*}(x)=\int _Zm_N(z)\varphi _z(x)\, \nu _N^*(\, \mathrm dz)\) for every \(x\).

Proof ▶
Proof ▶

\(h(x)=\int _Z\varphi _z(x)\, \Pi \varsigma (\, \mathrm dz) =\int _Z\psi (z)\varphi _z(x)\, \mu (\, \mathrm dz)\) for every \(x\), where \(\Pi \varsigma =m_N\nu _N^*-m^*\nu ^*=\psi \mu \).

Proof ▶
Proof ▶

Let \(\Psi =\{ \Psi _i:i\in I\} \) be a class of measurable functions on \({\mathcal X}\times {\mathbb R}\) bounded by one, \(\kappa \) a finite measure on \(I\), \(c\in L^1(\kappa )\) and \(e\in L^1(P)\). Then, with \(H(p):=\int _Ic(i)\Psi _i(p)\, \kappa (\, \mathrm di)\), \((P_N-P)[He]=\int _Ic(i)\, (P_N-P)(\Psi _ie)\, \kappa (\, \mathrm di)\) (Fubini, since \(\iint |c(i)\Psi _i(p)e(p)|\, \kappa (\, \mathrm di)P(\, \mathrm dp) \le \| c\| _{L^1(\kappa )}\| e\| _{L^1(P)}{\lt}\infty \)).

Proof ▶

Step 1: the empirical mean, a finite sum.

Step 2: the population mean, by Fubini.

Under the hypotheses of Lemma 355, \(|(P_N-P)[He]|\le \| c\| _{L^1(\kappa )}\sup _{i\in I}|(P_N-P)(\Psi _ie)|\).

Proof ▶

Under the assumptions of Theorem 328, for every realization of the sample, deterministically,

\[ \tfrac 12\| h\| _N^2+\tfrac 12\| h\| ^2_{L^2(P_X)}+\beta \, {\mathcal{K}}_N =-(P_N-P)\bigl[\ell _{F_{\rho _N^*}}-\ell _{F_{\rho ^*}}\bigr] =-(P_N-P)[he]-\tfrac 12(P_N-P)[h^2]. \]

(Add the two quadratic expansions of Lemma ??; the entropy terms \(\beta \operatorname {KL}(\cdot \| \mu _U)\) cancel, and \(\ell _{F_{\rho _N^*}}-\ell _{F_{\rho ^*}}=he+\frac12h^2\).)

Proof ▶

Step 1: ‘‖F_ρ_N^* − F_ρ*‖²_L²(P_X) = ∫ h² dP_X‘.

Step 2: the risks are the means of the square loss.

Step 3: add the two expansions; the entropy terms cancel.

\(\tfrac 12\| h\| _N^2+\tfrac 12\| h\| ^2+\beta {\mathcal{K}}_N =-(P_N-P)[he]-\tfrac 12(P_N-P)[h^2]\), since \(\ell _{F_{\rho _N^*}}-\ell _{F_{\rho ^*}}=\frac12(h+e)^2-\frac12e^2=he+\frac12h^2\).

Proof ▶

For each direction separately, \(\tfrac 12\| h\| _N^2+\beta \operatorname {KL}(\rho ^*\| \rho _N^*)\le -(P_N-P)[he+\tfrac 12h^2]\) and \(\tfrac 12\| h\| ^2+\beta \operatorname {KL}(\rho _N^*\| \rho ^*)\le -(P_N-P)[he+\tfrac 12h^2]\) (drop one of the two nonnegative expansions).

Proof ▶
Proof ▶

\((P_N-P)[h^2]=\iint _{Z\times Z}[(P_N-P)(\varphi _z\varphi _{z'})]\, \Pi \varsigma (\, \mathrm dz)\Pi \varsigma (\, \mathrm dz')\) and \(|(P_N-P)[h^2]|\le D_\varsigma ^2H_N\).

Proof ▶

Step 1: ‘h(x)² = ∬ ψ(z)ψ(z’) φ_z(x)φ_z’(x) μ(dz)μ(dz’)‘.

Step 2: ‘∫ |ψ(z)ψ(z’)| μ(dz)μ(dz’) = D_ς²‘.

Deterministically, \(\tfrac 12\| h\| _N^2+\tfrac 12\| h\| ^2+\beta {\mathcal{K}}_N \le D_\varsigma G_N+\tfrac 12D_\varsigma ^2H_N\).

Proof ▶

\(g^*(z)=\langle \varphi _z,F_{\rho ^*}-f\rangle _{L^2(P_X)} ={\mathbb E}[\varphi _z(X)(F_{\rho ^*}(X)-Y)]=P(\varphi _ze)\), since \({\mathbb E}[(Y-f(X))\varphi _z(X)]=0\).

Proof ▶

Step 1: replace the ‘L²‘ residual by ‘F_ρ* − f‘.

Step 2: pull back to ‘Q‘.

Step 3: the tower property ‘∫ (y − f(x)) φ_z(x) dQ = 0‘.

Proof ▶

\(\sup _z|m_N(z)-m^*(z)|\le \frac1\lambda \bigl[\| h\| _N+G_N\bigr]\), because \(|P_N(\varphi _zh)|\le \| \Phi _z\| _N\| h\| _N\le \| h\| _N\).

Proof ▶

Under Theorem ??(c) and Lemma ??(a), if \(\sup _z|m^*(z)|\le M_1\) then, deterministically, \(D_\varsigma \le \frac1\lambda \bigl[\| h\| _N+G_N\bigr]+M_1\sqrt{{\mathcal{K}}_N}\) (Lemma 367 with \(M_*\) replaced by \(M_1\); the same proof).

Proof ▶

Step 1: ‘D_ς = ∫ |ψ| dμ ≤ ∫ |m_N − m*| dν_N^* + M_* · 2‖ν_N^* − ν*‖_TV‘.

Step 2: ‘∫ |m_N − m*| dν_N^* ≤ sup |m_N − m*| ≤ C‘.

Step 3: ‘2‖ν_N^* − ν*‖_TV ≤ 2‖ρ_N^* − ρ*‖_TV ≤ √𝒦_N‘.

Under Theorem ??(c), (d) and Lemma ??(a), deterministically,

\[ D_\varsigma =|\Pi \rho _N^*-\Pi \rho ^*|(Z)\le \sup _z|m_N-m^*|+M_*\, |\nu _N^*-\nu ^*|(Z) \le \frac1\lambda \bigl[\| h\| _N+G_N\bigr]+M_*\sqrt{{\mathcal{K}}_N}. \]

(\(\Pi \rho _N^*-\Pi \rho ^*=(m_N-m^*)\nu _N^*+m^*(\nu _N^*-\nu ^*)\), subadditivity of the total variation, \(|\nu _N^*-\nu ^*|(Z)=2\| \nu _N^*-\nu ^*\| _{\mathrm{TV}}\le 2\| \rho _N^*-\rho ^*\| _{\mathrm{TV}}\le \sqrt{{\mathcal{K}}_N}\) by Lemma 852.)

Proof ▶
Theorem 368
✓
#

Let \(u,u_P,v,D,G,H\ge 0\) and \(c\ge 1\) with \(c^2H\le \frac18\), \(\frac12u^2+\frac12u_P^2+v^2\le DG+\frac12D^2H\) and \(D\le c(u+v+G)\). Then \(u+v\le 9cG\), \(u_P\le 6cG\) and \(D\le 10c^2G\). (With \(s=u+v\): \(\frac14s^2\le \frac12u^2+v^2\), \(D^2H\le \frac18(s+G)^2\), hence \(s^2\le 8cGs+9cG^2\) and \(s\le 9cG\).)

Proof ▶

Step 1: ‘DG ≤ c(s + G)G‘ and ‘D²H ≤ (1/8)(s + G)²‘.

Step 2: the quadratic inequality ‘s² ≤ 8cGs + 9cG²‘.

Step 3: solve the quadratic inequality.

‘u_P² ≤ 2DG + D²H ≤ 20c²G² + (1/8)(10cG)² ≤ 36c²G²‘.

Assume the setting of Theorem 370 and \(\sup _z|m^*(z)|\le M_1\); put \(c_1(M_1):=\max \{ 1,1/\lambda ,M_1/\sqrt\beta \} \). For any upper bounds \(\eta '\ge G_N\), \(\eta ''\ge H_N\) with \(c_1(M_1)^2\eta ''\le \frac18\): \(\| h\| _N+\sqrt{\beta {\mathcal{K}}_N}\le 9c_1(M_1)\eta '\), \(\| h\| \le 6c_1(M_1)\eta '\), \(D_\varsigma \le 10c_1(M_1)^2\eta '\), \({\mathcal{K}}_N\le \frac{81c_1(M_1)^2}\beta \eta '{}^2\) and \(\| \rho _N^*-\rho ^*\| _{\mathrm{TV}}\le \frac{9c_1(M_1)}{2\sqrt\beta }\eta '\) (the proof of Theorem 370 with Lemma 366).

Proof ▶

Step 1: the self-bounding inequality with ‘u_P² = ‖h‖²‘ and ‘v² = β𝒦_N‘.

Step 2: ‘lem:coefficient-tv‘ in the form ‘D ≤ c(u + v + G)‘.

Step 3: the arithmetic closure.

(b): ‘𝒦_N = v²/β ≤ (9 c η’)²/β‘.

(b): ‘‖ρ_N^* − ρ*‖_TV ≤ ½√𝒦_N = v/(2√β)‘.

Assume the setting of Theorem 328. Put \(c_1:=\max \{ 1,1/\lambda ,M_*/\sqrt\beta \} \) and \(N_B(\delta ):=\lceil 64c_1^4D''(\delta )^2\rceil \) (\(\Leftrightarrow c_1^2\eta _N''\le \frac18\)). Let \(\delta \in (0,1)\) and \(N\ge N_B(\delta )\). On the event \(\Omega _\delta \) the following hold simultaneously.

  1. \(\| h\| _N+\sqrt{\beta {\mathcal{K}}_N}\le 9c_1\eta _N'\), \(\| h\| _{L^2(P_X)}\le 6c_1\eta _N'\), \(D_\varsigma \le 10c_1^2\eta _N'\).

  2. \({\mathcal{K}}_N\le \frac{81c_1^2}\beta \eta _N'{}^2\) and \(\| \rho _N^*-\rho ^*\| _{\mathrm{TV}}\le \frac{9c_1}{2\sqrt\beta }\eta _N'\).

(In Lean the statement is deterministic: for any upper bounds \(\eta '\ge G_N\), \(\eta ''\ge H_N\) with \(c_1^2\eta ''\le \frac18\).)

Proof ▶

Assume the setting of Theorem 369. For any upper bounds \(\eta '\ge G_N\), \(\eta ''\ge H_N\) with \(c_1(M_1)^2\eta ''\le \frac18\): \(\| \rho _N^*-\rho ^*\| _{\mathrm{TV}},\| \nu _N^*-\nu ^*\| _{\mathrm{TV}}\le \frac{9c_1(M_1)}{2\sqrt\beta }\eta '\), \(\sup _z|m_N-m^*|\le \frac1\lambda [\| h\| _N+\eta ']\le \frac{10c_1(M_1)}\lambda \eta '\), \(\sup _x|h|\le D_\varsigma \le 10c_1(M_1)^2\eta '\) and \(\| \Pi \rho _N^*-\Pi \rho ^*\| _{\mathrm{TV}}=\frac12D_\varsigma \le 5c_1(M_1)^2\eta '\).

Proof ▶

(c): ‘|h(x)| = |∫ ψ φ_z(x) dμ| ≤ ∫ |ψ| dμ = D_ς‘.

Assume the setting of Theorem 370, \(\delta \in (0,1)\) and \(N\ge N_B(\delta )\). On the event \(\Omega _\delta \) the following hold simultaneously.

  1. \(\| \rho _N^*-\rho ^*\| _{\mathrm{TV}}\le \frac{9c_1}{2\sqrt\beta }\eta _N'\) and \(\| \nu _N^*-\nu ^*\| _{\mathrm{TV}}\le \frac{9c_1}{2\sqrt\beta }\eta _N'\).

  2. \(\sup _z|(R^N_{\lambda ,\nu _N^*}y)(z)-(R_{\lambda ,\nu ^*}f)(z)|=\sup _z|m_N(z)-m^*(z)| \le \frac1\lambda [\| h\| _N+\eta _N']\le \frac{10c_1}\lambda \eta _N'\).

  3. \(\sup _x|F_{\rho _N^*}(x)-F_{\rho ^*}(x)|\le D_\varsigma \le 10c_1^2\eta _N'\), since \(|h(x)|=|\int \varphi _z(x)\, \mathrm d\Pi \varsigma |\le D_\varsigma \).

  4. \(\| \Pi \rho _N^*-\Pi \rho ^*\| _{\mathrm{TV}}=\frac12D_\varsigma \le 5c_1^2\eta _N'\).

Proof ▶

Fix \(\delta \in (0,1)\) and apply Lemma 305 with \(\delta _1=\delta /2\) and Lemma 303 with \(\delta _2=\delta /2\): with \(\eta _N'=2E_*{\mathfrak R}_N(\Phi )+E_*\sqrt{2\log (4/\delta )/N}\) and \(\eta _N''=2{\mathfrak R}_N(\Psi )+\sqrt{2\log (4/\delta )/N}\), \({\mathbb P}(\Omega _\delta )={\mathbb P}(\{ G_N\le \eta _N'\} \cap \{ H_N\le \eta _N''\} )\ge 1-\delta \).

Proof ▶

Step 1: ‘lem:GN‘ at level ‘δ/2‘ for ‘e = F_ρ* − y‘.

Step 2: ‘lem:HN‘ at level ‘δ/2‘.

Step 3: ‘A‘ is null-measurable (a.e. equal to the measurable event of the clipped residual) and ‘B‘ is measurable.

Step 4: the union bound.

If \(|e|\le E\) \(Q\)-a.s. for some \(E{\gt}0\), then with \(\eta _N'=2E{\mathfrak R}_N(\Phi )+E\sqrt{2\log (4/\delta )/N}\) and \(\eta _N''=2{\mathfrak R}_N(\Psi )+\sqrt{2\log (4/\delta )/N}\), \({\mathbb P}(\{ G_N\le \eta _N'\} \cap \{ H_N\le \eta _N''\} )\ge 1-\delta \) (Lemmas 305 and 303 at level \(\delta /2\) each, and a union bound).

Proof ▶

Step 1: ‘lem:GN‘ at level ‘δ/2‘ for ‘e = F_ρ* − y‘.

Step 2: ‘lem:HN‘ at level ‘δ/2‘.

Step 3: ‘A‘ is null-measurable (a.e. equal to the measurable event of the clipped residual) and ‘B‘ is measurable.

Step 4: the union bound.

If \(|Y|\le {Y_{\max }}\) a.s. and \(\sup _z|m^*(z)|\le M_1\), then \(|e|\le M_1+{Y_{\max }}\) a.s. (\(|F_{\rho ^*}|=|S_{\nu ^*}m^*|\le M_1\)).

Proof ▶

If \(\sup _z|m^*(z)|\le M_1\), then with \(E_*:=M_1+{Y_{\max }}\) in \(\eta _N'\), \({\mathbb P}(\Omega _\delta )\ge 1-\delta \) (Lemma 374 with Lemma 375).

Proof ▶
Theorem 377
✓
#

If \({\mathfrak R}_N(\Phi )\le C_{\mathrm P}\sqrt{(m+1)/N}\) then \(\eta _N'\le E_*D'(\delta )/\sqrt N\), \(D'(\delta )=2C_{\mathrm P}\sqrt{m+1}+\sqrt{2\log (4/\delta )}\).

Proof ▶
Theorem 378
✓
#

If \({\mathfrak R}_N(\Psi )\le C'_{\mathrm P}\sqrt{(m+1)/N}\) then \(\eta _N''\le D''(\delta )/\sqrt N\), \(D''(\delta )=2C'_{\mathrm P}\sqrt{m+1}+\sqrt{2\log (4/\delta )}\).

Proof ▶
Theorem 379
✓

For \(c\ge 0\) and \(D''\ge 0\), \(N\ge 64c^4D''{}^2\) implies \(c^2D''/\sqrt N\le \frac18\); this is the condition \(N\ge N_B(\delta )=\lceil 64c_1^4D''(\delta )^2\rceil \) of Theorem 370.

Proof ▶

Assume the setting of Theorem 369, the complexity bounds \({\mathfrak R}_N(\Phi )\le C_{\mathrm P}\sqrt{(m+1)/N}\), \({\mathfrak R}_N(\Psi )\le C'_{\mathrm P}\sqrt{(m+1)/N}\) and \(N\ge 64c_1(M_1)^4D''(\delta )^2\). On the event \(\Omega _\delta \) (with \(E:=M_1+{Y_{\max }}\) in \(\eta '_N\)), with \(D'(\delta )=2C_{\mathrm P}\sqrt{m+1}+\sqrt{2\log (4/\delta )}\): \({\mathcal{K}}_N\le \frac{121c_1(M_1)^2E^2D'(\delta )^2}{\beta N}\), \(\| h\| _N,\| h\| \le \frac{11c_1(M_1)ED'(\delta )}{\sqrt N}\), \(\| \rho _N^*-\rho ^*\| _{\mathrm{TV}}\le \frac{11c_1(M_1)ED'(\delta )}{2\sqrt{\beta N}}\), \(\sup _z|m_N-m^*|\le \frac{12c_1(M_1)ED'(\delta )}{\lambda \sqrt N}\) and \(\sup _x|F_{\rho _N^*}-F_{\rho ^*}|\le \frac{12c_1(M_1)^2ED'(\delta )}{\sqrt N}\).

Proof ▶

Step 1: the threshold ‘N ≥ N_B(δ)‘ gives ‘c_1² η”_N ≤ 1/8‘.

Step 2: ‘η’_N ≤ E_* D’(δ)/√N‘.

Step 3: the constants ‘9, 6, 10, 81‘ of ‘thm:m3-double-prime‘ are rounded to ‘11, 11, 12, 121‘.

On \(\Omega _\delta \), for \(N\ge N_B(\delta )\) and under Lemmas 314 and 315: with \(D'(\delta )=2C_{\mathrm P}\sqrt{m+1}+\sqrt{2\log (4/\delta )}\), \({\mathcal{K}}_N\le \frac{121c_1^2E_*^2D'(\delta )^2}{\beta N}=O(1/N)\), \(\| h\| _N,\| h\| \le \frac{11c_1E_*D'(\delta )}{\sqrt N}\), \(\| \rho _N^*-\rho ^*\| _{\mathrm{TV}}\le \frac{11c_1E_*D'(\delta )}{2\sqrt{\beta N}}\), \(\sup _z|m_N-m^*|\le \frac{12c_1E_*D'(\delta )}{\lambda \sqrt N}\) and \(\sup _x|F_{\rho _N^*}-F_{\rho ^*}|\le \frac{12c_1^2E_*D'(\delta )}{\sqrt N}\), all of order \(N^{-1/2}\) with no logarithm.

Proof ▶