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

Impact of Deep Learning Optimizers and Hyperparameter Tuning on the Performance of Bearing Fault Diagnosis

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Seongjae Lee — Department of Mechanical and Information Engineering/Smart Cities, University of Seoul, Seoul, South Korea
  2. Taehyoun Kim — Department of Mechanical and Information Engineering/Smart Cities, University of Seoul, Seoul, South Korea
DOI
10.1109/access.2023.3281910
저널
IEEE Access
발행년도
2023
발행기관
Institute of Electrical and Electronics Engineers
피인용수
11
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2023.3281910
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4378976220

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Deep learning has recently resulted in remarkable performance improvements in machine fault diagnosis using only raw input vibration signals without signal preprocessing. However, research on machine fault diagnosis using deep learning has primarily focused on model architectures, even though optimizers and their hyperparameters used for training can have a significant impact on model performance. This paper presents extensive benchmarking results on the tuning of optimizer hyperparameters using various combinations of datasets, convolutional neural network (CNN) models, and optimizers with varying batch sizes. First, we set the hyperparameter search space and then trained the models using hyperparameters sampled from a quasi-random distribution. Subsequently, we refined the search space based on the results of the first step and finally evaluated model performances using noise-free and noisy data. The results showed that the learning rate and momentum factor, which determine training speed, substantially affected the model's accuracy. We also discovered that the impacts of batch size and model training speed on model performance were highly correlated; large batch sizes led to higher performances at higher learning rates or momentum factors. Conversely, model performances tended to be high for small batch sizes at lower learning rates or momentum factors. In addition, regarding the growing attention to on-device artificial intelligence (AI) solutions, we assessed the accuracy and computational efficiency of candidate models. A CNN with training interference (TICNN) was the most efficient model in terms of computational efficiency and robustness against noise among the benchmarked candidate models.

본문 65,426자

