Datasets:
Wafer VQA Dataset
Overview
Wafer VQA Dataset is a multimodal benchmark for wafer map understanding, visual question answering, and defect reasoning. It is built on top of the MixedWM38 wafer-map collection and organized into two annotation styles:
tuple_generation: one multi-question response per image, intended for GRPO or other sequence-level optimization settingsstepwise_reasoning: one stepwise dialogue per image, intended for supervised fine-tuning
Summary
- Images:
38,015PNG wafer maps - Total classes:
38 - Annotation styles:
2 - Source benchmark questions per image:
5 - Image resolution:
416 x 416 - Language: English
Directory Layout
Wafer_VQA_dataset/
βββ croissant.json
βββ generate_release_metadata.py
βββ annotations/
β βββ tuple_generation/
β β βββ train_5pct.json
β β βββ train.json
β β βββ val.json
β β βββ test.json
β βββ stepwise_reasoning/
β β βββ train.json
β β βββ val.json
β β βββ test.json
β βββ metadata/
β βββ class_taxonomy.json
β βββ eval_reference_pool.json
βββ images/
β βββ single/
β βββ mixed_2/
β βββ mixed_3/
β βββ mixed_4/
βββ knowledge_base/
β βββ location_targets_by_image.json
β βββ q4_q5_prompt_templates.json
β βββ root_cause_refs_by_class.json
β βββ visual_description_refs_by_class.json
βββ previews/
βββ class_preview_grid.png
Annotation Files
1. Tuple Generation
Files in annotations/tuple_generation/ store one consolidated response per image. Each sample keeps only:
idimageconversations
2. Stepwise Reasoning
Files in annotations/stepwise_reasoning/ store a step-by-step dialogue for the same wafer image. Each sample also keeps only:
idimageconversations
3. Evaluation Metadata
annotations/metadata/eval_reference_pool.json is a centralized evaluation reference file. It maps sample IDs to question-specific evaluation targets and metrics, including:
- exact-match targets
- multi-label reference sets
- reference answer pools for semantic evaluation
4. Class Taxonomy
annotations/metadata/class_taxonomy.json is the canonical class ontology for public release. It links:
- folder-level class IDs such as
edge_ring_scratch - canonical display labels such as
Edge-Ring+Scratch - component defect patterns used for Q2 answers
- image directories and sample counts
This file should be treated as the authoritative mapping layer for external users.
Data Schema
Each training sample follows this minimal schema:
{
"id": "donut_edge_ring_scratch_15558",
"image": "images/mixed_3/donut_edge_ring_scratch/wm38_15558.png",
"conversations": [
{"from": "system", "value": "..."},
{"from": "human", "value": "<image>\n..."},
{"from": "gpt", "value": "..."}
]
}
Notes:
imageis a relative path from the dataset root.conversationsuses the common multimodal chat format adopted by LLaVA-style loaders.- GRPO-style tuple samples use IDs with a
_multiqsuffix to distinguish them from stepwise samples derived from the same image. - The candidate option order in Q2 and Q3 is intentionally shuffled across samples to reduce position bias and should not be interpreted as a fixed label order.
Splits
Stepwise Reasoning Split
train: 7,602 samplesval: 3,800 samplestest: 26,613 samples
Tuple Generation Split
train_5pct: 1,900 samplestrain: 7,602 samplesval: 3,800 samplestest: 26,613 samples
Image Categories
The dataset contains 38 image categories:
1normal category8single-pattern categories29mixed-pattern categories
At the folder level, images are grouped into:
images/single: normal and single-pattern wafer mapsimages/mixed_2: two-pattern mixed wafer mapsimages/mixed_3: three-pattern mixed wafer mapsimages/mixed_4: four-pattern mixed wafer maps
Class Taxonomy
The release includes annotations/metadata/class_taxonomy.json to make the class ontology explicit and machine-readable.
The taxonomy separates three naming layers that were easy to confuse in the internal build artifacts:
class_id: folder-facing identifier such ascenter_edge_loc_scratchcanonical_label: public display label such asCenter+Edge-Loc+Scratchcomponent_pattern_labels: the canonical defect labels used by Q2 answers
Auxiliary Knowledge Base
The knowledge_base/ directory contains reference resources used during dataset generation and evaluation:
location_targets_by_image.json: image-level location labels for the localization questionvisual_description_refs_by_class.json: class-level visual description referencesq4_q5_prompt_templates.json: prompt variants for Q4 and Q5root_cause_refs_by_class.json: class-level root-cause analysis references
Responsible AI Notes
Data Limitations
- The dataset is derived from rendered wafer maps rather than raw fab imagery, inline sensors, or process logs.
- Class frequencies are benchmark-oriented and do not reflect real production-line prevalence.
- Root-cause answers are benchmark references rather than verified fab incident reports.
- The dataset is English-only and should not be assumed valid for multilingual operator workflows.
Data Biases
- The benchmark centers on a fixed ontology of nine defect patterns and five recurring questions.
- Mixed-pattern cases are compositionally formed from a limited pattern vocabulary, so real rare morphologies are underrepresented.
- The visual style is cleaner and more structured than many real manufacturing environments, which may induce overconfident model behavior.
Personal or Sensitive Information
The dataset contains no personal data, demographic attributes, medical records, or customer information. It consists of wafer-map images plus industrial defect-analysis text annotations.
Data Use Cases
- Recommended: multimodal fine-tuning, VQA benchmarking, defect classification, localization, visual description, and root-cause reasoning research on wafer maps.
- Recommended: robustness studies where Q2 and Q3 candidate options are intentionally shuffled to reduce position bias.
- Not established: direct production deployment for process control, yield disposition, or autonomous fab intervention without human review and site-specific validation.
Synthetic Data and Provenance
- The dataset contains derived and benchmark-structured data and should be treated as containing synthetic or semi-synthetic benchmark supervision.
- The source lineage traces back to MixedWM38 / WaferMap and the derived VQA packaging documented in this repository.
Source
This dataset is derived from the MixedWM38 wafer map collection:
- Repository: MixedWM38 / WaferMap
- Original paper: Wang et al., "Deformable Convolutional Networks for Efficient Mixed-type Wafer Defect Pattern Recognition"
Citation
If you use this dataset, please cite the original MixedWM38 source and add your own dataset citation here when your release metadata is finalized.
@article{wang2020deformable,
title={Deformable Convolutional Networks for Efficient Mixed-type Wafer Defect Pattern Recognition},
author={Wang, Junliang and Xu, Chuqiao and Yang, Zhen and Zhang, Jie and Li, Xinyu},
journal={IEEE Transactions on Semiconductor Manufacturing},
year={2020}
}
- Downloads last month
- 36