arXiv reader

Bayesian Interpolation with Deep Linear Networks

Boris Hanin and Alexander Zlokapa

arXiv
2212.14457v3 · PDF · 14 May 2023
Categories
stat.ML, cs.LG, math.PR
Licence
CC BY 4.0 The site shows the text.

Abstract

Characterizing how neural network depth, width, and dataset size jointly impact model quality is a central problem in deep learning theory. We give here a complete solution in the special case of linear networks with output dimension one trained using zero noise Bayesian inference with Gaussian weight priors and mean squared error as a negative log-likelihood. For any training dataset, network depth, and hidden layer widths, we find non-asymptotic expressions for the predictive posterior and Bayesian model evidence in terms of Meijer-G functions, a class of meromorphic special functions of a single complex variable. Through novel asymptotic expansions of these Meijer-G functions, a rich new picture of the joint role of depth, width, and dataset size emerges. We show that linear networks make provably optimal predictions at infinite depth: the posterior of infinitely deep linear networks with data-agnostic priors is the same as that of shallow networks with evidence-maximizing data-dependent priors. This yields a principled reason to prefer deeper networks when priors are forced to be data-agnostic. Moreover, we show that with data-agnostic priors, Bayesian model evidence in wide linear networks is maximized at infinite depth, elucidating the salutary role of increased depth for model selection. Underpinning our results is a novel emergent notion of effective depth, given by the number of hidden layers times the number of data points divided by the network width; this determines the structure of the posterior in the large-data limit.

Items 27

Theorem

Theorem 3.1 (Predictive Posterior and Evidence)

QZN0

Fix P,L,N_0,\ldots, N_L\geq 1,\, \sigma^2>0 as well as training data X_{N_0},Y_{N_0}. Fix {\bf t}\in \mathbb R^{N_0} and write

{\bf t} = {\bf t}_{||}+ {\bf t}_\perp,\qquad {\bf t}_{||}\in \mathrm{col}(X_{N_0}),\quad {\bf t}_{\perp}\in \mathrm{col}(X_{N_0})^\perp.

Define 4M = \prod_{\ell=0}^L 2\sigma^2/N_\ell

and introduce the following shorthand for the Meijer-G functions (see § ?) with parameters given by layer widths:

\begin{aligned} &\ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_{*,N_0}\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2},\frac{\mathbf{N}}{2}+k \end{array} \right)}:=\qquad\ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_{*,N_0}\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2},\frac{N_1}{2}+k,\ldots, \frac{N_L}{2}+k \end{array} \right)}. \end{aligned}

The partition function Z_\infty({\bf t}) of the predictive posterior defined in (?) is

\begin{aligned} &Z_\infty({\bf t}) = \left(\frac{4\pi }{\left|\left|\theta_*\right|\right|^2}\right)^{\frac{P}{2}} \exp\left[-i\left \langle \theta_{*,N_0},{\bf t}\right\rangle \right]\prod_{\ell=1}^L \Gamma\left(\frac{N_\ell}{2}\right)^{-1} \\ &\qquad \qquad \times \sum_{k=0}^\infty \frac{(-1)^k}{k!}\big|\big|{\bf t}_{\perp} \big|\big| ^{2k} M^{k} \ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_{*,N_0}\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2}, \frac{\bf{N}}{2}+k \end{array} \right)}. \end{aligned}

In particular, the Bayesian model evidence Z_\infty({\bf 0}) equals

\begin{aligned} \frac{(4\pi)^{P/2}}{\left|\left|\theta_*\right|\right|^{P}\prod_{\ell=1}^L \Gamma\left(\frac{N_\ell}{2}\right)} \ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_{*,N_0}\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2}, \frac{\bf{N}}{2} \end{array} \right)}. \end{aligned}

Further, given x\in \mathbb R^{N_0}, the mean of the predictive posterior is

\mathbb E_{\text{post}}\left[f(x)\right]= (\theta_{*,N_0})^Tx,

while the posterior variance \mathrm{Var}_{\mathrm{post}}\left[f(x)\right] is

2M\left|\left|x_{\perp}\right|\right|^2\frac{\ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_{*,N_0}\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2}, \frac{\bf{N}}{2}+1 \end{array} \right)}}{\ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_{*,N_0}\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2}, \frac{\bf{N}}{2} \end{array} \right)}},

where x_\perp is the projection of x onto the orthogonal complement of the span \mathrm{col}(X_{N_0}) of the training data.

Used by Proof
Theorem

Theorem 3.2 (Asymptotic Expansions of Meijer-G)

QAWT

Set N_1,\ldots,N_L = N and define \mathbf{N} = (N_1, \dots, N_L). Suppose that the training data satisfies (?). In different limiting cases such that \{P, N\} \to \infty with fixed P/N_0 = \alpha_0, we evaluate the quantities

\begin{aligned} \log G &:= \log \ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_{*,N_0}\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2},\frac{\mathbf{N}}{2}+k \end{array} \right)}\\ \Delta(\log G)[k] &:= \log \ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_{*,N_0}\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2},\frac{\mathbf{N}}{2}+k \end{array} \right)} - \log \ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_{*,N_0}\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2},\frac{\mathbf{N}}{2} \end{array} \right)}. \end{aligned}

