language:
- en
license: apache-2.0
size_categories:
- 100K<n<1M
task_categories:
- image-to-image
- text-to-image
- image-classification
pretty_name: cgDDI
dataset_info:
features:
- name: image
dtype: image
- name: text
dtype: string
- name: file_name
dtype: string
- name: synthetic_type
dtype:
class_label:
names:
'0': healthy
'1': lesion-mapped
'2': semantic
- name: prompt_healthy_image_id
dtype: int32
- name: prompt_healthy_image_skin_tone
dtype: int32
- name: prompt_healthy_image_has_ruler
dtype: bool
- name: prompt_disease
dtype: string
- name: prompt_disease_malignancy
dtype: float32
- name: prompt_text_skin_tone
dtype: float32
- name: parametric_synthetic
dtype: float32
- name: training_samples
dtype: float32
splits:
- name: train
num_bytes: 25165990894.36
num_examples: 266136
download_size: 9154922115
dataset_size: 25165990894.36
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
tags:
- medical
Dataset Card for cgDDI
This repository is the official dataset of Controllable Generation of Diverse Dermatological Imagery for Fair and Efficient Malignancy Classification.
- Code Repository: GitHub
- Croissant File: croissant_rai.json
🥐 Croissant File 🥐
We host a dedicated and manually extended croissant file, expanding on the one automatically generated by HuggingFace. This file includes RAI fields and additional metadata useful to the research community. It is available on this repo, direct link here: https://huggingface.co/datasets/hcarrion/ControllableGenDDI/resolve/main/croissant_rai.json
Dataset Details
We introduce cgDDI (Controllable Generation of Diverse Dermatological Imagery), a hybrid framework to synthesize realistic healthy skin samples, map rare lesions, and support fair classification.
The dataset contains 266,136 skin-tone-balanced synthetic images across 65+ disease classes:
- Healthy synthetics — 309 pixel-perfect in-distribution healthy skin images
- Lesion-mapped synthetics — single-sample rare-disease augmentations
- Semantic synthetics — textual-inversion + LoRA latent-diffusion samples
- Fairness labels — Fitzpatrick skin-tone tags for stratified evaluation
Note: We do not re-host previous artifacts, thus remember to fetch the original DDI dataset at https://ddi-dataset.github.io/ and the sDDI masks from https://github.com/hectorcarrion/FEDD.
Download / Sample Usage
You can download the dataset via the Hugging Face CLI:
# Download dataset via the HF CLI
hf download hcarrion/ControllableGenDDI --repo-type dataset --local-dir data/cgddi
Models
We openly release 65 disease-conditioned LoRA checkpoints, one per condition, on Hugging Face:
- https://huggingface.co/hcarrion/xanthogranuloma
- https://huggingface.co/hcarrion/verruciform_xanthoma
- https://huggingface.co/hcarrion/verruca_vulgaris
- https://huggingface.co/hcarrion/trichofolliculoma
- https://huggingface.co/hcarrion/trichilemmoma
- https://huggingface.co/hcarrion/traumatic_injury
- https://huggingface.co/hcarrion/tinea_pedis
- https://huggingface.co/hcarrion/syringocystadenoma_papilliferum
- https://huggingface.co/hcarrion/squamous_cell_carcinoma
- https://huggingface.co/hcarrion/spindle_cell_nevus_of_Reed
- https://huggingface.co/hcarrion/solar_lentigo
- https://huggingface.co/hcarrion/seborrheic_keratosis
- https://huggingface.co/hcarrion/sebaceous_carcinoma
- https://huggingface.co/hcarrion/morphea
- https://huggingface.co/hcarrion/scar
- https://huggingface.co/hcarrion/reactive_lymphoid_hyperplasia
- https://huggingface.co/hcarrion/pyogenic_granuloma
- https://huggingface.co/hcarrion/prurigo_nodularis
- https://huggingface.co/hcarrion/onychomycosis
- https://huggingface.co/hcarrion/nevus_lipomatosus_superficialis
- https://huggingface.co/hcarrion/nevus
- https://huggingface.co/hcarrion/neuroma
- https://huggingface.co/hcarrion/neurofibroma
- https://huggingface.co/hcarrion/molluscum_contagiosum
- https://huggingface.co/hcarrion/metastatic_carcinoma
- https://huggingface.co/hcarrion/melanoma
- https://huggingface.co/hcarrion/lymphocytic_infiltrations
- https://huggingface.co/hcarrion/lipoma
- https://huggingface.co/hcarrion/lichenoid_keratosis
- https://huggingface.co/hcarrion/leukemia_cutis
- https://huggingface.co/hcarrion/keloid
- https://huggingface.co/hcarrion/kaposi_sarcoma
- https://huggingface.co/hcarrion/hyperpigmentation
- https://huggingface.co/hcarrion/hematoma
- https://huggingface.co/hcarrion/graft-vs-host_disease
- https://huggingface.co/hcarrion/glomangioma
- https://huggingface.co/hcarrion/foreign_body_granuloma
- https://huggingface.co/hcarrion/folliculitis
- https://huggingface.co/hcarrion/focal-acral-hyperkeratosis
- https://huggingface.co/hcarrion/fibrous_papule
- https://huggingface.co/hcarrion/epidermal_nevus
- https://huggingface.co/hcarrion/epidermal_cyst
- https://huggingface.co/hcarrion/atopic_dermatitis
- https://huggingface.co/hcarrion/eccrine_poroma
- https://huggingface.co/hcarrion/dermatomyositis
- https://huggingface.co/hcarrion/dermatofibroma
- https://huggingface.co/hcarrion/cutaneous_T-cell_lymphoma
- https://huggingface.co/hcarrion/condyloma_acuminatum
- https://huggingface.co/hcarrion/coccidioidomycosis
- https://huggingface.co/hcarrion/clear_cell_acanthoma
- https://huggingface.co/hcarrion/chondroid_syringoma
- https://huggingface.co/hcarrion/cellular_neurothekeoma
- https://huggingface.co/hcarrion/blue_nevus
- https://huggingface.co/hcarrion/blastic_plasmacytoid_dendritic_cell_neoplasm
- https://huggingface.co/hcarrion/benign_keratosis
- https://huggingface.co/hcarrion/basal_cell_carcinoma
- https://huggingface.co/hcarrion/arteriovenous_hemangioma
- https://huggingface.co/hcarrion/angioma
- https://huggingface.co/hcarrion/angioleiomyoma
- https://huggingface.co/hcarrion/actinic_keratosis
- https://huggingface.co/hcarrion/acrochordon
- https://huggingface.co/hcarrion/acral_melanotic_macule
- https://huggingface.co/hcarrion/acquired_digital_fibrokeratoma
- https://huggingface.co/hcarrion/acne-cystic
- https://huggingface.co/hcarrion/abscess
Usage Terms
We release this data, code and models with the intent of academic use and to promote fairness research. We do not allow un-ethical usage of these artifacts.
Citation
@inproceedings{carrion2026cgddi,
title = {Controllable Generation of Diverse Dermatological Imagery for Fair and Efficient Malignancy Classification},
author = {Carri{\\'o}n, H{\\'e}ctor and Norouzi, Narges},
booktitle = {Medical Image Computing and Computer-Assisted Intervention (MICCAI)},
year = {2026},
publisher = {Springer},
series = {Lecture Notes in Computer Science}
}