Uncertainty Quantification From Scaling Laws in Deep Neural Networks

Ibrahim Elsharkawy, Yonatan Kahn, Benjamin Hooberman
3/7/2025
cs.LGcs.AIhep-ex

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{elsharkawy2025uncertainty,
  title  = {Uncertainty Quantification From Scaling Laws in Deep Neural Networks},
  author = {Ibrahim Elsharkawy and Yonatan Kahn and Benjamin Hooberman},
  year   = {2025},
  eprint = {2503.05938},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.05938v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.05938.svg)](https://codeofpaper.com/paper/2503.05938)

Discussion