LFANet: a lightweight explainable AI model for liver fibrosis classification with dilated attention and two-stage interpretation
Liver fibrosis is a progressive disease that can advance to cirrhosis or hepatocellular carcinoma if not detected early. Ultrasound is widely used because of its affordability and accessibility, yet accurate multi-stage assessment remains difficult due to subtle parenchymal changes and operator dependence. Many existing machine learning approaches rely on CT or MRI, use complex architectures, or offer limited interpretability, limiting their suitability for routine ultrasound-based and resource-constrained clinical settings. This study proposes LFANet, a lightweight, attention-enhanced deep learning framework for multi-stage liver fibrosis classification using routine ultrasound images. The model integrates multi-scale dilated convolutions, attention mechanisms, and residual connections to capture fine-grained and global structural patterns while maintaining a compact design of approximately 3.76 million parameters. Experimental results demonstrate strong performance across all fibrosis stages, with high sensitivity in the test set for normal liver tissue, high detection accuracy for cirrhosis, and an overall area under the curve of 0.997. Class-wise F1-scores ranged from 0.9205 to 0.9984. Model interpretability is enhanced through Grad-CAM visualizations, complemented by post hoc natural language explanations generated using the Gemini-2.0-Flash large language model (LLM). The proposed framework demonstrates promising computational and interpretability characteristics for ultrasound-based fibrosis staging in a proof-of-concept setting, but further patient-level and external validation is needed to establish generalizability and clinical utility.
Authors
- Fati Oiza Ochepa (ORCID: https://orcid.org/0000-0001-6474-8489)
- Saralees Nadarajah (ORCID: https://orcid.org/0000-0002-0481-0372)
- Olutomilayo Olayemi Petinrin (ORCID: https://orcid.org/0000-0001-8402-9713)
- Temitope Olubanjo Kehinde (ORCID: https://orcid.org/0000-0001-7703-7395)
- Ahmad Khalid Hussain (ORCID: https://orcid.org/0009-0009-6067-8079)
- Joseph Samuel Akpan (ORCID: https://orcid.org/0000-0002-4211-8678)
Institutions
- Hong Kong Polytechnic University (HK)
- University of Calgary (CA)
- City University of Hong Kong (HK)
- Federal University Lokoja (NG)
- University of Manchester (GB)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-12-02
- DOI
- https://doi.org/10.1038/s41598-026-82369-x
- Primary Topic
- Radiomics and Machine Learning in Medical Imaging
- Type
- article
- Field-Weighted Citation Impact
- 0.00