TL;DR
This paper tackles the challenge of classifying wafer defects in semiconductor manufacturing, where obtaining large amounts of labeled data is expensive and time-consuming. They propose a two-stage framework that first leverages momentum contrastive learning on abundant unlabeled wafer bin maps to learn robust feature representations, followed by a few-shot prototypical network for fine-tuning with minimal labeled data, achieving competitive classification performance.
What Problem Does This Paper Address?
Semiconductor manufacturing is a complex process with hundreds of steps, leading to potential defects that significantly impact yield and profitability. Wafer Bin Maps (WBMs) are crucial for identifying these defects by showing the pass/fail status of individual chips on a wafer. Automatically classifying these WBMs can provide valuable insights for process improvement. However, state-of-the-art deep learning models for this task typically require vast amounts of labeled data, which is a bottleneck due to the manual effort and time involved in labeling WBMs. This scarcity of labeled data, coupled with the abundance of readily available unlabeled WBMs, presents a significant challenge for practical deployment of these models.
Methods
The proposed solution is a two-stage framework:
- Self-Supervised Pre-training with Momentum Contrastive Learning: This stage focuses on learning powerful feature representations from a large corpus of unlabeled WBMs.
- Data Augmentation: Two augmented views of each WBM are created using simple transformations like rotation and flipping to preserve defect patterns.
- Momentum Contrastive Learning: This core technique uses two encoders: a "query encoder" and a "momentum key encoder." The query encoder is updated via backpropagation. The momentum key encoder's parameters are an exponential moving average of the query encoder's parameters, ensuring it evolves more slowly. This momentum mechanism helps maintain a stable and high-quality representation of the data.
- Queue for Dictionary: A queue is used to store embeddings from previous batches, acting as a large, dynamic dictionary. This decouples the dictionary size from the batch size, allowing for more negative samples during contrastive learning.
- Contrastive Loss (InfoNCE): The loss function aims to maximize the similarity between positive pairs (query and its corresponding key) while minimizing similarity with negative samples (query and keys in the queue).
- Few-Shot Fine-Tuning with Prototypical Networks: After pre-training, the learned encoder is fine-tuned on a small amount of labeled data.
- Prototypical Network: This method learns class prototypes by averaging the embeddings of support set samples (labeled examples for a few classes). Classification is then performed by calculating the distance between a query sample's embedding and these class prototypes.
- Two-Stage Approach: Crucially, the prototypical network is only used during the fine-tuning stage, distinct from methods that might integrate self-supervised and few-shot learning jointly.
Datasets
The primary dataset used is the WM-811K dataset, which is publicly available.
- It contains 811,457 wafer maps from 46,293 lots.
- It includes nine categories of defect patterns.
- Only 172,950 WBMs are labeled by experts, while the remaining 638,507 are unlabeled.
- For pre-training, 500,000 unlabeled WBMs were utilized.
- The labeled dataset consists of eight systematic defect patterns and one "none" (no defect) category.
Key Insights and Ideas
- Leveraging Unlabeled Data is Key: The paper strongly advocates for the immense value of large unlabeled datasets in scenarios where labeled data is scarce. Momentum contrastive learning proves effective in extracting meaningful representations from this abundant unlabeled data.
- Momentum Contrastive Learning for Stability: The momentum encoder's slow update mechanism is highlighted as crucial for improving the quality and stability of learned representations, outperforming standard contrastive learning in their experiments.
- Two-Stage Approach for Efficiency: Separating self-supervised pre-training from few-shot fine-tuning allows for efficient learning. The pre-training extracts general features, and the fine-tuning specializes them with minimal labeled data.
- Prototypical Networks for Low-Data Regimes: Prototypical networks are shown to be highly effective for fine-tuning in low-data scenarios, enabling accurate classification with very few labeled examples.
- Removing "None" Type Improves Specific Defect Classification: Experimentally, removing the "none" (no defect) class during fine-tuning for specific defect classification tasks led to improved performance on the remaining defect types.
Key Results
- The proposed method achieved satisfactory classification accuracy using a limited amount of labeled data.
- It outperformed comparative methods (ICCAD'21 and DAC'20) in terms of macroaveraged precision, recall, and F1-score. For instance, it achieved a 9.2% rise in F1-score compared to ICCAD'21 when considering nine defect types.
- An ablation study demonstrated that momentum contrastive learning pre-training significantly improved classification recall by up to 5% compared to training without pre-training, even when the labeled data was reduced to 10%.
- The performance of fine-tuning with 10% labeled data after momentum contrastive learning was comparable to training with 20% data without momentum contrastive learning, highlighting the reduction in labeling requirements.
Limitations and Future Work
- Computational Intensity: Momentum contrastive learning is computationally intensive, which limited the authors' ability to perform extensive hyperparameter tuning using methods like grid search or Bayesian optimization.
- Single-Defect Focus: The current framework is designed for single-defect classification. The paper acknowledges that real-world scenarios often involve multiple defects on a single wafer, which can confuse single-defect classifiers.
- Future Work: The authors propose extending their research to multidefect classification by developing models capable of identifying multiple defect types simultaneously. They also suggest combining self-supervised learning with multidefect classification to enhance representation ability for these more complex scenarios.
Summary updated