We will see in each case that to leading order \log G does not depend on k while \Delta(\log G)[k] does.

  1. Fix L < \infty,\, \alpha,\sigma^2>0. Suppose P,N\rightarrow \infty with P/N\rightarrow \alpha. Then,

    \begin{aligned} \log G &= \frac{N\alpha}{2}\left[\log\left(\frac{N\alpha}{2}\right) + \log\left(1+\frac{z_*}{\alpha}\right) - \left(1+\frac{z_*}{\alpha}\right)\right] \\ &\quad + \frac{NL}{2}\left[\log\left(\frac{N}{2}\right) + \log\left(1+z_*\right) - (1+z_*)\right] \end{aligned}

    plus an error of size \tilde O(1) and

    \begin{aligned} \Delta(\log G)[k] &= kL\left[\log\left(\frac{N}{2}\right) + \log(1+z_*)\right], \end{aligned}

    plus an error of size \tilde O\left(1/N\right), where z_*> \min\left\{-\alpha,-1\right\} is the unique solution to

    \left(1+\frac{z_*}{\alpha}\right)\left(1+z_*\right)^L = \frac{\left|\left|\theta_*\right|\right|^2}{\sigma^{2(L+1)}\alpha_0}.
  2. Fix \lambda_{\mathrm{prior}},\alpha>0 and suppose L=\lambda_{\mathrm{prior}} N, \, P,N\rightarrow \infty,\, P/N\rightarrow \alpha, \, \sigma^2=1. Then,

    \begin{aligned} \log G &= \frac{\lambda_{\mathrm{prior}} N^2}{2}\left[\log\left(\frac{N}{2}\right) - 1\right] + \frac{N\alpha}{2}\left[\log\left(\frac{N\alpha}{2}\right) - 1\right]\\ &\quad + \frac{\lambda_{\mathrm{prior}} N}{2}\left[-\log\left(\frac{N}{2}\right) + \log(2\pi)\right] + \tilde O(1) \end{aligned}

    and, up to an error of size \tilde O\left(1/N\right),

    \begin{aligned} \Delta(\log G)[k] &= k\left[\lambda_{\mathrm{prior}} N \log\left(\frac{N}{2}\right) + \log \left(\frac{\left|\left|\theta_*\right|\right|^2}{\alpha_0}\right)\right]. \end{aligned}
  3. Fix \lambda_{\mathrm{post}} >0. Suppose N,P,L\rightarrow \infty with LP/N\rightarrow \lambda_{\mathrm{post}}, \, \sigma^2=1 and L/N\to 0. Then,

    \begin{aligned} \log G &= \frac{P}{2}\left[\log\left(\frac{P}{2}\right)-1\right] + \frac{\lambda_{\mathrm{post}} N}{2}\frac{N}{P}\left[\log\left(\frac{N}{2}\right)-1\right] \\ &\quad + \frac{P}{2}\left[\log(1+t_*)-t_*\left(1+\frac{\lambda_{\mathrm{post}} t_*}{2}\right)\right] \\ &\quad + \frac{\lambda_{\mathrm{post}} N}{2}\left[\frac{N}{P}\left(1+\frac{P}{N}t_*\right)\log\left(1+\frac{P}{N}t_*\right) - t_*\right] \\ &\quad + \tilde O(1), \end{aligned}

    and

    \begin{aligned} \Delta(\log G)[k] &= k\left[L \log \left(\frac{N}{2}\right) + \lambda_{\mathrm{post}} t_*\right] + \tilde{O}\left(\frac{1}{N}\right), \end{aligned}

    where t_* is the unique solution to

    \begin{aligned} e^{\lambda_{\mathrm{post}} t_*}(1+t_*) &= \left|\left|\theta_*\right|\right|^2/\alpha_0. \end{aligned}

In all the estimates above, \tilde O(1) = O(\max\{\log P, \log N\}) suppresses lower-order terms of order 1, up to logarithmic factors; similarly, \tilde O(1/N) = O(\max\{\log P, \log N\}/N). Suppressed terms are included in § ?

Used by Proof
Theorem

Theorem 3.3 (Universal Maximal Evidence Posterior)

WF8H

Fix L, N_1\dots, N_L \geq 1, \sigma^2 > 0, \alpha_0\in (0,1), and consider sequences of training data sets X_{N_0}\in \mathbb R^{N_0\times P}, Y_{N_0}\in \mathbb R^{1\times P} such that

\begin{aligned} P, N_0 \to \infty, \qquad P/N_0 \to \alpha_0 \end{aligned}

and (?) holds. Let Z_\infty({\bf 0}) denote the limiting Bayesian model evidence. The following statements are equivalent:

  1. \sigma^2 maximizes Z_\infty({\bf 0}), and

  2. the posterior over predictions f(x) converges weakly to a Gaussian \mathcal{N}\left(\mu_*, \nu \Sigma_\perp\right).

Theorem

Theorem 3.4 (Posterior and Evidence at Finite L)

RC1N

For each N_0,P\geq 1, consider training data X_{N_0},Y_{N_0} satisfying (?). Fix constants L\geq 0,\,\sigma^2 > 0 and suppose that

P,N_0,N \rightarrow \infty,\quad P/N_0 \rightarrow \alpha_0\in (0,1),\quad P/N\rightarrow \alpha\in (0,\infty).

In this limit, the posterior over predictions f(x) converges weakly to a Gaussian

\begin{aligned} \mathcal{N}\left(\mu_*,~\nu\Sigma_\perp\left(1+\frac{z_*}{\alpha}\right)^{-1}\right), \end{aligned}

where z_* is the unique solution to

\frac{\nu}{\sigma^{2(L+1)}} = \left(1+\frac{z_*}{\alpha}\right)\left(1+z_*\right)^L,\quad z_* > \max\left\{-1,-\alpha\right\}.

Additionally, we have the following large-P expansion of the Bayesian model evidence

\begin{aligned} \log Z_\infty({\bf 0}) &~\rightarrow~ \frac{P}{2}\Bigg[\log\left(\frac{P}{2}\right) + \log\left(1+\frac{z_*}{\alpha}\right) - \left(1+\frac{z_*}{\alpha}\right) \\ &\quad - \log\left(\frac{\left|\left|\theta_*\right|\right|^2}{4\pi}\right)\Bigg] + \frac{NL}{2}\left[\log\left(1+z_*\right) - z_*\right] \\ &\quad + O(\max\left\{\log P, \log N\right\}). \end{aligned}
Corollary

Corollary 3.5 (Bayesian Model Selection at Finite L)

HQN2

In the setting of Theorem 3.4 the Bayesian evidence Z_\infty({\bf 0}) satisfies:

\begin{aligned} \sigma_*^2 &= \operatorname*{arg\,max}_{\sigma}Z_\infty({\bf 0}) = \nu^{\frac{1}{L+1}}\\ L_* &= \operatorname*{arg\,max}_{L}Z_\infty({\bf 0}) =\frac{\log(\nu)}{\log(\sigma^2)}-1. \end{aligned}

In particular, given a prior variance with \mathrm{sgn}\left(\nu-1\right)=\mathrm{sgn}\left(\sigma^2-1\right) satisfying |\sigma^2-1| \leq \epsilon, the optimal depth network satisfies L_* \geq |\log(\nu)|/\epsilon.

Theorem

Theorem 3.6 (Posterior and Evidence at Fixed \lpre)

W637

For each N_0,P\geq 1, consider training data X_{N_0},Y_{N_0} satisfying (?). Moreover, fix \lambda_{\mathrm{prior}},\alpha \in (0,\infty),\, \alpha_0\in (0,1). Suppose that N_1=\cdots=N_L=N and that

P,N_\ell,L\rightarrow \infty,\quad P/N_0\rightarrow \alpha_0,\quad P/N\rightarrow \alpha,\quad L/N\rightarrow \lambda_{\mathrm{prior}}.

In this limit, the posterior over predictions f(x) converges weakly to a Gaussian

\begin{aligned} \mathcal{N}\left(\mu_*,~\nu\Sigma_\perp\right), \end{aligned}

which is independent of \alpha,\lambda_{\mathrm{prior}}. Additionally, the evidence admits the following asymptotic expansion:

\begin{aligned} \log Z_\infty({\bf 0}) &= \frac{P}{2}\left[\log\left(\frac{P}{2}\right) - 1 - \log\left(\frac{\left|\left|\theta_*\right|\right|^2}{4\pi}\right)\right] + O(\max\left\{\log P, \log N\right\}). \end{aligned}
Corollary

Corollary 3.7 (Optimal Learning by Deep Networks)

STLH

