Reading the PathoROB robustness index with fixed measurements: a no-signal level, a colour reference, and what 48 named numbers explain in a foundation model's hospital signal

Parallax Pathology · Technical note

Russell Parrish · analysis carried out with AI assistants · Version 1, 10 November 2026

Abstract. PathoROB [1] scores pathology foundation models by a Robustness Index: how far a representation's nearest neighbours follow tissue class and not the hospital a tile came from. We ran simple references through the benchmark's own code with its default settings on its three datasets (99,392 tiles), and then used fixed measurements to read one foundation model. Reference rows. Random features score 0.500 on TCGA, 0.499 on Camelyon and 0.300 on Tolkach, so the index's no-signal level differs by dataset; on Camelyon, 11 of the 26 published models score below it. Six colour numbers per tile score 0.009 on Camelyon, below every published model. A fixed, training-free instrument of 42 named measurements [2] averages 0.510, which would rank 23rd of 27, as predicted in writing. Explaining a model. The 42 measurements and the six colour numbers together linearly predict 31% of the feature variance of Phikon-v2 [3] on Camelyon (random columns: 0.2%). Removing that predicted part, without labels, raised Phikon-v2's index from 0.019 to 0.494 on Camelyon and its three-dataset average from 0.469 to 0.667, with tissue accuracy within 0.02; this met a criterion fixed in advance on all three datasets. Colour alone accounted for most of the gain; the 42 measurements added to colour clearly on Camelyon (+0.083) and negligibly elsewhere. Checks. That removal was fitted on the tiles it was scored on. Fitted once on half of a dataset's hospitals and applied to all, it kept a gain on Camelyon only (to about 0.25). Fitted on the other two datasets, it gave no gain. ComBat with hospital labels, matched to the benchmark paper's values, averaged 0.700. The removal is therefore a description of what the model's hospital signal is made of on these datasets, not a correction method. Named axes. The five instrument axes that had failed to carry between two colorectal laboratories in separate work all fall among its eleven most hospital-driven axes here (probability by chance 0.0005).

1. Question

PathoROB asks whether a foundation model's representation is organised by biology or by medical centre. Its Robustness Index (RI) compares, among each tile's nearest neighbours, those with the same tissue class from another centre against those with another tissue class from the same centre [1]. The published leaderboard lists 26 models.

The study began with one question, written down before any tile was measured: where does a fixed, training-free instrument sit on this index? The answer led to three further questions, each taken in turn:

2. Setup

ItemValue
BenchmarkPathoROB repository at commit d81a04b, its own robustness_index entry point, default arguments. No benchmark code was edited.
Neighbours (default k)TCGA 61 (paired 2 × 2 design), Camelyon 11, Tolkach 46.
DataThe benchmark's 256 × 256-pixel tiles: Camelyon 22,402 [4], TCGA 60,690 [5], Tolkach oesophageal 16,300 [6]. 99,392 tiles; 5, 26 and 4 medical centres.
Random features42 independent Gaussian columns per tile, three seeds.
ColourMean and standard deviation of R, G and B per tile (6 numbers).
Fixed instrumentparallax-core42 v1.0.0 [2]: 42 named measurements per tile from fixed formulas, no training. Measured on the raw tile, and again with its bundled fixed-target Macenko normaliser.
Foundation modelPhikon-v2 [3], extracted with the benchmark's own wrapper and extractor. Chosen because its weights are open and because its hospital pull on Camelyon matches the colour reference (section 3.3).
ScalingEach reference column standardised within each dataset over all tiles, without labels, before the benchmark's own L2 normalisation. This is a declared choice, made in the plan.
Checks on our pipelineThe results shipped in the repository for UNI2-h and Phikon-v2 equal the leaderboard values. Our own Phikon-v2 extraction reproduces its shipped index within 0.0002 on each dataset (0.6188, 0.0189, 0.7682).

The instrument returned a valid status on every tile. Eight of its values were undefined (seven in Tolkach, one in Camelyon) and were set to the dataset mean, as planned.

3. Reference rows

3.1 The index for features with no signal

TCGACamelyonTolkachAverage
Random features, RI (mean of 3 seeds)0.5000.4990.3000.433
Published models below that level0 of 2611 of 260 of 26
Published range0.511 to 0.8790.011 to 0.9400.693 to 0.965

The no-signal level is not the same number on each dataset. The index compares counts of two kinds of neighbour, and how often each kind occurs for unrelated tiles depends on the dataset's mix of classes and centres. A score of 0.60 therefore sits 0.10 above no signal on TCGA and 0.30 above it on Tolkach, and an average over the three datasets mixes those scales.

