Reported performance differences on the ann-thyroid benchmark reflect class labelling rather than method choice
Osman Eray
Key points
From the paper's conclusion- We report a controlled audit of this benchmark, separating what a conventional pipeline contributes from what is inherited from the data.
Abstract
Machine-learning studies on the ann-thyroid benchmark routinely report near-perfect discrimination, yet the sources of that performance are rarely isolated and the benchmark’s own class labels are rarely questioned. We report a controlled audit of this benchmark, separating what a conventional pipeline contributes from what is inherited from the data. Ten classifiers were evaluated across ten stratified splits in a leakage-free pipeline. A 2 × 2 factorial ablation separated feature selection from class balancing; nine feature-selection methods and seven balancing strategies were compared; a parameter sweep tested the hybrid selector; and a simple threshold rule on TSH and TT4 served as a clinical baseline. Differences between methods were assessed by Friedman tests with Nemenyi post-hoc comparisons and by two one-sided tests against equivalence margins fixed before the tests were run. Class labels were verified against the hormone panel and, at record level, against the diagnosis codes distributed with the same archive. The UCI files do not name their classes, and the accompanying documentation describes a hyperfunction class the data do not contain; matching against the diagnosis codes distributed in the same archive yields 3597 one-to-one correspondences with no discordance, establishing three hypothyroid-spectrum strata (overt hypothyroid, subclinical hypothyroid, euthyroid) instead, and locating 89 diagnosed hyperthyroid records inside the majority class. A majority-class baseline reaches 92.6% accuracy at macro-F1 0.320, so accuracy is uninformative. The principal clinical gain, macro-specificity rising from 0.905 to 0.987, is attributable predominantly to class balancing rather than feature selection. Feature-selection methods span a ROC-AUC range of only 0.0018 and balancing strategies a macro-F1 range of 0.0098; Friedman tests detect a reproducible ordering in both comparisons, but every pairwise difference falls within an equivalence margin fixed before the tests were run, so the ordering is not clinically informative. Reporting ROC-AUC alone conceals this: the pipeline significantly reduces minority-class PR-AUC in five of ten classifiers while the corresponding ROC-AUC changes remain near 0.002. A three-line threshold rule whose two cutoffs are fitted on training folds attains macro-F1 0.885 in 0.2 s, comparable to tuned logistic regression; the fitted values converge on the data owners’ own documented cutoffs in all ten splits. On this benchmark the marginal value of algorithmic refinement is small and difficult to demonstrate; the labelling of the data warrants more scrutiny than the choice of method.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ThyroTrans-XGB: A Hybrid Transformer and Gradient Boosting Framework for Thyroid Disease ClassificationInformation · 2026
- An integrated meta-learning and explainable analytics approach for clinical thyroid disease classificationHealthcare Analytics · 2026
- Associations of lipid-related parameters and indices with TSH-defined hypothyroid status in patients with Hashimoto's thyroiditis: a retrospective cross-sectional study.Frontiers in endocrinology · 2026
- The Accuracy Paradox: Empirical Diagnostic of Default Decision Thresholds in Multi-Label Enzyme Commission Prediction [With Code]arXiv · 2026
- Incorporating natural language processing-derived features from pathology reports into machine learning models to predict differentiated thyroid cancer recurrence.Frontiers in endocrinology · 2026
- Targeted cystatin C testing for large negative eGFR discordance in adults with diabetes: development and external validation of a machine-learning model.Frontiers in endocrinology · 2026