원시데이터 수집 시스템
선정목록으로

Wafer map defect classification using deep learning framework with data augmentation on imbalance datasets

관련 필름·전자재료 · (14) 드라이 필름(포토레지스트)

기본 정보

저자
  1. Tsung‐Han Tsai — Department of Electrical Engineering, National Central University, Taoyuan, Taiwan
  2. Chieng-Yang Wang — Department of Electrical Engineering, National Central University, Taoyuan, Taiwan
DOI
10.1186/s13640-025-00666-3
저널
EURASIP Journal on Image and Video Processing
발행년도
2025
발행기관
Springer Nature
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1186/s13640-025-00666-3
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W4408479183

평가 내용

관련도
관련
사업분야
필름·전자재료 · (14) 드라이 필름(포토레지스트)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
규칙(키워드) 기반 평가로 '필름·전자재료 > 드라이 필름(포토레지스트)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Wafer map defect classification is a key task for the semiconductor industry to improve the yield rate. Most wafer map defect classifications suffer from the problem of data imbalance and insufficient data. This paper proposes a global-to-local generative adversarial network (G2LGAN) method using the deep learning framework. It extracts global features and local features separately to generate effective data even in the imbalanced dataset. We use random undersampling to suppress the majority class of data. We use MobilenetV2 as the classifier and use two datasets for validation. One is an open dataset called WM-811K and the other is called 21-Defect built from the industry. Based on the serious dataset imbalance problem, this paper integrates data enhancement and random undersampling methods to optimize the dataset and uses the proposed classification network for classification tasks. The results of the WM-811K dataset show that the proposed method has a classification accuracy of 98.39 and an F1-Score of 93.01. We also conduct cross-validation on the 21-Defect dataset and the results show that the proposed method has good robustness.

본문 33,502자

