Explorations of the Softmax Space: Knowing When the Neural Network Doesn't Know
Not on the map. Why?
Abstract (arXiv)
Ensuring the reliability of automated decision-making based on neural networks will be crucial as Artificial Intelligence systems are deployed more widely in critical situations. This paper proposes a new approach for measuring confidence in the predictions of any neural network that relies on the predictions of a softmax layer. We identify that a high-accuracy trained network may have certain outputs for which there should be low confidence. In such cases, decisions should be deferred and it is more appropriate for the network to provide a textitnot known answer to a corresponding classification task. Our approach clusters the vectors in the softmax layer to measure distances between cluster centroids and network outputs. We show that a cluster with centroid calculated simply as the mean softmax output for all correct predictions can serve as a suitable proxy in the evaluation of confidence. Defining a distance threshold for a class as the smallest distance from an incorrect prediction to the given class centroid offers a simple approach to adding textitnot known answers to any network classification falling outside of the threshold. 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 datasets and network models, and indicate that the proposed distance metric can offer an efficient way of determining when automated predictions are acceptable and when they should be deferred to human operators.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 17 of its 43 references that are in the map. First posted on arXiv 1 Feb 2025.
Builds on
17 of 43 references.
References · 17
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2015Domain-Adversarial Training of Neural Networkscited by 3,044
- 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
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2016Concrete Problems in AI Safetycited by 1,642
5 more
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2018Deep Visual Domain Adaptation: A Surveycited by 635
- 2017Countering Adversarial Images using Input Transformationscited by 520
- 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 334
- 2018Evaluating Uncertainty Quantification in End-to-End Autonomous Driving Controlcited by 55
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2026Uncertainty-Aware Transformers: Conformal Prediction for Language Models10 Apr 2026
- 2025Relative Overfitting and Accept-Reject Framework12 May 2025