SLT Lecture 3
Kai Ogden
Let w^* be a local minimum. Choose a small closed ball B(w^*) on which
K(w):=L(w)-L(w^*)\geq0.
The sublevel set at tolerance \epsilon is B(w^*,\epsilon)=\{w\in B(w^*):K(w)<\epsilon\}.
Its volume is V(\epsilon)=\mathrm{Vol}\big(B(w^*,\epsilon)\big).
How fast does this volume shrink as \epsilon\to0?
Definition (regular minimum). A local minimum w^* is regular if its Hessian H=\nabla^2L(w^*) is positive definite.
Proposition (volume scaling). At a regular minimum in d=\dim\mathcal W dimensions, for a sufficiently small fixed neighbourhood, V(\epsilon)=c\,\epsilon^{d/2}+o(\epsilon^{d/2}) \quad\text{as }\epsilon\to0,\qquad c>0.
Proof: exercise in the notes. Start with the quadratic approximation: K(w)=L(w)-L(w^*)\approx\tfrac12(w-w^*)^\top H(w-w^*).
Write \mathcal W_0:=\{w\in B(w^*):K(w)=0\} for the local zero-loss set.
Definition (minimally singular minimum). A local minimum w^* is minimally singular if, near w^*, \mathcal W_0 is a positive-dimensional smooth submanifold of parameter space \mathcal W, and the Hessian is positive definite normal to \mathcal W_0.
Write r=\operatorname{codim}\mathcal W_0 then there are d-r flat tangent directions and r normal quadratic directions.
Proposition (volume scaling). In a sufficiently small fixed neighbourhood, V(\epsilon)=c\,\epsilon^{r/2}+o(\epsilon^{r/2}) \quad\text{as }\epsilon\to0,\qquad c>0.
Proof. The Morse–Bott lemma gives local coordinates u\in\mathbb R^r, v\in\mathbb R^{d-r} with K(u,v)=u_1^2+\cdots+u_r^2. Apply the regular-case result in the r normal directions.
Everything else!
Quartic bowl
K(x,y)=x^4+y^4
Single point: \mathcal W_0=\{(0,0)\}
Crossing valleys
K(x,y)=x^2y^2
Normal crossing: \mathcal W_0=\{xy=0\}
Cuspidal valley
K(x,y)=(y^2-x^3)^2
Cusp: \mathcal W_0=\{y^2=x^3\}
Theorem (Arnold, Gusein-Zade & Varchenko; Watanabe). For nonconstant real analytic L near a local minimum w^*, there are unique \lambda\in\mathbb Q_{>0} and \mu\in\mathbb N_{>0} such that, for some c>0,
V(\epsilon)=c\,\epsilon^\lambda(-\log\epsilon)^{\mu-1}\big(1+o(1)\big)\quad\text{as }\epsilon\to0.
Regular: \lambda=d/2, \mu=1.
Minimally singular: \lambda=r/2, \mu=1, where r=\operatorname{codim}\mathcal W_0.
Interpretation: \lambda measures degeneracy at the minimum and 2\lambda acts as an effective dimension.
At a local minimum, write r=\operatorname{rank}\nabla^2L(w^*),\qquad d=\dim\mathcal W.
Then \boxed{\frac r2\;\leq\;\lambda(w^*)\;\leq\;\frac d2.}
The regular case attains the upper bound.
The minimally singular case attains the lower bound.
See exercises for a proof of the upper bound.
Suppose we already have K(w)<\epsilon and want to halve the tolerance, from \epsilon to \epsilon / 2 then
\frac{V(\epsilon)}{V(\epsilon/2)} =\frac{c\epsilon^\lambda[\log(1/\epsilon)]^{\mu-1}(1+o(1))} {c(\epsilon/2)^\lambda[\log(2/\epsilon)]^{\mu-1}(1+o(1))}
\phantom{\frac{V(\epsilon)}{V(\epsilon/2)}} =2^{\lambda} \left(\frac{\log(1/\epsilon)}{\log(2/\epsilon)}\right)^{\mu-1}(1+o(1))
\phantom{\frac{V(\epsilon)}{V(\epsilon/2)}} \longrightarrow 2^{\lambda}\qquad\text{as }\epsilon\to0.
The number of bits needed to halve a small tolerance from \epsilon to \epsilon/2 is
\log_2\!\left(\frac{V(\epsilon)}{V(\epsilon/2)}\right) \approx \lambda.
A function on an open subset of \mathbb R^d is real analytic if, near every point, it equals a convergent power series.
In one variable, for x sufficiently close to a,
f(x)=f(a)+f'(a)(x-a)+\frac{f''(a)}{2!}(x-a)^2+\cdots.
Examples: polynomials, e^x, \sin x, and \cos x are real analytic.
Every analytic function is smooth, but a smooth function need not be analytic:
h(x)=\begin{cases}e^{-1/x^2},&x\neq0,\\0,&x=0.\end{cases}
All derivatives of h at 0 vanish, so its Taylor series is zero, while h(x)>0 for x\neq0.
A real analytic manifold M is a space covered by open patches U. Each has a chart \phi:U\to\phi(U)\subset\mathbb R^d which is a homeomorphism onto an open subset of \mathbb R^d.
On overlapping patches, the coordinate changes \psi\circ\phi^{-1} are real analytic.
Functions on the manifold
We can specify f:M\to\mathbb R by local functions F_U=f\circ\phi^{-1}:\phi(U)\to\mathbb R. These must agree on overlapping charts:
F_U(u)=F_V\!\left(\psi\circ\phi^{-1}(u)\right).
The function f is real analytic when all its local expressions F_U are real analytic.
Suppose we want to integrate over an analytic manifold S.
We can’t sum the integrals on each chart since some charts overlap.
A partition of unity adapted to chart patches U_\alpha\subset S is a collection of smooth {\rho_\alpha:S\to[0,1]}, zero outside U_\alpha, with \sum_\alpha\rho_\alpha(p)=1 for all p\in S. Then
\int_S f=\sum_\alpha\int_{U_\alpha}\rho_\alpha(u)\,f(u)\,\mathrm du.
Theorem (Hironaka). Nonzero analytic K\geq0 admits a proper resolution g:\widetilde{\mathcal W}\to\mathcal W. Around each point of g^{-1}(\{K=0\}), there are local coordinates u on \widetilde{\mathcal W} in which
\begin{aligned} K(g(u))&=u_1^{2k_1}\cdots u_d^{2k_d},\\ |\det Dg(u)|&=b(u)\,|u_1|^{h_1}\cdots |u_d|^{h_d}. \end{aligned}
Here k_i,h_i\geq0 are integers, and b>0 is analytic.
Importantly, g is an isomorphism away from \{K=0\}.
For polynomial K, we can obtain g by a finite sequence of blow-ups along smooth centres.
For nonnegative analytic losses, suppose cK_1\leq K_2\leq CK_1, with 0<c\leq C.
\begin{aligned} K_1(w)<\epsilon/C &\ \Longrightarrow\ K_2(w) <\epsilon,\\ K_2(w)<\epsilon &\ \Longrightarrow\ K_1(w) <\epsilon/c. \end{aligned}
Taking volumes gives the two-sided bound
V_1(\epsilon/C)\ \leq\ V_2(\epsilon)\ \leq\ V_1(\epsilon/c).
Now divide by V_1(\epsilon) and use the same scaling limit as in the information theory section:
\underbrace{\frac{V_1(\epsilon/C)}{V_1(\epsilon)}}_{\longrightarrow\ C^{-\lambda_1}>0} \ \leq\ \frac{V_2(\epsilon)}{V_1(\epsilon)}\ \leq\ \underbrace{\frac{V_1(\epsilon/c)}{V_1(\epsilon)}}_{\longrightarrow\ c^{-\lambda_1}<\infty}.
So the middle ratio cannot tend to 0 or \infty.
\frac{V_2(\epsilon)}{V_1(\epsilon)}\sim \frac{A_2}{A_1}\epsilon^{\lambda_2-\lambda_1} (-\log\epsilon)^{\mu_2-\mu_1}.
We can compute using a polynomial P whenever we prove cP\leq K\leq CP.
Explain where the volume scaling law comes from, V(\epsilon)\approx c\,\epsilon^{\lambda}(-\log\epsilon)^{\mu-1}, and find a formula for \lambda and \mu along the way.
Throughout, w^* is a local minimum with ball B(w^*). Write K(w)=L(w)-L(w^*)\geq0, so that V(\epsilon) is the volume of \{w\in B(w^*) : K(w)<\epsilon\}.
V(\epsilon) adds up the contributions of all the level sets \{K=t\} with t<\epsilon.
First step: isolate the contribution of a single level set.
Informally, think of \delta(t) as a “function” satisfying
\delta(t)=\begin{cases} \infty,&t=0,\\ 0,&t\ne0, \end{cases} \qquad \int_{\R}\delta(t)\,\mathrm dt=1.
Think of it as the limit as \eta \to 0 of a sequence of box functions of width \eta and height 1/\eta
\delta_\eta(t)=\begin{cases} 1/\eta,&-\eta<t\leq0,\\ 0,&\text{otherwise.} \end{cases}
For any continuous function F,
\int_{\R}F(t)\,\delta_\eta(t-a)\,\mathrm dt =\frac1\eta\int_{a-\eta}^{a}F(t)\,\mathrm dt \;\xrightarrow{\;\eta\to0\;}\;F(a).
We only use \delta inside an integral, so we define it by this sifting property:
\int_{\R}F(t)\,\delta(t-a)\,\mathrm dt=F(a).
Definition. The density of states of L at w^* is
v(t)=\int_{B(w^*)}\delta\big(t-K(w)\big)\,\mathrm dw.
To see what this measures, replace \delta by the box \delta_\eta. The integrand is 1/\eta when t\leq K(w)<t+\eta, and zero otherwise. Hence
\begin{aligned} v(t)&\approx\frac1\eta\,\mathrm{Vol}\{w\in B(w^*):t\leq K(w)<t+\eta\}\\ &=\frac{V(t+\eta)-V(t)}{\eta}. \end{aligned}
So v(t)\,\mathrm dt is the volume of the thin shell of parameters whose loss lies between t and t+\mathrm dt.
Letting \eta\to0 suggests v(t)=V'(t).
(a) For any F for which the integrals exist, \int_0^\infty F(t)\,v(t)\,\mathrm dt=\int_{B(w^*)}F\big(K(w)\big)\,\mathrm dw.
(b) V(\epsilon)=\int_0^\epsilon v(t)\,\mathrm dt. In other words, v=\dfrac{\mathrm dV}{\mathrm dt}.
Proof of (a): substitute the definition of v(t). \int_0^\infty F(t)v(t)\,\mathrm dt =\int_0^\infty F(t)\biggl[\int_{B(w^*)}\delta(t-K(w))\,\mathrm dw\biggr]\mathrm dt.
=\int_{B(w^*)}\biggl[\int_0^\infty F(t)\delta(t-K(w))\,\mathrm dt\biggr]\mathrm dw \qquad\text{(swap the order).}
=\int_{B(w^*)}F(K(w))\,\mathrm dw \qquad\text{(sift at }t=K(w)\geq0\text{).}
Proof of (b): choose F(t)=\mathbf1_{[0,\epsilon)}(t) in (a). \int_0^\epsilon v(t)\,\mathrm dt =\int_{B(w^*)}\mathbf1_{\{K(w)<\epsilon\}}\,\mathrm dw =V(\epsilon).
Differentiating in \epsilon gives V'(\epsilon)=v(\epsilon).
For z where the integral converges, the Mellin transform of f is \mathcal M[f](z)=\int_0^\infty f(t)\,t^z\,\mathrm dt,\qquad z\in\mathbb C.
Recall property (a): \int_0^\infty F(t)\,v(t)\,\mathrm dt =\int_{B(w^*)}F(K(w))\,\mathrm dw.
Take F(t)=t^z. The Mellin transform of the density of states is the zeta function of L at w^*:
\zeta(z)=\mathcal M[v](z)=\int_{B(w^*)}K(w)^z\,\mathrm dw.
On B=[-1,1],
\zeta(z)=\int_{-1}^1(x^2)^z\,\mathrm dx=\frac{2}{2z+1}=\frac{1}{z+\frac12}.
Converges only when \operatorname{Re}z>-\tfrac12.
The right-hand side extends \zeta to a meromorphic function with one simple pole.
Theorem (meromorphic continuation). The zeta function extends to a meromorphic function on \mathbb C. All its poles are negative rational numbers -\lambda_1>-\lambda_2>\cdots, of orders \mu_1,\mu_2,\dots, and for every R>0,
\zeta(z)=\sum_{i\,:\,\lambda_i<R}\ \sum_{m=1}^{\mu_i}\frac{c_{i,m}}{(z+\lambda_i)^m}+H_R(z),
with H_R holomorphic on \operatorname{Re}z>-R.
The rightmost pole, at z=-\lambda with order \mu, has a positive leading coefficient.
Take a resolution g:\widetilde{\mathcal W}\to\mathcal W of K. It is an isomorphism away from \{K=0\}, which has measure zero, so we can substitute w=g(u):
\zeta(z)=\int_{g^{-1}(B(w^*))}K(g(u))^z\,|\det Dg(u)|\,\mathrm du.
We can compute this integral chart by chart using a partition of unity.
Since g is proper, g^{-1}(B(w^*)) is compact so can be covered by finitely many charts.
Type 1: K\circ g\geq\delta>0 on the support of the chart weight. Their integrals are entire in z, so these charts contribute no poles to \zeta.
Type 2: By the resolution theorem, on charts that intersect \{K\circ g=0\}: \begin{aligned} K(g(u))&=u_1^{2k_1}\cdots u_d^{2k_d},\\ |\det Dg(u)|&=b(u)\,|u_1^{h_1}\cdots u_d^{h_d}|. \end{aligned}
Cover the type 2 charts by finitely many small boxes (-\delta,\delta)^d and rescale each to (-1,1)^d.
Keep the boxes that intersect \{K\circ g=0\}. The rest have K\circ g>0 so are type 1.
Split remaining boxes into their 2^d orthants and reflect negative coordinates. Every piece becomes [0,1)^d.
Take a partition of unity for the boxes and type 1 charts. Index the boxes by \alpha then
\zeta(z)=\sum_\alpha \zeta_\alpha(z)+\zeta_+(z) where A_\alpha>0 comes from rescaling, \zeta_+ is entire, and
\begin{aligned} \zeta_\alpha(z) &=\int_{[0,1]^d}u_1^{2k_1z}\cdots u_d^{2k_dz} u_1^{h_1}\cdots u_d^{h_d}\, b_{\alpha}(u)\,\mathrm du\\ &=\int_{[0,1]^d}u_1^{2k_1z+h_1}\cdots u_d^{2k_dz+h_d}\,b_\alpha(u)\,\mathrm du. \end{aligned}
Here, b_\alpha absorbs b, \rho_\alpha and the constant rescaling Jacobian. It is smooth, with b_\alpha(0)>0.
Take d=1, so that \zeta_\alpha(z)=\int_0^1u^{2kz+h}\,b(u)\,\mathrm du with k\geq1.
Taylor expand b(u)=\sum_{j<n}a_ju^j+u^n\,r_n(u) and integrate term by term:
\begin{aligned} \zeta_\alpha(z) &=\int_0^1u^{2kz+h}\Big(\sum_{j=0}^{n-1}a_ju^j+u^n\,r_n(u)\Big)\,\mathrm du\\ &=\sum_{j=0}^{n-1}\frac{a_j}{2kz+h+j+1}\;+\;\int_0^1u^{2kz+h+n}\,r_n(u)\,\mathrm du. \end{aligned}
The sum has possible simple poles at z=-\frac{h+j+1}{2k}, when a_j\ne0. The remainder is holomorphic for {\operatorname{Re}z>-\frac{h+n+1}{2k}}.
Taking n larger moves this as far left as we like.
Thus, for every R>0, \zeta_\alpha is a finite sum of principal parts plus a holomorphic remainder on {\operatorname{Re}z>-R}.
Take d=2 with k_1,k_2>0. Do the u_1 integral first, treating u_2 as a parameter:
\zeta_\alpha(z)=\int_0^1u_2^{2k_2z+h_2}\left[\int_0^1u_1^{2k_1z+h_1}\,b(u_1,u_2)\,\mathrm du_1\right]\mathrm du_2.
Taylor expand in u_1 only: b(u_1,u_2)=\sum_{j<n}a_j(u_2)\,u_1^j+u_1^n\,r_n(u_1,u_2). The inner integral is then
\int_0^1u_1^{2k_1z+h_1}\,b(u_1,u_2)\,\mathrm du_1 =\sum_{j=0}^{n-1}\frac{a_j(u_2)}{2k_1z+h_1+j+1}+H_n(z,u_2),
with H_n holomorphic for {\operatorname{Re}z>-\frac{h_1+n+1}{2k_1}}, and smooth in u_2.
Put this back into the u_2 integral:
\begin{aligned} \zeta_\alpha(z) &=\sum_{j=0}^{n-1}\frac{1}{2k_1z+h_1+j+1}\int_0^1u_2^{2k_2z+h_2}\,a_j(u_2)\,\mathrm du_2\\ &\quad+\int_0^1u_2^{2k_2z+h_2}\,H_n(z,u_2)\,\mathrm du_2. \end{aligned}
Each u_2 integral is the one-variable case again, with possible simple poles at z=-\frac{h_2+l+1}{2k_2} and a holomorphic remainder on a right half-plane.
So the poles of \zeta_\alpha lie on two ladders, z=-\frac{h_1+j+1}{2k_1} and z=-\frac{h_2+l+1}{2k_2}. Where they meet, a u_1 factor times a u_2 factor can give a double pole.
In d variables expand one coordinate at a time. Poles can be up to order d.
This proves the theorem.
Theorem (meromorphic continuation). The zeta function extends to a meromorphic function on \mathbb C. All its poles are negative rational numbers -\lambda_1>-\lambda_2>\cdots, of orders \mu_1,\mu_2,\dots, and for every R>0,
\zeta(z)=\sum_{i\,:\,\lambda_i<R}\ \sum_{m=1}^{\mu_i}\frac{c_{i,m}}{(z+\lambda_i)^m}+H_R(z),
with H_R holomorphic on \operatorname{Re}z>-R.
The rightmost pole, at z=-\lambda with order \mu, has a positive leading coefficient.
In chart \alpha, each coordinate with k_p>0 has a ladder of possible poles
z=-\frac{h_p+1+j_p}{2k_p},\qquad j_p=0,1,2,\dots
The rightmost pole on this ladder is j_p=0. So the rightmost pole of \zeta_\alpha is at z=-\lambda_\alpha, with
\lambda_\alpha=\min_{p\,:\,k_p>0}\frac{h_p+1}{2k_p},\qquad\mu_\alpha=\#\{p\text{ attaining the minimum}\}.
The rightmost pole of \zeta is the rightmost over all charts
\lambda=\min_\alpha\lambda_\alpha,\qquad\mu=\max\{\mu_\alpha : \lambda_\alpha=\lambda\}.
In algebraic geometry, \lambda is the real log canonical threshold.
\zeta(z)=\int_{B(w^*)}K(w)^z\,\mathrm dw has a meromorphic continuation to all of \mathbb C.
Its poles are negative rational numbers. In each chart they lie among the ladders of the normal crossing exponents, z=-\frac{h_p+1+j}{2k_p},\qquad k_p>0,\quad j=0,1,2,\dots
The largest pole is the rightmost one, z=-\lambda, with \lambda=\min_\alpha\ \min_{p\,:\,k_p>0}\frac{h_p+1}{2k_p}. Its order is \mu=\max_{\alpha:\lambda_\alpha=\lambda}\mu_\alpha: the largest number of minimising coordinates in one such chart.
For any cutoff R>0, the pole expansion is
\zeta(z)=\sum_{i:\lambda_i<R}\sum_{m=1}^{\mu_i}\frac{c_{i,m}}{(z+\lambda_i)^m}+H_R(z),
with H_R holomorphic on {\operatorname{Re}z>-R}. Since \zeta=\mathcal M[v], we recover v by inverting the Mellin transform, term by term.
Lemma. For \alpha>0 and m\geq1,
\mathcal M^{-1}\!\left[\frac{1}{(z+\alpha)^m}\right](t) =\begin{cases} \dfrac{1}{(m-1)!}\,t^{\alpha-1}(-\log t)^{m-1}, & 0<t<1,\\[1ex] 0, & t\geq1. \end{cases}
Proof. Exercise: take the Mellin transform of the right-hand side.
\begin{array}{l|l} \zeta(z) & v(t)\ \text{as}\ t\to0\\ \hline \text{pole at } z=-\alpha & t^{\alpha-1}\\[4pt] \text{order } m & (-\log t)^{m-1}\\[4pt] \text{poles further left} & \text{smaller as } t\to0 \end{array}
Sketch: invert the pole contributions of \zeta term by term. With suitable bounds for Mellin inversion, the remainder H_R contributes lower order terms. The rightmost pole dominates:
v(t)=c'\,t^{\lambda-1}(-\log t)^{\mu-1}+\text{lower order terms}.
It remains to integrate:
V(\epsilon)=\int_0^\epsilon v(t)\,\mathrm dt=\frac{c'}{\lambda}\,\epsilon^{\lambda}(-\log\epsilon)^{\mu-1}+\text{lower order terms}.
This is the volume scaling law, with c=c'/\lambda>0.
The local learning coefficient \lambda(w^*) is
The multiplicity \mu(w^*) is the order of that pole.
Degeneracy lowers \lambda below \tfrac d2, and \lambda sees more than the Hessian.