본문 펼치기
Wafer map defect classification is a key task for the semiconductor industry to improve the yield rate.Most wafer map defect classifications suffer from the problem of data imbalance and insufficient data.This paper proposes a global-to-local generative adversarial network (G2LGAN) method using the deep learning framework.It extracts global features and local features separately to generate effective data even in the imbalanced dataset.We use random undersampling to suppress the majority class of data.We use MobilenetV2 as the classifier and use two datasets for validation.One is an open dataset called WM-811K and the other is called 21-Defect built from the industry.Based on the serious dataset imbalance problem, this paper integrates data enhancement and random undersampling methods to optimize the dataset and uses the proposed classification network for classification tasks.The results of the WM-811K dataset show that the proposed method has a classification accuracy of 98.39 and an F1-Score of 93.01.We also conduct cross-validation on the 21-Defect dataset and the results show that the proposed method has good robustness. Introduction Semiconductor manufacturing technology has greatly improved in recent years.The complexity of the process and the environment, human error, and machine problems still make wafer defects unavoidable.The wafer map defect classification is essential to improving production yields.The defect pattern on the wafer map will show some important information about the production problem [1,2] and the root cause of failures. Introduction Wafer defects can be classified into local defects and global defects [3].Local defects are usually caused by a process problem that results in a regular distribution of defects at a certain location on the wafer.For example, uneven application of photoresist can lead to defects at the edges of the wafer.Global defects are caused by environmental problems such as dust, temperature, and humidity in space.As caused by these factors, they are evenly distributed throughout the wafer and can obscure local defects making defect classification more difficult.Therefore, some studies are attempting to eliminate overall defects.The engineers analyze the wafer map to find out the cause of the failure, and then take corresponding measures to solve the problem and improve the process yield.Nowadays, it still relies on engineers to classify wafer map defects based on their experience.By manual classification, it requires additional labor costs and it mostly relies on the experience and subjective judgment of the engineer.Nowadays, convolutional neural networks are a reliable method for image classification [4,5].It uses convolution computation to extract the features of different dimensions from the image.In the task of image recognition, the convolutional neural networks even can operate more accurately than humans.However, neural networks have several problems to be overcome [6].It always needs a large amount of training data and a large number of parameters and calculations in neural networks.Also, the problem of insufficient data is particularly serious in the task of wafer map defect classification.Generally, the wafer map implies commercially confidential information that companies will not easily disclose.Also, the cost of data labeling is very high, so data with labels are very scarce. Introduction In this paper, we apply the neural network to classify the defect types.To solve the problem of insufficient data, we propose some methods.(i) We propose an efficient method called global-to-local generative adversarial network (G2LGAN) to expand the limited data.(ii) We suppress the influence of the majority class on the model by undersampling.(iii) We also increase the data of the minority class by data augmentation to balance the dataset.The difference from traditional generative adversarial networks (GAN) [7] is that the proposed method can effectively generate data of conditional class on imbalanced datasets.We develop a neural network architecture using MobileNetV2 [8] as the backbone network with a smaller number of model parameters and calculations.The proposed method outperforms the high accuracy and low number of parameters and computation with other proposed approaches. Introduction We organize the rest of the paper as follows.The related work for data augmentation and wafer map defect classification is provided in Sect. 2. Section 3 introduces the details of the training dataset, data pre-processing, GAN architecture, and classification network.In Sect.4, the experimental results is shown and compared with the other methods.Finally, the conclusion is provided in Sect. 5. Imbalanced datasets When using neural networks for classification tasks, imbalanced datasets will cause the model classification results to lean toward the majority class.For imbalanced datasets, various resampling strategies have been used.One common method is random undersampling [9] which reduces the amount of data in the majority class by discarding data.However, overuse of undersampling causes overfitting and removal of potentially useful data.One of the common open datasets is the WM-811K [10] which is widely used in many papers.As shown in Fig. 1, it suffers from the imbalance of classes.The majority class "None" and the minority class "Near-Full" in the WM-811K dataset account for 85.24% and 0.086% of the entire data set, respectively.Thus only using random undersampling has a limited effect on improving the performance of the model. Data augmentation Typical data augmentation is used to perform random rotations, flips, and translations as well as the addition of Gaussian noise to the original dataset.These transformations can produce more data from the existing data.Recently, generative models based on neural networks have been proposed.The most common methods are variational autoencoder (VAE) [11] and GAN.VAE used an encoder and decoder to down-sample and up-sample the data and added noise to the hidden layer to enable the network to generate new data instead of simply reconstructing the data. Data augmentation GAN was widely applied in many areas.Due to the scarcity of wafer defect images, people expect that the excellent image generation capabilities of the GAN model can assist the classification model in achieving higher performance.Odena et al. [12] conditioned GANs on discrete labels.They changed the binary probability in the traditional GAN to conditional probability to generate conditional data.Mariani et al. [13] designed the balancing GAN (BAGAN) to resolve unbalanced datasets by applying class conditions in the potential space to push the generation process to the target class.Yu et al. [14] proposed the Multiple Granularities GAN (MGGAN) by feeding the multigranularity feature learned with an auxiliary feature extractor into the generator.Data augmentation has a significant impact on the convergence and accuracy of deep neural networks. Wafer map defect classification Some researchers have applied deep learning methods to wafer map classification.Wu et al. [10] extracted Radon-Based Features and Geometry-Based Features from wafer maps and used support vector machines (SVM) to classify wafer map defects.However, SVM is less effective on multiple classification tasks and difficult to train on large-scale data.Ishida et al. [15] proposed a data augmentation technique to reduce the noise of random defects by Hough transform so that the wafer map can retain the original features.Batool et al. [16] pointed out the high imbalance in the existing dataset, and the team proposed an undersampling approach.They selected 400 images from each category to participate in classifier training and validation and built a DCNN model for feature extraction.The results show that the used undersampling can effectively improve accuracy and maintain good results even with a small amount of data. Wafer map defect classification Alawieh et al. [17] used deep selective learning for wafer map defect pattern classification.Their method has an integrated rejection option where the model chooses to avoid predicting class labels when the risk of misclassification is high.To solve the class imbalance problem in wafer map classification, the team proposed a data enhancement framework around a convolutional autoencoder model.Han et al. [18] proposed an autoencoder to augment the data of the wafer map and use MobileNetV1 for classification.Meanwhile, the autoencoder has the shortcomings of being difficult to train and generating images with poor resolution.Yu et al. [19] proposed the conditional two-dimensional principal component analysis algorithm to extract more effective features from the imbalanced wafer maps.It preserves more spatial information in comparison to the conventional 1DPCA. Proposed approach The main problems with wafer defect classification are insufficient data and imbalanced data.In this section, we introduce the current situation of wafer map datasets, the problems encountered, and the corresponding solutions.First, we apply pre-processing methods to datasets to address the issue of imbalanced data.Next, we explain the training process for our pre-trained GAN model and the final GAN model using different training data.Finally, we utilize MobileNet V2 as the classification network, which maintains high accuracy with a low number of parameters and requires low computational effort. Preprocessing on datasets In this paper, we use the WM-811 K dataset to train our model.This dataset has 811,457 wafer maps divided into 9 classes.Among them, only 3.1% (25,519 wafers) of the entire dataset have actual defect patterns, 18.2% (147,431 wafers) are marked as "None", and 78.7% (638,570 wafers) are unmarked.It shows that WM-811 K has a serious data imbalance problem.The learning goal of a general classifier is to optimize the accuracy by minimizing the loss function to optimize the model.When the dataset is unbalanced, the classifier will tend to judge the output as majority classes.This reduces the influence of a minority class and makes it difficult for the classifier to learn from the patterns of the minority class.We use different methods for different categories to balance the dataset.For the majority class, we modify the traditional random undersampling.We adjust the number of all wafer defect classes in each epoch instead of deleting the data of the majority class randomly.The proposed random undersampling details are shown in Algorithm 1.We balance the number of each class in each iteration, where the number of iterations is determined by the minority class.In this way, all the data in the minority class can be trained.We shuffle the training data at the beginning of each epoch so that the remaining data in the majority class can be trained in the subsequent epochs.For the minority class, we use GAN to augment the data.Overall, we balance the dataset by suppressing the data of the majority class and generating new data from the minority class to increase the classification model accuracy. Preprocessing on datasets As shown in Fig. 2, each point in the original wafer map is composed of three states: 0, 1, and 2, where 0 means None, 1 means Pass, and 2 means Fail.These three states are independent of each other, but the distance between them is not fixed.As a result, it causes uneven penalties when the neural network propagates backward.We used a hot encoding to fix the distance between them to 1 to make the network converge better.It maps one-dimensional data to three-dimensional orthogonal coordinates to increase the dimensionality of the data and balances the penalty of the loss function between the three types. Data augmentation The data augmentation network is to solve the problem of insufficient training data and uneven distribution among the dataset classes to improve the performance of the classification task.Here we present our modifications to the network architecture of the deep convolutional generative adversarial network (DCGAN) [20] and the new training strategy proposed in this paper.DCGAN is an extension of the original GAN.As shown in Fig. 3, it consists of two sub-models: the generator and the discriminator.The purpose of the discriminator is to determine whether the input images are the real images from the dataset or the fake images generated by the generator.Therefore, the generator needs to generate images that are similar to the real image to confuse the discriminator and then train each other through a zero-sum game.The generator of DCGAN has a major disadvantage.Since deconvolution with stride 2 × 2 is used to do up-sampling, it results in checkerboard artifacts [21].This occurs when the kernel size of the deconvolution cannot be divided by stride. Data augmentation We choose to resize the image to high resolution first and extract features by convolution to avoid the checkerboard artifacts.The loss function of GAN is shown as follows: Data augmentation where p z (z) is a prior on input noise variables; G(z) is the generator that maps a sample z drawn from a distribution p z (z) to the data space; p data (x) is the real data distribu- tion; D(x) represents the probability that x came from the data rather than the genera- tor.According to [23], under the optimal discriminator, minimizing the generator's loss is equivalent to minimizing the Jensen-Shannon (JS) divergence between p data and p G .Since p data and p G are almost impossible to have an overlap, the JS divergence always approached constantly log2 .It leads to the disappearance of the generator gradient.We replace the original loss function with Hinge Loss of (2): Data augmentation (1) Data augmentation (2) Hinge Loss was widely used in SVM for binary classification.The goal of the discriminator in GAN is also to perform binary classification of the real image and fake image so that it also has a good performance on GAN tasks. Data augmentation In the strategy of training GAN, the traditional GAN uses a discriminator to classify whether the input image is true or false.This makes the data generated by GAN without labeled data.In the past, there were three main methods to obtain labeled data.The first is the additional manpower to classify the generated data.The second is to train its generative model for each category.In the case of insufficient data, the model will not converge or the generated data lacks diversity.The third is to send category information into the model for training through architectures like CGAN and ACGAN.However, it will make the minority class less effective when using an unbalanced dataset during the training phase. Data augmentation Since different classes of data usually have certain correlations, we call them global features.The unique features of individual classes are called local features.The way we generate conditional classes is to train a GAN for each class.However, when the data are insufficient, GAN will be more difficult to converge.Even if GAN successfully converges, it is easy to produce model collapse. Data augmentation Due Wafer map defect classification network More complex models will cause long computation time and low efficiency.However, the simpler models will result in low accuracy and failure to maintain product yield.To balance the computation and accuracy, we use MobileNet V2 as the backbone network.MobileNet V2 has the advantage of a low number of parameters and low computation but still maintains high accuracy. Wafer map defect classification network The main concept of MobileNet V2 is the inverted residual block, which consists of 1 × 1 convolution, and depthwise separable convolution.The purpose of the 1 × 1 convolution is to let the dimension of the feature map rise so that it can reduce information loss caused by non-linear functions.The other is depthwise separable convolution, which can be divided into depthwise convolution and pointwise convolution. Wafer map defect classification network According to [20], the shallow features can only capture local details and shapes, while the deep features have a wider field of view and therefore can capture more global information.In the wafer map defect classification task, we believe that the shape of the defect is more important than the location of the defect.So our architecture stacks the bottleneck layer when the feature map depth is 8 and 16 to extract more shallow features.We take a 64 × 64 wafer map as input, eliminate the full con- volution of the first layer of MoiblenetV2, and directly use the inverted residual block for downsampling.We stack the layers in the shallow network to obtain more information about the wafer defect shapes.The remaining structure is shown in Table 1.The loss functions of the network are as follows: Wafer map defect classification network (3) Table 1 Configurations of wafer map classification The bottleneck is composed of the inverted residual layer in Mobilenet V2, which contains expand layer, depthwise and pointwise convolution.t is the expansion factor, c is the number of output channels and n is the number of repetitions of the inverted residual layer.If n is greater than 1 then only the first layer has stride s and the others have stride 1 Input Operator t c n s para where c is the number of classes and n is the number of samples for a single iteration.y c,i is the ground truth of the ith data.p c,i is the probability that the ith data is predicted for class c. Experimental results This section will explain the datasets and evaluation metrics.Based on it we can show the implementation results and make some comparisons with other works.Quantitative assessment is also evaluated in detail. Datasets and evaluation metrics This paper uses the WM-811 K dataset and 21-Defect dataset to evaluate the effectiveness of the proposed architecture.The 21-Defect dataset, as shown in Fig. 5, is extracted from real wafer maps in the industry to provide more classes by [15].It includes a total of 16,388 wafer maps in 21 categories.Since the number of categories is more than that of WM-811K, and the probability of occurrence of some categories is low, the problem of data imbalance is more serious than that of WM-811K.We expect the proposed method to apply to more severe tasks as well.For both datasets, we first use 70% of the dataset as a training set and 30% as a test set.We provide the data from the training set to the GAN for training.We also merge the generated data with the training set, and then provide the merged data to the classification network for training.The test set is independent and not trained by the GAN or added to the data generated by the GAN to ensure the fairness of the test results.Since WM-811K is collected from different lots, the wafer map dimension will be different according to the different die sizes of different lots.So we resize all data to 64 × 64 to preserve as much as possible the feature of each size.Most of the existing GAN methods use human evaluation.However, human evaluation often exhibits bias towards the quality of the generated samples and ignores the diversity of the samples.We use the method proposed by [22] for G2LGAN evaluation.It includes Inception Score (IS), Mode score (MS), Fréchet inception distance (FID), Kernel maximum mean discrepancy (Kernel MMD), Wasserstein distance (WD), 1-nearest neighbors algorithm.If the model is good, the IS and MS should be as high as possible and the FID, Kernel MMD, and WD should be as low as possible.And 1-nearest neighbor accuracy is close to 0.5, and the better the result. Datasets and evaluation metrics On the classification network, most of the existing methods use accuracy to judge model performance.When the data set is not balanced, the accuracy of the model is overestimated and fairness is lost.Therefore, we use both precision, recall, and F1-score as the evaluation metrics of our model.Because we consider each category of metrics to be equally important, we use Macro-average rather than Weighted-average when balancing metrics multi-class. Implementation results We evaluate the effectiveness of the data augmentation network and classification network separately.In the data augmentation network evaluation, the proposed method is compared with those of CGAN, ACGAN, and BAGAN.Since the official source code is not available, we replicated them and achieved similar results.In the wafer classification network evaluation, we train the model using augmented data and compare the classification network to state-of-the-art works. Implementation results In the training setup, our method is implemented in Tensorflow.All the models are trained by adaptive moment estimation (Adam).The optimizer of G2LGAN have β1 = 0 and β2 = 0.9.The learning rate for the discriminator is 0.0004 and the learning rate for the generator is 0.0001.G2LGAN first trains 3 epochs with all the data and then trains 10 epochs with each class of data.Each epoch contains 10,000 iterations, and each batch size is set to 64.The optimizer of the classification network with β1 = 0.9, β2 = 0.999 and the initial learning rate is 0.1.We use WM-811 K and virtual data generated by G2LGAN and run for 1000 epochs using a step decay of learning rate at the factor of 10 at epochs 200, 500, and 800. Quantitative assessment of G2LGAN We show the comparison with the conditional image GAN that is currently able to generate the specified classes, and the generated image results are shown in Fig. 6.We take Donut as an example.In the WM-811K dataset, Donut only accounts for 2.17% (555 images) of the classes with patterns, which is one of the minority classes.From Fig. 6, we can see that G2LGAN generates better results than other methods.It not only preserves the global features of the wafer map, but also generates the class features of Donut. Quantitative assessment of G2LGAN However, evaluating the model only by generating images tends to focus on the generation effect and ignore the importance of diversity.So we conduct a quantitative analysis of each method as the results are shown in Table 2.When trained on WM-811 k at 3.More than half of the data in WM-811K were classified into Petri dishes, and more than 90% of the data were classified into 4 of the 1000 classes in ImageNet.This is because IS and MS are calculated using the Inception network pre-trained on ImageNet.Since the image of the wafer map is very different from the spatial distribution of the ImageNet data, no matter how well it is generated, the WM-811 K data will not have enough diversity in ImageNet and thus the IS and MS scores are low.The proposed method scores 15.241, 0.478, and 7.402 in the comparison of FID, MMD, and WD.These three distance-related metrics are extracted by using Inception-Net pre-trained on ImageNet to extract features and then compare the distance between real data and generated data by different methods.Since the feature maps are compared directly instead of the classification results, the impact of the dataset on the metrics is smaller.The accuracy of G2LGAN in 1-NN is 0.531.The ideal value of GAN's 1-NN accuracy is 0.5, which means that the G2LGAN generation results are very realistic so that the 1-NN classifier cannot classify between the real and the generated data.Based on the experimental results, our proposed method outperforms others in all the metrics, especially in the 1-NN accuracy we are very close to the ideal state.In the next subsection, we will combine the generated data with the training data to further verify whether our G2LGAN can work well in real applications. Quantitative assessment of wafer map classification We combine the images generated by G2LGAN with the training set and undersampling to balance the dataset.Our undersampling is different from the traditional random undersampling, which randomly deletes excess data.The advantage of this approach is that no valid data is deleted and most of the untrained data may be trained in the next epoch.We generate the data to 5000 if the number of original data is less than 5000.The balanced data distribution is shown in Table 4. Quantitative assessment of wafer map classification Table 5 shows the results of the classification network by different works.In Table 5, the best one is marked in red color.In [10], VGG16 is used for the classification network, and therefore the maximum number of parameters is used.When the training data are insufficient, using a large network structure will lead to overfitting.Ishida et al. [15] and Batool et al. [16] used the standard CNN component classification networks.The standard CNN uses a larger number of parameters compared to the depthwise separable convolution.Alawieh et al. [17] only used three layers of convolutional layers and one layer of fully connected layers to achieve low parameter values.However, too few parameters make the classification model unable to effectively infer the correct defect category.In [18], depth-separable convolution is also used as the backbone of the classification network. Quantitative assessment of wafer map classification Yu and Liu [14,19] are the newest works.In [14], a multi-granularity GAN was used to generate synthetic wafer maps for WMDR which is similar to our method.However, our G2LGAN achieves better classification accuracy since it extracts global features in the first stage, and then fine-tunes the model by each class in the second stage.In [19], an additional 2DPCA framework is used here to extract more features from wafer maps.However, it also increases the overall complexity of the classification model.In contrast, we focus more on extracting low-dimensional features and reducing the number of convolutions for high-dimensional features to reduce the number of parameters and maintain high accuracy.Our proposed method is the best in almost all the metrics compared with the current methods.Since most of the methods do not use undersampling to suppress the amount of data for most classes, it makes accuracy overestimated.Since our classification network uses depthwise separable convolution and focuses on low-dimensional features, we can maintain accuracy with a low number of parameters. Quantitative assessment of wafer map classification Commonly, a network architecture with fewer parameters may often involve a trade-off with model accuracy.Thus we emphasize the data augmentation to balance the data set and improve model performance.In Table 5, we also show our method without G2LGAN as a reference result.The results show that the dataset enhanced with G2LGAN increases accuracy by 9.16%, F1-Score by 8.76%, precision by 6.31%, and recall by 11.39%.This shows that the data generated by G2LGAN can be effectively applied with obvious improvement. Quantitative assessment of wafer map classification Table 6 shows the confusion matrix.It demonstrates the prediction accuracy of the proposed method for each class on the dataset.The numbers in the matrix indicate the distribution of the predicted labels and the actual labels and the subscripts of the diagonal data indicate the recall rate of that class.It can be easily seen that Noneclass is more misclassified than other classes.Since we want to keep the fairness of the testing set, we do not balance the testing set, which further explains the reason that the proposed method has only 90.9% precision.The performance of each class is shown in Table 7.Note that Donut has the worst performance in the WM-811 category because it has fewer test data and it is easier to pull down the score due to a small amount of misclassification. Quantitative assessment of wafer map classification We also conducted experiments on 21-Defect.Since the data set is too small, and even some categories have only single-digit samples, we first use rotation and flipping for preliminary data enhancement, and then use G2LGAN to generate data for each category.Since 21-Defect is a non-public dataset, hereby we first show the difference Table 6 The confusion matrix of our method on WM-811 K between the works with G2LGAN and without G2LGAN, respectively.As shown in Table 8, the scores of the data after using G2LGAN can be improved by 15% in each indicator.Compared to our previous work [18], although our F1-Score is only 0.1% higher, our model is 70% smaller than [18].Since WM-811K and 21-Defect have overlapping categories, including Center, Mount, Edge-Arc (Edge-Loc), Edge-Ring, Random, Scratch-Acr&Scratch-Line, Near-full.We feed the data of overlapping categories in 21-Defect into the classification model trained on WM-811 K for classification, to test whether the data in the non-training data set can be correctly classified by the classification network.The confusion matrix of the classification results is shown in Table 8, the horizontal axis is the data label of 21-Defect, and the vertical axis is the label predicted by the Our + model trained with WM-811K.The experimental results show that most of the overlapping categories can be accurately classified, representing no overfitting and good robustness of our model. Conclusion In this paper, we propose G2LGAN to generate images where it extracts global features and local features separately to generate effective data.Especially in the imbalanced dataset, we consider suppressing the influence of the majority class on the model by undersampling and also increasing the data of the minority class by data augmentation to balance the data set.Compared with the existing conditional GANs, our G2LGAN can generate high-quality images even on data imbalanced datasets.In our G2LGAN, it achieves 0.531% 1-NN accuracy on WM-811K.We further use G2LGAN to construct the wafer classification model.We use MobileNet V2 as the backbone network and use random undersampling and G2LGAN to balance the WM-811K dataset.The proposed method maintains high accuracy and is superior to the existing methods.In the number of parameters and computation, our proposed model has significant performance compared with other proposed approaches.It can effectively classify the defect patterns on WM-811K and achieve an F1-Score of 93.01%. Page 2 of 16 Tsai and Wang EURASIP Journal on Image and Video Processing (2025) 2025:6 Fig. 1 Fig. 1 Data distribution of WM-811K.The dataset is composed of real-world wafer maps and labeled by the experts in IC industry and divided into 9 different categories with the most being "None" and the least being "Near-Full" 6 Algorithm 1 Tsai and Wang EURASIP Journal on Image and Video Processing (2025) 2025:Random undersampling. Fig. 2 Fig. 2 Data pre-processing using one hot encoding Fig. 2 Tsai and Wang EURASIP Journal on Image and Video Processing (2025) 2025:6 Fig. 2 to the scarcity of data and imbalances in the wafer map dataset, we propose a new training strategy called G2LGAN, which can generate effective images even when the data are imbalanced.G2LGAN divides the training of the GAN into two stages as shown in Fig. 4. The first stage uses the data of each class as training data to train the pre-trained generative model.We expect that the pre-trained generative model can learn the global features of the dataset in the first stage.For example, the global features of WM-811K are the outline of the wafer map and some random defects on the wafer.The second stage is to fine-tune the pre-trained model through various classes.In this stage, the model learns the local features of the class.G2LGAN enables generative models for a minority class to be trained on a better basis rather than using initialized models, and thus can effectively address the lack of generative diversity caused by minority classes in an imbalanced dataset.Assuming that the training time of the model is proportional to the training data.The number of the training data is D, there are nine classes in D, the amount of data for each class is 1/9*D, the epoch is e, and the other training parameters are the same.There are two ways to generate labeled data using GAN, the first is to train a GAN model independently for each class.We define the training time to be "T" and the time cost could be roughly estimated as T = (1/9*D*e)*9 = D*e, and the second is a conditional GAN like BAGAN, ACGAN, CGAN.The estimated time cost is T = D*e. Fig. 4 Fig. 4 G2LGAN flowchart.G2LGAN is a two-stage network.The first stage trains the initialization model with global features of the entire dataset and gets the pre-trained model.The second stage involves training the pre-trained model separately using 9-class datasets to learn the local features of the conditional classes, resulting in the final model Fig. 5 Fig. 5 Visualization of 21-defect dataset defect pattern Fig. 6 Fig. 6 From left to right: a real data of WM811K, b the proposed G2LGAN, c BAGAN optimized for data imbalance, d ACGAN using auxiliary classifier, and e CGAN to supply class labels for generator and discriminator Table 2 Comparison of G2LGAN with other methods on WM811K using GAN evaluation metrics (IS, MS, FID, kernel MMD, WD, 1-NN accuracy) Table 3 Classification results of WM-811 K by Inception V3 pre-trained on ImageNet Table 4 Balanced dataset after G2LGAN of WM-811 K Table 5 Wafer map defect classification performance results on WM-811K Table 7 The performance results of the proposed classification network in each classes on WM811K Table 8 Wafer map defect classification performance results on 21-Defect

