TL;DR
This paper introduces a training-free, zero-shot framework for classifying semiconductor wafer map defects using Large Multimodal Models (LMMs) like GPT-4o. By combining "visual prompts" (highlighting defect clusters) with "rule-ordered textual prompts" that define morphology and exclusion criteria, the system achieves up to 93.8% accuracy without ever seeing a single training example from the target dataset.
What Problem Does This Paper Address?
In semiconductor manufacturing, wafer maps—2D grids representing pass/fail test results for dies—are critical for diagnosing production issues. However, traditional automated classification faces a "cold start" problem: new production lines or process nodes often lack the massive labeled datasets required to train supervised deep learning models. Furthermore, when production conditions change (e.g., wafer size or product design), these models often require expensive retraining.
The authors tackle the challenge of zero-shot multi-class classification. They aim to create a system that can accurately categorize fine-grained defect patterns (like "Donut" vs. "Center") immediately upon deployment, using only the general reasoning capabilities of a frozen LMM and expert-defined rules.
Methods
The researchers propose a dual-prompting strategy to guide a frozen LMM (specifically GPT-4o) through a semantic decision process:
- Visual Prompting (Connected-Component Highlighting): Instead of feeding the LMM a raw, noisy wafer map, the system identifies the largest connected clusters of failed dies. It highlights the top-K regions with distinct colors (e.g., red for the largest, blue for the second). This provides the model with clear "region-level visual references."
- Class-Semantic Rules: For each of the six defect classes, the authors developed a structured rule consisting of:
- Morphology: Geometric description (e.g., "hollow ring," "elongated trace").
- Spatial Anchor: Where it appears on the wafer (e.g., "near center," "attached to boundary").
- Exclusion Condition: Explicit instructions on how to distinguish it from similar classes (e.g., a "Center" defect must not have a hollow opening, which would make it a "Donut").
- Rule Ordering: Recognizing that LMMs are sensitive to the order of information, the authors established a domain-informed priority sequence (Donut > Scratch > Edge > Random > Center > Local). This acts as an instruction-level bias to resolve cases where a wafer map might partially match multiple descriptions.
Datasets
The framework was evaluated on two major industrial benchmarks:
- Mixed-WM38: A dataset of 6,866 maps featuring six single-pattern defect categories. These maps are generally clean and have visually dominant patterns.
- WM811K: A larger, real-world dataset from which 9,000 maps were sampled. This dataset is significantly more challenging due to varying wafer sizes and fragmented, ambiguous defect patterns.
Key Insights and Ideas
- Names Aren't Enough: Simply listing class names in a prompt leads to poor performance (only 63.6% accuracy on Mixed-WM38). The LMM needs the "why" and "how" provided by morphology and exclusion rules to resolve overlaps.
- The Power of "Not": The "exclusion boundary" is a key innovation. By telling the model what a defect is not (e.g., "Edge rejects inward compact clusters"), the authors successfully separated classes that share spatial cues, like boundary proximity.
- Order as Logic: The presentation order of rules serves as a "soft" decision tree. By placing more diagnostic or specific patterns (like Donut or Scratch) earlier in the prompt, the model is biased toward these interpretations when evidence is ambiguous.
Key Results
- Mixed-WM38: The "Multi-region" prompting achieved 93.8% overall accuracy and 92.9% macro accuracy. This is a massive jump from the 37.5% accuracy achieved using raw, un-highlighted images.
- WM811K: Performance reached 81.3% overall accuracy. While lower than Mixed-WM38, it still represents a significant improvement over raw image baselines (43.7%).
- Rule Sensitivity: Testing eight alternative rule orders showed that the selected domain-informed order was superior. Changing the order could swing accuracy by several percentage points, confirming that prompt sequencing is a vital design choice for frozen LMMs.
Limitations and Future Work
The primary limitation is inference speed and cost. Using an API-based LMM takes roughly 0.5–1 second per image, which is significantly slower and more expensive than a local, specialized CNN.
Additionally, the performance gap on the WM811K dataset highlights that real-world "noise" and ambiguous labeling (where a human label might not perfectly match the visual morphology) remain a challenge for zero-shot models.
Future work will focus on evaluating robustness across different multimodal models and extending the framework to handle "mixed-pattern" wafers where multiple types of defects exist simultaneously.
Summary updated