본문 펼치기
Received 23 May 2023, accepted 28 May 2023, date of publication 1 June 2023, date of current version 7 June 2023. _Digital Object Identifier 10.1109/ACCESS.2023.3281910_ # Impact of Deep Learning Optimizers and Hyperparameter Tuning on the Performance of Bearing Fault Diagnosis SEONGJAE LEE AND TAEHYOUN KIM, (Member, IEEE) Department of Mechanical and Information Engineering/Smart Cities, University of Seoul, Seoul 02504, South Korea Corresponding author: Taehyoun Kim (thkim@uos.ac.kr) This work was supported by the National Research Foundation of Korea (NRF) Grant funded by the Korea Government [Ministry of Science and ICT (MSIT)] under Grant 2022R1F1A1060231. ABSTRACT Deep learning has recently resulted in remarkable performance improvements in machine fault diagnosis using only raw input vibration signals without signal preprocessing. However, research on machine fault diagnosis using deep learning has primarily focused on model architectures, even though optimizers and their hyperparameters used for training can have a significant impact on model performance. This paper presents extensive benchmarking results on the tuning of optimizer hyperparameters using various combinations of datasets, convolutional neural network (CNN) models, and optimizers with varying batch sizes. First, we set the hyperparameter search space and then trained the models using hyperparameters sampled from a quasi-random distribution. Subsequently, we refined the search space based on the results of the first step and finally evaluated model performances using noise-free and noisy data. The results showed that the learning rate and momentum factor, which determine training speed, substantially affected the model’s accuracy. We also discovered that the impacts of batch size and model training speed on model performance were highly correlated; large batch sizes led to higher performances at higher learning rates or momentum factors. Conversely, model performances tended to be high for small batch sizes at lower learning rates or momentum factors. In addition, regarding the growing attention to on-device artificial intelligence (AI) solutions, we assessed the accuracy and computational efficiency of candidate models. A CNN with training interference (TICNN) was the most efficient model in terms of computational efficiency and robustness against noise among the benchmarked candidate models. INDEX TERMS Bearing fault diagnosis, convolutional neural network, deep learning, hyperparameter tuning, noise-robustness, optimization. I. INTRODUCTION In modern industries, rolling element bearings (REBs) are an essential part of rotating machinery operations, and 40–50% of equipment failures are caused by damaged REBs [1]. Because such device defects can lead to economic loss or loss of life, research on condition monitoring of REBs has continuously gained attention. Many machine condition monitoring studies have performed fault detection using data-driven vibration analysis. The associate editor coordinating the review of this manuscript and approving it for publication was Mehrdad Saif . The traditional data-based fault detection approach comprises four stages [2]: data acquisition, feature extraction, feature selection, and classification. The vibration signal of a rotating machine can be acquired using an accelerometer, and the sampling rate and resolution can vary depending on the performance of the accelerometer. Data characteristics are extracted in the feature extraction step by converting the collected time domain data into frequency or time-frequency domain data. Fast Fourier transform (FFT) is a representative method for converting time domain data into frequency domain data, and short-time Fourier transform (STFT) and wavelet transform (WT) are also commonly used for generating time-frequency domain data from time domain data. In the feature selection step, techniques, such as principal component analysis [3], [4], [5], extract latent features from high-dimensional data. Finally, in the classification stage, machine learning (ML) methods, such as support vector machine (SVM) [4], [6], random forest (RF) [7], [8], and k-nearest neighbor (kNN) [9], [10], are used to classify machine faults. However, the disadvantage of the traditional approach is that the feature extraction and selection steps, depending on the domain expertise, may affect the fault detection performance. Recently, deep learning has achieved remarkable performance improvements in various fields, such as image processing, natural language processing, and time series forecasting [11]. In particular, deep learning models achieve higher performance than conventional data-based approaches even when raw inputs are used without feature extraction and selection [12]. Furthermore, in bearing fault diagnosis, many researchers have obtained approximately 100% accuracy without preprocessing using convolutional neural networks (CNN) [13], [14], [15], [16], [17], [18], [19], [20], [21], [22], [23], [24], [25], [26], [27], recurrent neural networks (RNN) [28], [29], [30], and Transformers [31], [32]. Studies have also been conducted to diagnose the failures of multi-domain data measured under different working loads or to develop a model that can classify bearing faults even in a noisy environment. Deep learning-based approaches have also demonstrated remarkable achievements in analyzing non-stationary signals with noise in other areas, such as speech processing [33] and gravitational wave analysis [34]. Deep learning models are generally trained using a stochastic optimization method [35], and the training speed and final model performance vary significantly depending on the optimizer type and hyperparameter tuning. However, there is no theoretical basis for determining the best optimizer and hyperparameter tuning method, and empirical studies have been conducted only in representative fields of deep learning [36]. In particular, although research on model architectures has been intensively conducted in bearing fault diagnosis, there are fewer studies on the theoretical or empirical verification of the effects of optimizers and hyperparameter tuning on the model performance. Furthermore, in model development studies, the description of the optimization methods and training environments used in them is often unclear. Regarding these problems, this paper presents a bearing fault diagnosis benchmarking study of robustness against noisy data using two open-access datasets, seven CNN-based models, and four deep learning optimizers with varying batch sizes. The benchmarking and performance verification processes were as follows. First, we set the hyperparameter search space for each optimizer. We used stochastic gradient descent (SGD), Momentum, RMSProp, and Adam as the optimizers. The hyperparameter set for each optimizer was sampled from a quasi-random log-uniform distribution. Further, we trained a model on each hyperparameter set and refined the hyperparameter search space for each model and optimizer. Finally, after training the models in the refined hyperparameter search space, we evaluated the results using noise-free and noisy data. This paper demonstrates that the hyperparameter of the optimizer, which has been underestimated in deep learning-based bearing fault diagnosis, significantly affects the robustness of the models against noise using a comprehensive benchmark with various models and datasets. We also conducted an extensive performance comparison of various CNN-based models regarding noise-robustness, model parameters, and computational efficiency in a refined search space where each model and dataset achieved high accuracy, considering on-device artificial intelligence (AI). These findings can help researchers efficiently design deep learning-based fault diagnosis models and choose hyperparameters for model training. Furthermore, to promote further exploration, we open our source code, which can be used to benchmark various user-defined models, datasets, and hyperparameters. The remainder of this paper is organized as follows. Section II introduces related studies on bearing fault diagnosis, deep learning optimizer evaluation, and benchmarking studies. In Section III, we describe our benchmarking approach and the datasets, models, optimizers, and hyperparameters used in the experiments. Section IV presents the benchmarking results and a review of the results. Finally, we summarize and conclude the paper in Section V. II. RELATED WORK _A._ _DEEP LEARNING-BASED BEARING FAULT DIAGNOSIS_ Deep learning models have attracted considerable interest in fault diagnosis because they can achieve high performance without prior feature extraction. Among them, the CNN is the most commonly used structure, and 1D and 2D CNNs have been widely studied. The 1D CNN receives raw vibration signal inputs to diagnose device failures. Zhang et al. [13], [14] proposed a model that maximizes the robustness against noise by widening the kernel size of the first convolutional layer. Recently, there have also been active studies on fault diagnosis based on 1D CNNs that employ structures such as residual connections and dilated convolutions, which have been proven to perform well in other application areas, including image processing and audio processing [15], [16], [17], [18], [19], [20]. On the other hand, 2D CNN-based algorithms incorporate various feature extraction techniques, such as signal-to-image mapping [21], [22], [23], STFT [24], [25], cyclic spectral coherence [26], and nonlinear mode decomposition [27]. RNNs, in conjunction with CNNs, are also widely used in fault diagnosis. For example, input signals are first passed through a CNN, and then a RNN diagnoses failures through the signals. Shenfield and Howarth [28] proposed a hybrid model of long short-term memory (LSTM) and a CNN-based model described in [13]. In addition, Jin et al. [29] proposed an adaptive anti-noise neural network framework using a FIGURE 1. Schematic workflow of the benchmarking process. 1D CNN, a gate recurrent unit, and an attention module. Currently, Transformer-based architectures have also been applied to fault diagnosis. For example, Feng et al. [31] presented a lightweight combination model of a 1D CNN and a Transformer structure, and Ding et al. [32] proposed a Transformer structure that processes time-frequency domain data. _B._ _DEEP LEARNING OPTIMIZERS AND HYPERPARAMETER_ _TUNING_ Most deep learning models are trained by stochastic optimization, which minimizes the loss from data in mini-batch units of a specific size. The most basic and widely used optimization algorithm for model training is SGD. The Momentum algorithm [37] was devised to improve the slow learning speed of SGD. Currently, the RMSProp [38] and Adam [39] algorithms are widely used because they adaptively change the learning rate during the training process. The importance of properly tuning the optimizers and their hyperparameters in deep learning model training has also been emphasized. Grid search is the simplest and most basic hyperparameter tuning method. It is an exhaustive method for selecting the best hyperparameter by evaluating the performance of all the combinations. Although this method is simple and easy to implement and parallelize, its search time increases exponentially even if the hyperparameter dimension increases only slightly. Random search is a widely used hyperparameter tuning method owing to its high efficiency [36], [40], [41], [42]. It randomly samples hyperparameter combinations within a predetermined range. Research on the hyperparameter tuning of deep learning optimizers has been conducted in various fields. However, there is no theoretically verified best optimizer or hyperparameter tuning method [42], and benchmarking and empirical studies on specific datasets and models are predominant. Choi et al. [36] presented large-scale optimization hyperparameter tuning results for image classification and language modeling tasks. Schmidt et al. [42] also presented the hyperparameter tuning results for each optimizer in image classification, image generation, and character prediction tasks. In addition to large-scale benchmarking studies, studies have been conducted to verify the effectiveness of deep learning optimizers and hyperparameter tuning for a specific target application. For example, Verma et al. [43] verified the performance of Adam and RMSProp optimizers based on a learning rate change in a COVID-19 classification problem using computed tomography images. Saleem et al. [44] compared the performances of six optimizers, including SGD and Adam, for CNN models applied to plant disease classification. Şen et al. [45] presented the results of a grid search for the hyperparameters of the Adam optimizer in electrocardiogram classification. With regard to fault diagnosis, Rezaeianjouybari and Shang [46] verified the effects of SGD and Momentum’s cyclic learning rate and cyclic momentum on bearing fault detection. III. METHODOLOGY This paper presents the benchmarking results of the impact of hyperparameter tuning on deep learning optimizers with noisy vibration data. Fig. 1 depicts the entire process of hyperparameter tuning and benchmarking performed in this study. We benchmarked 56 configuration options from combinations of two open datasets, seven CNN models, and four optimizers. The deep-learning model in each configuration was trained for batch sizes of 16, 64, and 128. As the first step of our benchmarking study, we specified the search space of the optimizer for each hyperparameter and performed model training 64 times. In this step, hyperparameters were sampled from a quasi-random uniform distribution on a log scale. Second, we refined the search space for each model and optimizer based on the experimental results acquired from the first step and then repeated the model training 16 times. Based on the experimental results from the second step, we evaluated the test accuracies of the noise-free and noisy data for different batch sizes and optimizers. _A._ _DATASETS_ This benchmarking study used the Case Western Reserve University (CWRU) and Society for Machinery Failure Prevention Technology (MFPT) datasets. Both datasets are widely used in bearing fault diagnosis and provide vibration signals for various bearing faults and motor load environments. The CWRU dataset [47] is the most widely used public dataset for bearing fault diagnosis. This dataset contains vibration data measured using an accelerometer with 12 and 48 kHz sampling rates from a 2 HP reliance electric motor. Fig. 2 shows the test rig in which the dataset was collected. Two types of bearings were installed at the test rig: a 62052RS JEM SKF bearing at the drive end and a 6203-2RS JEM SKF bearing at the fan end. Data were collected for each bearing’s inner raceway, outer raceway, and ball fault situations. In addition, bearing faults were artificially synthesized using the electro-discharge machining method to include data with various crack sizes and motor loads. Our study used the drive end bearing data collected under 0.7457, 1.4914, and 2.2371 kW motor loads at 12 kHz. FIGURE 2. Test rig of the CWRU dataset [47]. The MFPT dataset [48] provides vibration data measured for normal bearings and two types of defective bearings: inner and outer raceway faults. The vibration data were collected under nine load conditions at a sampling rate of 97,656 Hz. Both bearing datasets consist of a small number of long-duration raw vibration signals measured over a predefined time interval under specific bearing conditions. For example, the inner raceway fault data of the CWRU dataset are composed of nine raw signals, and the length of each signal is approximately 120,000. If these raw signals are used for training directly, the size and computational burden of a model increase, whereas the number of the training data samples is insufficient. Therefore, we regenerated the data using the following three steps: data labeling, splitting, and augmentation. First, we labeled the data according to the bearing fault type. Because the CWRU dataset provided fault data for three different crack sizes and three fault types, the data were labeled with nine fault classes and a normal class. Table 1 presents the class classification method for the CWRU dataset. However, the MFPT dataset provided only two types of faults, inner and outer raceways, and did not separate the detailed characteristics of each fault. Therefore, the data were classified into three classes: normal, inner raceway fault, and outer raceway fault. Table 2 shows the class classification method for the MFPT dataset. Subsequently, we split each vibration signal into training, validation, and testing sets with a ratio of 60%:20%:20%, respectively. Finally, we generated the data by overlapping and slicing the raw signals, which have often been used to secure sufficient training data, as shown in Fig. 3. We sliced the data with the largest input size of the candidate models, 4,096, and a shift size of 2,048. However, the models evaluated in this study have different input sizes, and adjusting the input sizes of each model requires a modification of the model architecture. Because it may change the performance of the models, we did not modify the original input size of the models. When the input size of the model was smaller than 4,096, only the front part of the data was used to train each model using the same data. For example, a model with an input size of 2,048 was trained using only the first 2,048 elements of data. Tables 1 and 2 also list the number of samples for each dataset used in the benchmarking study. FIGURE 3. Data augmentation using overlapping. TABLE 1. Data labels and the number of samples for the CWRU dataset. _B._ _CANDIDATE MODELS_ Seven candidate models were employed in our benchmarking study: four 1D CNNs, two 2D CNNs, and one CNN + RNN model. Table 3 summarizes the candidate models and their concepts. TABLE 2. Data labels and the number of samples for the MFPT dataset. TABLE 3. Summary of candidate models. Because vibration signals are one-dimensional, 1D CNNs are the most popular models for bearing fault diagnosis. The main idea of early 1D CNN-based architectures was to widen the first kernel size of the convolutional layer. This technique has been broadly applied in many studies of 1D CNN-based fault detection. We used deep convolutional neural networks with wide first-layer kernels (WDCNN) [13] and TICNN [14] as representatives of the 1D CNN model. WDCNN [13] is an early 1D CNN-based model that enhances domain adaptation and anti-noise ability for bearing fault diagnosis. This model showed that widening the kernel size of the first convolutional layer could suppress the high-frequency noise of vibration signals. TICNN [14] is the successor of WDCNN. This model has a similar architecture to the WDCNN but uses kernel dropout for the first convolutional layer. Kernel dropout randomly drops the value of the convolutional filters. The study mentioned that the kernel dropout of the first layer could add noise to the input data. Fig. 4 shows the kernel dropout for a 1D convolutional filter of size three. FIGURE 4. Kernel dropout of TICNN. Dilated convolution and residual connection are also frequently used in fault detection CNN. Dilated convolution was originally proposed for image segmentation [49]. It can increase the receptive field of a convolutional kernel while keeping the parameter constant by creating holes in the convolutional kernel. Fig. 5(a) illustrates a 1D dilated convolution of a 3 × 1 filter. The receptive field size of this filter was five while only using the parameters of the 3 × 1 filter. Residual connection adds the input layer values to the output layer values of a neural network by element. This technique can address the accuracy degradation with respect to the depth of the neural network. Fig. 5(b) shows a residual connection applied to a convolutional layer. Beginning with ResNet [50] for image classification, numerous modern CNN architectures have used the residual connection. In this study, we used a one-dimensional dilated convolution network with residual connection (DCN) and a stacked residual dilated convolutional neural network (SRDCNN) as representatives using dilated convolution and residual connection. FIGURE 5. Dilated convolution and residual connection. DCN [15] used dilated convolution and residual connection to enhance the feature learning ability. The essential blocks of DCN are the residual and dilated residual connection blocks. The residual connection block is a combination of a normal convolutional layer and residual connection, and the dilated residual connection block is composed of dilated convolutional layers with a residual connection. In addition, the squeeze-and-excitation block, proposed by SeNet [51], is used for the DCN architecture. The DCN effectively diagnosed the faults of two bearing datasets in multi-domain and noisy environments. SRDCNN also used both residual connection and dilated convolution. The building block of the SRDCNN is similar to that of the WaveNet [52] architecture, which is based on the input gate layer of the LSTM and dilated convolution. Fig. 6 shows the building block of SRDCNN. 2D CNN architectures have also been intensively studied. Unlike 1D CNNs, 2D CNNs must convert inputs to 2D data because raw vibration signals are one-dimensional timeseries data. FIGURE 6. Building block of SRDCNN. Signal-to-image mapping (STIM) is the simplest data conversion algorithm that reshapes a 1D signal to a 2D vibration image. Fig. 7(a) illustrates the STIM algorithm, which converts a 9 × 1 1D signal to a 3 × 3 2D signal. Among the previous studies on 2D fault diagnosis CNNs using STIM [21], [23], we selected the simple 2D CNN by Zhao et al. [21] (STIM-CNN) for the candidate model. The STIM-CNN had two convolutional layers and a fully connected layer that achieved higher accuracy with fewer parameters than LeNet-5. Signal processing algorithms, such as STFT and WT, can also be used to generate 2D inputs [24], [25], [27]. These algorithms require additional computational resources to derive the time-frequency domain information. Fig. 7(b) shows a 2D spectrogram generated by the STFT. This study used the model proposed by Zhang et al. [24] (STFT-CNN) as another 2D CNN candidate. The STFT-CNN used a 2D spectrogram from STFT as inputs, and the scaled exponential linear unit was used to avoid dead nodes. FIGURE 7. Data generation for 2D CNN. Because vibration signals are a time series, RNNs have been actively applied to diagnose bearing faults [28], [29]. As the candidate model for the RNN-based architecture, we selected the RNN-WDCNN [28] as shown in Fig. 8. The model consists of two paths. One path passes the input to the WDCNN [13] directly. In another path, the input passes the convolutional layer and the LSTM layer sequentially. Finally, the two outputs from the paths are concatenated. FIGURE 8. RNN-WDCNN architecture. _C._ _OPTIMIZATION METHODS_ We used four optimizers: SGD, Momentum [37], RMSProp [38], and Adam [39] in this benchmarking study. They are the most popular optimizers for deep learning model training, which update parameters using a gradient. Before describing the parameter update rule for each optimizer, we define the model parameters, softmax output of the model, loss function, batch size, and _i_ <sup>_th_</sup> input as _θ_, _f_ (·; _θ_ ), _L_ (·), _n_, ( _xi, yi_ ), respectively. Algorithms 1–4 describe the update rules of the optimizers. SGD is the simplest deep learning optimization method that updates parameters in the direction where the loss function decreases the fastest, that is, in the opposite direction of the gradient. This method requires only one crucial hyperparameter, the learning rate, which determines the step size of the parameter update. However, a fixed learning rate may lead to inefficiencies in the model training. For example, a low learning rate can easily reduce the training speed. However, the models often fail to converge to the optimal loss under a high learning rate. <u>Algorithm 1</u> <u>SGD</u> Require: learning rate _η >_ 0 1: repeat Momentum [37] was proposed to accelerate the training speed of SGD. It introduced the information of past gradients _v_ to update the parameter, as described in Algorithm 2. In this algorithm, the momentum factor _γ_ determines the contributions of the previous gradient. The larger the value of _γ_, the more the previous gradient affects the training. In general, frequently selected values for the momentum factor are 0.5, 0.9, and 0.99. The learning rate is the most significant hyperparameter of optimizers; however, tuning the learning rate for a specific task is difficult. In recent studies, algorithms that adaptively change the learning rates of parameters, such as RMSProp and Adam, have been introduced to address this problem. RMSProp uses an exponentially weighted moving average of the gradient to adapt to the learning rate. This method 2: g = <sup><u>1</u></sup> _n_ <sup><u>1</u></sup> _n_ <sup>∇</sup> <sup>_θ_</sup> - _i_ <sup>_L_</sup> <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>;</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_, yi_</sup> <sup>)</sup> 3: _θ_ = _θ_ - _η_ g 4: until Converge <u>Algorithm 2</u> <u>Momentum</u> Require: learning rate _η >_ 0, momentum factor 0 ≤ _γ_ _<_ 1 1: _v_ = 0 2: repeat <u>Algorithm 4</u> <u>Adam</u> Require: learning rate _η_ _>_ 0, smoothing factor 0 ≤ _β_ 1 _, β_ 2 _<_ 1, numerical constant _ϵ_ 1: _v_ = 0, _m_ = 0, _t_ = 0 2: repeat 3: g = <sup><u>1</u></sup> _n_ 3: g = <sup><u>1</u></sup> _n_ <sup><u>1</u></sup> _n_ <sup>∇</sup> <sup>_θ_</sup> - _i_ <sup>_L_</sup> <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>;</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_, yi_</sup> <sup>)</sup> 4: _v_ = _γ v_ - _η_ g - _i_ <sup>_L_</sup> <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>;</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_, yi_</sup> <sup>)</sup> 5: _θ_ = _θ_ + _v_ 6: until Converge modifies Adagrad and performs better in non-convex environments. RMSProp has four hyperparameters: _η,_ _α,_ _γ_, and _ϵ_ . _η_ is the initial learning rate, and _α_ is the smoothing factor of the exponentially weighted moving average. _γ_ is the momentum factor, which is the same as that in the Momentum algorithm. _ϵ_ is a numerical constant that prevents division error by zero. Recently, Adam [39] has been the most popular adaptive learning rate algorithm. It uses the first- and second-order moments of the gradient to change the learning rate adaptively. Adam may be regarded as a combination of RMSProp and Momentum; however, a significant distinction is that the moments of the gradient are rescaled. Adam has four hyperparameters: _η,_ _β_ 1 _,_ _β_ 2, and _ϵ_, which indicate the initial learning rate, smoothing factors of the first- and secondorder moments, and numerical constant, respectively. The commonly used default values for the hyperparameters are _η_ = 0 _._ 001 _,_ ( _β_ 1 _, β_ 2) = (0 _._ 9 _,_ 0 _._ 999), and _ϵ_ = 10 <sup>−8</sup> . <u>Algorithm 3</u> <u>RMSProp</u> Require: learning rate _η_ _>_ 0, smoothing factor 0 ≤ _α_ _<_ 1, momentum factor 0 ≤ _γ_ _<_ 1, numerical constant _ϵ_ 1: _v_ = 0, _m_ = 0 2: repeat <sup><u>1</u></sup> _n_ <sup>∇</sup> <sup>_θ_</sup> 4: _m_ = _β_ 1 _m_ + (1 − _β_ 1) g 5: _v_ = _β_ 2 _vm_ + (1 − _β_ 2) g <sup>�</sup> g _<u>m</u>_ 6: _m_ ˆ = 1 − _<u>v</u>_ _β_ 1 <sup>_t_</sup> 7: _v_ ˆ = 1 − _β_ 2 <sup>_t_</sup> _<u>m</u>_ ˆ 8: _�θ_ = − _η_ ~~√~~ _v_ ˆ + _ϵ_ 9: _θ_ = _θ_ + _�θ_ 3: g = <sup><u>1</u></sup> _n_ <sup><u>1</u></sup> _n_ <sup>∇</sup> <sup>_θ_</sup> - _i_ <sup>_L_</sup> <sup>(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>;</sup> <sup>_θ_</sup> <sup>)</sup> <sup>_, yi_</sup> <sup>)</sup> 4: _v_ = _αv_ + (1 − _ηα_ ) g <sup>�</sup> g _η_ 5: _m_ = _γ m_ + ~~√~~ _<u>v</u>_ + _ϵ_ g 6: _θ_ = _θ_ - _m_ 7: until Converge _D._ _MODEL TRAINING AND HYPERPARAMETER TUNING_ As described in the previous sections, we performed a two-stage benchmarking test for 2×7×4 = 56 different configuration options using two datasets, seven models, and four optimizers. In the first stage, we trained the models 64 times for each optimizer and batch size in the initial search space of hyperparameters. Next, we refined the hyperparameter search space based on these results and trained the models 16 times again for the refined search space in the second stage. Finally, we evaluated the noise-robustness and the impacts of optimizers and batch size on the model performance. The initial hyperparameter search space was set based on a study of large-scale optimizer hyperparameter tuning conducted in [36]. Table 4 summarizes the initial search space. Similar to most previous studies on hyperparameter 10: _t_ = _t_ + 1 11: until Converge tuning, we sampled the hyperparameters _γ_ of Momentum, ( _α, γ_ ) of RMSProp, and ( _β_ 1 _, β_ 2) of Adam from (1 - _γ_ ), (1 − _α,_ 1 − _γ_ ), and (1 − _β_ 1 _,_ 1 − _β_ 2), respectively, following a quasi-random uniform distribution. Because hyperparameters have multiplicative effects on updating the parameters [40], [41], we sampled the hyperparameter set from a log scale. For example, when the search space of the learning rate is [10 <sup>−4</sup> _,_ 10 <sup>0</sup> ], the hyperparameters are sampled from 10 <sup>_U_</sup> <sup>[−4</sup> <sup>_,_</sup> <sup>0]</sup>, where _U_ denotes a uniform distribution. Pseudo-random sampling can generate a biased distribution of hyperparameters. Therefore, we used a quasi-random distribution to sample the hyperparameters [53]. Fig. 9 shows the difference between the pseudo-random and quasi-random sampling for two variables in the range [10 <sup>−2</sup> _,_ 10 <sup>0</sup> ]. The sampling results showed that the samples from the quasi-random distribution had a lower discrepancy than those from the pseudo-random distribution. We trained each model for 100 epochs for each sampled hyperparameter set and selected the result with the lowest validation loss. Cross-entropy was used as the cost function _L_ given by (1). We let _C_, _y_ <sup>(</sup> _i_ <sup>_j_</sup> <sup>),</sup> <sup>and</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>;</sup> <sup>_θ_</sup> <sup>)(</sup> <sup>_j_</sup> <sup>)</sup> <sup>be</sup> <sup>the</sup> <sup>number</sup> of class, one-hot encoded label for _j_ <sup>_th_</sup> class of _i_ <sup>_th_</sup> data, and softmax output for _j_ <sup>_th_</sup> class of _i_ <sup>_th_</sup> data, respectively. _L_ ( _f_ ( _xi_ ; _θ_ ) _, yi_ ) = − _C_ _j_ _y_ <sup>(</sup> _i_ <sup>_j_</sup> <sup>)</sup> <sup>log</sup> <sup>_f_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>;</sup> <sup>_θ_</sup> <sup>)(</sup> <sup>_j_</sup> <sup>)</sup> (1) After model training, we evaluated the models using both the test accuracy of the noise-free and noisy data. The test accuracy of the noise-free data represents the general performance of the model. By contrast, we used data with additive white Gaussian noise, which is the most frequently employed method for evaluating the noise-robustness of models, to investigate the model performance in a harsh industrial environment often exposed to noise interference. Additive white Gaussian noise was generated as follows. First, we calculated the signal power using (2), where _N_ and _xi_ denote the length and _i_ <sup>_th_</sup> element of the signal, respectively. The power of the noise was then derived from TABLE 4. Initial hyperparameter search space. FIGURE 9. Comparison between pseudo-random and quasi-random sampling. (3) with a specific signal-to-noise ratio (SNR), denoted as SNRdB. Finally, <u>Gaussian</u> noise from the normal distribution _N_ (0 _,_ <sup>~~√~~</sup> _P_ noise) was added to the original signal. To evaluate the robustness of the models against noisy data, we used the average accuracy using the noisy data with SNR [−4 _,_ −2 _,_ 0 _,_ 2 _,_ 4]dB. _P_ signal = <sup><u>1</u></sup> _N_ _N_ _i_ _xi_ <sup>2</sup> (2) SNRdB = 10 log10 _P_ <u>signal</u> _P_ noise (3) TABLE 5. Hardware and software specifications for the experiment. and trend lines. In the figures, each point represents the pair of test accuracy and hyperparameter for a training result. Trend lines for each batch size were also plotted using locally weighted scatterplot smoothing to illustrate how the accuracy of the model changed with different hyperparameter values. The results showed that the model performances in both noise-free and noisy environments were significantly affected by the learning rate _η_ for all optimizers and the momentum factor _γ_ for Momentum and RMSProp, which were the dominant hyperparameters for determining the training speed of the models. For example, when _η_ was high, the step size of the parameter update increased. High momentum factor _γ_ also accelerated the model training. As shown in Fig. 10, in SGD, the learning rate significantly affected the performance of all models, except for RNNWDCNN. For instance, in WDCNN and TICNN, when the learning rate was lower than 10 <sup>−3</sup>, the performance decreased in noise-free and noisy environments. DCN and SRDCNN showed patterns similar to those of WDCNN and TICNN in a noise-free environment. However, when the learning rate was higher than 10 <sup>−1</sup>, the performance of SRDCNN rapidly decreased in both environments, and the performance of DCN also decreased slightly in the noisy environment. The results for the 2D CNN models, STIM-CNN and STFT-CNN, showed slightly different patterns compared with the 1D CNN models. The models had clear ranges of learning rates, producing the best model performance. In a noise-free environment, STIM-CNN and STFT-CNN achieved the maximum performance at a learning rate of around 10 <sup>−2</sup> . As for the noisy environment, the performance of STFT-CNN was the best at a learning rate of around 10 <sup>−1</sup> ; however, the best learning rate for STIM-CNN varied according to the batch size. Among all candidate models, RNN-WDCNN was the least affected by the learning rate. In a noise-free environment, the accuracy of RNN-WDCNN was approximately 100%, and the higher the learning rate, the higher the accuracy in a noisy environment. Figs. 11 and 12 show the effects of the learning rate and momentum factor, respectively, on the model performance using the Momentum optimizer. We observed that as the IV. EXPERIMENTAL RESULTS AND DISCUSSION This section presents the benchmarking results of a two-stage hyperparameter tuning for bearing fault diagnosis using various deep learning models and discusses the impact of the tuning results in both noise-free and noisy environments on model performance. To this end, we first tuned the hyperparameters in the initial search space, as presented in Table 4. Subsequently, we refined the search space and trained the models again based on the refined search space. Table 5 summarizes the experimental setup. We used PyTorch [54] and PyTorch Lightning [55] to implement and train the models on two NVIDIA GeForce RTX2080 SUPER GPUs in parallel. For reproducibility, we also fixed a random seed in all the experiments. Our source code used for the experiment is available at: https://github.com/junior209lsj/ FaultDiagnosisOptimizerBenchmark. _A._ _CASE 1: CWRU DATASET_ In the training results of the first stage in the CWRU dataset, we observed that the smoothing factors and the numerical constant _ϵ_ of the adaptive learning rate methods, that is, RMSProp and Adam, had only minor effects on the model performance. Therefore, we focused on the impacts of the learning rate and momentum factor. Figs. 10–15 show the relationship between the hyperparameter and model performance on the CWRU dataset with the optimizers and varying batch sizes through scatter plots FIGURE 10. Hyperparameter tuning using the CWRU dataset and SGD optimizer (learning rate). FIGURE 11. Hyperparameter tuning using the CWRU dataset and Momentum optimizer (learning rate). FIGURE 12. Hyperparameter tuning using the CWRU dataset and Momentum optimizer (momentum factor). FIGURE 13. Hyperparameter tuning using the CWRU dataset and RMSProp optimizer (learning rate). FIGURE 14. Hyperparameter tuning using the CWRU dataset and RMSProp optimizer (momentum factor). FIGURE 15. Hyperparameter tuning using the CWRU dataset and Adam optimizer (learning rate). TABLE 6. Refined hyperparameter search space for the CWRU dataset. learning rate increased, the model performance declined more rapidly than SGD in noise-free and noisy environments when using the Momentum optimizer. For example, the performances of all candidate models in both environments decreased at learning rates higher than 10 <sup>−2</sup> . Moreover, with a higher momentum factor, that is, approximately 1, models trained in a small batch size generally exhibited poor test accuracy. This was because the Momentum optimizer trained models faster than SGD by employing previous gradients. In most cases, when the learning rate was high, a small batch size led to poor model performances. Conversely, at lower learning rates, the model performance increased when the batch size was small. However, in 2D CNN models, the correlations between the learning rate and batch size on the model performance were unclear because their overall performances were low in a noisy environment. Based on the results illustrated in Fig. 13, we can observe that the model performance degradation followed by increasing the learning rate was the most outstanding in the RMSProp optimizer. Similar to the Momentum optimizer, a high learning rate or momentum factor reduced the model performance in both environments, as shown in Figs. 13 and 14. Furthermore, the performance reduction followed by the learning rate increment when using the RMSProp optimizer was higher than that of using the Momentum optimizer. However, unlike the Momentum case, RNN-WDCNN exhibited consistent performance in all hyperparameter ranges. RNN-WDCNN maintained approximately 100% accuracy when using the noise-free data and exhibited approximately 70–75% average accuracy when using the noisy data in all hyperparameter ranges. Although some studies have shown the effectiveness of the RMSProp optimizer for training small RNN-based models [56], [57], [58], research on the effect of RMSProp learning rate is still limited. In our experiments, we found that the performance of RNN-WDCNN was less sensitive to learning rate variation. Fig. 15 illustrates the performances of the models under various learning rates using the Adam optimizer. In the Adam case, the performances of DCN, SRDCNN, STIM-CNN, and STFT-CNN declined when the learning rate approached 10 <sup>−1</sup> . In addition, the performance was worse for a small batch size when the learning rate was approximately 10 <sup>−1</sup> . However, among the optimizers, the Adam optimizer was the least sensitive to variations in hyperparameters because WDCNN, TICNN, and RNN-WDCNN maintained their performances regardless of the changes in the learning rate, in most cases. The hyperparameter tuning results in the first stage show that the hyperparameters had significant impacts on the model performance. In particular, the learning rate and momentum factor, which determine the model training speed, significantly affected the model accuracy in noise-free and noisy environments. In general, the model performance decreased when the model training speed was high for small batch sizes or when the model training speed was low for large batch sizes. Based on this result, we refined the hyperparameter search spaces, including those which did not result in model performance reduction. Because the hyperparameters _α_ and _ϵ_ of RMSProp and _β_ 1 _, β_ 2, and _ϵ_ of Adam had trivial effects on the model performance, we set them to the default values. In most cases, the model performance decreased rapidly when the momentum factor exceeded 0.9. Therefore, we used 10 <sup>−1</sup> ≤ 1 − _γ_ ≤ 10 <sup>0</sup> for the new search space. Table 6 summarizes the refined search space for the hyperparameters. We trained each model 16 times using the refined search space in the second stage and compared the model performance for different optimizers and batch sizes. Because the average test accuracies of all the models in a noise-free environment were higher than 95%, only the results for the noisy environment were further analyzed. Fig. 16 shows the model training results in the refined search space for the noisy data. The value in the bar chart is the average test accuracy of the 16 results in the noisy data, and the error bar shows the 95% confidence interval. The results indicated that no optimizer achieved the best performance across all the models. However, it can be observed that the batch size and noise-robustness correlate, except for STIM-CNN. A small batch size led to high model performance; however, the relationship between batch size and model performance was not clear in STIM-CNN. 2D CNNs were less stable and had lower accuracies than 1D CNNs in noisy environments. In particular, among all candidate models, TICNN achieved the highest and most stable performance. _B._ _CASE 2: MFPT DATASET_ We conducted the same experiment as described in Section IV-A using the MFPT dataset. The results also show that smoothing factors, namely, _α,_ _β_ 1 _,_ _β_ 2, and the numerical constant _ϵ_ had trivial impacts on model performance. Thus, similar to the first stage experiment using the CWRU dataset, we investigated the effects of the learning rate and momentum factor on the model performance in detail. FIGURE 16. Model performance in a noisy environment with refined search space using the CWRU dataset. Figs. 17–22 show the hyperparameter tuning results for the first stage. In the initial search space, the parameters _η_ for all optimizers and _γ_ for Momentum and RMSProp optimizers significantly affected the model performance. This result shows that the learning rate and momentum factor were critical hyperparameters in both datasets. Fig. 17 shows the relationship between the learning rate and the model performance using SGD. Similar to the CWRU case in Fig. 10, each model had a specific learning rate range to produce high model performance. The performances of WDCNN and DCN rapidly decreased at learning rates lower than 10 <sup>−3</sup> . The performance of TICNN decreased when the learning rates were lower than 10 <sup>−2</sup> . By contrast, 2D CNNs maintained their performance at learning rates between 10 <sup>−3</sup> and 10 <sup>−1</sup> when using noise-free data. For all models, at high learning rates, training with large batch sizes resulted in a higher accuracy than training with small batch sizes. By contrast, a small batch size led to a higher model performance at a low learning rate. In both datasets, RNN-WDCNN exhibited the highest performance in the entire learning rate range in a noise-free environment and a learning rate of approximately 1 in a noisy environment. However, the performance of TICNN was more sensitive to the learning rate when using the MFPT dataset than when using the CWRU dataset. TICNN achieved the highest test accuracy when the learning rate was higher than 10 <sup>−2</sup> in noise-free and noisy environments using the CWRU dataset. However, for the MFPT dataset, the highest test accuracy was achieved when the learning rate was approximately 1 in a noise-free environment. The other models had similar tendencies for both datasets. The hyperparameter tuning results showed similar patterns in the two datasets using the Momentum optimizer. As shown in Fig. 18, the test accuracies of all the models decreased rapidly when the learning rates were higher than 10 <sup>−2</sup> . At high learning rates, training results with small batch sizes generally had lower accuracies than those with large batch sizes. In particular, the 2D CNN models, STIM-CNN and STFT-CNN, exhibited a noticeable performance reduction at high learning rates compared to the other models. In addition, when the momentum factor was approximately 1, the performances of the models decreased in most cases, as shown in Fig. 19. However, the performance reduction owing to the increasing momentum factor was smaller than that in the learning rate case. Similar to Momentum, the performances of the models decreased when the learning rate increased in RMSProp, as shown in Fig. 20. However, the degree of performance reduction caused by the increase in learning rate was smaller for the MFPT dataset than for the CWRU dataset. In addition, whereas the performances of WDCNN, TICNN, and DCN exhibited little variation based on the learning rate in a noisy environment, the performances of SRDCNN, STIMCNN, and STFT-CNN were more sensitive to the learning rate. Similar to the experiment using the CWRU dataset, the performance of RNN-WDCNN was stable at all learning rates in both noise-free and noisy environments. Fig. 21 shows the impact of the momentum factor on the model performance. When the momentum factor was approximately 1, the model performance decreased; however, the effect of the momentum factor was smaller than that of the learning rate. Fig. 22 shows the relationship between the learning rate of the Adam optimizer and model performance on the MFPT dataset. The results showed that, among the four optimizers, the learning rate of Adam had the least impact on the model performance. However, for SRDCNN, STIM-CNN, and STFT-CNN, when the learning rates were higher than 10 <sup>−2</sup>, the performance decreased regardless of the existence of noise. In addition, the model performance of TICNN decreased when the learning rate was less than 10 <sup>−3</sup> . Similar to the other optimizers, at higher learning rates, FIGURE 17. Hyperparameter tuning using the MFPT dataset and SGD optimizer (learning rate). FIGURE 18. Hyperparameter tuning using the MFPT dataset and Momentum optimizer (learning rate). FIGURE 19. Hyperparameter tuning using the MFPT dataset and Momentum optimizer (momentum factor). FIGURE 20. Hyperparameter tuning using the MFPT dataset and RMSProp optimizer (learning rate). FIGURE 21. Hyperparameter tuning using the MFPT dataset and RMSProp optimizer (momentum factor). FIGURE 22. Hyperparameter tuning using the MFPT dataset and Adam optimizer (learning rate). TABLE 7. Refined hyperparameter search space for the MFPT dataset. FIGURE 23. Model performance in a noisy environment with refined search space using the MFPT dataset. TABLE 8. Comparison of candidate models in terms of accuracy, model size, and computation load. the models achieved a higher performance with larger batch sizes. By contrast, with smaller batch sizes, lower learning rates resulted in higher performances. In the experimental results performed on the initial hyperparameter search space using the MFPT dataset, the overall relationship between the hyperparameters and model performance was similar for the two datasets. Furthermore, the model performance varied significantly depending on the hyperparameters. Therefore, based on the experimental results of the initial search space, we refined the hyperparameter search space using the same method used for the CWRU dataset. Table 7 summarizes the refined search space for the MFPT dataset. For the refined search space, all models achieved a test accuracy higher than 95% in a noise-free environment; therefore, we analyzed in detail the performances of the models only for a noisy environment. Fig. 23 shows the results of the training repeated 16 times for each model using the MFPT dataset in the refined search space. Although decreasing the batch size was effective for noise-robustness using the CWRU dataset, only the 2D CNN models were more robust against noise when the batch size was small in the MFPT dataset. Except for TICNN, all models achieved higher test accuracies using the noisy data of the MFPT dataset than the CWRU dataset. TICNN was the most robust model against noise using the CWRU dataset but exhibited similar performance to WDCNN using the MFPT dataset. The performances of the 2D CNNs were also improved, which was similar to that of 1D CNNs. _C._ _MODEL PERFORMANCE COMPARISON_ After two-stage training using the two datasets, we summarized the training results and evaluated the model performance, as shown in Table 8. The performance of the models was evaluated using the average test accuracies and their 95% confidence interval in both noise-free and noisy environments. The number of training results for each model was 4 × 3 × 16 = 192, representing all cases for the four optimizers and three batch sizes. Moreover, on-device AI systems have gained attention in machine fault diagnosis for reducing the inference time and data traffic between edge devices on a factory floor and a server. Because on-device AI systems have limited hardware resources, we used the number of parameters and the million floating point operations per second (MFLOPs) as the evaluation metrics of the candidate models. Overall, the 1D CNN models outperformed the 2D CNNs in noise-free and noisy environments, particularly for the CWRU dataset with noise. Furthermore, the number of parameters of the 1D CNN models was smaller than that of the 2D CNN models, indicating that 1D CNN models require smaller memory storage than 2D CNN models. In a noisy environment, the performances of the models, except for TICNN, were notably higher for the MFPT dataset than for the CWRU dataset. TICNN was the only model with a worse performance for the MFPT dataset than for the CWRU dataset. The performance of RNN-WDCNN was higher than that of the 2D CNN models for the CWRU dataset but lower than that of the 2D CNN models for the MFPT dataset. In our experiment, TICNN was the most robust against noise among the 1D CNN models. However, the test accuracy of TICNN on the MFPT dataset and noise-free environment was 97.13±0.84%, which was slightly lower than the accuracies of the other models. We speculated that this was because the kernel dropout rate used by TICNN was optimized only for the CWRU dataset; therefore, the performance of TICNN for the MFPT dataset in a noise-free environment was relatively low. WDCNN had a similar performance to TICNN for the MFPT dataset, but its performance declined considerably for the CWRU dataset with noise. DCN and SRDCNN exhibited comparable performances for both datasets. The accuracy of DCN was slightly higher than that of SRDCNN using the CWRU dataset with noise; however, using the MFPT dataset, SRDCNN was more robust against noise than DCN. Using both datasets with noise, these two models had lower performances than WDCNN and TICNN, which had more computations and parameters. For example, SRDCNN required 254.90 MFLOPs; thus, it performed at least 28–172 times more operations than the other 1D CNN models. V. CONCLUSION This study aimed to evaluate the impact of hyperparameter tuning on deep learning optimizers in bearing fault diagnosis. To this end, we selected two open-access datasets, four optimizers, and seven candidate models and performed hyperparameter tuning in two stages with varying batch sizes. Our experimental results showed the impact of hyperparameters and batch sizes on model performance. In our benchmarking study, the learning rate and momentum factor were the key hyperparameters significantly affecting the model performance. In addition, we observed that large batch sizes led to high model performances at high learning rates or momentum factors. By contrast, the model performances were high for small batch sizes at low learning rates or momentum factors. We also evaluated the performance and computational efficiency of each model. The evaluation results showed that TICNN was the best on-device AI solution candidate in terms of computational efficiency and noise-robustness. As a future work, we will consider the impact of optimizer weight decay or learning rate schedule. We also plan to develop a lightweight CNN model with a high noise robustness for on-device fault diagnosis. REFERENCES [1] S. Nandi, H. A. Toliyat, and X. Li, ‘‘Condition monitoring and fault diagnosis of electrical motors—A review,’’ _IEEE Trans. Energy Convers._, vol. 20, no. 4, pp. 719–729, Dec. 2005. [2] D.-T. Hoang and H.-J. Kang, ‘‘A survey on deep learning based bearing fault diagnosis,’’ _Neurocomputing_, vol. 335, pp. 327–335, Mar. 2019. [3] F. Wang, J. Sun, D. Yan, S. Zhang, L. Cui, and Y. Xu, ‘‘A feature extraction method for fault classification of rolling bearing based on PCA,’’ _J. Phys.,_ _Conf. Ser._, vol. 628, Jul. 2015, Art. no. 012079. [4] L. Shuang and L. Meng, ‘‘Bearing fault diagnosis based on PCA and SVM,’’ in _Proc._ _Int._ _Conf._ _Mechatronics_ _Autom._, Aug. 2007, pp. 3503–3507. [5] J. Zhu, T. Hu, B. Jiang, and X. Yang, ‘‘Intelligent bearing fault diagnosis using PCA–DBN framework,’’ _Neural_ _Comput._ _Appl._, vol. 32, no. 14, pp. 10773–10781, Jul. 2020. [6] X. Zhang, Y. Liang, J. Zhou, and Y. Zang, ‘‘A novel bearing fault diag nosis model integrated permutation entropy, ensemble empirical mode decomposition and optimized SVM,’’ _Measurement_, vol. 69, pp. 164–179, Jun. 2015. [7] Z. Wang, Q. Zhang, J. Xiong, M. Xiao, G. Sun, and J. He, ‘‘Fault diagnosis of a rolling bearing using wavelet packet denoising and random forests,’’ _IEEE Sensors J._, vol. 17, no. 17, pp. 5581–5588, Sep. 2017. [8] X. Qin, Q. Li, X. Dong, and S. Lv, ‘‘The fault diagnosis of rolling bearing based on ensemble empirical mode decomposition and random forest,’’ _Shock Vib._, vol. 2017, pp. 1–9, Aug. 2017. [9] A. Sharma, R. Jigyasu, L. Mathew, and S. Chatterji, ‘‘Bearing fault diag nosis using weighted K-nearest neighbor,’’ in _Proc. 2nd Int. Conf. Trends_ _Electron. Informat. (ICOEI)_, May 2018, pp. 1132–1137. [10] Q. Lu, X. Shen, X. Wang, M. Li, J. Li, and M. Zhang, ‘‘Fault diagnosis of rolling bearing based on improved VMD and KNN,’’ _Math._ _Problems_ _Eng._, vol. 2021, pp. 1–11, Oct. 2021. [11] Y. LeCun, Y. Bengio, and G. Hinton, ‘‘Deep learning,’’ _Nature_, vol. 521, no. 7553, pp. 436–444, 2015. [12] F. Jia, Y. Lei, J. Lin, X. Zhou, and N. Lu, ‘‘Deep neural networks: A promis ing tool for fault characteristic mining and intelligent diagnosis of rotating machinery with massive data,’’ _Mech._ _Syst._ _Signal_ _Process._, vols. 72–73, pp. 303–315, May 2016. [13] W. Zhang, G. Peng, C. Li, Y. Chen, and Z. Zhang, ‘‘A new deep learning model for fault diagnosis with good anti-noise and domain adaptation ability on raw vibration signals,’’ _Sensors_, vol. 17, no. 2, p. 425, Feb. 2017. [14] W. Zhang, C. Li, G. Peng, Y. Chen, and Z. Zhang, ‘‘A deep convolutional neural network with new training methods for bearing fault diagnosis under noisy environment and different working load,’’ _Mech. Syst. Signal_ _Process._, vol. 100, pp. 439–453, Feb. 2018. [15] H. Liang and X. Zhao, ‘‘Rolling bearing fault diagnosis based on one dimensional dilated convolution network with residual connection,’’ _IEEE_ _Access_, vol. 9, pp. 31078–31091, 2021. [16] Z. Zhuang, H. Lv, J. Xu, Z. Huang, and W. Qin, ‘‘A deep learning method for bearing fault diagnosis through stacked residual dilated convolutions,’’ _Appl. Sci._, vol. 9, no. 9, p. 1823, May 2019. [17] M. Zhao, S. Zhong, X. Fu, B. Tang, and M. Pecht, ‘‘Deep residual shrink age networks for fault diagnosis,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 16, no. 7, pp. 4681–4690, Jul. 2020. [18] T. Chen, Z. Wang, X. Yang, and K. Jiang, ‘‘A deep capsule neural network with stochastic delta rule for bearing fault diagnosis on raw vibration signals,’’ _Measurement_, vol. 148, Dec. 2019, Art. no. 106857. [19] Y. Xiao, H. Shao, S. Han, Z. Huo, and J. Wan, ‘‘Novel joint transfer network for unsupervised bearing fault diagnosis from simulation domain to experimental domain,’’ _IEEE/ASME Trans. Mechatronics_, vol. 27, no. 6, pp. 5254–5263, Dec. 2022. [20] D. Peng, H. Wang, Z. Liu, W. Zhang, M. J. Zuo, and J. Chen, ‘‘Multibranch and multiscale CNN for fault diagnosis of wheelset bearings under strong noise and variable load condition,’’ _IEEE_ _Trans._ _Ind._ _Informat._, vol. 16, no. 7, pp. 4949–4960, Jul. 2020. [21] J. Zhao, S. Yang, Q. Li, Y. Liu, X. Gu, and W. Liu, ‘‘A new bearing fault diagnosis method based on signal-to-image mapping and convolutional neural network,’’ _Measurement_, vol. 176, May 2021, Art. no. 109088. [22] R. Magar, L. Ghule, J. Li, Y. Zhao, and A. B. Farimani, ‘‘FaultNet: A deep convolutional neural network for bearing fault classification,’’ _IEEE Access_, vol. 9, pp. 25189–25199, 2021. [23] D. Yao, H. Liu, J. Yang, and X. Li, ‘‘A lightweight neural network with strong robustness for bearing fault diagnosis,’’ _Measurement_, vol. 159, Jul. 2020, Art. no. 107756. [24] Y. Zhang, K. Xing, R. Bai, D. Sun, and Z. Meng, ‘‘An enhanced convolu tional neural network for bearing fault diagnosis based on time–frequency image,’’ _Measurement_, vol. 157, Jun. 2020, Art. no. 107667. [25] Z. Zhu, G. Peng, Y. Chen, and H. Gao, ‘‘A convolutional neural network based on a capsule network with strong generalization for bearing fault diagnosis,’’ _Neurocomputing_, vol. 323, pp. 62–75, Jan. 2019. [26] Z. Chen, A. Mauricio, W. Li, and K. Gryllias, ‘‘A deep learning method for bearing fault diagnosis based on cyclic spectral coherence and convolutional neural networks,’’ _Mech. Syst. Signal Process._, vol. 140, Jun. 2020, Art. no. 106683. [27] C.-Y. Lee, G.-L. Zhuo, and T.-A. Le, ‘‘A robust deep neural network for rolling element fault diagnosis under various operating and noisy conditions,’’ _Sensors_, vol. 22, no. 13, p. 4705, Jun. 2022. [28] A. Shenfield and M. Howarth, ‘‘A novel deep learning model for the detection and identification of rolling element-bearing faults,’’ _Sensors_, vol. 20, no. 18, p. 5112, Sep. 2020. [29] G. Jin, T. Zhu, M. W. Akram, Y. Jin, and C. Zhu, ‘‘An adaptive anti-noise neural network for bearing fault diagnosis under noise and varying load conditions,’’ _IEEE Access_, vol. 8, pp. 74793–74807, 2020. [30] L. Y. Imamura, S. L. Avila, F. S. Pacheco, M. B. C. Salles, and L. S. Jablon, ‘‘Diagnosis of unbalance in lightweight rotating machines using a recurrent neural network suitable for an edge-computing framework,’’ _J._ _Control,_ _Autom. Electr. Syst._, vol. 33, no. 4, pp. 1–14, 2022. [31] H. Fang, J. Deng, Y. Bai, B. Feng, S. Li, S. Shao, and D. Chen, ‘‘CLFormer: A lightweight transformer based on convolutional embedding and linear self-attention with strong robustness for bearing fault diagnosis under limited sample conditions,’’ _IEEE Trans. Instrum. Meas._, vol. 71, pp. 1–8, 2022. [32] Y. Ding, M. Jia, Q. Miao, and Y. Cao, ‘‘A novel time–frequency transformer based on self–attention mechanism and its application in fault diagnosis of rolling bearings,’’ _Mech._ _Syst._ _Signal_ _Process._, vol. 168, Apr. 2022, Art. no. 108616. [33] T. Arias-Vergara, P. Klumpp, J. C. Vasquez-Correa, E. Nöth, J. R. Orozco-Arroyave, and M. Schuster, ‘‘Multi-channel spectrograms for speech processing applications using deep learning methods,’’ _Pattern_ _Anal. Appl._, vol. 24, no. 2, pp. 423–431, May 2021. [34] N. Lopac, F. Hržić, I. P. Vuksanović, and J. Lerga, ‘‘Detection of non-stationary GW signals in high noise from Cohen’s class of time– frequency representations using deep learning,’’ _IEEE_ _Access_, vol. 10, pp. 2408–2428, 2022. [35] R.-Y. Sun, ‘‘Optimization for deep learning: An overview,’’ _J. Oper. Res._ _Soc. China_, vol. 8, no. 2, pp. 249–294, Jun. 2020. [36] D. Choi, C. J. Shallue, Z. Nado, J. Lee, C. J. Maddison, and G. E. Dahl, ‘‘On empirical comparisons of optimizers for deep learning,’’ 2019, _arXiv:1910.05446_ . [37] B. T. Polyak, ‘‘Some methods of speeding up the convergence of iteration methods,’’ _USSR_ _Comput._ _Math._ _Math._ _Phys._, vol. 4, no. 5, pp. 1–17, Jan. 1964. [38] G. Hinton, N. Srivastava, and K. Swersky. (2012). _Neural_ _Networks_ _for_ _Machine_ _Learning_ _Lecture_ _6A_ _Overview_ _of_ _Mini-Batch_ _Gradi-_ _ent_ _Descent_ . [Online]. Available: https://www.cs.toronto.edu/~tijmen/ csc321/slides/lecture_slides_lec6.pdf [39] D. P. Kingma and J. Ba, ‘‘Adam: A method for stochastic optimization,’’ 2014, _arXiv:1412.6980_ . [40] Y. Bengio, _Practical_ _Recommendations_ _for_ _Gradient-Based_ _Training_ _of_ _Deep_ _Architectures_ . Berlin, Germany: Springer, 2012, pp. 437–478, doi: [10.1007/978-3-642-35289-8_26.](http://dx.doi.org/10.1007/978-3-642-35289-8_26) [41] J. Bergstra and Y. Bengio, ‘‘Random search for hyper-parameter optimiza tion,’’ _J. March. Learn. Res._, vol. 13, no. 2, pp. 281–305, Feb. 2012. [42] R. M. Schmidt, F. Schneider, and P. Hennig, ‘‘Descending through a crowded valley—Benchmarking deep learning optimizers,’’ in _Proc. 38th_ _Int._ _Conf._ _Mach._ _Learn._, in Proceedings of Machine Learning Research, vol. 139, M. Meila and T. Zhang, Eds., Jul. 2021, pp. 9367–9376. [Online]. Available: https://proceedings.mlr.press/v139/schmidt21a.html [43] P. Verma, V. Tripathi, and B. Pant, ‘‘Comparison of different optimizers implemented on the deep learning architectures for COVID-19 classification,’’ _Mater. Today_, vol. 46, pp. 11098–11102, Jan. 2021. [44] M. H. Saleem, J. Potgieter, and K. M. Arif, ‘‘Plant disease classification: A comparative evaluation of convolutional neural networks and deep learning optimizers,’’ _Plants_, vol. 9, no. 10, p. 1319, Oct. 2020. [45] S. Y. Sen and N. Özkurt, ‘‘Convolutional neural network hyperparameter tuning with Adam optimizer for ECG classification,’’ in _Proc. Innov. Intell._ _Syst. Appl. Conf. (ASYU)_, Oct. 2020, pp. 1–6. [46] B. Rezaeianjouybari and Y. Shang, ‘‘An empirical study of machine learning and deep learning algorithms on bearing fault diagnosis benchmarks,’’ in _Proc._ _ASME_ _Int._ _Mech._ _Eng._ _Congr._ _Expo._, vol. 85611, 2021, Art. no. V07AT07A050. [47] (2021). _Bearing_ _Data_ _Center_ . [Online]. Available: https://engineering. case.edu/bearingdatacenter/ [48] E. Bechhoefer. (2022). _Condition Based Maintenance Fault Database for_ _Testing_ _of_ _Diagnostic_ _and_ _Prognostics_ _Algorithms_ . [Online]. Available: https://www.mfpt.org/fault-data-sets/ [49] F. Yu and V. Koltun, ‘‘Multi-scale context aggregation by dilated convolu tions,’’ 2015, _arXiv:1511.07122_ . [50] K. He, X. Zhang, S. Ren, and J. Sun, ‘‘Deep residual learning for image recognition,’’ in _Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2016, pp. 770–778. [51] J. Hu, L. Shen, and G. Sun, ‘‘Squeeze-and-excitation networks,’’ in _Proc._ _IEEE/CVF_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._, Jun. 2018, pp. 7132–7141. [52] A. van den Oord, S. Dieleman, H. Zen, K. Simonyan, O. Vinyals, A. Graves, N. Kalchbrenner, A. Senior, and K. Kavukcuoglu, ‘‘WaveNet: A generative model for raw audio,’’ 2016, _arXiv:1609.03499_ . [53] O. Bousquet, S. Gelly, K. Kurach, O. Teytaud, and D. Vincent, ‘‘Critical hyper-parameters: No random, no cry,’’ 2017, _arXiv:1706.03200_ . [54] A. Paszke et al., ‘‘PyTorch: An imperative style, high-performance deep learning library,’’ in _Proc._ _Adv._ _Neural_ _Inf._ _Process._ _Syst._, vol. 32, 2019, pp. 8026–8037. [55] W. Falcon. (2019). _PyTorch_ _Lightning_ . [Online]. Available: https://github.com/Lightning-AI/lightning [56] F. Kamalov, L. Smail, and I. Gurrib, ‘‘Stock price forecast with deep learning,’’ in _Proc._ _Int._ _Conf._ _Decis._ _Aid_ _Sci._ _Appl._ _(DASA)_, Nov. 2020, pp. 1098–1102. [57] P. Nimmani, S. Vodithala, and V. Polepally, ‘‘Neural network based inte grated model for information retrieval,’’ in _Proc._ _5th_ _Int._ _Conf._ _Intell._ _Comput. Control Syst. (ICICCS)_, May 2021, pp. 1286–1289. [58] P. V. Matrenin, V. Z. Manusov, A. I. Khalyasmaa, D. V. Antonenkov, S. A. Eroshenko, and D. N. Butusov, ‘‘Improving accuracy and generalization performance of small-size recurrent neural networks applied to shortterm load forecasting,’’ _Mathematics_, vol. 8, no. 12, p. 2169, Dec. 2020. SEONGJAE LEE received the B.S. degree in mechanical and information engineering from the University of Seoul, South Korea, in 2019, where he is currently pursuing the integrated master’s and Ph.D. degrees with the Department of Mechanical and Information Engineering and Smart Cities. His current research interests include parallel computing, numerical optimization, and deep learning. TAEHYOUN KIM (Member, IEEE) received the B.S., M.S., and Ph.D. degrees in computer engineering from Seoul National University, South Korea, in 1994, 1996, and 2001, respectively. From 2001 to 2005, he was a Research Manager with the SoC Division, GCT Research Inc. Since 2005, he has been a Professor with the Department of Mechanical and Information Engineering, University of Seoul, South Korea. His current research interests include real-time embedded systems, application-specific GPU optimization, and on-device AI systems.

