EricPeter commited on
Commit
8f971cc
·
verified ·
1 Parent(s): 717bcac

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +211 -7
README.md CHANGED
@@ -1,16 +1,38 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: question_id
5
  dtype: string
6
- - name: image_id
7
  dtype: string
8
  - name: question
9
  dtype: string
10
  - name: question_type
11
  dtype: string
12
  - name: choices
13
- list: string
14
  - name: correct_answer
15
  dtype: string
16
  - name: explanation
@@ -19,16 +41,13 @@ dataset_info:
19
  dtype: string
20
  splits:
21
  - name: train
22
- num_bytes: 23924
23
  num_examples: 67
24
  - name: validation
25
- num_bytes: 5063
26
  num_examples: 14
27
  - name: test
28
- num_bytes: 5587
29
  num_examples: 15
30
- download_size: 21682
31
- dataset_size: 34574
32
  configs:
33
  - config_name: default
34
  data_files:
@@ -39,3 +58,188 @@ configs:
39
  - split: test
40
  path: data/test-*
41
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: mit
5
+ task_categories:
6
+ - visual-question-answering
7
+ - image-classification
8
+ task_ids:
9
+ - medical-vqa
10
+ - malaria-detection
11
+ - parasite-classification
12
+ size_categories:
13
+ - 1K<n<10K
14
+ source_datasets:
15
+ - original
16
+ tags:
17
+ - medical
18
+ - microscopy
19
+ - malaria
20
+ - parasites
21
+ - visual-question-answering
22
+ - multi-choice
23
+ pretty_name: "Malaria Microscopy VQA Dataset"
24
  dataset_info:
25
  features:
26
  - name: question_id
27
  dtype: string
28
+ - name: image_id
29
  dtype: string
30
  - name: question
31
  dtype: string
32
  - name: question_type
33
  dtype: string
34
  - name: choices
35
+ dtype: sequence
36
  - name: correct_answer
37
  dtype: string
38
  - name: explanation
 
41
  dtype: string
42
  splits:
43
  - name: train
 
44
  num_examples: 67
45
  - name: validation
 
46
  num_examples: 14
47
  - name: test
 
48
  num_examples: 15
49
+ download_size: 1000000
50
+ dataset_size: 2000000
51
  configs:
52
  - config_name: default
53
  data_files:
 
58
  - split: test
59
  path: data/test-*
60
  ---