섹션 본문 56문단 · 32,197자

(제목 없음)

1Wafer map defect classification is a key task for the semiconductor industry to improve the yield rate.Most wafer map defect classifications suffer from the problem of data imbalance and insufficient data.This paper proposes a global-to-local generative adversarial network (G2LGAN) method using the deep learning framework.It extracts global features and local features separately to generate effective data even in the imbalanced dataset.We use random undersampling to suppress the majority class of data.We use MobilenetV2 as the classifier and use two datasets for validation.One is an open dataset called WM-811K and the other is called 21-Defect built from the industry.Based on the serious dataset imbalance problem, this paper integrates data enhancement and random undersampling methods to optimize the dataset and uses the proposed classification network for classification tasks.The results of the WM-811K dataset show that the proposed method has a classification accuracy of 98.39 and an F1-Score of 93.01.We also conduct cross-validation on the 21-Defect dataset and the results show that the proposed method has good robustness.

Introduction

2Semiconductor manufacturing technology has greatly improved in recent years.The complexity of the process and the environment, human error, and machine problems still make wafer defects unavoidable.The wafer map defect classification is essential to improving production yields.The defect pattern on the wafer map will show some important information about the production problem [1,2] and the root cause of failures.

3Wafer defects can be classified into local defects and global defects [3].Local defects are usually caused by a process problem that results in a regular distribution of defects at a certain location on the wafer.For example, uneven application of photoresist can lead to defects at the edges of the wafer.Global defects are caused by environmental problems such as dust, temperature, and humidity in space.As caused by these factors, they are evenly distributed throughout the wafer and can obscure local defects making defect classification more difficult.Therefore, some studies are attempting to eliminate overall defects.The engineers analyze the wafer map to find out the cause of the failure, and then take corresponding measures to solve the problem and improve the process yield.Nowadays, it still relies on engineers to classify wafer map defects based on their experience.By manual classification, it requires additional labor costs and it mostly relies on the experience and subjective judgment of the engineer.Nowadays, convolutional neural networks are a reliable method for image classification [4,5].It uses convolution computation to extract the features of different dimensions from the image.In the task of image recognition, the convolutional neural networks even can operate more accurately than humans.However, neural networks have several problems to be overcome [6].It always needs a large amount of training data and a large number of parameters and calculations in neural networks.Also, the problem of insufficient data is particularly serious in the task of wafer map defect classification.Generally, the wafer map implies commercially confidential information that companies will not easily disclose.Also, the cost of data labeling is very high, so data with labels are very scarce.

