The Unreasonable Effectiveness of Deep Evidential Regression

Nis Meinert, Jakob Gawlikowski, Alexander Lavin · DOI

Abstract

There is a significant need for principled uncertainty reasoning in machine learning systems as they are increasingly deployed in safety-critical domains. A new approach with uncertainty-aware regression-based neural networks (NNs), based on learning evidential distributions for aleatoric and epistemic uncertainties, shows promise over traditional deterministic methods and typical Bayesian NNs, notably with the capabilities to disentangle aleatoric and epistemic uncertainties. Despite some empirical success of Deep Evidential Regression (DER), there are important gaps in the mathematical foundation that raise the question of why the proposed technique seemingly works. We detail the theoretical shortcomings and analyze the performance on synthetic and real-world data sets, showing that Deep Evidential Regression is a heuristic rather than an exact uncertainty quantification. We go on to discuss corrections and redefinitions of how aleatoric and epistemic uncertainties should be extracted from NNs.

Introduction

In safety-critical AI applications, such as autonomous driving or medical diagnostics, a model's ability to quantify its own uncertainty is paramount. Uncertainty is typically categorized into two types: aleatoric uncertainty, representing inherent noise in the data that cannot be reduced, and epistemic uncertainty, representing the model's ignorance due to a lack of training data in specific regions.

Deep Evidential Regression (DER) emerged as a compelling framework designed to estimate both types of uncertainty in a single forward pass, avoiding the high computational costs associated with Bayesian sampling methods. However, a rigorous examination reveals that the mathematical foundation of DER is fundamentally overparameterized. Theoretically, the loss function—based on a Normal-Inverse-Gamma distribution—allows for solutions where parameters collapse to zero, yet the method remains empirically effective. This paper investigates this "unreasonable effectiveness" and proposes a more robust interpretation of DER's outputs.

Theoretical Shortcomings and Convergence Analysis

The core issue in the original DER formulation is an ambiguity in its loss function. The parameters ($\gamma, \nu, \alpha, \beta$) are not uniquely determined by the data, leading to a situation where the model could minimize loss by driving certain parameters to zero regardless of the input.

Through a detailed "post-mortem" analysis, we tracked the evolution of these parameters during training. We discovered that the success of DER is not due to a strict Bayesian derivation but rather to the dynamics of the optimization process. Specifically, the epistemic uncertainty output serves as a proxy for convergence speed. In regions with low data density, the model struggles to fit the data, resulting in slower parameter updates. This slower convergence is captured by the parameter $\nu$, which DER then interprets as high epistemic uncertainty.

Evolution of residuals and parameters during training, illustrating how convergence speed acts as a proxy for uncertainty.

As shown in the convergence analysis, the optimizer's path through the parameter space is complex. The non-trivial correlations between parameters prevent the uncertainty estimates from collapsing immediately, allowing the model to capture meaningful, albeit heuristic, uncertainty patterns.

Redefining Uncertainty Proxies

To address the "leaking" of aleatoric uncertainty into epistemic estimates, we propose a redefinition of the uncertainty proxies. In the original framework, high-noise regions (aleatoric) often artificially inflated the epistemic uncertainty. We introduce new proxies:

  • Aleatoric ($u'_{al}$): Defined by the width of the predicted $t$-distribution.
  • Epistemic ($u'_{ep}$): Defined specifically as $1/\sqrt{\nu}$.

Furthermore, we introduced a normalized residual loss to decouple these estimates. Validation on synthetic datasets with heteroscedastic noise (noise that varies with input $x$) demonstrates that these redefinitions significantly improve the disentanglement of noise from ignorance.

Proposed disentanglement of aleatoric and epistemic uncertainty, showing clearer separation in noisy regions.

Experimental Results and Real-World Application

Our findings were validated across several benchmarks, including synthetic univariate regression and a custom "Binary Pulse" dataset. In complex monocular depth estimation tasks (NYU Depth v2), we found that original DER's epistemic uncertainty was almost perfectly correlated with aleatoric uncertainty. Applying our redefinitions allowed for a more nuanced understanding of the model's behavior, particularly for out-of-distribution (OOD) detection.

Conclusion

Deep Evidential Regression is best understood as a powerful heuristic rather than a strict Bayesian method. Its effectiveness stems from the interplay between optimization dynamics and data density. While it remains a valuable tool for efficient uncertainty estimation, practitioners should treat its outputs as relative scores. By adopting the proposed redefinitions and normalized loss, the community can more reliably disentangle different sources of uncertainty in safety-critical applications.

This paper was presented at AAAI-2023.

Summary updated

BibTeX
@inproceedings{meinert2023unreasonable,
  author = {Nis Meinert and Jakob Gawlikowski and Alexander Lavin},
  title = {{The Unreasonable Effectiveness of Deep Evidential Regression}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i8.26096},
}
Figure