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

Contrastive Learning with Global and Local Representation for Mixed-Type Wafer Defect Recognition

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Sixing Yin — School of Mechanical Engineering and Automation, Harbin Institute of Technology, Shenzhen 518055, China
  2. Yangkun Zhang — School of Mechanical Engineering and Automation, Harbin Institute of Technology, Shenzhen 518055, China
  3. Rui Wang — School of Mechanical Engineering and Automation, Harbin Institute of Technology, Shenzhen 518055, China
DOI
10.3390/s25041272
저널
Sensors
발행년도
2025
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s25041272
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W4407745054

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Recognizing defect patterns in semiconductor wafer bin maps (WBMs) poses a critical challenge in the integrated circuit (IC) manufacturing industry. The accurate classification and segmentation of these defect patterns are of utmost significance as they are key to tracing the root causes of defects, thereby reducing costs and enhancing both product efficiency and quality. As the manufacturing process grows in complexity, the WBM becomes intricate when multiple defect patterns coexist on a single wafer, making the recognition task increasingly complicated. In addition, traditional supervised learning methods require a large number of labeled samples, which is labor-intensive. In this paper, we present a self-supervised contrastive learning framework for the classification and segmentation of mixed-type WBM defect patterns. Our model incorporates a global module for contrastive learning that captures image-level representations, alongside a local module that targets the comprehension of regional details, which is helpful for the segmentation of defective patterns. Experimental results demonstrate that our model performs effectively in scenarios where there is a limited number of labeled examples and a wealth of unlabeled ones.

본문 39,195자

