Next Article in Journal
Radar Sensing for Activity Classification in Elderly People Exploiting Micro-Doppler Signatures Using Machine Learning
Next Article in Special Issue
An Online Data-Driven Fault Diagnosis Method for Air Handling Units by Rule and Convolutional Neural Networks
Previous Article in Journal
Smartphone Positioning and Accuracy Analysis Based on Real-Time Regional Ionospheric Correction Model
Previous Article in Special Issue
Contrastive Learning for Fault Detection and Diagnostics in the Context of Changing Operating Conditions and Novel Fault Types
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Anomaly Detection Using Signal Segmentation and One-Class Classification in Diffusion Process of Semiconductor Manufacturing

1
Department of Industrial and Management Engineering, Korea University, Seoul 02841, Korea
2
Samsung Electronics Co., Ltd., Hwaseong-si 18448, Korea
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(11), 3880; https://doi.org/10.3390/s21113880
Submission received: 2 April 2021 / Revised: 24 May 2021 / Accepted: 24 May 2021 / Published: 4 June 2021

Abstract

:
This paper proposes a new diagnostic method for sensor signals collected during semiconductor manufacturing. These signals provide important information for predicting the quality and yield of the finished product. Much of the data gathered during this process is time series data for fault detection and classification (FDC) in real time. This means that time series classification (TSC) must be performed during fabrication. With advances in semiconductor manufacturing, the distinction between normal and abnormal data has become increasingly significant as new challenges arise in their identification. One challenge is that an extremely high FDC performance is required, which directly impacts productivity and yield. However, general classification algorithms can have difficulty separating normal and abnormal data because of subtle differences. Another challenge is that the frequency of abnormal data is remarkably low. Hence, engineers can use only normal data to develop their models. This study presents a method that overcomes these problems and improves the FDC performance; it consists of two phases. Phase I has three steps: signal segmentation, feature extraction based on local outlier factors (LOF), and one-class classification (OCC) modeling using the isolation forest (iF) algorithm. Phase II, the test stage, consists of three steps: signal segmentation, feature extraction, and anomaly detection. The performance of the proposed method is superior to that of other baseline methods.

1. Introduction

Recent developments in smart manufacturing have significantly improved the quality of the equipment and process control. Semiconductor fabrication is a complex technological process involving hundreds of steps. Its equipment is becoming more automated, accurate, and efficient, making the detection of potential faults increasingly difficult [1]. High-performance process monitoring and profile analysis enable engineers to detect various abnormal events at an early stage and prevent faults from occurring downstream. During the fabrication process, a fault detection and classification (FDC) system is commonly used to detect faults in semiconductor manufacturing. An FDC identifies the effects of a potential fault on the observed variables and focuses on the process variables that are most relevant to diagnosis. Early and accurate anomaly detection provides engineers with more time to avoid severe equipment malfunctions. It also reduces downtime, improves production quality, and reduces manufacturing costs. Accurate and precise diagnosis of faults during manufacturing is essential to ensure efficient operation and reduce yield loss while effectively controlling the process. Advanced sensors collect large amounts of data, such as temperature, pressure, flow, and power; most of this information is time series (TS) data collected in real time. Performing FDCs in real time requires performing time series classification (TSC) during fabrication.
The aim of this study was to analyze the diffusion process in semiconductor manufacturing, and raw trace data were collected from an existing production line. The characteristics of our data present the following three challenges.
First, an extremely high FDC performance is required because faults directly impact productivity and yield. Nevertheless, some normal and abnormal data show only subtle differences, and general classification algorithms may have limitations in achieving high performance. Conventional FDC methods extract statistical summary features, such as the mean and variance from the trace signal, and use the features as input arguments for the classifiers. Such statistical features have the limitation that a signal’s pattern information may be lost during summarization. Furthermore, the loss of timing information that the signal previously kept has a negative effect on the cause analysis to be performed later.
Second, a critical problem is that the frequency of abnormal data is remarkably low; therefore, the number of data that engineers can use to develop a model is limited. In this case, standard classification algorithms create a serious type II error that misclassifies faulty data as normal because the determination of FDC model parameters is biased to the majority class. Although various TSC methods have been verified for their performance, such as the 1- nearest neighbor (NN), dynamic time warping (DTW) [2], bag-of-SFA-symbols (BOSS) [3], shapelet transform [4], and hierarchical vote collective of transformation-based ensembles (HIVE-COTE) [5], it is difficult to apply current TSC methods to class imbalances. Representative algorithms that can be applied to the class imbalance problem are the local outlier factor (LOF) [6], isolation forest (iF) [7], one-class SVM [8], T2 control chart [9], and one-class incremental clustering [10]. However, the above methods for the class imbalance problem are not guaranteed to provide high performance when trained with raw trace data. Useful summary features must be extracted using an applicable process.
Finally, sensor noise is another factor that degrades the distinction between normal and abnormal trace data. Sensor noise is mainly caused by aging of the sensor and contamination of the processing facility. This noise is particularly severe when the environment or process sequence change, which degrades the performance of general FDC models without preprocessing. It is essential to develop a robust methodology to overcome sensor noise.
Various studies have been conducted to solve the above problems, especially FDC research and one-class time series classification (OCTSC) research, which are representative. Concerning the FDC domain, the standard literature addresses the use of full trace data to determine wafer faults. Chien et al. [1] decomposed the distribution of chemical vapor decomposition (CVD) trace data into a score distribution in a principal component (PC) space and a residual distribution using multiway principal component analysis (MPCA) [11]. The authors used the D and Q statistics of the two distributions as fault-monitoring indices. The D statistic is the Mahalanobis distance between the new wafer and the normal condition in a score space formed by fewer PCs. The Q statistic involves information on the variation. He and Wang [12] proposed a one-class k-nearest neighbor (kNN) method that calculates the distance from neighboring normal wafers and considers faults as outliers in the distribution. Subsequently, the authors used the kNN method on a PC space created by the MPCA [13]. As deep learning has made tremendous progress in recent years, Lee et al. [14] proposed a convolutional neural network model that detects CVD process faults and finds fault-introducing process parameters.
With regard to the OCTSC field, a recent method using dissimilarity-based representations (DBR) showed satisfactory performance. Mauceri et al. [14] used one-class nearest-neighbor classifiers on the DBR and proved that the classification results are more competitive overall than those from robust baseline algorithms. Both recent FDC and OCTSC algorithms are competitive in certain situations, but they are not comprehensively optimized for the three problems described above. We present signal segmentation and a one-class classification (OCC)-based FDC solution that overcomes the problems described above. The contributions of this study are as follows:
  • The proposed method outperformed the existing methods and had the highest accuracy and F1-score.
  • Because modeling is possible under extreme conditions of class imbalance, it can be applied to various manufacturing fields.
