Interpretable machine learning for severity classification of thyroid eye disease using orbital anatomical features
Authors:
Open Access
- 19 June 2026
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Medicine
- Vol. 13, 1840814
Abstract
Background: Thyroid eye disease (TED) severity assessment using the EUGOGO severity classification is partly subjective and prone to interobserver variability. While MRI-derived anatomical measurements offer objective features, such as ocular protrusion and extraocular muscle thickness, these are underutilized in machine learning (ML) models that often rely on non-interpretable radiomic features. Moreover, the inclusion of longitudinal scans from the same patient may artificially inflate model performance due to unaccounted intra-patient correlations and temporal redundancy. Purpose: To develop an interpretable machine learning framework for objective TED severity stratification (mild, moderate-to-severe, sight-threatening) by quantitatively integrating established orbital anatomical parameters aligned with clinical assessment criteria, and to evaluate how data handling strategies influence model generalizability. Methods: We retrospectively analyzed 443 patients with TED, yielding 1,054 orbital MRI units from all available examinations. Two datasets were constructed: Dataset A included all available scans, while Dataset B retained only the first-visit orbital MRI units per patient (886 orbital units) to reduce temporal and repeat-visit bias. As bilateral orbits from the same patient were included, Dataset B reduces visit-related confounding but retains inherent inter-eye correlations. Six ML models—Logistic Regression (LR), Support Vector Machine (SVM), K-Nearest Neighbors (KNN), Random Forest (RF), XGBoost, and LightGBM—were trained and evaluated using cross-validation. Model performance was compared in terms of area under the receiver operating characteristic curve (AUC), F1-score, and recall. Feature importance was assessed using RF, XGBoost, and LightGBM. Results: Under class-imbalance strategies, Random Forest with class weighting achieved the highest AUC (0.811). Random Forest with SMOTE achieved the highest recall (0.669), F1-score (0.648), and specificity (0.815). Performance on Dataset A demonstrated how unaccounted longitudinal scan correlations can inflate metrics, reinforcing the necessity of temporal deduplication and cautious handling of orbital-level correlations. Feature importance analysis consistently ranked ocular protrusion as the top predictor, followed by rectus muscle thicknesses and orbital geometric parameters. Conclusion: Controlling for longitudinal redundancy and intra-patient correlations significantly impacts model evaluation and generalizability. Random Forest with class weighting demonstrated the best discriminative performance in our internal validation on temporally deduplicated first-visit scans. Rather than relying on isolated diagnostic thresholds, the framework integrates measurable anatomical parameters to generate predictions that complement categorical clinical grading. This approach emphasizes standardized quantification and workflow reproducibility, highlighting the need for rigorous data structuring and transparent feature alignment in medical AI.Keywords
This publication has 39 references indexed in Scilit:
- Semi-supervised pre-training based multi-task network for thyroid-associated ophthalmopathy classificationDisplays, 2025
- The value of signal intensity ratios of orbital tissue to white matter of orbital MRI in evaluating graves’ orbitopathyInternational Ophthalmology, 2024
- Whole-orbit-based multiparametric assessment of disease activity of thyroid eye disease on Dixon MRIInternational Ophthalmology, 2024
- Asymmetric proptosis in thyroid eye diseaseInternational Ophthalmology, 2024
- Investigation of lacrimal gland and extraocular muscle in thyroid eye disease patients with severe subjective dry eye disease: a multiparametric magnetic resonance imaging studyGraefe's Archive for Clinical and Experimental Ophthalmology, 2024
- Evaluation of disease-specific quality of life and its influencing factors in Bulgarian patients with Graves’ orbitopathyInternational Ophthalmology, 2024
- Quantitative assessment of extraocular muscles in Graves’ ophthalmopathy using T1 mappingEuropean Radiology, 2023
- Inter-observer Variability of Clinical Activity Score: Assessments in Patients With Thyroid Eye DiseaseAmerican Journal of Ophthalmology, 2023
- Insight Into Quality of Life in Patients With Moderate to Severe Thyroid Eye DiseaseJAMA Ophthalmology, 2023
- AI applications to medical images: From machine learning to deep learningPhysica Medica, 2021