본문 펼치기
Recognizing defect patterns in semiconductor wafer bin maps (WBMs) poses a critical challenge in the integrated circuit (IC) manufacturing industry.The accurate classification and segmentation of these defect patterns are of utmost significance as they are key to tracing the root causes of defects, thereby reducing costs and enhancing both product efficiency and quality.As the manufacturing process grows in complexity, the WBM becomes intricate when multiple defect patterns coexist on a single wafer, making the recognition task increasingly complicated.In addition, traditional supervised learning methods require a large number of labeled samples, which is labor-intensive.In this paper, we present a self-supervised contrastive learning framework for the classification and segmentation of mixed-type WBM defect patterns.Our model incorporates a global module for contrastive learning that captures image-level representations, alongside a local module that targets the comprehension of regional details, which is helpful for the segmentation of defective patterns.Experimental results demonstrate that our model performs effectively in scenarios where there is a limited number of labeled examples and a wealth of unlabeled ones. Introduction The production of semiconductor devices is a complex and highly detailed operation, involving hundreds of steps to fabricate integrated circuit (IC) chips on silicon wafers.After wafer fabrication, the wafer needs to be inspected.Common inspection methods include a probing test, scanning electron microscopy (SEM), transmission electron microscopy (TEM), X-ray inspection, and automatic optical inspection (AOI), each generating information at different levels.For probing tests, the electrical performance of each die is tested using wafer probes.Dies that meet quality requirements are cut off from the wafer and utilized as final qualified chips.As the worldwide need for these devices grows, manufacturers are concentrating their efforts on boosting manufacturing efficiency by employing techniques such as maximizing the number of chips per wafer.Nevertheless, the enhanced complexity of these advanced techniques also gives rise to various defects, which are inevitable during the manufacturing processes.Therefore, the results of wafer test are stored in wafer bin maps (WBMs) for defect analysis, contributing to reducing defect rates and ensuring market competitiveness [1]. Introduction WBM defect pattern recognition is crucial for detecting systemic manufacturing issues, as the accurate classification and segmentation results of WBM defect patterns can effectively infer the root causes of defects in the manufacturing process [2].The defects on the wafer can generally be divided into two categories: random errors and systematic faults.When dealing with wafer defect patterns, the analysis of systematic faults is generally the main focus, as the defect patterns caused by random errors are irregular and difficult to eliminate.As shown in Figure 1a, the typical single defect patterns contain the following: "Center", "Donut", "EdgeLoc", "EdgeRing", "Loc", "NearFull", "Scratch", and "Random" [3].With the ongoing advancement in the IC industry, the complexity of manufacturing raises the likelihood of mixed-type WBM defect patterns appearing on the same wafer [4,5], as shown in Figure 1b.These defect patterns may interact with each other, resulting in more intricate issues.Consequently, accurate classification and segmentation of these mixed-type WBM defect patterns are essential for effective quality control.module is used to learn pixel-level discrimination.With the introduction of queues, each module receives a sufficient number of negative samples, improving the contrastive loss computation.To the best of our knowledge, this is the first application of contrastive learning to both the classification and segmentation of WBM defect patterns.The primary contributions of this paper are as follows: Introduction (1) We employ self-supervised contrastive learning for both the classification and segmentation of mixed-type defect patterns.In this way, we can obtain more precise information about the types and locations of different defect patterns.(2) Our proposed model integrates global and local contrastive learning modules, enabling the learning of both image-level and pixel-level features directly from unlabeled data.This approach provides a robust foundation for downstream classification and segmentation tasks using only a limited amount of labeled data. Introduction (3) Experimental evaluations on the mixed-type WBM defect pattern dataset demonstrate that our framework outperforms existing self-supervised methods. Introduction The remainder of this paper is organized as follows: Section 2 presents a brief overview of recent studies on mixed-type WBM defect pattern classification and segmentation.Section 3 details the proposed methodology.Section 4 discusses the experimental results and analysis.Finally, Section 5 contains concluding remarks and directions for future research. WBM Defect Pattern Recognition WBM defect pattern analysis is crucial for identifying the root cause of process failures in semiconductor manufacturing.The current research mainly focuses on the classification of single defect patterns and can be roughly divided into three categories.The first category mainly monitors defect patterns on WBMs by constructing statistical information [12,13], which can successfully separate normal and abnormal graphic patterns, but it is difficult to distinguish different defect patterns.The second category is model-based clustering methods.For example, Wang et al. [14] used Gaussian EM to detect elliptical and linear patterns and used the shell algorithm to estimate annular patterns.Yuan and Kuo [15] proposed a mixed model describing the distribution of defects and used Bayesian inference to estimate parameters.The last category is machine learning methods that have received more and more attention in recent years.Wang and Chen [16] trained a multilayer perceptron (MLP) on a set of hand-crafted spatial filters that reflect the rotational invariance property of WBM.Kulkarni [3] applied CNNs to classify defect patterns based on a synthesized WBM dataset.Kang et al. [17] presented a semi-supervised representation learning method, which fully utilizes the information in both unlabeled and labeled wafer maps.Most of the above research relies on large WBM databases and has problems with unsatisfactory performance and high computational costs. WBM Defect Pattern Recognition The composition of mixed-type WBM defect patterns is more complex, as the combination of defect patterns can vary greatly.Thus, research on the classification of mixed-type WBM defect patterns is less extensive than that on single WBM defect patterns.In these studies, Byun and Baek [18] proposed a new approach using a convolutional autoencoder to initialize the weights of a CNN.Tello et al. [19] used feature rules to determine whether a wafer map has mixed-type patterns and then used a stochastic general regression neural network (GRNN) and a deep structured CNN for classification.Kyeong and Kim [20] applied a CNN to classify WBM defects with mixed-type defect patterns.Wang et al. [5] proposed DC-Net, which used a deformable convolutional network (DC-Net) to classify mixed-type defect patterns.These methods are unable to recognize and locate mixed-type defect patterns on WBMs simultaneously, and the research on the separation of multiple defect patterns is still insufficient. WBM Defect Pattern Recognition Compared with classification, image segmentation can provide more detailed information and better understand the content of the image.For mixed-type WBM defect pattern segmentation, Nag et al. [21] recently proposed a novel network based on an encoderdecoder architecture for the simultaneous classification and segmentation of single and mixed defect patterns.Chiu et al. [2] proposed a method based on Mask R-CNN [22] to identify WBM defect patterns.Yan et al. [23] presented a new U-Net framework that used semantic segmentation methods to segment different defect patterns on WBMs.However, existing research tends to focus more on global image representation while overlooking the powerful auxiliary role that local information plays in image segmentation tasks. Self-Supervised Contrastive Learning Self-supervised learning mainly uses auxiliary tasks to mine its own supervision information from large-scale unsupervised data and trains the network through this constructed supervision information [7,24].As shown in Figure 2, the core idea of the self-supervised learning paradigm is to first learn knowledge from unlabeled samples by designing selfsupervised signals and then transfer it to downstream tasks.As a branch of self-supervised learning, contrastive learning [25] focuses on learning the common features between instances of the same class and distinguishing the differences between instances of different classes.Contrastive learning can effectively utilize unlabeled data for training [9,26] and has been widely applied in the field of natural image processing.In the field of WBM defect pattern classification, Kwak et al. [27] applied a method (SWaCo) for safe WBM classification with self-supervised contrastive learning to effectively exploit unlabeled data.Kahng et al. [28] presented a self-supervised learning framework that fully utilizes unlabeled data to pre-learn rich visual representations for data-efficient WBM defect pattern classification.Hu et al. [29] proposed a contrastive learning framework for semi-supervised learning and prediction of WBM defect patterns.It can be seen that self-supervised contrastive learning methods do not heavily rely on the number of labeled samples and are mostly used for the classification of WBM defect patterns, but there is still little research on segmentation tasks.The urgent challenge lies in establishing a self-supervised contrastive learning model that possesses both classification and segmentation capabilities for mixed-type WBM defect patterns. Overview In this paper, we propose a classification and segmentation model for mixed-type WBM defect patterns based on self-supervised contrastive learning.In our problem setting, we consider a set of WBM data including N labeled data and M unlabeled data, where N ≪ M. For simplicity, the unlabeled set is defined as D u = {x i } M i=1 , and the labeled set is defined as D l = {x i , y i } M+N i=M+1 .As shown in Figure 3, the framework consists of a selfsupervised pre-training stage and a supervised fine-tuning stage.In pre-training, global contrastive learning module is designed to learn image-level representation, while the local contrastive learning module is used to better understand the structure of local regions, which contributes to the image segmentation task.To distinguish extracted features with different connotations, we apply the concept of a query and a key to describe encoders and decoders, although they have the same structure respectively.A query can be understood as the target to be searched for, and a key is the template.The model is built by matching the query to a dictionary of keys, which is a queue of the encoded representations of data samples that is updated with each mini-batch.In fine-tuning, pre-trained weights are transferred to the downstream classification and segmentation tasks and fine-tuned with a limited number of labeled samples.This section describes the proposed framework in detail. Overview Figure 3.The overall framework of our proposed model.Note that the figure omits the display of negative samples.In the self-supervised pre-training stage, we pre-train the network using a large amount of unlabeled data x i ∈ D u .After that, we transfer the knowledge embedded in the query encoder and query decoder to the downstream task and fine-tune the network with few labeled samples {x i , y i } ∈ D l . Data Augmentation In contrastive learning, the model is trained by enforcing similarity between positive sample pairs and dissimilarity between negative sample pairs.Therefore, the core of contrastive learning is the construction of positive and negative samples.In practice, different augmented views of the same sample after data augmentation are seen as positive samples, while other samples are defined as negative samples.Supported by data augmentation, the model can learn better feature representations of the data, capture the fundamental structure and relationships between samples, and effectively prevent over-fitting.As shown in Figure 4, we perform data augmentation operators, i.e., random rotation, flipping, and random noise on samples for learning the rotational invariance of WBMs and improving the robustness and generalization ability of the model.Regarding the noise addition operations in data augmentation, given that noise in semiconductor manufacturing environments (such as dust, light variations, etc.) can affect the performance of detection systems, we introduce different types of artificial noise (Gaussian Noise, Salt-and-Pepper Noise, and Poisson Noise) to simulate real-world production noise conditions.Specifically, given unlabeled sample x i ∈ D u , two augmented WBMs x I i and x II i are generated by data augmentation t 1 and t 2 , i.e., x I i = t 1 (x i ) and x II i = t 2 (x i ).These two augmented views are then used for the illustration of subsequent feature extraction. Global Contrastive Learning Module The global contrastive learning module mainly promotes the model to learn the ability of extracting global features.Since global features provide the context information of the image, the designing of this module contributes to the effective comprehension of the overall structure of mixed-type WBMs.Specifically, key and query encoders are used to extract high-dimensional key and query global features.Then, these high-dimensional features are mapped to lower-dimensional hidden spaces for a more compact representation through the global projection head.After that, the global queue that is a unique form of a linear list is employed to dynamically manage key features.The construction of the global contrastive learning module is similar to MoCo v2 [8]; we provide a detailed description as follows. Global Feature Extraction Global features refer to the overall attributes of an image, capable of capturing the global information and understanding the image from a holistic perspective.We apply the concept of a query and a key to describe encoders for distinguishing extracted features with different connotations.As given a series of key features and a query feature, contrastive learning is to find the unique key feature that matches the query feature the most and enforce them to be similar while distancing from others. Global Feature Extraction Firstly, a key encoder e k (•) and a query encoder e q (•) are used to obtain global key feature G I i and global query feature G II i from the augmented sample instances, respectively.The procedure can be formulated as Global Feature Extraction where µ(•) represents the average value of each channel in the feature map, i.e., the global average pooling.e k (•) denotes the key encoder and e q (•) denotes the query encoder, which have the same structure as the downstream encoder e(•). Global Feature Extraction In addition, the global projection head h G (•) is an MLP with one hidden layer (with ReLU) in this module, whose presence has been proven to be beneficial to push the dissimilar samples away from each other and obtain more useful information for downstream tasks [9].The global projection head can map the high-dimensional features G I i and G II i to lower-dimensional hidden spaces for a more compact representation, encouraging our model to learn more abstract and informative features.Therefore, we obtain the final global key feature g I i and global query feature g II i by passing G I i and G II i through the global projection head h G (•) to further calculate the global contrastive loss.The conversion can be formulated as follows: Global Feature Extraction where W Global Feature Extraction G and W Global Feature Extraction G are linear transformation matrices, and R G is a ReLU nonlinearity.Furthermore, the global queue that is a unique form of a linear list for dynamically managing vectors is introduced, as shown in Figure 3. Since the core of contrastive learning is to construct sufficient negative sample pairs, we design the global queue to store abundant negative vectors (i.e., key features) generated by the key encoder.The size of key features in the global queue can far exceed the capacity of a single batch, which can increase the diversity of training and improve the generalization ability of the model.Therefore, the introduction of the queue can decouple the negative vector size from the mini-batch size.In the dynamic management of the global queue, the current mini-batch of encoded key features is enqueued into the queue and the oldest key features are dequeued from the queue.This process ensures that the model is always learning from the latest data by a dynamic and efficient management of key features. Global Contrastive Loss Global contrastive loss is a measure of the similarities between global features in a representation space and promotes the model to learn global representations.In contrastive learning, if a query feature (generated by query encoder) is given, only a unique key feature in the global queue can match it.So, the idea of contrastive learning is to compare the query feature with all the key features in the queue and hope that the query feature is as similar as possible to its matching key feature, and then it stays away from others.Consider an encoded query feature g II i and a set of encoded samples {g I 0 , . . .g I i , . . .g I K } that contains K + 1 key features in the global queue.Obviously, there is a single key feature (denoted as g I i ) that matches g II i .Then, the contrastive loss function, called InfoNCE [30], is used to expect matching pairs to be similar and mismatching pairs to be dissimilar, as follows: Global Contrastive Loss where τ g is a temperature hyper-parameter, and N G denotes the number of samples from a mini-batch.The sum in the denominator is calculated over one positive key feature g I i and other K negative key features.Intuitively, the InfoNCE loss tries to classify the query feature g II i as its corresponding positive key feature g I i rather than others. Local Contrastive Learning Module The local contrastive learning module is a local contrastive representation space for computing the contrastive loss associated with the local regions of a WBM.For a WBM with mixed-type defect patterns, the segmentation task is more complex due to the interconnected nature of defects and their variability in quantity, position, and type, etc.While global features can effectively capture the overall information of an image, relying solely on global features to measure WBM defect patterns will result in the neglect of crucial local details.This approach may not be optimal for segmentation tasks that require pixel-level discrimination.To address this issue, we design the local contrastive learning module to learn the representation of local regions.We separate the WBM into multiple regions, selectively identify relevant regions, and subsequently perform position matching and feature extraction for local contrastive learning.This method ensures that the segmentation process benefits from both the global context and the fine-grained local information, enhancing the overall accuracy and effectiveness of defect recognition.The details are as follows: Local Region Selection and Matching Randomly selected local regions will be biased towards the more dominant feature categories, as the "background" category accounts for a large proportion in mixed-type WBM defect patterns.Therefore, we need to make the selection of local regions reasonable to contain more valuable feature categories.For example, as shown in Figure 5, flipping and rotating operations are performed on x i , and two augmented views x I i and x II i are obtained respectively.The selected local regions are then matched according to their positions.The local region selection and matching is performed by the selection of appropriate regions in x I i at first, and then by the determination of the local regions in x II i that match with the selected regions.The appropriateness of each local region to be selected is evaluated by its weight, which is calculated by a convolutional layer with the kernel size being the same as the local region size n s × n s .Specifically, x I i is input into the convolutional layer, and the weight of each local region is calculated and recorded by sliding the kernel.We select the local region with the maximum weight from x I i , and then the position of the matching local region in x II i is determined.To minimize overlap, after each local region selection, the region is excluded so that the centers of subsequently selected regions do not fall into the previously selected local regions.This weighted selection and matching process is repeated n r times, selecting distinct local regions in each iteration to obtain n r pairs of matched local regions from images x I i and x II i . Local Feature Extraction Local features l I j and l II j that capture the pixel-level discrimination of WBM defect patterns are extracted by the following steps.Firstly, feature maps d k (e k (x I i )) and d q (e q (x II i )) of a positive pair (x I i , x II i ) are obtained from a key and query encoder-decoder network.Here, e k (•) and e q (•) are key and query encoders while d k (•) and d q (•) are key and query decoders, which have the same structure as the downstream encoder-decoder network, respectively.Then, the j-th (j = 1, . . ., n r ) pair of matching local region feature maps L I j and L II j is extracted according to the idea of local region selection and matching.After that, average pooling µ(•) is performed on local region feature maps L I j and L II j , and the results then pass through the local projection head h L (•).Therefore, the final local features can be defined as follows: Local Feature Extraction where feature maps d k (e k (x I i )) and d q (e q (x II i )) have the same size as the original image.The local projection head h L (•) can contribute to making the model better capture the differences between local regions.µ represents calculating the average value of each channel in feature maps, W Local Feature Extraction L and W Local Feature Extraction (2) L are linear transformation matrices, and R L is a ReLU nonlinearity.Similar to the global contrastive learning, the queue is also applied to dynamically store and manage local region vectors in the training of the model, as shown in Figure 3. Local Contrastive Loss The local contrastive loss updates the network by forcing the feature representations of matching local regions to be similar and the feature representations of different local regions to be dissimilar.Specifically, considering a local query feature l II j and a set of vectors {l I 0 , . . .l I j , . . .l I Γ } that contain Γ + 1 key features in the local queue, there is a single key feature (denoted as l I j ) that matches l II j .Then, the local contrastive loss can also be calculated by InfoNCE as follows: Local Contrastive Loss where τ l is a temperature hyper-parameter, N L indicates the number of pairs of matched local regions in a mini-batch, and Γ represents the number of key features in the local queue. Network Updating 3.5.1. Self-Supervised Pre-Training In the pre-training period, the total contrastive loss function to update the query encoder parameters θ e q and query decoder parameters θ d q is defined as follows: Network Updating 3.5.1. Self-Supervised Pre-Training where L G represents the global contrastive loss in Equation ( 4), and L L represents the local contrastive loss in Equation (7).Although using queues allows for the size of negative vectors to be larger, it also poses difficulties for updating the key encoder and key decoder via back-propagation, since the gradient should propagate to all samples in the queue.To address this issue, a momentum update approach is utilized for the key encoder and decoder, which accumulates exponential moving averages of the key network to ensure a stable and efficient update manner.To be specific, the query encoder parameters θ e q and the decoder parameters θ d q are updated via back-propagation by Equation ( 8), while the key encoder parameters θ e k and decoder parameters θ d k are updated by the momentum equations: Network Updating 3.5.1. Self-Supervised Pre-Training and Network Updating 3.5.1. Self-Supervised Pre-Training where α 1 and α 2 ∈ [0, 1) are the momentum coefficients.The momentum updating makes parameters θ e k and θ d k evolve more smoothly than θ e q and θ d q .Therefore, although the keys in the queue are generated by different encoders and decoders, the differences between these encoders and decoders can be ignored. Supervised Fine-Tuning Supervised fine-tuning refers to training the model on a smaller and task-specific labeled dataset.The purpose of this stage is to make the model adapt to the specific requirements of the given task.In detail, the model retains the knowledge learned in the pre-training stage while also learning additional information relevant to the specific task.In our problem, given labeled data {x i , y i } ∈ D l , we fine-tune the whole network through a segmentation loss L S and classification loss L C . Supervised Fine-Tuning For the computation of the segmentation loss L S , we employ the cross-entropy loss function [31], which computes the pixel-level difference between segmented defect patterns and the ground truth.However, merely calculating the loss value of pixels may result in over-segmentation.It is still necessary to compute the loss value associated with the type of defect.We use a C-bit one-hot value to represent the predicted types of WBM defect patterns and calculate the corresponding binary cross entropy loss L C .Since we need to simultaneously focus on the classification and segmentation of WBM defect patterns, the total loss function in the fine-tuning period is defined as follows: Supervised Fine-Tuning where L S represents the segmentation loss and L C represents the classification loss. Data Description A wafer bin map (WBM) is the result of the circuit probing process, recording the spatial distribution of defective chips on the wafer.The WBMs dataset collection system is shown in Figure 6.The primary method of wafer testing involves the coordination between the tester and the probe stage [32].During the testing process, the tester cannot directly measure the wafer under test.Instead, it relies on the probes in the probe card to make electrical contact with the pads or bumps on the wafer.The test signals measured by the probes are then sent to the automatic test equipment (ATE) for analysis and judgment, thereby obtaining the electrical characteristics test results for each die on the wafer.All samples are collected in actual industrial scenarios by the wafer probe testing station.We standardized the image size to 52 × 52.As shown in Table 1, the defect types contain 8 kinds of single defect patterns and 29 kinds of mixed-type defect patterns (13 kinds of double mixed-type defect patterns, 12 kinds of triple mixed-type defect patterns, and 4 kinds of quadruple mixed-type defect patterns).We represent each type of defect using the uppercase initial letter of its name as shown in Figure 1.It is worth noting that Random and NearFull defects do not significantly point to specific manufacturing roots, and their impact in practice is minimal.Also, these two types of patterns are not suitable for generating mixed defects with other single defect patterns, so we do not consider the synthesis of these two types.Furthermore, we consider the WBMs of the normal category (C0) into the model training process, and there are 37 kinds of defect patterns and 1 kind of normal category in total.In the final dataset, we collected 19,000 WBMs with 500 instances for each defect pattern.In our problem setting, the original WBMs have only pixel values 0, 1, and 2, so x i ∈ {0, 1, 2} H×W mentioned earlier is the WBM; y i = (m i , s i ) | m i ∈ {0, 1} C×H×W , s i ∈ {0, 1} C is the corresponding ground truth category label, where C denotes the number of pattern types; m i is the pixel label map of the i-th sample; and s i represents the C-bit one-hot label. Model Evaluation In this paper, we focus on both the segmentation and classification performance of mixed-type WBM defect patterns.Specifically, we use Pacc (pixel predicted accuracy) and IoU (Intersection over Union) to evaluate the results of semantic segmentation, which can be defined for a specific class c as follows: Model Evaluation where m c i and mc i denote the actual and predicted pixel label maps of the c-th pattern in the i-th WBM.For mixed-type patterns, the mean IoU (mIoU) and the mean Pacc (mPacc) are used to evaluate the model segmentation performance. Model Evaluation For the evaluation of classification results, we use Accuracy to measure the classification accuracy of mixed-type WBM defect patterns.To evaluate the performance in the false classification of WBMs, Precision and Recall are employed in our experiments.The definitions of the indices are shown as follows: Model Evaluation where TP denotes the true positives, TN is the true negatives, FP represents the false positives, and FN represents false negatives. Implementation Details In this work, the encoders and decoders designed in our model have the same structure as those in DeepLab v3+ [33].During the pre-training period, we used an abundant amount of unlabeled WBMs to pre-train the encoder and decoder for 350 epochs with a batch size of 64.We optimized the parameters with Adam optimizer, and the initial learning rate was set as 0.01 with the cosine decay schedule.In addition, we selected 6 local regions of size 12 × 12 from each sample in the local region selection and matching process (i.e., n s = 12, n r = 6).The hyper-parameter λ 1 in Equation ( 8) was set to 0.5 to balance the global contrast loss and local contrast loss.Following [8], the momentum coefficients α 1 and α 2 were all set to 0.999, and the size of the queues was set to 2048.After pre-training, the model with the lowest loss was saved for the downstream segmentation task. Implementation Details In the fine-tuning period, we trained our model using a small amount of labeled WBMs for a total of 150 epochs, with a batch size of 32.The initial learning rate was set to 0.001, which decreased to 98% per epoch.The hyper-parameter λ 2 in Equation ( 11) is used to balance pixel loss and one-hot prediction loss, so we also set it to a default 0.5.In addition, the experiment was implemented on an equipment with an Intel(R) Xeon(R) Gold 6226R @ 2.90 GHz CPU and an NVIDIA RTX A6000 GPU by Python 3.8.3. Model Performance In our experimental setting, we randomly split the dataset into three subsets: 80% for pre-training, 10% for fine-tuning, and 10% for testing.We obtained the Pacc, IoU, Accuracy, Precision, and Recall for 38 kinds of defect patterns to demonstrate the performance of our model.Table 2 primarily displays the segmentation and classification results for the normal pattern and the single-type defect patterns, Table 3 shows the segmentation results for the mixed-type defect patterns, and Table 4 presents the classification results for the mixed-type defect patterns.As shown in Table 2, the horizontal axis represents different categories (C0 to C8), while the vertical axis displays various evaluation metrics for segmentation and classification.The average Pacc, IoU, Accuracy, Precision, and Recall of our proposed model for C0-C8 are 95.78%,93.87%, 96.80%, 94.61%, and 94.89%.In Tables 3 and 4, to facilitate the presentation of the experimental results, the horizontal axis represents various evaluation metrics for segmentation and classification, respectively, while the vertical axis corresponds to different categories (C9 to C37).The average Pacc, IoU, Accuracy, Precision, and Recall for C9-C37 are 95.40%,90.51%, 92.34%, 94.45%, and 94.66%.From an overall perspective, the more the defect classes that appear on the same WBM, the more difficult it is to recognize and segment.However, whether it is a mixture of two defects, three defects, or four defects, our model accurately accomplished the recognition and segmentation of WBMs in the testing set. Figure 7 presents several mixed-type WBM segmentation results achieved with our proposed model.We randomly selected eight experimental samples, each displaying the original mixed-type WBM, label map, and corresponding segmentation output.We can see that the segmentation maps obtained using our model are smooth, complete, and robust to noise.Even in the cases where several mixed defect patterns are overlapped, our model can still distinguish them based on the different characteristics of each defect pattern.For all these defect patterns, the C and ER classes are best classified and segmented.This is because the location and shape of the C and ER defect patterns are relatively fixed and easier to distinguish.Even for the S class, which may easily interact with other pattern classes, our model still has an excellent segmentation performance.Therefore, our model has great potential and application value in the field of WBMs classification and segmentation. Comparison with Other Methods In this section, we compare the performance of our proposed model with other selfsupervised learning models, including Jigsaw [34], SimCLR [9], and MoCo v2 [8].These are all relatively successful contrastive learning models.To ensure fairness in comparison, all models used in the experiments have the same dataset and division ratio as in the previous section. Comparison with Other Methods As shown in Table 5, the horizontal axis represents the overall evaluation metrics for segmentation and classification, including mPacc, mIoU (used for segmentation), and Accuracy, Precision, and Recall (used for classification), while the vertical axis displays the numerical results for each method across these metrics.The overall mPacc, mIoU, Accuracy, Precision, and Recall values of our model are as high as 95.59%, 92.19%, 93.57%, 94.43%, and 94.78%, respectively.These indicators are far superior to the other three self-supervised contrastive learning methods.SimCLR performs the worst, with the overall IoU and Accuracy values only being 75.85% and 80.41%.This is related to the fact that SimCLR relies more on large batch data, and the model cannot learn more useful knowledge from limited data.Although selfsupervised contrastive learning is widely used in the field of image classification, research on segmentation tasks is still somewhat lacking.The other three common contrastive learning methods used for comparison only focus on global representations; thus, they ignore the local information, which is important for segmentation tasks.So, even after the fine-tuning period, their performance is still not excellent.However, our approach is designed to focus on both the global and local information of the image.Therefore, the proposed model can perform well whether the WBM defect patterns are easy or difficult to distinguish.Self-supervised pre-training needs to use a large amount of unlabeled data, and an abundance of unlabeled WBMs is readily accessible in the industrial manufacturing process.Therefore, this section investigates the potential of more self-supervised pre-training unlabeled data improving the performance of the model.Building upon our WBM dataset, we randomly utilized 1%, 25%, 50%, 75%, and 100% pre-training unlabeled WBMs.As presented in Table 6, the horizontal axis represents different amounts of pre-training unlabeled data, while the vertical axis displays various evaluation metrics for segmentation and classification.The experimental results indicate an overall upward trend as the amount of unlabeled data increases.This is because more unlabeled pre-training data contain richer features, so the model can learn more distinctive feature representations, thereby improving the generalization ability.Hence, it can be anticipated that the proposed method may yield even greater benefits when applied to a larger dataset for self-supervised pre-training.This section examines the influence of utilizing additional labeled data for fine-tuning on model performance.Initially, we expanded the fine-tuning labeled dataset to the same size as the pre-training unlabeled dataset.Then, we fine-tuned the model using varying proportions of labeled data, specifically 1%, 5%, 10%, 25%, 50%, and 100% of the self-supervised unlabeled data.The results, presented in Table 7, indicate that as the amount of labeled fine-tuning data increased, the evaluation metrics exhibited an upward trend, although at a diminishing rate.This can be attributed to the model's ability to learn more information with an increasing number of labels but with a diminishing rate for each additional label.When the amount of labeled data reaches 25% of the selfsupervised unlabeled data, the model achieves outstanding performance, and almost all of the evaluation metrics reach a fairly satisfactory result.Therefore, our proposed selfsupervised contrastive learning model is not heavily dependent on the size of the labeled data but still remains effective even when a large amount of labeled data are available. Figure 1 . Figure 1.(a) Eight common single-type WBM defect patterns.(b) Examples of mixed-type WBM defect patterns. Figure 2 . Figure 2. The self-supervised learning paradigm. Figure 4 . Figure 4. Illustration of the data augmentation operators. Figure 5 . Figure 5. Process of local region selection and matching. Figure 6 . Figure 6.Wafer probe testing station. Figure 6 . -Type C + L + EL + S (C34) C + L + ER + S (C35) D + L + EL + S (C36) D + L + ER + S (C37) Figure 7 . Figure 7. Examples of visualization results obtained using our proposed model. Table 1 . Description of mixed-type WBM defect patterns. Table 2 . Segmentation and classification results for normal and single-type defect patterns (%). Table 3 . Segmentation results for mixed-type defect patterns (%). Table 3 . Cont. Table 4 . Classification results for mixed-type defect patterns (%). Table 5 . Comparison with other methods using limited labeled data on WBM defect pattern recognition and segmentation task (%).Discussion 4.4.1.Effectiveness of the Amount of Self-Supervised Unlabeled Data Table 6 . Experimental results with different amounts of pre-training unlabeled data (%). Table 6 . 4.4.2.Effectiveness of the Amount of Fine-Tuning Labeled Data Table 7 . Experimental results with different amounts of fine-tuning labeled data (%).