The remainder of this paper is organized as follows: Section 2 explains the fundamental problems, showing an example with real data; Section 3 introduces the proposed method in detail; Section 4 describes the experimental results to demonstrate the efficiency of the proposed methodology; and Section 5 presents the conclusions and recommendations for future studies.

2. Application Problem

This study was conducted using data from the diffusion process used in semiconductor manufacturing. The data collected from the sensors are a collection of values sequentially ordered over time. Each dataset is a collection of data from the same process using the same procedure. In other words, the 18 datasets used in the experiment are data collected in different process environments, and our experiments can cover various situations. The data used in this study have the following characteristics.
First, each of the 18 datasets had several change points as the step of the process changed over time. Whether a process step has changed can be estimated relatively clearly by checking if a mean shift has occurred. The step change occurs simultaneously in normal and abnormal data. Most of the state-of-the-art manufacturing processes consist of multiple steps over a long period of time; thus, it is expected that their characteristics are similar to the data used in this study.
Second, each signal has various types of fault patterns. The fault pattern refers to a peculiar pattern that is different from the normal signal appearing in abnormal data. To help understand the characteristics of the data used in this study, we defined some typical fault patterns in Figure 1. The normal signal is shown in black, and the corresponding fault pattern is shown in red. Fault pattern (a) is part of the signal where mean shift occurred. The mean shift occurring within an abnormal signal is more severe than that occurring within a normal signal. Fault pattern (b) is a part of the signal with a large variation. The degree of variation of the abnormal signal was greater than that of the normal signal. Fault pattern (c) is a part of the signal that has a different shape compared to the normal signal. The three patterns defined above appear randomly at specific steps in a specific process. In some steps, two or more patterns overlap.
In addition to the above two characteristics, the frequency of abnormal signals is remarkably low, and sensor noise appears over several sections. The shape of the raw data and process information for each dataset cannot be disclosed because of the security guidelines of the data provider. Considering security, this section explains the motivation for our methodology through publicly available data that have a form similar to actual data. The data in this section represent the engineering variable from a LAM 9600 metal etcher used for etching wafers [11]. The semiconductor manufacturing process generates a large amount of data from the sensors belonging to the process equipment. A basic statistical process control (SPC) identifies faults from individual sensors to monitor the processing status, and the data in this section represent one of the sensor variables from a transformer-coupled plasma (TCP) metal etching process in a real semiconductor manufacturing process. This profile plot is similar to that generated by the sensor for process control. The data were obtained for 30 normal wafers and 10 wafers with intentionally induced faults. Figure 2 shows the plotted values over time from one sensor of the LAM 9600 metal etcher. The X-axis represents the process time, and the Y-axis indicates the radio frequency (RF) power value. The RF power value is an important sensor variable for monitoring the processing status of semiconductor manufacturing. The black lines represent normal data and the red lines indicate abnormal data. As shown in the orange dashed box, the region where data shifted along the X-axis is a noisy section, even within normal data. As shown in the blue dashed box, normal data are relatively clustered in the non-noisy section; data showing differences from clustered normal data are abnormal data. A more rigorous criterion for noise is presented in Section 3.1.
The data we used in this study were more difficult to deal with than the example data in Figure 2. Examining the actual data, we noted that the differences between the normal and abnormal data appeared only in a particular region. The noise level also varies with the signal region, and the number of data shifts is higher than that of the example data. A closer look at the two types of data in Figure 2 reveals that abnormal data are shifted in a particular region. The variation in a specific part of the signal was greater than that of the normal data. Because normal data and abnormal data overlap in many areas, it is difficult to distinguish and separate normal and abnormal datasets. Therefore, a new technique to improve the classification performance is needed.

3. Proposed Method

This paper presents signal segmentation and an OCC-based anomaly detection technique specializing in signal data from the diffusion process in semiconductor manufacturing. The entire framework consists of two phases, one for training and the other for testing. This section explains the concept and application methods of each phase. Figure 3 shows a schematic of the proposed method.
Phase I consists of three steps for training the OCC model. Likewise, Phase II has three steps to detect anomalies with the OCC model trained in Phase I. Section 3.1 explains the process of signal segmentation in Phase I. Section 3.2, which accounts for the LOF-based anomaly score in Phase I. Section 3.3 describes the OCC modeling based on the isolation forest (iF) algorithm used in Phase I. The procedures for Phase II with test data are covered in Section 3.4. In addition, a rough concept of causal analysis is introduced in the same section. Hereafter “signal segment” refers to the part of a signal generated after signal segmentation. The signal segment has a value equal to the length of the time axis of the signal. In addition, this paper refers to a signal segment as a “data object” or simply “object.”

