Introduction
Deep neural networks (DNNs) have achieved remarkable success in classification tasks, yet they remain notoriously overconfident when encountering data outside their training distribution. In safety-critical domains such as autonomous driving or medical diagnosis, a model's ability to signal "I don't know" is as important as its predictive accuracy. However, standard softmax-based networks provide only a single probability score, conflating different types of uncertainty. This paper introduces Regularized Evidential Neural Networks (ENNs), a framework designed to decompose uncertainty into interpretable components.
The Challenge of Multidimensional Uncertainty
The primary limitation of existing uncertainty quantification methods, including Bayesian Neural Networks (BNNs), is their frequent inability to distinguish between uncertainty arising from a lack of data (vacuity) and uncertainty arising from conflicting evidence (dissonance).
As illustrated in the figure above, an outlier far from the training data should ideally trigger high vacuity, indicating the model has never seen similar samples. Conversely, a point situated directly on the classification boundary between two known classes should trigger high dissonance, reflecting the presence of strong but contradictory evidence. Standard "black box" models often fail to make this distinction, leading to unreliable out-of-distribution (OOD) detection.
Methodology: Regularized Evidential Neural Networks
To address this, the authors build upon the concept of Evidential Neural Networks. Unlike standard networks, an ENN replaces the final softmax layer with an activation function that outputs non-negative "evidence" for each class. These evidence values parameterize a Dirichlet distribution, which acts as a distribution over class probability distributions. This allows the model to represent its "opinion" as a belief over the entire probability simplex.
The core innovation of this research is a novel regularization framework that explicitly "teaches" the network these uncertainty dimensions during training:
- Vacuity Regularization: This term penalizes the model if it fails to report high vacuity for OOD samples. It forces the Dirichlet parameters toward a state of zero evidence when the input is far from the training manifold.
- Dissonance Regularization: This term targets the classification boundaries. By using a K-Nearest Neighbors (KNN) approach during training, the model estimates the local "conflict" based on neighboring labels. It then uses KL-divergence to align its predicted Dirichlet distribution with this estimated dissonance.
The figure above visualizes how these parameters manifest on a probability simplex. In (a), the model is certain. In (b), the central peak indicates high dissonance (equal evidence for all classes). In (c), the distribution is shifted, representing a more complex state of partial evidence and conflict.
Experimental Results
The researchers validated their approach using both synthetic 2D datasets and the CIFAR-10 image recognition benchmark.
- Synthetic Data: Qualitative results showed that while a standard ENN might be overconfident far away from the data, the Regularized ENN correctly identified the entire "empty" space as high-vacuity. It successfully localized high dissonance specifically to the thin lines where classes overlap.
- CIFAR-10: The model was trained on a subset of classes and tested on unseen OOD classes. The ENN-Vac-Diss model (incorporating both regularizations) significantly outperformed standard NNs and basic ENNs. It demonstrated much higher entropy, meaning it was more "honestly" confused when shown images from classes it hadn't seen during training.
Conclusion and Future Directions
By treating uncertainty as a first-class citizen in the loss function, Regularized ENNs provide a more nuanced and interpretable signal than standard deep learning models. While the current implementation relies on KNN—which introduces some computational overhead during training—the benefits for safety-critical applications are substantial. Future work aims to incorporate additional dimensions of Subjective Logic, such as "vagueness," and to scale the approach to high-dimensional real-world datasets used in robotics and autonomous systems.
Summary updated