섹션 본문 64문단 · 37,762자

(제목 없음)

1Recognizing defect patterns in semiconductor wafer bin maps (WBMs) poses a critical challenge in the integrated circuit (IC) manufacturing industry.The accurate classification and segmentation of these defect patterns are of utmost significance as they are key to tracing the root causes of defects, thereby reducing costs and enhancing both product efficiency and quality.As the manufacturing process grows in complexity, the WBM becomes intricate when multiple defect patterns coexist on a single wafer, making the recognition task increasingly complicated.In addition, traditional supervised learning methods require a large number of labeled samples, which is labor-intensive.In this paper, we present a self-supervised contrastive learning framework for the classification and segmentation of mixed-type WBM defect patterns.Our model incorporates a global module for contrastive learning that captures image-level representations, alongside a local module that targets the comprehension of regional details, which is helpful for the segmentation of defective patterns.Experimental results demonstrate that our model performs effectively in scenarios where there is a limited number of labeled examples and a wealth of unlabeled ones.

Introduction

2The production of semiconductor devices is a complex and highly detailed operation, involving hundreds of steps to fabricate integrated circuit (IC) chips on silicon wafers.After wafer fabrication, the wafer needs to be inspected.Common inspection methods include a probing test, scanning electron microscopy (SEM), transmission electron microscopy (TEM), X-ray inspection, and automatic optical inspection (AOI), each generating information at different levels.For probing tests, the electrical performance of each die is tested using wafer probes.Dies that meet quality requirements are cut off from the wafer and utilized as final qualified chips.As the worldwide need for these devices grows, manufacturers are concentrating their efforts on boosting manufacturing efficiency by employing techniques such as maximizing the number of chips per wafer.Nevertheless, the enhanced complexity of these advanced techniques also gives rise to various defects, which are inevitable during the manufacturing processes.Therefore, the results of wafer test are stored in wafer bin maps (WBMs) for defect analysis, contributing to reducing defect rates and ensuring market competitiveness [1].

