Publication date: Sep 19, 2023
Uncertainty quantification is a central challenge in reliable and trustworthy machine learning. Naive measures such as last-layer scores are well-known to yield overconfident estimates in the context of overparametrized neural networks. Several methods, ranging from temperature scaling to different Bayesian treatments of neural networks, have been proposed to mitigate overconfidence, most often supported by the numerical observation that they yield better calibrated uncertainty measures. In this work, we provide a sharp comparison between popular uncertainty measures for binary classification in a mathematically tractable model for overparametrized neural networks: the random features model. We discuss a trade-off between classification accuracy and calibration, unveiling a double descent like behavior in the calibration curve of optimally regularized estimators as a function of overparametrization. This is in contrast with the empirical Bayes method, which we show to be well calibrated in our setting despite the higher generalization error and overparametrization. This record provides the code to reproduce the numerical experiments of the related paper "On double-descent in uncertainty quantification in overparametrized models".
No Explore or Discover sections associated with this archive record.
File name | Size | Description |
---|---|---|
double_descent_uncertainty-main.zip
MD5md5:eb0de263154e9b45d2248211414d9815
|
520.1 KiB | compressed files contained in the repository https://github.com/SPOC-group/double_descent_uncertainty |
README.txt
MD5md5:b51340aa9b662d3826492211878a02f2
|
1.2 KiB | README file describing the structure of the code |
2023.145 (version v1) [This version] | Sep 19, 2023 | DOI10.24435/materialscloud:zb-71 |