In the setting of Theorem 3.6, the posterior distribution over regression weights \theta is the same in the following two settings:

  • We fix L\geq 0, take the data-dependent prior variance \sigma_* that maximizes the Bayesian model evidence as a function of the training data and network depth as in (3.5), and send the network width N to infinity.

  • We fix \lambda_{\mathrm{prior}} >0, take a data-agnostic prior \sigma^2=1, and send both the network depth L:=\lambda_{\mathrm{prior}} \cdot N and network width N to infinity together.

Theorem

Theorem 3.8 (Posterior and Evidence at Fixed \lpost)

5VQW

For each N_0,P\geq 1, consider training data X_{N_0},Y_{N_0} satisfying (?). Moreover, fix constants \lambda_{\mathrm{post}} > 0,\, \alpha_0\in (0,1), \, \sigma^2=1. Suppose that N_1=\cdots = N_L=N and suppose that

\begin{aligned} P, N_\ell, L \to \infty, \; \frac{P}{N_0} \to \alpha_0 , \; \frac{P}{N} \to 0, \; \frac{L}{N} \to 0, \; \frac{LP}{N} \to \lambda_{\mathrm{post}}. \end{aligned}

In this limit, the posterior over predictions f(x) converges weakly to a Gaussian \mathcal{N}\left(\mu_*,~\nu\Sigma_\perp(1+t_*)^{-1}\right),

where t_* is the unique solution to

\begin{aligned} \nu = (1+t_*)e^{\lambda_{\mathrm{post}} t_*}, \quad t_* > -1. \end{aligned}

Additionally, we have the following asymptotic expansion for the Bayesian model evidence

\begin{aligned} \log Z_\infty({\bf 0}) &= \frac{P}{2}\left(\log\left(\frac{P}{2}\right)-1\right) - \frac{P}{2} \log\left(\frac{\left|\left|\theta_*\right|\right|^2}{4\pi}\right)\\ &\quad + \frac{P}{2}\left[\log(1+t_*)-t_* - \frac{1}{2}\lambda_{\mathrm{post}} t_*^2\right] + \tilde O(\max\left\{\log P, \log N, \log L\right\}). \end{aligned}
Corollary

Corollary 3.9 (Bayesian Model Selection at Fixed \lpost)

7A5G

In the setting of Theorem 3.8, the Bayesian evidence Z_\infty({\bf 0}) is monotonically increasing in \lambda_{\mathrm{post}}. Specifically,

\begin{aligned} \frac{\partial \log Z_\infty({\bf 0})}{\partial \lambda_{\mathrm{post}}} = \frac{Pt_*^2}{4} \geq 0. \end{aligned}
Theorem

Theorem 3.10 (Variance-Limited Scaling Law)

I232

For each N_0\geq 1 consider training data X_{N_0},Y_{N_0} satisfying (?). Fix constants \lambda_{\mathrm{prior}} > 0,\alpha>0, \, \sigma^2=1. Suppose that N_1=\cdots=N_L= N, that L=\lambda_{\mathrm{prior}} N and number of data points satisfies P=N\alpha. Then, as N\rightarrow \infty,

\begin{aligned} \mathrm{Var}_{\mathrm{post}}\left[f(x)\right] = \lim_{N\to\infty} \mathrm{Var}_{\mathrm{post}}\left[f(x)\right] +\frac{C}{N}+O\left(\frac{\log N}{N^2}\right), \end{aligned}

where C\in \mathbb R is a universal constant.

Theorem

Theorem 3.11 (Double Descent in \alpha_0)

F4PC

Consider generative data model

x_i\in \mathbb R^{N_0}\sim \mathcal N(0,\mathrm{I}),\; y_i = V_0x_i+\epsilon_i,\; \epsilon_i\sim \mathcal N(0,\sigma_\epsilon^2),\; \left|\left|V_0\right|\right|^2=1

and posterior distribution \mathcal{N}\left(\mu_*, \nu\Sigma_\perp\right). We have error

\mathbb E_{x,X,\epsilon}\left[\left\langle f(x)-V_0x \right \rangle^2\right] = \begin{cases} \frac{1}{\alpha_0} - \alpha_0 + \frac{1}{1-\alpha_0}\sigma_\epsilon^2,&\quad \alpha_0<1\\ \frac{1}{\alpha_0-1}\sigma_\epsilon^2,&\quad \alpha_0 \geq 1\end{cases},

which diverges at \alpha_0 = 1.

Proposition

Proposition 4.1

9EPI

We have the following analytic asymptotic expansion for the Gamma function

\log \Gamma\left(z\right) \sim \left(z-\frac{1}{2}\right)\log(z) - z + \text{const}+O\left(\left|z\right|^{-1}\right),\quad \text{as }\left|z\right|\rightarrow \infty.

In particular, we also have

\phi^{(1)}(z)=\frac{d}{dz}\log \Gamma\left(z\right) \sim \log(z) + O(\left|z\right|^{-1}),\quad \text{as }\left|z\right|\rightarrow \infty.

Both expansions hold uniformly on sets of the form \left|z\right|< \pi - \delta for a fixed \delta >0.

Used by Proof
Proposition

Proposition 4.2

DO2H

Let k,\theta >0 and suppose \phi \sim \Gamma(k,\theta). Then for any t\in \mathbb R we have

\mathbb E\left[\phi^t\right] = \theta^t\frac{\Gamma\left(k+t\right)}{\Gamma\left(k\right)}.

In particular

\mathbb E\left[e^{-it \log\phi}\right] = \exp\left[-it\log \theta + \log \Gamma\left(k-it\right)-\log \Gamma(k)\right]

is a meromorphic function of t with poles on the negative imaginary axis:

t = -i(\nu +k),\quad \nu = 0,1,2,\ldots.
Used by Proof
Proposition

Proposition 4.3

OBNF

For \eta,\omega>0, We have