섹션 본문 67문단 · 46,083자

(제목 없음)

1Deep learning has recently resulted in remarkable performance improvements in machine fault diagnosis using only raw input vibration signals without signal preprocessing. However, research on machine fault diagnosis using deep learning has primarily focused on model architectures, even though optimizers and their hyperparameters used for training can have a significant impact on model performance. This paper presents extensive benchmarking results on the tuning of optimizer hyperparameters using various combinations of datasets, convolutional neural network (CNN) models, and optimizers with varying batch sizes. First, we set the hyperparameter search space and then trained the models using hyperparameters sampled from a quasi-random distribution. Subsequently, we refined the search space based on the results of the first step and finally evaluated model performances using noise-free and noisy data. The results showed that the learning rate and momentum factor, which determine training speed, substantially affected the model's accuracy. We also discovered that the impacts of batch size and model training speed on model performance were highly correlated; large batch sizes led to higher performances at higher learning rates or momentum factors. Conversely, model performances tended to be high for small batch sizes at lower learning rates or momentum factors. In addition, regarding the growing attention to on-device artificial intelligence (AI) solutions, we assessed the accuracy and computational efficiency of candidate models. A CNN with training interference (TICNN) was the most efficient model in terms of computational efficiency and robustness against noise among the benchmarked candidate models.INDEX TERMSBearing fault diagnosis, convolutional neural network, deep learning, hyperparameter tuning, noise-robustness, optimization. 55046 This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ VOLUME 11, 2023

