Notes from the research
Lesion-Grouped Benchmarking of Class Imbalance Handling, Transfer Learning, Explainable Artificial Intelligence and Federated Learning for Dermoscopic Skin Cancer Classification
Skin cancer datasets often hold several photos of the same lesion. Split them at random and the test partly checks memory. This paper redoes four common experiments with the split made by lesion instead.
The question
A dermoscopy dataset can hold several photos of one lesion. A random train and test split then puts one photo in training and another in the test, so a good score partly rewards memory.
The paper asks how much four common results change when the split is made by lesion: handling rare classes, reusing ImageNet weights, Grad-CAM heat maps, and federated training across hospitals.
How the study works
- 01Count shared lesions in HAM10000 (10,015 images) and Fed-ISIC2019 (23,247)
- 02Random and lesion-grouped splits, three seeds each
- 03Three backbones and six ways of handling rare classes: 84 runs
- 04Score on the internal test and on the official ISIC 2018 test
- 05Check Grad-CAM maps on 36 models
- 06Federated training across six centres with FedAvg and FedProx
What came out
- About 35% of test images in a random HAM10000 split share a lesion with training. In the released Fed-ISIC2019 split it is 65.9%.
- The random split raised internal balanced accuracy in all 42 paired comparisons, by 11.3 points on average. On the official test set the difference was 0.8 points.
- Federated numbers shrink as well. Pooled training fell from 81.3% to 61.6% once the split was made by lesion, and FedAvg from 65.4% to 55.4%.
- A heat map can look right and still fail. EfficientNet-B0 put 71% of its Grad-CAM inside the lesion, but beat a random map in the insertion test on only 49% of images.
What it doesn’t show
- Dermoscopy images only, mostly of light skin.
- Lesion IDs do not guarantee that patients are separate, and there is no external test set.
- Three seeds and one training recipe, and Grad-CAM is the only explanation method tested.
Paper and code
Journal paper in preparation. Code, splits and results are public.