Footprint-Guided Exemplar-Free Continual Histopathology Report Generation

Pratibha Kumari, Daniel Reisenbüchler, Afshin Bozorgpour, yousef Sadegheih, Priyankar Choudhary, Dorit MerhofarXiv 2026

TL;DR

This paper introduces an exemplar-free continual learning framework for generating medical reports from gigapixel whole-slide histopathology images (WSIs). By saving compact "domain footprints" instead of raw patient data, the method synthesizes realistic pseudo-images and pseudo-reports to prevent catastrophic forgetting while adapting to new organs and changing reporting styles.

What Problem Does This Paper Address?

Vision-language models have shown great promise in automatically generating pathology reports from whole-slide images (WSIs). However, these models are typically trained under a static regime, assuming simultaneous access to all data. In real-world clinical deployment, data arrives sequentially—new organs are introduced, new institutions contribute data, and reporting conventions shift over time.

Sequentially fine-tuning a model on these new domains causes catastrophic forgetting (CF), where the model loses its ability to generate accurate reports for previously learned domains. While standard continual learning (CL) relies on "rehearsal" (storing and replaying old data), this approach is impractical for digital pathology. WSIs are massive gigapixel files, making feature storage expensive, and strict medical data governance and privacy regulations often prohibit the long-term retention of patient data.

Methods

The authors propose a footprint-based generative replay framework built on top of a HistoGPT-style vision-language architecture.

Fig. 1. Overview of the proposed continual WSI report generation framework.

The method avoids storing raw slides or patch exemplars by breaking the process down into three key components:

  1. Domain Footprints: Each domain is compressed into a frozen patch-embedding space. The framework uses $k$-means clustering to create a compact codebook of representative morphology tokens, alongside slide-level token co-occurrence histograms and patch-count statistics.
  2. Generative Replay with Pseudo-Reports: To rehearse prior knowledge, the model samples from the stored footprint statistics to synthesize "pseudo-WSIs" (sets of codebook tokens). Because these synthetic slides lack ground-truth text, an immediate teacher model (a frozen snapshot of the model from the previous training episode) generates pseudo-reports to supervise the current model.
  3. Report-Style Prototypes: To handle variations in reporting templates and phrasing across institutions, the model extracts a linguistic style descriptor using a frozen text encoder (BioGPT). This descriptor is mapped to a "style-prefix" that conditions the language model.

At inference time, the model remains domain-agnostic. It calculates the codebook reconstruction error of a test slide against all stored footprints to automatically identify the most compatible domain and apply the correct style prefix without requiring explicit metadata.

Datasets

The framework was evaluated on two public datasets across various sequential configurations:

  • REG2025: WSI-report pairs from 7 organs, arranged as an organ-shift (OS-R) sequence.
  • PathText (curated from TCGA): 6 organs with at least 500 pairs each, arranged as an organ-shift (OS-P) sequence.
  • Hybrid Streams (HS-C and HS-D): Created by combining common and disjoint organs across both datasets to simulate heterogeneous shifts (simultaneous changes in both organ anatomy and institutional reporting styles).
Table 1. Details of CL datasets and train-test used in various experiments.

Key Insights and Ideas

  • Replay in a Frozen Latent Space: Generating pseudo-samples within a frozen embedding space completely sidesteps "generator drift," a common failure mode where the data generator itself forgets how to create realistic samples over time.
  • Linguistic Drift is as Dangerous as Visual Drift: Catastrophic forgetting in report generation isn't just about losing visual features; language models easily forget specific reporting formats. Introducing the report-style prototype stabilizes the text generation structure across domain shifts.
  • Quantization Error as a Domain Classifier: Using the codebook reconstruction error to route test samples to their corresponding style prefix allows the model to adapt dynamically at test time without needing manual domain labels.

Key Results

The proposed method significantly outperformed standard exemplar-free methods (like EWC, SI, and LwF) and matched or exceeded the performance of rehearsal methods that use a limited physical data buffer ($B=10, 20$).

Table 2. Best result in exemplar-based / exemplar-based with low size / exemplar-free categories indicated in red / blue / green, respectively. Bold: UB, B: exemplar size.

On the REG2025 dataset (OS-R), the framework achieved an average composite ranking score (AVG) of 0.6961, vastly superior to naive sequential fine-tuning (0.3535) and competitive with large-buffer rehearsal (0.6648). Qualitative evaluations showed that while naive models suffered from severe cross-organ drift (e.g., generating stomach-specific descriptions for bladder tissues), the footprint-guided approach successfully preserved organ context and reporting structure.

Table 3. Qualitative OS-R results. Two Bladder (E1) test cases (GT vs. generated) after training to Stomach (ET ). Blue: GT-consistent; Red: mismatches.

Limitations and Future Work

  • Weakly Grounded Clinical Context: Performance on the PathText dataset was lower across all evaluated models. The authors note that PathText reports frequently include clinical context that is only weakly grounded in the slide's visual morphology, limiting the maximum attainable performance based on image data alone.
  • Dependence on Frozen Encoders: The framework relies entirely on the representational capacity of the frozen visual (CONCH) and text (BioGPT) encoders. If the initial encoders lack the capacity to capture features of a highly novel future domain, the footprint generation may become less effective.

Summary updated

BibTeX
@misc{kumari2026footprint,
  author = {Pratibha Kumari and Daniel Reisenbüchler and Afshin Bozorgpour and yousef Sadegheih and Priyankar Choudhary and Dorit Merhof},
  title = {{Footprint-Guided Exemplar-Free Continual Histopathology Report Generation}},
  year = {2026},
  eprint = {2602.23817},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.23817},
}
Figure