File size: 7,183 Bytes
683a7b1
9f05e94
 
 
 
 
 
 
 
 
 
683a7b1
 
 
 
 
 
 
 
 
 
 
 
 
68a53e7
683a7b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f5954e8
683a7b1
cb3d9ad
f5954e8
683a7b1
 
 
 
 
a765a61
 
683a7b1
9f05e94
dcc1f91
a765a61
9f05e94
 
 
 
a765a61
f9ed683
5eea2fc
f9ed683
a765a61
 
9f05e94
 
 
 
 
 
 
c0a2ab8
9f05e94
a765a61
9f05e94
a765a61
9f05e94
 
 
 
 
 
13d254c
 
 
9f05e94
13d254c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2640c99
 
 
9f05e94
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
---
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}
}
```