4In this paper, we apply the neural network to classify the defect types.To solve the problem of insufficient data, we propose some methods.(i) We propose an efficient method called global-to-local generative adversarial network (G2LGAN) to expand the limited data.(ii) We suppress the influence of the majority class on the model by undersampling.(iii) We also increase the data of the minority class by data augmentation to balance the dataset.The difference from traditional generative adversarial networks (GAN) [7] is that the proposed method can effectively generate data of conditional class on imbalanced datasets.We develop a neural network architecture using MobileNetV2 [8] as the backbone network with a smaller number of model parameters and calculations.The proposed method outperforms the high accuracy and low number of parameters and computation with other proposed approaches.

5We organize the rest of the paper as follows.The related work for data augmentation and wafer map defect classification is provided in Sect. 2. Section 3 introduces the details of the training dataset, data pre-processing, GAN architecture, and classification network.In Sect.4, the experimental results is shown and compared with the other methods.Finally, the conclusion is provided in Sect. 5.

Imbalanced datasets

6When using neural networks for classification tasks, imbalanced datasets will cause the model classification results to lean toward the majority class.For imbalanced datasets, various resampling strategies have been used.One common method is random undersampling [9] which reduces the amount of data in the majority class by discarding data.However, overuse of undersampling causes overfitting and removal of potentially useful data.One of the common open datasets is the WM-811K [10] which is widely used in many papers.As shown in Fig. 1, it suffers from the imbalance of classes.The majority class "None" and the minority class "Near-Full" in the WM-811K dataset account for 85.24% and 0.086% of the entire data set, respectively.Thus only using random undersampling has a limited effect on improving the performance of the model.

