Abstract
Fault detection and diagnosis is one of the most critical components of preventing accidents and ensuring the system safety of industrial processes. In this paper, we propose an integrated learning approach for jointly achieving fault detection and fault diagnosis of rare events in multivariate time series data. The proposed approach combines an autoencoder to detect a rare fault event and a long short-term memory (LSTM) network to classify different types of faults. The autoencoder is trained with offline normal data, which is then used as the anomaly detection. The predicted faulty data, captured by autoencoder, are put into the LSTM network to identify the types of faults. It basically combines the strong low-dimensional nonlinear representations of the autoencoder for the rare event detection and the strong time series learning ability of LSTM for the fault diagnosis. The proposed approach is compared with a deep convolutional neural network approach for fault detection and identification on the Tennessee Eastman process. Experimental results show that the combined approach accurately detects deviations from normal behaviour and identifies the types of faults within the useful time.
Keywords: autoencoder, long short-term memory, rare event, fault detection, fault diagnosis, time delay
1. Introduction
Modern industrial control systems deal with multivariate time series data of multiple correlated signals between sensors and actuators [1,2,3,4]. Fault detection and diagnosis (FDD) has tremendous potential to improve the operational reliability and stability of industrial processes since the objective of FDD is to minimize the production losses, while ensuring the safety of human and equipment [5]. FDD identifies anomalies of critical equipment by analyzing and mining recorded data to deliver notifications to operators [6,7]. Recent embedded systems, wireless networks and cloud computing provide a strong technology push for the development of next generation FDD systems [3,4,8,9].
Since industrial monitoring data have become much larger as both the number of samples and the dimensionality increased, traditional model- or knowledge-based approaches, involving extensive human intervention, are becoming too difficult to implement [6]. Finding abnormal measurements is extremely challenging due to the complex nonlinear relationships among the signals [1]. Furthermore, industrial faults rarely occur during the stable operation of the control processes such as machine failures in manufacturing [1,10]. While several feature extraction and classification methods have been proposed for fault detection and analysis problems [11,12], the fault classification accuracy is quiet poor for practical industrial processes [13]. Most deep learning techniques are not able to efficiently solve an overfitting problem due to the severely unbalanced samples of rare events [12]. Furthermore, FDD must provide timely detection and diagnosis of abnormal situations to avoid adverse consequences [6,10]. While the real-time FDD is one of the critical issues in practice, the time delay is not well investigated in previous research. In summary, the major technical challenges of the industrial FDD problem are the high complexity between signals, the unbalanced samples of faulty events and the time delay of fault detection and identification.
Prior knowledge can help avoid such problems by combining different machine learning techniques. In this paper, we propose an integrated learning approach for jointly achieving fault detection and fault diagnosis of rare events in multivariate time series data. The proposed approach combines an autoencoder to detect rare events and a long short-term memory (LSTM) network to identify the types of faults. The simple autoencoder trains the model with only normal data and evaluates input variables to detect rare faults for anomaly detection. The faulty data, detected by autoencoder, are put into LSTM network to identify their types. The proposed approach of FDD is evaluated on the Tennessee Eastman benchmark [13].
The rest of the paper is organized as follows. Section 2 discusses the related works of the FDD problem. Section 3 describes the architectures and algorithms of our integrated approach based on autoencoder and LSTM network. Section 4 illustrates the evaluation setup in detail. In Section 5, we present temporal fault detection and fault diagnosis results on the benchmark dataset of the proposed technique. Section 6 summarizes this paper.
2. Related Works
FDD is an active research field that has stimulated the development of a broad range of methods and heuristics for industrial processes [1,5,13]. Traditional approaches extract the low-dimensional feature from the high-dimensional raw data and then classify the faults for fault detection or fault diagnosis based on the feature space [12]. Most well-known feature extraction methods for the FDD problem are principal component analysis (PCA) [14,15], independent component analysis (ICA) [16] and partial least squares (PLS) [17]. PCA uses the orthogonal transformation to convert high-dimensional correlated variables into linearly uncorrelated variables in a new coordination such that the variance is maximized. PCA-based approaches have been used for the industrial fault detection problem [14,15]. ICA extracts independent non-Gaussian components from multivariate data by maximizing the statistical independence of the predicted components [18,19]. ICA generally performs better than PCA for non-Gaussian processes [20].
However, both PCA and ICA have the fundamental limitations to extract nonlinear features since these methods rely on linear technique. The kernel tricks are applied to convert the raw nonlinear data into a linear feature space such as kernel PCA (KPCA) [21] and kernel ICA (KICA) [22]. These methods generally have the high computational complexity due to its kernel operations if the training dataset is large. Furthermore, the performance of both KPCA and KICA is sensitive to the kernel hyperparameters. Hence, the kernel extension for both PCA and ICA is not a efficient solution for the real-time fault detection of industrial processes. A comparative research on these classical techniques for FDD is performed on the industrial benchmark of the Tennessee Eastman process (TEP) [13]. However, the traditional feature extraction methods only achieve the classification accuracy less than 50% on the TEP dataset.
Different fault diagnosis methods use the extracted features to find the root cause. The fault diagnosis task is a supervised learning problem where the objective is to correctly assign a sample to one of the fault classes. Different classification methods such as support vector machines [23,24], Bayesian discriminant functions [25] and neural networks [26] are used for the fault diagnosis. Numerous studies show that one of the promising options is the multilayer perceptron of neural networks to extract features and identify the types of faults [26,27,28]. However, the conventional classifiers based on the multilayer perceptron do not essentially capture the temporal information of the dynamical behavior of faults in industrial processes. In fact, these static networks discard the temporal correlation of multivariate variables since each data is independently used to train the network.
During last years, the deep learning technique achieves the outstanding performance in various application fields [29]. Some deep learning solutions are recently applied for the industrial fault diagnosis. In Reference [30], a hierarchical deep neural network is proposed to control multiple deep neural networks by a supervisory agent. After various types of faults is clustered into few groups, a specific deep neural network is trained for each group. The supervisory neural network triggers the specific deep neural network dependent on the input variables. The hierarchical network achieves the average classification accuracy around 80.5% on the TEP dataset.
Recurrent Neural Network (RNN) [31] and its variants are developed to deal with complex sequential problems [32,33]. In particular, the LSTM network effectively extracts the long-term temporal dependencies along with the short-term ones for time series data by using nonlinear gates. In Reference [34], LSTM is used to estimate the remaining useful lifetime along with the probability of fault occurrence under the complex operation mode and hybrid degradation for aircraft engine products. It is also used for timely detection and diagnosis of faults in railway track circuits [35]. The results show that the LSTM network learns the spatial and temporal dependencies to characterize the types of faults from the electrical current measurements.
3. Combined Autoencoder and LSTM Network
Our objective is to identify the types of faults of severely unbalanced data for practical industrial processes. The basic idea is to separate the detection problem to determine rare events and the diagnosis problem to identify the types of rare fault events. This section describes how to deal with multivariate time series data for FDD using autoencoder and LSTM network.
Consider a time series , where each point is a -dimensional input vector in the time series. Each sample is labeled as normal or fault type according to the records of multivariate processes. The measured variables typically have substantially different scales [1,10]. To recenter training data, each training sample is subtracted by the per-feature mean and divided by the standard deviation of the whole training samples. The normalization results in zero mean value and unit standard deviation data to efficiently train the network.
Figure 1 describes the core components of the proposed architecture that combines autoencoder and LSTM network for FDD. The normalized data are used to train the proposed model. The network starts with a sequence input layer of the multivariate time series samples. The autoencoder then analyzes the time series data to detect rare events using the concept of anomaly detection. Note that an autoencoder is particularly useful to extract nonlinear features for unsupervised learning from various types of data [14,36,37]. Once a fault is detected, the LSTM network learns the dependencies between various time steps of sequential data to identify the types of faults. LSTM has been applied for complex sequential problems since it is particularly efficient to learn the long-term dependencies of unknown lengths of time series data by using the nonlinear gating functions [38,39]. Instead of traditional parameter tuning using a backpropagation algorithm, we simply combine two trained models of both autoencoder and LSTM network where each model is separately trained. This approach has proven to be very efficient since it considerably improves the convergence rate of the overall structure with less numerical issues [29].
3.1. Autoencoder-Based Anomaly Detection
The practical industrial dataset is severely unbalanced where the positively labeled data are around 5–10% of the total [1,5,10]. In a rare event problem, most deep learning techniques are fundamentally limited by the amount of positively labeled data. This severely affects the precision and recall of a classification model [12]. Traditional dropout and batch normalization do not work well for such severely unbalanced dataset. Furthermore, the undersampling approach to balance the dataset has the fundamental limitation of a low accuracy [32].
We first learn a prediction model using the autoencoder [28,40] and then detect anomalies according to the reconstruction error. We divide the multivariate time-series data into two parts: positively labeled and negatively labeled. The negatively (resp. positively) labeled data is the normal (resp. faulty) state of the process. The autoencoder basically extracts the features of the normal state to perform rare event classification. It is trained only using the negatively labeled data as the anomaly detection since we consider the extremely rare events with less than 5–10% positively labeled data.
In Figure 1, the autoencoder is composed of two modules: encoder and decoder. The encoder converts high-dimensional multivariate input data into low-dimensional features, which is then converted back to the input data by the decoder. The autoencoder with three layers, namely, one input layer, one hidden layer and one output layer, is considered for simplicity in this paper.
If the input to the autoencoder is a vector , then the encoder maps the vector to another vector and the decoder maps the encoded representation back into the estimated vector of the original input vector as follows:
(1) |
(2) |
where and are the activation function and the subscript and indicate the hidden and output layer, respectively. The feature is typically in a reduced dimension [41]. The hyperbolic tangent function is used as the activation functions. The weight matrix (resp. ) and bias vector (resp. ) are the learnable parameters for the encoder (resp. decoder).
The standard autoencoder learns only a model in which the output takes the same value as the input data. This process requires that the model learns the regularized features and that it can output data which efficiently ignore trivial noise or unknown faulty behavior. Our target is not only to minimize the training error between the input and the reconstructed output but also to address the overfitting issue with additional regularization term of the weights. Hence, the regularized cost function is
(3) |
where t indicates the t-th training sample, are the decision parameters and is the coefficient of the regularization term. The value of the coefficient determines a trade-off between the training error and the generalization ability.
We learn the parameters by using a backpropagation algorithm [40]. For fault detection and analysis, we compute by Equations (1) and (2). Then the reconstruction error vector is used to calculate the root-mean-square error (RMS) as an anomaly score. A well-trained autoencoder predicts any new data that is coming from the normal state of the process since it will have the same pattern or distribution. Therefore, the reconstruction error will be small. However, the autoencoder results the high reconstruction error if we try to reconstruct a data from a rare event. An observation is classified as “anomalous” if , else the observation is classified as “normal”. In Section 5, the decision threshold is optimized based on the number of true positives and false positives of the benchmark dataset.
3.2. LSTM-Based Fault Diagnosis
Figure 1 describes the flow of a time series data through the LSTM-based classifier. Once a fault is detected through the autoencoder, then time series data is put into the LSTM-based classifier for the fault diagnosis. Note that time series data is labeled with their corresponding fault classes, including normal data. The input data of LSTM includes the previous time series data before the first event of the fault detection to compensate the time delay and the false positives of the anomaly detection. The LSTM-based fault diagnosis consists of two phases: feature extraction and classification. We use two LSTM layers to transforms the multivariate data into a high level representation as the feature extraction. The dropout layer is used after each LSTM layer to prevent overfitting. Then, a fully connected layer, a softmax layer and a weighted classification layer are used to assign the transformed representation to one of the fault classes, as shown in Figure 1.
Figure 2 illustrates the typical LSTM structure consisting with a number of cells [33]. The cell computes the hidden state and the updated cell state based on the previous state and the sequential input at time step t. Note that the first cell uses the initial states . Each cell of the LSTM network is regulated by three nonlinear gate units, namely, input gate, forget gate, and output gate. These gate units are the essential components to learn the long-term patterns by preventing memory contents from irrelevant inputs and outputs.
The main recurrent transitions between LSTM cells are
(4) |
(5) |
(6) |
where
(7) |
⊙ denotes the Hadamard product, and o indicate the input gate, forget gate, cell candidate and output gate, respectively. The hyperbolic tangent function and sigmoid function are used as the state activation function and gate activation function , respectively. The learnable parameters of the input weights , the recurrent weights and the bias vector are concatenated as follows:
(8) |
(9) |
(10) |
To solve the overfitting problem of fault diagnosis, the neurons stop working with probability as the basic dropout method in each dropout layer of Figure 1 [42].
A fully connected layer multiplies the output of the LSTM network with the weight matrix and adds the bias vector . Hence, it returns
(11) |
where and is the number of fault classes including the normal state. The output of the fully connected layer is then put into a softmax regression layer for the multi-class classification. It gives a output vector with a total number of fault classes where each element predicts the probability of one of the fault classes [43].
Finally, the classification layer assigns each input data to the one of fault classes based on the output of the softmax function. Since each fault class may occur with different frequencies, a weighted classification layer is used to compute the weighted cross entropy loss for classification problems. For prediction scores and training targets, the weighted cross entropy loss function is
(12) |
where is a weight of class i, is the indicator function and is the value from the softmax function for t-th sample to class j. The weights of different classes are estimated using the whole training dataset.
The dataset is labeled with different fault classes to support a supervised learning task. We use the mini-batch stochastic-gradient algorithm based on the estimated lower-order moments to solve the optimization problem [32,44]. Training data samples are divided into mini-batches. Note that all sequences of each mini-batch must have the same length. Since the sequence length may depend on the fault type in practice, we first sort the training data by its length. We then pad the extra data to have the same sequence length in each mini-batch.
4. Evaluation Setup
In this section, we describe the benchmark dataset of the practical industrial process and the existing deep neural network approach that we used to compare our proposed method.
4.1. Tennessee Eastman Challenge Problem
We evaluate the performance of the proposed method for FDD on Tennessee Eastman Process (TEP) [45]. TEP is a widely-used benchmark testbed to investigate the large-scale control and FDD schemes of realistic chemical processes [13]. The simulation data of TEP are highly nonlinear with strong coupling and dynamical behavior. The simulation code and data are available for download in References [46,47], respectively.
The main structure of the TEP simulator is described in Figure 3. The TEP produces two products G and H from four reactants with additional byproduct F. The reactions are
All chemical reactions are irreversible, exothermic and approximately first-order with respect to the reactant concentrations. The reaction rates are a function of temperature through an Arrhenius expression. The reaction to produce G has a higher activation energy than the one producing H, thus resulting in more sensitivity to temperature.
To model a practical industrial process, the TEP simulator consists of five major units: reactor, condenser, compressor, separator and stripper. The gaseous reactants are fed into the reactor where liquid products are formed. The product stream of the reactor is cooled through a condenser and fed to a vapor-liquid separator. Non-condensed components are recycled back to the reactor via a compressor. Condensed components are moved to a product stripping column by stripping with feed stream number 4 to eliminate remaining reactants. Products G and H are separated in a downstream refining section from the stripper base. The inert and byproducts are purged as vapor from the vapor-liquid separator. In TEP, we monitor a total of 52 variables including 41 measured variables and 11 manipulated variables [45].
The modern industrial systems interact with multiple subcomponents where each component has several different failure modes [48,49]. Furthermore, each failure mode typically has long-term dependencies along with short-term ones of time series data. Besides normal data, Table 1 describes 20 different types of faults to evaluate various FDD methods.
Table 1.
Fault Number | Description | Type |
---|---|---|
1 | feed ratio, B composition constant (Stream 4) | Step |
2 | B composition, ratio constant (Stream 4) | Step |
3 | D feed temperature (Stream 2) | Step |
4 | Reactor cooling water inlet temperature | Step |
5 | Condenser cooling water inlet temperature | Step |
6 | A feed loss (Stream 1) | Step |
7 | C header pressure loss-reduced availablity (Stream 4) | Step |
8 | A, B, C feed composition (Stream 4) | Random variation |
9 | D feed temperature (Stream 2) | Random variation |
10 | C feed temperature (Stream 4) | Random variation |
11 | Reactor cooling water inlet temperature | Random variation |
12 | Condenser cooling water inlet temperature | Random variation |
13 | Reaction kinetics | Slow drift |
14 | Reactor cooling water valve | Sticking |
15 | Condenser cooling water valve | Sticking |
16 | Unknown | Unknown |
17 | Unknown | Unknown |
18 | Unknown | Unknown |
19 | Unknown | Unknown |
20 | Unknown | Unknown |
Figure 4 shows the raw process variable deviations from their normal states when fault 02 is introduced at after the simulation started. We also show the normalized variables by the mean and standard deviation of each feature. Although the time-varying features of multivariate data are critical to identify the types of faults, the distinction between various types of faults is a challenging task due to the complex interaction among control processes [50]. In fact, the fault effect is considerably different for various process variables. Furthermore, even if some variables are oscillating due to faults, there is a significant delay to recognize it as shown in Figure 4. The combined autoencoder and LSTM network must mine the hidden features of time series data. More detailed information of TEP is described in Reference [45].
The simulation starts to run in the normal state for . The specific fault out of 20 different types is then injected and it continues to run for . Hence, the total simulation time is based on the recommendation of the TEP model [45]. Each simulation of the fault repeats 500 times with various initial states and random noise. We set the sampling time as (20 samples/h) to support the fast fault detection and fault diagnosis [51]. We randomly select 80% time series sample as training sets and the remaining sample as testing sets. We only use the normal state samples without any faults to train the autoencoder for fault detection where anomalous and normal states correspond to positive and negative class, respectively. In addition, 20% of the whole training set is used as the validation set to optimize the decision threshold for the autoencoder. On the other hand, the time series samples with temporal features are used to train the LSTM-based classifier. In this training set, we remove the first of the normal state samples in each simulation. Hence, each training set of the LSTM network consists with of normal data and of faulty state data. The fraction of the normal state samples prior to faults is used to compensate the detection delay and the possible false positives of the autoencoder. The input sequence of the testing set for LSTM includes time series data before the first event of the fault detection, captured by the autoencoder.
4.2. DCNN
In previous research, a deep convolutional neural network (DCNN)-based approach achieves the best reported results in multivariate time series data from the simulated TEP dataset [52]. We compare the fault diagnosis performance of LSTM and DCNN-based approaches on the TEP dataset.
Based on the recommendation of Reference [52], we build the DCNN-based approach with three convolutional layers, two max pooling layers and two fully connected layers. The multiple input samples with time steps are used to train the network. It basically concatenates m input vectors to matrix where m is the number of samples and n is the number of variables per sample. Since the default length of the period is 1 h, the size of the input matrix is set to [52]. The detailed architectures and parameters of the DCNN-based approach can be found in Reference [52].
5. Performance Evaluation
This section firstly evaluates the fault detection performance of the autoencoder on the TEP benchmark. We then compare the fault diagnosis performance of LSTM against the DCNN-based approach. We implement the proposed scheme and DCNN using the deep learning package of TensorFlow. Experiments are conducted on a personal computer with Inter Core i9-7920X CPU, 128 GB memory, and NVIDIA TITAN RTX GPU. We use not only the classical metrics such as accuracy, precision, recall, F-score but also time delay to evaluate the fault detection and fault diagnosis performance.
5.1. Fault Detection
Figure 5 presents precision, recall, F-score metrics as a function of different decision thresholds of the autoencoder. Remind that we label the high reconstruction errors as an anomalous data dependent on the decision threshold. With the increase of the threshold value, the precision slightly decreases but the recall drastically increases. We set the decision threshold to achieve a reasonable tradeoff between precision and recall using the validation set. The accuracy, precision, recall, F-score and false positive rate with are , respectively. Since the fault detection is a rare event detection problem, F-score is mainly used as the suitable metric for evaluation. Hence, we achieve reasonably high performance using the autoencoder. Although the false positive rate is relatively high, the LSTM-based classifier effectively reduces the normal data miss-classified as fault data during the fault diagnosis as we will see in Section 5.2. We also evaluate the proposed scheme for the rare event detection of the realistic industrial data [10]. The autoencoder achieves the good performance in terms of accuracy , precision , recall , F-score and false positive rate with .
Figure 6 shows the transient behavior of the process state and the residual error of the autoencoder over time. In the figure, the red and black lines represent the true fault class and the predicted one, respectively. Fault 01 is introduced to the normal state at . The residual error is significantly increased in the faulty state than the one in the normal operation mode. The autoencoder predicts the fault state when the residual error is over the decision threshold .
In Figure 6, we observe the time delay of the fault detection. Detection delay is the time elapsed from the fault injection instance to the time at which the autoencoder provides the correct prediction and remains. Although the lower threshold value reduces the detection delay, it increases the risk of the false alarms. In fact, since the residual errors do not remain low during the normal operation mode, this increases the probability of normal condition data to be miss-classified as the fault positives.
Since the fault propagation effect is a dynamical process, we investigate the transient behavior of the fault detection performance of the proposed method. Figure 7 illustrates the cumulative density function (CDF) of the fault detection delay of different faults . The fault detection delay clearly depends on the fault classes. While more than of faults is detected within , the detection delays of other faults 11 and 17 are highly varying. One of the main reasons is the different dynamical effects of faults on the chemical processes. The effects of faults 11 and 17 are slowly propagated over the control systems. Furthermore, it is not possible to analyze all types of faults that can potentially happen in a system operated under different conditions and degradation levels due to complex interactions between the subsystems and the environment. The fault detection delay of faults is comparable with the best results obtained by various algorithms in Reference [53].
Figure 8 shows the average detection delay of all types of faults. The detection delays are largely dependent on the types of faults. While the average detection delay of faults is less than , rest faults have relatively high delays. The detection delays of faults 09 and 15 are particularly high larger than . In fact, these two fault classes are hard to identify in the TEP testbed [30,52], as we will discuss more details in Section 5.2.
5.2. Fault Diagnosis
The fault diagnosis performance of the LSTM-based classifier is compared to that of the DCNN-based one, once a fault is detected. We first use the confusion metrics, receiver operating characteristic (ROC) curves and area under the curve (AUC) to compare the overall performance between LSTM and DCNN. The diagnosis time is then explored to understand the transient performance.
For this fault diagnosis step, we first evaluate the confusion matrices of LSTM and DCNN approaches for all types of faults. A confusion matrix is a specific table to describe the efficiency of a classification model using a testing dataset. The actual confusion matrices for fault diagnosis are not included due to the space limit in the paper. The classification accuracies of LSTM and DCNN are and , respectively. LSTM gives significant improvement of 16.9% over DCNN in terms of average accuracy. However, some faults are hard to diagnosis for both LSTM and DCNN approaches. In both approaches, the classification accuracies of these three faults are below 75%. The LSTM model shows that except faults , the other fault types are identified with more than 91% accuracy. In fact, our proposed combined autoencoder and LSTM outperforms the classical feature extraction methods and the hierarchical deep neural network [30]. Note that the classical dynamic feature extraction method and the hierarchical deep neural network achieve the classification accuracy less than 50% and 80.5% (except faults ), respectively. On the other hand, the DCNN model gives poor classification accuracies for faults less than 65%.
Let us discuss more details of specific faults 03 and 09 since both faults are hard to distinguish in the experimental results [30,45]. The main reason is that fault 03 produces a step change while fault 09 is random variation to the same D feed temperature at the top left corner of Figure 3. Hence, the time series samples of both faults are easily confused for the fault diagnosis. Furthermore, previous research shows that two faults 09 and 15 are also hard to classify in References [30,50,52]. Therefore, for convenience, we only consider all types of faults excluding two faults 09 and 15 in the rest of the paper.
By excluding these two faults, we have also analyzed the confusion matrices of LSTM and DCNN approaches for other 18 different types of faults. Both LSTM and DCNN approaches are well performing on identifying most fault classes since they get the high classification accuracies of and , respectively. Hence, the temporal patterns of various faults are mined through both LSTM and DCNN for the fault diagnosis. The classification accuracy of DCNN is less than 75% for faults . By contrast, LSTM identifies these faults with much higher accuracy of 91.7%, 98.9%, and 98.9%, respectively. The main reason is that these fault cases have long-term temporal dependence longer than 1 h. The worst classification accuracies using LSTM and DCNN are and for faults 18 and 03, respectively. These results prove that the LSTM-based classifier is an effective technique for the fault diagnosis since it adaptively learns the dynamical temporal information of various fault types using the nonlinear gates of each cell.
The classification accuracy using DCNN is lower than the one of the existing results [52]. Three variables out of 52 variables are excluded since they are constant in the simulation setup of Reference [52]. However, our classical simulation results show time varying measurements of all 52 variables. Hence, the dataset of the TEP simulation affects the accuracy of overall results.
Figure 9 shows the ROC curves using both LSTM and DCNN for different faults . The solid and dotted lines present the ROC curves using LSTM and DCNN, respectively. For each fault type, we plot the True Positive Ratio (TPR) against the False Positive Ratio (FPR) at different threshold values across the interval . ROC curves move to the top right corner from the bottom left corner of the figure. The ideal operation point of the fault diagnosis is the top left corner where TPR = 100% and FPR = 0%. Hence, the diagnosis performance is better if the ROC curve gets to the top left corner. On the other hand, the overall performance is worse as the ROC curve is closer to the diagonal line of the figure. Since the LSTM-based classifier provides extremely low false positive rate, the ROC curve using LSTM is tightly closed to the top left corner. Hence, the proposed scheme considerably outperforms the ones of DCNN for faults . Furthermore, it effectively reduces the false positives of the autoencoder.
To provide more detailed analysis, Figure 10 illustrates AUC of using both LSTM and DCNN for 18 different types of faults. We clearly observe that the LSTM-based classifier provides very high AUC closer to 1 with respect the ones using DCNN. The AUC value of DCNN is lower than for faults . Hence, the comparison between LSTM and DCNN proves the benefits of the deeper structure of LSTM to capture the long-term temporal patterns along with short-term ones.
Now, we discuss the fault diagnosis delay of both LSTM and DCNN approaches. Figure 11 shows the time transient behavior of the actual fault state and predicted fault classes using LSTM and DCNN approaches. Both LSTM and DCNN approaches perform equally well to identify the fault type when fault 06 is injected at . However, the transient behaviors between LSTM and DCNN are considerably different. While the LSTM-based classifier does not give any false positives during the normal state, the fault prediction is slightly oscillated to correctly estimate fault class 06. On the other hand, the DCNN-based approach gives some fault positives during the normal operation mode. Hence, we clearly observe the benefit of the LSTM network to reduce the false positives of the autoencoder. Remind that the DCNN-based approach gives the higher false positive rate as shown in Figure 9 and Figure 10.
In Figure 11, fault 06 using LSTM is miss-classified as faults for a short period. Hence, the LSTM-based classifier has the time delay to stabilize the fault diagnosis. In fact, the DCNN-based approach provides better fault diagnosis delay than the one using the LSTM network for fault case 06.
Figure 12 compares the average fault diagnosis delay of both LSTM and DCNN for 18 different types of faults (except faults ). It is interesting to observe that DCNN provides much lower diagnosis delay than the ones using the LSTM-based classifier for faults . However, the diagnosis delay using DCNN is significantly high for rest of fault classes. Hence, the diagnosis delays of DCNN are largely varying dependent on the fault class. By contrast, the diagnosis delay using LSTM is less sensitive to the fault class. Furthermore, the fault diagnosis delay using LSTM is comparable with the ones using various algorithms in Reference [53]. Figure 10 and Figure 12 show that the correlations between AUC and diagnosis delay of most types of faults are not clear for both LSTM and DCNN. Indeed, the AUC metric is not sufficient to characterize the diagnosis delay performance of various types of faults. Although none of these techniques give the optimal delay performance for all types of faults, the LSTM-based classifier provides better robustness to the various fault classes than the state of the art DCNN-based classifier.
6. Conclusions
This paper proposes a learning approach consisting of autoencoder and long short-term memory (LSTM) network for fault detection and diagnosis of rare events in a multivariate industrial process. A simple autoencoder trains the model with only normal data and evaluates multivariate time series data to detect rare faults for anomaly detection. The predicted faulty raw data are then put into the LSTM network to identify the types of faults. Two trained models of autoencoder and LSTM are combined to improve the convergence rate of the overall structure with less numerical issues. The Tennessee Eastman benchmark was then used to evaluate the fault detection and diagnosis performance. We analyzed its performances, not only the classical classification metrics but also the time delay for the fault detection and diagnosis. We demonstrated that the combined autoencoder and LSTM network accurately detects deviations from normal behaviour and identifies the fault type within useful time. Furthermore, the LSTM-based classifier provides the robust fault diagnosis with respect to the one using the existing deep convolutional neural network approach in various types of faults. The proposed approach achieves significant accuracy improvement of 16.9% over the deep convolutional neural network.
In practical industrial systems, a full coverage of representative data of all possible failures and their combinations is typically not available. For instance, existing fault detection and diagnosis approaches show that some fault classes of the Tennessee Eastman process are not possible to identify. Although some new sensors are possibly required to detect these faults for the predictive maintenance, the selection of the appropriate sensors is a challenging task. The future research work will be focused on bridging the gap between the physical control systems and the deep learning techniques to achieve predictive maintenance.
Author Contributions
Data curation, P.P.; Investigation, P.P., P.D.M. and J.B.; Software, P.D.M.; Validation, H.S.; Writing-original draft, P.P. and P.D.M.; Writing—review & editing, H.S. and J.B.
Funding
This work was supported by research fund of Chungnam National University.
Conflicts of Interest
The authors declare no conflict of interest.
References
- 1.Gao Z., Cecati C., Ding S.X. A Survey of Fault Diagnosis and Fault-Tolerant Techniques—Part I: Fault Diagnosis With Model-Based and Signal-Based Approaches. IEEE Trans. Ind. Electron. 2015;62:3757–3767. doi: 10.1109/TIE.2015.2417501. [DOI] [Google Scholar]
- 2.Khalastchi E., Kalech M. On Fault Detection and Diagnosis in Robotic Systems. ACM Comput. Surv. 2018;51:1–24. doi: 10.1145/3146389. [DOI] [Google Scholar]
- 3.Patel P., Ali M.I., Sheth A. From Raw Data to Smart Manufacturing: AI and Semantic Web of Things for Industry 4.0. IEEE Intell. Syst. 2018;33:79–86. doi: 10.1109/MIS.2018.043741325. [DOI] [Google Scholar]
- 4.Park P., Ergen S.C., Fischione C., Lu C., Johansson K.H. Wireless network design for control systems: A survey. IEEE Commun. Surv. Tutor. 2018;20:978–1013. doi: 10.1109/COMST.2017.2780114. [DOI] [Google Scholar]
- 5.Dai X., Gao Z. From Model, Signal to Knowledge: A Data-Driven Perspective of Fault Detection and Diagnosis. IEEE Trans. Ind. Inform. 2013;9:2226–2238. doi: 10.1109/TII.2013.2243743. [DOI] [Google Scholar]
- 6.Saufi S.R., Ahmad Z.A.B., Leong M.S., Lim M.H. Challenges and Opportunities of Deep Learning Models for Machinery Fault Detection and Diagnosis: A Review. IEEE Access. 2019;7:122644–122662. doi: 10.1109/ACCESS.2019.2938227. [DOI] [Google Scholar]
- 7.Ge Z., Song Z., Ding S.X., Huang B. Data Mining and Analytics in the Process Industry: The Role of Machine Learning. IEEE Access. 2017;5:20590–20616. doi: 10.1109/ACCESS.2017.2756872. [DOI] [Google Scholar]
- 8.Hoffmann J.B., Heimes P., Senel S. IoT Platforms for the Internet of Production. IEEE Internet Things J. 2019;6:4098–4105. doi: 10.1109/JIOT.2018.2875594. [DOI] [Google Scholar]
- 9.Park P., Marco P.D., Johansson K.H. Cross-Layer Optimization for Industrial Control Applications Using Wireless Sensor and Actuator Mesh Networks. IEEE Trans. Ind. Electron. 2017;64:3250–3259. doi: 10.1109/TIE.2016.2631530. [DOI] [Google Scholar]
- 10.Ranjan C., Reddy M., Mustonen M., Paynabar K., Pourak K. Dataset: Rare Event Classification in Multivariate Time Series. ProcessMiner Inc.; Atlanta, GA, USA: 2019. Tech. Rep. [Google Scholar]
- 11.Gao Z., Cecati C., Ding S.X. A Survey of Fault Diagnosis and Fault-Tolerant Techniques—Part II: Fault Diagnosis With Knowledge-Based and Hybrid/Active Approaches. IEEE Trans. Ind. Electron. 2015;62:3768–3774. doi: 10.1109/TIE.2015.2417501. [DOI] [Google Scholar]
- 12.Bengio Y., Courville A., Vincent P. Representation learning: A review and new perspectives. IEEE Trans. Pattern Anal. Mach. Intell. 2013;35:1798–1828. doi: 10.1109/TPAMI.2013.50. [DOI] [PubMed] [Google Scholar]
- 13.Yin S., Ding S.X., Haghani A., Hao H., Zhang P. A comparison study of basic data-driven fault diagnosis and process monitoring methods on the benchmark Tennessee Eastman process. J. Process Control. 2012;22:1567–1581. doi: 10.1016/j.jprocont.2012.06.009. [DOI] [Google Scholar]
- 14.Deng X., Tian X., Chen S. Modified kernel principal component analysis based on local structure analysis and its application to nonlinear process fault diagnosis. Chemom. Intell. Lab. Syst. 2013;127:195–209. doi: 10.1016/j.chemolab.2013.07.001. [DOI] [Google Scholar]
- 15.Gao X., Hou J. An improved SVM integrated GS-PCA fault diagnosis approach of Tennessee Eastman process. Neurocomputing. 2016;174:906–911. doi: 10.1016/j.neucom.2015.10.018. [DOI] [Google Scholar]
- 16.Rad M.A.A., Yazdanpanah M.J. Designing supervised local neural network classifiers based on EM clustering for fault diagnosis of Tennessee Eastman process. Chemom. Intell. Lab. Syst. 2015;146:149–157. [Google Scholar]
- 17.Yin S., Zhu X., Kaynak O. Improved PLS focused on key- performance-indicator-related fault diagnosis. IEEE Trans. Ind. Electron. 2015;62:1651–1658. doi: 10.1109/TIE.2014.2345331. [DOI] [Google Scholar]
- 18.Hyvarinen A., Oja E. Independent component analysis: Algorithms and applications. Neural Netw. 2000;13:411–430. doi: 10.1016/S0893-6080(00)00026-5. [DOI] [PubMed] [Google Scholar]
- 19.Fan J., Wang Y. Fault detection and diagnosis of non-linear non-Gaussian dynamic processes using kernel dynamic independent component analysis. Inf. Sci. 2014;259:369–379. doi: 10.1016/j.ins.2013.06.021. [DOI] [Google Scholar]
- 20.Lee J.-M., Yoo C., Lee I.-B. Statistical process monitoring with independent component analysis. J. Process Control. 2004;14:467–485. doi: 10.1016/j.jprocont.2003.09.004. [DOI] [Google Scholar]
- 21.Scholkopf B., Smola A., Muller K. Nonlinear component analysis as a kernel eigenvalue problem. Neural Comput. 1998;10:1299–1319. doi: 10.1162/089976698300017467. [DOI] [Google Scholar]
- 22.Lee J.-M., Qin S.J., Lee I.-B. Fault detection of non-linear processes using kernel independent component analysis. Can. J. Chem. Eng. 2007;85:526–536. doi: 10.1002/cjce.5450850414. [DOI] [Google Scholar]
- 23.Chiang L.H., Kotanchek M.E., Kordon A.K. Fault diagnosis based on Fisher discriminant analysis and support vector machines. Comput. Chem. Eng. 2004;28:1389–1401. doi: 10.1016/j.compchemeng.2003.10.002. [DOI] [Google Scholar]
- 24.Jan S.U., Lee Y., Shin J., Koo I. Sensor fault classification based on support vector machine and statistical time-domain features. IEEE Access. 2017;5:8682–8690. doi: 10.1109/ACCESS.2017.2705644. [DOI] [Google Scholar]
- 25.Guo J., Qi L., Li Y. Fault detection of batch process using dynamic multi-way orthogonal locality preserving projections. J. Comput. Inf. Syst. 2015;11:577–586. [Google Scholar]
- 26.Eslamloueyan R. Designing a hierarchical neural network based on fuzzy clustering for fault diagnosis of the Tennessee Eastman process. Appl. Soft Comput. 2011;11:1407–1415. doi: 10.1016/j.asoc.2010.04.012. [DOI] [Google Scholar]
- 27.Lau C., Ghosh K., Hussain M., Hassan C.C. Fault diagnosis of Tennessee Eastman process with multi-scale PCA and ANFIS. Chemom. Intell. Lab. Syst. 2013;120:1–14. doi: 10.1016/j.chemolab.2012.10.005. [DOI] [Google Scholar]
- 28.Bengio Y. Learning deep architectures for AI. Found. Trends Mach. Learn. 2009;2:1–127. doi: 10.1561/2200000006. [DOI] [Google Scholar]
- 29.LeCun Y., Bengio Y., Hinton G. Deep learning. Nature. 2015;521:436–444. doi: 10.1038/nature14539. [DOI] [PubMed] [Google Scholar]
- 30.Xie D., Bai L. A hierarchical deep neural network for fault diagnosis on Tennessee-Eastman process; Proceedings of the IEEE 14th International Conference on Machine Learning and Applications (ICMLA); Miami, FL, USA. 9–11 December 2015; pp. 745–748. [Google Scholar]
- 31.Funahashi K., Nakamura Y. Approximation of dynamical systems by continuous time recurrent neural networks. Neural Netw. 1993;6:801–806. doi: 10.1016/S0893-6080(05)80125-X. [DOI] [Google Scholar]
- 32.Goodfellow I., Bengio Y., Courville A. Deep Learning. MIT Press; Cambridge, MA, USA: 2016. [Google Scholar]
- 33.Greff K., Srivastava R.K., Koutnk J., Steunebrink B.R., Schmidhuber J. LSTM: A search space odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2017;28:2222–2232. doi: 10.1109/TNNLS.2016.2582924. [DOI] [PubMed] [Google Scholar]
- 34.Yuan M., Wu Y., Lin L. Fault diagnosis and remaining useful life estimation of aero engine using LSTM neural network; Proceedings of the IEEE International Conference on Aircraft Utility Systems (AUS); Beijing, China. 10–12 October 2016; pp. 135–140. [Google Scholar]
- 35.De Bruin T., Verbert K., Babuska R. Railway track circuit fault diagnosis using recurrent neural networks. IEEE Trans. Neural Netw. Learn. Syst. 2017;28:523–533. doi: 10.1109/TNNLS.2016.2551940. [DOI] [PubMed] [Google Scholar]
- 36.Le Q.V., Ranzato M., Monga R., Devin M., Chen K., Corrado G.S., Dean J., Ng A.Y. Building high-level features using large scale unsupervised learning; Proceedings of the International Conference on International Conference on Machine Learning; Edinburgh, Scotland, UK. 26 June–1 July 2012; pp. 507–514. [Google Scholar]
- 37.Rifai S., Vincent P., Muller X., Glorot X., Bengio Y. Contractive auto-encoders: Explicit invariance during feature extraction; Proceedings of the International Conference on International Conference on Machine Learning; Washington, DC, USA. 28 June–2 July 2011; pp. 833–840. [Google Scholar]
- 38.Zhao H., Sun S., Jin B. Sequential fault diagnosis based on LSTM neural network. IEEE Access. 2018;6:12929–12939. doi: 10.1109/ACCESS.2018.2794765. [DOI] [Google Scholar]
- 39.Zhang S., Wang Y., Liu M., Bao Z. Data-based line trip fault prediction in power systems using LSTM networks and SVM. IEEE Access. 2018;6:7675–7686. doi: 10.1109/ACCESS.2017.2785763. [DOI] [Google Scholar]
- 40.Vincent P., Larochelle H., Lajoie I., Bengio Y., Manzagol P.-A. Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion. J. Mach. Learn. Res. 2010;11:3371–3408. [Google Scholar]
- 41.Hinton G.E., Salakhutdinov R.R. Reducing the dimensionality of data with neural networks. Science. 2006;313:504–507. doi: 10.1126/science.1127647. [DOI] [PubMed] [Google Scholar]
- 42.Srivastava N., Hinton G., Krizhevsky A., Sutskever I., Salakhutdinov R. Dropout: A simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014;15:1929–1958. [Google Scholar]
- 43.Krishnapuram B., Carin L., Figueiredo M.A.T., Hartemink A.J. Sparse multinomial logistic regression: Fast algorithms and generalization bounds. IEEE Trans. Pattern Anal. Mach. Intell. 2005;27:957–968. doi: 10.1109/TPAMI.2005.127. [DOI] [PubMed] [Google Scholar]
- 44.Bengio Y. Practical Recommendations for Gradient-Based Training of Deep Architectures. Springer; Berlin/Heidelberg, Germany: 2012. [Google Scholar]
- 45.Downs J., Vogel E. A plant-wide industrial process control problem. Comput. Chem. Eng. 1993;17:245–255. doi: 10.1016/0098-1354(93)80018-I. [DOI] [Google Scholar]
- 46.Lawrence Ricker N. Tennessee Eastman Challenge Archive. University of Washington. [(accessed on 20 October 2019)];2015 Available online: https://depts.washington.edu/control/LARRY/TE/download.html.
- 47.Rieth C.A., Amsel B.D., Tran R., Cook M.B. Additional Tennessee Eastman Process Simulation Data for Anomaly Detection Evaluation. Harvard Dataverse. [(accessed on 20 October 2019)];2017 Available online: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/6C3JR1.
- 48.Park B., Nah J., Choi J.Y., Yoon I.J., Park P. Transmission Scheduling Schemes of Industrial Wireless Sensors for Heterogeneous Multiple Control Systems. Sensors. 2018;18:4284. doi: 10.3390/s18124284. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Park B., Nah J., Choi J.Y., Yoon I.J., Park P. Robust Wireless Sensor and Actuator Networks for Networked Control Systems. Sensors. 2019;19:1535. doi: 10.3390/s19071535. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Zhang Z., Zhao J. A deep belief network based fault diagnosis model for complex chemical processes. Comput. Chem. Eng. 2017;107:395–407. doi: 10.1016/j.compchemeng.2017.02.041. [DOI] [Google Scholar]
- 51.Russell E.L., Chiang L.H., Braatz R.D. Data-Driven Methods for Fault Detection and Diagnosis in Chemical Processes. Springer; New York, NY, USA: 2000. [Google Scholar]
- 52.Wu H., Zhao J. Deep convolutional neural network model based chemical process fault diagnosis. Comput. Chem. Eng. 2018;115:185–197. doi: 10.1016/j.compchemeng.2018.04.009. [DOI] [Google Scholar]
- 53.Russell E.L., Chiang L.H., Braatz R.D. Fault detection in industrial processes using canonical variate analysis and dynamic principal component analysis. Chemom. Intell. Lab. Syst. 2000;51:81–93. doi: 10.1016/S0169-7439(00)00058-7. [DOI] [Google Scholar]