Litcius/Paper detail

Thyroid nodule segmentation in ultrasound images using transformer models with masked autoencoder pre-training

Yi Xiang, Rajendra Acharya, Le Quan, Jen Hong Tan, Chiaw Ling Chng

2025Frontiers in Artificial Intelligence7 citationsDOIOpen Access PDF

Abstract

Introduction: Thyroid nodule segmentation in ultrasound (US) images is a valuable yet challenging task, playing a critical role in diagnosing thyroid cancer. The difficulty arises from factors such as the absence of prior knowledge about the thyroid region, low contrast between anatomical structures, and speckle noise, all of which obscure boundary detection and introduce variability in nodule appearance across different images. Methods: To address these challenges, we propose a transformer-based model for thyroid nodule segmentation. Unlike traditional convolutional neural networks (CNNs), transformers capture global context from the first layer, enabling more comprehensive image representation, which is crucial for identifying subtle nodule boundaries. In this study, We first pre-train a Masked Autoencoder (MAE) to reconstruct masked patches, then fine-tune on thyroid US data, and further explore a cross-attention mechanism to enhance information flow between encoder and decoder. Results: Our experiments on the public AIMI, TN3K, and DDTI datasets show that MAE pre-training accelerates convergence. However, overall improvements are modest: the model achieves Dice Similarity Coefficient (DSC) scores of 0.63, 0.64, and 0.65 on AIMI, TN3K, and DDTI, respectively, highlighting limitations under small-sample conditions. Furthermore, adding cross-attention did not yield consistent gains, suggesting that data volume and diversity may be more critical than additional architectural complexity. Discussion: MAE pre-training notably reduces training time and helps themodel learn transferable features, yet overall accuracy remains constrained by limited data and nodule variability. Future work will focus on scaling up data, pre-training cross-attention layers, and exploring hybrid architectures to further boost segmentation performance.

Topics & Concepts

Computer scienceArtificial intelligenceSegmentationPattern recognition (psychology)AutoencoderDeep learningEncoderThyroid nodulesMachine learningThyroidOperating systemMedicineInternal medicineThyroid Cancer Diagnosis and TreatmentAI in cancer detectionRetinal Imaging and Analysis