Data augmentation

7Typical data augmentation is used to perform random rotations, flips, and translations as well as the addition of Gaussian noise to the original dataset.These transformations can produce more data from the existing data.Recently, generative models based on neural networks have been proposed.The most common methods are variational autoencoder (VAE) [11] and GAN.VAE used an encoder and decoder to down-sample and up-sample the data and added noise to the hidden layer to enable the network to generate new data instead of simply reconstructing the data.

8GAN was widely applied in many areas.Due to the scarcity of wafer defect images, people expect that the excellent image generation capabilities of the GAN model can assist the classification model in achieving higher performance.Odena et al. [12] conditioned GANs on discrete labels.They changed the binary probability in the traditional GAN to conditional probability to generate conditional data.Mariani et al. [13] designed the balancing GAN (BAGAN) to resolve unbalanced datasets by applying class conditions in the potential space to push the generation process to the target class.Yu et al. [14] proposed the Multiple Granularities GAN (MGGAN) by feeding the multigranularity feature learned with an auxiliary feature extractor into the generator.Data augmentation has a significant impact on the convergence and accuracy of deep neural networks.

Wafer map defect classification

9Some researchers have applied deep learning methods to wafer map classification.Wu et al. [10] extracted Radon-Based Features and Geometry-Based Features from wafer maps and used support vector machines (SVM) to classify wafer map defects.However, SVM is less effective on multiple classification tasks and difficult to train on large-scale data.Ishida et al. [15] proposed a data augmentation technique to reduce the noise of random defects by Hough transform so that the wafer map can retain the original features.Batool et al. [16] pointed out the high imbalance in the existing dataset, and the team proposed an undersampling approach.They selected 400 images from each category to participate in classifier training and validation and built a DCNN model for feature extraction.The results show that the used undersampling can effectively improve accuracy and maintain good results even with a small amount of data.

10Alawieh et al. [17] used deep selective learning for wafer map defect pattern classification.Their method has an integrated rejection option where the model chooses to avoid predicting class labels when the risk of misclassification is high.To solve the class imbalance problem in wafer map classification, the team proposed a data enhancement framework around a convolutional autoencoder model.Han et al. [18] proposed an autoencoder to augment the data of the wafer map and use MobileNetV1 for classification.Meanwhile, the autoencoder has the shortcomings of being difficult to train and generating images with poor resolution.Yu et al. [19] proposed the conditional two-dimensional principal component analysis algorithm to extract more effective features from the imbalanced wafer maps.It preserves more spatial information in comparison to the conventional 1DPCA.

Proposed approach

11The main problems with wafer defect classification are insufficient data and imbalanced data.In this section, we introduce the current situation of wafer map datasets, the problems encountered, and the corresponding solutions.First, we apply pre-processing methods to datasets to address the issue of imbalanced data.Next, we explain the training process for our pre-trained GAN model and the final GAN model using different training data.Finally, we utilize MobileNet V2 as the classification network, which maintains high accuracy with a low number of parameters and requires low computational effort.

Preprocessing on datasets

