Deep Learning Based on B-Mode and Color Doppler Ultrasound for Differentiation of Primary Thyroid Lymphoma and Hashimoto’s Thyroiditis: A Retrospective Single-Center Study
Open Access
- 19 June 2026
- journal article
- research article
- Published by MDPI AG in Diagnostics
- Vol. 16 (12) , 1909
Abstract
Background/Objectives: Primary thyroid lymphoma (PTL), including diffuse large B-cell lymphoma (DLBCL) and mucosa-associated lymphoid tissue (MALT) lymphoma, share substantial overlap in ultrasound appearance with Hashimoto’s thyroiditis (HT), making preoperative differentiation challenging. This study aims to develop and validate a deep learning model based on B-mode ultrasound (BMUS) and color Doppler ultrasound (CDUS) for image-level differentiation of DLBCL, MALT lymphoma, and HT. Methods: This retrospective single-center study included 1294 ultrasound images from 290 patients (313 lesions) who underwent preoperative ultrasound examination at West China Hospital between September 2002 and September 2024. All images from the same lesion were assigned to the same data partition, and the dataset was split at the lesion level into training and test sets at an 8:2 ratio. A Frequency-Adaptive WT-ResNet model incorporating wavelet transform convolution and a frequency-adaptive gating mechanism was developed. The primary analysis was performed at the image level. The performance of the model was compared with that of three ultrasound physicians with different levels of experience. Grad-CAM was used for visual interpretation. An exploratory external validation was performed using an independent dataset from Sun Yat-sen Memorial Hospital. Results: In the test set, the model achieved a macro-average AUC of 0.927 (95% CI: 0.889–0.960), with class-specific AUCs of 0.899 for DLBCL, 0.946 for MALT lymphoma, and 0.937 for HT. The macro-average balanced accuracy was 0.866, compared with 0.827 for that of the best-performing senior physician. The exploratory validation set yielded a macro-average AUC of 0.796 (95% CI: 0.686–0.888), with class-specific AUCs of 0.806 for DLBCL, 0.825 for HT, and 0.756 for MALT lymphoma. Grad-CAM showed that the model focused on lesion-internal echotexture and lesion-transition regions with class-dependent patterns. Conclusions: A deep learning model based on BMUS and CDUS showed promising performance for image-level differentiation of DLBCL, MALT lymphoma and HT in a single-center retrospective cohort. The model outperformed three ultrasound physicians and may serve as a potential decision-support tool. However, the exploratory external validation results should be interpreted as preliminary, and larger multicenter cohorts remain necessary to confirm model generalizability.Keywords
Funding Information
- Key Research and Development Program of Sichuan Province (2024YFFK0226)
This publication has 37 references indexed in Scilit:
- Deep learning model for malignancy prediction of TI-RADS 4 thyroid nodules with high-risk characteristics using multimodal ultrasound: A multicentre studyComputerized Medical Imaging and Graphics, 2025
- Evaluating the diagnostic efficiency of ultrasound and serum autoantibodies in Hashimoto’s thyroiditis: a cross-sectional studyScientific Reports, 2025
- Primary thyroid lymphoma: A multi-center retrospective reviewThe American Journal of Surgery, 2024
- Deep learning to diagnose Hashimoto’s thyroiditis from sonographic imagesNature Communications, 2022
- Sjögren Syndrome in Primary Salivary Gland LymphomaAmerican Journal of Clinical Pathology, 2020
- A Computer-Aided Diagnosis System Using Artificial Intelligence for the Diagnosis and Characterization of Thyroid Nodules on Ultrasound: Initial Clinical AssessmentThyroid®, 2017
- Clinical Presentation and Diagnostic Challenges of Thyroid Lymphoma: A Cohort StudyThyroid®, 2016
- Usefulness of Ultrasonography for Diagnosis of Malignant Lymphoma of the ThyroidThyroid®, 2006
- Doppler ultrasound color flow imaging in the study of breast cancer: Preliminary findingsUltrasound in Medicine & Biology, 1990
- Primary B cell lymphoma of the thyroid and its relationship to Hashimoto's ThyroiditisHuman Pathology, 1988