Manuscript Offprint

arXiv:2610.01384

Robust Evidential Learning Through Latent Consistency

Charmaine Barker, Daniel Bethell, Simos Gerasimou

ABSTRACT

Reliable uncertainty quantification is essential for deploying deep learning models in high-stakes settings, where out-of-distribution and adversarial inputs can induce confident but unreliable predictions. Evidential Deep Learning provides efficient uncertainty estimates in a single forward pass, but can still assign high evidential strength to inputs that are poorly supported by the learned representation, such as adversarial inputs. We introduce CLEAR, a lightweight, task-agnostic post-hoc method that improves evidential robustness without retraining or altering the base prediction. Using held-out calibration data, CLEAR characterises the group-conditioned geometry of the model's latent space. At inference, it efficiently generates perturbation views directly in the latent space and measures their conflict relative to the calibrated geometry of the predicted group. High latent conflict indicates unsupported evidence, which CLEAR uses to selectively reduce evidential strength while retaining evidence for latent-consistent inputs. On ImageNet→CUB, CLEAR improves OOD and adversarial AUROC by +8.29 and +5.01 while running 17.4× faster than competing post-hoc methods while preserving predictive performance across classification, regression, and object detection benchmarks.

1 INTRODUCTION

Deep learning has enabled increasingly capable predictive systems across domains such as computer vision and natural language processing (Dosovitskiy et al., 2020; Achiam et al., 2023). However, reliable deployment requires more than predictive accuracy. In safety-critical settings, models may encounter out-of-distribution (OOD) inputs that differ from the data observed during training, or adversarial inputs deliberately perturbed to induce erroneous predictions. In both cases, a model may remain highly confident despite operating beyond the conditions or environment under which it has been trained. Identifying such unreliable predictions is therefore fundamental to the safe deployment of deep learning systems.

Uncertainty Quantification (UQ) provides a means of expressing how strongly a model's prediction should be trusted (Abdar et al., 2021). Approaches such as Bayesian neural networks (Goan & Fookes, 2020), Monte Carlo Dropout (Gal & Ghahramani, 2016), and conformal methods (Angelopoulos et al., 2023) can provide reliable uncertainty estimates; however, they often require additional training or repeated inference. Evidential methods offer an efficient alternative by estimating uncertainty in a single deterministic forward pass. Evidential Deep Learning (EDL) models class probabilities using a Dirichlet distribution (Sensoy et al., 2018), while Deep Evidential Regression (DER) uses a Normal-Inverse-Gamma distribution for continuous predictions (Amini et al., 2020). Despite their appeal, evidential models can still assign strong evidence to OOD and adversarial inputs for which the prediction is poorly supported (Kopetzki et al., 2021).

Post-hoc methods have emerged as a particularly effective approach for improving uncertainty robustness in evidential models, as they enhance uncertainty estimation without retraining the predictor and have demonstrated strong robustness to OOD and adversarial inputs (Kopetzki et al., 2021; Barker et al., 2026). However, existing approaches may require repeated model evaluations or

∗^{*}Equal contribution transformed inputs, reducing the computational advantages of evidential learning. They may also suppress evidence for valid in-distribution (ID) inputs, reducing retention despite correct predictions.

We introduce Conflict-aware Latent Evidence Adjustment for adversarial Robustness (CLEAR), a task-agnostic post-hoc approach that evaluates whether the evidence assigned by a pretrained evidential model is supported by its expected latent representation. Rather than repeatedly evaluating transformed inputs through the full model, CLEAR first uses held-out ID data to calibrate the latent geometry associated with different regions of the output space. At inference, CLEAR then generates inexpensive perturbation views directly in latent space and measures their conflict relative to the calibrated geometry of the predicted output group. Predictions exhibiting latent behaviour consistent with the calibrated ID structure retain their evidential strength, whereas high latent conflict indicates unsupported evidence and results in increased uncertainty. CLEAR therefore improves uncertainty under OOD and adversarial inputs without retraining the predictor or replacing its base prediction.

References (51)

  • Techniques, applications and challenges
  • GPT-4 Technical Report
  • Deep evidential regression
  • A gentle introduction
  • Test-time data augmentation for estimation of heteroscedastic aleatoric uncertainty in deep neural networks
  • Robust adversarial quantification via conflict-aware evidential deep learning
  • Variational inference: A review for statisticians
  • Airfoil self-noise and prediction
  • Posterior network: Uncertainty estimation without ood samples via density-based pseudo-counts
  • R-edl: Relaxing nonessential settings of evidential deep learning
  • Deep learning for classical japanese literature (opens arXiv in a new tab)
  • Emnist: Extending mnist to handwritten letters
  • Modeling wine preferences by data mining from physicochemical properties
  • Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Uncertainty estimation by fisher information-based evidential deep learning
  • Imagenet: A large-scale hierarchical image database
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • An image is worth $16 \times 16$ words: Transformers for image recognition at scale
  • Whitening for self-supervised representation learning
  • Dropout as a bayesian approximation: Representing model uncertainty in deep learning
  • Bayesian neural networks: An introduction and survey
  • Explaining and harnessing adversarial examples
  • Deep residual learning for image recognition
  • A survey on uncertainty quantification methods for deep neural networks: An uncertainty source perspective
  • Benchmarking neural network robustness to common corruptions and perturbations
  • Densely connected convolutional networks
  • What uncertainties do we need in bayesian deep learning for computer vision? Advances in Neural Information Processing Systems, 30, 2017
  • YOLOv11: An Overview of the Key Architectural Enhancements
  • Evaluating robustness of predictive uncertainty estimation: Are dirichlet-based models reliable? In International Conference on Machine Learning, pp. 5707–5718
  • Simple and scalable predictive uncertainty estimation using deep ensembles
  • Gradient-based learning applied to document recognition
  • Simple and principled uncertainty estimation with deterministic deep learning via distance awareness
  • Deep learning face attributes in the wild
  • Towards deep learning models resistant to adversarial attacks
  • Mnist-c: A robustness benchmark for computer vision (opens arXiv in a new tab)
  • Automated flower classification over a large number of classes
  • A multiclass weed species image dataset for deep learning
  • Sparse spatial autoregressions
  • Learn to accumulate evidence from all training samples: theory and practice
  • High-quality prediction intervals for deep learning: A distribution-free, ensembled approach
  • Hyper-opinion evidential deep learning for out-of-distribution detection
  • Foolbox: A python toolbox to benchmark the robustness of machine learning models (opens arXiv in a new tab)
  • Evidential deep learning to quantify classification uncertainty
  • Post-hoc uncertainty learning using a dirichlet meta-model
  • Efficientnet: Rethinking model scaling for convolutional neural networks
  • Attention is all you need
  • Caltech-ucsd birds 200
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • Benchmarking generalized out-of-distribution detection
  • Uncertainty regularized evidential regression
  • Age progression/regression by conditional adversarial autoencoder