A Multiscale Gabor-Based Model with Attention Mechanisms for Multi-Stage Classification of Fatty Liver Disease from Ultrasound Images

Document Type : Original Article

Authors

1 Biomedical Engineering, mashahd branch, islamic azad university,, mashhad. iran

2 Department of Electrical Engineering, Mashhad Branch, Islamic Azad University, Mashhad, Iran

3 Department of Biomedical Engineering, Mashhad Branch, Islamic Azad University, Mashhad, Iran

4 Biomedical Engineering Research Center, Mashhad Branch, Islamic Azad University, Mashhad, Iran

Abstract

Non‑alcoholic fatty liver disease (NAFLD) is one of the most prevalent chronic liver disorders, and its global burden is rapidly increasing. The disease ranges from simple fat accumulation to advanced stages that may progress to cirrhosis and hepatocellular carcinoma. Accurate grading of disease severity is essential for clinical monitoring and treatment decision‑making. However, the current reference standard—liver biopsy—is invasive and unsuitable for large‑scale screening. Although ultrasound imaging is a safe and cost‑effective modality, its diagnostic accuracy is limited due to operator dependency, speckle noise, and the textural similarity between adjacent disease stages. In this study, we propose a hybrid deep learning framework based on a multiscale texture‑aware and attention‑guided transformer architecture. The proposed system incorporates frequency‑ and orientation‑dependent texture filters, multi‑scale spatial feature extraction blocks, dual attention mechanisms for spatial and channel recalibration, and long‑range dependency modeling within liver parenchyma to enable accurate multi‑grade disease discrimination. Evaluation of the system in a four‑class classification task demonstrates that the proposed method achieves an accuracy of 0.875, a mean F1‑score of 0.877, and a Cohen’s kappa of 0.83, outperforming conventional deep learning models and handcrafted feature‑based approaches. The average area under the ROC curve (AUC) reaches 0.955, with stage‑wise values up to 0.99. Furthermore, the system shows strong robustness to class imbalance, confirmed by favorable area under the precision–recall curve (AUPRC) scores. Ablation studies also indicate that the integration of texture filtering, multiscale feature extraction, attention mechanisms, and long‑range dependency modeling plays a synergistic role in improving classification performance.

Keywords

Main Subjects