Deep learning helps discriminate between autoimmune hepatitis and primary biliary cholangitis
- PMID: 39829723
- PMCID: PMC11741034
- DOI: 10.1016/j.jhepr.2024.101198
Deep learning helps discriminate between autoimmune hepatitis and primary biliary cholangitis
Erratum in
-
Erratum regarding previously published articles.JHEP Rep. 2025 Feb 17;7(3):101359. doi: 10.1016/j.jhepr.2025.101359. eCollection 2025 Mar. JHEP Rep. 2025. PMID: 40170909 Free PMC article.
Abstract
Background & aims: Biliary abnormalities in autoimmune hepatitis (AIH) and interface hepatitis in primary biliary cholangitis (PBC) occur frequently, and misinterpretation may lead to therapeutic mistakes with a negative impact on patients. This study investigates the use of a deep learning (DL)-based pipeline for the diagnosis of AIH and PBC to aid differential diagnosis.
Methods: We conducted a multicenter study across six European referral centers, and built a library of digitized liver biopsy slides dating from 1997 to 2023. A training set of 354 cases (266 AIH and 102 PBC) and an external validation set of 92 cases (62 AIH and 30 PBC) were available for analysis. A novel DL model, the autoimmune liver neural estimator (ALNE), was trained on whole-slide images (WSIs) with H&E staining, without human annotations. The ALNE model was evaluated against clinico-pathological diagnoses and tested for interobserver variability among general pathologists.
Results: The ALNE model demonstrated high accuracy in differentiating AIH from PBC, achieving an area under the receiver operating characteristic curve of 0.81 in external validation. Attention heatmaps showed that ALNE tends to focus more on areas with increased inflammation, associating such patterns predominantly with AIH. A multivariate explainable ML model revealed that PBC cases misclassified as AIH more often had ALP values between 1 × upper limit of normal (ULN) and 2 × ULN, coupled with AST values above 1 × ULN. Inconsistency among general pathologists was noticed when evaluating a random sample of the same cases (Fleiss's kappa value 0.09).
Conclusions: The ALNE model is the first system generating a quantitative and accurate differential diagnosis between cases with AIH or PBC.
Impact and implications: This study demonstrates the significant potential of the autoimmune liver neural estimator model, a transformer-based deep learning system, in accurately distinguishing between autoimmune hepatitis and primary biliary cholangitis using digitized liver biopsy slides without human annotation. The scientific justification for this work lies in addressing the challenge of differentiating these conditions, which often present with overlapping features and can lead to therapeutic mistakes. In addition, there is need for quantitative assessment of information embedded in liver biopsies, which are currently evaluated on qualitative or semi-quantitative methods. The results of this study are crucial for pathologists, researchers, and clinicians, providing a reliable diagnostic tool that reduces interobserver variability and improves diagnostic accuracy of these conditions. Potential methodological limitations, such as the diversity in scanning techniques and slide colorations, were considered, ensuring the robustness and generalizability of the findings.
Keywords: Artificial intelligence; Autoimmunity; Computational pathology; Digital pathology; Liver; Rare liver diseases.
© 2024 The Author(s).
Conflict of interest statement
AG declares consulting services for Ipsen and CAMP4 Therapeutics, and speaker fees from Advanz Pharma. JNK declares consulting services for Owkin, France; DoMore Diagnostics, Norway, Panakeia, UK and Histofy, UK; furthermore, he holds shares in StratifAI GmbH and has received honoraria for lectures by AstraZeneca, Bayer, Eisai, MSD, BMS, Roche, Pfizer, and Fresenius. AL declares consulting fees from Advanz Pharma, GSK, AlfaSigma, Takeda, Ipsen, and Albireo Pharma, and speaker fees from Gilead, Abbvie, MSD, Advanz Pharma, AlfaSigma, GSK, and Incyte. AL declares consulting fees from Advanz Pharma, GSK, AlfaSigma, Takeda, Ipsen, and Albireo Pharma, and speaker fees from Gilead, Abbvie, MSD, Advanz Pharma, AlfaSigma, GSK, and Incyte. MC declares consulting services for Advanz Pharma, Cymabay, GSK, Falk, Ipsen, Albireo, Mirum Pharma, Perspectum, Echosens, Gentic s.p.a. DV works for Rulex, MM is the CEO of Rulex. Please refer to the accompanying ICMJE disclosure forms for further details.
Figures




References
-
- Boberg K.M., Chapman R.W., Hirschfield G.M., et al. Overlap syndromes: the International Autoimmune Hepatitis Group (IAIHG) position statement on a controversial issue. J Hepatol. 2011;54:374–385. - PubMed
-
- Verdonk R.C., Lozano M.F., van den Berg A.P., et al. Bile ductal injury and ductular reaction are frequent phenomena with different significance in autoimmune hepatitis. Liver Int. 2016;36:1362–1369. - PubMed
-
- Nakanuma Y., Zen Y., Harada K., et al. Application of a new histological staging and grading system for primary biliary cirrhosis to liver biopsy specimens: interobserver agreement. Pathol Int. 2010;60:167–174. - PubMed
-
- Zen Y., Harada K., Sasaki M., et al. Are bile duct lesions of primary biliary cirrhosis distinguishable from those of autoimmune hepatitis and chronic viral hepatitis? Interobserver histological agreement on trimmed bile ducts. J Gastroenterol. 2005;40:164–170. - PubMed
LinkOut - more resources
Full Text Sources