Abstract
Thyroid nodules classification in ultrasound images is actively researched in the field of medical image processing. However, due to the low quality of ultrasound images, severe speckle noise, and the complexity and diversity of nodules, classification and diagnosis remain extremely challenging. To address these issues, we propose a mask-guided hierarchical deep learning (MHDL) framework for thyroid nodules classification. Specifically, we first develop a Mask R-CNN network to locate thyroid nodules as the region of interest (ROI) for each image, removing confounding information and extracting texture, shape, and radiology features as low-dimensional features. We then design a residual attention network to extract a depth feature map of the ROI and combine these with the low-dimensional features to form a mixed feature space via dimension alignment technology. Finally, we present an AttentionDrop-based convolutional neural network to implement the classification of benign and malignant thyroid nodules. Experimental results show that our proposed method obtains accurate nodule classification, and the hierarchical deep learning network further improves performance, offering immense clinical application value.
Introduction
Thyroid nodules are a common clinical finding, but distinguishing between benign and malignant cases using ultrasound is notoriously difficult. Ultrasound images often suffer from low contrast and "speckle noise," while the nodules themselves vary significantly in appearance. Currently, clinical diagnosis relies heavily on the subjective experience of radiologists, which can lead to diagnostic bias.
While standard deep learning models have shown promise in medical imaging, they often struggle with the noisy background of ultrasound scans or fail to capture the fine-grained morphological details that radiologists traditionally rely upon. The proposed Mask-guided Hierarchical Deep Learning (MHDL) framework bridges this gap by creating a system that integrates deep semantic features with traditional shape and texture descriptors.
Methodology
The MHDL framework utilizes a three-layer hierarchical architecture designed to mimic both computational depth and clinical observation.
Layer 1: ROI Localization and Shallow Feature Extraction
Instead of processing the entire noisy ultrasound image, the model employs a Mask R-CNN to pinpoint the nodule and create a precise "mask." This step effectively removes confounding background information. Simultaneously, the system extracts low-dimensional "shallow" features, including Histogram of Oriented Gradients (HOG) for shape and Local Binary Patterns (LBP) for texture, alongside nodular aspect ratios.
Layer 2: Deep Feature Extraction via Residual Attention
The masked region is passed through a residual network equipped with an attention mechanism. This module allows the model to focus on the most relevant "depth" features within the nodule itself, suppressing noise and enhancing semantic information. This results in a high-level feature map that captures complex patterns beyond simple texture.
Layer 3: Feature Fusion and Classification
The low-dimensional and deep features are fused into a "mixed feature space" using dimension alignment. The final classification is performed by an AttentionDrop-based Convolutional Neural Network (ADCNN). AttentionDrop is a novel regularization technique that prevents overfitting by randomly masking feature map pixels during training based on their importance, forcing the network to learn from various parts of the nodule rather than relying on a single obvious feature.
Experimental Results
The study utilized the Digital Database Thyroid Image (DDTI), consisting of 427 high-quality ultrasound images. Images were labeled by experts based on the TI-RADS standard, with grades 2-3 classified as benign and 4A-5 as malignant. The data was divided into training, validation, and test sets at a 6:2:2 ratio.
Performance Metrics
The MHDL framework demonstrated superior performance across all major metrics compared to both traditional methods and state-of-the-art deep learning models:
- Accuracy (ACC): 93.01%
- Sensitivity (SENS): 96.01%
- Area Under Curve (AUC): 0.9693
As shown in the ROC analysis, the proposed method significantly outperforms standard residual attention networks and other baseline models. The integration of hybrid features improved the AUC by approximately 1.86% to 4.20% over other recent deep learning-based thyroid classification algorithms.
Discussion and Conclusion
The primary innovation of this research lies in the power of hybrid features. By fusing deep semantic features with traditional shape and texture descriptors, the model gains a more holistic understanding of the nodule. Furthermore, the use of a mask acts as a guide for subsequent attention layers, ensuring the deep network is not distracted by speckle noise.
While the results are impressive, future work will focus on expanding the dataset size to ensure generalizability across different ultrasound hardware and automating coordinate correction for the Mask R-CNN more robustly. Ultimately, this hierarchical approach provides a robust tool for assisting radiologists in live diagnostic sessions, potentially reducing diagnostic bias and improving patient outcomes.
Summary updated