3.1. Phase I—Step 1: Signal Segmentation

In this section, we describe the signal segmentation process. We generate a reference signal that represents all the data collected from one sensor during the process using the same recipe. The reference signal is the average value at each time point of the normal signal. If the engineer agrees, a representative sample of normal data may be designated as the reference signal. To conduct signal segmentation, it is essential to detect the change point of the signal. Change-point detection (CPD), an important activity in statistics or signal processing, determines changes in the underlying model. We employ an offline detection framework as the reference signal is already given. Because the reference signal we created is a value measured over time, we assume that it is y = { y 1 , , y T } [15]. The subscript of y refers to the time over which a signal of length T is sampled. The ( b a ) - long sample subsignal { y t } t = a b   ( 0 a < b T ) is denoted as y a . . b ; the complete signal is therefore y = y 0 . . T . In a strict sense, { y t } t = a b   or   y a . . b is a value greater than a or equal to or less than b . It is assumed that the signal changes abruptly at unknown instants t 1 * < < t i * < < t I * . CPD consists of estimating the indices t i * . Formally, CPD is cast as a model selection problem, which consists of choosing the best possible segmentation according to a quantitative criterion V( { t 1 ,   , t I } , y ) that must be minimized. The criterion function V( { t 1 ,   , t I } , y ) for a particular segmentation is the sum of the costs of all segments that define the segmentation.
V ( { t 1 ,   , t I } ,   y )   : = i = 0 I c ( y t i . . t i + 1 )
where the symbol : = means “is defined to be”. c ( · ) denotes the cost function that measures the goodness-of-fit of the subsignal y t i . . t i + 1 to a specified model. The cost function is a measure of homogeneity. Intuitively, c ( y a . . b ) is expected to be low if subsignal y a . . b is homogeneous and large if the subsignal is heterogeneous. In this study, we used C L 2 as the cost function for CPD [16]. C L 2 is given by
C L 2 ( y a . . b )   : = t = a b y t y ¯ a . . b 2 2
where y ¯ a . . b is the empirical mean of subsignal y a . . b . It is assumed that the signal y is simply a sequence of independent normal random variables with a piecewise constant mean and the same variance. This cost function is referred to as the quadratic error loss and is known to be effective for mean-shift detection. We selected binary segmentation from various change-point searching methods because it yields an approximate solution [17]. Binary segmentation, denoted as BinSeg, is conceptually simple to implement. BinSeg is a greedy sequential algorithm, and the first change-point estimate t ^ ( 1 ) is given by
t ^ ( 1 )   : = a r g m i n 1 t < T 1 c ( y 0 . . t ) + c ( y t . . T )
This operation is performed greedily, in the sense that it searches for the change point that minimizes the sum of costs. The signal is then split into two at t ^ ( 1 ) . The operation is repeated on the resulting subsignals until a stopping criterion is met. BinSeg is combined with C L 2 and implemented to obtain candidates for change points by minimizing a cost function over possible change points. The stopping criterion determines the number of change points. The number of change points in the data is larger than the number of perceptible changes that the engineer can visually check. Figure 4 shows the results of applying the CPD algorithm to the sample data presented in Figure 2. The thick blue line represents the reference signal, which is the average value of the normal data. The black lines represent the normal data. In Figure 4, the detected change points are { t 1 , , t 9 } , dividing the signal into a total of 10 segments, { y 0 . . t 1 ,   y t 2 . . t 3   , ,   y t 9 . . T } . The area enclosed in the light yellow rectangle represents the noise. There are two criteria for determining noise based on an engineer’s knowledge. One is whether there is a significant difference in the data at the same point on the X-axis, and the other is the degree of data shift along the X-axis. Noise usually appears at the boundary of a segmented signal. When the signal is divided into a sufficiently large number of segments, noise appears as an independent segment with a short time interval so that it can be evaluated and removed easily. Noisy areas are excluded from the segments. The areas marked in light blue are signal segments that must be dealt with. Finally, five segments can be set based on the above criteria. The circled numbers in Figure 4 indicate the corresponding segment in the example data. For example, ① represents the first segment, and y 0 . . t 1 and ② represents the second segment, y t 1 . . t 2 . Segment information will be used in the remainder of the anomaly detection process.

3.2. Phase I—Step 2: LOF Score Calculation