12In this paper, we use the WM-811 K dataset to train our model.This dataset has 811,457 wafer maps divided into 9 classes.Among them, only 3.1% (25,519 wafers) of the entire dataset have actual defect patterns, 18.2% (147,431 wafers) are marked as "None", and 78.7% (638,570 wafers) are unmarked.It shows that WM-811 K has a serious data imbalance problem.The learning goal of a general classifier is to optimize the accuracy by minimizing the loss function to optimize the model.When the dataset is unbalanced, the classifier will tend to judge the output as majority classes.This reduces the influence of a minority class and makes it difficult for the classifier to learn from the patterns of the minority class.We use different methods for different categories to balance the dataset.For the majority class, we modify the traditional random undersampling.We adjust the number of all wafer defect classes in each epoch instead of deleting the data of the majority class randomly.The proposed random undersampling details are shown in Algorithm 1.We balance the number of each class in each iteration, where the number of iterations is determined by the minority class.In this way, all the data in the minority class can be trained.We shuffle the training data at the beginning of each epoch so that the remaining data in the majority class can be trained in the subsequent epochs.For the minority class, we use GAN to augment the data.Overall, we balance the dataset by suppressing the data of the majority class and generating new data from the minority class to increase the classification model accuracy.

13As shown in Fig. 2, each point in the original wafer map is composed of three states: 0, 1, and 2, where 0 means None, 1 means Pass, and 2 means Fail.These three states are independent of each other, but the distance between them is not fixed.As a result, it causes uneven penalties when the neural network propagates backward.We used a hot encoding to fix the distance between them to 1 to make the network converge better.It maps one-dimensional data to three-dimensional orthogonal coordinates to increase the dimensionality of the data and balances the penalty of the loss function between the three types.

Data augmentation

14The data augmentation network is to solve the problem of insufficient training data and uneven distribution among the dataset classes to improve the performance of the classification task.Here we present our modifications to the network architecture of the deep convolutional generative adversarial network (DCGAN) [20] and the new training strategy proposed in this paper.DCGAN is an extension of the original GAN.As shown in Fig. 3, it consists of two sub-models: the generator and the discriminator.The purpose of the discriminator is to determine whether the input images are the real images from the dataset or the fake images generated by the generator.Therefore, the generator needs to generate images that are similar to the real image to confuse the discriminator and then train each other through a zero-sum game.The generator of DCGAN has a major disadvantage.Since deconvolution with stride 2 × 2 is used to do up-sampling, it results in checkerboard artifacts [21].This occurs when the kernel size of the deconvolution cannot be divided by stride.

15We choose to resize the image to high resolution first and extract features by convolution to avoid the checkerboard artifacts.The loss function of GAN is shown as follows:

16where p z (z) is a prior on input noise variables; G(z) is the generator that maps a sample z drawn from a distribution p z (z) to the data space; p data (x) is the real data distribu- tion; D(x) represents the probability that x came from the data rather than the genera- tor.According to [23], under the optimal discriminator, minimizing the generator's loss is equivalent to minimizing the Jensen-Shannon (JS) divergence between p data and p G .Since p data and p G are almost impossible to have an overlap, the JS divergence always approached constantly log2 .It leads to the disappearance of the generator gradient.We replace the original loss function with Hinge Loss of (2):

17(1)

18(2) Hinge Loss was widely used in SVM for binary classification.The goal of the discriminator in GAN is also to perform binary classification of the real image and fake image so that it also has a good performance on GAN tasks.

19In the strategy of training GAN, the traditional GAN uses a discriminator to classify whether the input image is true or false.This makes the data generated by GAN without labeled data.In the past, there were three main methods to obtain labeled data.The first is the additional manpower to classify the generated data.The second is to train its generative model for each category.In the case of insufficient data, the model will not converge or the generated data lacks diversity.The third is to send category information into the model for training through architectures like CGAN and ACGAN.However, it will make the minority class less effective when using an unbalanced dataset during the training phase.

20Since different classes of data usually have certain correlations, we call them global features.The unique features of individual classes are called local features.The way we generate conditional classes is to train a GAN for each class.However, when the data are insufficient, GAN will be more difficult to converge.Even if GAN successfully converges, it is easy to produce model collapse.

21Due

Wafer map defect classification network

22More complex models will cause long computation time and low efficiency.However, the simpler models will result in low accuracy and failure to maintain product yield.To balance the computation and accuracy, we use MobileNet V2 as the backbone network.MobileNet V2 has the advantage of a low number of parameters and low computation but still maintains high accuracy.

23The main concept of MobileNet V2 is the inverted residual block, which consists of 1 × 1 convolution, and depthwise separable convolution.The purpose of the 1 × 1 convolution is to let the dimension of the feature map rise so that it can reduce information loss caused by non-linear functions.The other is depthwise separable convolution, which can be divided into depthwise convolution and pointwise convolution.

24According to [20], the shallow features can only capture local details and shapes, while the deep features have a wider field of view and therefore can capture more global information.In the wafer map defect classification task, we believe that the shape of the defect is more important than the location of the defect.So our architecture stacks the bottleneck layer when the feature map depth is 8 and 16 to extract more shallow features.We take a 64 × 64 wafer map as input, eliminate the full con- volution of the first layer of MoiblenetV2, and directly use the inverted residual block for downsampling.We stack the layers in the shallow network to obtain more information about the wafer defect shapes.The remaining structure is shown in Table 1.The loss functions of the network are as follows:

25(3)

Table 1 Configurations of wafer map classification

26The bottleneck is composed of the inverted residual layer in Mobilenet V2, which contains expand layer, depthwise and pointwise convolution.t is the expansion factor, c is the number of output channels and n is the number of repetitions of the inverted residual layer.If n is greater than 1 then only the first layer has stride s and the others have stride 1

Input

27Operator t c n s para where c is the number of classes and n is the number of samples for a single iteration.y c,i is the ground truth of the ith data.p c,i is the probability that the ith data is predicted for class c.

Experimental results

28This section will explain the datasets and evaluation metrics.Based on it we can show the implementation results and make some comparisons with other works.Quantitative assessment is also evaluated in detail.

Datasets and evaluation metrics

29This paper uses the WM-811 K dataset and 21-Defect dataset to evaluate the effectiveness of the proposed architecture.The 21-Defect dataset, as shown in Fig. 5, is extracted from real wafer maps in the industry to provide more classes by [15].It includes a total of 16,388 wafer maps in 21 categories.Since the number of categories is more than that of WM-811K, and the probability of occurrence of some categories is low, the problem of data imbalance is more serious than that of WM-811K.We expect the proposed method to apply to more severe tasks as well.For both datasets, we first use 70% of the dataset as a training set and 30% as a test set.We provide the data from the training set to the GAN for training.We also merge the generated data with the training set, and then provide the merged data to the classification network for training.The test set is independent and not trained by the GAN or added to the data generated by the GAN to ensure the fairness of the test results.Since WM-811K is collected from different lots, the wafer map dimension will be different according to the different die sizes of different lots.So we resize all data to 64 × 64 to preserve as much as possible the feature of each size.Most of the existing GAN methods use human evaluation.However, human evaluation often exhibits bias towards the quality of the generated samples and ignores the diversity of the samples.We use the method proposed by [22] for G2LGAN evaluation.It includes Inception Score (IS), Mode score (MS), Fréchet inception distance (FID), Kernel maximum mean discrepancy (Kernel MMD), Wasserstein distance (WD), 1-nearest neighbors algorithm.If the model is good, the IS and MS should be as high as possible and the FID, Kernel MMD, and WD should be as low as possible.And 1-nearest neighbor accuracy is close to 0.5, and the better the result.

