Would You Trust an AI Doctor? Building Reliable Medical Predictions with Kernel Dropout Uncertainty

Ubaid Azam, Imran Razzak, Shelly Vishwakarma, Hakim Hacid, Dell Zhang, Shoaib Jameel · DOI

Introduction

In the high-stakes environment of healthcare, AI models often operate as "black boxes." While a model might achieve high average accuracy, its inability to communicate uncertainty in specific cases poses a significant risk. Without reliable confidence estimates, clinicians must manually verify every output to prevent catastrophic errors, negating the efficiency gains of AI. Furthermore, medical data is often scarce due to privacy regulations like HIPAA, leading to a "small data" problem where standard deep learning models frequently overfit or become unreliable.

This paper introduces a novel Bayesian deep learning approach that combines Monte Carlo (MC) Dropout with kernel modeling to provide reliable uncertainty estimates for medical text predictions. By integrating conjugate priors and squared kernels, the model improves classification performance and "trustworthiness" (measured by Brier scores), particularly in the low-resource settings typical of the medical field.

Methodology

The proposed architecture is model-agnostic and can be integrated with existing transformers like Bio-BERT or Clinical-BERT. It differs from standard MC Dropout in two key ways:

  1. Kernel Integration: The model utilizes kernel functions, specifically the Squared Kernel, to model features. This provides better flexibility and built-in regularization, helping the model generalize from small datasets without memorizing noise.
  2. Conjugate Priors: The researchers incorporated Beta distribution priors over dropout probabilities. This Bayesian approach allows the inclusion of domain knowledge, making posterior estimates significantly more accurate when data is limited.

Experimental Setup

The model was evaluated on three medical text datasets: the SOAP Dataset (clinical notes), the Medical Transcription (MT) Dataset, and the Radiation Oncology NLP Database (ROND). Performance was tested across various resource levels: zero-shot, five-shot, fifteen-shot, and a standard 80/20 split (full data).

Key Results and Insights

The proposed approach consistently outperformed standard MC Dropout baselines across almost all metrics. A primary focus was calibration: ensuring that if a model predicts 70% confidence, it is correct 70% of the time. This was measured using the Brier Score (where lower is better).

Brier Score performance across different training scenarios (Full Data to Zero Shot) for various classes.

As shown in the figure above, while calibration naturally degrades as training data decreases (moving toward Zero Shot), the model maintains competitive Brier scores. In 5-shot scenarios on the MT dataset, the model achieved an F1 score of 0.479, significantly higher than the baseline's 0.441.

Uncertainty as a Triage Tool

High uncertainty scores were found to correlate strongly with incorrect predictions. Error analysis revealed that the model is often "hesitating" between the correct answer and a close second. By examining the "second-highest probability" in incorrect predictions, the researchers found they could improve "top-2" accuracy significantly.

On the SOAP dataset, the accuracy of the second-top probability reached 92%, suggesting that the model's uncertainty can serve as a reliable flag for human intervention, effectively triaging cases for expert review.

Conclusion

The integration of Bayesian priors and kernel modeling offers a robust solution to the "uncertainty gap" in medical AI. By providing well-calibrated predictions even in low-resource settings, this approach moves us closer to AI systems that clinicians can trust. Future work will explore expanding this model to other domains like medical imaging and developing practical workflows for human-AI interaction in clinical settings.

Summary updated

BibTeX
@inproceedings{azam2024would,
  author = {Ubaid Azam and Imran Razzak and Shelly Vishwakarma and Hakim Hacid and Dell Zhang and Shoaib Jameel},
  title = {{Would You Trust an AI Doctor? Building Reliable Medical Predictions with Kernel Dropout Uncertainty}},
  booktitle = {WISE},
  year = {2024},
  url = {https://openreview.net/forum?id=b6ehbgDdCF},
}
Figure