Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Oncol.

Sec. Cancer Imaging and Image-directed Interventions

Volume 15 - 2025 | doi: 10.3389/fonc.2025.1650800

Automated Predictive Framework Using AI and Deep Learning Approaches for Early Detection and Classification of Liver Cancer

Provisionally accepted
Yefeng  DaiYefeng Dai1Fan  GaoFan Gao1Yeqi  ChenYeqi Chen1Song  XuSong Xu1Chen  QiuChen Qiu2Xiaoni  CaiXiaoni Cai1*
  • 1Shangyu People's Hospital of Shaoxing, Shaoxing, China
  • 2shanghai east hospital, Shanghai, China

The final, formatted version of the article will be published soon.

Abstract: Background: Liver cancer, including hepatocellular carcinoma (HCC), is a leading cause of cancer-related deaths globally, emphasizing the need for accurate and early detection methods. Objective: This study introduces LiverCompactNet, an advanced deep learning framework for the early detection and classification of liver cancer. Methods: LiverCompactNet classifies liver images into three categories: benign, malignant, and normal. The dataset comprised 5,000 liver images (1,500 benign, 1,500 malignant, and 2,000 normal), divided into training (3,500), validation (750), and test (750) subsets. Data preprocessing involved normalization using MinMaxScaler, class balancing. Additionally, exploratory Principal Component Analysis (PCA) was performed only on derived tabular features (e.g., intensity histograms, categorical encodings) to visualize variance structure, but PCA was not directly applied to raw imaging data or CNN training inputs. Results: 2 LiverCompactNet demonstrated outstanding performance with an overall accuracy of 99.1%, malignant detection sensitivity of 98.3%, specificity of 99.4%, precision of 97.6%, and an AUC-ROC score of 0.995. Training performance steadily improved, with accuracy rising from 90% in epoch 1 to 99% by epoch 20, and validation accuracy increasing from 88% to 98.5%. Loss analysis revealed effective learning, with training loss approaching zero and validation loss remaining marginally higher. Final evaluations confirmed near-perfect classification metrics: precision at 97.6%, sensitivity at 96.8%, specificity at 98.9%, and an AUC-ROC score of 0.993. Conclusion: LiverCompactNet offers highly accurate, reliable, and early detection capabilities for liver cancer, paving the way for improved medical image analysis and clinical decision-making.

Keywords: liver cancer, hepatocellular carcinoma (HCC), deep learning, CNN, Medical image classification, Early detection

Received: 24 Jun 2025; Accepted: 22 Oct 2025.

Copyright: © 2025 Dai, Gao, Chen, Xu, Qiu and Cai. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Xiaoni Cai, 13057830266@163.com

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.