3WBM defect pattern recognition is crucial for detecting systemic manufacturing issues, as the accurate classification and segmentation results of WBM defect patterns can effectively infer the root causes of defects in the manufacturing process [2].The defects on the wafer can generally be divided into two categories: random errors and systematic faults.When dealing with wafer defect patterns, the analysis of systematic faults is generally the main focus, as the defect patterns caused by random errors are irregular and difficult to eliminate.As shown in Figure 1a, the typical single defect patterns contain the following: "Center", "Donut", "EdgeLoc", "EdgeRing", "Loc", "NearFull", "Scratch", and "Random" [3].With the ongoing advancement in the IC industry, the complexity of manufacturing raises the likelihood of mixed-type WBM defect patterns appearing on the same wafer [4,5], as shown in Figure 1b.These defect patterns may interact with each other, resulting in more intricate issues.Consequently, accurate classification and segmentation of these mixed-type WBM defect patterns are essential for effective quality control.module is used to learn pixel-level discrimination.With the introduction of queues, each module receives a sufficient number of negative samples, improving the contrastive loss computation.To the best of our knowledge, this is the first application of contrastive learning to both the classification and segmentation of WBM defect patterns.The primary contributions of this paper are as follows:

4(1) We employ self-supervised contrastive learning for both the classification and segmentation of mixed-type defect patterns.In this way, we can obtain more precise information about the types and locations of different defect patterns.(2) Our proposed model integrates global and local contrastive learning modules, enabling the learning of both image-level and pixel-level features directly from unlabeled data.This approach provides a robust foundation for downstream classification and segmentation tasks using only a limited amount of labeled data.

