Exploring Active Learning for Semiconductor Defect Segmentation

Lile Cai, Ramanpreet Singh Pahwa, Xun Xu, Jie Wang, Richard Chang, Lining Zhang, Chuan-Sheng Foo

Introduction

Deep learning has revolutionized semiconductor defect detection, particularly through semantic segmentation of X-Ray microscopy (XRM) images. However, the requirement for massive, pixel-perfect annotated datasets presents a significant bottleneck. Annotating XRM scans is both expensive and time-consuming. This paper addresses the challenge by proposing an active learning (AL) framework designed to minimize annotation effort while maintaining high performance.

The proposed framework includes a segmentation pipeline (a) and an active learning loop (b) for iterative model improvement.

The framework tackles two primary hurdles in the semiconductor domain:

  1. Domain Shift: Standard models pre-trained on natural images (e.g., ImageNet) perform poorly on specialized X-Ray scans, which lack the visual features of common objects like animals or vehicles.
  2. Class Imbalance: Critical defects, such as voids in solder joints, are extremely rare and occupy very small pixel areas compared to normal structures, making them difficult for standard AL methods to identify.

Methodology

The authors introduce a two-pronged strategy to enhance label efficiency and model robustness.

Contrastive Pretraining

To overcome domain shift, the model undergoes self-supervised contrastive pretraining using the SimCLR framework directly on unlabelled XRM data. The U-Net decoder's output is processed through a global pooling layer and a projection head, forcing the model to learn domain-specific feature representations before any manual labeling occurs. This ensures the model starts with a meaningful understanding of X-Ray image structures rather than irrelevant natural image features.

Rareness-Aware Acquisition

The core of the AL cycle is the acquisition function, which selects the most informative images for human annotation. The proposed "rareness-aware" function combines three metrics:

  • Rareness: Uses the model's own pseudo-labels to prioritize images predicted to contain rare defect classes.
  • Uncertainty: Targets images where the model's prediction entropy is high, indicating low confidence.
  • Diversity: Ensures the selected batch is visually distinct from existing training data to avoid redundancy.

A key technical insight is that using the maximum pixel-level rareness score for an image is more effective than the mean. This "max-over-mean" aggregation prevents small, critical defects from being statistically drowned out by the surrounding background pixels.

Experimental Results

The framework was evaluated on a custom dataset of 3D XRM scans from logic and memory dies, containing classes such as copper pillars, solder, and voids. The dataset comprised over 4,000 images for training and nearly 1,000 for testing.

Performance comparison showing (a) the impact of different pretraining strategies and (b) the superiority of the Rareness-Aware method against state-of-the-art active learning algorithms.

The results demonstrate exceptional efficiency:

  • Label Efficiency: The method achieves a mean Intersection over Union (mIoU) of 78.18% using only 200 annotated images—just 4.9% of the total training set.
  • Performance Benchmarks: This score represents 98% of the performance achieved by a fully supervised model trained on the entire dataset (indicated by the dashed line in the figures).
  • Comparative Advantage: The rareness-aware approach consistently outperformed state-of-the-art AL methods like CoreSet, VAAL, and BADGE. Ablation studies confirmed that the rareness term alone provided a significant boost in mIoU, highlighting its critical role in handling class imbalance.

Conclusion

By combining domain-specific contrastive pretraining with a rareness-aware sampling strategy, this framework significantly reduces the data burden for semiconductor defect segmentation. The ability to reach near-peak performance with less than 5% of the data suggests a scalable and cost-effective path forward for automated quality control in high-precision semiconductor manufacturing.

Summary updated

BibTeX
@inproceedings{cai2022exploring,
  author = {Lile Cai and Ramanpreet Singh Pahwa and Xun Xu and Jie Wang and Richard Chang and Lining Zhang and Chuan-Sheng Foo},
  title = {{Exploring Active Learning for Semiconductor Defect Segmentation}},
  booktitle = {ICIP},
  year = {2022},
}
Figure