61
+
62
+ # Malaria Microscopy Visual Question Answering (VQA) Dataset
63
+
64
+ ## Dataset Description
65
+
66
+ This dataset contains multi-choice visual question answering pairs for malaria microscopy images, focusing on parasite detection, classification, species identification, and severity assessment.
67
+
68
+ ### Dataset Summary
69
+
70
+ The Malaria Microscopy VQA Dataset is designed for training and evaluating AI systems on medical microscopy image analysis tasks. It contains 67 questions across 59 unique microscopy images.
71
+
72
+ **Key Features:**
73
+ - Multi-choice questions with 3-6 answer options
74
+ - Comprehensive explanations for correct answers
75
+ - Multiple difficulty levels (easy, medium, hard)
76
+ - 6 question types covering clinical workflows
77
+ - High-quality filtering and validation
78
+
79
+ ### Supported Tasks
80
+
81
+ - **Visual Question Answering**: Multi-choice VQA for microscopy images
82
+ - **Medical Image Classification**: Parasite detection and classification
83
+ - **Species Identification**: Plasmodium species recognition
84
+ - **Clinical Assessment**: Parasitemia level and severity evaluation
85
+
86
+ ### Languages
87
+
88
+ English
89
+
90
+ ## Dataset Structure
91
+
92
+ ### Data Instances
93
+
94
+ ```json
95
+ {
96
+ "question_id": "img_001_q1",
97
+ "image_id": "id_example.jpg",
98
+ "question": "Is there evidence of malaria parasites in this blood smear?",
99
+ "question_type": "detection",
100
+ "choices": ["Yes, parasites are present", "No, no parasites visible", "Cannot determine"],
101
+ "correct_answer": "Yes, parasites are present",
102
+ "explanation": "Malaria trophozoites are visible within red blood cells.",
103
+ "difficulty": "easy"
104
+ }
105
+ ```
106
+
107
+ ### Data Fields
108
+
109
+ - `question_id`: Unique identifier for each question
110
+ - `image_id`: Identifier for the associated microscopy image
111
+ - `question`: The question text
112
+ - `question_type`: Type of question (detection, classification, species, severity, count, localization)
113
+ - `choices`: List of multiple choice options
114
+ - `correct_answer`: The correct answer from choices
115
+ - `explanation`: Detailed explanation for the correct answer
116
+ - `difficulty`: Question difficulty level (easy, medium, hard)
117
+
118
+ ### Data Splits
119
+
120
+ | Split | Questions | Images |
121
+ |-------|-----------|---------|
122
+ | Train | 67 | 59 |
123
+ | Validation | 14 | 13 |
124
+ | Test | 15 | 15 |
125
+
126
+ ## Question Type Distribution
127
+
128
+
129
+ ### Train Split
130
+ - **detection**: 35
131
+ - **classification**: 18
132
+ - **species**: 5
133
+ - **severity**: 9
134
+
135
+ ### Metadata Split
136
+
137
+ ### Val Split
138
+ - **severity**: 1
139
+ - **detection**: 6
140
+ - **classification**: 5
141
+ - **species**: 1
142
+ - **count**: 1
143
+
144
+ ### Test Split
145
+ - **detection**: 7
146
+ - **classification**: 6
147
+ - **species**: 2
148
+
149
+
150
+ ## Medical Domain Coverage
151
+
152
+ ### Parasite Types
153
+ - **Trophozoite**: Mature, amoeboid forms within red blood cells
154
+ - **Ring forms**: Early developmental stages with characteristic ring appearance
155
+ - **Schizont**: Dividing forms containing multiple nuclei
156
+ - **Gametocyte**: Sexual forms for mosquito transmission
157
+
158
+ ### Plasmodium Species
159
+ - **P. falciparum**: Most dangerous species, causes severe malaria
160
+ - **P. vivax**: Wide geographic distribution, causes relapsing malaria
161
+ - **P. malariae**: Causes quartan fever with 72-hour cycles
162
+ - **P. ovale**: Similar to P. vivax, less common
163
+
164
+ ### Clinical Parameters
165
+ - **Parasitemia Levels**: Low (<1%), Moderate (1-5%), High (5-15%), Severe (>15%)
166
+ - **Cell Types**: Red blood cells (RBCs), white blood cells (WBCs), platelets
167
+ - **Morphological Features**: Cytoplasm, nucleus, pigment, vacuoles
168
+
169
+ ## Dataset Creation
170
+
171
+ ### Source Data
172
+ - **Lacuna/Zindi Challenge**: Bounding box annotations for trophozoites and cell types
173
+ - **NIH Malaria Cell Images**: Parasitized vs uninfected cell classifications
174
+ - **Research Datasets**: Additional microscopy data sources
175
+
176
+ ### Quality Control
177
+ Multi-stage filtering pipeline inspired by Medical-CXR-VQA:
178
+ 1. **Language Quality**: Grammar, clarity, choice consistency
179
+ 2. **Medical Accuracy**: Domain terminology validation
180
+ 3. **Answer Consistency**: Logical question-answer alignment
181
+ 4. **Complexity Analysis**: Difficulty-appropriate complexity scoring
182
+ 5. **Diversity Control**: Prevents repetitive questions
183
+
184
+ ### Annotation Process
185
+ Questions generated using:
186
+ - Template-based generation with medical domain knowledge
187
+ - Automated answer derivation from image annotations
188
+ - Quality filtering with configurable thresholds
189
+ - Expert-informed question templates and explanations
190
+
191
+ ## Uses
192
+
193
+ ### Direct Use
194
+ - Training VQA models for medical microscopy
195
+ - Benchmarking medical AI systems
196
+ - Educational tools for parasitology training
197
+ - Clinical decision support development
198
+
199
+ ### Research Applications
200
+ - Multi-modal medical AI research
201
+ - Few-shot learning in medical domains
202
+ - Domain adaptation for microscopy analysis
203
+ - Automated diagnostic system evaluation
204
+
205
+ ## Considerations for Use
206
+
207
+ ### Social Impact
208
+ This dataset supports development of AI systems that could:
209
+ - **Positive**: Improve malaria diagnosis in resource-limited settings
210
+ - **Positive**: Accelerate medical training and education
211
+ - **Positive**: Reduce diagnostic errors and improve patient outcomes
212
+
213
+ ### Limitations
214
+ - Limited to specific microscopy image types and staining methods
215
+ - Questions focus on common malaria scenarios (may not cover rare cases)
216
+ - Geographic/demographic bias from source datasets
217
+ - Simplified species identification (real diagnosis requires more context)
218
+
219
+ ### Recommendations
220
+ - Use in conjunction with expert medical validation
221
+ - Consider additional clinical context for real-world applications
222
+ - Validate performance across different microscopy protocols
223
+ - Regular updates as medical knowledge evolves
224
+
225
+ ## Additional Information
226
+
227
+ ### Dataset Curators
228
+ Generated using automated VQA pipeline with medical domain expertise.
229
+
230
+ ### Licensing Information
231
+ MIT License - Free for research and commercial use with attribution.
232
+
233
+ ### Citation Information
234
+ ```bibtex
235
+ @dataset{malaria_vqa_2025,
236
+ title={Malaria Microscopy VQA Dataset},
237
+ author={Generated by Malaria VQA Pipeline},
238
+ year={2025},
239
+ publisher={Hugging Face},
240
+ url={https://huggingface.co/datasets/[YOUR_USERNAME]/malaria-vqa}
241
+ }
242
+ ```
243
+
244
+ ### Contributions
245
+ Dataset created using advanced quality filtering pipeline inspired by Medical-CXR-VQA methodology.