\begin{aligned} & \ensuremath{G_{p,q}^{m,n}\left( x ~\bigg| \begin{array}{c} \alpha,{\bf a} \\ {\bf b},\alpha \end{array} \right)} =\ensuremath{G_{p-1,q-1}^{m,n-1}\left( x ~\bigg| \begin{array}{c} {\bf a} \\ {\bf b} \end{array} \right)} \\ &\int_0^\infty e^{-\omega x} x^{-\alpha} \ensuremath{G_{p,q}^{m,n}\left( \eta x ~\bigg| \begin{array}{c} {\bf a} \\ {\bf b} \end{array} \right)} dx=\omega^{\alpha-1} \ensuremath{G_{p+1,q}^{m,n+1}\left( \frac{\eta}{\omega} ~\bigg| \begin{array}{c} \alpha, {\bf a} \\ {\bf b} \end{array} \right)} \\ &\ensuremath{G_{p,q}^{m,n}\left( z ~\bigg| \begin{array}{c} {\bf a} \\ {\bf b} \end{array} \right)} =\ensuremath{G_{q,p}^{n,m}\left( z^{-1} ~\bigg| \begin{array}{c} 1-{\bf b} \\ 1-{\bf a} \end{array} \right)}\\ &z^\rho \ensuremath{G_{p,q}^{m,n}\left( z ~\bigg| \begin{array}{c} {\bf a} \\ {\bf b} \end{array} \right)} =\ensuremath{G_{p,q}^{m,n}\left( z ~\bigg| \begin{array}{c} \rho+{\bf a} \\ \rho+{\bf b} \end{array} \right)}\\ &\ensuremath{G_{0,2}^{1,0}\left( \frac{x^2}{4} ~\bigg| \begin{array}{c} - \\ \frac{\nu}{2}, -\frac{\nu}{2} \end{array} \right)}= J_{\nu}(x)\\ &z^h \frac{d^h}{dz^h}\ensuremath{G_{p,q}^{m,n}\left( z ~\bigg| \begin{array}{c} {\bf a} \\ {\bf b} \end{array} \right)} = \ensuremath{G_{p+1,q+1}^{m,n+1}\left( z ~\bigg| \begin{array}{c} {0, \bf a} \\ {\mathbf{b}, h} \end{array} \right)}\\ &\int_0^\infty \ensuremath{G_{p,q}^{m,n}\left( \eta x ~\bigg| \begin{array}{c} \mathbf a \\ \mathbf b \end{array} \right)} \ensuremath{G_{\sigma, \tau}^{\mu, \nu}\left( \omega x ~\bigg| \begin{array}{c} \mathbf c \\ \mathbf d \end{array} \right)} dx = \frac{1}{\eta}\ensuremath{G_{q+\sigma,p+\tau}^{n+\mu,m+\nu}\left( \frac{\omega}{\eta} ~\bigg| \begin{array}{c} -b_1,\dots,-b_m, \mathbf c, -b_{m+1},\dots,-b_q \\ -a_1,\dots,-a_n, \mathbf d, -a_{n+1},\dots,-a_p \end{array} \right)}\\ &\int_0^\infty \tau^{\alpha-1}\ensuremath{G_{u,v}^{s,t}\left( \sigma+\tau ~\bigg| \begin{array}{c} c_1,\ldots,c_u \\ d_1,\ldots, d_v \end{array} \right)} \ensuremath{G_{p,q}^{m,n}\left( \omega \tau ~\bigg| \begin{array}{c} a_1,\ldots, a_p \\ b_1,\ldots, b_q \end{array} \right)}d\tau \\ &= \sum_{k=0}^\infty \frac{\left(-\sigma\right)^k}{k!} \ensuremath{G_{p+v+1,q+u+1}^{m+t,n+s+1}\left( \omega ~\bigg| \begin{array}{c} 1-\alpha,a_1,\ldots, a_n, k-\alpha-d_1+1,\ldots, k-\alpha-d_v+1,a_{n+1},\ldots, a_p \\ b_1,\ldots, b_m, k-\alpha-c_1+1,\ldots, k-\alpha-c_u+1, k-\alpha+1, b_{m+1},\ldots, b_q \end{array} \right)} \end{aligned}

For (4.3) we require

\left|\arg(\sigma)\right|, \left|\arg(\omega)\right|<\pi

and

-\min\left\{\Re(b_1),\ldots, \Re(b_m)\right\} < \Re(\alpha)<2 - \max\left\{\Re(a_1),\ldots, \Re(a_n)\right\}- \max\left\{\Re(c_1),\ldots, \Re(c_t)\right\}.

Finally, fix L\geq 1 and

k_\ell, \theta_\ell >0,\qquad \ell=1,\ldots, L

and let

\phi_\ell \sim \Gamma\left(k_\ell,\theta_\ell\right) \quad \text{independent}.

We have for every y>0

\begin{aligned} \prod_{\ell=1}^L \Gamma\left(k_\ell\right)^{-1 } \frac{1}{A}\ensuremath{G_{0,L}^{L,0}\left( \frac{y}{A} ~\bigg| \begin{array}{c} - \\ k_1-1,\ldots, k_L-1 \end{array} \right)} = \mathrm{Den}_{\prod_{\ell=1}^L\phi_\ell}(y),\qquad A:=\prod_{\ell=1}^L \theta_\ell. \end{aligned}
Used by Proof
Lemma

Lemma 4.4 (Asymptotic Normality of Posterior)

ON1Z

For each N_0, consider a collection of k\geq 1 test points

{\bf x}_{N_0} = \left(x_{j;N_0},\,j=1,\ldots,k\right).

Suppose that

  • For each \alpha_0\in (0,1) there exists a vector \mu_{*}=\left(\mu_{*,j},\, j=1,\ldots, k\right)\in \mathbb R^k such that

    \lim_{\substack{P,N_0\rightarrow \infty \\ P/N_0\rightarrow \alpha_0\in (0,1)}}\left \langle \theta_{*,N_0},x_{j,N_0}\right\rangle = \mu_{*,j}\qquad \text{ almost surely}.
  • For each \alpha_0\in (0,1) there exists a positive semi-definite k\times k matrix \Sigma_\perp such that

    \lim_{\substack{P,N_0\rightarrow \infty \\ P/N_0\rightarrow \alpha_0\in (0,1)}} \left(\frac{1}{N_0-P}\left \langle x_{i,N_0}^\perp,x_{j,N_0}^\perp\right\rangle \right)_{1\leq i,j\leq k} = \Sigma_\perp\qquad \text{ almost surely},

    where x_{j,N_0}^\perp denotes the projection of x_j onto the orthogonal complement of the column space of X_{N_0}.

Assume that the convergence of the posterior for \left|\left|\theta_\perp\right|\right|^2 in the large-N limit satisfies

\begin{aligned} \left|\left|\theta_\perp\right|\right|^2 \to \nu(1-\alpha_0)c \end{aligned}

for some constant c. Then the distribution over posterior predictions evaluated on {\bf x}_{N_0}

f({\bf x}_{N_0}) = \left(a^Tx_{j,N_0},\, j=1,\ldots, k\right),\qquad \theta\sim \mathbb P_{\mathrm{post}}

converges weakly to a k-dimensional Gaussian:

\begin{aligned} f({\bf x}_{N_0}) ~\rightarrow~ \mathcal N\left(\mu_*, ~ \nu c\Sigma_{\perp}\right). \end{aligned}
Used by Proof
Proposition

Proposition 4.5

GOVV

For any \beta > 0, the partition function Z_\beta(x) equals

\begin{aligned} &\prod_{\ell=1}^L\Gamma\left(\frac{N_\ell}{2}\right)^{-1} \exp\left[-i\theta_*^Tx_{||}\right]\\ &\qquad \times \int_{\mathrm{col}{(X)}} d\zeta\exp\left[-\frac{\left|\left|X^{\dagger}(\tau - x_{||})\right|\right|^2}{2\beta}+i\theta_*^T\zeta\right]~ \ensuremath{G_{L,1}^{1,L}\left( M\left|\left|\zeta\right|\right|^2 +M\left|\left|x_\perp\right|\right|^2 ~\bigg| \begin{array}{c} 1-\frac{{\bf N}}{2} \\ 0 \end{array} \right)}, \end{aligned}

