Evidential Uncertainty Quantification: A Variance-Based Perspective

Ruxiao Duan, Brian Caffo, Harrison X. Bai, Haris I. Sair, Craig K. Jones

TL;DR

This paper bridges the gap between regression and classification in Evidential Deep Learning (EDL) by introducing a variance-based approach to quantify uncertainty. Unlike traditional entropy-based methods that provide a single uncertainty score per image, this method decomposes uncertainty at the class level and identifies correlations between classes, significantly improving performance in Active Domain Adaptation (ADA) tasks.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) are notoriously "overconfident" and struggle to signal when they are confused by new data or domain shifts. Evidential Deep Learning (EDL) was designed to fix this by treating model outputs as parameters of a higher-order distribution (like a Dirichlet distribution), allowing a model to quantify its own "lack of evidence."

However, there has been a methodological split:

  1. In Regression: Uncertainty is measured using variance, which is easy to decompose into data noise (aleatoric) and model ignorance (epistemic).
  2. In Classification: Uncertainty is usually measured using entropy.

The problem with entropy is that it is a "sample-level" metric. It tells you that an image is uncertain, but not which specific classes are causing the confusion. For example, a model might be certain an image isn't a "dog" but torn between "car" and "truck." Entropy-based methods struggle to capture this class-specific nuance and the correlations between similar categories.

Methods

The authors adapt the law of total covariance to the classification setting.

  • Covariance Decomposition: Instead of a single scalar variance, they derive a full covariance matrix for the class probability vector. They decompose this matrix into aleatoric (intrinsic data randomness) and epistemic (lack of training data) components.
  • Class-Level Metrics: By looking at the diagonal of these matrices, they can calculate specific uncertainty scores for every single class for a given input.
  • Correlation Quantification: The off-diagonal elements of the covariance matrix allow them to calculate a "class correlation matrix," identifying which classes the model frequently confuses (e.g., "Computer" and "Monitor").
  • Certainty Sampling: In the context of Active Domain Adaptation (ADA), the authors propose a dual strategy. They don't just pick the most uncertain samples for human labeling; they also identify the most certain samples and use them as "pseudo-labeled" data to help the model adapt to a new domain without extra human effort.

Datasets

The researchers evaluated their approach on two standard benchmarks for domain adaptation:

  • Office-Home: A dataset containing ~15,500 images across 65 classes, divided into four domains: Art, Clipart, Product, and Real World.
  • Visda-2017: A large-scale dataset focused on the shift from Synthetic (3D rendered) images to Real images across 12 categories.

Key Insights and Ideas

  • Beyond the Single Number: The "aha moment" here is that variance isn't just for continuous numbers. By treating the classification output as a vector, the variance-based approach provides a much richer "uncertainty profile" than a single entropy value.
  • The Power of Certainty: Most active learning algorithms focus exclusively on "hard" (uncertain) samples. This paper shows that "easy" (certain) samples are equally valuable for stabilizing a model when it moves to a new environment (domain adaptation).
  • Identifying "Class Pairs": The method can mathematically identify which classes are "semantically close" from the model's perspective. For instance, it found high negative correlations between "Bucket" and "Trash Can," indicating the model's struggle to distinguish between these specific pairs.

Key Results

  • State-of-the-Art Performance: The variance-based approach (DUC-VAR) achieved an average accuracy of 79.5% on the Office-Home dataset, outperforming the previous entropy-based SOTA (78.1%) and significantly beating standard baselines like CoreSet (65.1%).
  • Stability: The variance-based method showed lower standard deviation across different domain transitions compared to entropy-based methods, suggesting it is a more robust metric for uncertainty.
  • High Precision in Certainty: The "Certainty Sampling" strategy was highly accurate; the samples the model claimed to be "certain" about had a prediction accuracy of 94.2% to 97.2%, justifying their use as pseudo-labels.

Limitations and Future Work

  • Supervised Requirement: The current EDL framework is primarily designed for supervised settings where ground truth labels are available for initial training. The authors note that extending this to fully unsupervised learning is a major next step.
  • Computational Overhead: While EDL doesn't require multiple forward passes (like Monte Carlo Dropout), calculating full covariance matrices for datasets with thousands of classes could become computationally expensive.
  • Heuristic Ratios: The "certainty sampling ratio" is currently increased gradually as training progresses based on a heuristic. Automating this schedule based on model feedback could further optimize performance.

Summary updated

BibTeX
@inproceedings{duan2024evidential,
  author = {Ruxiao Duan and Brian Caffo and Harrison X. Bai and Haris I. Sair and Craig K. Jones},
  title = {{Evidential Uncertainty Quantification: A Variance-Based Perspective}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=BpfI4yzSjE},
}
Figure