Artificial intelligence applications in liver pathology remain limited, with existing tools either narrowly focused or lacking external validation. This study introduces HOTSPoT, an open-source, validated transformer-based model for automated segmentation of portal tracts in H&E-stained liver biopsy whole slide images. A multi-institutional dataset of 223 cases was used, with annotations by expert hepatopathologists. HOTSPoT achieved high performance with mean Dice scores of 0.92 (train/val) and 0.91 (test), and mean IoUs of 0.86, 0.85, and 0.84, respectively, showing minimal domain shift. Automated portal tract quantification showed strong concordance with manual assessments (κ up to 0.90), and portal area correlated with fibrosis stage (r = 0.87, p < 0.001). The model is available as a TorchScript file with a modified WSInfer library, enabling efficient WSI-level inference and integration with QuPath for advanced pathology analysis.
Cazzaniga, G., L'Imperio, V., Bonoldi, E., Londoño, M., Madaleno, J., Cipriano, A., et al. (2025). Automating liver biopsy segmentation with a robust, open-source tool for pathology research: the HOTSPoT model. NPJ DIGITAL MEDICINE, 8(1) [10.1038/s41746-025-01870-1].
Automating liver biopsy segmentation with a robust, open-source tool for pathology research: the HOTSPoT model
L'Imperio, Vincenzo;Merelli, Elisa;Carbone, Marco;Pagni, Fabio;Invernizzi, Pietro;Gerussi, Alessio
2025
Abstract
Artificial intelligence applications in liver pathology remain limited, with existing tools either narrowly focused or lacking external validation. This study introduces HOTSPoT, an open-source, validated transformer-based model for automated segmentation of portal tracts in H&E-stained liver biopsy whole slide images. A multi-institutional dataset of 223 cases was used, with annotations by expert hepatopathologists. HOTSPoT achieved high performance with mean Dice scores of 0.92 (train/val) and 0.91 (test), and mean IoUs of 0.86, 0.85, and 0.84, respectively, showing minimal domain shift. Automated portal tract quantification showed strong concordance with manual assessments (κ up to 0.90), and portal area correlated with fibrosis stage (r = 0.87, p < 0.001). The model is available as a TorchScript file with a modified WSInfer library, enabling efficient WSI-level inference and integration with QuPath for advanced pathology analysis.| File | Dimensione | Formato | |
|---|---|---|---|
|
Cazzaniga et al-2025-npj Digital Medicine-VoR.pdf
accesso aperto
Descrizione: This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
Tipologia di allegato:
Publisher’s Version (Version of Record, VoR)
Licenza:
Creative Commons
Dimensione
2.22 MB
Formato
Adobe PDF
|
2.22 MB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


