[Paper Review] Benchmarking Bayesian Deep Learning on Diabetic Retinopathy Detection Tasks
This paper introduces the Retina Benchmark, a realistic, open-source suite of diabetic retinopathy detection tasks designed to evaluate the reliability of Bayesian deep learning models in safety-critical medical settings. It benchmarks state-of-the-art Bayesian methods on high-resolution retina images using task-specific metrics, demonstrating that deep ensembles and Monte Carlo dropout with uncertainty calibration achieve the highest performance and most reliable uncertainty estimates, especially under distribution shifts.
Bayesian deep learning seeks to equip deep neural networks with the ability to precisely quantify their predictive uncertainty, and has promised to make deep learning more reliable for safety-critical real-world applications. Yet, existing Bayesian deep learning methods fall short of this promise; new methods continue to be evaluated on unrealistic test beds that do not reflect the complexities of downstream real-world tasks that would benefit most from reliable uncertainty quantification. We propose the RETINA Benchmark, a set of real-world tasks that accurately reflect such complexities and are designed to assess the reliability of predictive models in safety-critical scenarios. Specifically, we curate two publicly available datasets of high-resolution human retina images exhibiting varying degrees of diabetic retinopathy, a medical condition that can lead to blindness, and use them to design a suite of automated diagnosis tasks that require reliable predictive uncertainty quantification. We use these tasks to benchmark well-established and state-of-the-art Bayesian deep learning methods on task-specific evaluation metrics. We provide an easy-to-use codebase for fast and easy benchmarking following reproducibility and software design principles. We provide implementations of all methods included in the benchmark as well as results computed over 100 TPU days, 20 GPU days, 400 hyperparameter configurations, and evaluation on at least 6 random seeds each.
Motivation & Objective
- To address the lack of standardized, realistic benchmarks for evaluating Bayesian deep learning in safety-critical applications.
- To design downstream tasks that reflect real-world complexities in medical diagnosis, particularly in detecting diabetic retinopathy from high-resolution retina images.
- To evaluate both established and state-of-the-art Bayesian deep learning methods using task-specific metrics that assess predictive performance and uncertainty reliability.
- To provide a reproducible, modular, and extensible codebase with pre-trained models trained over 100 TPU days and 20 GPU days across 400 hyperparameter configurations.
- To enable practitioners to benchmark new methods with minimal domain expertise, using real-world data and evaluation protocols.
Proposed method
- The authors curate two public datasets—EyePACS and APTOS—containing high-resolution retina images with varying degrees of diabetic retinopathy.
- They design two safety-critical diagnostic tasks: one for standard detection and another simulating distribution shift via image blurring to test robustness.
- Bayesian deep learning methods including Monte Carlo dropout, deep ensembles, and MAP inference are evaluated using metrics such as accuracy, AUROC, and uncertainty calibration.
- A threshold-based automated diagnosis pipeline is used, where predictions with uncertainty below a threshold γ are accepted, otherwise referred to a human expert.
- The benchmark employs extensive hyperparameter tuning across 400 configurations and evaluates results over 6 random seeds, with results reported across 100 TPU days and 20 GPU days.
- The codebase is open-sourced and designed for reproducibility, enabling easy benchmarking of new methods.
Experimental results
Research questions
- RQ1How do different Bayesian deep learning methods perform in terms of predictive accuracy and uncertainty calibration on real-world diabetic retinopathy detection tasks?
- RQ2How do these methods generalize under distribution shift, such as image blurring simulating out-of-distribution data?
- RQ3Which Bayesian method provides the most reliable uncertainty estimates that correlate with prediction correctness in safety-critical medical settings?
- RQ4Can a standardized, open-source benchmark improve reproducibility and facilitate fair comparison of Bayesian deep learning methods in medical AI?
- RQ5How does uncertainty quantification affect the reliability of automated diagnosis pipelines when integrated with expert review thresholds?
Key findings
- Deep ensembles with blur augmentation (e.g., -blur30) achieved the highest accuracy (94.2% ± 0.2) and AUROC (98.4% ± 0.0) on the APTOS 2019 shifted dataset, outperforming other methods.
- Monte Carlo dropout with ensemble averaging showed strong performance, achieving 94.1% ± 0.1 accuracy and 98.3% ± 0.0 AUROC on the same test set.
- On the EyePACS dataset, deep ensembles with -blur20 and -blur30 achieved 97.9% ± 0.0 and 98.4% ± 0.0 AUROC, respectively, indicating high reliability under uncertainty.
- The method with the best uncertainty calibration was deep ensemble -blur30, achieving 98.4% ± 0.0 AUROC on the APTOS shifted dataset, suggesting strong correlation between uncertainty and prediction correctness.
- Bayesian methods with proper uncertainty calibration significantly reduced false positives in out-of-distribution settings, with uncertainty estimates effectively flagging ambiguous cases for expert review.
- The Retina Benchmark demonstrated that uncertainty-aware models can reduce reliance on human review for low-uncertainty cases while maintaining high diagnostic reliability.
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.