A Framework for Uncertainty Quantification Based on Nearest Neighbors Across Layers
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.
Code (0)
등록된 구현이 없습니다.
Tasks
Autonomous DrivingMedical DiagnosisUncertainty QuantificationSimilar Papers 제목 키워드 기반
Improving Uncertainty Quantification of Deep Classifiers via Neighborhood Conformal Prediction: Novel Algorithm and Theoretical Analysis
Safe deployment of deep neural networks in high-stake real-world applications requires theoretically sound uncertainty quantification. Conformal prediction (CP) is a principled framework for uncertainty quantification of…
Conformal PredictionPredictionUncertainty QuantificationConformal Prediction for Stochastic Decision-Making of PV Power in Electricity Markets
This paper studies the use of conformal prediction (CP), an emerging probabilistic forecasting method, for day-ahead photovoltaic power predictions to enhance participation in electricity markets. First, machine learning…
Conformal PredictionDecision MakingUncertainty QuantificationReweighting samples under covariate shift using a Wasserstein distance criterion
Considering two random variables with different laws to which we only have access through finite size iid samples, we address how to reweight the first sample so that its empirical distribution converges towards the true…
Uncertainty QuantificationRisk Controlled Image Retrieval
Most image retrieval research prioritizes improving predictive performance, often overlooking situations where the reliability of predictions is equally important. The gap between model performance and reliability requir…
Image RetrievalModel SelectionRetrievalUncertainty QuantificationProb-GParareal: A Probabilistic Numerical Parallel-in-Time Solver for Differential Equations
We introduce Prob-GParareal, a probabilistic extension of the GParareal algorithm designed to provide uncertainty quantification for the Parallel-in-Time (PinT) solution of (ordinary and partial) differential equations (…
Gaussian Processes