TL;DR
Standard deep learning models are notoriously overconfident, often assigning high probabilities to incorrect classes or completely unfamiliar data. This paper introduces Evidential Deep Learning (EDL), which replaces the standard softmax output with a Dirichlet distribution to explicitly model "evidence." By doing so, the model can quantify its own uncertainty and gracefully say "I don't know" when encountering out-of-distribution samples or adversarial attacks.
The Problem: Overconfidence in Neural Networks
Deep neural networks are excellent predictors, but they are often "blind" to their own confidence. The industry standard—the softmax function—squashes network outputs into a probability distribution. However, a softmax output of $[0.5, 0.5]$ for two classes is indistinguishable from a state of total ignorance; it provides a point estimate but no measure of the variance or "reliability" of that estimate.
This lack of self-awareness is dangerous in high-stakes applications like autonomous driving or medical diagnosis. While Bayesian Neural Networks (BNNs) attempt to solve this by placing distributions over the network weights, they are computationally expensive and rely on complex approximations. The authors seek a deterministic way to quantify uncertainty without the overhead of traditional Bayesian methods.
The Solution: Evidential Deep Learning (EDL)
The core innovation is treating the network's output not as a probability, but as evidence ($e$) for each class.
- Subjective Logic: The authors draw from the Theory of Evidence (Dempster-Shafer Theory). They define a "belief mass" for each class and an overall "uncertainty mass" ($u$). These values are non-negative and sum to one.
- Dirichlet Distributions: Instead of a single probability vector, the model predicts the parameters ($\alpha$) of a Dirichlet distribution. Think of the Dirichlet distribution as a "factory" that produces probability distributions. If the network sees a lot of evidence for a class, the Dirichlet distribution becomes "sharp" around that class. If there is no evidence, it remains a flat, uniform distribution (representing total uncertainty).
- Architecture and Loss Function: The network architecture remains mostly standard, but the final softmax layer is replaced with a non-negative activation function (like ReLU) to generate the evidence vector. The authors propose a novel loss function based on Type II Maximum Likelihood. It combines a sum-of-squares error (to ensure accuracy) with a Kullback-Leibler (KL) divergence term. This KL term acts as a regularizer that pushes the model toward a "state of ignorance" (uniform Dirichlet) for samples it cannot classify correctly, preventing the overconfidence typical of softmax.
Key Insights and Results
The authors evaluated their approach using standard benchmarks like MNIST, notMNIST (for out-of-distribution testing), and CIFAR-10.
- "I Don't Know" vs. "Maybe": Softmax forces a choice. EDL allows the model to assign a high value to the uncertainty mass ($u$) when it encounters something it hasn't seen before. Total uncertainty ($u=1$) occurs when evidence is zero.
- Rotational Sensitivity: In an experiment where a digit '1' was rotated 180 degrees, the standard softmax model switched between classes (1, 2, and 5) with high confidence. The EDL model, however, showed a sharp spike in uncertainty as the rotation moved away from the upright position.
- Out-of-Distribution (OOD) Detection: When fed the notMNIST (letters) dataset, the EDL model trained on MNIST (digits) produced entropy values very close to the theoretical maximum. It significantly outperformed BNNs and Deep Ensembles in identifying that it was looking at something unrelated to its training.
- Adversarial Robustness: Because the model is trained to associate lack of evidence with uncertainty, it is significantly harder to "fool" with small adversarial perturbations compared to standard softmax models. Under the Fast Gradient Sign Method (FGSM) attack, EDL maintained much higher uncertainty for its incorrect predictions than Dropout-based BNNs.
- Accuracy: EDL achieved competitive test accuracies (99.3% on MNIST, 83% on CIFAR-5), proving that adding uncertainty quantification does not necessarily degrade predictive performance.
Limitations and Future Work
The authors admit their theoretical investigation of the loss function is preliminary. They chose the sum-of-squares Bayes risk over cross-entropy based on empirical stability, but more formal proof is needed. Furthermore, the paper focuses primarily on classification. Extending this "evidential" approach to regression or more complex structured prediction tasks remains an open challenge. Finally, while the model detects that a rotated digit is unfamiliar, it doesn't inherently solve the problem of making the model invariant to those rotations; it simply makes the failure mode safer.
Summary updated