harpreetsahota commited on
Commit
794df7c
·
verified ·
1 Parent(s): bc093d5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +130 -89
README.md CHANGED
@@ -15,18 +15,20 @@ tags:
15
  - image-classification
16
  - image-segmentation
17
  - object-detection
18
- dataset_summary: '
 
19
 
20
 
21
 
22
 
23
- This is a [FiftyOne](https://github.com/voxel51/fiftyone) dataset with 642 samples.
 
24
 
25
 
26
  ## Installation
27
 
28
 
29
- If you haven''t already, install FiftyOne:
30
 
31
 
32
  ```bash
@@ -48,9 +50,9 @@ dataset_summary: '
48
 
49
  # Load the dataset
50
 
51
- # Note: other available arguments include ''max_samples'', etc
52
 
53
- dataset = load_from_hub("harpreetsahota/SLAKE")
54
 
55
 
56
  # Launch the App
@@ -58,20 +60,15 @@ dataset_summary: '
58
  session = fo.launch_app(dataset)
59
 
60
  ```
61
-
62
- '
63
  ---
64
 
65
  # Dataset Card for SLAKE
66
 
67
- <!-- Provide a quick summary of the dataset. -->
68
-
69
-
70
-
71
-
72
-
73
  This is a [FiftyOne](https://github.com/voxel51/fiftyone) dataset with 642 samples.
74
 
 
 
75
  ## Installation
76
 
77
  If you haven't already, install FiftyOne:
@@ -88,141 +85,185 @@ from fiftyone.utils.huggingface import load_from_hub
88
 
89
  # Load the dataset
90
  # Note: other available arguments include 'max_samples', etc
91
- dataset = load_from_hub("harpreetsahota/SLAKE")
92
 
93
  # Launch the App
94
  session = fo.launch_app(dataset)
95
  ```
96
 
97
 
98
- ## Dataset Details
99
 
100
- ### Dataset Description
 
 
 
 
 
 
 
 
 
 
 
 
101
 
102
- <!-- Provide a longer summary of what this dataset is. -->
 
 
 
 
 
103
 
 
 
 
 
 
 
104
 
105
 
106
- - **Curated by:** [More Information Needed]
107
- - **Funded by [optional]:** [More Information Needed]
108
- - **Shared by [optional]:** [More Information Needed]
109
- - **Language(s) (NLP):** en
110
- - **License:** [More Information Needed]
111
 
112
- ### Dataset Sources [optional]
113
 
114
- <!-- Provide the basic links for the dataset. -->
115
 
116
- - **Repository:** [More Information Needed]
117
- - **Paper [optional]:** [More Information Needed]
118
- - **Demo [optional]:** [More Information Needed]
 
 
119
 
120
- ## Uses
121
 
122
- <!-- Address questions around how the dataset is intended to be used. -->
 
 
123
 
124
- ### Direct Use
125
 
126
- <!-- This section describes suitable use cases for the dataset. -->
127
 
128
- [More Information Needed]
 
 
 
 
 
129
 
130
  ### Out-of-Scope Use
131
 
132
- <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
133
-
134
- [More Information Needed]
 
 
 
135
 
136
  ## Dataset Structure
137
 
138
- <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
 
140
- [More Information Needed]
 
 
 
 
141
 
142
  ## Dataset Creation
143
 
144
  ### Curation Rationale
145
 
146
- <!-- Motivation for the creation of this dataset. -->
 
 
 
 
147
 
148
- [More Information Needed]
149
 
150
  ### Source Data
151
 
152
- <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
153
-
154
  #### Data Collection and Processing
155
 
156
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
 
 
 
157
 
158
- [More Information Needed]
 
 
159
 
160
  #### Who are the source data producers?
161
 
162
- <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
163
-
164
- [More Information Needed]
165
 
166
- ### Annotations [optional]
167
-
168
- <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
169
 
170
  #### Annotation process
171
 
172
- <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
173
-
174
- [More Information Needed]
 
 
175
 
176
  #### Who are the annotators?
177
 
178
- <!-- This section describes the people or systems who created the annotations. -->
179
-
180
- [More Information Needed]
181
 
182
  #### Personal and Sensitive Information
183
 
184
- <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
185
-
186
- [More Information Needed]
187
 
188
  ## Bias, Risks, and Limitations
189
 
190
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
191
-
192
- [More Information Needed]
 
 
 
193
 
194
  ### Recommendations
195
 
196
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
197
-
198
- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
199
 
200
- ## Citation [optional]
201
-
202
- <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
203
 
204
  **BibTeX:**
205
-
206
- [More Information Needed]
 
 
 
 
 
 
207
 
208
  **APA:**
209
-
210
- [More Information Needed]
211
-
212
- ## Glossary [optional]
213
-
214
- <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
215
-
216
- [More Information Needed]
217
-
218
- ## More Information [optional]
219
-
220
- [More Information Needed]
221
-
222
- ## Dataset Card Authors [optional]
223
-
224
- [More Information Needed]
225
-
226
- ## Dataset Card Contact
227
-
228
- [More Information Needed]
 
15
  - image-classification
16
  - image-segmentation
17
  - object-detection
18
+ - medical
19
+ dataset_summary: >
20
 
21
 
22
 
23
 
24
+ This is a [FiftyOne](https://github.com/voxel51/fiftyone) dataset with 642
25
+ samples.
26
 
27
 
28
  ## Installation
29
 
30
 
31
+ If you haven't already, install FiftyOne:
32
 
33
 
34
  ```bash
 
50
 
51
  # Load the dataset
52
 
53
+ # Note: other available arguments include 'max_samples', etc
54
 
55
+ dataset = load_from_hub("Voxel51/SLAKE")
56
 
57
 
58
  # Launch the App
 
60
  session = fo.launch_app(dataset)
61
 
62
  ```
63
+ license: cc-by-4.0
 
64
  ---
65
 
66
  # Dataset Card for SLAKE
67
 
 
 
 
 
 
 
68
  This is a [FiftyOne](https://github.com/voxel51/fiftyone) dataset with 642 samples.
69
 
70
+ ![image/png](SLAKE.gif)
71
+
72
  ## Installation
73
 
74
  If you haven't already, install FiftyOne:
 
85
 
86
  # Load the dataset
87
  # Note: other available arguments include 'max_samples', etc
88
+ dataset = load_from_hub("Voxel51/SLAKE")
89
 
90
  # Launch the App
91
  session = fo.launch_app(dataset)
92
  ```
93
 
94
 
95
+ # SLAKE Dataset Processing Overview
96
 
97
+ See the accompanying code in this repo for details on how the dataset was parsed.
98
+
99
+ ## Original Structure
100
+
101
+ ```
102
+ SLAKE/imgs/xmlab0/
103
+ ├── detection.json # Organ bounding boxes (absolute coordinates)
104
+ ├── question.json # VQA pairs (English + Chinese)
105
+ ├── mask_xmlab0.png # Segmentation mask (pixel values)
106
+ └── source_xmlab0.jpg # Medical image
107
+ ```
108
+
109
+ ## Key Processing Steps
110
 
111
+ 1. **Coordinate Conversion**: Converted absolute bounding boxes to relative coordinates for FiftyOne
112
+ 2. **Language Filtering**: Extracted English-only questions while preserving order
113
+ 3. **Mask Labeling**: Used mapping file to convert pixel values (70, 135, etc.) to organ names ("Liver", "Left Kidney")
114
+ 4. **Data Structuring**:
115
+ - Sample-level: location, modality, base_type
116
+ - Individual Q&A: question_0/answer_0, question_1/answer_1, etc.
117
 
118
+ ## Final FiftyOne Dataset
119
+ Each sample contains:
120
+ - Medical image with object detections (organ bounding boxes)
121
+ - Multi-class segmentation with readable organ labels
122
+ - VQA pairs as individual fields
123
+ - Sample metadata (imaging modality, body region, etc.)
124
 
125
 
126
+ ## Dataset Details
 
 
 
 
127
 
128
+ ### Dataset Description
129
 
130
+ SLAKE (Semantically-Labeled Knowledge-Enhanced) is a large-scale bilingual (English and Chinese) dataset for Medical Visual Question Answering (Med-VQA). It consists of radiology images across multiple modalities (CT, MRI, X-Ray) with detailed semantic annotations, comprehensive question-answer pairs, and a structured medical knowledge graph. SLAKE covers five body parts (head, neck, chest, abdomen, and pelvic cavity) and includes both visual reasoning and knowledge-based reasoning tasks. The dataset is specifically designed to advance the development of medical AI systems that can understand clinical images and answer medical questions.
131
 
132
+ - **Curated by:** Bo Liu, Li-Ming Zhan, Li Xu, Lin Ma, Yan Yang, Xiao-Ming Wu from The Hong Kong Polytechnic University, West China Hospital of Sichuan University, and Sichuan Academy of Medical Sciences/Sichuan Provincial People's Hospital
133
+ - **Funded by:** Research grant P0030935 (ZVPY) funded by PolyU (UGC)
134
+ - **Shared by:** The research team from Hong Kong Polytechnic University
135
+ - **Language(s) (NLP):** English (en)
136
+ - **License:** CC-BY-4.0
137
 
138
+ ### Dataset Sources
139
 
140
+ - **Repository:** http://www.med-vqa.com/slake
141
+ - **Dataset repo on Hugging Face:** huggingface.co/datasets/bokelvin/slake
142
+ - **Paper:** [SLAKE: A Semantically-Labeled Knowledge-Enhanced Dataset for Medical Visual Question Answering](https://arxiv.org/abs/2102.09542)
143
 
144
+ ## Uses
145
 
146
+ ### Direct Use
147
 
148
+ SLAKE is designed for training and evaluating Medical Visual Question Answering (Med-VQA) systems. These systems can be used to:
149
+ - Assist medical professionals in diagnosis by providing a second opinion
150
+ - Help patients better understand their medical imaging results
151
+ - Support clinical education and training of medical students and professionals
152
+ - Serve as a benchmark for measuring progress in medical AI for visual understanding and reasoning
153
+ - Develop multimodal medical AI systems that can integrate visual information with structured medical knowledge
154
 
155
  ### Out-of-Scope Use
156
 
157
+ The dataset should not be used for:
158
+ - Making clinical decisions without expert oversight
159
+ - Directly providing medical advice to patients without physician review
160
+ - Replacing radiologists or other medical professionals
161
+ - Applications outside the medical domain for which the dataset was not designed
162
+ - Claiming diagnostic capabilities without proper clinical validation
163
 
164
  ## Dataset Structure
165
 
166
+ The SLAKE dataset consists of:
167
+
168
+ - **Images**: 642 radiology images (282 CT scans, 181 MRI scans, 179 X-rays) covering five body parts (head, neck, chest, abdomen, pelvic cavity)
169
+
170
+ - **Question-Answer Pairs**: 14,028 QA pairs in both English and Chinese, categorized into 10 content types:
171
+ - Plane (1,280 questions)
172
+ - Quality (762 questions)
173
+ - Modality (1,492 questions)
174
+ - Position (2,678 questions)
175
+ - Organ (3,041 questions)
176
+ - Knowledge Graph (KG) (1,740 questions)
177
+ - Abnormal (1,696 questions)
178
+ - Color (647 questions)
179
+ - Shape (245 questions)
180
+ - Size (447 questions)
181
+
182
+ - **Semantic Annotations**:
183
+ - Segmentation masks for 39 organs and 12 diseases
184
+ - Bounding box annotations for all important structures
185
 
186
+ - **Knowledge Graph**:
187
+ - 2,603 English and 2,629 Chinese triplets in <head, relation, tail> format
188
+ - Covers medical concepts like organ functions, disease symptoms, treatments, etc.
189
+
190
+ - **Dataset Splits**: 70% training (450 images, 9,849 questions), 15% validation (96 images, 2,109 questions), 15% testing (96 images, 2,070 questions)
191
 
192
  ## Dataset Creation
193
 
194
  ### Curation Rationale
195
 
196
+ SLAKE was created to address significant limitations in existing Med-VQA datasets:
197
+ - Lack of semantic labels (segmentation masks, bounding boxes) for training models to find regions of interest
198
+ - Absence of external knowledge resources for answering complex clinical questions
199
+ - Limited coverage of body parts and imaging modalities
200
+ - Need for multilingual support to broaden applications
201
 
202
+ The dataset aims to facilitate more sophisticated medical visual reasoning systems that can leverage both visual content and structured medical knowledge.
203
 
204
  ### Source Data
205
 
 
 
206
  #### Data Collection and Processing
207
 
208
+ - Images were selected from three open-source datasets:
209
+ 1. Medical Segmentation Decathlon
210
+ 2. ChestXray-NIHCC (National Institutes of Health Clinical Center)
211
+ 3. CHAOS (Combined CT-MR Healthy Abdominal Organ Segmentation Challenge)
212
 
213
+ - 179 chest X-rays were randomly selected from ChestXray-NIHCC with original disease labels preserved
214
+ - 463 single-slice images were randomly chosen from 3D volume cases in other datasets
215
+ - For the knowledge graph, medical triplets were extracted from OwnThink (a Wikipedia-based knowledge base), then manually filtered and refined
216
 
217
  #### Who are the source data producers?
218
 
219
+ - The original medical images came from public healthcare research repositories
220
+ - The knowledge graph information was derived from OwnThink/Wikipedia
221
+ - Questions and annotations were created by experienced physicians and the research team
222
 
223
+ ### Annotations
 
 
224
 
225
  #### Annotation process
226
 
227
+ - Experienced physicians labeled organs and diseases using ITK-SNAP software
228
+ - The team developed a custom annotation system with question templates for each body part
229
+ - Physicians could choose from candidate questions or amend/rewrite them based on clinical experience
230
+ - Questions were semantically labeled to distinguish between vision-only and knowledge-based types
231
+ - Answer distribution was deliberately balanced to reduce statistical bias (e.g., yes/no questions were designed to have 50-50 distribution)
232
 
233
  #### Who are the annotators?
234
 
235
+ - Experienced physicians performed the image annotations and helped create clinically relevant questions
236
+ - The research team developed the annotation system and constructed the knowledge graph
237
+ - Medical students may have assisted in parts of the annotation process (implied in acknowledgments)
238
 
239
  #### Personal and Sensitive Information
240
 
241
+ The paper states that "This research study was conducted retrospectively using human subject data made available in open access" and that "Ethical approval was not required as confirmed by the license attached with the open access data." The dataset appears to use de-identified medical images from public research repositories.
 
 
242
 
243
  ## Bias, Risks, and Limitations
244
 
245
+ - The dataset is limited to five body parts and three imaging modalities
246
+ - Baseline models achieved only ~73% accuracy, indicating significant room for improvement before clinical use
247
+ - The dataset may reflect biases in the original image sources or in the question generation process
248
+ - Despite efforts to balance answers, some inherent biases may remain in the data
249
+ - Performance on this dataset alone should not be used to claim clinical efficacy
250
+ - The knowledge graph, while extensive, cannot capture all relevant medical knowledge
251
 
252
  ### Recommendations
253
 
254
+ Users should recognize that Med-VQA systems trained on this dataset require clinical validation before deployment in healthcare settings. The dataset should be used primarily for research and development purposes, with careful consideration of potential biases. Evaluation metrics beyond accuracy (such as explainability and clinical relevance) should be considered when developing systems based on this dataset.
 
 
255
 
256
+ ## Citation
 
 
257
 
258
  **BibTeX:**
259
+ ```
260
+ @article{liu2021slake,
261
+ title={SLAKE: A Semantically-Labeled Knowledge-Enhanced Dataset for Medical Visual Question Answering},
262
+ author={Liu, Bo and Zhan, Li-Ming and Xu, Li and Ma, Lin and Yang, Yan and Wu, Xiao-Ming},
263
+ journal={arXiv preprint arXiv:2102.09542},
264
+ year={2021}
265
+ }
266
+ ```
267
 
268
  **APA:**
269
+ Liu, B., Zhan, L.-M., Xu, L., Ma, L., Yang, Y., & Wu, X.-M. (2021). SLAKE: A Semantically-Labeled Knowledge-Enhanced Dataset for Medical Visual Question Answering. arXiv preprint arXiv:2102.09542.