I. INTRODUCTION

2In modern industries, rolling element bearings (REBs) are an essential part of rotating machinery operations, and 40-50% of equipment failures are caused by damaged REBs [1]. Because such device defects can lead to economic loss or loss of life, research on condition monitoring of REBs has continuously gained attention. Many machine condition monitoring studies have performed fault detection using data-driven vibration analysis.

3The associate editor coordinating the review of this manuscript and approving it for publication was Mehrdad Saif .

4The traditional data-based fault detection approach comprises four stages [2]: data acquisition, feature extraction, feature selection, and classification. The vibration signal of a rotating machine can be acquired using an accelerometer, and the sampling rate and resolution can vary depending on the performance of the accelerometer. Data characteristics are extracted in the feature extraction step by converting the collected time domain data into frequency or time-frequency domain data. Fast Fourier transform (FFT) is a representative method for converting time domain data into frequency domain data, and short-time Fourier transform (STFT) and wavelet transform (WT) are also commonly used for generating time-frequency domain data from time domain data. In the feature selection step, techniques, such as principal component analysis [3], [4], [5], extract latent features from high-dimensional data. Finally, in the classification stage, machine learning (ML) methods, such as support vector machine (SVM) [4], [6], random forest (RF) [7], [8], and k-nearest neighbor (kNN) [9], [10], are used to classify machine faults. However, the disadvantage of the traditional approach is that the feature extraction and selection steps, depending on the domain expertise, may affect the fault detection performance.

