CLASP: Deciding Structure and Claims Before Decoding for Whole-Slide Pathology Report Generation was submitted to arXiv on 2026-11-21 by Ziaullah Khan, Rashadul Islam Sumon, Md Ariful Islam Mozumder, Duc-Son Pham, Moon-Il Joo, Hee-Cheol. Read it on arXiv or as a PDF.
Key findings
- On PathText-BRCA test slides, benchmark n-gram overlap reflects institutional formatting over factual findings, as selecting the consensus of 30 random reports from the query hospital achieves 0.135 BLEU-4, matching BiGen, compared to 0.113 for reports matching true findings.
- Whole-slide foundation model representations reveal the reporting institution, with a linear probe on mean UNI2-h tile embeddings predicting the hospital source site for 92.4% of test slides and 91.8% of validation slides against majority class baselines of 15.2% and 21.2%.
- Standard decoders under-generate report length, where Clasp-Base produces an average of 109 tokens against 149 in reference reports, and imposing the mean length of the five most image-similar reports raises validation BLEU-4 from 0.114 to 0.144.
- Unplanned beam decoding collapses stated findings toward generic high-frequency claims, yielding a test micro-F1 of 0.432 for Clasp-Base, which is comparable to the 0.403 test score obtained by simply outputting the four most frequent training findings.
- Withholding diagnostic claims unobservable on routine hematoxylin and eosin slides reduces factual error, where explicit abstention on receptor status yields 23% fewer contradictions with clinical records than the same network without decisions.
The main takeaway. Whole-slide report evaluation on standard benchmarks is heavily driven by hospital formatting styles and token counts. Explicitly deciding structure and clinical claims prior to decoding allows a 35M-parameter model to match 7B-parameter models while enabling verifiable abstention on unobservable variables.
The abstract, as written
Whole-slide pathology report generation has advanced through stronger slide encoders, retrieved knowledge, and, recently, slide-level multimodal LLMs. However, these generators leave every report-level choice to the decoder: how long the report is, how it is organised, and which findings it states and where. On the standard PathText-BRCA benchmark, we find that these choices dominate n-gram overlap, as reports from the query’s hospital selected without learning approach the state of the art, while decoders under-generate and fall back to the most frequent findings. We present CLASP, a decide-then-decode generator that makes these choices explicitly, once per slide. Before decoding, an Exemplar Structure Prior (ESP) takes the sentence plan and length from reports of image-similar cases, a Calibrated Claim Decision (CCD) selects the findings from calibrated slide posteriors, and a Claim-to-Sentence Placement (CSP) assigns each finding to a planned sentence. A Plan-Conditioned Decoder (PCD), refined by structure-anchored sequence training, then writes the report under these decisions. With 35M parameters, CLASP outperforms retrained report generators and slide-level LLMs of up to 7B parameters, matches the strongest published results, and generalises to lung cancer from unseen hospitals. Its decisions change what the reports state, not only their length, transfer to an LLM decoder, and can withhold what H&E cannot show: withholding receptor status leaves 23% fewer contradictions with clinical records than the same network without decisions.
Key terms
- Exemplar Structure Prior (ESP): A module in CLASP that extracts the sentence outline and target token length budget from reports of image-similar training cases.
- Calibrated Claim Decision (CCD): A module in CLASP that selects diagnostic findings from slide-level probability predictions after applying analytical calibration.
- Claim-to-Sentence Placement (CSP): A module in CLASP that assigns each selected diagnostic finding to the planned sentence type that most frequently mentions it.
- Structure-Anchored Sequence Training (SAST): A reinforcement learning refinement stage that stabilizes self-critical sequence training by anchoring outputs to the planned sentence structure.
- PathText-BRCA: A benchmark dataset of whole-slide images paired with diagnostic pathology reports for breast cancer cases from The Cancer Genome Atlas.
From the paper
The authors observe that selecting random reports from the query hospital matches published BLEU-4 benchmarks while decoders under-generate length and frequent findings.
Pathology foundation-model embeddings reveal the reporting hospital [ 18 ] , and the most typical of 30 random reports from the query’s hospital matches the published BLEU-4 of BiGen [ 56 ] . Generators write about 110 tokens where pathologists write 149, and the findings they state collapse to the most frequent ones, although their own slide classifier recognises better ones.
Linear probes on slide tile embeddings accurately classify the hospital source site, and same-hospital report pairs exhibit higher n-gram overlap than cross-hospital pairs.
The top-1 retrieved report comes from the query’s hospital for 91.8%/82.6% of validation/test cases (chance 6.7%); a linear probe on the mean embedding predicts the hospital with 91.8%/92.4% accuracy (majority class 21.2%/15.2%). Same-hospital report pairs have 2.4 to 2.6 the sentence BLEU-4 of other pairs (0.076/0.080 vs. 0.031/0.030).
Retrieved similar reports capture target document length but share less than forty percent of their clinical findings with the query case.
Among the finding statements of the 8 most image-similar training reports, 38.7% hold for the query (validation: 37.8%), and these reports have the right length (test: 144 vs. 149 tokens; validation: 147 vs. 149); sentences affirming a finding the query lacks share 1.6% of their 4-grams with the reference, against 4.6% for sentences affirming findings the query has.
Figures from the paper
The chart demonstrates that test BLEU-4 on PathText-BRCA is largely determined by hospital reporting format rather than matching true findings.
Figure from the paper, arXiv:2611.28576, by its authors. Caption as written: Figure 2 : What BLEU-4 rewards on PathText-BRCA. Test BLEU-4 of report selection without learning (hatched: uses ground truth). Reports of the query’s hospital approach the state of the art; reports with its true findings do not.
The pipeline overview shows CLASP decoupling slide evidence encoding, structure and claim planning, and plan-conditioned decoding.

