An uncertainty-aware vision transformer–BiLSTM Bayesian framework for reliable clinical decision support using chest X-rays

Despite recent progress in deep leaning for medical image analysis, there are still issues of reliability, interpretability, and uncertainty estimation that must be addressed for the safe adoption of deep learning into clinical practice. Conventional CNN- based models have achieved excellent accuracy but have also typically shown prediction confidence levels that are too extreme, limiting confidence in very high-stakes diagnostic environments. To tar- get these deficiencies, we propose a suitable competence-based uncertainty-aware infrastructure that combines Vision Transformers, BiLSTM modeling, followed by a Bayesian fusion layer to permit high reliability in disease detection through the use of chest X-rays. The recently proposed Vision Transformer - BiLSTM Bayesian Fusion (ViT - BiLSTM - BF) architecture is trained and eval- uated on two large-scale datasets, the MIMIC-CXR-JPG and PadChest-GR datasets, looking into Pneumonia, Pulmonary Fibrosis, and Pleural Effusion in study depth. Normalization, U-Net (Convo- lutional Neural Network)-based lung segmentation and extensive data augmentation were completed as preprocessing steps. The ViT encoder extracts global spatial features while contextual (temporal) information is maintained by the BiLSTM across the patch embeddings. A Bayesian fusion module that integrates predictive distributions to quantify a priori and a posteriori aleatoric uncertainty and epistemic uncertainty was developed. Performance metrics of accuracy, AUC-ROC, F1 score, Brier Score, ECE and statistical results were used to assess performance. The developed model displayed superior performance over other models achieving accuracy of 95.5% and AUC-ROC of 0.986 and calibration error was extremely small (ECE = 0.028). The Bayesian fusion layer developed produced well calibrated measures of confidence that would be needed to distinguish reliably between high confidence and high risk predictions. In all comparative analyses improvements over others in CNN, DenseNet, Bayesian CNN and the individual ViT alone disgracefully performed. The results of this study demonstrate that by virtue of combining transformer based spatial modelling, temporal feature understanding, and probabilistic fusion, there is a highly reliable and clinically meaningful diagnostic system realised. The framework ultimately offers a real form of solution to the critical issues regarding uncertainty estimation and model reliability and offers potentially interesting possibilities for feasible implementation within at least the development of clinical decision support systems.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-06-16
DOI
https://doi.org/10.1038/s41598-026-56665-5
Primary Topic
COVID-19 diagnosis using AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An uncertainty-aware vision transformer–BiLSTM Bayesian framework for reliable clinical decision support using chest X-rays

Afrah Alanazi, Fuad S. Al- Duais, Sahar Almenwer, Refga Abdallah Eltieb Elebeed
Scientific Reports
COVID-19 diagnosis using AI
article

An uncertainty-aware vision transformer–BiLSTM Bayesian framework for reliable clinical decision support using chest X-rays

Afrah Alanazi, Fuad S. Al- Duais, Sahar Almenwer, Refga Abdallah Eltieb Elebeed
article en

Abstract

Despite recent progress in deep leaning for medical image analysis, there are still issues of reliability, interpretability, and uncertainty estimation that must be addressed for the safe adoption of deep learning into clinical practice. Conventional CNN- based models have achieved excellent accuracy but have also typically shown prediction confidence levels that are too extreme, limiting confidence in very high-stakes diagnostic environments. To tar- get these deficiencies, we propose a suitable competence-based uncertainty-aware infrastructure that combines Vision Transformers, BiLSTM modeling, followed by a Bayesian fusion layer to permit high reliability in disease detection through the use of chest X-rays. The recently proposed Vision Transformer - BiLSTM Bayesian Fusion (ViT - BiLSTM - BF) architecture is trained and eval- uated on two large-scale datasets, the MIMIC-CXR-JPG and PadChest-GR datasets, looking into Pneumonia, Pulmonary Fibrosis, and Pleural Effusion in study depth. Normalization, U-Net (Convo- lutional Neural Network)-based lung segmentation and extensive data augmentation were completed as preprocessing steps. The ViT encoder extracts global spatial features while contextual (temporal) information is maintained by the BiLSTM across the patch embeddings. A Bayesian fusion module that integrates predictive distributions to quantify a priori and a posteriori aleatoric uncertainty and epistemic uncertainty was developed. Performance metrics of accuracy, AUC-ROC, F1 score, Brier Score, ECE and statistical results were used to assess performance. The developed model displayed superior performance over other models achieving accuracy of 95.5% and AUC-ROC of 0.986 and calibration error was extremely small (ECE = 0.028). The Bayesian fusion layer developed produced well calibrated measures of confidence that would be needed to distinguish reliably between high confidence and high risk predictions. In all comparative analyses improvements over others in CNN, DenseNet, Bayesian CNN and the individual ViT alone disgracefully performed. The results of this study demonstrate that by virtue of combining transformer based spatial modelling, temporal feature understanding, and probabilistic fusion, there is a highly reliable and clinically meaningful diagnostic system realised. The framework ultimately offers a real form of solution to the critical issues regarding uncertainty estimation and model reliability and offers potentially interesting possibilities for feasible implementation within at least the development of clinical decision support systems.

Scientific Reports
Prince Sattam Bin Abdulaziz University (SA), Jouf University (SA)
Industry, innovation and infrastructure
Openalex Percentile: Top 7%
COVID-19 diagnosis using AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.