5(3) Experimental evaluations on the mixed-type WBM defect pattern dataset demonstrate that our framework outperforms existing self-supervised methods.

6The remainder of this paper is organized as follows: Section 2 presents a brief overview of recent studies on mixed-type WBM defect pattern classification and segmentation.Section 3 details the proposed methodology.Section 4 discusses the experimental results and analysis.Finally, Section 5 contains concluding remarks and directions for future research.

WBM Defect Pattern Recognition

7WBM defect pattern analysis is crucial for identifying the root cause of process failures in semiconductor manufacturing.The current research mainly focuses on the classification of single defect patterns and can be roughly divided into three categories.The first category mainly monitors defect patterns on WBMs by constructing statistical information [12,13], which can successfully separate normal and abnormal graphic patterns, but it is difficult to distinguish different defect patterns.The second category is model-based clustering methods.For example, Wang et al. [14] used Gaussian EM to detect elliptical and linear patterns and used the shell algorithm to estimate annular patterns.Yuan and Kuo [15] proposed a mixed model describing the distribution of defects and used Bayesian inference to estimate parameters.The last category is machine learning methods that have received more and more attention in recent years.Wang and Chen [16] trained a multilayer perceptron (MLP) on a set of hand-crafted spatial filters that reflect the rotational invariance property of WBM.Kulkarni [3] applied CNNs to classify defect patterns based on a synthesized WBM dataset.Kang et al. [17] presented a semi-supervised representation learning method, which fully utilizes the information in both unlabeled and labeled wafer maps.Most of the above research relies on large WBM databases and has problems with unsatisfactory performance and high computational costs.

8The composition of mixed-type WBM defect patterns is more complex, as the combination of defect patterns can vary greatly.Thus, research on the classification of mixed-type WBM defect patterns is less extensive than that on single WBM defect patterns.In these studies, Byun and Baek [18] proposed a new approach using a convolutional autoencoder to initialize the weights of a CNN.Tello et al. [19] used feature rules to determine whether a wafer map has mixed-type patterns and then used a stochastic general regression neural network (GRNN) and a deep structured CNN for classification.Kyeong and Kim [20] applied a CNN to classify WBM defects with mixed-type defect patterns.Wang et al. [5] proposed DC-Net, which used a deformable convolutional network (DC-Net) to classify mixed-type defect patterns.These methods are unable to recognize and locate mixed-type defect patterns on WBMs simultaneously, and the research on the separation of multiple defect patterns is still insufficient.

9Compared with classification, image segmentation can provide more detailed information and better understand the content of the image.For mixed-type WBM defect pattern segmentation, Nag et al. [21] recently proposed a novel network based on an encoderdecoder architecture for the simultaneous classification and segmentation of single and mixed defect patterns.Chiu et al. [2] proposed a method based on Mask R-CNN [22] to identify WBM defect patterns.Yan et al. [23] presented a new U-Net framework that used semantic segmentation methods to segment different defect patterns on WBMs.However, existing research tends to focus more on global image representation while overlooking the powerful auxiliary role that local information plays in image segmentation tasks.

Self-Supervised Contrastive Learning

10Self-supervised learning mainly uses auxiliary tasks to mine its own supervision information from large-scale unsupervised data and trains the network through this constructed supervision information [7,24].As shown in Figure 2, the core idea of the self-supervised learning paradigm is to first learn knowledge from unlabeled samples by designing selfsupervised signals and then transfer it to downstream tasks.As a branch of self-supervised learning, contrastive learning [25] focuses on learning the common features between instances of the same class and distinguishing the differences between instances of different classes.Contrastive learning can effectively utilize unlabeled data for training [9,26] and has been widely applied in the field of natural image processing.In the field of WBM defect pattern classification, Kwak et al. [27] applied a method (SWaCo) for safe WBM classification with self-supervised contrastive learning to effectively exploit unlabeled data.Kahng et al. [28] presented a self-supervised learning framework that fully utilizes unlabeled data to pre-learn rich visual representations for data-efficient WBM defect pattern classification.Hu et al. [29] proposed a contrastive learning framework for semi-supervised learning and prediction of WBM defect patterns.It can be seen that self-supervised contrastive learning methods do not heavily rely on the number of labeled samples and are mostly used for the classification of WBM defect patterns, but there is still little research on segmentation tasks.The urgent challenge lies in establishing a self-supervised contrastive learning model that possesses both classification and segmentation capabilities for mixed-type WBM defect patterns.

Overview

11In this paper, we propose a classification and segmentation model for mixed-type WBM defect patterns based on self-supervised contrastive learning.In our problem setting, we consider a set of WBM data including N labeled data and M unlabeled data, where N ≪ M. For simplicity, the unlabeled set is defined as D u = {x i } M i=1 , and the labeled set is defined as D l = {x i , y i } M+N i=M+1 .As shown in Figure 3, the framework consists of a selfsupervised pre-training stage and a supervised fine-tuning stage.In pre-training, global contrastive learning module is designed to learn image-level representation, while the local contrastive learning module is used to better understand the structure of local regions, which contributes to the image segmentation task.To distinguish extracted features with different connotations, we apply the concept of a query and a key to describe encoders and decoders, although they have the same structure respectively.A query can be understood as the target to be searched for, and a key is the template.The model is built by matching the query to a dictionary of keys, which is a queue of the encoded representations of data samples that is updated with each mini-batch.In fine-tuning, pre-trained weights are transferred to the downstream classification and segmentation tasks and fine-tuned with a limited number of labeled samples.This section describes the proposed framework in detail.

12Figure 3.The overall framework of our proposed model.Note that the figure omits the display of negative samples.In the self-supervised pre-training stage, we pre-train the network using a large amount of unlabeled data x i ∈ D u .After that, we transfer the knowledge embedded in the query encoder and query decoder to the downstream task and fine-tune the network with few labeled samples {x i , y i } ∈ D l .

Data Augmentation

