Skip to main content
Back

Cancer-Trained AI Models Crumble on Kidney Disease's Subtle Tissue Signals

A systematic benchmark of 11 pathology foundation models across kidney biopsy tasks reveals major gaps in fine-grained and prognostic capabilities.

Pro

Paper, Full Access
  • Benchmark of 11 pathology foundation models on 11 kidney biopsy tasks across PAS, H&E, PASM, and IHC stains
  • Models tested include UNI, Virchow, Prov-GigaPath, CHIEF, TITAN, Hibou, H-optimus and others
  • Strong results on coarse meso-scale morphology like sclerotic glomeruli and prominent structural changes
  • Consistent drops on fine microstructural tasks such as GBM spikes and on slide-level prognosis
  • Cross-stain transfer works for shape cues but weakness persists regardless of staining protocol
  • Open-source kidney-hfm-eval Python package reproduces both tile-level and slide-level evaluation pipelines

Pathology foundation models have become the default backbone for computational pathology, yet almost all of them were pretrained on cancer slides. A new benchmark asks a blunt question: how well do they work on kidney biopsies, where most of the interesting disease has nothing to do with tumors? Across 11 models and 11 tasks, the verdict is clear. They are fine for spotting big obvious structural changes, and noticeably worse at everything else.

Why kidneys break the cancer-first playbook

Histopathology foundation models (HFMs) are vision transformers pretrained on huge repositories of whole slide images (WSIs), usually drawn from cancer archives like TCGA, CPTAC, and PAIP. Some rely on public oncology datasets, others on large proprietary collections, but the training distribution is overwhelmingly malignant tissue.

Chronic kidney disease (CKD) poses a very different visual problem. Slides are stained with reagents cancer models rarely see, such as Periodic acid-Schiff (PAS) and PAS-Methenamine silver (PASM), and diagnosis often hinges on subtle changes inside individual glomeruli, tubules, and small vessels rather than tumor masses. The gap matters clinically too, since CKD can coexist with renal cell carcinoma and urothelial carcinoma, so a nephrologist reading a biopsy may need a model that handles both worlds.

The benchmark setup

The team evaluated 11 publicly available HFMs across 11 kidney-specific downstream tasks spanning multiple stains (PAS, H&E, PASM, and IHC), spatial scales (tile and slide-level), task types (classification, regression, and copy detection), and clinical objectives including detection, diagnosis, and prognosis. The pool covers the usual suspects across tile-level and slide-level encoders:

  • Tile-level extractors including CTransPath, REMEDIS, RudolfV, Atlas, PLUTO, H-optimus-0, H-optimus-1, Hibou-B, Hibou-L, UNI, UNI2-h, Virchow, and Virchow2
  • Slide-level feature extractors such as GigaSSL, MADELEINE, CHIEF, COBRA, PRISM, Prov-GigaPath, and TITAN
  • Only models pretrained on more than 100,000 WSIs were considered, giving each maximum exposure to renal cell and urothelial carcinoma slides during pretraining

Cross-stain evaluation is the real stress test. The authors benchmark HFMs pretrained on H&E and IHC in both within-stain and cross-stain settings against PAS and PASM, to determine whether learned representations capture fundamental tissue morphology rather than superficial color distributions, and whether they transfer to CKD pathology at all. Evaluating across stains works as a litmus test for domain invariance of embeddings.

What the tasks actually look like

Tile-level tasks were chosen to probe distinct disease-defining microstructures. The classification set includes globally versus non-globally sclerotic glomeruli on PAS, glomerular basement membrane (GBM) spike classification on PASM, inflamed versus non-inflamed areas on H&E, reference versus abnormal tubule classification on H&E, and artery stenosis classification on PAS, plus a cellular regression task and slide-level prognostic prediction.

Globally sclerotic glomerulus on PAS-stained kidney tissue

Statistical rigor is a highlight. The authors ran a Friedman test followed by pairwise Wilcoxon signed-rank tests with Holm-Bonferroni correction, visualized with compact letter display. That combination avoids the usual "one model wins by a hair" storytelling by clustering models that are not statistically distinguishable.

Where the models win and where they fall apart

The headline finding is a clean split by scale of morphology. Models score moderate to strong on tasks driven by coarse meso-scale renal morphology, including diagnostic classification and detection of prominent structural alterations. Performance consistently declines for tasks requiring fine-grained microstructural discrimination, complex biological phenotypes, or slide-level prognostic inference, largely independent of stain type. Current HFMs appear to encode predominantly static meso-scale representations, with limited capacity for subtle renal pathology or prognosis-related signals.

Translated to practical categories, HFM embeddings are useful for:

  • Coarse structural detection like globally sclerotic glomeruli, where the whole structure collapses into scar tissue and the visual signal is unambiguous
  • Diagnostic classification driven by tissue-level texture and layout
  • Cross-stain generalization on tasks that only need meso-scale shape cues

They are weaker for:

  • Fine microstructural calls such as GBM spikes on PASM, where the abnormality is a hair-thin projection off a basement membrane
  • Grading tasks that depend on subtle cytological or extracellular matrix changes
  • Slide-level prognosis, where signal is diffuse and requires aggregating weak evidence across the WSI
Severe arterial stenosis on PAS-stained kidney tissue

An evaluation harness worth stealing

The infrastructure may end up more useful than any single ranking. The team released an open-source Python package, kidney-hfm-eval, available at pypi.org/project/kidney-hfm-eval, that reproduces the evaluation pipelines. It handles both tile-level repeated stratified group cross-validation and slide-level repeated nested stratified cross-validation, so you can drop in a new encoder and get comparable numbers without rebuilding the harness.

The broader takeaway matches what other domain-transfer studies have quietly been suggesting. Cancer-pretrained HFMs are strong general-purpose feature extractors, yet non-oncologic specialties need their own foundation models. The authors argue for kidney-specific, multi-stain, and multimodal foundation models to support clinically reliable decision-making in nephrology. For anyone building nephrology AI on top of UNI, Virchow, or Prov-GigaPath today, the practical guidance is straightforward: expect solid performance on obvious structural calls, and budget extra work, or extra data, for anything requiring fine microstructural or prognostic reasoning.