Skip to main content
QUICK REVIEW

[Paper Review] Uncertainty Baselines: Benchmarks for Uncertainty & Robustness in Deep Learning

Zachary Nado, Neil Band|arXiv (Cornell University)|Jun 7, 2021
Adversarial Robustness in Machine LearningComputer Science31 references31 citations
TL;DR

This paper introduces Uncertainty Baselines, a comprehensive library offering high-quality, reproducible implementations of 19 state-of-the-art deep learning methods across 9 diverse tasks—spanning image, tabular, and text modalities. The framework provides standardized evaluation metrics, model checkpoints, and experiment notebooks to enable fair, scalable, and reproducible benchmarking of uncertainty and robustness techniques.

ABSTRACT

High-quality estimates of uncertainty and robustness are crucial for numerous real-world applications, especially for deep learning which underlies many deployed ML systems. The ability to compare techniques for improving these estimates is therefore very important for research and practice alike. Yet, competitive comparisons of methods are often lacking due to a range of reasons, including: compute availability for extensive tuning, incorporation of sufficiently many baselines, and concrete documentation for reproducibility. In this paper we introduce Uncertainty Baselines: high-quality implementations of standard and state-of-the-art deep learning methods on a variety of tasks. As of this writing, the collection spans 19 methods across 9 tasks, each with at least 5 metrics. Each baseline is a self-contained experiment pipeline with easily reusable and extendable components. Our goal is to provide immediate starting points for experimentation with new methods or applications. Additionally we provide model checkpoints, experiment outputs as Python notebooks, and leaderboards for comparing results. Code available at https://github.com/google/uncertainty-baselines.

Motivation & Objective

  • Address the lack of reproducible, standardized benchmarks for evaluating uncertainty and robustness in deep learning models.
  • Provide a unified, well-documented, and maintainable codebase to reduce the effort required to compare and extend existing methods.
  • Enable researchers and practitioners to rapidly prototype and evaluate new uncertainty estimation techniques using consistent experimental protocols.
  • Support diverse modalities (images, tabular, text) and real-world datasets, including CIFAR, ImageNet, Diabetic Retinopathy, and CLINC Intent Detection.
  • Establish community-wide standards for evaluating uncertainty and out-of-distribution robustness through shared metrics, checkpoints, and leaderboards.

Proposed method

  • Design each baseline as a self-contained, minimal-dependency experiment pipeline with clear separation of data loading, model definition, training, and evaluation components.
  • Implement a modular architecture supporting both TensorFlow and PyTorch backends, with consistent interfaces across models and datasets.
  • Integrate standardized preprocessing pipelines (e.g., random crop, flip, normalization) with deterministic behavior via stateless random operations.
  • Support a wide range of uncertainty estimation methods, including MC-Dropout, Bayesian Neural Networks (BNNs), SNGP, BatchEnsemble, and ensemble methods.
  • Use hyperparameter tuning via quasirandom search with multiple rounds for key benchmarks (e.g., Diabetic Retinopathy), followed by final retraining on combined train/val sets.
  • Provide experiment outputs as reusable Python notebooks and model checkpoints to ensure full reproducibility and ease of extension.

Experimental results

Research questions

  • RQ1How can we establish a standardized, reproducible benchmarking framework for uncertainty and robustness in deep learning across diverse tasks and modalities?
  • RQ2What is the relative performance of modern uncertainty estimation methods (e.g., SNGP, MC-Dropout, BNNs) across image, tabular, and text-based benchmarks?
  • RQ3To what extent do simple baselines outperform complex methods when evaluated under consistent, well-tuned protocols?
  • RQ4How do different optimization strategies (e.g., AdamW, RMSProp, Nesterov) and learning rate schedules impact uncertainty calibration and robustness?
  • RQ5Can a unified, community-maintained library significantly reduce the barrier to entry for researchers exploring uncertainty in deep learning?

Key findings

  • The Uncertainty Baselines library includes 83 total baselines across 9 tasks, with 19 distinct methods evaluated using at least 5 standardized metrics per task.
  • For the Diabetic Retinopathy benchmark, hyperparameter tuning via quasirandom search achieved final validation AUC improvements of up to 0.91 with 10 seed runs, enabling reliable comparison.
  • SNGP and MC-Dropout consistently achieved strong performance across image and text tasks, with SNGP showing strong calibration on CIFAR-10 and ImageNet.
  • Ensemble and hyper-deep ensemble methods demonstrated high accuracy and robustness on multiple benchmarks, though with increased inference latency.
  • Variational Inference and Radial BNNs showed competitive performance on tabular (UCI) and medical imaging (Diabetic Retinopathy) tasks, validating their applicability beyond vision.
  • The library’s standardized training and evaluation protocols enabled direct comparison across methods, revealing that simpler methods like MC-Dropout often outperform more complex ones when properly tuned.

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.