The LOF-based anomaly score represents the degree of “outlierness” and is also called the LOF score or the LOF value in this study. In this section we describe how to obtain the LOF value for each section of the signal.
After splitting the signal into multiple segments, extracting quantitative measures for each segment is needed for training the FDC model. For example, because the signal in Figure 4 is divided into five sections, extracting five-dimensional multivariate information from the signal is the purpose of Step 2 in Phase I. This process is beneficial for reducing the number of dimensions and for the representation of raw data. One density-based outlier detection algorithm, LOF, has several advantages over other outlier detection algorithms [6,18]. Local outliers can be detected by providing the outlierness on a numerical scale on the degree of isolation of an object with respect to the surrounding neighborhood. As mentioned at the beginning of Section 3, the signal segment is also written as a data object and may have a sensor value equal to the time length of the signal. The Euclidian distance of the k t h nearest object from an object p is computed and defined as the k distance, where the user-defined parameter k is the number of nearest neighbors [19]. If the number of nearest neighbors is k , the algorithm is executed based on the following definitions: k d i s t a n c e ( p ) is the distance between the data object p and its k t h nearest neighbor. Given the k d i s t a n c e ( p ) ,   the   k d i s t a n c e neighborhood of p contains every object whose distance from p is not greater than the k d i s t a n c e . This is expressed as N ( p , k ) . The r e a c h d i s t k ( p , o ) is the reachability distance of object p with respect to object o . Here, the o symbol refers to the data within the k d i s t a n c e of p .
r e a c h d i s t k ( p , o ) = max { k d i s t a n c e ( o ) ,   d ( p , o ) }
where d ( p , o ) is the E u c l i d e a n   d i s t a n c e between p and o . If the E u c l i d e a n   d i s t a n c e of two points is very small, the following steps will use k d i s t a n c e ( o ) instead of d ( p , o ) to represent   r e a c h d i s t k ( p , o ) .   l r d k ( p )   is the local reachability density of an object p which is calculated according to the following equation.
l r d k ( p ) = (   1 k o N ( p , k ) r e a c h d i s t k ( p , o ) ) 1
where N ( p , k ) is the set of k nearest neighbors of p .   l r d k ( p ) is the average reachability density of the k nearest neighbors. Intuitively, the local reachability density of an object p is the inverse of the average reachability distance based on its k t h nearest neighbor. It should be noted that if p is located in a dense area, the denominator of l r d k ( p ) becomes small, increasing l r d k ( p ) . In contrast, if p is located in a sparse area, the denominator of l r d k ( p ) becomes large, resulting in a small l r d k ( p ) . L O F k ( p ) is the LOF at point p . This factor is given by
L O F k ( p ) = 1 k o N ( p , k ) l r d k ( o ) l r d k ( p )
L O F k ( p ) is the average of the ratios between l r d k ( p ) and those of the k nearest neighbors of p , and represents the degree of outlierness for p . If p is not an outlier, the LOF value is close to one because their densities are similar. If p is an outlier, the LOF value is greater than one because the relative density of p is smaller than N ( p , k ) . This means that the object is located far from normal samples so that the LOF value increases as the degree of outlierness increases.
In this study, the LOF-based anomaly scores for each segment in each signal were calculated for anomaly detection. In Phase I, we obtained the score for the signal corresponding to each segment in the training set. We searched for a value of k between 15 and 25 and set it to 20, which shows high performance empirically. As a result, the LOF score quantifies the difference between the normal and abnormal signals. In the example data presented in Figure 2, we calculated the LOF scores for each of the five segments. In other words, the number of segments corresponds to the number of variables for one signal.
There are two advantages deriving from the score being calculated for each segment rather than for the entire signal. First, the data dimension was considerably reduced. The raw signal has as many variables as the number of time points, but in the method proposed in Section 3.2, each segment of the raw signal is compressed into one score. Second, owing to the LOF score for each segment, it was possible to monitor the sensor data for each section. If the LOF score of a specific segment is remarkably different from other scores in the same section, it can be inferred that there is a problem in that section.

3.3. Phase I—Step 3: Isolation Forest Modeling

The difference for each signal in each segment is quantified in Section 3.2. Using the quantified scores in the classification model is the next step. In this section, we use another OCC method. A one-class classifier aims to capture the characteristics of training instances to distinguish them from potential outliers. The iF method is an extension of decision trees based on isolation and is inspired by the random forest algorithm, and in several applications it has outperformed cutting-edge outlier detection [7]. The main idea of iF is that anomalies are far different from the rest of the data and are susceptible to isolation. Outliers can be divided from the remaining data through simple partitioning. The isolation procedure generates a tree with an observation at each leaf, and each internal node is associated with a split on one variable. The isolation procedure described above was repeated to generate different trees. The likelihood of an observation being an outlier is provided by a score. The score is correlated with the path lengths necessary to isolate that observation.
The proposed method includes iF modeling with LOF scores extracted from each signal in Section 3.2. Random partitioning can be represented by an ensemble of t binary trees. Anomalies produce mean paths from the root to leaves that are longer than those for normal attributes. Trees are called isolation trees ( i T s ). Given a dataset, each iT is obtained by selecting a random subset of attributes and dividing it by randomly selecting a feature and splitting the branch until the node has only one instance. The iF defines an anomaly score, which is a quantitative index that defines an outlier’s degree of isolation. The anomaly score is defined for an observation q as given in Equation (7). Observation q refers to the collection of the LOF scores of all segments for one signal. For example, because the signal in Figure 4 is divided into five segments, each observation comprises five-dimensional multivariate information, as explained in Section 3.2.
S ( x , ψ ) = 2 ( E ( h ( q ) ) c ( ψ ) ) [ 0 , 1 ]
where h ( · ) indicates the path length from a group of i T . That is, E ( h ( q ) ) is the average path length h ( · ) over the t   i T s, and c ( ψ )   is an adjustment factor used to normalize the path length,   ψ is the subsample size and the number of trees, and t needs to be sufficiently large to allow convergence of the path length. When E ( h ( q ) ) n − 1, the anomaly score tends to zero, meaning that q appears to be a normal instance. On the other hand, when E ( h ( q ) ) → 0, the anomaly score tends to 1, meaning that p appears to be an outlier. The threshold of the iF model can be set by determining the number of outliers. In this study, we searched for the optimal outlier ratio; we tried the ratio values 0.005, 0.01, 0.15, and 0.2, and set it to 0.01, which had an excellent empirical performance. For all experimental data, the iF model threshold was set such that the outlier ratio was 0.01.
In this step, we train the iF-based anomaly detection model with LOF scores of signal segments extracted from the training set. We chose the iF for several reasons. First, it provides the best performance for the extracted features and is compatible with LOF-based features. Feature extraction solves the fundamental problem of iF, that is, the performance decreases on high-dimensional data. Second, iF is a representative OCC methodology that can be applied to class imbalance problems. iF is known for its low linear time complexity and memory requirements [7]. Third, because iF is a tree-based algorithm, it has the advantage of being able to calculate the causative factors. The process of calculating the causative segment after applying the iF algorithm is an important diagnostic procedure in the FDC domain.

