| --- |
| 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](https://huggingface.co/papers/2607.12987). |
|
|
| - **Code Repository:** [GitHub](https://github.com/hectorcarrion/ControllableGenDDI) |
| - **Croissant File:** [croissant_rai.json](https://huggingface.co/datasets/hcarrion/ControllableGenDDI/resolve/main/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** (**C**ontrollable **G**eneration of **D**iverse **D**ermatological **I**magery), 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: |
| |
| ```bash |
| # 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: |
| |
| 1. https://huggingface.co/hcarrion/xanthogranuloma |
| 2. https://huggingface.co/hcarrion/verruciform_xanthoma |
| 3. https://huggingface.co/hcarrion/verruca_vulgaris |
| 4. https://huggingface.co/hcarrion/trichofolliculoma |
| 5. https://huggingface.co/hcarrion/trichilemmoma |
| 6. https://huggingface.co/hcarrion/traumatic_injury |
| 7. https://huggingface.co/hcarrion/tinea_pedis |
| 8. https://huggingface.co/hcarrion/syringocystadenoma_papilliferum |
| 9. https://huggingface.co/hcarrion/squamous_cell_carcinoma |
| 10. https://huggingface.co/hcarrion/spindle_cell_nevus_of_Reed |
| 11. https://huggingface.co/hcarrion/solar_lentigo |
| 12. https://huggingface.co/hcarrion/seborrheic_keratosis |
| 13. https://huggingface.co/hcarrion/sebaceous_carcinoma |
| 14. https://huggingface.co/hcarrion/morphea |
| 15. https://huggingface.co/hcarrion/scar |
| 16. https://huggingface.co/hcarrion/reactive_lymphoid_hyperplasia |
| 17. https://huggingface.co/hcarrion/pyogenic_granuloma |
| 18. https://huggingface.co/hcarrion/prurigo_nodularis |
| 19. https://huggingface.co/hcarrion/onychomycosis |
| 20. https://huggingface.co/hcarrion/nevus_lipomatosus_superficialis |
| 21. https://huggingface.co/hcarrion/nevus |
| 22. https://huggingface.co/hcarrion/neuroma |
| 23. https://huggingface.co/hcarrion/neurofibroma |
| 24. https://huggingface.co/hcarrion/molluscum_contagiosum |
| 25. https://huggingface.co/hcarrion/metastatic_carcinoma |
| 26. https://huggingface.co/hcarrion/melanoma |
| 27. https://huggingface.co/hcarrion/lymphocytic_infiltrations |
| 28. https://huggingface.co/hcarrion/lipoma |
| 29. https://huggingface.co/hcarrion/lichenoid_keratosis |
| 30. https://huggingface.co/hcarrion/leukemia_cutis |
| 31. https://huggingface.co/hcarrion/keloid |
| 32. https://huggingface.co/hcarrion/kaposi_sarcoma |
| 33. https://huggingface.co/hcarrion/hyperpigmentation |
| 34. https://huggingface.co/hcarrion/hematoma |
| 35. https://huggingface.co/hcarrion/graft-vs-host_disease |
| 36. https://huggingface.co/hcarrion/glomangioma |
| 37. https://huggingface.co/hcarrion/foreign_body_granuloma |
| 38. https://huggingface.co/hcarrion/folliculitis |
| 39. https://huggingface.co/hcarrion/focal-acral-hyperkeratosis |
| 40. https://huggingface.co/hcarrion/fibrous_papule |
| 41. https://huggingface.co/hcarrion/epidermal_nevus |
| 42. https://huggingface.co/hcarrion/epidermal_cyst |
| 43. https://huggingface.co/hcarrion/atopic_dermatitis |
| 44. https://huggingface.co/hcarrion/eccrine_poroma |
| 45. https://huggingface.co/hcarrion/dermatomyositis |
| 46. https://huggingface.co/hcarrion/dermatofibroma |
| 47. https://huggingface.co/hcarrion/cutaneous_T-cell_lymphoma |
| 48. https://huggingface.co/hcarrion/condyloma_acuminatum |
| 49. https://huggingface.co/hcarrion/coccidioidomycosis |
| 50. https://huggingface.co/hcarrion/clear_cell_acanthoma |
| 51. https://huggingface.co/hcarrion/chondroid_syringoma |
| 52. https://huggingface.co/hcarrion/cellular_neurothekeoma |
| 53. https://huggingface.co/hcarrion/blue_nevus |
| 54. https://huggingface.co/hcarrion/blastic_plasmacytoid_dendritic_cell_neoplasm |
| 55. https://huggingface.co/hcarrion/benign_keratosis |
| 56. https://huggingface.co/hcarrion/basal_cell_carcinoma |
| 57. https://huggingface.co/hcarrion/arteriovenous_hemangioma |
| 58. https://huggingface.co/hcarrion/angioma |
| 59. https://huggingface.co/hcarrion/angioleiomyoma |
| 60. https://huggingface.co/hcarrion/actinic_keratosis |
| 61. https://huggingface.co/hcarrion/acrochordon |
| 62. https://huggingface.co/hcarrion/acral_melanotic_macule |
| 63. https://huggingface.co/hcarrion/acquired_digital_fibrokeratoma |
| 64. https://huggingface.co/hcarrion/acne-cystic |
| 65. 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 |
|
|
| ```bibtex |
| @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} |
| } |
| ``` |