Skip to main content
QUICK REVIEW

[Paper Review] Inference of captions from histopathological patches

Masayuki Tsuneki, Fahdi Kanavati|arXiv (Cornell University)|Dec 17, 2021
AI in cancer detectionComputer Science5 citations
TL;DR

This paper introduces PatchGastricADC22, a large-scale dataset of 262,777 histopathological patches from H&E-stained whole slide images of gastric adenocarcinoma, paired with diagnostic captions extracted from clinical reports. Using an attention-based RNN model with pre-trained CNN features (EfficientNetB3 and DenseNet121), the study achieves a BLEU@4 score of 0.324 (±0.354), demonstrating promising performance for caption generation from patch collections in a real-world clinical data setting.

ABSTRACT

Computational histopathology has made significant strides in the past few years, slowly getting closer to clinical adoption. One area of benefit would be the automatic generation of diagnostic reports from H\&E-stained whole slide images which would further increase the efficiency of the pathologists' routine diagnostic workflows. In this study, we compiled a dataset (PatchGastricADC22) of histopathological captions of stomach adenocarcinoma endoscopic biopsy specimens, which we extracted from diagnostic reports and paired with patches extracted from the associated whole slide images. The dataset contains a variety of gastric adenocarcinoma subtypes. We trained a baseline attention-based model to predict the captions from features extracted from the patches and obtained promising results. We make the captioned dataset of 262K patches publicly available.

Motivation & Objective

  • To develop a method for generating diagnostic captions from histopathological patches without requiring new manual annotations.
  • To create a large, curated dataset of patch-caption pairs from real clinical whole slide images and reports for use in medical vision-language modeling.
  • To evaluate the performance of attention-based models in generating clinically relevant captions from multiple patches of gastric adenocarcinoma.
  • To explore the feasibility of leveraging existing unstructured clinical reports for training vision-language models in computational pathology.
  • To release a publicly available dataset to accelerate research in histopathology report generation.

Proposed method

  • Collected 991 H&E-stained whole slide images from a single hospital, all diagnosed with adenocarcinoma, and digitized at x20 magnification.
  • Extracted 300x300px patches at x10 and x20 magnifications from regions containing adenocarcinoma lesions, using loose annotations to minimize non-tumor patch inclusion.
  • Extracted diagnostic captions from existing clinical reports, translated into English by expert pathologists, resulting in a vocabulary of 277 words with a maximum sentence length of 50 words.
  • Trained an attention-based RNN model with a CNN encoder (EfficientNetB3 or DenseNet121) for feature extraction and an RNN decoder for autoregressive caption generation.
  • Applied data augmentation and compared two pooling strategies—3x3 max pooling and global average pooling—on the final feature maps.
  • Evaluated model performance using BLEU@4 and average 1/2-gram overlap metrics, stratified by adenocarcinoma subtype and model configuration.

Experimental results

Research questions

  • RQ1Can a vision-language model generate clinically relevant diagnostic captions from a collection of histopathological patches extracted from whole slide images?
  • RQ2How does model performance vary across different adenocarcinoma subtypes when trained on a dataset with limited caption diversity?
  • RQ3Does data augmentation and pooling strategy (3x3 vs. average) affect caption generation performance on histopathology patches?
  • RQ4To what extent can pre-trained CNNs (EfficientNetB3, DenseNet121) generalize to histopathology captioning without fine-tuning on the target domain?
  • RQ5Can a model trained on a single hospital’s clinical reports generalize well enough to be useful for downstream applications in computational pathology?

Key findings

  • The best-performing model, using EfficientNetB3 with data augmentation and 3x3 max pooling at x20 magnification, achieved a BLEU@4 score of 0.324 (±0.354), indicating a reasonable match to reference captions.
  • The average 1/2-gram overlap was highest (0.744 ± 0.269) for the same best-performing model, indicating strong recall of the adenocarcinoma subtype in predicted captions.
  • Subtypes with higher representation in the dataset, such as well and moderately differentiated tubular adenocarcinoma, achieved higher BLEU@4 scores, suggesting data class imbalance affects performance.
  • The standard deviation of BLEU@4 was high (up to ±0.354), indicating significant variation in performance across cases, with some predictions being nearly useless (BLEU < 0.1).
  • The model's primary error mode was in morphological description rather than subtype identification, as evidenced by high 1/2-gram overlap for subtype terms.
  • The dataset, PatchGastricADC22, contains 262,777 patches from 991 whole slide images and is publicly released to support future research in histopathology report generation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.