3.4. Phase II

In Section 3, we present a methodology for training the OCC model. In this section, we present a procedure for testing in Phase II. It consists of three steps and has a structure similar to that in Phase I.
In Step 1 of Phase II, we conducted signal segmentation on the test data. In Section 3.1, segmentation using the reference data has already been performed, and we have the information of the segment section. Segment section information concludes the knowledge of the finally determined segments and the unnecessary sections, including sections with noise or no data. Based on this information, the test data are segmented.
In step 2 of Phase II, we obtained the LOF-based anomaly score between the signals corresponding to each segment in the test data. The method of extracting the LOF-based anomaly score was the same as that presented in Section 3.2. The only difference is that in this section the method was applied to test data, while previously it was applied to training data.
In step 3 of Phase II, we used the iF-based OCC model for anomaly detection, which was already trained in step 3 of Phase I. After applying the test data to the model, we made a final judgment on whether the data were abnormal.

4. Experiments

We performed the FDC task by sequentially applying the described procedures. In Section 4.1, we describe the data used in the experiments. In Section 4.2, we demonstrate the effectiveness of the proposed method by comparing it with other baseline OCC algorithms. For reference, the experiment was performed on a 3.60 GHz computer.

4.1. Data Description

This study was conducted using the data obtained from the diffusion process in actual semiconductor manufacturing. The diffusion process involves particle transfer from higher to lower regions of concentration [18]. When performing diffusion implantation, the key process introduces a controlled quantity of dopants into semiconductors to alter conductivity. Dopant atoms are introduced in the gas phase using doped oxide sources. Then, the doping concentration decreases monotonically from the surface, and several factors of the process determine the in-depth distribution of the dopant. Various types of trace data, including temperature, pressure, flow, and power, are generated during the process described above. The data gathered in the target process are TS data collected in real time.
We performed an analysis of 18 sets of sensor data. Each set was a collection of data from the same process. As explained in Section 2, the data collected from the sensors is a collection of values sequentially ordered in time and has the characteristics that are unique to semiconductor manufacturing. Because it is difficult to obtain fault data, hundreds of normal data are used in the training process. In each of the 18 datasets, about a hundred available abnormal data points were used as test data. We applied cross validation (CV) to validate the proposed method. We used 10-fold CV, a widely used validation method, to reduce the uncertainty. The 10-fold CV involves randomly dividing the set of observations into 10 folds of approximately equal size. Here, the set of observations refers to the training data. The first fold is left aside, and the method is performed on the remaining nine folds. Because the methodology we used in the experiment is an anomaly detection method based on OCC, the test set data is also divided into 10 folds. Likewise, the first fold is left aside, and the remaining nine folds are treated as a validation set. Subsequently, the accuracy and F1-score were computed. This procedure was repeated 10 times. When the number of training sets was more than three times the number of test sets, the number of normal and abnormal data was balanced by undersampling from the training set.
When performing 10-fold CV, the computation time was recorded while performing model training and testing, and the average time was recorded as the average calculation time of each algorithm. The computation time includes not only the time required to train and test the model, but also the time required for all preprocessing.

4.2. Comparison of Experimental Results with Other State-of-the-Art Methods

In Section 4.2, the performance of the proposed method is verified by comparing it with three basic OCC methods and state-of-the-art classification algorithms. Three basic OCC methods were selected because they were used as baselines in many OCC studies. We explained how to set the hyperparameter when training the LOF and iF algorithms in the proposed method in Section 3. The same criteria were applied to train the individual LOF and iF used in the comparison experiment. When training OC-SVM, we performed grid search to find out the optimal value of Nu and Gamma. Nu, the parameter that controls the training errors is set to 0.1, and Gamma which determines the influence of radius on the kernel is set to an optimal value for each experiment.
Only a few classification methods have recently been developed in the field of OCTSC. Among them, we compare experiments with algorithms that have already been proven to perform well. We constructed a comparison experiment with a one-class nearest-neighbor classifier using DBR. Mauceri et al. [14] evaluated various DBRs derived from dissimilarity and prototype methods. The DBR was obtained by calculating the dissimilarity between a single unknown object and a set of prototype objects. The prototype method determines how to extract a subset of prototypes from a set of training samples. In the experiment, when only 10–20% of the training samples were extracted as prototypes using the k–means algorithm, the classification performance was the best for dissimilarity measures. The centroids of the k clusters were used as the prototype objects. Therefore, we extracted some data as a prototype (10–20%) using the k–means algorithm, and calculated 10 dissimilarity measures. Specifically, the 10 dissimilarities were based on Kullback–Leibler [19], cosine dissimilarity [20], dynamic time warping (DTW) [21], autocorrelation [22], Chebyshev norms [23], Manhattan norms [24], Euclidean norms, Gaussian kernel [25], sigmoid kernel, and Wasserstein distance [26]. The 1NN classifier was used to classify the trace data. The results of the proposed algorithm are presented in the first column of the tables. The experimental results written in the “Raw” column of Table 1 and Table 2 mean that the raw data were utilized without calculating the dissimilarity measure. Next, basic OCC methodologies, including LOF, one-class SVM (OC-SVM), and isolation forest (iF), were arranged in order. The OCTSC results for the raw data and 10 dissimilarity measures were added to the tables. Table 1 summarizes the accuracy, and Table 2 summarizes the F1-score.
The average value in each column is shown, and the rank of the proposed algorithm among all comparison groups is presented in the last column. For each dataset, we calculated the rank of the proposed algorithm to compare it to the other methods.
As shown in Table 1, the proposed algorithm achieved the highest performance accuracy for almost all the datasets. As shown in Table 2, we can see that the proposed algorithm had the highest performance in the F1-score for almost all datasets.
In terms of computation time, the proposed method exhibited excellent performance. Figure 5 shows the average value of the computation time for each algorithm as a bar graph. Many of the methods of Mauceri et al. [14] take significant time because they extract features based on the distance between data.

