croma

croma measures how much a pathology foundation model’s representation is driven by biology rather than by non-biological technical variation – staining, scanning, tissue preparation – across centers.

Its public measurements form two distinct branches. Representation robustness is measured directly in frozen embedding neighbourhoods by three complementary metrics:

  • RI, the Robustness Index, which counts favourable versus unfavourable neighbours

  • MaRI, the Margin-aware Robustness Index, which weights that same evidence by distance

  • CRoMa, the Cross-confounder Robustness Margin, a signed margin that also supports tail-aware reporting

RI was introduced in the PathoROB study. croma provides a clean re-implementation of it, adds MaRI as its margin-aware extension, and introduces CRoMa, which overcomes limitations of both. MaRI and CRoMa are described in A distributional robustness margin for pathology foundation models.

Shortcut susceptibility asks how a supervised biological-class probe changes when its training composition becomes confounder-biased. The primary reduction is nIPD, a signed area normalized by the baseline’s margin over chance.

pip install croma

The panel at a glance

Top 8 of 27 ranked pathology encoders

Model

mean rank

CRoMa rank

tail rank

Camelyon

TCGA-4×4

Tolkach-ESCA

Mascaret

(pretraining overlaps this cohort’s source)

2.0

2.0

2.0

0.29/-0.02

0.27/-0.11

0.51/0.01

Mettle-1.5

(PathoROB RI used during development)

3.3

5.3

1.3

0.28/0.00

0.15/-0.09

0.43/0.00

RudolfV-2-S

5.2

2.3

8.0

0.32/-0.02

0.19/-0.16

0.49/-0.00

RudolfV-2

5.5

5.0

6.0

0.24/-0.04

0.17/-0.12

0.41/-0.01

RudolfV-2-B

6.8

5.3

8.3

0.24/-0.05

0.17/-0.14

0.41/-0.02

Mettle-1 (Pre-release)

(PathoROB RI used during development)

7.3

10.0

4.7

0.20/-0.02

0.11/-0.11

0.37/-0.02

CONCHv1.5

9.0

8.3

9.7

0.19/-0.14

0.15/-0.13

0.39/-0.03

GenBio-PathFM

(pretraining overlaps this cohort’s source)

10.0

8.0

12.0

0.19/-0.07

0.16/-0.19

0.39/-0.02

  • Orange — disclosed pretraining overlaps TCGA, the source of TCGA-4×4. Unshaded means no disclosed overlap, not an audited absence.

  • Yellow — PathoROB RI on these cohorts was used during the encoder’s development, e.g. in checkpoint selection, as disclosed by its authors. Ranks are shown unadjusted.

Bold marks the Pareto frontier — the encoder(s) no other pathology encoder beats on both rankings at once. The two ranks are kept apart on purpose: a strong median margin can hide a brittle tail, so each cohort cell shows both, median CRoMa/LTM₁₀. Orange rows mark encoders whose disclosed pretraining overlaps TCGA (legend). Full panel, cohort detail and the distribution explorer →

Median margin against tail severity, aggregated by rank across the three cohorts. Better is up and to the right; the ringed, named points are undominated. Hover or tab to any point to name it.

Citing

@article{grisi2026distributional,
  title   = {A distributional robustness margin for pathology foundation models},
  author  = {Grisi, Cl{\'e}ment and van der Laak, Jeroen and Litjens, Geert},
  journal = {arXiv preprint arXiv:2607.25497},
  year    = {2026},
  doi     = {10.48550/arXiv.2607.25497},
  url     = {https://arxiv.org/abs/2607.25497}
}

Please cite the PathoROB study alongside it: RI is theirs, and the three tile cohorts scored under Results are theirs too.