As neural networks are increasingly deployed in safety-critical domains like autonomous driving and medical diagnosis, they need to know when they don't know the answer. There are two main types of uncertainty they must capture: aleatoric (noise inherent in the data) and epistemic (uncertainty in the model due to a lack of training data).
Traditionally, estimating epistemic uncertainty requires Bayesian Neural Networks (BNNs), Monte Carlo Dropout, or Deep Ensembles. These methods are computationally expensive because they require multiple forward passes (sampling) during inference. Recently, "evidential deep learning" emerged as a way to predict uncertainty in a single forward pass by placing a prior over the network's likelihood function. However, this was previously limited to discrete classification tasks. Applying it to continuous regression is mathematically challenging because regression lacks a well-defined, bounded distance measure to a "maximally uncertain" prior, making it difficult to penalize the model when it is confidently wrong.
This paper introduces Deep Evidential Regression, a novel method for training deterministic neural networks to predict continuous targets alongside calibrated measures of both aleatoric and epistemic uncertainty. By training a network to output the hyperparameters of a higher-order evidential distribution, the method achieves robust uncertainty estimation in a single forward pass, entirely avoiding the computational overhead of Bayesian sampling or the need for out-of-distribution (OOD) training data.
Methods
Instead of predicting a single point estimate $y$, or even just a mean and variance, the authors train a standard neural network to predict the parameters of a higher-order probability distribution.
- The Evidential Prior: They assume the target is drawn from a Gaussian distribution with an unknown mean and variance. They place a Normal Inverse-Gamma (NIG) distribution as a prior over these unknown parameters.
- Network Output: The neural network is modified to output the four parameters of this NIG distribution ($\gamma, \upsilon, \alpha, \beta$).
- The Loss Function: The training objective maximizes the model fit by minimizing the negative log marginal likelihood (which conveniently has an analytical Student-t solution, avoiding sampling).
- The Novel Regularizer: Because standard KL-divergence regularization fails in continuous regression spaces, the authors introduce a clever heuristic regularizer. It penalizes the model based on the absolute error of the prediction scaled by the total predicted evidence. If the model makes a large error, the regularizer forces it to reduce its evidence (inflate its uncertainty).
Key Insights and Innovations
- Uncertainty Without Sampling: By framing learning as an evidence acquisition process, a deterministic network can capture Bayesian-like epistemic uncertainty in a single forward pass. This drastically reduces inference latency.
- Error-Scaled Regularization is Crucial: In classification, you can push a model toward a uniform "zero-evidence" prior. In regression, the space is infinite. Scaling the evidence penalty directly by the prediction error elegantly solves this, ensuring the model is only penalized for being overly confident when it is actually wrong.
- OOD Detection "For Free": Unlike some prior network approaches that require explicit examples of OOD data during training to teach the model what to be uncertain about, this method naturally yields high epistemic uncertainty on OOD data while only ever training on in-distribution data.
Experiments and Results
The researchers evaluated their approach across a variety of datasets, ranging from a simple 1D cubic function to standard UCI regression benchmarks and complex computer vision tasks like NYU Depth v2 (indoor RGB-to-depth) and ApolloScape (outdoor driving, used for OOD testing).
- Inference Speed: On the UCI benchmarks, evidential regression was roughly 3x to 4x faster during inference compared to Ensembles and Dropout (using 5 samples), clocking in at ~0.85ms compared to ~3.3ms.
- Predictive Performance: The method achieved highly competitive Root Mean Squared Error (RMSE) and was the top performer across all datasets for Negative Log-Likelihood (NLL).
- Calibration on Complex Tasks: On the monocular depth estimation task, evidential regression achieved a superior calibration error (0.0329) compared to Deep Ensembles (0.0475) and Dropout (0.126), meaning its confidence intervals are much more trustworthy.
- Robustness to OOD and Adversarial Noise: When tested on the unseen ApolloScape dataset, or when inputs were corrupted with Fast Gradient Sign Method (FGSM) adversarial noise, the model's predicted entropy (uncertainty) reliably and smoothly shifted upward, successfully flagging the inputs as untrustworthy.
Limitations and Future Work
The authors note that tuning the regularization coefficient ($\lambda$) is a primary limitation. Setting it too low causes over-confidence, while setting it too high causes uncertainty over-inflation. While the Normal Inverse-Gamma distribution is mathematically convenient, future work should explore other variance priors, like log-normal or heavy-tailed log-Cauchy distributions, to see how they affect likelihood estimation. Finally, while the error-scaled regularizer works well, further investigation is warranted to find more principled, alternative ways to remove "non-misleading" evidence during training.
Summary updated