Deep Learning-based Multi Project InP Wafer Simulation for Unsupervised Surface Defect Detection

Emílio Dolgener Cantú, Rolf Klemens Wittmann, Oliver Abdeen, Patrick Wagner, Wojciech Samek, Moritz Baier, Sebastian LapuschkinarXiv 2025 · DOI

Abstract

In Multi-Project Wafer (MPW) manufacturing, the lack of a physical "golden standard" makes automated defect detection exceptionally challenging. Traditional methods rely on comparing identical dies, but MPW production often results in unique designs with no physical reference for comparison. This paper introduces a novel unsupervised approach that utilizes a U-Net architecture to generate photo-realistic, defect-free "synthetic golden standards" directly from binary CAD manufacturing plans. By performing image subtraction between the simulated reference and actual microscope captures, we enable high-precision defect detection without the need for labeled defect datasets. Our results demonstrate that formulating image generation as a quantized classification task yields superior stability, achieving an Average Precision (AP) of 0.98 on synthetic benchmarks.

Introduction

Quality control in semiconductor manufacturing typically relies on high-volume consistency. In standard production, an inspector can compare a chip against a known-perfect "golden die." However, in Indium-Phosphide (InP) Multi-Project Wafer (MPW) manufacturing, multiple distinct designs are integrated onto a single wafer to share costs. This results in extremely low production volumes for any single design, often leaving no physical reference for automated visual inspection.

Currently, this gap is filled by manual inspection. Human operators spend approximately 20 hours per wafer under a microscope, a process that is not only slow but also prone to fatigue, with miss rates estimated between 20% and 40%. To address this, we propose a deep learning framework that simulates the expected visual output of a CAD design, providing a virtual golden standard for automated inspection.

Methodology

Synthetic Golden Standard Generation

The core of our approach is a U-Net—a fully convolutional neural network—trained to translate multi-layer binary CAD plans into photo-realistic microscope images. We investigated two primary strategies for this image translation:

  1. Regression: The model directly predicts continuous RGB pixel values.
  2. Semantic Segmentation (Quantization): The color palette of the wafer is quantized into 64 distinct colors using $k$-means clustering. The model is then trained to classify each pixel into one of these 64 bins.

Our experiments showed that the quantization approach is significantly more stable and produces more consistent visual results than direct regression. To optimize these models, we evaluated several loss functions, including L2, Cross-Entropy, and Focal Loss. Notably, we found that using LPIPS (Learned Perceptual Image Patch Similarity) allowed the model to simulate realistic sensor and substrate noise, whereas standard pixel-wise losses tended to produce unnaturally smooth images.

Unsupervised Defect Detection

A key insight of this research is the "unsupervised" nature of the training. Because manufacturing defects are sparse and do not correlate with the structured CAD input, the U-Net fails to learn them. Instead, it learns the underlying relationship between the CAD layers and the intended physical structure, effectively "averaging out" anomalies. Consequently, the network generates a defect-free version of the input design.

Defect detection is then performed by subtracting the simulated synthetic image from the actual microscope photograph. Areas with high dissimilarity scores are flagged as potential defects.

Datasets

  • Real MPW Data: We utilized data from 9 real InP wafers, comprising 24 CAD layers and high-resolution stitched microscope imagery (~20k x 20k pixels).
  • Synthetic Data: To ensure reproducibility and provide a benchmark for the community, we developed five synthetic datasets. These mimic real wafer characteristics with 5 CAD layers and include procedurally generated defects such as dust, nitride liftoff, and residual resists, accompanied by pixel-perfect ground truth labels.

Results and Discussion

Our U-Net-based simulation significantly outperformed baseline pixel-wise decision tree models, with L2 errors an order of magnitude lower on real-world data. On synthetic datasets where ground truth is available, the template matching approach achieved an Average Precision (AP) of 0.98 for defect localization.

Beyond accuracy, the system is computationally efficient. While the physical manufacturing of an MPW can take months, these simulation models can be trained on modern GPUs in just a few hours. This speed allows for the potential integration of simulation-based checks at various stages of the fabrication pipeline.

Limitations and Future Work

Despite the high accuracy, the model occasionally produces "hallucination" artifacts—ripple-like patterns near the edges of simulated patches. These are primarily caused by the network's upsampling/downsampling architecture when inference patch sizes differ from training sizes. Additionally, sub-pixel misalignments between the rigid CAD layers and the stitched microscope photos can lead to false positives at the edges of components.

Future research will focus on improving post-inference alignment heuristics and exploring "human-in-the-loop" systems. By using these dissimilarity maps to guide human annotators, we can more efficiently build large-scale supervised datasets for even more robust defect classification.

Summary updated

BibTeX
@misc{cantu2025deep,
  author = {Emílio Dolgener Cantú and Rolf Klemens Wittmann and Oliver Abdeen and Patrick Wagner and Wojciech Samek and Moritz Baier and Sebastian Lapuschkin},
  title = {{Deep Learning-based Multi Project InP Wafer Simulation for Unsupervised Surface Defect Detection}},
  year = {2025},
  eprint = {2506.10713},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.10713},
}
Figure