Morphology-Aware Ambiguity Learning for Wafer Defect Decision Support
Organizations: School of Industrial and Management Engineering, Korea University, Seoul 02841, Republic of Korea
Abstract
Wafer map defect recognition is commonly formulated as a fixed-taxonomy classification problem that assigns each wafer to a single defect class. However, some wafers exhibit morphologies near class boundaries, for which forcing a single prediction may be less informative than providing plausible diagnostic alternatives. This paper proposes a morphology-aware ambiguity learning framework that supports three diagnostic actions: automatic single-class diagnosis, assisted diagnosis with two plausible defect classes, and full review. Using the radial, angular, and geometric characteristics of training wafer maps, the framework constructs a class-level ambiguity matrix representing defect-class pairs with similar morphology and plausible diagnostic alternatives. It guides the model to learn plausible alternative classes rather than treating all incorrect classes equally. During inference, the matrix determines whether an uncertain prediction can be represented by a meaningful two-class diagnostic set or should be escalated for full review. Experiments on WM-811K show that the proposed framework outperforms conventional approaches in defect recognition and diagnostic decision support, providing meaningful two-class alternatives while reserving full review for cases with unresolved ambiguity. Illustrative cost analyses further show the potential cost advantage of the proposed routing strategy. The diagnostic behavior of the framework remains consistent across different backbone architectures.
Figures & tables
| Class name | Diagnostic role | |
|---|---|---|
| 0 | Nonpattern | No identifiable failure pattern |
| 1 | Center | Defect concentrated at wafer center |
| 2 | Donut | Ring-shaped defect around the center |
| 3 | Edge-Loc | Localized cluster on the wafer edge |
| 4 | Edge-Ring | Full peripheral ring |
| 5 | Loc | Localized cluster away from the edge |
| Method | Target structure | Macro-F1 | Defect macro-F1 | Defect bal. acc. |
|---|---|---|---|---|
| CE | Hard one-hot | 0.9154 0.0059 | 0.9176 0.0049 | 0.8934 0.0060 |
| LS | Uniform across all classes | 0.9109 0.0063 | 0.9174 0.0074 | 0.8914 0.0142 |
| Uniform across defect classes | 0.9093 0.0090 | 0.9120 0.0097 | 0.8863 0.0112 | |
| Raw-pixel-derived | 0.9114 0.0043 | 0.9138 0.0038 | 0.8855 0.0095 | |
| Morphology-derived | 0.9201 0.0076 | 0.9245 0.0082 | 0.9009 0.0153 |
| Class | Samples | F1 | ||
|---|---|---|---|---|
| Center | 859 | 0.9512 0.0015 | 0.9493 0.0060 | +0.0020 |
| Donut | 111 | 0.8915 0.0100 | 0.8781 0.0307 | +0.0134 |
| Edge-Loc | 1,038 | 0.8777 0.0154 | 0.8600 0.0101 | +0.0177 |
| Edge-Ring | 1,936 | 0.9840 0.0038 | 0.9801 0.0049 | +0.0038 |
| Loc | 718 | 0.8431 0.0085 | 0.8195 0.0122 | +0.0236 |
| Near-full | 30 | 0.9583 0.0326 | 0.9546 0.0348 | +0.0037 |
| Automatic | Assisted | Full review | |
|---|---|---|---|
| Coverage | 94.2% | 1.9% | 3.8% |
| Top-1 acc. | 99.75% | 77.1% | 74.1% |
| Top-2 incl. | – | 95.2% | 96.1% |
| Assisted set | Full review | |||||
| Annotated class | Share | Top-2 incl. | Share | Top-2 incl. | ||
| Nonpattern | 21 | 3.2% | 0.0% † | 782 | 58.7% | 100.0% |
| Center | 66 | 9.9% | 97.3% | 78 | 5.8% | 93.9% |
| Donut | 43 | 6.5% | 96.1% | 3 | 0.2% | 47.5% † |
| Edge-Loc | 229 | 34.2% | 99.3% | 222 | 16.7% | 93.8% |
| Edge-Ring | 62 | 9.3% | 99.6% | 27 | 2.0% | 88.2% † |
| Variant | |||||
|---|---|---|---|---|---|
| No assisted action | – | 0.0810 | 0.0810 | 0.0810 | 0.0810 |
| 0.015 | 0.0636 | 0.0656 | 0.0675 | 0.0714 | |
| 0.015 | 0.0711 | 0.0737 | 0.0762 | 0.0812 | |
| 0.040 | 0.0709 | 0.0720 | 0.0732 | 0.0754 | |
| 0.040 | 0.0938 | 0.0938 | 0.0938 | 0.0938 |
| Automatic | Assisted set | Full review | ||||
|---|---|---|---|---|---|---|
| Method | Coverage | Top-1 | Coverage | Named-patterns | Top-2 incl. | Coverage |
| CE confidence | 93.9% | 99.76% | 4.8% | 24.8% | 98.1% | 1.2% |
| Our framework | 94.2% | 99.75% | 1.9% | 100.0% | 95.2% | 3.8% |
| Variant | Macro-F1 | Defect macro-F1 | |
|---|---|---|---|
| 0.5 | 0.9161 0.0096 | 0.9183 0.0133 | |
| 0.5 | 0.9189 0.0043 | 0.9221 0.0082 | |
| 0.8 | 0.9201 0.0076 | 0.9245 0.0082 | |
| 0.8 | 0.9093 0.0090 | 0.9120 0.0097 | |
| 0.9 | 0.9113 0.0029 | 0.9148 0.0051 | |
| 0.9 | 0.9120 0.0057 | 0.9150 0.0042 |
| Backbone | Auto cov. | Auto top-1 | Asst. cov. | Asst. top-2 |
|---|---|---|---|---|
| ResNet-18 | 93.4% | 99.80% | 2.3% | 95.7% |
| ResNet-34 | 94.2% | 99.75% | 1.9% | 95.2% |
| ResNet-50 | 93.2% | 99.77% | 2.4% | 95.9% |
| MobileNetV2 | 93.1% | 99.76% | 2.3% | 95.6% |
| ShuffleNetV2 | 92.1% | 99.79% | 2.6% | 95.8% |
| EfficientNet-B0 | 93.2% | 99.79% | 2.1% | 96.3% |
| Hyperparameter | Value |
|---|---|
| Optimizer | AdamW |
| Learning rate | |
| Weight decay | |
| Batch size | 64 |
| Maximum epochs | 50 |
| Learning-rate schedule | Cosine annealing |
| Hyperparameter | Value |
| Radial bins | 10 |
| Angular sectors | 12 |
| Peripheral radius threshold | 0.7 |
| Hough accumulator threshold | 3 |
| Descriptor dimension | 23 |
| Diagonal mass | 0.8 |
| 0.9227 | 0.9226 | 0.9153 | |
| 0.9229 | 0.9252 | 0.9229 | |
| 0.9239 | 0.9314 | 0.9210 | |
| 0.9266 | 0.9257 | 0.9234 |
| Action under CE confidence | Action under our framework | Wafers |
|---|---|---|
| ( Nonpattern pairs excluded) | ||
| Assisted diagnosis | Assisted diagnosis | 290 |
| Full review | Assisted diagnosis | 173 |
| Automatic diagnosis | Assisted diagnosis | 206 |
| Assisted diagnosis | Automatic diagnosis or full review | 124 |
Classification
Classification maps observations to discrete labels, including familiar, unknown, hierarchical, or multiple categories.
See all 407 papers