where X^{\dagger} is the pseudo-inverse of X and

4M = \prod_{\ell=0}^L \frac{2\sigma^2}{N_\ell}.
Proof of Proposition 4.5

We begin the proof of Proposition 4.5 by integrating out the final layer weights W^{(L+1)} and introducing a dual variable t\in \mathbb R^{P}, as in the following.

Lemma.

Write

X^L:=W^{(L)}\cdots W^{(1)} X,\qquad x^L =W^{(L)}\cdots W^{(1)} x.

We have

Z_\beta(x) =\det(X^TX)^{1/2}\int_{\mathbb R^P} \mathbb E_{\mathrm{prior}}\left[\exp\left[-\frac{\left|\left|t\right|\right|_2^2}{2\beta}+i\theta_*^TXt-\frac{\sigma^2}{2N_L}\left|\left|X^Lt + x^L\right|\right|^2\right] \right]dt,
Proof.

From the following identity

\begin{aligned} 1= \int_{\mathbb R^P} \frac{dt}{(2\pi \beta)^{P/2}} \exp\left[-\frac{1}{2\beta} \left|\left|t^T- i\beta\left(\theta_*^TX-W^{(L+1)}X^L\right)\right|\right|^2\right] \end{aligned}

we conclude

\begin{aligned} & \exp\left[-\frac{\beta}{2}\left|\left|\theta_*^TX-W^{(L+1)}X^L\right|\right|^2\right]\\ &\quad = \int \frac{d t}{(2\pi \beta)^{P/2}} \exp\left[-\frac{1}{2\beta} \left|\left|t^T- i\beta\left(\theta_*^TX-W^{(L+1)} X^L\right)\right|\right|^2-\frac{\beta}{2}\left|\left|\theta_*^TX-W^{(L+1)} X^L\right|\right|^2\right] \\ &\quad =\int \frac{d t}{(2\pi \beta)^{P/2}} \exp\left[-\frac{1}{2\beta} \left|\left|t\right|\right|^2 +it\left(\theta_*^TX-W^{(L+1)} X^L\right)\right]. \end{aligned}

Substituting this into (?) we find

\begin{aligned} Z_\beta(x)&= \frac{A_{\beta}}{(2\pi \beta)^{P/2}} \int_{\mathbb R^P}\mathbb E_{\mathrm{prior}}\left[ \exp\left[i\left(\theta_*^TXt-W^{(L+1)}\left(X^Lt +x^L\right)\right) -\frac{\left|\left|t\right|\right|^2}{2\beta}\right]\right] dt \end{aligned}

Now we compute the expectation over the final layer weights W^{(L+1)} by completing the square:

\begin{aligned} -\frac{N_L}{2\sigma^2}\left|\left|W^{(L+1)}\right|\right|_2^2 - iW^{(L+1)}\left(X^Lt + x^L\right)= &-\frac{N_L}{2\sigma^2}\left[\left|\left|W^{(L+1)}-i\frac{\sigma^2}{N_L}(X^Lt+x^L)\right|\right|_2^2\right]\\ &- \frac{\sigma^2}{2N_L}\left|\left|X^Lt + x^L\right|\right|_2^2. \end{aligned}

This yields

Z_\beta (x) =\frac{A_{\beta}}{(2\pi \beta)^{P/2}}\int_{\mathbb R^P}\mathbb E_{\mathrm{prior}}\left[ \exp\left[ -\frac{\left|\left|t\right|\right|^2}{2\beta}+i\theta_*^TXt-\frac{\sigma^2}{2N_L}\left|\left|X^Lt + x^L\right|\right|^2\right]\right]dt,

completing the proof.

For each fixed t, note that

X^Lt + x^L = W^{(L)}\cdots W^{(1)}\left(Xt + x\right).

Hence, the expectation

\mathbb E_{\mathrm{prior}}\left[ \exp\left[-\frac{\sigma^2}{2N_L}\left|\left|X^Lt + x^L\right|\right|^2\right]\right]

equals the Laplace transform