Figure from the paper, arXiv:2611.28576, by its authors. Caption as written: Figure 3 : Overview of Clasp . The Slide Knowledge Encoder ( Ske ) turns the UNI2-h tile embeddings into finding-aware evidence 𝐈 ′ \mathbf{I}^{\prime} and relates it to the reports of image-similar training cases ( 𝐖 ′ \mathbf{W}^{\prime} ) and to a finding graph ( 𝐆 ′ \mathbf{G}^{\prime} ). Before decoding, the Exemplar Structure Prior ( Esp ) decides the sentence plan 𝝅 ^ \hat{\bm{\pi}} and the length L ^ \hat{L} from the most image-similar training reports, the Calibrated Claim Decision ( Ccd ) decides the findings from calibrated slide posteriors and encodes them as claim tokens 𝐂 \mathbf
What the authors say it means
- High n-gram overlap metrics like BLEU-4 on PathText-BRCA reflect institutional report formatting and document length rather than clinical finding correctness.
- Foundation model slide embeddings capture hospital site signatures, allowing retrieval methods to borrow institution-specific structure from training slides.
- Decoupling structure and length determination from visual finding selection prevents decoders from collapsing into brevity and generic high-frequency claims.
- Making claim decisions explicit and discrete enables controlled abstention on variables that routine histology slides cannot reliably demonstrate.
What to do with it
- Audit pathology report generation benchmarks for institutional origin shortcuts and verify factual accuracy independently of n-gram overlap scores. Supported by: A linear probe on mean UNI2-h embeddings identifies the hospital source site for 92.4% of test slides, and selecting 30 random reports from the query hospital achieves 0.135 BLEU-4 on test, which matches BiGen without any model learning.
- Evaluate factual correctness by matching generated claims directly against patient clinical records in place of training-derived text extractors. Supported by: Explicitly withholding unobservable receptor status in CLASP resulted in 23% fewer contradictions with clinical records compared to the same network without claim decisions.
- Inspect whether report length bias is artificially inflating n-gram precision metrics before evaluating generation quality. Supported by: In Table S2, tokens generated after position 100 showed low clipped 4-gram precision between 0.010 and 0.031, while applying heuristic length normalization reduced CRQS from 0.248 to 0.216 and increased the hallucination rate from 0.476 to 0.507 on validation.
- Separate macro-level document planning from micro-level visual classification to avoid delegating structural choices entirely to autoregressive beam search. Supported by: Clasp-Base generated reports averaging only 109 tokens with a finding micro-F1 of 0.432 on test, whereas Clasp using a 35M-parameter pipeline with explicit structure and calibrated claim planning matched published state-of-the-art systems and outperformed slide-level LLMs of up to 7B parameters.
Caveat. The findings are evaluated primarily on the TCGA PathText-BRCA benchmark using UNI2-h embeddings and silver-standard findings, where clinical evaluation relies on TCGA clinical data records. The method assumes that image-similar training cases adequately reflect reporting structures and that unobservable variables like receptor status can be reliably identified for abstention.
In short
Standard whole-slide pathology report benchmarks often reward models for mimicking hospital formatting and expanding length. CLASP addresses this vulnerability by deriving sentence structure from similar exemplars and selecting calibrated findings prior to text decoding. This modular design matches 7B parameter models with a 35M parameter footprint and enables verifiable abstention on unobservable clinical targets.
Written from the paper's own text. Quoted passages are verbatim and the numbers are the authors' own. For the method and full results, read the paper.