Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 23:12:1599-1611.
doi: 10.2147/JHC.S524311. eCollection 2025.

Automatic Real-Time Detection and Diagnosis of Liver Tumor with Ultrasound

Affiliations

Automatic Real-Time Detection and Diagnosis of Liver Tumor with Ultrasound

Chih-Horng Wu et al. J Hepatocell Carcinoma. .

Abstract

Background/aim: Ultrasonography is the most commonly used screening tool for hepatocellular carcinoma (HCC). However, the diagnostic performance of ultrasound is highly operator dependent. We aimed to develop deep learning (DL) models to automatically diagnose and detect hepatic lesions in a larger dataset, with HCC as the dominant malignancy.

Methods: We enrolled patients diagnosed with hepatic tumors using abdominal ultrasound between January 2002 and December 2020 in a retrospective cohort with a diagnosis of malignant and benign lesions. A total of 1576 patients with 4599 images and 6001 lesions were analyzed. Deep learning models included ResNet50, Xception, Inception Resnet V2, EfficientNet-B5, EfficientNetV2-S, EfficientNetV2-L, Swin-T, and Swin-B for diagnosis and YOLOR for lesion detection. We analyzed the area under the curve (AUC) to determine the diagnostic performance and choose the best model. The mean Average Precision (mAP) score was then evaluated for real-time lesion detection using the area under the precision-recall curve after the average of each category.

Results: The dataset was separated into 1061 in training, 373 in validation, and 142 testing sets. The AUC for ResNet50, Xception, Inception Resnet V2, EfficientNet-B5, EfficientNetV2-S, EfficientNetV2-L, Swin-T, and Swin-B are 0.88, 0.89, 0.88, 0.90, 0.85, 0.89, 0.89, and 0.90, respectively. The mAP scores for detecting and differentiating malignant and benign lesions for YOLOR-W6 and YOLOR-D6 in the validation and testing sets were 0.5134/0.5342 and 0.5410/0.5631.

Conclusion: Our study demonstrated that DL models can differentiate between benign and malignant lesions with high accuracy on ultrasound images. Simultaneous DL-based lesion detection and classification are also possible using real-time ultrasonography.

Keywords: artificial intelligence; deep learning; diagnosis; liver neoplasms; ultrasonography.

PubMed Disclaimer

Conflict of interest statement

Dr Chih-Horng Wu, Jin-Chuan Sheu, Pei-Lien Chou, and Hsiao-Ching Nien report a patent TWI810498 issued. The authors have no conflict of interest to declare.

Figures

Figure 1
Figure 1
Diagnostic performance for four deep learning algorithms, including (A) ResNet50, (B) Xception, (C) InceptionResnetV2, and (D) EfficientNet-B5.
Figure 2
Figure 2
Diagnostic performance in validation and testing for EfficientNetV2-S (A and B), EfficientNetV2-L (C and D), Swin-T (E and F), and Swin-B (G and H).
Figure 3
Figure 3
The loss to differentiate between malignant and benign lesions in training and validation for YOLOR-W6 (A) and YOLOR-D6 (B). The mean Average Precision score to differentiate between malignant and benign lesions and classify 8 kinds of hepatic lesions in validation and testing for YOLOR-W6 (C) and YOLOR-D6 (D).
Figure 4
Figure 4
Visual presentation ultrasound images with predictive bounding box. The blue/red bounding boxes represented benign (AC) and malignant (DF) lesions. The lesions can be detected at left lobe (A), split view (B), right lobe (C), two lesions in one view (D) and sine images (F).

Similar articles

References

    1. Akinyemiju T, Abera S, Ahmed M; Global Burden of Disease Liver Cancer Collaboration. The burden of primary liver cancer and underlying etiologies from 1990 to 2015 at the global, regional, and national level: results from the global burden of disease study 2015. JAMA Oncol. 2017;3(12):1683–1691. doi: 10.1001/jamaoncol.2017.3055 - DOI - PMC - PubMed
    1. Shao -Y-Y, Wang S-Y, Lin S-M, et al. Management consensus guideline for hepatocellular carcinoma: 2020 update on surveillance, diagnosis, and systemic treatment by the Taiwan Liver Cancer Association and the Gastroenterological Society of Taiwan. J Formos Med Assoc. 2021;120(4):1051–1060. doi: 10.1016/j.jfma.2020.10.031 - DOI - PubMed
    1. Choo SP, Tan WL, Goh BKP, Tai WM, Zhu AX. Comparison of hepatocellular carcinoma in Eastern versus Western populations. Cancer. 2016;122(22):3430–3446. doi: 10.1002/cncr.30237 - DOI - PubMed
    1. Llovet JM, Bruix J. Novel advancements in the management of hepatocellular carcinoma in 2008. J Hepatol. 2008;48 Suppl 1:S20–37. doi: 10.1016/j.jhep.2008.01.022 - DOI - PubMed
    1. Sheu JC, Sung JL, Chen DS, et al. Early detection of hepatocellular carcinoma by real-time ultrasonography. A prospective study. Cancer. 1985;56(3):660–666. doi: 10.1002/1097-0142(19850801)56:3<660::aid-cncr2820560338>3.0.co;2-f - DOI - PubMed

LinkOut - more resources