--- license: other license_name: mixed-creative-commons-per-item license_link: LICENSE.md language: - en - de pretty_name: DermaLit-140k (open tier and metadata release) size_categories: - 100K-`, one row per image–text occurrence | | `image_id`, `sha256`, `phash` | image hashes (`image_id` = first 16 hex characters of the SHA-256) | | `source`, `source_type` | source key; `journal` or `atlas` | | `split` | `train` / `val` / `test`, grouped by near-duplicate cluster, case, article and same-patient links | | `release_tier` | `open` or `metadata` | | `license` | detected article licence (journals) or the source's terms (atlases) | | `terms_restrict_ai` | the source's terms explicitly restrict AI use | | `language`, `figure_label`, `doi`, `url`, `image_url`, `year` | provenance | | `diagnosis`, `body_site`, `age`, `sex` | as given by the source, not normalised | | `image_type`, `subset` | predicted image type; `derm_core` = clinical, dermoscopy or histopathology | | `fst_gold_f17k` | expert Fitzpatrick type from Fitzpatrick17k, where the image is also in that benchmark | | `fst_pred` | Fitzpatrick estimate of a CLIP-based regressor (clinical photographs only) | | `near_dup_cluster`, `case_group` | duplicate and same-case groups | | `bench_overlap`, `bench_overlap_test` | public benchmarks that contain a near-duplicate of this image | | `width`, `height` | image size in pixels | | open tier only: `file`, `caption`, `context`, `title`, `authors`, `journal_name` | image path in this repository, verbatim caption, citing sentences, article data | ## Classifier heads `classifiers/` holds two small linear heads for L2-normalised OpenAI CLIP ViT-B/16 image embeddings (512 dimensions): | File | Task | Validation | |---|---|---| | `image_type_head_clip_vitb16.npz` | seven image types (multinomial logistic: `coef`, `intercept`, `classes`) | 93.8% accuracy on a random sample of 288 hand-labelled images (5-fold cross-validation); 89.3% on all 383 labelled images, which include deliberately hard cases. Dermoscopy recall is weak (0.55, 11 positives) | | `fitzpatrick_head_clip_vitb16.npz` | Fitzpatrick skin type as a number 1–6 (ridge regression: `coef`, `intercept`) | grouped cross-validation on 14,862 expert-labelled Fitzpatrick17k images: mean absolute error 0.71, 91% within ±1 type, exact 43%. Dark skin (V–VI) is under-detected (recall 0.63) | ## Known limitations - **Benchmark overlap.** 23,502 images of the corpus are near-duplicates of images in public benchmarks (Fitzpatrick17k, SkinCAP, Daffodil, HAM10000, PAD-UFES-20), mainly because Fitzpatrick17k was built from two of the atlases. Exclude rows with `bench_overlap` before you evaluate on these benchmarks. - **Skin type.** Only about 6% of clinical photographs are estimated as Fitzpatrick V–VI (11% after correcting the estimator's bias). Thirteen diagnoses with at least 100 images have no type V–VI image. - **Labels.** Atlas diagnoses are as published and partly noisy. Diagnoses are not normalised. - **Composite figures.** Journal figures often combine several panels and are typed by their dominant content. - **Licence detection is time-bound.** It reflects the article pages as retrieved in 2025. - **Same patient across splits.** Splits respect 24,786 detected same-patient links, but up to a few percent of atlas test photographs may still have a photo of the same patient in the training split. - **Links decay.** Some atlas domains have changed owner. Affected rows carry an archived URL or none. ## Removal requests If you hold rights in an item and want it removed or corrected, open a discussion on this repository. ## Models CLIP ViT-B/16 models fine-tuned on this corpus: https://huggingface.co/laion/DermaLit-CLIP-ViT-B-16 (access on request, non-commercial research licence). The default model was trained without the rows with `terms_restrict_ai = True`. ## Code https://github.com/LAION-AI/derm-datasets ## Funding and citation Built in the project "The future of medical datasets: large-scale analysis and training of medical multimodal models through an iterative ML approach", funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), Walter Benjamin Programme, project number 526052741. ```bibtex @misc{kaczmarczyk2026dermalit, author = {Kaczmarczyk, Robert}, title = {DermaLit-140k: a provenance-tracked dermatology image--text corpus (open tier and metadata release)}, year = {2026}, publisher = {Hugging Face}, howpublished = {\url{https://huggingface.co/datasets/laion/DermaLit-140k}} } ```