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
. 2024 Jan 13;6(3):101008.
doi: 10.1016/j.jhepr.2024.101008. eCollection 2024 Mar.

Primary liver cancer classification from routine tumour biopsy using weakly supervised deep learning

Affiliations

Primary liver cancer classification from routine tumour biopsy using weakly supervised deep learning

Aurélie Beaufrère et al. JHEP Rep. .

Abstract

Background & aims: The diagnosis of primary liver cancers (PLCs) can be challenging, especially on biopsies and for combined hepatocellular-cholangiocarcinoma (cHCC-CCA). We automatically classified PLCs on routine-stained biopsies using a weakly supervised learning method.

Method: We selected 166 PLC biopsies divided into training, internal and external validation sets: 90, 29 and 47 samples, respectively. Two liver pathologists reviewed each whole-slide hematein eosin saffron (HES)-stained image (WSI). After annotating the tumour/non-tumour areas, tiles of 256x256 pixels were extracted from the WSIs and used to train a ResNet18 neural network. The tumour/non-tumour annotations served as labels during training, and the network's last convolutional layer was used to extract new tumour tile features. Without knowledge of the precise labels of the malignancies, we then applied an unsupervised clustering algorithm.

Results: Pathological review classified the training and validation sets into hepatocellular carcinoma (HCC, 33/90, 11/29 and 26/47), intrahepatic cholangiocarcinoma (iCCA, 28/90, 9/29 and 15/47), and cHCC-CCA (29/90, 9/29 and 6/47). In the two-cluster model, Clusters 0 and 1 contained mainly HCC and iCCA histological features. The diagnostic agreement between the pathological diagnosis and the two-cluster model predictions (major contingent) in the internal and external validation sets was 100% (11/11) and 96% (25/26) for HCC and 78% (7/9) and 87% (13/15) for iCCA, respectively. For cHCC-CCA, we observed a highly variable proportion of tiles from each cluster (cluster 0: 5-97%; cluster 1: 2-94%).

Conclusion: Our method applied to PLC HES biopsy could identify specific morphological features of HCC and iCCA. Although no specific features of cHCC-CCA were recognized, assessing the proportion of HCC and iCCA tiles within a slide could facilitate the identification of cHCC-CCA.

Impact and implications: The diagnosis of primary liver cancers can be challenging, especially on biopsies and for combined hepatocellular-cholangiocarcinoma (cHCC-CCA). We automatically classified primary liver cancers on routine-stained biopsies using a weakly supervised learning method. Our model identified specific features of hepatocellular carcinoma and intrahepatic cholangiocarcinoma. Despite no specific features of cHCC-CCA being recognized, the identification of hepatocellular carcinoma and intrahepatic cholangiocarcinoma tiles within a slide could facilitate the diagnosis of primary liver cancers, and particularly cHCC-CCA.

Keywords: Primary liver cancer; artificial intelligence; biopsy; histological slides; weakly supervised learning.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflicts of interest that pertain to this work. Please refer to the accompanying ICMJE disclosure forms for further details.

Figures