30On the classification network, most of the existing methods use accuracy to judge model performance.When the data set is not balanced, the accuracy of the model is overestimated and fairness is lost.Therefore, we use both precision, recall, and F1-score as the evaluation metrics of our model.Because we consider each category of metrics to be equally important, we use Macro-average rather than Weighted-average when balancing metrics multi-class.

Implementation results

31We evaluate the effectiveness of the data augmentation network and classification network separately.In the data augmentation network evaluation, the proposed method is compared with those of CGAN, ACGAN, and BAGAN.Since the official source code is not available, we replicated them and achieved similar results.In the wafer classification network evaluation, we train the model using augmented data and compare the classification network to state-of-the-art works.

32In the training setup, our method is implemented in Tensorflow.All the models are trained by adaptive moment estimation (Adam).The optimizer of G2LGAN have β1 = 0 and β2 = 0.9.The learning rate for the discriminator is 0.0004 and the learning rate for the generator is 0.0001.G2LGAN first trains 3 epochs with all the data and then trains 10 epochs with each class of data.Each epoch contains 10,000 iterations, and each batch size is set to 64.The optimizer of the classification network with β1 = 0.9, β2 = 0.999 and the initial learning rate is 0.1.We use WM-811 K and virtual data generated by G2LGAN and run for 1000 epochs using a step decay of learning rate at the factor of 10 at epochs 200, 500, and 800.

Quantitative assessment of G2LGAN

33We show the comparison with the conditional image GAN that is currently able to generate the specified classes, and the generated image results are shown in Fig. 6.We take Donut as an example.In the WM-811K dataset, Donut only accounts for 2.17% (555 images) of the classes with patterns, which is one of the minority classes.From Fig. 6, we can see that G2LGAN generates better results than other methods.It not only preserves the global features of the wafer map, but also generates the class features of Donut.

34However, evaluating the model only by generating images tends to focus on the generation effect and ignore the importance of diversity.So we conduct a quantitative analysis of each method as the results are shown in Table 2.When trained on WM-811 k at 3.More than half of the data in WM-811K were classified into Petri dishes, and more than 90% of the data were classified into 4 of the 1000 classes in ImageNet.This is because IS and MS are calculated using the Inception network pre-trained on ImageNet.Since the image of the wafer map is very different from the spatial distribution of the ImageNet data, no matter how well it is generated, the WM-811 K data will not have enough diversity in ImageNet and thus the IS and MS scores are low.The proposed method scores 15.241, 0.478, and 7.402 in the comparison of FID, MMD, and WD.These three distance-related metrics are extracted by using Inception-Net pre-trained on ImageNet to extract features and then compare the distance between real data and generated data by different methods.Since the feature maps are compared directly instead of the classification results, the impact of the dataset on the metrics is smaller.The accuracy of G2LGAN in 1-NN is 0.531.The ideal value of GAN's 1-NN accuracy is 0.5, which means that the G2LGAN generation results are very realistic so that the 1-NN classifier cannot classify between the real and the generated data.Based on the experimental results, our proposed method outperforms others in all the metrics, especially in the 1-NN accuracy we are very close to the ideal state.In the next subsection, we will combine the generated data with the training data to further verify whether our G2LGAN can work well in real applications.

Quantitative assessment of wafer map classification

35We combine the images generated by G2LGAN with the training set and undersampling to balance the dataset.Our undersampling is different from the traditional random undersampling, which randomly deletes excess data.The advantage of this approach is that no valid data is deleted and most of the untrained data may be trained in the next epoch.We generate the data to 5000 if the number of original data is less than 5000.The balanced data distribution is shown in Table 4.

36Table 5 shows the results of the classification network by different works.In Table 5, the best one is marked in red color.In [10], VGG16 is used for the classification network, and therefore the maximum number of parameters is used.When the training data are insufficient, using a large network structure will lead to overfitting.Ishida et al. [15] and Batool et al. [16] used the standard CNN component classification networks.The standard CNN uses a larger number of parameters compared to the depthwise separable convolution.Alawieh et al. [17] only used three layers of convolutional layers and one layer of fully connected layers to achieve low parameter values.However, too few parameters make the classification model unable to effectively infer the correct defect category.In [18], depth-separable convolution is also used as the backbone of the classification network.

37Yu and Liu [14,19] are the newest works.In [14], a multi-granularity GAN was used to generate synthetic wafer maps for WMDR which is similar to our method.However, our G2LGAN achieves better classification accuracy since it extracts global features in the first stage, and then fine-tunes the model by each class in the second stage.In [19], an additional 2DPCA framework is used here to extract more features from wafer maps.However, it also increases the overall complexity of the classification model.In contrast, we focus more on extracting low-dimensional features and reducing the number of convolutions for high-dimensional features to reduce the number of parameters and maintain high accuracy.Our proposed method is the best in almost all the metrics compared with the current methods.Since most of the methods do not use undersampling to suppress the amount of data for most classes, it makes accuracy overestimated.Since our classification network uses depthwise separable convolution and focuses on low-dimensional features, we can maintain accuracy with a low number of parameters.

38Commonly, a network architecture with fewer parameters may often involve a trade-off with model accuracy.Thus we emphasize the data augmentation to balance the data set and improve model performance.In Table 5, we also show our method without G2LGAN as a reference result.The results show that the dataset enhanced with G2LGAN increases accuracy by 9.16%, F1-Score by 8.76%, precision by 6.31%, and recall by 11.39%.This shows that the data generated by G2LGAN can be effectively applied with obvious improvement.

39Table 6 shows the confusion matrix.It demonstrates the prediction accuracy of the proposed method for each class on the dataset.The numbers in the matrix indicate the distribution of the predicted labels and the actual labels and the subscripts of the diagonal data indicate the recall rate of that class.It can be easily seen that Noneclass is more misclassified than other classes.Since we want to keep the fairness of the testing set, we do not balance the testing set, which further explains the reason that the proposed method has only 90.9% precision.The performance of each class is shown in Table 7.Note that Donut has the worst performance in the WM-811 category because it has fewer test data and it is easier to pull down the score due to a small amount of misclassification.

