Generating dermatopathology reports from gigapixel whole slide images with HistoGPT

M Manuel Tran P Paul Schmidle R Ruifeng Ray Guo S Sophia J. Wagner V Valentin Koch V Valerio Lupperger B Brenna Novotny D Dennis H. Murphree H Heather D. Hardway M Marina D’Amato J Judith Lefkes D Daan J. Geijs A Annette Feuchtinger A Alexander Böhner R Robert Kaczmarczyk T Tilo Biedermann A Avital L. Amir A Antien L. Mooyaart F Francesco Ciompi G Geert Litjens C Chen Wang N Nneka I. Comfere K Kilian Eyerich S Stephan A. Braun C Carsten Marr T Tingying Peng

Abstract

Abstract Histopathology is the reference standard for diagnosing the presence and nature of many diseases, including cancer. However, analyzing tissue samples under a microscope and summarizing the findings in a comprehensive pathology report is time-consuming, labor-intensive, and non-standardized. To address this problem, we present HistoGPT, a vision language model that generates pathology reports from a patient’s multiple full-resolution histology images. It is trained on 15,129 whole slide images from 6705 dermatology patients with corresponding pathology reports. The generated reports match the quality of human-written reports for common and homogeneous malignancies, as confirmed by natural language processing metrics and domain expert analysis. We evaluate HistoGPT in an international, multi-center clinical study and show that it can accurately predict tumor subtypes, tumor thickness, and tumor margins in a zero-shot fashion. Our model demonstrates the potential of artificial intelligence to assist pathologists in evaluating, reporting, and understanding routine dermatopathology cases.

Article Details

Volume / Issue Vol. 16, Issue 1
Published May 27, 2025
ISSN 2041-1723
Publisher Nature Portfolio

Journal Info

Nature Communications

Nature Portfolio

ISSN: 2041-1723 Open Access Life Sciences

Authors (26)

M

Manuel Tran

P

Paul Schmidle

R

Ruifeng Ray Guo

S

Sophia J. Wagner

V

Valentin Koch

V

Valerio Lupperger

B

Brenna Novotny

D

Dennis H. Murphree

H

Heather D. Hardway

M

Marina D’Amato

J

Judith Lefkes

D

Daan J. Geijs

A

Annette Feuchtinger

A

Alexander Böhner

R

Robert Kaczmarczyk

T

Tilo Biedermann

A

Avital L. Amir

A

Antien L. Mooyaart

F

Francesco Ciompi

G

Geert Litjens

C

Chen Wang

N

Nneka I. Comfere

K

Kilian Eyerich

S

Stephan A. Braun

C

Carsten Marr

T

Tingying Peng