An explainable and leakage-aware machine learning model for early risk stratification of radioiodine-refractory differentiated thyroid cancer: development and single-center geographic external validation.
Gongxun Tan, Yue Zhang, Zhenwei Mao, Chuan Zhang, Jingjing Fu, Feng Wang, Canhong Zhu, Jin Zhou,
Department of Geriatrics, Affiliated People's Hospital of Jiangsu University, Zhenjiang, Jiangsu, China. · Department of Nuclear Medicine, Shuyang Hospital of Chinese Traditional Medicine, Shuyang, Jiangsu, China.
Key points
From the paper's conclusion- Conclusions An explainable, leakage-aware random forest based exclusively on routinely available baseline variables provided robust external discrimination and clinically meaningful early risk stratification for RAIR-DTC.
Abstract
BACKGROUND: Radioiodine-refractory differentiated thyroid cancer (RAIR-DTC) poses a major therapeutic challenge, with loss of radioiodine avidity, limited treatment options, and worse outcomes. Current risk stratification systems were not designed to predict RAIR transformation before clinical refractoriness. METHODS: This retrospective two-center study included a development cohort of 302 consecutive patients and an external validation cohort of 122. Candidate predictors were restricted to baseline demographic, clinicopathological, molecular, and biochemical variables available at or before first postoperative RAI administration; all post-treatment, response-related, and time-dependent variables were excluded a priori. Six machine-learning algorithms were developed with repeated cross-validation and compared by discrimination, probability accuracy, and clinical utility. Model interpretation used SHapley Additive exPlanations (SHAP). External transportability was assessed by discrimination, calibration, decision-curve analysis, and validation of prespecified risk groups. RESULTS: Forty-six patients (15.2%) developed RAIR-DTC in the development cohort and 18 (14.8%) in the external cohort. Random forest was selected for the most favorable balance of cross-validated discrimination and probability accuracy, despite comparable external discrimination from XGBoost and the stacked ensemble. It achieved an area under the receiver operating characteristic curve (AUC) of 0.896 and Brier score of 0.078 in the internal test cohort, with robust external discrimination (AUC, 0.892; PR-AUC, 0.597; sensitivity, 0.778; specificity, 0.798). Raw external calibration was poor (calibration slope 0.304; observed-to-expected ratio 0.613), indicating that ranking was preserved whereas absolute risk estimates required local recalibration. SHAP analysis identified age ≥55 years, TERT promoter (TERTp) mutation, vascular invasion, initial stimulated thyroglobulin (sTg), and extrathyroidal extension (ETE) as the dominant contributors. Training-derived quantile cut points generated three-tier risk groups, identifying a low-risk subgroup with zero events in the external cohort and a low event rate (3.3%) in the internal test set, while enriching the high-risk subgroup to event rates of 75.0% and 37.2%, respectively, with 95% confidence intervals of 47.6%-92.7% and 23.0%-53.3%, respectively. CONCLUSIONS: An explainable, leakage-aware random forest based exclusively on routinely available baseline variables provided robust external discrimination and clinically meaningful early risk stratification for RAIR-DTC. Preserved discrimination did not guarantee transportable probability estimates, underscoring that external calibration and site-specific recalibration are essential prerequisites for responsible clinical deployment.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A CatBoost-based model for predicting early response to radioiodine therapy in intermediate- to high-risk differentiated thyroid cancer: a multicenter retrospective studyFrontiers in Endocrinology · 2026
- Predicting unfavorable response to initial radioactive iodine therapy in differentiated thyroid cancer: an explainable machine learning and survival analysis approach.Frontiers in endocrinology · 2026
- Interpretable Machine Learning for Predicting Radiation-Induced Hypothyroidism in Head and Neck Cancer: A Dual-Center Retrospective Study.Cancers · 2026
- Logistic regression withstands comparison with machine learning for thyroid nodule malignancy risk stratification under strict temporal validation.PLOS digital health · 2026
- High-volume cervical lymph node metastasis in papillary thyroid carcinoma: development and external validation of an interpretable prediction model.Frontiers in oncology · 2026
- Prognostic disparities between radioactive iodine-refractory and non-refractory DTC patients: a cohort study on survival rates and independent risk factors.Future oncology (London, England) · 2026