13In contrastive learning, the model is trained by enforcing similarity between positive sample pairs and dissimilarity between negative sample pairs.Therefore, the core of contrastive learning is the construction of positive and negative samples.In practice, different augmented views of the same sample after data augmentation are seen as positive samples, while other samples are defined as negative samples.Supported by data augmentation, the model can learn better feature representations of the data, capture the fundamental structure and relationships between samples, and effectively prevent over-fitting.As shown in Figure 4, we perform data augmentation operators, i.e., random rotation, flipping, and random noise on samples for learning the rotational invariance of WBMs and improving the robustness and generalization ability of the model.Regarding the noise addition operations in data augmentation, given that noise in semiconductor manufacturing environments (such as dust, light variations, etc.) can affect the performance of detection systems, we introduce different types of artificial noise (Gaussian Noise, Salt-and-Pepper Noise, and Poisson Noise) to simulate real-world production noise conditions.Specifically, given unlabeled sample x i ∈ D u , two augmented WBMs x I i and x II i are generated by data augmentation t 1 and t 2 , i.e., x I i = t 1 (x i ) and x II i = t 2 (x i ).These two augmented views are then used for the illustration of subsequent feature extraction.

Global Contrastive Learning Module

14The global contrastive learning module mainly promotes the model to learn the ability of extracting global features.Since global features provide the context information of the image, the designing of this module contributes to the effective comprehension of the overall structure of mixed-type WBMs.Specifically, key and query encoders are used to extract high-dimensional key and query global features.Then, these high-dimensional features are mapped to lower-dimensional hidden spaces for a more compact representation through the global projection head.After that, the global queue that is a unique form of a linear list is employed to dynamically manage key features.The construction of the global contrastive learning module is similar to MoCo v2 [8]; we provide a detailed description as follows.

Global Feature Extraction

15Global features refer to the overall attributes of an image, capable of capturing the global information and understanding the image from a holistic perspective.We apply the concept of a query and a key to describe encoders for distinguishing extracted features with different connotations.As given a series of key features and a query feature, contrastive learning is to find the unique key feature that matches the query feature the most and enforce them to be similar while distancing from others.

16Firstly, a key encoder e k (•) and a query encoder e q (•) are used to obtain global key feature G I i and global query feature G II i from the augmented sample instances, respectively.The procedure can be formulated as

17where µ(•) represents the average value of each channel in the feature map, i.e., the global average pooling.e k (•) denotes the key encoder and e q (•) denotes the query encoder, which have the same structure as the downstream encoder e(•).

18In addition, the global projection head h G (•) is an MLP with one hidden layer (with ReLU) in this module, whose presence has been proven to be beneficial to push the dissimilar samples away from each other and obtain more useful information for downstream tasks [9].The global projection head can map the high-dimensional features G I i and G II i to lower-dimensional hidden spaces for a more compact representation, encouraging our model to learn more abstract and informative features.Therefore, we obtain the final global key feature g I i and global query feature g II i by passing G I i and G II i through the global projection head h G (•) to further calculate the global contrastive loss.The conversion can be formulated as follows:

19where W

20G and W

21G are linear transformation matrices, and R G is a ReLU nonlinearity.Furthermore, the global queue that is a unique form of a linear list for dynamically managing vectors is introduced, as shown in Figure 3. Since the core of contrastive learning is to construct sufficient negative sample pairs, we design the global queue to store abundant negative vectors (i.e., key features) generated by the key encoder.The size of key features in the global queue can far exceed the capacity of a single batch, which can increase the diversity of training and improve the generalization ability of the model.Therefore, the introduction of the queue can decouple the negative vector size from the mini-batch size.In the dynamic management of the global queue, the current mini-batch of encoded key features is enqueued into the queue and the oldest key features are dequeued from the queue.This process ensures that the model is always learning from the latest data by a dynamic and efficient management of key features.

Global Contrastive Loss

22Global contrastive loss is a measure of the similarities between global features in a representation space and promotes the model to learn global representations.In contrastive learning, if a query feature (generated by query encoder) is given, only a unique key feature in the global queue can match it.So, the idea of contrastive learning is to compare the query feature with all the key features in the queue and hope that the query feature is as similar as possible to its matching key feature, and then it stays away from others.Consider an encoded query feature g II i and a set of encoded samples {g I 0 , . . .g I i , . . .g I K } that contains K + 1 key features in the global queue.Obviously, there is a single key feature (denoted as g I i ) that matches g II i .Then, the contrastive loss function, called InfoNCE [30], is used to expect matching pairs to be similar and mismatching pairs to be dissimilar, as follows:

23where τ g is a temperature hyper-parameter, and N G denotes the number of samples from a mini-batch.The sum in the denominator is calculated over one positive key feature g I i and other K negative key features.Intuitively, the InfoNCE loss tries to classify the query feature g II i as its corresponding positive key feature g I i rather than others.

Local Contrastive Learning Module

24The local contrastive learning module is a local contrastive representation space for computing the contrastive loss associated with the local regions of a WBM.For a WBM with mixed-type defect patterns, the segmentation task is more complex due to the interconnected nature of defects and their variability in quantity, position, and type, etc.While global features can effectively capture the overall information of an image, relying solely on global features to measure WBM defect patterns will result in the neglect of crucial local details.This approach may not be optimal for segmentation tasks that require pixel-level discrimination.To address this issue, we design the local contrastive learning module to learn the representation of local regions.We separate the WBM into multiple regions, selectively identify relevant regions, and subsequently perform position matching and feature extraction for local contrastive learning.This method ensures that the segmentation process benefits from both the global context and the fine-grained local information, enhancing the overall accuracy and effectiveness of defect recognition.The details are as follows:

Local Region Selection and Matching

25Randomly selected local regions will be biased towards the more dominant feature categories, as the "background" category accounts for a large proportion in mixed-type WBM defect patterns.Therefore, we need to make the selection of local regions reasonable to contain more valuable feature categories.For example, as shown in Figure 5, flipping and rotating operations are performed on x i , and two augmented views x I i and x II i are obtained respectively.The selected local regions are then matched according to their positions.The local region selection and matching is performed by the selection of appropriate regions in x I i at first, and then by the determination of the local regions in x II i that match with the selected regions.The appropriateness of each local region to be selected is evaluated by its weight, which is calculated by a convolutional layer with the kernel size being the same as the local region size n s × n s .Specifically, x I i is input into the convolutional layer, and the weight of each local region is calculated and recorded by sliding the kernel.We select the local region with the maximum weight from x I i , and then the position of the matching local region in x II i is determined.To minimize overlap, after each local region selection, the region is excluded so that the centers of subsequently selected regions do not fall into the previously selected local regions.This weighted selection and matching process is repeated n r times, selecting distinct local regions in each iteration to obtain n r pairs of matched local regions from images x I i and x II i .

Local Feature Extraction

26Local features l I j and l II j that capture the pixel-level discrimination of WBM defect patterns are extracted by the following steps.Firstly, feature maps d k (e k (x I i )) and d q (e q (x II i )) of a positive pair (x I i , x II i ) are obtained from a key and query encoder-decoder network.Here, e k (•) and e q (•) are key and query encoders while d k (•) and d q (•) are key and query decoders, which have the same structure as the downstream encoder-decoder network, respectively.Then, the j-th (j = 1, . . ., n r ) pair of matching local region feature maps L I j and L II j is extracted according to the idea of local region selection and matching.After that, average pooling µ(•) is performed on local region feature maps L I j and L II j , and the results then pass through the local projection head h L (•).Therefore, the final local features can be defined as follows:

27where feature maps d k (e k (x I i )) and d q (e q (x II i )) have the same size as the original image.The local projection head h L (•) can contribute to making the model better capture the differences between local regions.µ represents calculating the average value of each channel in feature maps, W

28L and W

29(2) L are linear transformation matrices, and R L is a ReLU nonlinearity.Similar to the global contrastive learning, the queue is also applied to dynamically store and manage local region vectors in the training of the model, as shown in Figure 3.

Local Contrastive Loss

30The local contrastive loss updates the network by forcing the feature representations of matching local regions to be similar and the feature representations of different local regions to be dissimilar.Specifically, considering a local query feature l II j and a set of vectors {l I 0 , . . .l I j , . . .l I Γ } that contain Γ + 1 key features in the local queue, there is a single key feature (denoted as l I j ) that matches l II j .Then, the local contrastive loss can also be calculated by InfoNCE as follows:

31where τ l is a temperature hyper-parameter, N L indicates the number of pairs of matched local regions in a mini-batch, and Γ represents the number of key features in the local queue.

Network Updating 3.5.1. Self-Supervised Pre-Training

32In the pre-training period, the total contrastive loss function to update the query encoder parameters θ e q and query decoder parameters θ d q is defined as follows:

