[Paper Review] URSABench: Comprehensive Benchmarking of Approximate Bayesian Inference Methods for Deep Neural Networks
URSABench is an open-source benchmarking framework for evaluating approximate Bayesian inference methods in deep neural networks, focusing on uncertainty quantification, robustness, scalability, and accuracy. It evaluates methods like SGLD, SGHMC, SWAG, and MC dropout across CIFAR-10, CIFAR-100, and OOD datasets, showing that cSGLD and cSGHMC achieve superior uncertainty calibration and robustness with minimal accuracy drop, while SWAG and MC dropout show trade-offs in calibration and decision cost.
While deep learning methods continue to improve in predictive accuracy on a wide range of application domains, significant issues remain with other aspects of their performance including their ability to quantify uncertainty and their robustness. Recent advances in approximate Bayesian inference hold significant promise for addressing these concerns, but the computational scalability of these methods can be problematic when applied to large-scale models. In this paper, we describe initial work on the development ofURSABench(the Uncertainty, Robustness, Scalability, and Accu-racy Benchmark), an open-source suite of bench-marking tools for comprehensive assessment of approximate Bayesian inference methods with a focus on deep learning-based classification tasks
Motivation & Objective
- To address the lack of comprehensive, standardized evaluation for approximate Bayesian inference methods in deep learning.
- To develop a unified benchmarking framework that evaluates methods across uncertainty quantification, robustness, scalability, and predictive accuracy.
- To enable fair and reproducible comparison of Bayesian deep learning methods on standard deep learning benchmarks.
- To support the research community in identifying the most effective methods for real-world deployment where uncertainty and robustness are critical.
Proposed method
- URSABench implements a PyTorch-based open-source framework for benchmarking Bayesian inference methods on deep neural network classification tasks.
- It includes standardized datasets (CIFAR-10, CIFAR-100, SVHN, STL-10) and model architectures (e.g., WideResNet28x10) for consistent evaluation.
- The framework evaluates multiple approximate Bayesian inference methods: SGLD, SGHMC, cSGLD, cSGHMC, SWAG, MC dropout, and PCA + ESS (SI) for posterior approximation.
- It applies a suite of evaluation metrics: accuracy (↑), negative log-likelihood (↓), expected calibration error (ECE) (↓), Bayesian surprise (BS) (↓), decision cost (↓), AUROC and AUCPR for OOD and misclassification detection.
- The benchmark uses Monte Carlo sampling and surrogate posterior approximations to estimate posterior predictive distributions and uncertainty quantification.
- Results are reported across multiple metrics and datasets to assess trade-offs between uncertainty calibration, robustness, and computational efficiency.
Experimental results
Research questions
- RQ1Which approximate Bayesian inference methods provide the most accurate uncertainty estimates in deep neural networks across standard benchmarks?
- RQ2How do different Bayesian methods compare in their ability to detect out-of-distribution (OOD) inputs and misclassified samples?
- RQ3What is the trade-off between predictive accuracy, uncertainty calibration, and computational cost across Bayesian deep learning methods?
- RQ4How do methods like cSGLD and cSGHMC compare to standard baselines such as MC dropout and SWAG in terms of robustness and decision-making reliability?
- RQ5To what extent do surrogate posterior methods (e.g., SWAG) or sampling-based methods (e.g., SGLD) scale to large models while maintaining uncertainty quality?
Key findings
- cSGLD achieved the best balance of accuracy (96.7%) and uncertainty calibration (ECE: 0.006) on CIFAR-10, with a low decision cost of 102.9, outperforming SGHMC and MC dropout.
- On CIFAR-100, cSGLD achieved 83.2% accuracy with an ECE of 0.033 and a decision cost of 179.3, significantly outperforming SWAG (71.0% accuracy, ECE 0.110) and MC dropout.
- cSGLD showed strong OOD detection performance, achieving AUROC-Model uncertainty of 0.968 on SVHN and 0.846 on STL-10, outperforming SWAG and MC dropout.
- SGHMC and SGLD showed strong performance in misclassification detection (AUCPR-Model: 0.439 and 0.435), but cSGHMC underperformed due to higher uncertainty miscalibration.
- SWAG showed poor uncertainty calibration (ECE: 0.110 on CIFAR-100) and high decision cost (316.9), indicating limited reliability for safety-critical applications.
- MC dropout performed competitively in uncertainty estimation but had higher decision costs (149.0 on CIFAR-10) and weaker OOD detection than cSGLD.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.