5. Conclusions

This study presented an advanced diagnostic methodology using signal segmentation and OCC in the diffusion process of semiconductor manufacturing. The entire framework consists of two phases, one for training and the other for testing. Each phase comprises three steps for anomaly detection.
By conducting signal segmentation, a method for utilizing signal data information was presented. Rather than using the raw signal, noise can be removed, and signal data can be precisely monitored for each section. The LOF-based score quantifies the difference between the normal and abnormal signals. Because normal signals are clustered with each other, and abnormal signals differ in density, LOF increases the distinction between a normal signal and an abnormal signal. The isolation forest (iF) technique was used as the final classification model, which is consistent with the previous steps.
The proposed method outperformed the existing methods, with the highest F1-score and accuracy score. Moreover, modeling is possible under extreme conditions of class imbalance. Thus, it can be applied to various manufacturing fields as well.
In the future, it will be necessary to conduct follow-up studies related to cause analysis, which are essential for manufacturing domains. Owing to the tree-based iF in the final step, a simple causal analysis is expected.

Author Contributions

K.C. proposed the idea, carried out the experiments, and wrote most of this paper. Y.Y. assisted with numerical modeling and analysis. J.-G.B. validated the proposed method and guided the research. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Research Foundation of Korea (NRF) grant funded by the Korean government (MSIT) (NRF-2019R1A2C2005949). This research was also funded by Brain Korea 21 FOUR and Samsung Electronics Co., Ltd. (IO201210-07929-01).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare that they have no conflict of interest related to this work.

References

  1. Chien, C.-F.; Hsu, C.-Y.; Chen, P.-N. Semiconductor fault detection and classification for yield enhancement and manufacturing intelligence. Flex. Serv. Manuf. J. 2012, 25, 367–388. [Google Scholar] [CrossRef]
  2. Kate, R.J. Using dynamic time warping distances as features for improved time series classification. Data Min. Knowl. Discov. 2015, 30, 283–312. [Google Scholar] [CrossRef]
  3. Schäfer, P. The BOSS is concerned with time series classification in the presence of noise. Data Min. Knowl. Discov. 2015, 29, 1505–1530. [Google Scholar] [CrossRef]
  4. Lines, J.; Davis, L.M.; Hills, J.; Bagnall, A. A shapelet transform for time series classification. In Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Beijing, China, 12–16 August 2012. [Google Scholar] [CrossRef] [Green Version]
  5. Lines, J.; Taylor, S.; Bagnall, A. Time series classification with HIVE-COTE: The hierarchical vote collective of transformation-based ensembles. ACM Trans. Knowl. Discov. Data 2018, 12. [Google Scholar] [CrossRef] [Green Version]
  6. Breunig, M.M.; Kriegel, H.-P.; Ng, R.T.; Sander, J. LOF: Identifying density-based local outliers. In Proceedings of the 2000 ACM SIGMOD International Conference on Management of Data, Dallas, TX, USA, 16–18 May 2000; pp. 93–104. [Google Scholar] [CrossRef]
  7. Liu, F.T.; Ting, K.M.; Zhou, Z.-H. Isolation Forest. In Proceedings of the 2008 Eighth IEEE International Conference on Data Mining, Pisa, Italy, 15–19 December 2008; IEEE: New York, NY, USA, 2008; pp. 413–422. [Google Scholar]
  8. Chen, Y.; Zhou, X.S.; Huang, T. One-class SVM for learning in image retrieval. In Proceedings of the 2001 International Conference on Image Processing, (Cat. No. 01CH37205), Thessaloniki, Greece, 7–10 October 2001; IEEE: New York, NY, USA, 2001; Volume 1, pp. 34–37. [Google Scholar] [CrossRef]
  9. Lu, X.S. Control chart for multivariate attribute processes. Int. J. Prod. Res. 1998, 36, 3477–3489. [Google Scholar] [CrossRef]
  10. Charikar, M.; Chekuri, C.; Feder, T.; Motwani, R. Incremental clustering and dynamic information retrieval. SIAM J. Comput. 2004, 33, 1417–1440. [Google Scholar] [CrossRef]
  11. Wise, B.M.; Gallagher, N.B.; Butler, S.W.; White, D.D.; Barna, G.G. A comparison of principal component analysis, mul-tiway principal component analysis, trilinear decomposition and parallel factor analysis for fault detection in a semicon-ductor etch process. J. Chemom. 1999, 13, 379–396. [Google Scholar] [CrossRef]
  12. He, Q.P.; Wang, J. Principal component based k-nearest-neighbor rule for semiconductor process fault detection. In Proceedings of the 2008 American Control Conference, Seattle, WA, USA, 11–13 June 2008; IEEE: New York, NY, USA, 2008; pp. 1606–1611. [Google Scholar] [CrossRef]
  13. Lee, K.B.; Cheon, S.; Kim, C.O. A Convolutional Neural Network for Fault Classification and Diagnosis in Semiconductor Manufacturing Processes. IEEE Trans. Semicond. Manuf. 2017, 30, 135–142. [Google Scholar] [CrossRef]
  14. Mauceri, S.; Sweeney, J.; McDermott, J. Dissimilarity-based representations for one-class classification on time series. Pattern Recognit. 2020, 100, 107122. [Google Scholar] [CrossRef]
  15. Truong, C.; Oudre, L.; Vayatis, N. Ruptures: Change point detection in Python. arXiv 2018, arXiv:1801.00826. [Google Scholar]
  16. Truong, C.; Oudre, L.; Vayatis, N. Selective review of offline change point detection methods. Signal Process. 2020, 167, 107299. [Google Scholar] [CrossRef] [Green Version]
  17. Xu, X.; Lei, Y.; Zhou, X. A lof-based method for abnormal segment detection in machinery condition monitoring. In Proceedings of the 2018 Prognostics and System Health Management Conference (PHM-Chongqing), Chongqing, China, 26–28 October 2018; IEEE: New York, NY, USA; pp. 125–128. [Google Scholar] [CrossRef]
  18. Kakizawa, Y.; Shumway, R.H.; Taniguchi, M. Discrimination and Clustering for Multivariate Time Series. J. Am. Stat. Assoc. 1998, 93, 328–340. [Google Scholar] [CrossRef]
  19. Lotfy, K. A novel model of magneto photothermal diffusion (MPD) on polymer nano-composite semiconductor with initial stress. Waves Random Complex Media 2021, 31, 83–100. [Google Scholar] [CrossRef]
  20. D’Hondt, J.; Vertommen, J.; Verhaegen, P.-A.; Cattrysse, D.; Duflou, J.R. Pairwise-adaptive dissimilarity measure for document clustering. Inf. Sci. 2010, 180, 2341–2358. [Google Scholar] [CrossRef]
  21. Rakthanmanon, T.; Campana, B.; Mueen, A.; Batista, G.; Westover, B.; Zhu, Q.; Zakaria, J.; Keogh, E. Addressing big data time series: Mining trillions of time series subsequences under dynamic time warping. ACM Trans. Knowl. Discov. Data 2013, 7, 1–31. [Google Scholar] [CrossRef] [Green Version]
  22. Peña, D.; Galeano, P. Multivariate Analysis in Vector Time Series (No. ws012415); Universidad Carlos III de Madrid, Departamento de Estadística: Madrid, Spain, 2001. [Google Scholar]
  23. Guillaume, P.; Schoukens, J.; Pintelon, R.; Kollar, I. Crest-factor minimization using nonlinear Chebyshev approximation methods. IEEE Trans. Instrum. Meas. 1991, 40, 982–989. [Google Scholar] [CrossRef]
  24. Ciaschini, M.; Pretaroli, R.; Socci, C. Balance, Manhattan norm and Euclidean distance of industrial policies for the US. Struct. Chang. Econ. Dyn. 2011, 22, 204–226. [Google Scholar] [CrossRef] [Green Version]
  25. Wang, W.; Xu, Z.; Lu, W.; Zhang, X. Determination of the spread parameter in the Gaussian kernel for classification and regression. Neurocomputing 2003, 55, 643–663. [Google Scholar] [CrossRef]
  26. Vallender, S.S. Addendum: Calculation of the wasserstein distance between probability distributions on the line. Theory Probab. Its Appl. 1982, 26, 435. [Google Scholar] [CrossRef]
