Skip to main content
QUICK REVIEW

[Paper Review] Single Model Uncertainty Estimation via Stochastic Data Centering

Jayaraman J. Thiagarajan, Rushil Anirudh|arXiv (Cornell University)|Jul 14, 2022
Adversarial Robustness in Machine LearningComputer Science9 citations
TL;DR

This paper proposes Delta-UQ, a single-model uncertainty estimation method that leverages stochastic data centering via random constant bias shifts to generate diverse predictions, enabling accurate epistemic uncertainty quantification. By training one network on inputs augmented with learnable anchors, Delta-UQ achieves uncertainty estimates rivaling deep ensembles while being computationally efficient and effective across outlier detection, distribution shift robustness, and Bayesian optimization.

ABSTRACT

We are interested in estimating the uncertainties of deep neural networks, which play an important role in many scientific and engineering problems. In this paper, we present a striking new finding that an ensemble of neural networks with the same weight initialization, trained on datasets that are shifted by a constant bias gives rise to slightly inconsistent trained models, where the differences in predictions are a strong indicator of epistemic uncertainties. Using the neural tangent kernel (NTK), we demonstrate that this phenomena occurs in part because the NTK is not shift-invariant. Since this is achieved via a trivial input transformation, we show that this behavior can therefore be approximated by training a single neural network -- using a technique that we call $Δ-$UQ -- that estimates uncertainty around prediction by marginalizing out the effect of the biases during inference. We show that $Δ-$UQ's uncertainty estimates are superior to many of the current methods on a variety of benchmarks -- outlier rejection, calibration under distribution shift, and sequential design optimization of black box functions. Code for $Δ-$UQ can be accessed at https://github.com/LLNL/DeltaUQ

Motivation & Objective

  • To develop a computationally efficient single-model uncertainty estimation method that matches the performance of deep ensembles.
  • To investigate whether random data shifts via constant bias can induce model diversity sufficient for epistemic uncertainty estimation.
  • To demonstrate that uncertainty derived from anchor-based data transformations can be approximated using a single neural network with minimal architectural changes.
  • To validate the method’s robustness in real-world scenarios such as distribution shift, outlier detection, and sequential black-box optimization.

Proposed method

  • The method trains a single deep neural network on input data augmented with a learnable anchor vector $[\mathbf{c}, \mathbf{x} - \mathbf{c}]$, where $\mathbf{c}$ is a learnable bias vector.
  • During inference, multiple predictions are generated by sampling different anchor values $\mathbf{c}$, and uncertainty is estimated as the standard deviation of these predictions.
  • The approach is grounded in the non-shift-invariance of the neural tangent kernel (NTK), which causes different bias shifts to yield distinct model solutions even with identical weight initialization.
  • The method avoids full ensemble training by marginalizing over anchor variations, effectively approximating ensemble diversity with a single model.
  • The training objective remains unchanged; only the input representation is modified to include the anchor, enabling plug-and-play integration with existing models.
  • The uncertainty estimate is computed as $\sigma = \text{std}(f(\mathbf{x}; \mathbf{\theta}, \mathbf{c}_1), \dots, f(\mathbf{x}; \mathbf{\theta}, \mathbf{c}_K))$ over $K$ sampled anchors during inference.

Experimental results

Research questions

  • RQ1Can random constant bias shifts to input data induce sufficient model diversity to estimate epistemic uncertainty in a single deep neural network?
  • RQ2Does the non-shift-invariance of the neural tangent kernel (NTK) explain the emergence of prediction variance under data centering?
  • RQ3Can a single model trained with anchor-augmented inputs approximate the uncertainty performance of deep ensembles?
  • RQ4How does the proposed Delta-UQ method compare to established uncertainty estimation baselines in terms of calibration and robustness under distribution shift?
  • RQ5Can Delta-UQ improve performance in sequential black-box optimization tasks with limited data?

Key findings

  • Delta-UQ consistently outperforms deep ensembles, Monte Carlo dropout, Bayesian neural networks, and Gaussian processes in terms of area under the curve (AUC) for sequential optimization on benchmark functions.
  • On high-dimensional problems (e.g., 8D), Delta-UQ maintains strong performance, while MCD and DEns degrade significantly, highlighting its scalability.
  • In GAN-based optimization on MNIST, Delta-UQ achieved higher function values (image thickness) than all baselines with the same sampling budget.
  • On ImageNet and CIFAR-10 with corrupted variants, Delta-UQ demonstrated superior calibration under distribution shift compared to existing methods.
  • The method achieved competitive accuracy on ImageNet and CIFAR-10 while providing meaningful uncertainty estimates, with minimal training overhead.
  • Ablation studies confirmed that the uncertainty arises from the anchor-based data transformation and not from model weight randomness, validating the core mechanism.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.