NeurIPS 2024poster2 citations

Sketched Lanczos uncertainty score: a low-memory summary of the Fisher information

Marco Miani, Lorenzo Beretta, Søren Hauberg

Abstract

Current uncertainty quantification is memory and compute expensive, which hinders practical uptake. To counter, we develop Sketched Lanczos Uncertainty (SLU): an architecture-agnostic uncertainty score that can be applied to pre-trained neural networks with minimal overhead. Importantly, the memory use of SLU only grows logarithmically with the number of model parameters. We combine Lanczos' algorithm with dimensionality reduction techniques to compute a sketch of the leading eigenvectors of a matrix. Applying this novel algorithm to the Fisher information matrix yields a cheap and reliable uncertainty score. Empirically, SLU yields well-calibrated uncertainties, reliably detects out-of-distribution examples, and consistently outperforms existing methods in the low-memory regime.

SketchingUncertaintyLanczosLaplace
BibTeX
@inproceedings{
miani2024sketched,
title={Sketched Lanczos uncertainty score: a low-memory summary of the Fisher information},
author={Marco Miani and Lorenzo Beretta and S{\o}ren Hauberg},
booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
year={2024},
url={https://openreview.net/forum?id=1vPqOmqSfO}
}
Sketched Lanczos uncertainty score: a low-memory summary of the Fisher information · NeurIPS 2024