\mathcal L_{Q_{N,L}}\left(M'\left|\left|Xt+x\right|\right|^2\right)

of the random variable

Q_{N,L} = \left|\left| \left\{\prod_{\ell=1}^L \widehat{W}^{(\ell)}\right\} u\right|\right|^2,\qquad \widehat{W}^{(\ell)} \sim \mathcal N\left(0,I_{N_{\ell}\times N_{\ell-1}}\right)\text{ independent},

where u is any unit vector (the distribution is the same for any u since W^1 is rotationally invariant) evaluated at \left|\left|Xt+x\right|\right|^2 times

M' :=\frac{1}{2} \left(\prod_{\ell=1}^L \frac{\sigma^2}{N_\ell}\right)

Thus, we obtain

Z_\beta(x) =\det(X^TX)^{1/2} \int dt \exp\left[-\frac{\left|\left|t\right|\right|^2}{2\beta}+i\theta_*^TXt\right] \mathcal L_{Q_{N,L}}\left(M'\left|\left|Xt+x\right|\right|^2\right),

To proceed we rewrite the Laplace transform in the preceding line in terms of a Meijer-G function.

Lemma.

Let Q_{N,L} be defined as in (?). Then,

\begin{aligned} \mathcal L_{Q_{N,L}}\left(\tau\right)= \left(\prod_{\ell=1}^L \Gamma \left(\frac{N_\ell}{2}\right)\right)^{-1}~\ensuremath{G_{L,1}^{1,L}\left( 2^L\tau ~\bigg| \begin{array}{c} 1-\frac{N_L}{2},\dots,1-\frac{N_1}{2} \\ 0 \end{array} \right)}. \end{aligned}
Proof.

The density of Q_{N,L}^{1/2} is known from [zavatone2021exact]:

p_{Q_{N,L}^{1/2}}(\rho) = \frac{2^{1-L/2}}{\Gamma\left(\frac{N_1}{2}\right)\cdots \Gamma\left(\frac{N_{L}}{2}\right)} \ensuremath{G_{0,L}^{L,0}\left( \frac{\rho^2}{2^L } ~\bigg| \begin{array}{c} - \\ \frac{N_L-1}{2},\cdots, \frac{N_1-1}{2} \end{array} \right)}.

Hence, the density of \widehat{Q}_{N,L} is

\begin{aligned} p_{Q_{N,L}}(\rho) &= \frac{1}{2\rho^{1/2}} p_{Q_{N,L}}(\rho^{1/2})\\ &=\frac{2^{-L}}{\Gamma\left(\frac{N_1}{2}\right)\cdots \Gamma\left(\frac{N_{L}}{2}\right)} \left(\frac{2^L}{\rho}\right)^{1/2}\ensuremath{G_{0,L}^{L,0}\left( \frac{\rho}{2^L } ~\bigg| \begin{array}{c} - \\ \frac{N_L-1}{2},\cdots, \frac{N_1-1}{2} \end{array} \right)}\\ &=\frac{2^{-L}}{\Gamma\left(\frac{N_1}{2}\right)\cdots \Gamma\left(\frac{N_{L}}{2}\right)} \ensuremath{G_{0,L}^{L,0}\left( \frac{\rho}{2^L } ~\bigg| \begin{array}{c} - \\ \frac{N_L}{2}-1,\cdots, \frac{N_1}{2}-1 \end{array} \right)}, \end{aligned}

where in the last step we’ve used (4.3). Hence,

\begin{aligned} \mathcal L_{Q_{N,L}}(\tau) &= \int_0^\infty e^{-\tau \rho} \ensuremath{G_{0,L}^{L,0}\left( \frac{\rho}{2^L } ~\bigg| \begin{array}{c} - \\ \frac{N_L}{2}-1,\cdots, \frac{N_1}{2}-1 \end{array} \right)} d\rho\\ &=\left(\Gamma\left(\frac{N_1}{2}\right)\cdots \Gamma\left(\frac{N_{L}}{2}\right)\right)^{-1} \frac{1}{2^L\tau} \ensuremath{G_{1,L}^{L,1}\left( \frac{1}{2^L \tau } ~\bigg| \begin{array}{c} 0 \\ \frac{N_L}{2}-1,\cdots, \frac{N_1}{2}-1 \end{array} \right)}\\ &=\left(\Gamma\left(\frac{N_1}{2}\right)\cdots \Gamma\left(\frac{N_{L}}{2}\right)\right)^{-1} \ensuremath{G_{1,L}^{L,1}\left( \frac{1}{2^L \tau } ~\bigg| \begin{array}{c} 0 \\ \frac{N_L}{2},\cdots, \frac{N_1}{2} \end{array} \right)}\\ &=\left(\Gamma\left(\frac{N_1}{2}\right)\cdots \Gamma\left(\frac{N_{L}}{2}\right)\right)^{-1} \ensuremath{G_{L,1}^{1,L}\left( 2^L \tau ~\bigg| \begin{array}{c} 1-\frac{N_L}{2},\cdots, 1-\frac{N_1}{2} \\ 0 \end{array} \right)} \end{aligned}

where we’ve used (4.3) and (4.3).

Combining the preceding Lemma with (?) gives

\begin{aligned} Z(x) &= \frac{\det(X^TX)^{1/2}}{\prod_{\ell=1}^L\Gamma\left(\frac{N_\ell}{2}\right)} \int_{\mathbb R^{P}} dt \exp\left[-\frac{\left|\left|t\right|\right|^2}{2\beta}+i\theta_*^TXt\right]~ \ensuremath{G_{L,1}^{1,L}\left( M\|Xt + x\|^2 ~\bigg| \begin{array}{c} 1-\frac{N_L}{2},\dots,1-\frac{N_1}{2} \\ 0 \end{array} \right)}, \end{aligned}

where

4M = \prod_{\ell=0}^L \frac{2\sigma^2}{N_\ell}.

To complete the proof of Proposition 4.5, we write

x = x_{||}+x_{\perp},\qquad x_{||}\in \mathrm{col}(X),\quad x_{\perp}\in \mathrm{col}(X)^\perp.

Note that X gives an isomorphism from \mathbb R^P to \mathrm{im}{(X)}. Thus, we may change variables to write Z_\beta(x) as

\begin{aligned} \prod_{\ell=1}^L\Gamma\left(\frac{N_\ell}{2}\right)^{-1} \int_{\mathbb R^{P}} d\zeta\exp\left[-\frac{\left|\left|X^{\dagger}\zeta\right|\right|^2}{2\beta}+i\theta_*^T\zeta\right]~ \ensuremath{G_{L,1}^{1,L}\left( M\|\zeta + x\|^2 ~\bigg| \begin{array}{c} 1-\frac{{\bf N}}{2} \\ 0 \end{array} \right)}, \end{aligned}

where X^{\dagger} the pseudo-inverse of X. Finally, note that

\left|\left|\zeta+x\right|\right|^2 = \left|\left|\zeta + x_{||}\right|\right|^2 + \left|\left|x_\perp\right|\right|^2 .

Hence, changing variables to \tau = \zeta + x_{||} yields the following expression for Z_\beta(x):

\begin{aligned} &\prod_{\ell=1}^L\Gamma\left(\frac{N_\ell}{2}\right)^{-1} \exp\left[-i\theta_*^Tx_{||}\right]\times \int_{\mathrm{col}{(X)}} d\zeta\exp\left[-\frac{\left|\left|X^{\dagger}(\tau - x_{||})\right|\right|^2}{2\beta}+i\theta_*^T\zeta\right]~ \ensuremath{G_{L,1}^{1,L}\left( M\left|\left|\zeta\right|\right|^2 +M\left|\left|x_\perp\right|\right|^2 ~\bigg| \begin{array}{c} 1-\frac{{\bf N}}{2} \\ 0 \end{array} \right)}. \end{aligned}

This is precisely the statement of Proposition 4.5.

Lemma

Lemma 4.8

GTI2

Fix L, N, N_0,\ldots, N_L\geq 1 as well as \left|\left|\theta_*\right|\right|>0 and define M by

\begin{aligned} 4M := \prod_{\ell=0}^L \frac{2\sigma^2}{N_\ell}. \end{aligned}

For any N\geq 1 we have

\begin{aligned} \mathrm{Den}_{\phi_0\cdots \phi_{L}}(1) &= \frac{\left|\left|\theta_*\right|\right|^2}{4M}\ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_*\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2},\frac{{\bf N}}{2}+k \end{array} \right)}\left[\Gamma\left(\frac{P}{2}+1\right)\right]^{-1}\prod_{\ell=1}^L\left[\Gamma\left(\frac{N_\ell}{2}+k+1\right)\right]^{-1}\\ &= \frac{1}{2\pi}\int_{\mathcal C} \exp\left[\Phi(z)\right]dz, \end{aligned}

where \mathcal C\subseteq\mathbb C is the contour that runs along the real line from -\infty to \infty and

\begin{aligned} \Phi(z)&= -iz\log\left(\frac{2\sigma^2}{P}\frac{\alpha_0}{\left|\left|\theta_*\right|\right|^2}\right)+\log\left(\frac{\Gamma\left(\frac{P}{2}+1-iz\right)}{\Gamma\left(\frac{P}{2}+1\right)}\right)\\ &+\sum_{\ell=1}^L\left\{-iz\log\left(\frac{2\sigma^2}{N_\ell}\right)+\log\left(\frac{\Gamma\left(\frac{N_\ell}{2}+k+1-iz\right)}{\Gamma\left(\frac{N_\ell}{2}+k+1\right)}\right) \right\}. \end{aligned}
Proof of Lemma 4.8

We use the relationship (?) between G functions and densities of products of Gamma random variables to write

