Manuscript Offprint

arXiv:2608.23143

An end-to-end-trained vision-language model for native-language prostate pathology report generation

Christian Grashei, Fabian Gülhan, Maximilian Legnar, Fabian Stögbauer, Cleo-Aron Weis, Carolin Mogler, Peter Schüffler

ABSTRACT

Prostate cancer is among the most frequently diagnosed malignancies worldwide, and structured reporting of each biopsy core burdens pathologists. Existing tools frame this as classification, leaving pathologists to assemble coherent reports, while many slide-level vision-language models rely on English-centric encoders that transfer poorly to other clinical languages. We present a slide-level framework generating prostate biopsy reports that is language-independent by construction: tokenizer and model are trained from scratch, demonstrated here in German. To address paired-data scarcity, an automated pipeline uses a locally deployed large language model to split composite reports into core-specific image–text pairs, yielding 17,344 pairs from 2,402 historical cases without manual annotation. Evaluated for clinical attributes rather than linguistic similarity, the model achieves 96.2% F1 for malignancy detection and 65.2% for Gleason grading, competitive with an FDA-cleared classifier. Grading is further validated on three external cohorts with latent-space augmentation. Institutions can thus train native-language reporting models on their own archives.

Introduction

Prostate cancer remains a substantial global health challenge. With over 300,000 new cases in the US alone in 2025, it accounts for approximately 30% of all new male cancer diagnoses 1^{1}. This high disease burden imposes a substantial workload on pathology departments 2^{2}. Prostate cancer diagnosis follows a clinical pathway that typically begins with prostate-specific antigen (PSA) screening and magnetic resonance imaging (MRI) and is confirmed with a prostate core needle biopsy as the gold standard. Typically, approximately twelve biopsy cores are taken per patient. Each biopsy core must be individually reviewed to determine malignancy, assign a Gleason grade, and measure tumor volume 3^{3}. Consequently, a written pathology report documenting the findings for each biopsy core is issued to the treating physician 4^{4}. The sheer volume of these cases, combined with their highly structured reporting requirements and pattern-based Gleason grading, makes prostate pathology an ideal candidate for AI-driven transformation 5^{5}.

Previous computational approaches have largely framed prostate cancer detection as a classification problem 6,7^{6,7}. While early patch-level methodologies achieved high accuracy, they required labor-intensive, granular annotations by trained pathologists 8^{8}. More recent advances utilize Multiple Instance Learning (MIL) 9^{9} frameworks to process whole slide images (WSIs) by aggregating embeddings from pathology-specific foundation models, outputting a class probability (e.g., benign or a specific Gleason grade) 10^{10}. However, while current AI models can assist with discrete diagnostic tasks, the cognitive work of integrating these outputs into a coherent, clinical report remains the responsibility of the pathologist.

Vision-language models (VLMs) offer a more integrated solution by directly generating descriptive text for a given tissue image 11,12^{11,12}. While models like PLIP 13^{13} and CONCH 14^{14} excel at tile-level captioning, they lack the WSI-level context necessary to describe an entire case. Aggregating several regions of interest 15^{15} widens this context, yet still conditions the report on a subset of the slide rather than the entire WSI. HistoGPT 16^{16} bridges this gap in dermatopathology by generating reports directly from full WSIs, but it relies on a frozen, pre-trained language encoder (BioGPT 17^{17}). Because such encoders are predominantly English-centric, they are not applicable to non-English environments or need translation that introduces external dependencies and potential translation errors.

In this work, we present a slide-level, end-to-end report generation framework for prostate biopsies that requires no pre-trained language components. Training both a domain-specific tokenizer and the vision-language model from scratch makes the approach language-agnostic: reports are processed and generated natively in the target language, demonstrated here for German, without translation or dependence on English-centric encoders. To address the scarcity of paired WSI-text data required to develop our model, we introduce an automated pipeline that uses a locally deployed LLM to disaggregate composite reports from the laboratory information system (LIS) into core-specific WSI-text pairs, yielding 17,344 pairs from 2,402 historical cases without manual annotation.

Syntactic similarity is a poor proxy for diagnostic correctness 18,19^{18,19}, since a single altered number can potentially change a patient's management. Therefore, we depart from standard NLP metrics such as BLEU 20^{20} and ROUGE 21^{21} and evaluate generated reports on the clinical attributes required by reporting guidelines: malignancy, Gleason grading, and tumor infiltration. We evaluate the model on an internal test cohort and three external cohorts, compare it against a directly supervised classification baseline and an FDA-cleared diagnostic tool 22^{22}, and introduce a latent-space augmentation strategy to mitigate scanner-induced domain shift. To our knowledge, this is the first slide-level prostate biopsy report generation model evaluated on external cohorts, and it shows that clinically useful, native-language report generation can be trained end-to-end from uncurated historical archives at a single institution.

References (29)