The Performance of Transferability Metrics does not Translate to Medical Tasks

Levy Chaves, Alceu Bissoto, Eduardo Valle, Sandra Avila (University of Campinas, Valeo.ai) · arXiv · 2023

In one paragraph

Seven transferability scores, ten ImageNet-pretrained architectures, three medical classification tasks — skin lesion, breast histopathology, brain tumour — and 2250 fine-tuned models with proper hyperparameter search behind every reference number. The conclusion is negative: no score reliably or consistently predicts target performance in a medical context, and the authors recommend practitioners not rely on them yet. The distinctive contribution is the out-of-distribution axis: each task gets a second, genuinely shifted test set, and the scores are evaluated against OOD performance too — the first study to do that. The surprise is that the OOD column is where the scores work best, and specifically where the label-based ones do. The reservation is about resolution: ten architectures is a small pool for a rank correlation, and that turns out to decide which of their forty-two numbers carry information.

What was run

scores H-Score, NCE, LEEP, \mathcal{N}-LEEP, LogME, Regularised H-Score, GBC
architectures 10 ImageNet-pretrained (ResNet-18/34/50, MobileNetV2 ×2, DenseNet-121/161/169, EfficientNet-B0, ViT-Small)
in-distribution targets BrainTumor-Cheng, BreakHis, ISIC2019
out-of-distribution targets NINS, ICIAR2018, PAD-UFES-20
target metric balanced accuracy
tuning 75 quasi-random (Halton) configs per architecture; SGD, cosine, 100 epochs
total 2250 models trained
correlation Kendall’s \tau

Two things are done better than the norm here and deserve saying. The hyperparameter search is real — 75 configurations per architecture, so the reference ranking reflects each model at its best rather than at default settings, which is the usual shortcut. And balanced accuracy is used rather than plain accuracy, which is the right choice for imbalanced medical data. Both matter because the reference ranking is what everything is measured against.

The taxonomy that turns out to matter

They split the scores in two:

This is the same split that runs through the Theory section, and it is exactly the axis along which their results separate.

The findings

In-distribution: unstable, and inconsistent across datasets. LogME is among the best on BrainTumor-Cheng (\tau=0.584) and BreakHis (0.378), and negative on ISIC2019 (-0.067). H-Score goes 0.270 \to 0.600 \to -0.244 across the three. No score keeps its sign, let alone its rank. Their hypothesis is domain dissimilarity: unlike the general-purpose benchmarks these scores were validated on, medical targets share neither classes nor low-level statistics with ImageNet.

Out-of-distribution: the label-based scores do well. NCE reaches 0.911 on PAD-UFES-20 and 0.778 on ICIAR2018; LEEP reaches 0.778 on ICIAR2018. This inverts the in-distribution picture, where NCE is often negative.

Their explanation is worth quoting because it is a real mechanism and not hand-waving: for binary targets with few classes, the source model’s predicted distribution concentrates on a single class, which inflates the label-based score. So the OOD success may be an artefact of task shape rather than genuine OOD sensitivity. They flag this themselves.

Two candidate causes, tested. They fine-tuned on each medical dataset and re-scored against the validation set: only label-based methods did well, so domain shift “helps to degrade the efficiency of such scores, but it is not the main reason”. They then collapsed OxfordPets from 37 classes to binary cats-vs-dogs: correlations dropped but stayed high. So neither shift nor class count alone explains the failure — a genuinely useful negative result that narrows the space.

The instrument’s resolution

The experiment is 2250 models and cannot be reproduced here. What can be checked is how much signal a rank correlation over ten items can carry, and it decides how to read Table 2.

Under the null, Kendall’s \tau at n=10 has standard deviation \sqrt{2(2n+5)/(9n(n-1))} = 0.248 — confirmed by simulation to three decimals. So:

n sd under null \lvert\tau\rvert for p<0.05
10 0.248 0.467
20 0.163 0.316
50 0.097 0.192

At n=10, a reported \tau of 0.270 is barely one standard error from zero. Applying the threshold to all 42 cells of their Table 2:

scorer dataset \tau
NCE PAD-UFES-20 +0.911 OOD
NCE ICIAR2018 +0.778 OOD
LEEP ICIAR2018 +0.778 OOD

Every survivor is an out-of-distribution cell, and every one is a label-based scorer. That is exactly the paper’s positive finding, and it is the part that is statistically solid.

The headline negative finding is the underpowered part: the in-distribution cells are not distinguishable from zero in either direction. Power to detect a true \tau=0.3 at n=10 is 14%:

n 10 20 30 50 80
power at true \tau=0.3 0.14 0.23 0.35 0.51 0.74

This is a criticism of the evidence, not of the conclusion. Underpowered null results err in the safe direction — failing to detect a correlation is not evidence that none exists — so “don’t rely on these scores in medical imaging yet” remains sound advice. But it is supported by far less than forty-two numbers suggest, and the paper reports point estimates with no interval anywhere.

Questions and doubts

Takeaways