Colorist — DenseNet121 on Fitzpatrick17k (seed 265017005)

One checkpoint from the model zoo accompanying "Simple, Safe, and Overlooked: Reclaiming Sustainable Domain Generalization with Statistical Color Matching" (MICCAI DEMI 2026, arXiv:2608.18915).

Colorist is a training-free augmentation: it matches each colour channel's first two moments to those of a randomly drawn style image. That is a per-pixel affine map, so it leaves the spatial anatomical layout untouched. The augmentation has no parameters, so there are no weights for it. This repository holds a downstream artefact: a DenseNet121 trained with it on Fitzpatrick17k, using RGB mean-standard-deviation matching applied with probability 0.3.

Model Details

  • Developed by: Sebastian Doerrich, xAILab Bamberg, University of Bamberg
  • Model type: DenseNet121 image classifier (timm), trained from scratch on Fitzpatrick17k
  • License: MIT. The weights carry the code's license; training used no framework imposing stronger terms. The training data does not — Fitzpatrick17k keeps its own license and is not redistributed here.

Sources

Usage

from colorist import load_pretrained_classifier

model, config = load_pretrained_classifier("fitzpatrick17k", seed=265017005)

Needs the optional extra: pip install "colorist-aug[weights]". Preprocess with the normalization in config.json; ImageNet statistics are not what this was trained on.

Dataset Fitzpatrick17k (fitzpatrick17k)
Classes 3 (multi-class)
Input 224 x 224 RGB
Seed 265017005

Results

Test balanced accuracy on Fitzpatrick17k, for every published seed:

Seed Test balanced accuracy
71397589 0.4202
133560673 0.3760
265017005 0.3981

Mean over seeds 0.3981 (sd 0.0221).

Trained without any augmentation, the same architecture reaches 0.3645 on this dataset.

Read the three seeds together, not this one alone. Every number in the paper is a mean over all three, and on the small covariate-shift benchmarks the spread between them is large. The other two:

Do not average these checkpoints into one. They are trained from scratch with different initialisations, so they occupy different loss basins and averaging their weights cancels their features rather than combining them: measured on BloodMNIST, the three seeds score 0.9844 / 0.9886 / 0.9918 and their weight-average scores 0.1250, which is exactly chance for 8 classes.

Limitations

  • Photometric shift only. The transform is affine per pixel and changes no geometry, so it does not address geometric or resolution shift.
  • A research artefact. Not validated for clinical use; not for diagnosis.

Citation

@article{doerrich2026colorist,
  title         = {Simple, Safe, and Overlooked: Reclaiming Sustainable Domain
                   Generalization with Statistical Color Matching},
  author        = {Doerrich, Sebastian and Di Salvo, Francesco and
                   Rai, Shyam Nandan and Lents, Marco and Ledig, Christian},
  year          = {2026},
  eprint        = {2608.18915},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2608.18915}
}
Downloads last month
27
Safetensors
Model size
7.04M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including sdoerrich97/colorist_densenet121_fitzpatrick17k_s265017005

Paper for sdoerrich97/colorist_densenet121_fitzpatrick17k_s265017005