5Recently, deep learning has achieved remarkable performance improvements in various fields, such as image processing, natural language processing, and time series forecasting [11]. In particular, deep learning models achieve higher performance than conventional data-based approaches even when raw inputs are used without feature extraction and selection [12]. Furthermore, in bearing fault diagnosis, many researchers have obtained approximately 100% accuracy without preprocessing using convolutional neural networks (CNN) [13], [14], [15], [16], [17], [18], [19], [20], [21], [22], [23], [24], [25], [26], [27], recurrent neural networks (RNN) [28], [29], [30], and Transformers [31], [32]. Studies have also been conducted to diagnose the failures of multi-domain data measured under different working loads or to develop a model that can classify bearing faults even in a noisy environment. Deep learning-based approaches have also demonstrated remarkable achievements in analyzing non-stationary signals with noise in other areas, such as speech processing [33] and gravitational wave analysis [34].

6Deep learning models are generally trained using a stochastic optimization method [35], and the training speed and final model performance vary significantly depending on the optimizer type and hyperparameter tuning. However, there is no theoretical basis for determining the best optimizer and hyperparameter tuning method, and empirical studies have been conducted only in representative fields of deep learning [36]. In particular, although research on model architectures has been intensively conducted in bearing fault diagnosis, there are fewer studies on the theoretical or empirical verification of the effects of optimizers and hyperparameter tuning on the model performance. Furthermore, in model development studies, the description of the optimization methods and training environments used in them is often unclear.

7Regarding these problems, this paper presents a bearing fault diagnosis benchmarking study of robustness against noisy data using two open-access datasets, seven CNN-based models, and four deep learning optimizers with varying batch sizes. The benchmarking and performance verification processes were as follows. First, we set the hyperparameter search space for each optimizer. We used stochastic gradient descent (SGD), Momentum, RMSProp, and Adam as the optimizers. The hyperparameter set for each optimizer was sampled from a quasi-random log-uniform distribution. Further, we trained a model on each hyperparameter set and refined the hyperparameter search space for each model and optimizer. Finally, after training the models in the refined hyperparameter search space, we evaluated the results using noise-free and noisy data. This paper demonstrates that the hyperparameter of the optimizer, which has been underestimated in deep learning-based bearing fault diagnosis, significantly affects the robustness of the models against noise using a comprehensive benchmark with various models and datasets. We also conducted an extensive performance comparison of various CNN-based models regarding noise-robustness, model parameters, and computational efficiency in a refined search space where each model and dataset achieved high accuracy, considering on-device artificial intelligence (AI). These findings can help researchers efficiently design deep learning-based fault diagnosis models and choose hyperparameters for model training. Furthermore, to promote further exploration, we open our source code, which can be used to benchmark various user-defined models, datasets, and hyperparameters.

