Wafer Map Defect Classification Using Autoencoder-Based Data Augmentation and Convolutional Neural Network

Yin-Yin Bao, Er-Chao Li, Hong-Qiang Yang, Bin-Bin JiaarXiv 2024 · DOI

TL;DR

This paper tackles the challenge of accurately classifying defects on semiconductor wafers, which is crucial for improving manufacturing yields. They propose a novel approach that uses a denoising autoencoder to augment the training data, making it more diverse and balanced, and then feeds this enhanced data into a Convolutional Neural Network (CNN) for classification. This method significantly improves defect classification accuracy, especially for rare defect types, outperforming traditional machine learning techniques.

What Problem Does This Paper Address?

Semiconductor manufacturing is a complex process where even minor defects on wafer maps (WDMs) can lead to significant yield losses. Identifying and classifying these defects is vital for diagnosing issues and improving production. However, this task is difficult due to several factors:

  • Noisy Data: Wafer maps can contain artifacts from measurement errors, environmental factors, or process variations, obscuring the true defect patterns.
  • Class Imbalance: Some defect types are much rarer than others, leading to datasets where the model is biased towards common defects and performs poorly on rare ones.
  • Complex Failure Modes: Defects can manifest in intricate and varied patterns, making them hard to distinguish.

Traditional methods often struggle with these challenges, relying on handcrafted features or being sensitive to noise and imbalance. This paper aims to develop a more robust and accurate method for WDM defect classification.

Methods

The core of the proposed method lies in a two-stage process:

  1. Autoencoder-Based Data Augmentation:
    • A denoising autoencoder is trained to reconstruct wafer maps.
  2. Crucially, Gaussian noise is intentionally added to the latent space representation of the wafer maps. This "noised" latent representation is then decoded back into an image.
  3. This process generates synthetic wafer maps that are similar to the original but introduce variations, effectively augmenting the dataset. This technique helps to:
  4. Increase data diversity.
  5. Mitigate class imbalance by generating more examples for underrepresented defect types.
  6. Improve the model's generalization ability by exposing it to slightly perturbed versions of the data.
  7. Convolutional Neural Network (CNN) Classification:
    • The augmented dataset is then used to train a Convolutional Neural Network (CNN).
  8. The CNN architecture consists of multiple convolutional layers designed to automatically extract hierarchical spatial features from the wafer maps.
  9. These features are then processed by fully connected layers to perform the final classification into different defect types.

The authors also conducted an ablation study to understand the contribution of different architectural components (e.g., specific convolutional or dense layers) to the overall performance.

Datasets

The primary dataset used in this study is the WM-811K dataset.

  • This dataset contains 811,457 wafer images.
  • A portion of this dataset is manually labeled, comprising 172,950 images with 8 distinct defect labels (0-7) and a label for defect-free wafers.
  • The dataset exhibits significant class imbalance, with some defect types being much rarer than others.

The authors also mention that the manually labeled portion of the dataset comprises 172,950 images with 8 distinct labels (0-7).

Key Insights and Ideas

  • Noise as a Feature Augmenter: The novel idea of intentionally adding noise to the latent space of an autoencoder is a clever way to generate diverse, yet semantically similar, synthetic data. This is more sophisticated than simple image transformations.
  • Latent Space Manipulation for Balance: By manipulating the latent space, the autoencoder can generate augmented samples that are more likely to capture the underlying structure of the defects, rather than just adding random noise to the image pixels. This is particularly effective for addressing class imbalance.
  • CNNs Benefit Greatly from Balanced Data: The experiments clearly show that while CNNs are powerful feature extractors, their performance is significantly hampered by class imbalance. Data augmentation, especially with the autoencoder approach, is crucial for unlocking their full potential.
  • Interpretability through Occlusion: The use of occlusion sensitivity analysis to create a heatmap revealing critical regions for classification provides valuable insight into why the model makes certain predictions, increasing trust in the deep learning approach.

Key Results

  • The proposed CNN-AUG model achieved a classification accuracy of 98.56% on the WM-811K dataset.
  • This significantly outperformed traditional machine learning models:
  • Random Forest: 19% lower accuracy.
  • SVM: 21% lower accuracy.
  • Logistic Regression: 27% lower accuracy.
  • The AUC score reached 1.00, indicating perfect discriminative capability between classes after augmentation.
  • The Average Precision (AP) score also reached 1.00, demonstrating exceptional precision across varying thresholds.
  • The confusion matrix analysis showed substantial improvements, especially for previously underrepresented classes like 'Loc' (from 80% to 97%) and 'Random' (from 39% to 100%).
  • The ablation study indicated that both the third convolutional layer and the first fully-connected layer are important for optimal performance.

Limitations and Future Work

  • Handling Arbitrarily Shaped Wafer Maps: The current method requires resizing wafer maps to a uniform shape, which can distort defect patterns. Future work aims to explore techniques for handling arbitrarily shaped maps without resizing.
  • Improving Accuracy for Minority Defect Categories: While overall performance is high, some minority defect categories (like 'Scratch' and 'Near-Full') still have lower accuracy. Future efforts will focus on adaptive and class-specific data augmentation strategies and cost-sensitive learning methods.
  • Generalization to Other Datasets: While the WM-811K dataset is comprehensive, testing the model's performance on other WDM datasets would further validate its generalizability.

Summary updated

BibTeX
@misc{bao2024wafer,
  author = {Yin-Yin Bao and Er-Chao Li and Hong-Qiang Yang and Bin-Bin Jia},
  title = {{Wafer Map Defect Classification Using Autoencoder-Based Data Augmentation and Convolutional Neural Network}},
  year = {2024},
  eprint = {2411.11029},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.11029},
}
Figure