Abstract
Standard deep learning architectures often suffer from overconfidence, assigning high probability scores to incorrect predictions or out-of-distribution data. This paper presents Random-Set Neural Networks (RS-NN), a framework designed to quantify epistemic uncertainty—the uncertainty arising from a lack of training data. By utilizing random set theory to predict belief functions over sets of classes, RS-NNs allow models to express ignorance rather than forced certainty. Experimental results across various benchmarks, including ImageNet and autonomous racing datasets, demonstrate that RS-NNs improve accuracy, calibration, and adversarial robustness while maintaining the computational efficiency required for real-time applications.
Introduction
In safety-critical domains such as autonomous driving and medical diagnostics, the ability of a machine learning model to "know when it does not know" is as vital as its predictive accuracy. Traditional deep learning models typically employ a softmax output layer that produces a point-estimate probability distribution. This approach forces the model to distribute a total probability of 1.0 across known classes, even when the input is entirely novel or ambiguous. This inherent overconfidence poses significant risks when models encounter out-of-distribution (OoD) samples or adversarial perturbations.
Existing approaches to uncertainty quantification, such as Bayesian Neural Networks (BNNs) and Deep Ensembles, face practical hurdles. BNNs are often computationally prohibitive and sensitive to prior selection, while Deep Ensembles require significant memory and power to run multiple models in parallel. This research introduces Random-Set Neural Networks (RS-NN) as a computationally efficient alternative that explicitly models ignorance through the lens of Epistemic AI.
Methodology
Random-Set Neural Networks (RS-NN)
The fundamental innovation of the RS-NN is the transition from point probabilities to belief functions. Instead of outputting a single probability vector, the network outputs "mass" assigned to sets of classes. This allows the model to represent ambiguity directly: if the model cannot distinguish between a "Cat" and a "Lynx," it can assign mass to the set {Cat, Lynx} rather than arbitrarily splitting confidence between them.
The Budgeting Mechanism
A primary challenge in applying random set theory to deep learning is the exponential complexity of the power set; for $n$ classes, there are $2^n$ possible combinations. To maintain efficiency, the author introduces a "budgeting" mechanism. By utilizing clustering techniques such as Gaussian Mixture Models (GMMs) and dimensionality reduction (t-SNE/UMAP) during the training phase, the model identifies the most frequent class overlaps. The network is then constrained to predict only a subset ($K$) of the most likely "confused" class sets, ensuring that inference remains fast.
Unified Evaluation via Credal Sets
To compare RS-NNs against traditional probabilistic models, the research proposes a new metric ($E$) based on credal sets—convex sets of probability distributions. This metric provides a balanced evaluation of accuracy (correctness) and imprecision (the degree of vagueness). This framework allows for a mathematically rigorous comparison between models that output different types of uncertainty signatures.
Experimental Results
Classification and Calibration
RS-NNs were evaluated on standard datasets including MNIST, CIFAR-10, CIFAR-100, and ImageNet. The model demonstrated superior performance, outperforming Bayesian and Ensemble baselines by up to 4% on CIFAR-10 and 7% on ImageNet. Crucially, the RS-NN achieved an Expected Calibration Error (ECE) of less than 0.05, indicating that the model's confidence levels are highly representative of its actual predictive success.
Out-of-Distribution and Adversarial Robustness
When tested against ImageNet-O and SVHN, the RS-NN effectively identified OoD samples by assigning high mass to the "total ignorance" set (the set containing all possible classes). Furthermore, the model showed remarkable resilience to adversarial attacks like FGSM and PGD. While standard models often saw accuracy drop to near zero under heavy attack, RS-NNs maintained up to 50% higher accuracy by recognizing the induced noise as a source of uncertainty.
Real-World Application: Autonomous Racing
The framework was applied to the OBR-A (Oxford Brookes Racing-Autonomous) and ROAD-Waymo datasets. In these scenarios, the model was required to classify objects under varying environmental conditions. RS-NNs were 40% more effective at generalizing from sunny training data to rainy or nighttime test conditions compared to standard convolutional neural networks, highlighting their utility in dynamic, real-world environments.
Discussion and Conclusion
RS-NNs provide a path toward "wise" AI systems that can communicate the limits of their own knowledge. By achieving "Bayesian-like" uncertainty quantification in a single forward pass (averaging 1.91 ms per sample), the framework bridges the gap between theoretical rigor and practical deployment.
Future work will focus on extending the random set framework to regression tasks, such as predicting continuous steering angles in autonomous vehicles. Additionally, exploring the application of random sets to the internal weights of the network—rather than just the output layer—may provide even deeper insights into the epistemic state of deep learning models. Ultimately, the RS-NN framework represents a significant step toward more reliable and transparent artificial intelligence.
Summary updated