On Camelyon, the 11 models below the random-feature level are MUSK, Prov-GigaPath, RETCCL, RudolfV, Kaiko ViT-B/8, UNI, Ciga, CTransPath, Kang-DINO, Phikon-v2 and Phikon (0.467 down to 0.011). For these, neighbours follow the hospital more than they would for unrelated tiles.

Robustness Index of 26 published models on three datasets with the random-feature level and two fixed references
Figure 1. Grey: the 26 published leaderboard rows. Dashed line: random features. Blue circle: the fixed 42-axis instrument. Rust square: six colour numbers.

3.2 Colour as a reference

TCGACamelyonTolkachAverage
Colour only, RI0.4630.0090.2370.236
Colour only, kNN tissue balanced accuracy0.6600.7940.542

Six colour numbers score below every published model on Camelyon (0.009 against a lowest published value of 0.011), and below the random-feature level on all three datasets. They are not uninformative: their tissue balanced accuracy is well above the random-feature values in section 3.4. On Camelyon, colour separates tissue and separates hospitals, and the hospitals dominate the neighbourhoods.

3.3 A view relative to no signal

Two quantities read against the random-feature run on the same dataset:

Tissue signal / hospital pullTCGACamelyonTolkach
Fixed instrument0.48 / −0.030.68 / 0.030.57 / −0.23
Fixed instrument + its normaliser0.44 / −0.030.69 / 0.010.56 / −0.30
Colour only0.41 / 0.040.60 / 0.490.47 / 0.06
UNI2-h (shipped result)0.90 / −0.300.97 / −0.050.97 / −0.62
Phikon-v2 (shipped result)0.86 / −0.120.91 / 0.480.95 / −0.47

On Camelyon, Phikon-v2's hospital pull (0.48) is within 0.01 of that of six colour numbers (0.49), while its tissue signal is far higher (0.91 against 0.60). The same model sits well on the robust side on TCGA and Tolkach. This view shows the two properties the leaderboard value folds together.

Tissue signal beyond chance against hospital pull beyond chance for five representations on three datasets
Figure 2. Each representation placed by tissue signal (right is better) and hospital pull (down is better), both relative to random features on the same dataset. "core42" is the fixed instrument; its normalised variant is in the table only.

3.4 The fixed instrument

TCGACamelyonTolkachAverageRank if added (of 27)
Fixed instrument, RI0.5270.4710.5340.51023
With its fixed-Macenko normaliser, RI0.5310.4920.5980.54022
Published models below the instrument1 of 2611 of 260 of 264 of 26
kNN tissue balanced accuracyTCGACamelyonTolkach
Fixed instrument0.6990.8360.626
Colour only0.6600.7940.542
Random features0.4190.4830.138
UNI2-h (shipped result)0.9420.9850.976
Phikon-v2 (shipped result)0.9200.9540.959

The plan predicted that the instrument would sit low on average, plausibly below most foundation models, and that Camelyon was the dataset where it could land among them. Both held: rank 23 of 27 on average, above 11 of 26 models on Camelyon. The instrument is built to be sensitive to how a slide was handled, so a low index is its expected operating window on this benchmark. Its tissue signal is modest beside the foundation models'.

3.5 Predicting the hospital from fixed numbers

Logistic regression predicting the medical centre, five folds grouped by slide (by case for TCGA), all tiles. Accuracy / balanced accuracy / one-vs-rest AUC:

Fixed instrument (42)Colour (6)Both (48)Random (42)
TCGA, 26 centres0.33 / 0.15 / 0.790.34 / 0.15 / 0.800.45 / 0.27 / 0.870.15 / 0.04 / 0.50
Camelyon, 5 centres0.83 / 0.72 / 0.960.93 / 0.64 / 0.980.95 / 0.83 / 0.990.40 / 0.20 / 0.50
Tolkach, 4 centres0.62 / 0.59 / 0.840.81 / 0.81 / 0.940.87 / 0.87 / 0.980.30 / 0.25 / 0.50

Colour alone matches or exceeds the instrument alone on accuracy and AUC on every dataset. Adding the 42 measurements to colour raises balanced accuracy on all three (0.15 to 0.27, 0.64 to 0.83, 0.81 to 0.87). The benchmark paper reports that the centre can be predicted from foundation-model features with 88% to 98% mean accuracy [1]; its protocol may differ from this one.

4. What fixed measurements explain in a foundation model

4.1 Design

