When to Accept Automated Predictions and When to Defer to Human Judgment?
Daniel Sikar, Artur Garcez, Tillman Weyde, Robin Bloomfield, Kaleem Peeroo
TL;DR
This paper tackles when automated predictions should be trusted under distribution shifts by introducing a centroid-distance confidence metric. Centroids are computed from the mean softmax outputs of correctly labeled training examples, and a safety threshold is defined from the distance of incorrect predictions to their class centroids. Empirical validation on MNIST with a CNN and CIFAR-10 with a Vision Transformer shows that closer-to-centroid predictions are typically correct, while misclassifications lie farther from centroids, with a very small testing overlap (~0.04%) between safe and unsafe predictions. The results support a practical, domain-specific threshold strategy to gate automated decisions and defer uncertain cases to humans, with avenues for extending the approach to autonomous-systems safety and alternative thresholding models.
Abstract
Ensuring the reliability and safety of automated decision-making is crucial. It is well-known that data distribution shifts in machine learning can produce unreliable outcomes. This paper proposes a new approach for measuring the reliability of predictions under distribution shifts. We analyze how the outputs of a trained neural network change using clustering to measure distances between outputs and class centroids. We propose this distance as a metric to evaluate the confidence of predictions under distribution shifts. We assign each prediction to a cluster with centroid representing the mean softmax output for all correct predictions of a given class. We then define a safety threshold for a class as the smallest distance from an incorrect prediction to the given class centroid. We evaluate the approach on the MNIST and CIFAR-10 datasets using a Convolutional Neural Network and a Vision Transformer, respectively. The results show that our approach is consistent across these data sets and network models, and indicate that the proposed metric can offer an efficient way of determining when automated predictions are acceptable and when they should be deferred to human operators given a distribution shift.
