arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.05938cs.LGcs.AIhep-exhep-phhep-th
收藏

深度神经网络中从缩放定律量化不确定性

Uncertainty Quantification From Scaling Laws in Deep Neural Networks

Department of Physics, University of Illinois Urbana-Champaign, Urbana, IL, USA(伊利诺伊大学厄巴纳-香槟分校物理系);Department of Physics, University of Toronto, Toronto, ON, Canada(多伦多大学物理系);Vector Institute, Toronto, ON, Canada(向量研究所)

Ibrahim Elsharkawy, Yonatan Kahn, Benjamin Hooberman

AI总结:

本文研究了深度神经网络中通过缩放定律量化不确定性的方法,发现测试损失的方差与均值比值在足够大的训练集下与网络宽度无关。

摘要:

从机器学习分析中量化不确定性对于其在物理科学中的应用至关重要。在本工作中,我们关注神经网络初始化分布继承的不确定性。我们计算了多层感知机(MLPs)在无限宽度极限下,使用神经切线核(NTK)初始化的测试损失$\mathcal{L}$的均值$μ_{\mathcal{L}}$和方差$σ_{\mathcal{L}}^2$,并将其与有限宽度网络在三个示例任务(MNIST分类、CIFAR分类和 calorimeter 能量回归)中的结果进行比较。我们观察到测试损失的均值和方差随训练集大小$N_\mathcal{D}$的变化呈现缩放定律,但发现当$N_\mathcal{D}$足够大时,方差与均值的比值$ε_{\mathcal{L}} \equiv σ_{\mathcal{L}}/μ_{\mathcal{L}}$在无限宽度和有限宽度下均与$N_\mathcal{D}$无关。这表明有限宽度网络的方差系数可以近似为其无限宽度值,并且原则上可以使用有限宽度扰动理论进行计算。

英文摘要:

Quantifying the uncertainty from machine learning analyses is critical to their use in the physical sciences. In this work we focus on uncertainty inherited from the initialization distribution of neural networks. We compute the mean $μ_{\mathcal{L}}$ and variance $σ_{\mathcal{L}}^2$ of the test loss $\mathcal{L}$ for an ensemble of multi-layer perceptrons (MLPs) with neural tangent kernel (NTK) initialization in the infinite-width limit, and compare empirically to the results from finite-width networks for three example tasks: MNIST classification, CIFAR classification and calorimeter energy regression. We observe scaling laws as a function of training set size $N_\mathcal{D}$ for both $μ_{\mathcal{L}}$ and $σ_{\mathcal{L}}$, but find that the coefficient of variation $ε_{\mathcal{L}} \equiv σ_{\mathcal{L}}/μ_{\mathcal{L}}$ becomes independent of $N_\mathcal{D}$ at both infinite and finite width for sufficiently large $N_\mathcal{D}$. This implies that the coefficient of variation of a finite-width network may be approximated by its infinite-width value, and may in principle be calculable using finite-width perturbation theory.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