Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Machine learning-Based Classification of Papillary Thyroid Carcinoma Versus Multinodular Goiter Using Preoperative Laboratory and Cytology Data

Salar GolmohammadzadehKhiaban, Mehrad Namazee, Ali Rahnama
doi: https://doi.org/10.1101/2025.05.15.25327670
Salar GolmohammadzadehKhiaban
1School of Medicine, Iran University of Medical Sciences, Tehran, Iran
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Mehrad Namazee
2School of Medicine, Shiraz University of Medical Sciences, Shiraz, Iran
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Ali Rahnama
3School of Medicine, Golestan University of Medical Sciences, Golestan, Iran
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • For correspondence: mdalirahnama{at}gmail.com
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Background Thyroid nodules are frequently encountered in clinical practice, with their detection increasing due to advancements in imaging modalities. While most nodules are benign, distinguishing papillary thyroid carcinoma (PTC) from benign entities such as multinodular goiter (MNG) remains a diagnostic challenge. Fine-needle aspiration (FNA) and sonography are standard tools, but their limitations highlight the need for supplementary approaches. This study evaluates the use of machine learning (ML) models to classify PTC versus MNG using routine preoperative clinical, laboratory, and cytological data before performing surgery and Pathology results.

Methods This retrospective multicenter study included 971 patients who underwent total thyroidectomy between 2020 and 2024. The dataset incorporated demographic data, preoperative sonographic findings, hematologic and thyroid function tests, and FNA cytology results. Five supervised ML algorithms—Logistic Regression, Random Forest, XGBoost, Support Vector Machine (SVM), and K-Nearest Neighbor (KNN)—were trained and validated. Model performance was assessed using accuracy, precision, recall, F1-score, sensitivity, specificity, and area under the receiver operating characteristic curve (AUC-ROC).

Results The XGBoost model achieved the best performance, with an accuracy of 84.4%, precision of 85.3%, and an AUC-ROC of 0.881. It also demonstrated high sensitivity (0.714) and specificity (0.944). Random Forest also performed well (accuracy: 81.2%, AUC-ROC: 0.919). Logistic Regression, SVM, and KNN underperformed in comparison. Feature importance analysis revealed that the FNA result, nodule size, and TSH were the most influential predictors.

Conclusion Machine learning models, particularly XGBoost and Random Forest, show promise in accurately distinguishing between MNG and PTC using routine clinical data. Their integration into preoperative assessment may enhance diagnostic precision, reduce unnecessary procedures, and support personalized surgical decision-making. Further validation in diverse, multicenter cohorts is warranted to confirm generalizability and clinical utility.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

This study did not receive any funding

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

The Ethics Committee of Iran University of Medical Sciences waived ethical approval for this work due to the use of retrospective and fully anonymized clinical data. (the institutional review board (IRB) Number of 20-169-2024)

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Data Availability

All data produced in the present study are available upon reasonable request to the authors

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. All rights reserved. No reuse allowed without permission.
Back to top
PreviousNext
Posted May 15, 2025.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Machine learning-Based Classification of Papillary Thyroid Carcinoma Versus Multinodular Goiter Using Preoperative Laboratory and Cytology Data
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Machine learning-Based Classification of Papillary Thyroid Carcinoma Versus Multinodular Goiter Using Preoperative Laboratory and Cytology Data
Salar GolmohammadzadehKhiaban, Mehrad Namazee, Ali Rahnama
medRxiv 2025.05.15.25327670; doi: https://doi.org/10.1101/2025.05.15.25327670
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Machine learning-Based Classification of Papillary Thyroid Carcinoma Versus Multinodular Goiter Using Preoperative Laboratory and Cytology Data
Salar GolmohammadzadehKhiaban, Mehrad Namazee, Ali Rahnama
medRxiv 2025.05.15.25327670; doi: https://doi.org/10.1101/2025.05.15.25327670

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Oncology
Subject Areas
All Articles
  • Addiction Medicine (576)
  • Allergy and Immunology (868)
  • Anesthesia (306)
  • Cardiovascular Medicine (4483)
  • Dentistry and Oral Medicine (449)
  • Dermatology (385)
  • Emergency Medicine (615)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1528)
  • Epidemiology (15283)
  • Forensic Medicine (31)
  • Gastroenterology (1134)
  • Genetic and Genomic Medicine (6651)
  • Geriatric Medicine (671)
  • Health Economics (1006)
  • Health Informatics (4606)
  • Health Policy (1378)
  • Health Systems and Quality Improvement (1624)
  • Hematology (545)
  • HIV/AIDS (1276)
  • Infectious Diseases (except HIV/AIDS) (15965)
  • Intensive Care and Critical Care Medicine (1111)
  • Medical Education (626)
  • Medical Ethics (147)
  • Nephrology (675)
  • Neurology (6699)
  • Nursing (346)
  • Nutrition (1006)
  • Obstetrics and Gynecology (1153)
  • Occupational and Environmental Health (961)
  • Oncology (3370)
  • Ophthalmology (989)
  • Orthopedics (370)
  • Otolaryngology (421)
  • Pain Medicine (437)
  • Palliative Medicine (131)
  • Pathology (670)
  • Pediatrics (1704)
  • Pharmacology and Therapeutics (700)
  • Primary Care Research (717)
  • Psychiatry and Clinical Psychology (5497)
  • Public and Global Health (9288)
  • Radiology and Imaging (2225)
  • Rehabilitation Medicine and Physical Therapy (1375)
  • Respiratory Medicine (1202)
  • Rheumatology (598)
  • Sexual and Reproductive Health (721)
  • Sports Medicine (536)
  • Surgery (722)
  • Toxicology (100)
  • Transplantation (290)
  • Urology (267)