A Framework for Uncertainty Quantification Based on Nearest Neighbors Across Layers
Not on the map. Why?
Abstract (arXiv)
Neural Networks have high accuracy in solving problems where it is difficult to detect patterns or create a logical model. However, these algorithms sometimes return wrong solutions, which become problematic in high-risk domains like medical diagnosis or autonomous driving. One strategy to detect and mitigate these errors is the measurement of the uncertainty over neural network decisions. In this paper, we present a novel post-hoc framework for measuring the uncertainty of a decision based on retrieved training cases that have a similar activation vector to the query for each layer. Based on these retrieved cases, we propose two new metrics: Decision Change and Layer Uncertainty, which capture changes in nearest-neighbor class distributions across layers. We evaluated our approach in a classification model for two datasets: CIFAR-10 and MNIST. The results show that these metrics enhance uncertainty estimation, especially in challenging classification tasks, outperforming softmax-based confidence.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 11 of its 20 references that are in the map. First posted on arXiv 24 Jun 2025.
Builds on
11 of 20 references.
References · 11
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,352
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2020A Review of Uncertainty Quantification in Deep Learning: Techniques, Applications and Challengescited by 819
- 2021A Survey of Uncertainty in Deep Neural Networkscited by 680
- 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
- 2021Deep Deterministic Uncertainty: A Simple Baselinecited by 200
- 2023Single-model uncertainty quantification in neural network potentials does not consistently outperform model ensemblescited by 30
- 2019Density estimation in representation space to predict model uncertaintycited by 27
- 2022Single Model Uncertainty Estimation via Stochastic Data Centeringcited by 20
- 2023Uncertainty Aware Neural Network from Similarity and Sensitivitycited by 1
Built on by
Not cited yet.