33where L G represents the global contrastive loss in Equation ( 4), and L L represents the local contrastive loss in Equation (7).Although using queues allows for the size of negative vectors to be larger, it also poses difficulties for updating the key encoder and key decoder via back-propagation, since the gradient should propagate to all samples in the queue.To address this issue, a momentum update approach is utilized for the key encoder and decoder, which accumulates exponential moving averages of the key network to ensure a stable and efficient update manner.To be specific, the query encoder parameters θ e q and the decoder parameters θ d q are updated via back-propagation by Equation ( 8), while the key encoder parameters θ e k and decoder parameters θ d k are updated by the momentum equations:

34and

35where α 1 and α 2 ∈ [0, 1) are the momentum coefficients.The momentum updating makes parameters θ e k and θ d k evolve more smoothly than θ e q and θ d q .Therefore, although the keys in the queue are generated by different encoders and decoders, the differences between these encoders and decoders can be ignored.

Supervised Fine-Tuning

36Supervised fine-tuning refers to training the model on a smaller and task-specific labeled dataset.The purpose of this stage is to make the model adapt to the specific requirements of the given task.In detail, the model retains the knowledge learned in the pre-training stage while also learning additional information relevant to the specific task.In our problem, given labeled data {x i , y i } ∈ D l , we fine-tune the whole network through a segmentation loss L S and classification loss L C .

37For the computation of the segmentation loss L S , we employ the cross-entropy loss function [31], which computes the pixel-level difference between segmented defect patterns and the ground truth.However, merely calculating the loss value of pixels may result in over-segmentation.It is still necessary to compute the loss value associated with the type of defect.We use a C-bit one-hot value to represent the predicted types of WBM defect patterns and calculate the corresponding binary cross entropy loss L C .Since we need to simultaneously focus on the classification and segmentation of WBM defect patterns, the total loss function in the fine-tuning period is defined as follows:

38where L S represents the segmentation loss and L C represents the classification loss.

Data Description

39A wafer bin map (WBM) is the result of the circuit probing process, recording the spatial distribution of defective chips on the wafer.The WBMs dataset collection system is shown in Figure 6.The primary method of wafer testing involves the coordination between the tester and the probe stage [32].During the testing process, the tester cannot directly measure the wafer under test.Instead, it relies on the probes in the probe card to make electrical contact with the pads or bumps on the wafer.The test signals measured by the probes are then sent to the automatic test equipment (ATE) for analysis and judgment, thereby obtaining the electrical characteristics test results for each die on the wafer.All samples are collected in actual industrial scenarios by the wafer probe testing station.We standardized the image size to 52 × 52.As shown in Table 1, the defect types contain 8 kinds of single defect patterns and 29 kinds of mixed-type defect patterns (13 kinds of double mixed-type defect patterns, 12 kinds of triple mixed-type defect patterns, and 4 kinds of quadruple mixed-type defect patterns).We represent each type of defect using the uppercase initial letter of its name as shown in Figure 1.It is worth noting that Random and NearFull defects do not significantly point to specific manufacturing roots, and their impact in practice is minimal.Also, these two types of patterns are not suitable for generating mixed defects with other single defect patterns, so we do not consider the synthesis of these two types.Furthermore, we consider the WBMs of the normal category (C0) into the model training process, and there are 37 kinds of defect patterns and 1 kind of normal category in total.In the final dataset, we collected 19,000 WBMs with 500 instances for each defect pattern.In our problem setting, the original WBMs have only pixel values 0, 1, and 2, so x i ∈ {0, 1, 2} H×W mentioned earlier is the WBM; y i = (m i , s i ) | m i ∈ {0, 1} C×H×W , s i ∈ {0, 1} C is the corresponding ground truth category label, where C denotes the number of pattern types; m i is the pixel label map of the i-th sample; and s i represents the C-bit one-hot label.

Model Evaluation

40In this paper, we focus on both the segmentation and classification performance of mixed-type WBM defect patterns.Specifically, we use Pacc (pixel predicted accuracy) and IoU (Intersection over Union) to evaluate the results of semantic segmentation, which can be defined for a specific class c as follows:

41where m c i and mc i denote the actual and predicted pixel label maps of the c-th pattern in the i-th WBM.For mixed-type patterns, the mean IoU (mIoU) and the mean Pacc (mPacc) are used to evaluate the model segmentation performance.

42For the evaluation of classification results, we use Accuracy to measure the classification accuracy of mixed-type WBM defect patterns.To evaluate the performance in the false classification of WBMs, Precision and Recall are employed in our experiments.The definitions of the indices are shown as follows:

43where TP denotes the true positives, TN is the true negatives, FP represents the false positives, and FN represents false negatives.

Implementation Details

44In this work, the encoders and decoders designed in our model have the same structure as those in DeepLab v3+ [33].During the pre-training period, we used an abundant amount of unlabeled WBMs to pre-train the encoder and decoder for 350 epochs with a batch size of 64.We optimized the parameters with Adam optimizer, and the initial learning rate was set as 0.01 with the cosine decay schedule.In addition, we selected 6 local regions of size 12 × 12 from each sample in the local region selection and matching process (i.e., n s = 12, n r = 6).The hyper-parameter λ 1 in Equation ( 8) was set to 0.5 to balance the global contrast loss and local contrast loss.Following [8], the momentum coefficients α 1 and α 2 were all set to 0.999, and the size of the queues was set to 2048.After pre-training, the model with the lowest loss was saved for the downstream segmentation task.

45In the fine-tuning period, we trained our model using a small amount of labeled WBMs for a total of 150 epochs, with a batch size of 32.The initial learning rate was set to 0.001, which decreased to 98% per epoch.The hyper-parameter λ 2 in Equation ( 11) is used to balance pixel loss and one-hot prediction loss, so we also set it to a default 0.5.In addition, the experiment was implemented on an equipment with an Intel(R) Xeon(R) Gold 6226R @ 2.90 GHz CPU and an NVIDIA RTX A6000 GPU by Python 3.8.3.

Model Performance

46In our experimental setting, we randomly split the dataset into three subsets: 80% for pre-training, 10% for fine-tuning, and 10% for testing.We obtained the Pacc, IoU, Accuracy, Precision, and Recall for 38 kinds of defect patterns to demonstrate the performance of our model.Table 2 primarily displays the segmentation and classification results for the normal pattern and the single-type defect patterns, Table 3 shows the segmentation results for the mixed-type defect patterns, and Table 4 presents the classification results for the mixed-type defect patterns.As shown in Table 2, the horizontal axis represents different categories (C0 to C8), while the vertical axis displays various evaluation metrics for segmentation and classification.The average Pacc, IoU, Accuracy, Precision, and Recall of our proposed model for C0-C8 are 95.78%,93.87%, 96.80%, 94.61%, and 94.89%.In Tables 3 and 4, to facilitate the presentation of the experimental results, the horizontal axis represents various evaluation metrics for segmentation and classification, respectively, while the vertical axis corresponds to different categories (C9 to C37).The average Pacc, IoU, Accuracy, Precision, and Recall for C9-C37 are 95.40%,90.51%, 92.34%, 94.45%, and 94.66%.From an overall perspective, the more the defect classes that appear on the same WBM, the more difficult it is to recognize and segment.However, whether it is a mixture of two defects, three defects, or four defects, our model accurately accomplished the recognition and segmentation of WBMs in the testing set. Figure 7 presents several mixed-type WBM segmentation results achieved with our proposed model.We randomly selected eight experimental samples, each displaying the original mixed-type WBM, label map, and corresponding segmentation output.We can see that the segmentation maps obtained using our model are smooth, complete, and robust to noise.Even in the cases where several mixed defect patterns are overlapped, our model can still distinguish them based on the different characteristics of each defect pattern.For all these defect patterns, the C and ER classes are best classified and segmented.This is because the location and shape of the C and ER defect patterns are relatively fixed and easier to distinguish.Even for the S class, which may easily interact with other pattern classes, our model still has an excellent segmentation performance.Therefore, our model has great potential and application value in the field of WBMs classification and segmentation.

Comparison with Other Methods

47In this section, we compare the performance of our proposed model with other selfsupervised learning models, including Jigsaw [34], SimCLR [9], and MoCo v2 [8].These are all relatively successful contrastive learning models.To ensure fairness in comparison, all models used in the experiments have the same dataset and division ratio as in the previous section.