None
Graphical abstract
Fig. 1
Fig. 1
Flowchart of the study. We selected 166 formalin-fixed paraffin-embedded biopsies of PLC, divided into 90 training, 29 internal validation and 47 external validation samples. cHCC-CCA, combined hepatocellular-cholangiocarcinoma; HCC, hepatocellular carcinoma; iCCA, intrahepatic cholangiocarcinoma; PLC, primary liver cancer.
Fig. 2
Fig. 2
Examples of morphological and immunohistochemistry features of iCCA, cHCC-CCA and HCC. (A) iCCA, HES staining: glandular architecture with fibrous stroma. (B) iCCA, CK7 staining: intense labelling of tumour cells. (C) iCCA, glypican 3 staining: no labelling of tumour cells. (D) cHCC-CCA, HES staining: glands surrounded by cuboidal tumour cells mixed with trabeculae and nests of clear hepatoid tumour cells. (E) cHCC-CCA, CK7 staining: expression of the majority of tumour cells. (F) cHCC-CCA, glypican 3 staining: expression of tumour cells located in the trabeculae and the nests. (G) HCC, HES staining: hepatoid tumour cells organized in trabeculae and pseudoglands without fibrous stroma. (H) HCC, CK7 staining: rare tumour cells marked. (I) HCC, anti-hepatocyte antibody staining: intense expression of all of the tumour cells. cHCC-CCA, combined hepatocellular-cholangiocarcinoma; HCC, hepatocellular carcinoma; HES, hematein eosin saffron; iCCA, intrahepatic cholangiocarcinoma.
Fig. 3
Fig. 3
Quantitative immunohistochemistry analysis with QuPath software. Example analysis of CK7 staining in an iCCA case. The tumour area was manually annotated. Cells were classified as tumour cells (red or blue) or stromal cells (green) by using the QuPath machine-learning features. Then CK7-positive tumour cells (red) were further subclassified by using intensity thresholds in the tumour area relevant chromogen channels (DAB). iCCA, intrahepatic cholangiocarcinoma.
Fig. 4
Fig. 4
Main steps of the proposed weakly supervised method. After annotating the tumour/non-tumour areas, tiles of 256x256 pixels were extracted from the whole-slide images and used to train a ResNet18 neural network (step I). The tumour/non-tumour annotations served as labels during training, and the network's last convolutional layer was used to extract new tumour tile features (step II). Without knowledge of the precise labels of the malignancies, we then applied an unsupervised clustering algorithm (GMM) (step III). GMM, Gaussian mixture model.
Fig. 5
Fig. 5
Spatial distribution of the tumour labels for the two-cluster model in examples of PLCs. Examples of HCC (A), iCCA (B), and cHCC-CCA patients (C). cHCC-CCA, combined hepatocellular-cholangiocarcinoma; HCC, hepatocellular carcinoma; iCCA, intrahepatic cholangiocarcinoma.
Fig. 6
Fig. 6
Results of the two-cluster model. Examples of patches in Clusters 0 and 1 (A) and distribution of the HCC and iCCA tumour tiles within each cluster in the internal and external validation sets (B). HCC, hepatocellular carcinoma; iCCA, intrahepatic cholangiocarcinoma.
Fig. 7
Fig. 7
Comparison of the two-cluster predictions and immunohistochemistry contingents in the internal validation cohort (n = 20). Pie charts showing (i) the proportion of Cluster 0 (green) and 1 (blue) tiles within each slide and (ii) the proportion of HCC (orange) and iCCA IHC contingents (brown) within each slide. The associated pathological diagnosis is displayed above each chart. cHCC-CCA, combined hepatocellular-cholangiocarcinoma; HCC, hepatocellular carcinoma; iCCA, intrahepatic cholangiocarcinoma.
Fig. 8
Fig. 8
Comparison of the two-cluster predictions and the pathological diagnosis within each slide of the external validation set (n = 47). Pie charts showing the proportion of Cluster 0 (green) and 1 (blue) tiles within each slide. The associated pathological diagnosis is displayed above each group. cHCC-CCA, combined hepatocellular-cholangiocarcinoma; HCC, hepatocellular carcinoma; iCCA, intrahepatic cholangiocarcinoma.

References

    1. Sung H., Ferlay J., Siegel R.L., et al. Global cancer statistics 2020: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J Clin. 2021;71:209–249. doi: 10.3322/caac.21660. - DOI - PubMed
    1. GLOBOCAN Cancer Fact Sheets Liver Cancers n.d. http://globocan.iarc.fr/old/FactSheets/cancers/liver-new.asp
    1. Forner A., Reig M., Bruix J. Hepatocellular carcinoma. Lancet Lond Engl. 2018;391:1301–1314. doi: 10.1016/S0140-6736(18)30010-2. - DOI - PubMed
    1. Llovet J.M., Montal R., Sia D., Finn R.S. Molecular therapies and precision medicine for hepatocellular carcinoma. Nat Rev Clin Oncol. 2018;15:599–616. doi: 10.1038/s41571-018-0073-4. - DOI - PubMed
    1. Bridgewater J., Galle P.R., Khan S.A., et al. Guidelines for the diagnosis and management of intrahepatic cholangiocarcinoma. J Hepatol. 2014;60:1268–1289. doi: 10.1016/j.jhep.2014.01.021. - DOI - PubMed

LinkOut - more resources