8The remainder of this paper is organized as follows. Section II introduces related studies on bearing fault diagnosis, deep learning optimizer evaluation, and benchmarking studies. In Section III, we describe our benchmarking approach and the datasets, models, optimizers, and hyperparameters used in the experiments. Section IV presents the benchmarking results and a review of the results. Finally, we summarize and conclude the paper in Section V.

A. DEEP LEARNING-BASED BEARING FAULT DIAGNOSIS

9Deep learning models have attracted considerable interest in fault diagnosis because they can achieve high performance without prior feature extraction. Among them, the CNN is the most commonly used structure, and 1D and 2D CNNs have been widely studied. The 1D CNN receives raw vibration signal inputs to diagnose device failures. Zhang et al. [13], [14] proposed a model that maximizes the robustness against noise by widening the kernel size of the first convolutional layer. Recently, there have also been active studies on fault diagnosis based on 1D CNNs that employ structures such as residual connections and dilated convolutions, which have been proven to perform well in other application areas, including image processing and audio processing [15], [16], [17], [18], [19], [20]. On the other hand, 2D CNN-based algorithms incorporate various feature extraction techniques, such as signal-to-image mapping [21], [22], [23], STFT [24], [25], cyclic spectral coherence [26], and nonlinear mode decomposition [27].

10RNNs, in conjunction with CNNs, are also widely used in fault diagnosis. For example, input signals are first passed through a CNN, and then a RNN diagnoses failures through the signals. Shenfield and Howarth [28] proposed a hybrid model of long short-term memory (LSTM) and a CNN-based model described in [13]. In addition, Jin et al. [29] proposed an adaptive anti-noise neural network framework using a 1D CNN, a gate recurrent unit, and an attention module. Currently, Transformer-based architectures have also been applied to fault diagnosis. For example, Feng et al. [31] presented a lightweight combination model of a 1D CNN and a Transformer structure, and Ding et al. [32] proposed a Transformer structure that processes time-frequency domain data.

B. DEEP LEARNING OPTIMIZERS AND HYPERPARAMETER TUNING

11Most deep learning models are trained by stochastic optimization, which minimizes the loss from data in mini-batch units of a specific size. The most basic and widely used optimization algorithm for model training is SGD. The Momentum algorithm [37] was devised to improve the slow learning speed of SGD. Currently, the RMSProp [38] and Adam [39] algorithms are widely used because they adaptively change the learning rate during the training process.

12The importance of properly tuning the optimizers and their hyperparameters in deep learning model training has also been emphasized. Grid search is the simplest and most basic hyperparameter tuning method. It is an exhaustive method for selecting the best hyperparameter by evaluating the performance of all the combinations. Although this method is simple and easy to implement and parallelize, its search time increases exponentially even if the hyperparameter dimension increases only slightly. Random search is a widely used hyperparameter tuning method owing to its high efficiency [36], [40], [41], [42]. It randomly samples hyperparameter combinations within a predetermined range.

13Research on the hyperparameter tuning of deep learning optimizers has been conducted in various fields. However, there is no theoretically verified best optimizer or hyperparameter tuning method [42], and benchmarking and empirical studies on specific datasets and models are predominant. Choi et al. [36] presented large-scale optimization hyperparameter tuning results for image classification and language modeling tasks. Schmidt et al. [42] also presented the hyperparameter tuning results for each optimizer in image classification, image generation, and character prediction tasks.

14In addition to large-scale benchmarking studies, studies have been conducted to verify the effectiveness of deep learning optimizers and hyperparameter tuning for a specific target application. For example, Verma et al. [43] verified the performance of Adam and RMSProp optimizers based on a learning rate change in a COVID-19 classification problem using computed tomography images. Saleem et al. [44] compared the performances of six optimizers, including SGD and Adam, for CNN models applied to plant disease classification. Şen et al. [45] presented the results of a grid search for the hyperparameters of the Adam optimizer in electrocardiogram classification. With regard to fault diagnosis, Rezaeianjouybari and Shang [46] verified the effects of SGD and Momentum's cyclic learning rate and cyclic momentum on bearing fault detection.

III. METHODOLOGY

15This paper presents the benchmarking results of the impact of hyperparameter tuning on deep learning optimizers with noisy vibration data. Fig. 1 depicts the entire process of hyperparameter tuning and benchmarking performed in this study. We benchmarked 56 configuration options from combinations of two open datasets, seven CNN models, and four optimizers. The deep-learning model in each configuration was trained for batch sizes of 16, 64, and 128.

16As the first step of our benchmarking study, we specified the search space of the optimizer for each hyperparameter and performed model training 64 times. In this step, hyperparameters were sampled from a quasi-random uniform distribution on a log scale. Second, we refined the search space for each model and optimizer based on the experimental results acquired from the first step and then repeated the model training 16 times. Based on the experimental results from the second step, we evaluated the test accuracies of the noise-free and noisy data for different batch sizes and optimizers.

A. DATASETS

17This benchmarking study used the Case Western Reserve University (CWRU) and Society for Machinery Failure Prevention Technology (MFPT) datasets. Both datasets are widely used in bearing fault diagnosis and provide vibration signals for various bearing faults and motor load environments.

18The CWRU dataset [47] is the most widely used public dataset for bearing fault diagnosis. This dataset contains vibration data measured using an accelerometer with 12 and 48 kHz sampling rates from a 2 HP reliance electric motor. Fig. 2 shows the test rig in which the dataset was collected. Two types of bearings were installed at the test rig: a 6205-2RS JEM SKF bearing at the drive end and a 6203-2RS JEM SKF bearing at the fan end. Data were collected for each bearing's inner raceway, outer raceway, and ball fault situations. In addition, bearing faults were artificially synthesized using the electro-discharge machining method to include data with various crack sizes and motor loads. Our study used the drive end bearing data collected under 0.7457, 1.4914, and 2.2371 kW motor loads at 12 kHz. The MFPT dataset [48] provides vibration data measured for normal bearings and two types of defective bearings: inner and outer raceway faults. The vibration data were collected under nine load conditions at a sampling rate of 97,656 Hz.

19Both bearing datasets consist of a small number of long-duration raw vibration signals measured over a predefined time interval under specific bearing conditions. For example, the inner raceway fault data of the CWRU dataset are composed of nine raw signals, and the length of each signal is approximately 120,000. If these raw signals are used for training directly, the size and computational burden of a model increase, whereas the number of the training data samples is insufficient. Therefore, we regenerated the data using the following three steps: data labeling, splitting, and augmentation.

20First, we labeled the data according to the bearing fault type. Because the CWRU dataset provided fault data for three different crack sizes and three fault types, the data were labeled with nine fault classes and a normal class. Table 1 presents the class classification method for the CWRU dataset. However, the MFPT dataset provided only two types of faults, inner and outer raceways, and did not separate the detailed characteristics of each fault. Therefore, the data were classified into three classes: normal, inner raceway fault, and outer raceway fault. Table 2 shows the class classification method for the MFPT dataset. Subsequently, we split each vibration signal into training, validation, and testing sets with a ratio of 60%:20%:20%, respectively.

21Finally, we generated the data by overlapping and slicing the raw signals, which have often been used to secure sufficient training data, as shown in Fig. 3. We sliced the data with the largest input size of the candidate models, 4,096, and a shift size of 2,048. However, the models evaluated in this study have different input sizes, and adjusting the input sizes of each model requires a modification of the model architecture. Because it may change the performance of the models, we did not modify the original input size of the models. When the input size of the model was smaller than 4,096, only the front part of the data was used to train each model using the same data. For example, a model with an input size of 2,048 was trained using only the first 2,048 elements of data. Tables 1 and 2 also list the number of samples for each dataset used in the benchmarking study.

B. CANDIDATE MODELS

22Seven candidate models were employed in our benchmarking study: four 1D CNNs, two 2D CNNs, and one CNN + RNN model. Table 3 summarizes the candidate models and their concepts. VOLUME 11, 2023 Because vibration signals are one-dimensional, 1D CNNs are the most popular models for bearing fault diagnosis. The main idea of early 1D CNN-based architectures was to widen the first kernel size of the convolutional layer. This technique has been broadly applied in many studies of 1D CNN-based fault detection. We used deep convolutional neural networks with wide first-layer kernels (WDCNN) [13] and TICNN [14] as representatives of the 1D CNN model. WDCNN [13] is an early 1D CNN-based model that enhances domain adaptation and anti-noise ability for bearing fault diagnosis. This model showed that widening the kernel size of the first convolutional layer could suppress the high-frequency noise of vibration signals.

23TICNN [14] is the successor of WDCNN. This model has a similar architecture to the WDCNN but uses kernel dropout for the first convolutional layer. Kernel dropout randomly drops the value of the convolutional filters. The study mentioned that the kernel dropout of the first layer could add noise to the input data. Fig. 4 shows the kernel dropout for a 1D convolutional filter of size three. Dilated convolution and residual connection are also frequently used in fault detection CNN. Dilated convolution was originally proposed for image segmentation [49]. It can increase the receptive field of a convolutional kernel while keeping the parameter constant by creating holes in the convolutional kernel. Fig. 5(a) illustrates a 1D dilated convolution of a 3 × 1 filter. The receptive field size of this filter was five while only using the parameters of the 3 × 1 filter.

24Residual connection adds the input layer values to the output layer values of a neural network by element. This technique can address the accuracy degradation with respect to the depth of the neural network. Fig. 5(b) shows a residual connection applied to a convolutional layer. Beginning with ResNet [50] for image classification, numerous modern CNN architectures have used the residual connection. In this study, we used a one-dimensional dilated convolution network with residual connection (DCN) and a stacked residual dilated convolutional neural network (SRDCNN) as representatives using dilated convolution and residual connection. DCN [15] used dilated convolution and residual connection to enhance the feature learning ability. The essential blocks of DCN are the residual and dilated residual connection blocks. The residual connection block is a combination of a normal convolutional layer and residual connection, and the dilated residual connection block is composed of dilated convolutional layers with a residual connection. In addition, the squeeze-and-excitation block, proposed by SeNet [51], is used for the DCN architecture. The DCN effectively diagnosed the faults of two bearing datasets in multi-domain and noisy environments.

25SRDCNN also used both residual connection and dilated convolution. The building block of the SRDCNN is similar to that of the WaveNet [52] architecture, which is based on the input gate layer of the LSTM and dilated convolution. Fig. 6 shows the building block of SRDCNN.

262D CNN architectures have also been intensively studied. Unlike 1D CNNs, 2D CNNs must convert inputs to 2D data because raw vibration signals are one-dimensional timeseries data. 55050 VOLUME 11, 2023 Authorized licensed use limited to the terms of the applicable license agreement with IEEE. Restrictions apply. Signal-to-image mapping (STIM) is the simplest data conversion algorithm that reshapes a 1D signal to a 2D vibration image. Fig. 7(a) illustrates the STIM algorithm, which converts a 9 × 1 1D signal to a 3 × 3 2D signal. Among the previous studies on 2D fault diagnosis CNNs using STIM [21], [23], we selected the simple 2D CNN by Zhao et al. [21] (STIM-CNN) for the candidate model. The STIM-CNN had two convolutional layers and a fully connected layer that achieved higher accuracy with fewer parameters than LeNet-5.

27Signal processing algorithms, such as STFT and WT, can also be used to generate 2D inputs [24], [25], [27]. These algorithms require additional computational resources to derive the time-frequency domain information. Fig. 7(b) shows a 2D spectrogram generated by the STFT. This study used the model proposed by Zhang et al. [24] (STFT-CNN) as another 2D CNN candidate. The STFT-CNN used a 2D spectrogram from STFT as inputs, and the scaled exponential linear unit was used to avoid dead nodes. Because vibration signals are a time series, RNNs have been actively applied to diagnose bearing faults [28], [29]. As the candidate model for the RNN-based architecture, we selected the RNN-WDCNN [28] as shown in Fig. 8. The model consists of two paths. One path passes the input to the WDCNN [13] directly. In another path, the input passes the convolutional layer and the LSTM layer sequentially. Finally, the two outputs from the paths are concatenated.

C. OPTIMIZATION METHODS

28We used four optimizers: SGD, Momentum [37], RMSProp [38], and Adam [39] in this benchmarking study. They are the most popular optimizers for deep learning model training, which update parameters using a gradient. Before describing the parameter update rule for each optimizer, we define the model parameters, softmax output of the model, loss function, batch size, and i th input as θ, f (·; θ), L(·), n, (x i , y i ), respectively. Algorithms 1-4 describe the update rules of the optimizers.

29SGD is the simplest deep learning optimization method that updates parameters in the direction where the loss function decreases the fastest, that is, in the opposite direction of the gradient. This method requires only one crucial hyperparameter, the learning rate, which determines the step size of the parameter update. However, a fixed learning rate may lead to inefficiencies in the model training. For example, a low learning rate can easily reduce the training speed. However, the models often fail to converge to the optimal loss under a high learning rate.

Algorithm 1 SGD

30Require: learning rate η > 0 1: repeat 2:

