Uncertainty-Aware Multi-Scale Attention Network for Thyroid Cancer Risk Prediction using Confidence-Calibrated Deep Learning Approach
Abstract
Deep-learning systems for thyroid cancer risk stratification now reach high discriminative accuracy, but they tend to produce single, over-confident point estimates a property that limits their use at the bedside. What a clinician actually needs is two things: an accurate prediction together with a dependable sense of how far that prediction can be trusted for the patient in front of them. To meet this need we present UC-MSAFFN (Uncertainty-Calibrated Multi-Scale Attention-based Feature Fusion Network), a multimodal architecture that adds three coordinated mechanisms to standard attention-based fusion. The first is a multi-scale extractor built from three parallel 3-D convolutional branches, with kernels of size 3, 7 and 15, so that fine, intermediate and global anatomical structures are captured simultaneously. The second is a hierarchical attention block that re-weights features twice once across scales and once across the imaging, clinical and genomic modalities. The third pairs Monte-Carlo (MC) dropout with post-hoc temperature scaling to deliver patient-specific uncertainty estimates alongside calibrated class probabilities. Experiments were carried out on the public TCIA thyroid imaging cohort linked to TCGA-THCA genomic profiles. UC-MSAFFN attains an AUC of 0.910 (95% CI 0.897–0.923) and an accuracy of 90.4%, and it lowers the Expected Calibration Error (ECE) from 0.12 to 0.06 relative to a single-scale baseline. When cases are ranked by predicted uncertainty, accuracy reaches 96% in the most confident quartile and falls to 73% in the least confident one, which justifies routing the hardest cases to additional clinical review. The revised manuscript further demonstrates that UC-MSAFFN generalises to an independent external cohort (AUC 0.874 on Stanford AIMI + DDTI), remains robust under 20% Gaussian imaging noise and 30% missing clinical data, and outperforms transformer-based baselines (TransMed, Swin-UNETR, MedCLIP) with statistical significance (DeLong p < 0.05). A computational-cost analysis confirms that MC-Dropout with T = 50 stochastic passes is 4.4$\times$ faster than a five-member deep ensemble while achieving comparable calibration.