Uncertainty-aware diabetic retinopathy detection using deep learning enhanced by Bayesian approaches.

Journal: Scientific reports
PMID:

Abstract

Deep learning-based medical image analysis has shown strong potential in disease categorization, segmentation, detection, and even prediction. However, in high-stakes and complex domains like healthcare, the opaque nature of these models makes it challenging to trust predictions, particularly in uncertain cases. This sort of uncertainty can be crucial in medical image analysis; diabetic retinopathy is an example where even slight errors without an indication of confidence can have adverse impacts. Traditional deep learning models rely on single-point predictions, limiting their ability to provide uncertainty measures essential for robust clinical decision-making. To solve this issue, Bayesian approximation approaches have evolved and are gaining market traction. In this work, we implemented a transfer learning approach, building upon the DenseNet-121 convolutional neural network to detect diabetic retinopathy, followed by Bayesian extensions to the trained model. Bayesian approximation techniques, including Monte Carlo Dropout, Mean Field Variational Inference, and Deterministic Inference, were applied to represent the posterior predictive distribution, allowing us to evaluate uncertainty in model predictions. Our experiments on a combined dataset (APTOS 2019 + DDR) with pre-processed images showed that the Bayesian-augmented DenseNet-121 outperforms state-of-the-art models in test accuracy, achieving 97.68% for the Monte Carlo Dropout model, 94.23% for Mean Field Variational Inference, and 91.44% for the Deterministic model. We also measure how certain the predictions are, using an entropy and a standard deviation metric for each approach. We also evaluated the model using both AUC and accuracy scores at multiple data retention levels. In addition to overall performance boosts, these results highlight that Bayesian deep learning does not only improve classification accuracy in the detection of diabetic retinopathy but also reveals beneficial insights about how uncertainty estimation can help build more trustworthy clinical decision-making solutions.

Authors

  • Mohsin Akram
    Department of Computer Science, School of Systems and Technology, University of Management and Technology, Lahore, 54770, Pakistan.
  • Muhammad Adnan
    Department of Computer Science, School of Systems and Technology, University of Management and Technology, Lahore, 54770, Pakistan.
  • Syed Farooq Ali
    School of Systems and Technology, University of Management and Technology, Lahore, Pakistan.
  • Jameel Ahmad
    Department of Computer Science, School of Systems and Technology, University of Management and Technology, Lahore, 54770, Pakistan.
  • Amr Yousef
    Electrical Engineering Department, University of Business and Technology, Jeddah, Saudi Arabia.
  • Tagrid Abdullah N Alshalali
    Department of Information Systems, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, Riyadh, P.O. Box 84428, 11671, Saudi Arabia.
  • Zaffar Ahmed Shaikh
    Department of Computer Science and Information Technology, Benazir Bhutto Shaheed University Lyari, Karachi, 75660, Pakistan. zashaikh@bbsul.edu.pk.