48As shown in Table 5, the horizontal axis represents the overall evaluation metrics for segmentation and classification, including mPacc, mIoU (used for segmentation), and Accuracy, Precision, and Recall (used for classification), while the vertical axis displays the numerical results for each method across these metrics.The overall mPacc, mIoU, Accuracy, Precision, and Recall values of our model are as high as 95.59%, 92.19%, 93.57%, 94.43%, and 94.78%, respectively.These indicators are far superior to the other three self-supervised contrastive learning methods.SimCLR performs the worst, with the overall IoU and Accuracy values only being 75.85% and 80.41%.This is related to the fact that SimCLR relies more on large batch data, and the model cannot learn more useful knowledge from limited data.Although selfsupervised contrastive learning is widely used in the field of image classification, research on segmentation tasks is still somewhat lacking.The other three common contrastive learning methods used for comparison only focus on global representations; thus, they ignore the local information, which is important for segmentation tasks.So, even after the fine-tuning period, their performance is still not excellent.However, our approach is designed to focus on both the global and local information of the image.Therefore, the proposed model can perform well whether the WBM defect patterns are easy or difficult to distinguish.Self-supervised pre-training needs to use a large amount of unlabeled data, and an abundance of unlabeled WBMs is readily accessible in the industrial manufacturing process.Therefore, this section investigates the potential of more self-supervised pre-training unlabeled data improving the performance of the model.Building upon our WBM dataset, we randomly utilized 1%, 25%, 50%, 75%, and 100% pre-training unlabeled WBMs.As presented in Table 6, the horizontal axis represents different amounts of pre-training unlabeled data, while the vertical axis displays various evaluation metrics for segmentation and classification.The experimental results indicate an overall upward trend as the amount of unlabeled data increases.This is because more unlabeled pre-training data contain richer features, so the model can learn more distinctive feature representations, thereby improving the generalization ability.Hence, it can be anticipated that the proposed method may yield even greater benefits when applied to a larger dataset for self-supervised pre-training.This section examines the influence of utilizing additional labeled data for fine-tuning on model performance.Initially, we expanded the fine-tuning labeled dataset to the same size as the pre-training unlabeled dataset.Then, we fine-tuned the model using varying proportions of labeled data, specifically 1%, 5%, 10%, 25%, 50%, and 100% of the self-supervised unlabeled data.The results, presented in Table 7, indicate that as the amount of labeled fine-tuning data increased, the evaluation metrics exhibited an upward trend, although at a diminishing rate.This can be attributed to the model's ability to learn more information with an increasing number of labels but with a diminishing rate for each additional label.When the amount of labeled data reaches 25% of the selfsupervised unlabeled data, the model achieves outstanding performance, and almost all of the evaluation metrics reach a fairly satisfactory result.Therefore, our proposed selfsupervised contrastive learning model is not heavily dependent on the size of the labeled data but still remains effective even when a large amount of labeled data are available.

Figure 1 .

49Figure 1.(a) Eight common single-type WBM defect patterns.(b) Examples of mixed-type WBM defect patterns.

Figure 2 .

50Figure 2. The self-supervised learning paradigm.

Figure 4 .

51Figure 4. Illustration of the data augmentation operators.

Figure 5 .

52Figure 5. Process of local region selection and matching.

Figure 6 .

53Figure 6.Wafer probe testing station.

54-Type C + L + EL + S (C34) C + L + ER + S (C35) D + L + EL + S (C36) D + L + ER + S (C37)

Figure 7 .

55Figure 7. Examples of visualization results obtained using our proposed model.

Table 1 .

56Description of mixed-type WBM defect patterns.

Table 2 .

57Segmentation and classification results for normal and single-type defect patterns (%).

Table 3 .

58Segmentation results for mixed-type defect patterns (%).

59Cont.

Table 4 .

60Classification results for mixed-type defect patterns (%).

Table 5 .

61Comparison with other methods using limited labeled data on WBM defect pattern recognition and segmentation task (%).Discussion 4.4.1.Effectiveness of the Amount of Self-Supervised Unlabeled Data

Table 6 .

62Experimental results with different amounts of pre-training unlabeled data (%).

634.4.2.Effectiveness of the Amount of Fine-Tuning Labeled Data

Table 7 .

64Experimental results with different amounts of fine-tuning labeled data (%).

참고문헌 32건

  1. Spatial defect pattern recognition on semiconductor wafers using model-based clustering and Bayesian inference European Journal of Operational Research · Elsevier BV · 2007 10.1016/j.ejor.2007.06.007
  2. Monitoring Defects in IC Fabrication Using a Hotelling<tex>$T^2$</tex>Control Chart IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2005 10.1109/tsm.2004.836659
  3. An intelligent system for wafer bin map defect diagnosis: An empirical study for semiconductor manufacturing Engineering Applications of Artificial Intelligence · Elsevier BV · 2012 10.1016/j.engappai.2012.11.009
  4. Detection and classification of defect patterns on semiconductor wafers IIE Transactions · Taylor & Francis · 2006 10.1080/07408170600733236
  5. The leading edge of production wafer probe test technology 2005 10.1109/test.2004.1387391
  6. Step-Down Spatial Randomness Test for Detecting Abnormalities in DRAM Wafers with Multiple Spatial Maps IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2015 10.1109/tsm.2015.2486383
  7. Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzles Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46466-4_5
  8. Wafer Map Defect Pattern Classification and Image Retrieval Using Convolutional Neural Network IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2018 10.1109/tsm.2018.2795466
  9. Deep-Structured Machine Learning Model for the Recognition of Mixed-Defect Patterns in Semiconductor Fabrication Processes IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2018 10.1109/tsm.2018.2825482
  10. Unsupervised Feature Learning via Non-parametric Instance Discrimination 2018 10.1109/cvpr.2018.00393
  11. 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
  12. Mask R-CNN 2017 10.1109/iccv.2017.322
  13. Wafer Map Defect Pattern Recognition Using Rotation-Invariant Features IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2019 10.1109/tsm.2019.2944181
  14. A Simple Framework for Contrastive Learning of Visual Representations arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2002.05709
  15. Mixed Pattern Recognition Methodology on Wafer Maps with Pre-trained Convolutional Neural Networks Proceedings of the 14th International Conference on Agents and Artificial Intelligence · 2020 10.5220/0009177909740979
  16. A survey of loss functions for semantic segmentation 2020 10.1109/cibcb48159.2020.9277638
  17. Deformable Convolutional Networks for Efficient Mixed-Type Wafer Defect Pattern Recognition IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2020 10.1109/tsm.2020.3020985
  18. Semi-Supervised Multi-Label Learning for Classification of Wafer Bin Maps With Mixed-Type Defect Patterns IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2020 10.1109/tsm.2020.3027431
  19. Self-Supervised Representation Learning for Wafer Bin Map Defect Pattern Classification IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2020 10.1109/tsm.2020.3038165
  20. A survey of loss functions for semantic segmentation 2020 10.1109/cibcb48159.2020.9277638
  21. Applying Data Augmentation and Mask R-CNN-Based Instance Segmentation Method for Mixed-Type Wafer Maps Defect Patterns Classification IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2021 10.1109/tsm.2021.3118922
  22. Semi-supervised Wafer Map Pattern Recognition using Domain-Specific Data Augmentation and Contrastive Learning 2021 10.1109/itc50571.2021.00019
  23. Global and Local Contrastive Self-Supervised Learning for Semantic Segmentation of HR Remote Sensing Images IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2022 10.1109/tgrs.2022.3147513
  24. WaferSegClassNet - A light-weight network for classification and segmentation of semiconductor wafer defects Computers in Industry · Elsevier BV · 2022 10.1016/j.compind.2022.103720
  25. Semi-supervised rotation-invariant representation learning for wafer map pattern analysis Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.105864
  26. Efficient Convolutional Neural Networks for Semiconductor Wafer Bin Map Classification Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23041926
  27. Semantic Segmentation of Traffic Scene Based on DeepLabv3+ and Attention Mechanism 2023 10.1109/nnice58320.2023.10105805
  28. Semantic Segmentation-Based Wafer Map Mixed-Type Defect Pattern Recognition IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2023 10.1109/tcad.2023.3274958
  29. SWaCo: Safe Wafer Bin Map Classification With Self-Supervised Contrastive Learning IEEE Transactions on Semiconductor Manufacturing · IEEE Computer Society · 2023 10.1109/tsm.2023.3280891
  30. Self-Supervised Dam Deformation Anomaly Detection Based on Temporal–Spatial Contrast Learning Sensors · Multidisciplinary Digital Publishing Institute · 2024 10.3390/s24175858
  31. Self-Supervised and Zero-Shot Learning in Multi-modal Raman Light Sheet Microscopy Preprints.org · 2024 10.20944/preprints202411.0852.v1
  32. Multi-Scale Contrastive Learning with Hierarchical Knowledge Synergy for Visible-Infrared Person Re-Identification Sensors · Multidisciplinary Digital Publishing Institute · 2025 10.3390/s25010192