40We also conducted experiments on 21-Defect.Since the data set is too small, and even some categories have only single-digit samples, we first use rotation and flipping for preliminary data enhancement, and then use G2LGAN to generate data for each category.Since 21-Defect is a non-public dataset, hereby we first show the difference Table 6 The confusion matrix of our method on WM-811 K between the works with G2LGAN and without G2LGAN, respectively.As shown in Table 8, the scores of the data after using G2LGAN can be improved by 15% in each indicator.Compared to our previous work [18], although our F1-Score is only 0.1% higher, our model is 70% smaller than [18].Since WM-811K and 21-Defect have overlapping categories, including Center, Mount, Edge-Arc (Edge-Loc), Edge-Ring, Random, Scratch-Acr&Scratch-Line, Near-full.We feed the data of overlapping categories in 21-Defect into the classification model trained on WM-811 K for classification, to test whether the data in the non-training data set can be correctly classified by the classification network.The confusion matrix of the classification results is shown in Table 8, the horizontal axis is the data label of 21-Defect, and the vertical axis is the label predicted by the Our + model trained with WM-811K.The experimental results show that most of the overlapping categories can be accurately classified, representing no overfitting and good robustness of our model.

Conclusion

41In this paper, we propose G2LGAN to generate images where it extracts global features and local features separately to generate effective data.Especially in the imbalanced dataset, we consider suppressing the influence of the majority class on the model by undersampling and also increasing the data of the minority class by data augmentation to balance the data set.Compared with the existing conditional GANs, our G2LGAN can generate high-quality images even on data imbalanced datasets.In our G2LGAN, it achieves 0.531% 1-NN accuracy on WM-811K.We further use G2LGAN to construct the wafer classification model.We use MobileNet V2 as the backbone network and use random undersampling and G2LGAN to balance the WM-811K dataset.The proposed method maintains high accuracy and is superior to the existing methods.In the number of parameters and computation, our proposed model has significant performance compared with other proposed approaches.It can effectively classify the defect patterns on WM-811K and achieve an F1-Score of 93.01%.

Page 2 of 16

42Tsai and Wang EURASIP Journal on Image and Video Processing (2025) 2025:6

Fig. 1

43Fig. 1 Data distribution of WM-811K.The dataset is composed of real-world wafer maps and labeled by the experts in IC industry and divided into 9 different categories with the most being "None" and the least being "Near-Full"

6 Algorithm 1

44Tsai and Wang EURASIP Journal on Image and Video Processing (2025) 2025:Random undersampling.

Fig. 2

45Fig. 2 Data pre-processing using one hot encoding

46Tsai and Wang EURASIP Journal on Image and Video Processing (2025) 2025:6

47to the scarcity of data and imbalances in the wafer map dataset, we propose a new training strategy called G2LGAN, which can generate effective images even when the data are imbalanced.G2LGAN divides the training of the GAN into two stages as shown in Fig. 4. The first stage uses the data of each class as training data to train the pre-trained generative model.We expect that the pre-trained generative model can learn the global features of the dataset in the first stage.For example, the global features of WM-811K are the outline of the wafer map and some random defects on the wafer.The second stage is to fine-tune the pre-trained model through various classes.In this stage, the model learns the local features of the class.G2LGAN enables generative models for a minority class to be trained on a better basis rather than using initialized models, and thus can effectively address the lack of generative diversity caused by minority classes in an imbalanced dataset.Assuming that the training time of the model is proportional to the training data.The number of the training data is D, there are nine classes in D, the amount of data for each class is 1/9*D, the epoch is e, and the other training parameters are the same.There are two ways to generate labeled data using GAN, the first is to train a GAN model independently for each class.We define the training time to be "T" and the time cost could be roughly estimated as T = (1/9*D*e)*9 = D*e, and the second is a conditional GAN like BAGAN, ACGAN, CGAN.The estimated time cost is T = D*e.

Fig. 4

48Fig. 4 G2LGAN flowchart.G2LGAN is a two-stage network.The first stage trains the initialization model with global features of the entire dataset and gets the pre-trained model.The second stage involves training the pre-trained model separately using 9-class datasets to learn the local features of the conditional classes, resulting in the final model

Fig. 5

49Fig. 5 Visualization of 21-defect dataset defect pattern

Fig. 6

50Fig. 6 From left to right: a real data of WM811K, b the proposed G2LGAN, c BAGAN optimized for data imbalance, d ACGAN using auxiliary classifier, and e CGAN to supply class labels for generator and discriminator

Table 2

51Comparison of G2LGAN with other methods on WM811K using GAN evaluation metrics (IS, MS, FID, kernel MMD, WD, 1-NN accuracy)

Table 3

52Classification results of WM-811 K by Inception V3 pre-trained on ImageNet

Table 4

53Balanced dataset after G2LGAN of WM-811 K

Table 5

54Wafer map defect classification performance results on WM-811K

Table 7

55The performance results of the proposed classification network in each classes on WM811K

Table 8

56Wafer map defect classification performance results on 21-Defect

참고문헌 17건

  1. Correlation of wafer backside defects to photolithography hot spots using advanced macro inspection Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2006 10.1117/12.656937
  2. Wafer Map Failure Pattern Recognition and Similarity Ranking for Large-Scale Data Sets IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2014 10.1109/tsm.2014.2364237
  3. Brief Introduction of Back Propagation (BP) Neural Network Algorithm and Its Improvement Advances in intelligent and soft computing · Springer Science+Business Media · 2012 10.1007/978-3-642-30223-7_87
  4. Deconvolution and Checkerboard Artifacts Distill · 2016 10.23915/distill.00003
  5. Diverse Region-Based CNN for Hyperspectral Image Classification IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/tip.2018.2809606
  6. Classification of Mixed-Type Defect Patterns in Wafer Bin Maps Using Convolutional Neural Networks IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2018 10.1109/tsm.2018.2841416
  7. Deep and shallow features fusion based on deep convolutional neural network for speech emotion recognition International Journal of Speech Technology · Springer Science+Business Media · 2018 10.1007/s10772-018-9551-4
  8. Deep Learning-Based Wafer-Map Failure Pattern Recognition Framework 2019 10.1109/isqed.2019.8697407
  9. MobileNetV2: Inverted Residuals and Linear Bottlenecks 2018 10.1109/cvpr.2018.00474
  10. CNN-RNN: A Unified Framework for Multi-label Image Classification 2016 10.1109/cvpr.2016.251
  11. The Proposal of Undersampling Method for Learning from Imbalanced Datasets Procedia Computer Science · Elsevier BV · 2019 10.1016/j.procs.2019.09.167
  12. Convolutional Neural Network for Imbalanced Data Classification of Silicon Wafer Defects 2020 10.1109/cspa48992.2020.9068669
  13. A Light-Weight Neural Network for Wafer Map Classification Based on Data Augmentation IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2020 10.1109/tsm.2020.3013004
  14. Two-Dimensional Principal Component Analysis-Based Convolutional Autoencoder for Wafer Map Defect Detection IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tie.2020.3013492
  15. Wafer Map Defect Patterns Classification using Deep Selective Learning 2020 10.1109/dac18072.2020.9218580
  16. Multiple Granularities Generative Adversarial Network for Recognition of Wafer Map Defects IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2021 10.1109/tii.2021.3092372
  17. Monitoring Wafer Map Data From Integrated Circuit Fabrication Processes for Spatially Clustered Defects Technometrics · Taylor & Francis · 1997 10.1080/00401706.1997.10485116