# Machine learning-assisted tongue image analysis for the diagnosis of Hashimoto’s thyroiditis

**Authors:** Ting Ruan, Wenjun Wu, Mingji Piao, Yihan Sun, Xingai Ju, Mengyou Liu, Li Lu, Bo Zhang, Yifei Zeng, Dongxiao Zhang, Yongxin Li, Jianchun Cui

PMC · DOI: 10.3389/fmed.2025.1673891 · Frontiers in Medicine · 2025-10-29

## TL;DR

This study explores using machine learning on tongue images to help diagnose Hashimoto’s thyroiditis and related hypothyroidism, showing promising results with a non-invasive and cost-effective method.

## Contribution

A machine learning model using tongue image features is proposed for the first time to assist in diagnosing Hashimoto’s thyroiditis and its hypothyroidism.

## Key findings

- Tongue image features like texture uniformity, body morphology, and color depth are key for classification.
- The SVM model achieved the highest AUC of 0.894, with strong sensitivity and specificity.
- The model showed stable performance and good generalization in external validation.

## Abstract

This study aims to evaluate the value of a machine learning model based on tongue features in the adjunctive diagnosis of Hashimoto’s thyroiditis (HT) and its concomitant hypothyroidism.

Tongue images and related clinical data were retrospectively collected from 120 HT patients (60 each from the euthyroid group and the hypothyroidism group), and the tongue region was segmented by preprocessing, and the image feature dimensions were extracted with 1,125 dimensions. Therefore, four methods, namely, random forest (RF), logistic regression (LR), support vector machine (SVM), and decision tree (DT), were utilized for model training, and 80 tongue images of 40 patients from Lixin County People’s Hospital in Anhui Province were utilized for external validation. The model performance evaluation indexes included AUC (Area Under the Curve), Sensitivity, Specificity, Positive Predictive Value (PPV), and Negative Predictive Value (NPV).

t-Distributed Stochastic Neighbor Embedding (t-SNE) visualization based on the test set revealed a distinguishable clustering trend between the two groups. The key classification features included tongue texture uniformity, body morphological features, and color depth. The AUC of the four models was higher than 0.82, confirming that the tongue image features have significant predictive value for HT, and the lower limit of 95% CI for all models was higher than 0.75, indicating that the models had stable differentiation ability. The AUC of SVM (0.894) was the best, significantly higher than the other models (RF: 0.857, LR: 0.876, and DT:0.828), indicating that the SVM possesses the strongest ability to classify patients with and without HT and the highest stability. The SVM exhibited balanced performance, with a sensitivity of 0.804 and specificity of 0.936. Consequently, it represents the optimal model for achieving an equilibrium between recall and precision. In external validation, the efficacy of the four models is notable, and the trend is consistent with the test set. SVM still demonstrates notable performance and possesses the best generalization ability among the four models.

The tongue image-based machine learning model can effectively assist in distinguishing euthyroid from hypothyroidism in HT, offering a non-invasive, low-cost, and intelligent tool for auxiliary diagnosis and disease risk monitoring in primary care settings.

## Linked entities

- **Diseases:** Hashimoto’s thyroiditis (MONDO:0007699), hypothyroidism (MONDO:0005420)

## Full-text entities

- **Diseases:** hypothyroidism (MESH:D007037), HT (MESH:D050031)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12605019/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12605019/full.md

## References

28 references — full list in the complete paper: https://tomesphere.com/paper/PMC12605019/full.md

---
Source: https://tomesphere.com/paper/PMC12605019