The plan was written and hashed before any Phikon-v2 feature was extracted. Per dataset, every one of Phikon-v2's feature dimensions is regressed on a set Z of fixed measurements (ordinary least squares with intercept, Z standardised, all tiles of that dataset, no labels of any kind). The residual is kept and scored by the benchmark, unchanged. The sets:

Criterion, fixed in advance. A removal works on a dataset if its RI gain exceeds the best random-column gain by at least 0.05 and tissue balanced accuracy stays within 0.02 of the unmodified model. Prediction. Removing colour raises the Camelyon index. No direction was claimed for the instrument beyond colour.

4.2 Explained variance

Share of Phikon-v2 feature variance linearly predicted by the instrument, colour, both, and random columns on three datasets
Figure 3. Share of Phikon-v2's feature variance (standardised dimensions) that each set predicts linearly, fitted on all tiles of the dataset. "core42" is the fixed instrument.

Forty-eight named numbers predict 12.7%, 30.9% and 27.5% of the model's feature variance on TCGA, Camelyon and Tolkach. Random columns predict 0.1% to 0.3%. The instrument alone predicts more than colour alone on every dataset (25.1% against 20.5% on Camelyon).

4.3 Removal

Phikon-v2 Robustness Index after removing what each set predicts, on three datasets
Figure 4. Phikon-v2's index after removing the part each set predicts. F0 is the unmodified model. Fitted on all tiles of each dataset.
Removed (RI / tissue bal. acc. / centre AUC)TCGACamelyonTolkachAvg RIRank
Nothing (Phikon-v2)0.619 / 0.920 / 0.9800.019 / 0.954 / 1.0000.768 / 0.959 / 0.9980.46926
Instrument (42)0.642 / 0.921 / 0.9770.361 / 0.946 / 0.6460.764 / 0.939 / 0.8630.58921
Colour (6)0.673 / 0.926 / 0.9750.411 / 0.952 / 0.8650.826 / 0.948 / 0.9030.63717
Both (48)0.678 / 0.921 / 0.9690.494 / 0.950 / 0.9020.828 / 0.941 / 0.6690.66716
Five "breaks" axes0.630 / 0.925 / 0.9800.045 / 0.955 / 1.0000.786 / 0.952 / 0.9790.48724
Leave-dataset-out axes (11 / 3 / 20)0.648 / 0.926 / 0.9780.083 / 0.955 / 0.9120.778 / 0.948 / 0.9380.50323
Random columns (range of 3)0.6140.024 to 0.0250.770 to 0.7710.469 to 0.47025

Rank places each average against the 26 published rows, which include Phikon-v2 itself. Centre AUC is the benchmark's own linear hospital-prediction score; it reflects folds below 0.5, so noise scores above 0.5.

Criterion met? (RI gain)TCGACamelyonTolkach
Instrumentno (+0.023)yes (+0.342)no (−0.004)
Colouryes (+0.055)yes (+0.392)yes (+0.057)
Bothyes (+0.059)yes (+0.476)yes (+0.060)
Five "breaks" axesno (+0.012)no (+0.026)no (+0.018)
Leave-dataset-out axesno (+0.029)yes (+0.065)no (+0.010)

Best random-column gain: −0.005, +0.006 and +0.003.

5. Does the removal hold on hospitals it did not see?

Section 4 fitted the removal on the same tiles it was scored on, as ComBat is fitted. Two checks were planned and hashed before they ran.

5.1 A design that failed its own null

The first held-out design fitted a separate removal for each hospital from the other hospitals. Removing 42 random columns this way lowered Phikon-v2's index (Tolkach 0.768 to 0.589, Camelyon 0.019 to 0.000). The design itself injects hospital structure: each hospital is shifted by a fit that excludes it, so hospitals are shifted by different amounts. Those numbers are kept and not interpreted. The redesign below was written and hashed after this fault was found and before it ran, and is declared as post hoc.

5.2 One fit, applied to every tile

Phikon-v2 Robustness Index under in-sample removal, half-hospital fits, other-dataset fits, and ComBat
Figure 5. Filled markers: fits that saw every scored tile (the removal of section 4, labelled "move 3", and ComBat). Hollow markers: fits that did not see all scored hospitals, or that combine both.
Fit (RI / tissue bal. acc.)TCGACamelyonTolkachAvg RI
Nothing removed0.619 / 0.9200.019 / 0.9540.768 / 0.9590.469
Both, fitted on all tiles (section 4)0.678 / 0.9210.494 / 0.9500.828 / 0.9410.667
Other datasets: instrument0.612 / 0.9200.031 / 0.9520.788 / 0.9560.477
Other datasets: colour0.599 / 0.9200.019 / 0.9500.789 / 0.9560.469
Other datasets: both0.608 / 0.9190.021 / 0.9510.784 / 0.9560.471
Half the hospitals: instrument0.629 / 0.9200.269 / 0.9490.702 / 0.9400.533
Half the hospitals: colour0.648 / 0.9240.163 / 0.9510.727 / 0.9480.513
Half the hospitals: both0.645 / 0.9190.249 / 0.9460.667 / 0.9340.521
Half the hospitals: random columns0.6170.065 to 0.0660.777 to 0.7780.486 to 0.487