31Momentum [37] was proposed to accelerate the training speed of SGD. It introduced the information of past gradients v to update the parameter, as described in Algorithm 2. In this algorithm, the momentum factor γ determines the contributions of the previous gradient. The larger the value of γ , the more the previous gradient affects the training. In general, frequently selected values for the momentum factor are 0.5, 0.9, and 0.99.

32The learning rate is the most significant hyperparameter of optimizers; however, tuning the learning rate for a specific task is difficult. In recent studies, algorithms that adaptively change the learning rates of parameters, such as RMSProp and Adam, have been introduced to address this problem.

33RMSProp uses an exponentially weighted moving average of the gradient to adapt to the learning rate. This method

Algorithm 2 Momentum

34Require: learning rate η > 0, momentum factor 0 ≤ γ < 1 1: v = 0 2: repeat 3:

35modifies Adagrad and performs better in non-convex environments. RMSProp has four hyperparameters: η, α, γ , and ϵ. η is the initial learning rate, and α is the smoothing factor of the exponentially weighted moving average. γ is the momentum factor, which is the same as that in the Momentum algorithm. ϵ is a numerical constant that prevents division error by zero.

36Recently, Adam [39] has been the most popular adaptive learning rate algorithm. It uses the first-and second-order moments of the gradient to change the learning rate adaptively. Adam may be regarded as a combination of RMSProp and Momentum; however, a significant distinction is that the moments of the gradient are rescaled. Adam has four hyperparameters: η, β 1 , β 2 , and ϵ, which indicate the initial learning rate, smoothing factors of the first-and secondorder moments, and numerical constant, respectively. The commonly used default values for the hyperparameters are η = 0.001, (β 1 , β 2 ) = (0.9, 0.999), and ϵ = 10 −8 .

Algorithm 3 RMSProp

37Require: learning rate η > 0, smoothing factor 0 ≤ α < 1, momentum factor 0 ≤ γ < 1, numerical constant ϵ 1: v = 0, m = 0 2: repeat 3:

D. MODEL TRAINING AND HYPERPARAMETER TUNING

38As described in the previous sections, we performed a two-stage benchmarking test for 2×7×4 = 56 different configuration options using two datasets, seven models, and four optimizers. In the first stage, we trained the models 64 times for each optimizer and batch size in the initial search space of hyperparameters. Next, we refined the hyperparameter search space based on these results and trained the models 16 times again for the refined search space in the second stage. Finally, we evaluated the noise-robustness and the impacts of optimizers and batch size on the model performance.

39The initial hyperparameter search space was set based on a study of large-scale optimizer hyperparameter tuning conducted in [36]. Table 4 summarizes the initial search space. Similar to most previous studies on hyperparameter

Algorithm 4 Adam

40Require: learning rate η > 0, smoothing factor 0 ≤ β 1 , β 2 < 1, numerical constant ϵ 1: v = 0, m = 0, t = 0 2: repeat 3: Pseudo-random sampling can generate a biased distribution of hyperparameters. Therefore, we used a quasi-random distribution to sample the hyperparameters [53]. Fig. 9 shows the difference between the pseudo-random and quasi-random sampling for two variables in the range [10 −2 , 10 0 ]. The sampling results showed that the samples from the quasi-random distribution had a lower discrepancy than those from the pseudo-random distribution. We trained each model for 100 epochs for each sampled hyperparameter set and selected the result with the lowest validation loss. Cross-entropy was used as the cost function L given by (1). We let C, y (j) i , and f (x i ; θ) (j) be the number of class, one-hot encoded label for j th class of i th data, and softmax output for j th class of i th data, respectively.

41After model training, we evaluated the models using both the test accuracy of the noise-free and noisy data. The test accuracy of the noise-free data represents the general performance of the model. By contrast, we used data with additive white Gaussian noise, which is the most frequently employed method for evaluating the noise-robustness of models, to investigate the model performance in a harsh industrial environment often exposed to noise interference.

42Additive white Gaussian noise was generated as follows. First, we calculated the signal power using (2), where N and x i denote the length and i th element of the signal, respectively. The power of the noise was then derived from (3) with a specific signal-to-noise ratio (SNR), denoted as SNR dB . Finally, Gaussian noise from the normal distribution N (0, √ P noise ) was added to the original signal. To evaluate the robustness of the models against noisy data, we used the average accuracy using the noisy data with SNR [−4, −2, 0, 2, 4] dB .

43SNR dB = 10 log 10 P signal P noise (3)

IV. EXPERIMENTAL RESULTS AND DISCUSSION

44This section presents the benchmarking results of a two-stage hyperparameter tuning for bearing fault diagnosis using various deep learning models and discusses the impact of the tuning results in both noise-free and noisy environments on model performance. To this end, we first tuned the hyperparameters in the initial search space, as presented in Table 4. Subsequently, we refined the search space and trained the models again based on the refined search space. Table 5 summarizes the experimental setup. We used PyTorch [54] and PyTorch Lightning [55] to implement and train the models on two NVIDIA GeForce RTX2080 SUPER GPUs in parallel. For reproducibility, we also fixed a random seed in all the experiments. Our source code used for the experiment is available at: https://github.com/junior209lsj/ FaultDiagnosisOptimizerBenchmark.

A. CASE 1: CWRU DATASET

45In the training results of the first stage in the CWRU dataset, we observed that the smoothing factors and the numerical constant ϵ of the adaptive learning rate methods, that is, RMSProp and Adam, had only minor effects on the model performance. Therefore, we focused on the impacts of the learning rate and momentum factor.

46Figs. [10][11][12][13][14][15] show the relationship between the hyperparameter and model performance on the CWRU dataset with the optimizers and varying batch sizes through scatter plots and trend lines. In the figures, each point represents the pair of test accuracy and hyperparameter for a training result. Trend lines for each batch size were also plotted using locally weighted scatterplot smoothing to illustrate how the accuracy of the model changed with different hyperparameter values. The results showed that the model performances in both noise-free and noisy environments were significantly affected by the learning rate η for all optimizers and the momentum factor γ for Momentum and RMSProp, which were the dominant hyperparameters for determining the training speed of the models. For example, when η was high, the step size of the parameter update increased. High momentum factor γ also accelerated the model training.

47As shown in Fig. 10, in SGD, the learning rate significantly affected the performance of all models, except for RNN-WDCNN. For instance, in WDCNN and TICNN, when the learning rate was lower than 10 −3 , the performance decreased in noise-free and noisy environments. DCN and SRDCNN showed patterns similar to those of WDCNN and TICNN in a noise-free environment. However, when the learning rate was higher than 10 −1 , the performance of SRDCNN rapidly decreased in both environments, and the performance of DCN also decreased slightly in the noisy environment.

48The results for the 2D CNN models, STIM-CNN and STFT-CNN, showed slightly different patterns compared with the 1D CNN models. The models had clear ranges of learning rates, producing the best model performance. In a noise-free environment, STIM-CNN and STFT-CNN achieved the maximum performance at a learning rate of around 10 −2 . As for the noisy environment, the performance of STFT-CNN was the best at a learning rate of around 10 −1 ; however, the best learning rate for STIM-CNN varied according to the batch size. Among all candidate models, RNN-WDCNN was the least affected by the learning rate. In a noise-free environment, the accuracy of RNN-WDCNN was approximately 100%, and the higher the learning rate, the higher the accuracy in a noisy environment. Figs. 11 and 12 show the effects of the learning rate and momentum factor, respectively, on the model performance using the Momentum optimizer. We observed that as the learning rate increased, the model performance declined more rapidly than SGD in noise-free and noisy environments when using the Momentum optimizer. For example, the performances of all candidate models in both environments decreased at learning rates higher than 10 −2 . Moreover, with a higher momentum factor, that is, approximately 1, models trained in a small batch size generally exhibited poor test accuracy. This was because the Momentum optimizer trained models faster than SGD by employing previous gradients.

49In most cases, when the learning rate was high, a small batch size led to poor model performances. Conversely, at lower learning rates, the model performance increased when the batch size was small. However, in 2D CNN models, the correlations between the learning rate and batch size on the model performance were unclear because their overall performances were low in a noisy environment.

50Based on the results illustrated in Fig. 13, we can observe that the model performance degradation followed by increasing the learning rate was the most outstanding in the RMS-Prop optimizer. Similar to the Momentum optimizer, a high learning rate or momentum factor reduced the model performance in both environments, as shown in Figs. 13 and 14. Furthermore, the performance reduction followed by the learning rate increment when using the RMSProp optimizer was higher than that of using the Momentum optimizer.

51However, unlike the Momentum case, RNN-WDCNN exhibited consistent performance in all hyperparameter ranges. RNN-WDCNN maintained approximately 100% accuracy when using the noise-free data and exhibited approximately 70-75% average accuracy when using the noisy data in all hyperparameter ranges. Although some studies have shown the effectiveness of the RMSProp optimizer for training small RNN-based models [56], [57], [58], research on the effect of RMSProp learning rate is still limited. In our experiments, we found that the performance of RNN-WDCNN was less sensitive to learning rate variation. Fig. 15 illustrates the performances of the models under various learning rates using the Adam optimizer. In the Adam case, the performances of DCN, SRDCNN, STIM-CNN, and STFT-CNN declined when the learning rate approached 10 −1 . In addition, the performance was worse for a small batch size when the learning rate was approximately 10 −1 . However, among the optimizers, the Adam optimizer was the least sensitive to variations in hyperparameters because WDCNN, TICNN, and RNN-WDCNN maintained their performances regardless of the changes in the learning rate, in most cases.

52The hyperparameter tuning results in the first stage show that the hyperparameters had significant impacts on the model performance. In particular, the learning rate and momentum factor, which determine the model training speed, significantly affected the model accuracy in noise-free and noisy environments. In general, the model performance decreased when the model training speed was high for small batch sizes or when the model training speed was low for large batch sizes. Based on this result, we refined the hyperparameter search spaces, including those which did not result in model performance reduction. Because the hyperparameters α and ϵ of RMSProp and β 1 , β 2 , and ϵ of Adam had trivial effects on the model performance, we set them to the default values. In most cases, the model performance decreased rapidly when the momentum factor exceeded 0.9. Therefore, we used 10 −1 ≤ 1 − γ ≤ 10 0 for the new search space. Table 6 summarizes the refined search space for the hyperparameters.

53We trained each model 16 times using the refined search space in the second stage and compared the model performance for different optimizers and batch sizes. Because the average test accuracies of all the models in a noise-free environment were higher than 95%, only the results for the noisy environment were further analyzed. Fig. 16 shows the model training results in the refined search space for the noisy data. The value in the bar chart is the average test accuracy of the 16 results in the noisy data, and the error bar shows the 95% confidence interval. The results indicated that no optimizer achieved the best performance across all the models. However, it can be observed that the batch size and noise-robustness correlate, except for STIM-CNN. A small batch size led to high model performance; however, the relationship between batch size and model performance was not clear in STIM-CNN. 2D CNNs were less stable and had lower accuracies than 1D CNNs in noisy environments. In particular, among all candidate models, TICNN achieved the highest and most stable performance.

B. CASE 2: MFPT DATASET

54We conducted the same experiment as described in Section IV-A using the MFPT dataset. The results also show that smoothing factors, namely, α, β 1 , β 2 , and the numerical constant ϵ had trivial impacts on model performance. Thus, similar to the first stage experiment using the CWRU dataset, we investigated the effects of the learning rate and momentum factor on the model performance in detail.

55Figs. 17-22 show the hyperparameter tuning results for the first stage. In the initial search space, the parameters η for all optimizers and γ for Momentum and RMSProp optimizers significantly affected the model performance. This result shows that the learning rate and momentum factor were critical hyperparameters in both datasets. Fig. 17 shows the relationship between the learning rate and the model performance using SGD. Similar to the CWRU case in Fig. 10, each model had a specific learning rate range to produce high model performance. The performances of WDCNN and DCN rapidly decreased at learning rates lower than 10 −3 . The performance of TICNN decreased when the learning rates were lower than 10 −2 . By contrast, 2D CNNs maintained their performance at learning rates between 10 −3 and 10 −1 when using noise-free data. For all models, at high learning rates, training with large batch sizes resulted in a higher accuracy than training with small batch sizes. By contrast, a small batch size led to a higher model performance at a low learning rate.

56In both datasets, RNN-WDCNN exhibited the highest performance in the entire learning rate range in a noise-free environment and a learning rate of approximately 1 in a noisy environment. However, the performance of TICNN was more sensitive to the learning rate when using the MFPT dataset than when using the CWRU dataset. TICNN achieved the highest test accuracy when the learning rate was higher than 10 −2 in noise-free and noisy environments using the CWRU dataset. However, for the MFPT dataset, the highest test accuracy was achieved when the learning rate was approximately 1 in a noise-free environment. The other models had similar tendencies for both datasets.

57The hyperparameter tuning results showed similar patterns in the two datasets using the Momentum optimizer. As shown in Fig. 18, the test accuracies of all the models decreased rapidly when the learning rates were higher than 10 −2 . At high learning rates, training results with small batch sizes generally had lower accuracies than those with large batch sizes. In particular, the 2D CNN models, STIM-CNN and STFT-CNN, exhibited a noticeable performance reduction at high learning rates compared to the other models. In addition, when the momentum factor was approximately 1, the performances of the models decreased in most cases, as shown in Fig. 19. However, the performance reduction owing to the increasing momentum factor was smaller than that in the learning rate case.