\begin{aligned} \prod_{\ell=1}^L\left[\Gamma\left(\frac{N_\ell}{2}+k+1\right)\right]^{-1}\left[\Gamma\left(\frac{P}{2}+1\right)\right]^{-1}\frac{\left|\left|\theta_*\right|\right|^2}{4M}\ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_*\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2},\frac{{\bf N}}{2}+k \end{array} \right)} &= \mathrm{Den}_{\phi_0\cdots \phi_{L}}(1). \end{aligned}

For any positive random variable X with density d\mathbb P_X, we have

d\mathbb P_X(t) = t^{-1}d\mathbb P_{\log(X)}(\log(t)).

Hence,

\begin{aligned} \mathrm{Den}_{\phi_0\cdots \phi_{L}}(1) &= \mathrm{Den}_{\sum_{\ell=0}^L\log \phi_\ell}(0) \end{aligned}

is proportional to the density of a sum of independent random variables evaluated at \log(1)=0. Further, recalling (4.2), we find by Fourier inversion that

\frac{1}{2\pi}\int_{-\infty}^\infty \exp\left[\Phi(t)\right] dt

equals

\begin{aligned} \prod_{\ell=1}^L\left[\Gamma\left(\frac{N_\ell}{2}+k+1\right)\right]^{-1}\left[\Gamma\left(\frac{P}{2}+1\right)\right]^{-1}\frac{\left|\left|\theta_*\right|\right|^2}{4M}\ensuremath{G_{0,L+1}^{L+1,0}\left( \frac{\left|\left|\theta_*\right|\right|^2}{4M} ~\bigg| \begin{array}{c} - \\ \frac{P}{2},\frac{{\bf N}}{2}+k \end{array} \right)}, \end{aligned}

where

\begin{aligned} \Phi(t)&= -it\log 1-it\log\left(\frac{2\sigma^2}{P}\frac{\alpha_0}{\left|\left|\theta_*\right|\right|^2}\right)+\log\left(\frac{\Gamma\left(\frac{P}{2}+1-it\right)}{\Gamma\left(\frac{P}{2}+1\right)}\right)\\ &+\sum_{\ell=1}^L\left\{-it\log\left(\frac{2\sigma^2}{N_\ell}\right)+\log\left(\frac{\Gamma\left(\frac{N_\ell}{2}+k+1-it\right)}{\Gamma\left(\frac{N_\ell}{2}+k+1\right)}\right) \right\}. \end{aligned}
Lemma

Lemma 4.9

OWXM

There exist c,T_0>0 such that

\sup_{\substack{\left|z\right|>T\\ z\in \mathbb R}} \frac{\Re \Psi(z)}{1+\left|z\right|} \leq - c,\qquad \forall T\geq T_0.

Moreover, for any T,\delta>0, writing

S_{N,\delta,T}:=\left\{z\in \mathbb C~|~ \left|z\right|< T, \Im(z) >C_\delta\right\},

there exists C>0 such that

\sup_{z\in S_{N,\delta, T}}\max\left\{\left|\Psi(z)\right|,\left| \frac{d}{dz}\Psi(z)\right|\right\} \leq C.
Proof of Lemma 4.9

To show both (4.9) and (4.9) we will use the asymptotic expansion

\log \Gamma\left(z\right) \sim \left(z-\frac{1}{2}\right)\log(z) - z + \text{const}+O\left(\left|z\right|^{-1}\right),\quad \text{as }\left|z\right|\rightarrow \infty,

which holds uniformly on sets of the form \left|z\right|< \pi - \epsilon for a fixed \epsilon >0. With \Psi_\ell defined in (?), we find for each \ell=1,\ldots, L that uniformly over z\in \mathbb R

\begin{aligned} \Psi_\ell(z)&=-iz\log\left(\frac{2\sigma^2}{N_\ell}\right) +\frac{1}{N}\left(\log \Gamma\left(\frac{N_\ell}{2}+k+1-iNz\right)-\log \Gamma\left(\frac{N_\ell}{2}+k+1\right)\right)\\ &=-iz\left[-1+\log\left(\frac{2\sigma^2}{N_\ell}\right) + \log\left(\frac{N_\ell}{2}+k+1-iNz\right)\right]\\ &\qquad +\frac{1}{N}\left(\frac{N_\ell+1}{2}+k+1\right)\log\left(1-\frac{iNz}{\frac{N_\ell}{2}+k+1}\right) + O(N^{-1})\\ &=-iz\left[-1+\log(\sigma^2) + \log\left(1-\frac{2i N z}{N_\ell}\right)\right] + \frac{N_\ell}{2N}\log\left(1-\frac{2iNz}{N_\ell}\cdot\frac{1}{1+\frac{2(k+1)}{N_\ell}}\right)+O(N^{-1})\\ &=-iz\left[-1+\log(\sigma^2)+\log\left(1-\frac{2i N z}{N_\ell}\right)\right] + \frac{N_\ell}{2N}\log\left(1-\frac{2iNz}{N_\ell}\right)+O(N^{-1}). \end{aligned}

Obtaining a similar expression for \ell=0 and summing over \ell proves (4.9). Moreover, for \ell=1,\ldots, L we obtain uniformly on z\in \mathbb R

\begin{aligned} \Re\Psi_\ell(z) = z\arg\left(1-\frac{2iNz}{N_\ell}\right) + \frac{N_\ell}{2N}\log\left|1-\frac{2iNz}{N_\ell}\right|+O(N^{-1}). \end{aligned}

Note that for T_0 sufficiently large there we have

\left|z\right|> T_0\quad \Rightarrow \quad \arg\left(1-\frac{2iNz}{N_\ell}\right) \mathrm{sgn}\left(z\right) \leq -\frac{\pi}{4}\quad \Rightarrow \quad \Re\Psi_\ell(z) \leq -\frac{\pi}{8}\left|z\right|.

A similar analysis applies to \ell=0 and completes the proof of (4.9).

Lemma

Lemma 4.10

GK3O

Fix \delta, T>0 and define S_{N,\delta, T} as in (4.9). Then, uniformly over S_{N,\delta, T}, we have

\Psi(z) = \widehat{\Psi}(z)+\frac{1}{N}\widetilde{\Psi}(z)+O(N^{-2}),

where

\begin{aligned} \widehat{\Psi}(z):&=iz\left[\log\left(\frac{\left|\left|\theta_*\right|\right|^2}{\sigma^{2(L+1)}\alpha_0}\right) + L + 1 - \log\left(1-\frac{2iNz}{P}\right) - \sum_{\ell=1}^L \log\left(1-\frac{2iNz}{N_\ell}\right)\right]\\ &+\frac{P}{2N}\log\left(1-\frac{2iNz}{P}\right) +\sum_{\ell=1}^L \frac{N_\ell}{2N} \log\left(1-\frac{2iNz}{N_\ell}\right)\\ \widetilde{\Psi}(z):&=\frac{1}{2}\log\left(1-\frac{2iNz}{P}\right) + \left(k+\frac{1}{2}\right)\sum_{\ell=1}^L \log\left(1-\frac{2iNz}{N_\ell}\right). \end{aligned}
Proof of Lemma 4.10