5.3 Matched ComBat

ComBat [7] as in the benchmark paper: the pycombat implementation (inmoose 0.8.1), batch set to the medical centre, no biological covariates, fitted on all tiles of each dataset. Our values lie within 0.03 of one column of the paper's table for Phikon-v2 on all three datasets (0.784, 0.446, 0.923), which we take to be the paper's ComBat column; the extracted table header was ambiguous.

RITCGACamelyonTolkachAverage
ComBat on Phikon-v2 (uses hospital labels)0.7550.4240.9220.700
Removal of section 4, both sets (no labels)0.6780.4940.8280.667
Removal, then ComBat0.7640.5220.8830.723

On Camelyon the label-free removal is above ComBat (0.494 against 0.424); on TCGA and Tolkach ComBat is higher. Applying the removal before ComBat adds 0.098 on Camelyon and 0.009 on TCGA, and costs 0.039 on Tolkach. Both methods here are fitted on the scored tiles. The benchmark paper reports that ComBat did not consistently help downstream models [1]; downstream training is outside this note.

6. Which named axes follow the hospital

For each of the 42 axes, the share of between-group variance that follows the medical centre and not the tissue class was computed per dataset and averaged. This is a one-way variance share per axis, not the neighbour index, and centre and class are not fully balanced in every dataset.

Bar chart of 42 instrument axes sorted by the share of between-group variance that follows the hospital
Figure 6. The 42 axes sorted by hospital share, averaged over the three datasets. Colours mark the axes that broke (rust) or held (blue) in a separate per-field map between two colorectal laboratories [8].

7. Reading

8. Limitations

Data and code availability

Hashed plans, scripts, per-run index summaries, per-axis tables and logs are held by the authors (folder pathorob-core42-20261109; this note in PATHOROB_NOTE_20261110) and are available on request. The benchmark code and datasets are public [1]; the instrument is public [2]; Phikon-v2's weights are public [3]. The TCGA tile subset used by the benchmark is licensed for non-commercial use (CC BY-NC-SA 4.0).

References

  1. Kömen J, de Jong ED, Hense J, Marienwald H, Dippel J, Naumann P, Marcus E, Ruff L, Alber M, Teuwen J, Klauschen F, Müller K-R. Towards robust foundation models for digital pathology. Nature Communications 2026;17:5218. doi:10.1038/s41467-026-73923-2. Preprint: arXiv:2507.17845. Code and leaderboard: https://github.com/bifold-pathomics/PathoROB (commit d81a04b).
  2. Parrish R. parallax-core42 v1.0.0: a fixed 42-axis H&E measurement instrument. https://github.com/parallaxmetrology/parallax-core42
  3. Filiot A, Jacob P, Mac Kain A, Saillard C. Phikon-v2, a large and public feature extractor for biomarker prediction. arXiv:2409.09173, 2024.
  4. Bándi P, et al. From detection of individual metastases to classification of lymph node status at the patient level: the CAMELYON17 challenge. IEEE Transactions on Medical Imaging 2019;38(2):550–560. doi:10.1109/TMI.2018.2867350
  5. Komura D, et al. Universal encoding of pan-cancer histology by deep texture representations. Cell Reports 2022;38(9):110424. doi:10.1016/j.celrep.2022.110424
  6. Tolkach Y, et al. Artificial intelligence for tumour tissue detection and histological regression grading in oesophageal adenocarcinomas: a retrospective algorithm development and validation study. The Lancet Digital Health 2023;5(5):e265–e275.
  7. Johnson WE, Li C, Rabinovic A. Adjusting batch effects in microarray expression data using empirical Bayes methods. Biostatistics 2007;8(1):118–127.
  8. Parrish R. Which fixed H&E measurements survive a change of laboratory. Technical note, 2026. https://www.parallaxmetrology.com/Field_Transport_NOTE.html
  9. Parrish R. Two pre-registered transport tests of fixed structural H&E measurements. Technical note, 2026. https://www.parallaxmetrology.com/Transport_Tests_NOTE.html