数学 > 数值分析
[提交于 2024年9月23日 (v1),最后修订于 2024年10月25日 (此版本, v2)]
标题:Sketched Lanczos uncertainty score: a low-memory summary of the Fisher information
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.