This follows directly from expanding \Psi_\ell(z) using (4.1) for each \ell=0,\ldots, L.

Lemma

Lemma 4.11

PRMU

There exist c,T_0>0 such that

\sup_{\substack{\left|z\right|>T/L\\ z\in \mathbb R}} \frac{\Re \Psi(z)}{1+\left|z\right|} \leq - c,\qquad \forall T\geq T_0.

Moreover, for any T,\delta>0, writing

S_{N,L,\delta,T}:=\left\{z\in \mathbb C~|~ \left|z\right|< T/L, \Im(z) >C_\delta\right\},

there exists C>0 such that

\sup_{z\in S_{N,L,\delta, T}}\max\left\{\left|\Psi(z)\right|,\left| \frac{d}{dz}\Psi(z)\right|\right\} \leq C.
Corollary

Corollary 4.12 (Bayesian Preference for Infinite Depth)

0UJG

As in the setting of Theorem 6, fix \lambda_{\mathrm{prior}}>0. For each fixed L\geq 0

\lim_{N\rightarrow \infty}e^{cN}\frac{Z_\infty\left(0~|~L,N_\ell=N,\sigma^2=1,X_{N_0},Y_{N_0}\right)}{Z_\infty\left(0~|~L=N\lambda_{\mathrm{prior}},N_\ell=N,\sigma^2=1,X_{N_0},Y_{N_0}\right)} =1,

where

c = -\frac{\alpha}{2}\left[\log\left(1+\frac{z_*}{\alpha}\right) - \frac{z_*}{\alpha}\right] - \frac{L}{2}\left[\log(1+z_*)-z_*\right]

satisfies c \leq 0, and z_* is defined as in (?) of Theorem 3.2, i.e.,

\frac{\nu}{\sigma^{2(L+1)}} = \left(1+\frac{z_*}{\alpha}\right)\left(1+z_*\right)^L,\quad z_* > \max\left\{-1,-\alpha\right\}.
Corollary

Corollary 4.13 (Bayes-optimal infinite depth)

6RVX

In the setting of Theorem 6, we have

\lambda_{\mathrm{prior},*} = \sqrt{1 + \log(\nu)^2}-1 = \operatorname*{arg\,max}_{\lambda}\lim_{\substack{P,N_\ell \rightarrow \infty\\ P/N_0\rightarrow \alpha_0 \in (0,1)\\ \lambda_{\mathrm{prior}}(N_1,\ldots, N_L)\rightarrow \lambda}} Z_\infty\left({\bf 0}~|~L,N_\ell,\sigma^2=1,X_{N_0},Y_{N_0}\right).

Moreover, for any \lambda>0, there exists c>0 such that we have

\begin{aligned} c < \lim_{\substack{P,N_\ell \rightarrow \infty\\ P/N_0\rightarrow \alpha_0 \in (0,1)}} \frac{Z_\infty\left({\bf 0}~|~L=N\lambda,N_\ell=N,\sigma^2=1,X_{N_0},Y_{N_0}\right)}{ Z_\infty\left({\bf 0}~|~L=N\lambda_{\text{prior},*},N_\ell=N,\sigma^2=1,X_{N_0},Y_{N_0}\right)}\leq 1, \end{aligned}

i.e., the ratio of evidences is lower-bounded by a constant.

Proof of Corollary 4.13

In Corollary 4.13, we compute the Bayes-optimal neural network depth by maximizing Bayesian evidence [mackay1992bayesian]. A similar computation to the following is used to find Bayes-optimal parameters throughout the main text; we provide the proof to Corollary 4.13 as an example. To evaluate \partial \log Z / \partial \lambda_{\mathrm{prior}} = 0 for the partition function given by Theorem 3.1, we take the partition function with N_1 = \dots = N_L = N obtained from case (b) of Theorem 3.2,

\begin{aligned} \log Z_\infty(0) &= \frac{P}{2}\log\left(\frac{4\pi}{\|\theta_*\|^2}\right) + \frac{P}{2}\left[\log\left(\frac{P}{2}\right)-1\right] -\frac{1}{2}\log\left(\frac{P}{2}\right)\\ &\quad - \frac{1}{2}\log(2\lambda_{\mathrm{prior}}) - \frac{1}{4\lambda_{\mathrm{prior}}}\left(\lambda_{\mathrm{prior}} + \log\left(\frac{\|\theta_*\|^2}{\alpha_0}\right)\right)^2, \end{aligned}

and we evaluate the derivative with variable substitution \nu = \|\theta_*\|^2/\alpha_0, yielding

\begin{aligned} \frac{\partial \log Z_\infty(0)}{\partial \lambda_{\mathrm{prior}}} &= \frac{\log(\nu)^2-\lambda_{\mathrm{prior}}(2+\lambda_{\mathrm{prior}})}{4\lambda_{\mathrm{prior}}^2} = 0. \end{aligned}

Solving gives

\begin{aligned} \lambda_{\mathrm{prior},*} &= \sqrt{1 + \log^2 \nu} - 1 \geq 0. \end{aligned}

Moreover, the second derivative is

\begin{aligned} \frac{\partial^2 \log Z_\infty(0)}{\partial \lambda_{\mathrm{prior}}^2} &= \frac{\lambda_{\mathrm{prior}}-\log^2\nu}{2\lambda_{\mathrm{prior}}^3}, \end{aligned}

which at \lambda_{\mathrm{prior},*} is

\begin{aligned} \frac{\partial^2 \log Z_\infty(0)}{\partial \lambda_{\mathrm{prior}}^2} &= -\frac{\lambda_{\mathrm{prior},*}+1}{2\lambda_{\mathrm{prior},*}^2} < 0. \end{aligned}

Hence, Bayesian evidence is maximized at \lambda_{\mathrm{prior},*} = O(1).

Moreover, evaluating the evidence at a different choice of fixed \lambda_{\mathrm{prior}} such that \lambda_{\mathrm{prior}} \neq \lambda_{\mathrm{prior},*}, we see that the evidence ratio is

\begin{aligned} \log Z_\infty(0; \lambda_{\mathrm{prior}}) - \log Z_\infty(0; \lambda_{\mathrm{prior},*}) &= -\frac{1}{2}\log\left(\frac{\lambda_{\mathrm{prior}}}{\lambda_{\mathrm{prior},*}}\right) - \frac{1}{4\lambda_{\mathrm{prior}}}\left(\lambda_{\mathrm{prior}} + \log\left(\frac{\|\theta_*\|^2}{\alpha_0}\right)\right)^2 \\ &\quad + \frac{1}{4\lambda_{\mathrm{prior},*}}\left(\lambda_{\mathrm{prior},*} + \log\nu\right)^2, \end{aligned}

which is a constant.

Source and licence

The text on this page is from arXiv:2212.14457v3 by Boris Hanin and Alexander Zlokapa, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.

The record of each item is in analysis/objects/2212/2212.14457.jsonl.