58Similar to Momentum, the performances of the models decreased when the learning rate increased in RMSProp, as shown in Fig. 20. However, the degree of performance reduction caused by the increase in learning rate was smaller for the MFPT dataset than for the CWRU dataset. In addition, whereas the performances of WDCNN, TICNN, and DCN exhibited little variation based on the learning rate in a noisy environment, the performances of SRDCNN, STIM-CNN, and STFT-CNN were more sensitive to the learning rate. Similar to the experiment using the CWRU dataset, the performance of RNN-WDCNN was stable at all learning rates in both noise-free and noisy environments. Fig. 21 shows the impact of the momentum factor on the model performance. When the momentum factor was approximately 1, the model performance decreased; however, the effect of the momentum factor was smaller than that of the learning rate. Fig. 22 shows the relationship between the learning rate of the Adam optimizer and model performance on the MFPT dataset. The results showed that, among the four optimizers, the learning rate of Adam had the least impact on the model performance. However, for SRDCNN, STIM-CNN, and STFT-CNN, when the learning rates were higher than 10 −2 , the performance decreased regardless of the existence of noise. In addition, the model performance of TICNN decreased when the learning rate was less than 10 −3 . Similar to the other optimizers, at higher learning rates, VOLUME 11, 2023 the models achieved a higher performance with larger batch sizes. By contrast, with smaller batch sizes, lower learning rates resulted in higher performances.

59In the experimental results performed on the initial hyperparameter search space using the MFPT dataset, the overall relationship between the hyperparameters and model performance was similar for the two datasets. Furthermore, the model performance varied significantly depending on the hyperparameters. Therefore, based on the experimental results of the initial search space, we refined the hyperparameter search space using the same method used for the CWRU dataset. Table 7 summarizes the refined search space for the MFPT dataset.

60For the refined search space, all models achieved a test accuracy higher than 95% in a noise-free environment; therefore, we analyzed in detail the performances of the models only for a noisy environment. Fig. 23 shows the results of the training repeated 16 times for each model using the MFPT dataset in the refined search space. Although decreasing the batch size was effective for noise-robustness using the CWRU dataset, only the 2D CNN models were more robust against noise when the batch size was small in the MFPT dataset. Except for TICNN, all models achieved higher test accuracies using the noisy data of the MFPT dataset than the CWRU dataset. TICNN was the most robust model against noise using the CWRU dataset but exhibited similar performance to WDCNN using the MFPT dataset. The performances of the 2D CNNs were also improved, which was similar to that of 1D CNNs.

C. MODEL PERFORMANCE COMPARISON

61After two-stage training using the two datasets, we summarized the training results and evaluated the model performance, as shown in Table 8. The performance of the models was evaluated using the average test accuracies and their 95% confidence interval in both noise-free and noisy environments. The number of training results for each model was 4 × 3 × 16 = 192, representing all cases for the four optimizers and three batch sizes.

62Moreover, on-device AI systems have gained attention in machine fault diagnosis for reducing the inference time and data traffic between edge devices on a factory floor and a server. Because on-device AI systems have limited hardware resources, we used the number of parameters and the million floating point operations per second (MFLOPs) as the evaluation metrics of the candidate models.

63Overall, the 1D CNN models outperformed the 2D CNNs in noise-free and noisy environments, particularly for the CWRU dataset with noise. Furthermore, the number of parameters of the 1D CNN models was smaller than that of the 2D CNN models, indicating that 1D CNN models require smaller memory storage than 2D CNN models. In a noisy environment, the performances of the models, except for TICNN, were notably higher for the MFPT dataset than for the CWRU dataset. TICNN was the only model with a worse performance for the MFPT dataset than for the CWRU dataset. The performance of RNN-WDCNN was higher than that of the 2D CNN models for the CWRU dataset but lower than that of the 2D CNN models for the MFPT dataset.

64In our experiment, TICNN was the most robust against noise among the 1D CNN models. However, the test accuracy of TICNN on the MFPT dataset and noise-free environment was 97.13±0.84%, which was slightly lower than the accuracies of the other models. We speculated that this was because the kernel dropout rate used by TICNN was optimized only for the CWRU dataset; therefore, the performance of TICNN for the MFPT dataset in a noise-free environment was relatively low. WDCNN had a similar performance to TICNN for the MFPT dataset, but its performance declined considerably for the CWRU dataset with noise. DCN and SRDCNN exhibited comparable performances for both datasets. The accuracy of DCN was slightly higher than that of SRDCNN using the CWRU dataset with noise; however, using the MFPT dataset, SRDCNN was more robust against noise than DCN. Using both datasets with noise, these two models had lower performances than WDCNN and TICNN, which had more computations and parameters. For example, SRDCNN required 254.90 MFLOPs; thus, it performed at least 28-172 times more operations than the other 1D CNN models.

V. CONCLUSION

65This study aimed to evaluate the impact of hyperparameter tuning on deep learning optimizers in bearing fault diagnosis. To this end, we selected two open-access datasets, four optimizers, and seven candidate models and performed hyperparameter tuning in two stages with varying batch sizes. Our experimental results showed the impact of hyperparameters and batch sizes on model performance.

66In our benchmarking study, the learning rate and momentum factor were the key hyperparameters significantly affecting the model performance. In addition, we observed that large batch sizes led to high model performances at high learning rates or momentum factors. By contrast, the model performances were high for small batch sizes at low learning rates or momentum factors. We also evaluated the performance and computational efficiency of each model. The evaluation results showed that TICNN was the best on-device AI solution candidate in terms of computational efficiency and noise-robustness.

67As a future work, we will consider the impact of optimizer weight decay or learning rate schedule. We also plan to develop a lightweight CNN model with a high noise robustness for on-device fault diagnosis.

참고문헌 53건

  1. Adam: A Method for Stochastic Optimization 2014
  2. Practical Recommendations for Gradient-Based Training of Deep Architectures Lecture notes in computer science · Springer Science+Business Media · 2012 10.1007/978-3-642-35289-8_26
  3. A novel bearing fault diagnosis model integrated permutation entropy, ensemble empirical mode decomposition and optimized SVM Measurement · Elsevier BV · 2015 10.1016/j.measurement.2015.03.017
  4. Some methods of speeding up the convergence of iteration methods USSR Computational Mathematics and Mathematical Physics · Pergamon Press · 1964 10.1016/0041-5553(64)90137-5
  5. Random search for hyper-parameter optimization 2012
  6. Bearing Fault Diagnosis Based on PCA and SVM International Conference on Mechatronics and Automation · 2007 10.1109/icma.2007.4304127
  7. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  8. Deep neural networks: A promising tool for fault characteristic mining and intelligent diagnosis of rotating machinery with massive data Mechanical Systems and Signal Processing · Elsevier BV · 2015 10.1016/j.ymssp.2015.10.025
  9. A Feature Extraction Method for Fault Classification of Rolling Bearing based on PCA Journal of Physics Conference Series · IOP Publishing · 2015 10.1088/1742-6596/628/1/012079
  10. Condition Monitoring and Fault Diagnosis of Electrical Motors—A Review IEEE Transactions on Energy Conversion · Institute of Electrical and Electronics Engineers · 2005 10.1109/tec.2005.847955
  11. WaveNet: A Generative Model for Raw Audio arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1609.03499
  12. A New Deep Learning Model for Fault Diagnosis with Good Anti-Noise and Domain Adaptation Ability on Raw Vibration Signals Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17020425
  13. Critical Hyper-Parameters: No Random, No Cry arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1706.03200
  14. Fault Diagnosis of a Rolling Bearing Using Wavelet Packet Denoising and Random Forests IEEE Sensors Journal · IEEE Sensors Council · 2017 10.1109/jsen.2017.2726011
  15. The Fault Diagnosis of Rolling Bearing Based on Ensemble Empirical Mode Decomposition and Random Forest Shock and Vibration · Hindawi Publishing Corporation · 2017 10.1155/2017/2623081
  16. Squeeze-and-Excitation Networks 2018 10.1109/cvpr.2018.00745
  17. An Improving Fuzzy C-means Algorithm for Concept-Drifting Data Stream Lecture notes in electrical engineering · Springer Science+Business Media · 2017 10.1007/978-981-10-3229-5_47
  18. A convolutional neural network based on a capsule network with strong generalization for bearing fault diagnosis Neurocomputing · Elsevier BV · 2018 10.1016/j.neucom.2018.09.050
  19. A survey on Deep Learning based bearing fault diagnosis Neurocomputing · Elsevier BV · 2018 10.1016/j.neucom.2018.06.078
  20. Bearing Fault Diagnosis Using Weighted K-Nearest Neighbor 2018 2nd International Conference on Trends in Electronics and Informatics (ICOEI) · 2018 10.1109/icoei.2018.8553800
  21. Deep learning Nature · Nature Portfolio · 2015 10.1038/nature14539
  22. A Deep Learning Method for Bearing Fault Diagnosis through Stacked Residual Dilated Convolutions Applied Sciences · Multidisciplinary Digital Publishing Institute · 2019 10.3390/app9091823
  23. Multi-Scale Context Aggregation by Dilated Convolutions arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1511.07122
  24. A deep capsule neural network with stochastic delta rule for bearing fault diagnosis on raw vibration signals Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.106857
  25. Deep Residual Shrinkage Networks for Fault Diagnosis IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2943898
  26. On Empirical Comparisons of Optimizers for Deep Learning arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1910.05446
  27. Intelligent bearing fault diagnosis using PCA–DBN framework Neural Computing and Applications · Springer Science+Business Media · 2019 10.1007/s00521-019-04612-z
  28. Multibranch and Multiscale CNN for Fault Diagnosis of Wheelset Bearings Under Strong Noise and Variable Load Condition IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tii.2020.2967557
  29. A deep learning method for bearing fault diagnosis based on Cyclic Spectral Coherence and Convolutional Neural Networks Mechanical Systems and Signal Processing · Elsevier BV · 2020 10.1016/j.ymssp.2020.106683
  30. An enhanced convolutional neural network for bearing fault diagnosis based on time–frequency image Measurement · Elsevier BV · 2020 10.1016/j.measurement.2020.107667
  31. A lightweight neural network with strong robustness for bearing fault diagnosis Measurement · Elsevier BV · 2020 10.1016/j.measurement.2020.107756
  32. An Adaptive Anti-Noise Neural Network for Bearing Fault Diagnosis Under Noise and Varying Load Conditions IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2989371
  33. Optimization for Deep Learning: An Overview Journal of the Operations Research Society of China · Springer Science+Business Media · 2020 10.1007/s40305-020-00309-6
  34. A Novel Deep Learning Model for the Detection and Identification of Rolling Element-Bearing Faults Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20185112
  35. Multi-channel spectrograms for speech processing applications using deep learning methods Pattern Analysis and Applications · Springer Science+Business Media · 2020 10.1007/s10044-020-00921-5
  36. Plant Disease Classification: A Comparative Evaluation of Convolutional Neural Networks and Deep Learning Optimizers Plants · Multidisciplinary Digital Publishing Institute · 2020 10.3390/plants9101319
  37. Improving Accuracy and Generalization Performance of Small-Size Recurrent Neural Networks Applied to Short-Term Load Forecasting Mathematics · Multidisciplinary Digital Publishing Institute · 2020 10.3390/math8122169
  38. Convolutional Neural Network Hyperparameter Tuning with Adam Optimizer for ECG Classification 2022 Innovations in Intelligent Systems and Applications Conference (ASYU) · 2020 10.1109/asyu50717.2020.9259896
  39. Stock price forecast with deep learning 2021 International Conference on Decision Aid Sciences and Application (DASA) · 2020 10.1109/dasa51403.2020.9317260
  40. A new bearing fault diagnosis method based on signal-to-image mapping and convolutional neural network Measurement · Elsevier BV · 2021 10.1016/j.measurement.2021.109088
  41. FaultNet: A Deep Convolutional Neural Network for Bearing Fault Classification IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3056944
  42. Rolling Bearing Fault Diagnosis Based on One-Dimensional Dilated Convolution Network With Residual Connection IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3059761
  43. Comparison of different optimizers implemented on the deep learning architectures for COVID-19 classification Materials Today Proceedings · Elsevier BV · 2021 10.1016/j.matpr.2021.02.244
  44. Neural Network Based Integrated Model for Information Retrieval 2022 6th International Conference on Intelligent Computing and Control Systems (ICICCS) · 2021 10.1109/iciccs51141.2021.9432241
  45. Fault Diagnosis of Rolling Bearing Based on Improved VMD and KNN Mathematical Problems in Engineering · Hindawi Publishing Corporation · 2021 10.1155/2021/2530315
  46. A novel time–frequency Transformer based on self–attention mechanism and its application in fault diagnosis of rolling bearings Mechanical Systems and Signal Processing · Elsevier BV · 2021 10.1016/j.ymssp.2021.108616
  47. Diagnosis of Unbalance in Lightweight Rotating Machines Using a Recurrent Neural Network Suitable for an Edge-Computing Framework Journal of Control Automation and Electrical Systems · Springer Science+Business Media · 2022 10.1007/s40313-021-00893-9
  48. CLFormer: A Lightweight Transformer Based on Convolutional Embedding and Linear Self-Attention With Strong Robustness for Bearing Fault Diagnosis Under Limited Sample Conditions IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2021 10.1109/tim.2021.3132327
  49. Detection of Non-Stationary GW Signals in High Noise From Cohen’s Class of Time–Frequency Representations Using Deep Learning IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3139850
  50. An Empirical Study of Machine Learning and Deep Learning Algorithms on Bearing Fault Diagnosis Benchmarks 2021 10.1115/imece2021-69994
  51. A Robust Deep Neural Network for Rolling Element Fault Diagnosis under Various Operating and Noisy Conditions Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22134705
  52. Novel Joint Transfer Network for Unsupervised Bearing Fault Diagnosis From Simulation Domain to Experimental Domain IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2022 10.1109/tmech.2022.3177174
  53. PyTorch: An Imperative Style, High-Performance Deep Learning Library arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1912.01703