Figure 1. Three representative fault patterns.
Figure 1. Three representative fault patterns.
Sensors 21 03880 g001
Figure 2. Example of normal (black) and abnormal (red) signals.
Figure 2. Example of normal (black) and abnormal (red) signals.
Sensors 21 03880 g002
Figure 3. Schematic diagram of the proposed method.
Figure 3. Schematic diagram of the proposed method.
Sensors 21 03880 g003
Figure 4. Example of signal segmentation.
Figure 4. Example of signal segmentation.
Sensors 21 03880 g004
Figure 5. Average computation time. LOF: local outlier factor, OC-SVM: one-class support vector machine, iF: isolation forest, KL: Kullback-Leibler, Cos: cosine dissimilarity, DTW: dynamic time warping, AC: autocorrelation, Ch.: Chebyshev norms, Ma.: Manhattan norms, Eu.: Euclidean norms, Gk: Gaussian kernel, Sk.: Sigmoid kernel, Wa.: Wasserstein distance.
Figure 5. Average computation time. LOF: local outlier factor, OC-SVM: one-class support vector machine, iF: isolation forest, KL: Kullback-Leibler, Cos: cosine dissimilarity, DTW: dynamic time warping, AC: autocorrelation, Ch.: Chebyshev norms, Ma.: Manhattan norms, Eu.: Euclidean norms, Gk: Gaussian kernel, Sk.: Sigmoid kernel, Wa.: Wasserstein distance.
Sensors 21 03880 g005
Table 1. Experimental results in terms of accuracy.
Table 1. Experimental results in terms of accuracy.
Proposed MethodLOFOC- SVMiFMauceri et al. [14]Rank
RawKLCosDTWACCh.Ma.Eu.GkSk.Wa.
data#10.9600.8570.7360.8680.8170.7700.8170.7560.7760.6800.7640.7740.7620.7290.7561
data#20.9080.8970.7070.7710.7900.6920.7500.7430.7420.6440.7500.7610.7500.6790.7411
data#30.9630.9310.6850.8070.8250.6800.7560.7480.7060.7270.7810.7610.7390.6820.7311
data#40.9610.8840.6900.9250.8260.6190.7670.6920.8070.6770.6980.7450.6770.6530.7021
data#50.9570.7560.6710.7250.7450.6680.7670.7090.7160.6270.6960.7050.6790.6170.7061
data#60.9080.7710.6940.7310.6920.6890.7600.6900.7320.7300.6900.6890.6840.6900.6901
data#70.8610.8920.7530.7330.7310.6780.7310.7280.7520.7210.7480.7310.7310.7200.7392
data#80.8750.8180.7260.6540.7120.6980.6820.6820.6770.7160.6840.6920.6810.6980.6891
data#90.8910.8830.6740.6880.6710.6950.6620.6720.7820.7140.6700.6700.6610.6600.6691
data#100.8610.7500.6550.6570.7210.6710.6450.6620.6780.6880.6630.6660.6470.6430.6641
data#110.8830.8410.7010.7080.6920.7020.6710.6920.6750.6940.6880.6890.6860.7000.6921
data#120.8990.8920.7170.6680.7250.7820.6460.7210.6460.6920.6990.6880.6650.7310.7201
data#130.9590.9560.8280.9170.6210.5770.5760.6770.6010.6550.6000.6000.5810.6370.6771
data#140.9350.8770.8370.8140.7420.7440.8000.7590.7840.7640.7370.7350.6940.7350.7361
data#150.9290.9190.6980.6920.8390.7170.8300.8370.8260.8450.8270.8520.8270.8010.8271
data#160.9260.9010.7010.6820.6950.6950.6910.6910.6890.6930.6950.6950.6910.6950.6951
data#170.9140.8950.6870.7360.7670.6960.7270.7350.7290.7840.7400.7430.7300.7200.7391
data#180.8270.7630.6960.7000.7320.6900.7090.7060.7060.7350.7060.7090.7000.6900.7061
Avg.0.9120.8600.7140.7490.7410.6930.7210.7170.7240.7100.7130.7170.6990.6930.7161
LOF: local outlier factor, OC-SVM: one-class support vector machine, iF: isolation forest, KL: Kullback–Leibler, Cos: cosine dissimilarity, DTW: dynamic time warping, AC: autocorrelation, Ch.: Chebyshev norms, Ma.: Manhattan norms, Eu.: Euclidean norms, Gk: Gaussian kernel, Sk.: Sigmoid kernel, Wa.: Wasserstein distance.
Table 2. Experimental results in terms of F1-score.
Table 2. Experimental results in terms of F1-score.
Proposed MethodLOFOC- SVMiFMauceri et al. [14]Rank
RawKLCosDTWACCh.Ma.Eu.GkSk.Wa.
data#10.9700.9030.8330.9070.6210.4760.6220.4210.5020.1710.4520.4860.4460.3140.4221
data#20.9340.9280.8180.8490.5440.1400.3990.3720.3690.2580.3990.4430.3990.0720.3661
data#30.9720.9500.8070.8700.6440.0710.4260.3930.2310.3880.5110.4440.3580.0900.3221
data#40.9670.9090.7830.9360.7410.1840.6190.4260.7050.4390.4460.5670.3780.3070.4571
data#50.9640.8260.7760.8010.5650.3490.6170.4730.4950.2260.4360.4600.3850.1660.4641
data#60.9340.8530.8120.8280.1430.1270.4400.1300.3270.3260.1300.1270.1000.1300.1301
data#70.9040.9250.8420.8300.3230.0680.3230.3090.4060.2780.3920.3230.3230.2750.3582
data#80.9130.8800.8280.7880.2400.1710.0750.0870.0580.2550.0970.1390.0820.1710.1251
data#90.9190.9160.7960.8010.1340.2480.0890.1340.5580.3250.1270.1270.0850.0820.1221
data#100.8980.8340.7830.7800.3960.2270.0900.1590.2370.2810.1680.1770.0980.0710.1681
data#110.9180.8930.8150.8160.1410.1920.0250.1420.0460.1550.1200.1280.1090.1820.1421
data#120.9240.9210.8120.7860.4120.5860.0930.4000.0930.2950.3190.2790.1820.4330.3981
data#130.9610.9590.8570.9250.3380.2080.2040.4910.2820.4360.2800.2800.2200.3850.4911
data#140.9520.9140.8900.8740.3680.3780.5710.4330.5200.4510.3480.3380.1490.3380.3431
data#150.9480.9420.8140.8060.6820.2690.6560.6750.6470.7040.6490.7130.6490.5760.6491
data#160.9460.9300.8150.8020.1590.1590.1380.1380.1260.1490.1590.1590.1380.1590.1591
data#170.9370.9260.8080.8300.4610.1610.3050.3390.3150.5210.3590.3740.3190.2780.3561
data#180.8800.8480.8120.8090.3350.1330.2250.2120.2120.4460.2120.2280.1820.1330.2121
Avg.0.9360.9030.8170.8350.4030.2300.3290.3180.3410.3390.3110.3220.2560.2310.3161
LOF: local outlier factor, OC-SVM: one-class support vector machine, iF: isolation forest, KL: Kullback–Leibler, Cos: cosine dissimilarity, DTW: dynamic time warping, AC: autocorrelation, Ch.: Chebyshev norms, Ma.: Manhattan norms, Eu.: Euclidean norms, Gk.: Gaussian kernel, Sk.: Sigmoid kernel, Wa.: Wasserstein distance.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chang, K.; Yoo, Y.; Baek, J.-G. Anomaly Detection Using Signal Segmentation and One-Class Classification in Diffusion Process of Semiconductor Manufacturing. Sensors 2021, 21, 3880. https://doi.org/10.3390/s21113880

AMA Style

Chang K, Yoo Y, Baek J-G. Anomaly Detection Using Signal Segmentation and One-Class Classification in Diffusion Process of Semiconductor Manufacturing. Sensors. 2021; 21(11):3880. https://doi.org/10.3390/s21113880

Chicago/Turabian Style

Chang, Kyuchang, Youngji Yoo, and Jun-Geol Baek. 2021. "Anomaly Detection Using Signal Segmentation and One-Class Classification in Diffusion Process of Semiconductor Manufacturing" Sensors 21, no. 11: 3880. https://doi.org/10.3390/s21113880

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop