摘要
- 对fully-connected feedforward network施加层内i.i.\(d\). zero-mean Gaussian weights/biases,且weight variance按1/N_l缩放;逐层宽度趋于无穷时,任意有限输入集合上的pre-activations联合趋于Gaussian。
- kernel可按层递归:上一层两输入的2×2 covariance经过activation expectation Fφ,再乘σw²并加σb²;ReLU有解析arccosine形式,Tanh可用数值lookup pipeline。
- 用所得NNGP做exact GP regression,并把MNIST/CIFAR分类编码成least-squares regression;在该受限比较中NNGP常胜有限宽Adam网络,且posterior variance与binned prediction error相关。
背景
- 单hidden-layer无限宽网络的GP极限早已由Neal/Williams建立;本文把归纳推广到多层,并明确compositional kernel可作为Bayesian GP covariance。
- 随机深网signal propagation研究已给kernel/correlation recursion与ordered/chaotic phase;本文把这些hyperparameters关联到NNGP的预测性能。
- GP允许解析posterior mean/variance,但标准exact inference要形成n×\(n\) kernel并做Cholesky,训练点数增长时内存O(n²)、时间O(n³)成为瓶颈。
模型与方法
- 网络第l层 \(z_{i}^{l}=b_{i}^{l}\)+\(\Sigma_{j}\) W^l_{ij}\(\phi\)(\(z_{j}^{l−1}\)),W variance σw²/\(N_{l}\)、bias variance σb²;CLT令每个有限输入集合的z_i^l在N_l→∞时联合Gaussian。
- 深层证明按N1→∞、\(N_{2}\)→∞依次取极限;Appendix在Gaussian weights下用marginalization给不依赖极限次序的替代推导,并引用并行工作讨论同时增宽的收敛率。
- kernel 递推只依赖上一层两输入的 $2\times2$ covariance:
\[K^{l}(x,x')=\sigma_b^2+\sigma_w^2\,\mathbb E_{(u,v)\sim\mathcal N(0,K^{l-1})}[\phi(u)\phi(v)].\]
- 因此计算 $K^l(x,x')$ 只需 $K^{l-1}(x,x)$、$K^{l-1}(x',x')$ 与 $K^{l-1}(x,x')$;无限宽把随机网络 prior 约化为闭合的 kernel recursion。
- base kernel \(K^{0}\)=σb²+σw² \(x\)·\(x\)'/\(d_{\mathrm{in}}\);depth、activation、σw²和σb²共同定义function prior。无限宽不消除这些hyperparameter choices。
- Gaussian observation noise 下,posterior mean 为 $K_{*D}(K_{DD}+\sigma^2I)^{-1}t$,posterior covariance 为 $K_{**}-K_{*D}(K_{DD}+\sigma^2I)^{-1}K_{D*}$;论文把十类标签编码为错误类 $-0.1$、正确类 $0.9$,再以 regression argmax 分类。
- 实验对MNIST 50k/10k/10k、CIFAR 45k/5k/10k;有限NN为全连接等宽ReLU/Tanh、MSE、Adam、无dropout;NN超参数平均约250 random trials,GP每depth评估30×30的σw²–σb² grid。
核心结果与证据
- Table 1 full MNIST ReLU:best finite NN 98.64%,NNGP 98.75%;Tanh 98.57% vs 98.79%。差异约0.1–0.2 percentage points,属于同一全连接regression设定。
- full CIFAR ReLU:finite NN 53.13%,NNGP 55.66%;Tanh 50.34% vs 55.58%。这远低于卷积网络,不应称为当时CIFAR state of the art。
- 小数据CIFAR优势更明显:1k训练样本ReLU 32.25% vs GP 36.08%,Tanh 33.78% vs 37.02%;但best model均经不同形式的大量validation selection。
- Figure 1显示width从5到5000时finite NN accuracy/MSE趋近NNGP;这是经验趋势,不是SGD在无限宽下采样Bayesian posterior的证明。
- Figure 2训练180个5-hidden-layer CIFAR networks后只保留100% training accuracy者,共125 Tanh、55 ReLU;在这个筛选集内wider networks generalization gap较小。
- Figure 3按每100 test points分箱,posterior variance与realized MSE相关:full MNIST Tanh 0.9330、ReLU 0.9573;CIFAR 0.7428、0.8223。分箱相关不等于逐样本calibration。
- Figure 4显示best NNGP hyperparameters多在signal-propagation critical line附近;远离criticality时deep kernel快速趋常数/退化并降到chance。
- 50k MNIST每层K_DD构造在64 CPUs约90–140 s;每1000 test points Cholesky solve约180–220 s。它展示当时可运行规模,也直接暴露exact GP扩展瓶颈。
有效性与局限
- 等价针对随机参数prior与无限宽function distribution;有限宽训练后的weights高度相关,SGD solution不自动等于GP posterior。本文关于趋近的结论是指定实验的性能接近。
- 只处理fully-connected、pointwise activation、i.i.\(d\). Gaussian初始化;卷积、weight sharing、normalization、residual topology和非Gaussian结构不在本文推导范围。
- 分类被当作Gaussian-noise regression,既非softmax likelihood也非严格Bayesian classification;posterior variance和accuracy会依赖标签编码及noise 10⁻10等数值选择。
- NN与GP均用validation挑best,但search spaces和budgets不完全等价:NN每配置约250 random trials,GP每depth有900 grid points;“often outperforms”不是单一预注册比较。
- Figure 2先筛到100% train accuracy,会改变width与generalization样本分布;不能据此单独证明宽度因果改善泛化。
- uncertainty图以100点分箱并报告相关系数,没有NLL、ECE、coverage或OOD检测;高相关不等于well-calibrated posterior。
- exact GP的n³求解在50k已需大量CPU并分批test;论文自己把更大规模留作future scalable-GP work。
- 本站未运行kernel recursion、Cholesky或有限宽training。
复现与资源
- 先对ReLU用解析arccosine recursion与论文数值lookup逐层比较;Figure 6可作为kernel implementation sanity check。
- 有限宽Monte Carlo随机初始化,在固定输入集计算empirical covariance,随width与depth比较NNGP kernel误差和非Gaussian cumulants,区分prior convergence与trained performance。
- 严格复现实验split、zero-mean label encoding、MSE、no dropout、GP noise fallback及validation search;报告所有trial而非只摘best。
- GP数值稳定性需记录jitter/noise每次×10的触发、Cholesky失败率、condition number和float precision;deep kernel接近fixed point时尤其重要。
- uncertainty评估除100点分箱相关外增加per-point NLL、coverage、calibration curve与distribution shift;不要仅复刻高correlation。
- 本站 PDF SHA-256:61fef539a521fe2c57b4254aeba5b8ba35bd619f733fa4c0e37e989caad08d64。
- Evidence status: full-text verified; no independent reproduction performed.
阅读指南
- 先读Eqs. (1–6),逐层确认CLT假设、variance scaling和kernel recursion。
- 再读Eqs. (7–9),把“exact Bayesian inference”限定为给定NNGP prior与Gaussian regression likelihood下的matrix computation。
- 看Table 1时同时看architecture与classification-as-regression设定;不要同卷积CIFAR结果横比。
- 最后读Figures 2–4和Appendix \(D\),关注筛选条件、uncertainty分箱、critical line与O(n³)成本。
Discussion
评论与讨论
评论公开保存在 GitHub Discussions;阅读无需登录,发表评论需要 GitHub 账号。