Pathologist’s Brief

Class visualisations and activation atlases reveal morphology learned by pathology AI

Quick answer

Class visualisations and activation atlases made learned tissue patterns inspectable, but recognisability fell for overlapping cancer classes. They support model auditing, while neither explaining individual predictions causally nor proving clinical correctness.

Black-and-white photo of histology slides beside a monitor showing tissue-pattern visualisations arranged in a grid and scatter map.
AI-generated illustration, Pathologist’s Brief
On this page
  1. Looking beyond a highlighted patch
  2. What the visualisations show
  3. Material and expert evaluation
  4. Recognisable patterns and blurred boundaries
  5. How these tools can support auditing
  6. Limits and disclosures
  7. Frequently asked questions

#Looking beyond a highlighted patch

A heatmap can show where a model found relevant information without showing which morphological concepts it has learned. Gustav et al., in Cell Reports Medicine, 18 September 2026, examined this gap using class visualisations and activation atlases. Researchers in Germany and the United Kingdom asked whether experts could recognise the tissue patterns encoded within a pathology model.

The distinction is between explaining a particular prediction and inspecting how a model organises morphological information. Features may be shared across classes or vary gradually between them. Highlighting selected regions of an individual slide does not systematically describe those relationships.

#What the visualisations show

A class visualisation starts with a synthetic image and repeatedly changes it to increase the model score for a chosen class. The model stays fixed. The resulting image shows patterns that strongly activate that class, rather than reproducing a particular patient specimen.

An activation atlas begins with internal model responses to real image patches. These responses are arranged on a flat map and grouped into grid cells. Responses within each cell are averaged, then used to generate a representative synthetic image. The assembled grid makes locally related patterns and transitions visible across the model representation.

Synthetic colours are not literal haematoxylin and eosin staining. They can reflect optimisation artefacts as well as features to which the model responds. The authors interpret the images mainly through texture, cellular density and spatial organisation.

#Material and expert evaluation

The study used a pretrained pathology foundation model as a fixed feature extractor, with a simple task-specific classifier trained on its outputs. The colorectal material contained 100,000 patches from 86 slides, covering 9 tissue classes. These included adipose tissue, background, debris, lymphocytes, mucus, smooth muscle, normal mucosa, cancer-associated stroma and tumour epithelium.

A separate multi-organ source contained 1,608,060 patches across 32 cancer types; 11 classes were selected. They spanned breast, colorectal, renal, lung and prostate carcinomas, diffuse large B cell lymphoma, sarcoma and melanoma. Classifier tasks varied in label detail and morphological overlap.

Four pathologists independently labelled real patches, class visualisations and atlas-cell images in randomised order. They were blinded to reference labels and automated assignments, and could mark an image uncertain. Comparisons assessed recognition and agreement, alongside attribution and image-similarity measures.

#Recognisable patterns and blurred boundaries

For colorectal tissue classes, class visualisations preserved recognisable adipose vacuoles, dense lymphocytic nuclei and crowded pleomorphic tumour glands. Stroma and smooth muscle were harder to separate, consistent with shared spindle-cell morphology and eosinophilic appearance.

Multi-organ cancer visualisations retained selected patterns, including glandular architecture, clear cell nesting, spindle-cell fascicles and diffuse lymphoid infiltrates. However, overlapping cancers produced more cross-assignments and greater reader variability. Real patches were more interpretable than class visualisations across all 42 tested comparisons.

Atlas organisation changed with model depth. Earlier layers showed simpler morphology, intermediate layers more coherent concepts, and deeper layers greater detail with increasing specialisation. Broad tissue or cancer groupings were more coherent than fine subclasses. Colorectal atlas agreement was moderate, with Fleiss’ κ = 0.58 and Krippendorff’s α = 0.56.

An exploratory comparison of normal adjacent tissue and tumour showed recognisable normal colonic crypts with goblet cells and malignancy-associated nuclear changes. Separation was less distinct for hepatocellular carcinoma than for colorectal carcinoma.

#How these tools can support auditing

The authors propose using the images to assess whether learned concepts resemble plausible histomorphology and to look for artefacts, staining variation or dataset-specific shortcuts. These are proposed auditing uses, not evidence that this study established a particular shortcut. Atlas overlap may also help identify heterogeneous or overly fine class labels for further review.

No quantitative similarity measure fully replaced expert assessment. Agreement with experts declined as morphological complexity increased. A plausible-looking image therefore supports inspection, but does not establish that the model reasons correctly or that a prediction is clinically reliable.

#Limits and disclosures

The findings concern a single foundation model with fixed feature extraction and a task-specific classifier. Other models or training strategies may organise morphology differently. Layer choice, image optimisation and map construction affect the display; a flat projection loses information and its distances do not measure global distances in the original representation.

Generated images remain constrained by the training material and analysed tiles. They are exploratory summaries, not causal explanations or diagnostic images. Patient-level variables, including sex, gender and disease stage, were not assessed. The reader evaluation was conditional on the participating pathologists, and available perceptual metrics were not designed specifically for subtle pathology morphology.

The authors call for comparisons across models and settings, pathology-specific similarity measures and extension to whole-slide spatial context. Some authors declared industry relationships, including consulting, shareholdings, research grants, honoraria and travel support. Research funding supported the work.

Frequently asked questions

Are class visualisations synthetic diagnostic slides?

No, class visualisations are synthetic summaries of model-associated patterns rather than diagnostic slides. Their colours can arise from optimisation, so interpretation focuses on texture, density and spatial organisation. Experts recognised several tissue features, but real patches were consistently more interpretable, particularly when cancer classes shared similar morphology.

Do nearby atlas cells prove that classes are biologically close?

No, atlas proximity does not quantify biological relatedness or global representational distance. The flat map prioritises local relationships and discards information from the original model responses. Its appearance also depends on mapping settings, so coherent regions and transitions are exploratory findings that need interpretation alongside the underlying morphology.

Did the study prove that the model used a shortcut?

No, the authors describe shortcut detection as a potential auditing use rather than an established finding here. Visualisations may help experts look for implausible morphology, staining variation or artefacts. Such inspection complements other evaluation, because recognisable generated features neither explain individual predictions causally nor demonstrate clinical correctness.

Source

https://doi.org/10.1016/j.xcrm.2026.103054 ↗

For education and professional reference. This does not give patient-specific advice or replace professional judgement, local protocols or consultation. Editorial standards.