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.
Original language | English |
---|---|
Title of host publication | Proceedings of the 38th Conference on Neural Information Processing Systems (NeurIPS 2024). |
Number of pages | 25 |
Publication date | 2024 |
Publication status | Published - 2024 |
Event | 38th Conference on Neural Information Processing Systems - Vancouver, Canada Duration: 10 Dec 2024 → 15 Dec 2024 |
Conference
Conference | 38th Conference on Neural Information Processing Systems |
---|---|
Country/Territory | Canada |
City | Vancouver |
Period | 10/12/2024 → 15/12/2024 |