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

Lightweight bearing fault diagnosis via decoupled distillation and low rank adaptation

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Ovanes Petrosian — St.Petersburg State University, 7-9 Universitetskaya Embankment, 199034, St Petersburg, Russia
  2. Pengyi Li — St.Petersburg State University, 7-9 Universitetskaya Embankment, 199034, St Petersburg, Russia. st112719@student.spbu.ru|||St.Petersburg State University, 7-9 Universitetskaya Embankment, 199034, St Petersburg, Russia
  3. Yulong He — St.Petersburg State University, 7-9 Universitetskaya Embankment, 199034, St Petersburg, Russia
  4. Jiarui Liu — St.Petersburg State University, 7-9 Universitetskaya Embankment, 199034, St Petersburg, Russia
  5. Z. Sun — St.Petersburg State University, 7-9 Universitetskaya Embankment, 199034, St Petersburg, Russia
  6. Guofeng Fu — St.Petersburg State University, 7-9 Universitetskaya Embankment, 199034, St Petersburg, Russia
  7. Liping Meng — St.Petersburg State University, 7-9 Universitetskaya Embankment, 199034, St Petersburg, Russia
DOI
10.1038/s41598-025-06734-y
저널
Scientific Reports
발행년도
2025
발행기관
Nature Portfolio
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-025-06734-y
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4415270472

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Rolling bearing fault detection has developed rapidly in the field of fault diagnosis technology, and it occupies a very important position in this field. Deep learning-based bearing fault diagnosis models have achieved significant success. At the same time, with the continuous improvement of new signal processing technologies such as Fourier transform, wavelet transform and empirical mode decomposition, the fault diagnosis technology of rolling bearings has also been greatly developed, and it can be said that it has entered a new research stage. However, most of the existing methods are limited to varying degrees in the industrial field. The main ones are fast feature extraction and computational complexity. The key to this paper is to propose a lightweight bearing fault diagnosis model DKDL-Net to solve these challenges. The model is trained on the CWRU data set by decoupling knowledge distillation and low rank adaptive fine tuning. Specifically, we built and trained a teacher model based on a 6-layer neural network with 69,626 trainable parameters, and on this basis, using decoupling knowledge distillation (DKD) and Low-Rank adaptive (LoRA) fine-tuning, we trained the student sag model DKDL-Net, which has only 6838 parameters. Experiments show that DKDL-Net achieves 99.48% accuracy in computational complexity on the test set while maintaining model performance, which is 0.58% higher than the state-of-the-art (SOTA) model, and our model has lower parameters.

본문 53,729자

본문 펼치기
## OPEN # Lightweight bearing fault diagnosis via decoupled distillation and low rank adaptation Ovanes Petrosian 1,2, Pengyi Li 1,2  , Yulong He 1, Jiarui Liu 1, Zhaoruikun Sun 1, Guofeng Fu 1 & Liping Meng 1 Rolling bearing fault detection has developed rapidly in the field of fault diagnosis technology, and it occupies a very important position in this field. Deep learning-based bearing fault diagnosis models have achieved significant success. At the same time, with the continuous improvement of new signal processing technologies such as Fourier transform, wavelet transform and empirical mode decomposition, the fault diagnosis technology of rolling bearings has also been greatly developed, and it can be said that it has entered a new research stage. However, most of the existing methods are limited to varying degrees in the industrial field. The main ones are fast feature extraction and computational complexity. The key to this paper is to propose a lightweight bearing fault diagnosis model DKDL-Net to solve these challenges. The model is trained on the CWRU data set by decoupling knowledge distillation and low rank adaptive fine tuning. Specifically, we built and trained a teacher model based on a 6-layer neural network with 69,626 trainable parameters, and on this basis, using decoupling knowledge distillation (DKD) and Low-Rank adaptive (LoRA) fine-tuning, we trained the student sag model DKDL-Net, which has only 6838 parameters. Experiments show that DKDL-Net achieves 99.48% accuracy in computational complexity on the test set while maintaining model performance, which is 0.58% higher than the state-of-the-art (SOTA) model, and our model has lower parameters. Keywords Bearing fault diagnosis, Convolutional neural network, Model compression, Low-Rank Adaptation Rolling bearings are common components in rotating machinery, designed to reduce friction during rotation and thereby enhance the safety of the equipment. Studies in the industrial sector indicate that approximately 40%-70% of mechanical failures are caused by bearing faults <sup>1–4</sup> . However, traditional bearing fault detection methods are time-consuming. In the current era of artificial intelligence, it is crucial to use deep learning techniques for fault detection tasks. Training an efficient and accurate bearing fault detection model can not only improve detection efficiency but also significantly reduce economic losses <sup>5</sup> . Bearing fault diagnosis is typically based on acoustic signals and bearing vibration signals <sup>6</sup> . Bearing faults cause abnormal vibrations and sounds, making it possible to detect faults by diagnosing these anomalies. In practical detection tasks, sensors are usually installed on machine tools to capture the bearing’s sound signals. There are various approaches to vibration fault detection based on sound signals and bearings, including methods using deep belief networks (DBN) <sup>7–9</sup>, support vector machine(SVM) <sup>10</sup>, convolutional neural network (CNN) <sup>11–14</sup>, deep autoencoders (DAE) <sup>15–17</sup>, generative adversarial networks (GAN) <sup>18–20</sup>, and deep transfer learning (DTL) <sup>21–24</sup> . What’s common among these models is that they differ only in the way neural networks are constructed and training strategies, while the data type remains the same. Additionally, they all require a large amount of data. Over the past 5 years, bearing fault detection tasks have commonly used models such as Convolutional Neural Networks (CNN) <sup>11–13</sup>, Recurrent Neural Networks (RNN) <sup>25–27</sup>, and Long Short-Term Memory Networks (LSTM) <sup>28–31</sup> . Experiments have shown that lightweight models fail to achieve the desired results, with the number of model parameters affecting the final outcome. For instance, LEFE-Net <sup>32</sup>, WDCNN <sup>33</sup>, and MCNN-LSTM <sup>31</sup> models can achieve an accuracy of over 98.50% on the CWRU <sup>34,35</sup> dataset, but their trainable parameters exceed 50,000. In contrast, the CLFormer <sup>36</sup> model has 4,980 parameters but an accuracy of less than 95%. 1St.Petersburg State University, 7-9 Universitetskaya Embankment, 199034 St Petersburg, Russia. 2Ovanes Petrosian and Li Pengyi: These authors contributed equally to this work. <sup></sup> email: st112719@student.spbu.ru Heavyweight models are usually able to achieve higher accuracy due to having more parameters, benefiting from their stronger fitting ability. However, this also comes with a higher inference overhead. In contrast, lightweight models, although slightly lacking in accuracy, significantly reduce inference costs and are suitable for resource-constrained application scenarios. The key to whether a model can be applied in industry lies in its lightweight nature, high accuracy, and robustness. Models based on acoustic signals typically transform time-domain signals into frequency-domain signals using techniques such as Short-Time Fourier Transform (STFT) <sup>37</sup>, Empirical Mode Decomposition (EMD) <sup>38,39</sup>, and envelope spectrum analysis. Neural network models are then built to extract features, and finally, classification is performed through fully connected layers to achieve bearing fault diagnosis. Based on this process, we have constructed a lightweight bearing fault detection model. In this paper, first, we trained a Teacher model with a large number of parameters, and then trained a lightweight Student model using DKD <sup>40</sup> . This Student model has only one convolutional layer, one pooling layer, and one fully connected layer. The Student model, guided by the Teacher model during training, has a significantly lower number of parameters. However, we found that the accuracy of the Student model was 2% lower than that of the Teacher model. To address this, we introduced a Low-Rank Adaptation (LoRA) <sup>41</sup> to finetune the Student model, which improved accuracy by 1.5% with a relatively short training time. Compared to traditional knowledge distillation and fine-tuning methods, the combination of DKD and LoRA fine-tuning ensures model performance while significantly reducing the number of training parameters. We propose a model for industrial application in rolling bearing fault detection and contributions are fourfold: - We developed a lightweight rolling bearing fault detection model based on DKD, characterized by a single-layer neural network, It is compressed by 90.20% compared to the teacher model (6-layer neural network). - We improved the model’s performance after knowledge distillation by using a LoRA fine-tuning method, addressing the performance degradation issue. - Compared to other lightweight models, our approach demonstrates superior performance on the CWRU dataset, with average accuracy, precision, recall, and F1-Score all higher than those of other models. Our F1Score reached 99.50%, and the trainable parameters of our model are only 6,838. - Compared to the SOTA model our model improved the F1-Score by 0.58%. Related work Bearing fault detection. The fault detection of rolling bearings typically involves checking whether the three components of the bearing (outer race, inner race, rolling elements) are faulty. The structure of the bearing is visualized as shown in Fig. 1. There are 10 categories of bearing sounds <sup>42</sup>, where one category represents health components, three categories represent damaged rolling elements, three categories represent damaged inner races (IR), and three categories represent damaged outer races (OR). Once abnormal vibrations occur in the bearing, it indicates a fault. Convolutional neural network. There has been extensive work on bearing fault detection models based on convolutional neural networks. The Adaptive Deep Convolutional Neural Network (ADCNN) <sup>43</sup> utilizes the distribution of key information in discrete frequency bands to diagnose the health status of rotating components. The 2D LeNet-5 <sup>44</sup> is an improved bearing fault detection model based on LeNet, which performs one-dimensional convolution and pooling operations directly on the raw vibration signals without any Fig. 1 . Structure of rolling bearings. preprocessing. The lightweight multi-scale CNN <sup>45</sup> introduces depthwise separable convolution in a multi-scale CNN to reduce the model’s storage and computational costs. The hybrid deep neural network model integrated with Principal Component Analysis (PCA) <sup>46</sup> based model combines RNN and CNN, using bidirectional long short-term memory (BiLSTM) to enhance the extraction of time-series data features, and finally employs an Attention mechanism to improve the model’s accuracy. KDSCNN <sup>47</sup> is a CNN model based on KD and model parameters are only 5890. BearingPGA-Net <sup>48</sup> is a lightweight model trained with DKD and applied on an FPGA module. MCNN-LSTM <sup>31</sup> is a model based on CNN and LSTM, which first uses CNN to extract features and then processes classification according to the time series information from LSTM. FaultNet <sup>49</sup> and WDCNN <sup>33</sup> are CNN models based on convolutional kernels of different scales. While these models have achieved commendable performance, none of them offers a low-parameter model that combines high efficiency and accuracy. Model compression. Neural network compression involves various techniques, including model pruning, parameter quantization, low-rank decomposition, knowledge distillation (KD), and lightweight model design <sup>50</sup> . Model pruning <sup>51</sup> can reduce the accuracy and lead to irregular structures. Parameter quantization <sup>51</sup> requires extensive training and fine-tuning. Low-rank decomposition <sup>52</sup> involves decomposing and training layer-bylayer parameters, which can be challenging for highly complex models. KD <sup>53</sup> is a method where a teacher model guides the training of a student model. The teacher model is typically complex, while the student model can have a simple structure, such as a single-layer network. This method achieves significant compression with minimal accuracy loss. Lightweight model design is challenging to combine with other compression methods <sup>54</sup> . If improperly combined, it can lead to lower performance and poor generalization. All in all, KD, on the other hand, can significantly reduce model parameters while maintaining high accuracy. In fact, the algorithm mentioned in this article shows an accuracy drop of less than 2%. DKD <sup>40</sup> is an algorithm that addresses the inefficiency problem of traditional knowledge distillation. It enhances the knowledge distillation process by decomposing and separately optimizing different components of the knowledge transfer from the teacher model to the student model. DKD divides traditional knowledge distillation into two independent parts: Target Class Knowledge Distillation (TCKD) and Non-Target Class Knowledge Distillation (NCKD), and defines separate loss functions to optimize the model. DKD is already a mature algorithm and has been widely applied in various tasks such as large language models LLMs <sup>55</sup>, LVM <sup>56</sup>, and object detection <sup>57</sup> . It is highly efficient for model compression. Fine-tuning. LoRA was first proposed for fine-tuning LLMs <sup>41</sup> for downstream tasks, such as fine-tuning GPT for grammar correction <sup>58</sup>, fine-tuning Llama for fire safety training <sup>59</sup>, and fine-tuning Stable Diffusion to enhance image generation for specific tasks <sup>60</sup> . LoRA achieves this by decomposing the weight matrices into low-rank matrices. This approach significantly reduces the number of parameters that need to be fine-tuned, decreases the storage requirements of the model, and lowers the computational complexity, while enabling fast learning with less data <sup>61</sup> . As a result, both inference and training become more efficient. In CNNs, LoRA can be used to compress the model by applying low-rank decomposition to the convolutional kernels <sup>62</sup>, thereby reducing the number of parameters to be trained. This approach reduces the model’s storage and computational costs. After fine-tuning a CNN model with LoRA, both inference speed and training time are greatly improved. Using low-rank decomposition for object detection <sup>63</sup> enhances the model’s performance while reducing its parameters. Compared to the original CNN model, a LoRA fine-tuned model can operate under lower hardware resource conditions. Our idea is to propose a model based on DKD training and LoRA fine-tuning. And model is not only fast in reasoning but also possesses high accuracy. Method CNN and classification A CNN consists of _n_ ( _n ∈{_ 0 _,_ 1 _,_ 2 _, . . ., n}_ ) convolutional layers and _m_ ( _m ∈{_ 0 _,_ 1 _,_ 2 _, . . ., m}_ ) pooling layers. Convolutional layers use multiple filters to convolve over feature maps, extracting features. The extracted features are then passed through activation functions for non-linear transformations, helping to mitigate issues like vanishing gradients during training. Pooling layers are used to reduce the number of features, thus decreasing computational complexity. <sup>_l_</sup> _j_ <sup>of the</sup> <sup>_j −_</sup> <sup>_th_</sup> <sup>unit of the convolutional layer</sup> <sup>_l_</sup> <sup>is given by Eq. (1).</sup> The output value _a_ <sup>_l_</sup> _j_ _ij_ <sup>_l_</sup> <sup>)</sup> (1) <sup>_l_</sup> _j_ <sup>=</sup> <sup>_f_</sup> <sup>(</sup> <sup>_bl_</sup> _j_ _i_ ∑ _∈Mj_ <sup>_l_</sup> _a_ <sup>_l_</sup> _i_ <sup>_−_</sup> <sup>1</sup> _a_ <sup>_l_</sup> _j_ <sup>_l_</sup> _j_ <sup>+</sup> _i∈Mj_ <sup>_l_</sup> <sup>_l_</sup> _i_ <sup>_−_</sup> <sup>1</sup> _∗_ _k_ <sup>_l_</sup> _j_ The activation value _a_ <sup>_l_</sup> _j_ <sup>in the pooling layer</sup> <sup>_l_</sup> <sup>is given by Eq. (2).</sup> <sup>_l_</sup> _j_ <sup>=</sup> <sup>_f_</sup> <sup>(</sup> <sup>_bl_</sup> _j_ _j_ <sup>_l_</sup> <sup>_down_</sup> <sup>(</sup> <sup>_al_</sup> _j_ <sup>_−_</sup> <sup>1</sup> <sup>_l_</sup> _j_ <sup>_−_</sup> <sup>1</sup> _, M_ <sup>_l_</sup> )) (2) _a_ <sup>_l_</sup> _j_ <sup>_l_</sup> _j_ <sup>+</sup> <sup>_β_</sup> _j_ <sup>_l_</sup> where _down_ ( _∗_ ) represents the pooling function. Common pooling functions include average pooling, max pooling, min pooling, and stochastic pooling. _b_ <sup>_l_</sup> _j_ <sup>denotes the bias,</sup> <sup>_β_</sup> _j_ <sup>_l_</sup> <sup>represents the multiplier residual, and</sup> <sup>_M l_</sup> pooling, min pooling, and stochastic pooling. _b_ <sup>_l_</sup> _j_ <sup>denotes the bias,</sup> <sup>_β_</sup> _j_ <sup>_l_</sup> <sup>represents the multiplier residual, and</sup> <sup>_M l_</sup> is the size of the pooling window used in the l-th layer. After the model extracts features through convolutional layers, it needs to classify the feature data. Generally, classification tasks uses a cross-entropy (CE) <sup>64</sup> loss as a objective function, the expression for CE is as in Eq. (3). By optimizing the cross-entropy loss, the model’s classification accuracy is improved. <sup>_l_</sup> _j_ <sup>denotes the bias,</sup> <sup>_β_</sup> _j_ <sup>_l_</sup> _<u>e</u>_ <sup>_zn_</sup> _−ynlog_ ( _pn_ ) _,_ _pn_ = ~~∑~~ _iN_ =1 _yn_ denotes true label, _log_ _LCE_ = _N_ _n_ =1 ∑ _iN_ =1 <sup>_ezi_</sup> (3) where _N_ denotes the number of categories, _yn_ denotes true label, _log_ ( _pn_ ) denotes natural logarithm of the predict probability of n-th label from model, _zn_ is raw scores from model output of n-th label, _pn_ predicted probability for the n-th label. Decoupled knowledge distillation (DKD) Although there are various types of knowledge distillation, we use DKD for improvement our model. First, in the classical KD, the _logit_, _li_, computed for each class is converted to a probability _pi_ by using the _softmax_ ( _∗_ ) function as shown in Eq. (4). where _N_ denotes the number of classes. <u>exp (</u> _<u>li</u>_ <u>)</u> _pi_ = ~~∑~~ _jN_ =1 <sup>exp (</sup> <sup>_lj_</sup> <sup>)</sup> (4) _b_ = [ _pt, p¬t_ ] _∈_ R <sup>1</sup> <sup>_×_</sup> <sup>2</sup> (5) Then, we use binary probabilities _b_ = [ _pt, p¬t_ ] _∈_ R <sup>1</sup> <sup>_×_</sup> <sup>2</sup> to distinguish between predictions related and unrelated to the target class, where _pt_ denotes the target class and _p¬t_ denotes the non-target class, calculated as shown Eq. (6). _, p−t_ = _<u>d</u>_ _̸_ <u>∑</u> _N_ ~~∑~~ _<u>d</u>_ <u>=1</u> _<u>,d̸</u>_ <u>=</u> _<u>t</u>_ <sup>exp(</sup> <sup>_ld_</sup> <sup>)</sup> _N_ _j_ =1 <sup>exp(</sup> <sup>_lj_</sup> <sup>)</sup> ~~∑~~ _N_ _̸_ _j_ =1 <sup>exp(</sup> <sup>_lj_</sup> <sup>)</sup> _j_ =1 <sup>exp(</sup> <sup>_lj_</sup> <sup>)</sup> _._ (6) Meanwhile, we use _p_ ˜ _i_ = _p_ <sup>_<u>p</u>_</sup> _t_ <sup>_<u>i</u>_</sup> <u>exp(</u> _<u>lt</u>_ <u>)</u> _pt_ = _j_ =1 <sup>exp(</sup> ~~∑~~ _N_ Meanwhile, we use _p_ ˜ _i_ = _p_ <sup>_<u>p</u>_</sup> _t_ <sup>_<u>i</u>_</sup> <sup>to denote the probability between non-target categories (i.e., without considering</sup> the target category t) calculated as Eq. (7). <u>exp(</u> _<u>li</u>_ <u>)</u> _p_ ˜ _i_ = ~~∑~~ _jN_ =1 _,j̸_ = _i_ <sup>exp(</sup> _jN_ =1 _,j̸_ = _i_ <sup>exp(</sup> <sup>_lj_</sup> <sup>)</sup> (7) Classical KD uses KL-Divergence as the loss function, and further, we re-represent KD using the binary probability _b_ and the non-target class _p_ ˜, T and S stand for teacher and student, respectively. represented as Eq. (8). _N_ _i_ =1∑ _,i̸_ = _t_ ( ) ) KD = KL(p <sup>_T_</sup> _∥_ p <sup>_S_</sup> ) = _pt_ <sup>_T_</sup> <sup>log</sup> ( _<u>p</u>_ <sup>_T_</sup> _<u>t</u>_ _p_ <sup>_S_</sup> _t_ + _N_ =1∑ _,i̸_ = _p_ <sup>_T_</sup> _i_ <sup>log</sup> <sup>_T_</sup> _i_ <sup>log</sup> _<u>p</u>_ <sup>_T_</sup> _<u>i</u>_ _p_ <sup>_S_</sup> _i_ (8) Simplifying, we can rewrite Eq. (8) as Eq. (9) X by Eq. (4) and Eq. (7). ( ( ( KD = _p_ <sup>_T_</sup> _t_ <sup>log</sup> KD = _p_ <sup>_T_</sup> _t_ _<u>p</u>_ <sup>_T_</sup> _<u>t</u>_ _p_ <sup>_S_</sup> _t_ + _p_ <sup>_T_</sup> _¬t_ _i_ =1 _,i̸_ = _t_ _D_ =1∑ _,i̸_ = _p_ ˜ <sup>_T_</sup> _i_ log _<u>p</u>_ <u>˜</u> <sup>_T_</sup> _<u>i</u>_ _p_ <u>˜</u> <sup>_S_</sup> _i_ + log _<u>p</u>_ <sup>_T_</sup> _<u>−t</u>_ _p_ <sup>_S_</sup> ) _−t_ _i_ <u>))</u> ) (9) ) ) = _p_ <sup>_T_</sup> _t_ <sup>log</sup> = _p_ <sup>_T_</sup> _t_ ( ( _<u>p</u>_ <sup>_T_</sup> _<u>t</u>_ _p_ <sup>_S_</sup> _t_ + _p_ <sup>_T_</sup> _¬t_ <sup>log</sup> + _p_ <sup>_T_</sup> _¬_ _̸_ ( _<u>p</u>_ <sup>_T_</sup> _<u>−t</u>_ _p_ <sup>_S_</sup> _−t_ _D_ _i_ =1∑ _,i_ = _̸_ _t_ _D_ =1∑ _,i_ = _̸_ _p_ ˜ <sup>_T_</sup> _i_ <sup>log</sup> _<u>p</u>_ <u>˜</u> <sup>_T_</sup> _<u>i</u>_ _p_ <u>˜</u> <sup>_S_</sup> _i_ _i_ + _p_ <sup>_T_</sup> ( ) + _p_ <sup>_T_</sup> _¬t_ Simplifying, KD can then be rewrite as Eq. (10). KD = KL( _b_ <sup>_T_</sup> _∥_ _b_ <sup>_S_</sup> ) + (1 _−_ _p_ <sup>_T_</sup> _t_ <sup>)KL(˜</sup> <sup>_pT_</sup> <sup>_∥_</sup> <sup>_p_</sup> <sup>˜</sup> <sup>_S_</sup> <sup>)</sup> (10) where KL( _b_ <sup>_T_</sup> _∥_ _b_ <sup>_S_</sup> ) denotes the similarity between teacher and student probabilities in the target class, which we refer to as Target Class Knowledge Distillation (TCKD), and KL(˜ _p_ <sup>_T_</sup> _∥_ _p_ ˜ <sup>_S_</sup> ) denotes the similarity between teacher and student probabilities in the non-target class, which we refer to as Non-Target Class Knowledge Distillation (NCKD), and thus we can rewrite KD Eq. (11). KD = TCKD + (1 _−_ _pt_ <sup>_T_</sup> <sup>)NCKD</sup> (11) Observing the latest KD formulation, we find that on the one hand NCKD is coupled with (1 _−_ _pt_ <sup>_T_</sup> <sup>), which</sup> would suppress NCKD for well-predicted samples. On the other hand, the weights of NCKD and TCKD are coupled in the classical KD framework, which does not allow to change the weights of each term in order to balance the importance. Therefore DKD introduces two hyperparameters _α_ and _β_ as weights for TCKD and NCKD, respectively. Thus the loss function of DKD can be written as Eq. (12). _LDKD_ = _α ∗_ TCKD + _β ∗_ NCKD (12) where _β_ replaces (1 _−_ _pt_ <sup>_T_</sup> <sup>) to prevent inhibiting the effectiveness of the NCKD, and secondly,</sup> <sup>_α_</sup> <sup>and</sup> <sup>_β_</sup> <sup>can be</sup> allowed to be adjusted to achieve a balance of importance. By optimizing this decoupling loss, the knowledge gained by the teacher model is more easily transferred to the student model, thus improving the performance of the student network. Low-rank adaptation (LoRA) LoRA is a method for efficiently fine-tuning pre-trained models on specific tasks. This algorithm reduces the fine-tuning parameters using a low-rank approach while enhancing the model’s performance on the given task. Fine-tuning with fewer parameters can achieve over 90% of the performance of full fine-tuning. For a pre-trained model with a weight parameter matrix _W_ 0 _∈_ R <sup>_d×k_</sup>, ∆ _W_ _∈_ R <sup>_d×k_</sup> represents the fine-tuning parameters for a specific task. ∆ _W_ is a lower-dimensional parameter matrix that can be expressed as _B × A_, where _B_ _∈_ R <sup>_d×r_</sup> and _A ∈_ R <sup>_r×k_</sup>, with _r_ _≪_ _k_ . Thus, the parameter count of ∆ _W_ is smaller than that of _W_ 0. The LoRA algorithm as show in the Eq. (13), with its key idea being to decompose the parameter matrix using a low-rank matrix decomposition. _h_ = _W_ 0 _x_ + ∆ _Wx_ = _W_ 0 _x_ + _BAx_ (13) Our DKDL-Net model The DKDL-Net model is based on the DKD approach, where a Teacher model guides the training of a Student model. The model framework is illustrated in Fig. 2. The Teacher model is a large-scale model with a substantial number of parameters, and its increased depth enhances accuracy in bearing fault detection. However, the large parameter size of the Teacher model results in slow inference speed, making it unsuitable for efficient industrial tasks. Therefore, we trained the Student model using the DKD method. This model is a single-layer neural network, meaning it has fewer parameters and faster inference speed. However, since the Student model is derived from significant parameter compression, its accuracy decreases. In simple experimental analyses of bearing fault detection, the Student model’s accuracy is approximately 2% lower compared to the Teacher model. Through extensive research, we found that we can further fine-tune the Student model using the LoRA approach. The model framework is illustrated in Fig. 3. Typically, LoRA involves low-rank decomposition of the model’s convolutional and fully connected layers. In this task, we cannot reduce the model’s parameters further, as experiments have shown that this would decrease the model’s accuracy. Therefore, we integrated the LoRA module into the single-layer network. In the DKDL-Net network, we copied the parameters from the Student model. The parameters of the _A_ matrix in the LoRA module are initialized with data following a normal distribution _N_ (0 _, σ_ <sup>2</sup> ), while the _B_ matrix is initialized to 0. This approach allows us to enhance the model’s accuracy by adding only a small number of parameters. Fig. 2 . Architecture of the Model. (top) Teacher Model, (below) Student Model. Fig. 3 . Architecture of the DKDL-Net Model. Regarding the training of the model, we utilize CE Loss as the objective function for training the Teacher model, defined mathematically as Eq. (3). For training the Student model, we employ a combination of TCKD Loss, NCKD Loss, and CE Loss as the loss functions. It is essential to balance CE Loss and DKD Loss during the training process, where DKD Loss is the sum of TCKD Loss, CE Loss and NCKD Loss, defined mathematically as Eq. (14). _L_ = (1 _−_ _γ_ ) _LCE_ CE loss ���� + _γ_ <u>�</u> TCKD Loss NCKD Loss DKD Loss ~~<u>��</u>~~ <u>�</u> ~~<u>�</u>~~ ~~<u>�</u>~~ <u>�</u> ~~<u>�</u>~~ <u>�</u> ~~�~~ ~~�~~ - ~~�~~ _α ∗_ <u>TCKD</u> TCKD Loss DKD ~~<u>��</u>~~ <u>�</u> ~~<u>�</u>~~ <u>�</u> + _β ∗_ <u>NCKD</u> NCKD Loss Loss ~~<u>�</u>~~ <u>�</u> ~~<u>�</u>~~ <u>�</u> (14) where _γ_ is a learnable parameter to balance CE and DKD Loss. Finally, incorporating the LoRA plug-and-play module into the Student model, we fine-tune it using the CWRU dataset with CE Loss as the loss function, mathematically defined as Eq. (3). The pseudocode for the DKDL-Net algorithm is presented in Algorithm 1. Algorithm 1 . The training phase of DKDL-Net model. Structural configuration of the model The framework of the Teacher model is shown in Fig. 2 (top), and the relevant parameter configurations for the model’s input, output, and convolutional kernel size are presented in Table 1. The Student model is a single layer network and framework shown in Fig. 2 (below), and the relevant parameter configurations for the model’s input, output, and convolutional kernel size are presented in Table 2. The DKDL-Net model is a single layer network and framework shown in Fig. 3, adding LoRA module before convolutional and fully connected layers, and the relevant parameter configurations for the model’s input, output, and convolutional kernel size are presented in Table 3. <u>Name</u> <u>Kernel size/stride</u> <u>Input size</u> <u>Output size</u> <u>Activation function</u> <u>#Parameters</u> <u>Conv1D_1</u> <u>(64, ) / 8</u> <u>1</u> _<u>×</u>_ <u>1024</u> <u>16</u> _<u>×</u>_ <u>128</u> <u>ReLU</u> <u>1072</u> <u>Pooling_1</u> <u>2 / 2</u> <u>16</u> _<u>×</u>_ <u>128</u> <u>16</u> _<u>×</u>_ <u>64</u> <u>0</u> <u>Conv1D_2</u> <u>(3, ) / 1</u> <u>16</u> _<u>×</u>_ <u>64</u> <u>32</u> _<u>×</u>_ <u>64</u> <u>ReLU</u> <u>1632</u> <u>Pooling_2</u> <u>2 / 2</u> <u>32</u> _<u>×</u>_ <u>64</u> <u>32</u> _<u>×</u>_ <u>32</u> <u>0</u> <u>Conv1D_3</u> <u>(3, ) / 1</u> <u>32</u> _<u>×</u>_ <u>32</u> <u>64</u> _<u>×</u>_ <u>32</u> <u>ReLU</u> <u>6336</u> <u>Pooling_3</u> <u>2 / 2</u> <u>64</u> _<u>×</u>_ <u>32</u> <u>64</u> _<u>×</u>_ <u>16</u> <u>0</u> <u>Conv1D_4</u> <u>(3, ) / 1</u> <u>64</u> _<u>×</u>_ <u>16</u> <u>64</u> _<u>×</u>_ <u>16</u> <u>ReLU</u> <u>12480</u> <u>Pooling_4</u> <u>2 / 2</u> <u>64</u> _<u>×</u>_ <u>16</u> <u>64</u> _<u>×</u>_ <u>8</u> <u>0</u> <u>Conv1D_5</u> <u>(3, ) / 1</u> <u>64</u> _<u>×</u>_ <u>8</u> <u>64</u> _<u>×</u>_ <u>8</u> <u>ReLU</u> <u>12480</u> <u>Pooling_5</u> <u>2 / 2</u> <u>64</u> _<u>×</u>_ <u>8</u> <u>64</u> _<u>×</u>_ <u>4</u> <u>0</u> <u>Conv1D_6</u> <u>(3, ) / 1</u> <u>64</u> _<u>×</u>_ <u>4</u> <u>128</u> _<u>×</u>_ <u>2</u> <u>ReLU</u> <u>24960</u> <u>Pooling_6</u> <u>2 / 2</u> <u>128</u> _<u>×</u>_ <u>2</u> <u>128</u> _<u>×</u>_ <u>1</u> <u>0</u> <u>FC_1</u> <u>128</u> <u>64</u> <u>ReLU</u> <u>8256</u> <u>FC_2</u> <u>64</u> <u>32</u> <u>2080</u> <u>FC_3</u> <u>32</u> <u>10</u> <u>330</u> <u>Total of trainable parameters</u> <u>69626</u> Table 1 . Teacher model parameters applied. <u>Name</u> <u>Kernel size/stride</u> <u>Input size</u> <u>Output size</u> <u>Activation function</u> <u>#Parameters</u> <u>Conv1D</u> <u>(64, ) / 8</u> <u>1</u> _<u>×</u>_ <u>1024</u> <u>4</u> _<u>×</u>_ <u>128</u> <u>ReLU</u> <u>260</u> <u>Pooling</u> <u>2 / 2</u> <u>4</u> _<u>×</u>_ <u>128</u> <u>4</u> _<u>×</u>_ <u>64</u> <u>0</u> <u>FC</u> <u>256</u> <u>10</u> <u>2570</u> <u>Total of trainable parameters</u> <u>2830</u> Table 2 . Student model parameters. <u>Name</u> <u>Kernel size/stride</u> <u>Input</u> <u>Output</u> <u>Activation function</u> <u>#Parameters</u> <u>Conv1D_LoRA</u> <u>1</u> _<u>×</u>_ <u>1024</u> <u>4</u> _<u>×</u>_ <u>128</u> <u>816</u> <u>Conv1D</u> <u>(64, ) / 8</u> <u>1</u> _<u>×</u>_ <u>1024</u> <u>4</u> _<u>×</u>_ <u>128</u> <u>ReLU</u> <u>260</u> <u>Pooling</u> <u>2 / 2</u> <u>4</u> _<u>×</u>_ <u>128</u> <u>4</u> _<u>×</u>_ <u>64</u> <u>0</u> <u>FC_LoRA</u> <u>256</u> <u>10</u> <u>3192</u> <u>FC</u> <u>10</u> <u>10</u> <u>2570</u> <u>Total of trainable parameters</u> <u>6838</u> Table 3 . DKDL-Net model. Fig. 4 . Data collection machine tools. Experiments and results Experimental configurations Environment configuration. All experiments for this model were conducted on a Windows 11 system with an Intel Core i7-9850H CPU at 2.60GHz and an NVIDIA GeForce GTX 1650 with Max-Q Design 4GB GPU. The code was run in an environment with Python 3.10.13 and PyTorch 2.0.1+cu117. During the training of DKDL-Net, we utilized the Adaptive Moment Estimation (Adam) optimizer with a learning rate (LR) of 0.005 and a weight decay coefficient of 0.0001. We employed the cross-entropy loss function evaluate the loss between true and predicted labels. Baseline. We selected MCNN-LSTM, FaultNet, BearingPGA-Net, KDSCNN, and WDCNN models as our baseline models. Among these, BearingPGA-Net and WDCNN are SOTA (state-of-the-art) models. However, BearingPGA-Net is more of a lightweight model, whereas WDCNN is a relatively large-scale model. KDSCNN is also a lightweight model and is comparable to our model. Benchmark. Our benchmark is based on the CWRU dataset, curated by the Case Western Reserve University Bearing Data Center. The machine to generate the CWRU dataset is shown in Fig. 4. This dataset includes ten categories, comprising nine types of faulty bearings and one healthy bearing. Vibration data are collected at 12 kHz and 48 kHz. The fault types and labels of the CWRU dataset are shown in Table 4, waveforms as shown in Fg. 5. Evaluation metrics. We use Accuracy, Precision, Recall and F1-Score to evaluate the performance of our model, which is calculated as in Eqs. (15) (16) (17) (18). _<u>TP</u>_ <u>+</u> _<u>TN</u>_ Accuracy = _TP_ <u>+</u> _FP_ <u>+</u> _FN_ <u>+</u> _TN_ (15) <u>Faulty Mode</u> <u>Fault size(mm)</u> <u>Total dataset</u> <u>class labels</u> <u>Health</u> <u>-</u> <u>280</u> <u>0</u> <u>Ball cracking (Minor)</u> <u>0.18</u> <u>280</u> <u>1</u> <u>Ball cracking (Moderate)</u> <u>0.36</u> <u>280</u> <u>2</u> <u>Ball cracking (Severe)</u> <u>0.53</u> <u>280</u> <u>3</u> <u>OR cracking (Minor)</u> <u>0.18</u> <u>280</u> <u>4</u> <u>OR (Moderate)</u> <u>0.36</u> <u>280</u> <u>5</u> <u>OR (Severe)</u> <u>0.53</u> <u>280</u> <u>6</u> <u>IR (Minor)</u> <u>0.18</u> <u>280</u> <u>7</u> <u>IR (Moderate)</u> <u>0.36</u> <u>280</u> <u>8</u> <u>IR (Severe)</u> <u>0.53</u> <u>280</u> <u>9</u> Table 4 . The labels in the CWRU dataset and their corresponding fault types. Precision = _TPTP_ <u>+</u> _FP_ (16) Recall = _TPTP_ <u>+</u> _FN_ (17) F1-Score = <sup><u>2</u></sup> <sup>_<u>×</u>_</sup> <sup><u>Precision</u></sup> <sup>_<u>×</u>_</sup> <sup><u>Recall</u></sup> (18) <u>Precision + Recall</u> where _TP_ represents True Positive, _TN_ represents True Negative, _FP_ represents False Positive, _FN_ represents False Negative. Bearing fault detection experimental results We conducted experiments on the CWRU dataset, and as shown in Table 5, the ratio of test data and training data is divided into 33.3% and 66.7%, the F1-Score of the DKDL-Net model is higher than that of the MCNNLSTM, FaultNet, BearingPGA-Net, KDSCNN, and WDCNN models. Additionally, compared to the state-ofthe-art (SOTA) model, our model achieved an improvement of 0.58%. Despite having only 6838 parameters, our model has a higher accuracy than BearingPGA-Net by 0.58%, with only 4008 more parameters. Compared to the KDSCNN model, our model has 948 more trainable parameters, yet it outperforms KDSCNN by 0.98%. In summary, the DKDL-Net (our) model achieves higher accuracy while maintaining fewer parameters and lower Flops. As shown in Table 6, we evaluated the F1-Score, Precision, and Recall of the DKDL-Net model on the test dataset of CWRU. The DKDL-Net model outperforms the BearingPGA-Net, FaultNet, and MCNN-LSTM models in all three metrics. Compared to the best-performing BearingPGA-Net (SOTA) model, we achieved an improvement of nearly 0.55% across all three metrics. In conclusion, our model is the best-performing model on the CWRU dataset. As shown in Table 7, under the same configuration, our student model trained using Decoupled Knowledge Distillation (DKD) has 2,830 parameters. Compared to the teacher model, the student model’s trainable parameters are reduced by approximately 95.93%, but its F1-Score, Precision, and Recall decrease by 2.07%, 1.92%, and 2.08%, respectively. This indicates that while the DKD model can compress model parameters, its accuracy significantly decreases. On the other hand, the DKDL-Net model, based on DKD compression and LoRA fine-tuning, has 6,838 trainable parameters. Compared to the teacher model, the DKDL-Net model’s trainable parameters are reduced by approximately 90.20%, indicating that DKDL-Net can significantly reduce model complexity and resource requirements. The F1-Score, Precision, and Recall decrease by only 0.09%, 0.12%, and 0.12%, respectively. This demonstrates that the accuracy loss caused by the DKDL-Net model compared to the teacher model is negligible. Therefore, the DKDL-Net model effectively compresses parameters while maintaining high accuracy. In summary, our model achieves a compression ratio of 90.20% with a negligible decrease in accuracy compared to the Teacher model, making it highly efficient in terms of compression while maintaining high accuracy. Finally, we computed the confusion matrices for the DKDL-Net model as shown in Fig. 6b, Student model as shown in Fig. 6a, and Teacher model as shown in Fig. 6c on the CWRU dataset, with 2,500 test samples, 250 samples per class. We plotted the ROC curves for both the DKDL-Net model and the student model show in Fig. 7. As shown in Fig. 7b for the DKDL-Net model and Fig. 7a for the student model, it can be observed that the ROC curve for the student model is more jagged, while the ROC curve for the DKDL-Net model is smoother. Additionally, the area under the curve (AUC) for each class in the DKDL-Net model is generally larger than that of the student model. This indicates that our algorithm outperforms the student model’s algorithm, demonstrating better performance. We tested the DKDL-Net model on the CWRU bearing fault detection dataset. Under the same training configuration as see Section Experimental Configurations, we tested 2500 samples, result as Shown in Table 8, Fig. 5 . Bearing abnormal and normal waveform format. and the DKDL-Net model required an average of 1757 _µ_ s per sample. DKDL-Net model with teacher model have 1x faster inference. This figure also demonstrates the high efficiency of our model. Overall, the DKDL-Net model outperformed the Student model, and its performance was comparable to that of the Teacher model. Therefore, our DKDL-Net model can maintain good results even under high compression. Ablation experiment. We fixed the _β_ and _γ_ parameters and analyzed the influence of different alphas on the model. The results are presented in Table 9. <u>Model</u> <u>F1-Score(%)</u> <u>#Parameters</u> <u>#FLOPs</u> <u>MCNN-LSTM</u> <u>98.46</u> <u>73.48K</u> <u>–</u> <u>FaultNet</u> <u>98.50</u> <u>627.05K</u> <u>–</u> <u>WDCNN</u> <u>98.39</u> <u>66.79K</u> <u>1.61M</u> <u>KDSCNN</u> <u>98.50</u> <u>5.89K</u> <u>70.66K</u> <u>BearingPGA-Net</u> <u>98.90</u> <u>2.83K</u> <u>78.34K</u> <u>DKDL-Net (Ours)</u> <u>99.50</u> <u>6.38K</u> <u>70.65K</u> Table 5 . Comparison of F1-Score, model size and computational cost among different bearing fault diagnosis algorithms. <u>Model</u> <u>Precision(%)</u> <u>Recall(%)</u> <u>F1-score(%)</u> <u>MCNN-LSTM</u> <u>98.46</u> <u>97.85</u> <u>97.856</u> <u>FaultNet</u> <u>98.60</u> <u>98.57</u> <u>98.57</u> <u>BearingPGA-Net</u> <u>98.98</u> <u>98.92</u> <u>98.90</u> <u>DKDL-Net(our)</u> <u>99.48</u> <u>99.48</u> <u>99.50</u> Table 6 . Comparison of bearing fault diagnosis precision, Recall and F1-Score with different algorithms. <u>Model</u> <u>Precision(%)</u> <u>Recall(%)</u> <u>F1-score(%)</u> <u>#Parameters</u> <u>Teacher</u> <u>99.60</u> <u>99.60</u> <u>99.59</u> <u>69626</u> <u>Sudent</u> <u>97.68</u> <u>97.52</u> <u>97.52</u> <u>2830</u> <u>DKDL-Net(our)</u> <u>99.48</u> <u>99.48</u> <u>99.50</u> <u>6838</u> Table 7 . Comparison of the parameters and assessment metrics of the teacher model, student model and DKDL-Net model. Fig. 6 . Confusion matrix for student model and DKDL-Net model on CWRU dataset. In terms of the results in Fig. 8, we fixed the alpha at 0.3 and analyzed the influence of beta and gamma on the model. We analyzed that when beta is greater than gamma, the performance ability of the model will improve. The experimental results show that the model is able to exhibit strong performance when _β_ is larger than _γ_ . Discussion In this article, we propose a CNN model named DKDL-Net, which is based on decoupled knowledge distillation training and Low-Rank Adaptation fine-tuning. DKDL-Net is a single-layer neural network with only 6,838 parameters and an inference speed of 1,767 _µ_ s. It achieved an F1-Score of 99.50% on the CRWU dataset, representing a 0.60% improvement in F1-Score compared to the state-of-the-art (SOTA) models. Therefore, our model is highly efficient in detection while maintaining high accuracy. Moreover, the model is extremely lightweight, making it suitable for practical industrial applications. (limatations and future work)While our model excels on the CWRU dataset, its generalizability to other datasets (e.g., Paderborn or SEU) remains untested. Additionally, the 0.5% residual accuracy gap compared to Fig. 7 . ROC curves for student and DKDL-Net models on the CWRU dataset. <u>Model</u> <u>Num. of test samples</u> <u>Avg. inference time(</u> _µ_ <u>s)</u> <u>Teacher</u> <u>2500</u> <u>3816</u> <u>DKDL-Net (Our)</u> <u>2500</u> <u>1757</u> Table 8 . Inference time for the DKDL-Net model. _<u>α</u>_ <u>0.1</u> <u>0.2</u> <u>0.3</u> <u>0.4</u> <u>0.5</u> <u>Accuracy(%)</u> <u>96.09</u> <u>95.93</u> <u>96.13</u> <u>95.76</u> <u>94.04</u> Table 9 . Accuracy (%) under different values of _α_, where _γ_ and _β_ is fixed. Fig. 8 . Performance comparison under different combinations of _γ_ and _β_ . the teacher model suggests room for improvement in distillation efficiency. Future work could explore hybrid compression techniques (e.g., pruning + DKD) or adaptive LoRA ranks to further narrow this gap. Expanding evaluations to heterogeneous data sources and investigating cross-domain transferability would also validate broader applicability. Data availability The dataset CWRU <sup>35</sup> used in this article comes from a public dataset, which can be accessed online, and of course by requesting corresponding authors. Code availability [The source code supporting the findings of this study is available at ​h​t​t​p​s​:​/​/​g​i​t​h​u​b​.​c​o​m​/​l​i​p​e​n​g​y​i​0​8​2​9​/​D​K​D​L​-​N​](https://github.com/lipengyi0829/DKDL-Net) [e​t and is currently under consideration for open-source licensing. Researchers are encouraged to contact the](https://github.com/lipengyi0829/DKDL-Net) ​ corresponding author for usage guidance. Received: 19 June 2024; Accepted: 10 June 2025 References 1. Bonnett, A. H. & Yung, C. Increased efficiency versus increased reliability. _IEEE Ind. Appl. Mag._ 14, 29–36 (2008). 2. Benbouzid, M. E. H. A review of induction motors signature analysis as a medium for faults detection. _IEEE Trans. Ind. Electron._ 47, 984–993 (2000). 3. Kumar, N. & Satapathy, R. Bearings in aerospace, application, distress, and life: a review. _JJ. Fail. Anal. Prev._ 23, 915–947 (2023). 4. Nandi, S., Toliyat, H. A. & Li, X. Condition monitoring and fault diagnosis of electrical motors-a review. _IEEE transactions on_ _energy conversion_ 20, 719–729 (2005). 5. Zhang, S., Zhang, S., Wang, B. & Habetler, T. G. Deep learning algorithms for bearing fault diagnostics-a comprehensive review. _IEEE Access_ 8, 29857–29881 (2020). 6. Pacheco-Cherrez, J., Fortoul-Diaz, J. A., Cortes-Santacruz, F., Aloso-Valerdi, L. M. & Ibarra-Zarate, D. I. Bearing fault detection with vibration and acoustic signals: Comparison among different machine leaning classification methods. _Engineering Failure_ _Analysis_ 139, 106515 (2022). 7. Shao, H., Jiang, H., Zhang, X. & Niu, M. Rolling bearing fault diagnosis using an optimization deep belief network. _Meas.Sci._ _Technol._ 26, 115002 (2015). 8. Che, C., Wang, H., Ni, X. & Fu, Q. Domain adaptive deep belief network for rolling bearing fault diagnosis. _Comput. &Ind. Eng._ 143, 106427 (2020). 9. Tao, J., Liu, Y., Yang, D. _et al._ Bearing fault diagnosis based on deep belief network and multisensor information fusion. _Shock._ _vibration_ 2016 (2016). 10. Yang, K., Zhao, L. & Wang, C. A new intelligent bearing fault diagnosis model based on triplet network and svm. _Sci. Rep._ 12, 5234 (2022). 11. Zhang, W., Li, C., Peng, G., Chen, Y. & Zhang, Z. A deep convolutional neural network with new training methods for bearing fault diagnosis under noisy environment and different working load. _Mech. Syst. Signal. Process._ 100, 439–453 (2018). 12. Waziralilah, N. F., Abu, A., Lim, M., Quen, L. K. & Elfakharany, A. A review on convolutional neural network in bearing fault diagnosis. In _MATEC Web of Conferences_, vol. 255, 06002 (EDP Sciences, 2019). 13. Zhang, J. et al. A new bearing fault diagnosis method based on modified convolutional neural networks. _Chin. J. Aeronaut._ 33, 439–447 (2020). 14. Saeed, F. et al. A robust approach for industrial small-object detection using an improved faster regional convolutional neural network. _Sci. Rep._ 11, 23390 (2021). 15. Ren, L., Sun, Y., Cui, J. & Zhang, L. Bearing remaining useful life prediction based on deep autoencoder and deep neural networks. _J. Manuf. Syst._ 48, 71–77 (2018). 16. Huang, F. _et al._ A rolling bearing fault diagnosis method based on interactive generative feature space oversampling-based autoencoder under imbalanced data. _Struct. Heal. Monit._ 14759217241248209 (2024). 17. Cui, M., Wang, Y., Lin, X. & Zhong, M. Fault diagnosis of rolling bearings based on an improved stack autoencoder and support vector machine. _IEEE Sensors J._ 21, 4927–4937 (2020). 18. Gao, Y., Liu, X. & Xiang, J. Fem simulation-based generative adversarial networks to detect bearing faults. _IEEE Trans. Industr._ _Inform._ 16, 4961–4971 (2020). 19. Mao, W., Liu, Y., Ding, L. & Li, Y. Imbalanced fault diagnosis of rolling bearing based on generative adversarial network: A comparative study. _IEEE Access_ 7, 9515–9530 (2019). 20. Liu, H. et al. Unsupervised fault diagnosis of rolling bearings using a deep neural network based on generative adversarial networks. _Neurocomputing_ 315, 412–424 (2018). 21. Chen, X. _et al._ Deep transfer learning for bearing fault diagnosis: A systematic review since 2016. _IEEE Trans. Instrum. Meas._ (2023). 22. Wu, Z., Jiang, H., Zhao, K. & Li, X. An adaptive deep transfer learning method for bearing fault diagnosis. _Measurement_ 151, 107227 (2020). 23. Zhu, J., Chen, N. & Shen, C. A new deep transfer learning method for bearing fault diagnosis under different working conditions. _IEEE Sensors J._ 20, 8394–8402 (2019). 24. He, J. et al. Deep transfer learning method based on 1d-cnn for bearing fault diagnosis. _Shock and Vibration_ 2021, 1–16 (2021). 25. Guo, L., Li, N., Jia, F., Lei, Y. & Lin, J. A recurrent neural network based health indicator for remaining useful life prediction of bearings. _Neurocomputing_ 240, 98–109 (2017). 26. Cui, Q., Li, Z., Yang, J. & Liang, B. Rolling bearing fault prognosis using recurrent neural network. In _2017 29th Chinese Control_ _And Decision Conference (CCDC)_, 1196–1201 (IEEE, 2017). 27. Lee, K., Kim, J.-K., Kim, J., Hur, K. & Kim, H. Stacked convolutional bidirectional lstm recurrent neural network for bearing anomaly detection in rotating machinery diagnostics. In _2018 1st IEEE International Conference on Knowledge Innovation and_ _Invention (ICKII)_, 98–101 (IEEE, 2018). 28. Chen, X., Zhang, B. & Gao, D. Bearing fault diagnosis base on multi-scale cnn and lstm model. _J. Intell. Manuf._ 32, 971–987 (2021). 29. Yu, L., Qu, J., Gao, F., Tian, Y. _et al._ A novel hierarchical algorithm for bearing fault diagnosis based on stacked lstm. _Shock and_ _Vibration_ 2019 (2019). 30. Pan, H., He, X., Tang, S. & Meng, F. An improved bearing fault diagnosis method using one-dimensional cnn and lstm. _Journal of_ _Mechanical Engineering/Strojniški Vestnik_ 64 (2018). 31. Chen, X., Zhang, B. & Gao, D. Bearing fault diagnosis base on multi-scale cnn and lstm model. _J. Intell. Manuf._ 32, 971–987 (2021). 32. Fang, H. et al. Lefe-net: A lightweight efficient feature extraction network with strong robustness for bearing fault diagnosis. _IEEE_ _Trans. Instrum. Meas._ 70, 1–11 (2021). 33. Zhang, W., Peng, G., Li, C., Chen, Y. & Zhang, Z. A new deep learning model for fault diagnosis with good anti-noise and domain adaptation ability on raw vibration signals. _Sensors_ 17, 425 (2017). 34. Li, S.-Y. & Gu, K.-R. Smart fault-detection machine for ball-bearing system with chaotic mapping strategy. _Sensors_ 19, 2178 (2019). [35. Case Western Reserve University Bearing Data Center. Case western reserve university bearing data center. ​h​t​t​p​s​:​/​/​c​s​e​g​r​o​u​p​s​.​c​a​s​e​](https://csegroups.case.edu/bearingdatacenter/home) [.​e​d​u​/​b​e​a​r​i​n​g​d​a​t​a​c​e​n​t​e​r​/​h​o​m​e. Accessed: Dec. 22, 2019.](https://csegroups.case.edu/bearingdatacenter/home) ​ 36. Fang, H. et al. 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._ 71, 1–8 (2021). 37. Griffin, D. & Lim, J. Signal estimation from modified short-time fourier transform. _IEEE Trans. Acoust._ 32, 236–243 (1984). 38. Rehman, N. & Mandic, D. P. Multivariate empirical mode decomposition. _Proceedings of the Royal Society A: Mathematical,_ _Physical and Engineering Sciences_ 466, 1291–1302 (2010). 39. Rilling, G., Flandrin, P., Goncalves, P. _et al._ On empirical mode decomposition and its algorithms. In _IEEE-EURASIP workshop on_ _nonlinear signal and image processing_, vol. 3, 8–11 (Grado: IEEE, 2003). 40. Zhao, B., Cui, Q., Song, R., Qiu, Y. & Liang, J. Decoupled knowledge distillation. In _Proceedings of the IEEE/CVF Conference on_ _computer vision and pattern recognition_, 11953–11962 (2022). [41. Hu, E. J. et al. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685 (2021).](http://arxiv.org/abs/2106.09685) 42. Neupane, D. & Seok, J. Bearing fault detection and diagnosis using case western reserve university dataset with deep learning approaches: A review. _IEEE Access_ 8, 93155–93178 (2020). 43. Islam, M. M. & Kim, J.-M. Automated bearing fault diagnosis scheme using 2d representation of wavelet packet transform and deep convolutional neural network. _Comput. Ind._ 106, 142–153 (2019). 44. Wan, L., Chen, Y., Li, H. & Li, C. Rolling-element bearing fault diagnosis using improved lenet-5 network. _Sensors_ 20, 1693 (2020). 45. Shi, Y. et al. Enhanced lightweight multiscale convolutional neural network for rolling bearing fault diagnosis. _IEEE Access_ 8, 217723–217734 (2020). 46. You, K., Qiu, G. & Gu, Y. Rolling bearing fault diagnosis using hybrid neural network with principal component analysis. _Sensors_ 22, 8906 (2022). 47. Ji, M. et al. A neural network compression method based on knowledge-distillation and parameter quantization for the bearing fault diagnosis. _Appl. Soft Comput._ 127, 109331 (2022). 48. Liao, J.-X. et al. Bearingpga-net: A lightweight and deployable bearing fault diagnosis network via decoupled knowledge distillation and fpga acceleration. _IEEE Trans. Instrum. Meas._ (2023). 49. Magar, R., Ghule, L., Li, J., Zhao, Y. & Farimani, A. B. Faultnet: a deep convolutional neural network for bearing fault classification. _IEEE access_ 9, 25189–25199 (2021). 50. Li, Z., Li, H. & Meng, L. Model compression for deep neural networks: A survey. _Computers_ 12, 60 (2023). 51. Liang, T., Glossner, J., Wang, L., Shi, S. & Zhang, X. Pruning and quantization for deep neural network acceleration: A survey. _Neurocomputing_ 461, 370–403 (2021). 52. Nguyen, L. T., Kim, J. & Shim, B. Low-rank matrix completion: A contemporary survey. _IEEE Access_ 7, 94215–94237 (2019). 53. Gou, J., Yu, B., Maybank, S. J. & Tao, D. Knowledge distillation: A survey. _Int. J. Comput. Vis._ 129, 1789–1819 (2021). 54. Choudhary, T., Mishra, V., Goswami, A. & Sarangapani, J. A comprehensive survey on model compression and acceleration. _Artif._ _Intell. Rev._ 53, 5113–5155 (2020). [55. Zhu, X., Li, J., Liu, Y., Ma, C. & Wang, W. A survey on model compression for large language models. arXiv preprint arXiv:2308.07633](http://arxiv.org/abs/2308.07633) (2023). 56. Wang, J. et al. Review of large vision models and visual prompt engineering. _Meta-Radiology_ 100047 (2023). 57. Li, Z. et al. When object detection meets knowledge distillation: A survey. _IEEE Transactions on Pattern Analysis and Machine_ _Intelligence_ (2023). 58. Fan, Y., Jiang, F., Li, P. & Li, H. Grammargpt: Exploring open-source llms for native chinese grammatical error correction with supervised fine-tuning. In _CCF International Conference on Natural Language Processing and Chinese Computing_, 69–80 (Springer, 2023). 59. Lermen, S., Rogers-Smith, C. & Ladish, J. Lora fine-tuning efficiently undoes safety training in llama 2-chat 70b. arXiv preprint [arXiv:2310.20624 (2023).](http://arxiv.org/abs/2310.20624) [60. Thakur, A. & Vashisth, R. A unified module for accelerating stable-diffusion: Lcm-lora. arXiv preprint arXiv:2403.16024 (2024).](http://arxiv.org/abs/2403.16024) 61. Rezazadeh, N., Perfetto, D., de Oliveira, M., De Luca, A. & Lamanna, G. A fine-tuning deep learning framework to palliate data distribution shift effects in rotary machine fault detection. _Structural Health Monitoring_ 14759217241295951 (2024). [62. Chen, W., Miao, Z. & Qiu, Q. Parameter-efficient tuning of large convolutional models. arXiv preprint arXiv:2403.00269 (2024).](http://arxiv.org/abs/2403.00269) 63. Sharma, M., Chatterjee, M., Peng, K.-C., Lohit, S. & Jones, M. Tensor factorization for leveraging cross-modal knowledge in data-constrained infrared object detection. In _Proceedings of the IEEE/CVF International Conference on Computer Vision_, 924–932 (2023). 64. De Boer, P.-T., Kroese, D. P., Mannor, S. & Rubinstein, R. Y. A tutorial on the cross-entropy method. _Ann. Oper. Res._ 134, 19–67 (2005). Acknowledgements The research was carried out within the financial support for the agreement on the provision of a grant from the federal budget in the form of a subsidy to the Federal State Budgetary Educational Institution of Higher Professional Education "Saint-Petersburg State University" dated April 16, 2025 No. 139-15-2025-007 id: 000000C313925РЗО002. Author contributions O. P. served as the project supervisor, responsible for project advancement and conceptual guidance. L. P., as the team leader, was responsible for the overall model design, proposed the DKDL-Net model, trained the model, organized experimental data, and wrote the manuscript. H. Y., as the algorithm researcher, was responsible for the research of the model’s algorithm. L. J., as the project researcher, was responsible for the research of the problem. S. Z., as the algorithm researcher, was responsible for the research of model compression algorithms. F. G., as the algorithm researcher, was responsible for analyzing experimental results and conducting some experiments. M. L., as the algorithm researcher, was responsible for analyzing experimental results and conducting some experiments. Declarations Competing interests The authors declare no competing interests. Accession codes [Our code is available at Github link: https://github.com/SPBU-LiPengyi/DKDL-Net.git.](https://github.com/SPBU-LiPengyi/DKDL-Net.git.) Additional information Correspondence and requests for materials should be addressed to P.L. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to [obtain permission directly from the copyright holder. To view a copy of this licence, visit ​h​t​t​p​:​/​/​c​r​e​a​t​i​v​e​c​o​m​m​o​](http://creativecommons.org/licenses/by-nc-nd/4.0/) [n​s​.​o​r​g​/​l​i​c​e​n​s​e​s​/​b​y​-​n​c​-​n​d​/​4​.​0​/.](http://creativecommons.org/licenses/by-nc-nd/4.0/) ​​ © The Author(s) 2025

섹션 본문 73문단 · 24,542자

(제목 없음)

1Rolling bearing fault detection has developed rapidly in the field of fault diagnosis technology, and it occupies a very important position in this field.Deep learning-based bearing fault diagnosis models have achieved significant success.At the same time, with the continuous improvement of new signal processing technologies such as Fourier transform, wavelet transform and empirical mode decomposition, the fault diagnosis technology of rolling bearings has also been greatly developed, and it can be said that it has entered a new research stage.However, most of the existing methods are limited to varying degrees in the industrial field.The main ones are fast feature extraction and computational complexity.The key to this paper is to propose a lightweight bearing fault diagnosis model DKDL-Net to solve these challenges.The model is trained on the CWRU data set by decoupling knowledge distillation and low rank adaptive fine tuning.Specifically, we built and trained a teacher model based on a 6-layer neural network with 69,626 trainable parameters, and on this basis, using decoupling knowledge distillation (DKD) and Low-Rank adaptive (LoRA) fine-tuning, we trained the student sag model DKDL-Net, which has only 6838 parameters.Experiments show that DKDL-Net achieves 99.48% accuracy in computational complexity on the test set while maintaining model performance, which is 0.58% higher than the state-of-the-art (SOTA) model, and our model has lower parameters.

2Heavyweight models are usually able to achieve higher accuracy due to having more parameters, benefiting from their stronger fitting ability.However, this also comes with a higher inference overhead.In contrast, lightweight models, although slightly lacking in accuracy, significantly reduce inference costs and are suitable for resource-constrained application scenarios.The key to whether a model can be applied in industry lies in its lightweight nature, high accuracy, and robustness.

3Models based on acoustic signals typically transform time-domain signals into frequency-domain signals using techniques such as Short-Time Fourier Transform (STFT) 37 , Empirical Mode Decomposition (EMD) 38,39 , and envelope spectrum analysis.Neural network models are then built to extract features, and finally, classification is performed through fully connected layers to achieve bearing fault diagnosis.Based on this process, we have constructed a lightweight bearing fault detection model.

4In this paper, first, we trained a Teacher model with a large number of parameters, and then trained a lightweight Student model using DKD 40 .This Student model has only one convolutional layer, one pooling layer, and one fully connected layer.The Student model, guided by the Teacher model during training, has a significantly lower number of parameters.However, we found that the accuracy of the Student model was 2% lower than that of the Teacher model.To address this, we introduced a Low-Rank Adaptation (LoRA) 41 to finetune the Student model, which improved accuracy by 1.5% with a relatively short training time.Compared to traditional knowledge distillation and fine-tuning methods, the combination of DKD and LoRA fine-tuning ensures model performance while significantly reducing the number of training parameters.

5We propose a model for industrial application in rolling bearing fault detection and contributions are fourfold:

6• We developed a lightweight rolling bearing fault detection model based on DKD, characterized by a single-layer neural network, It is compressed by 90.20% compared to the teacher model (6-layer neural network).• We improved the model's performance after knowledge distillation by using a LoRA fine-tuning method, addressing the performance degradation issue.• Compared to other lightweight models, our approach demonstrates superior performance on the CWRU dataset, with average accuracy, precision, recall, and F1-Score all higher than those of other models.Our F1-Score reached 99.50%, and the trainable parameters of our model are only 6,838.• Compared to the SOTA model our model improved the F1-Score by 0.58%.

Related work

7Bearing fault detection.The fault detection of rolling bearings typically involves checking whether the three components of the bearing (outer race, inner race, rolling elements) are faulty.The structure of the bearing is visualized as shown in Fig. 1.There are 10 categories of bearing sounds 42 , where one category represents health components, three categories represent damaged rolling elements, three categories represent damaged inner races (IR), and three categories represent damaged outer races (OR).Once abnormal vibrations occur in the bearing, it indicates a fault.

8Convolutional neural network.There has been extensive work on bearing fault detection models based on convolutional neural networks.The Adaptive Deep Convolutional Neural Network (ADCNN) 43 utilizes the distribution of key information in discrete frequency bands to diagnose the health status of rotating components.The 2D LeNet-5 44 preprocessing.The lightweight multi-scale CNN 45 introduces depthwise separable convolution in a multi-scale CNN to reduce the model's storage and computational costs.The hybrid deep neural network model integrated with Principal Component Analysis (PCA) 46 based model combines RNN and CNN, using bidirectional long short-term memory (BiLSTM) to enhance the extraction of time-series data features, and finally employs an Attention mechanism to improve the model's accuracy.KDSCNN 47 is a CNN model based on KD and model parameters are only 5890.BearingPGA-Net 48 is a lightweight model trained with DKD and applied on an FPGA module.MCNN-LSTM 31 is a model based on CNN and LSTM, which first uses CNN to extract features and then processes classification according to the time series information from LSTM.FaultNet 49 and WDCNN 33 are CNN models based on convolutional kernels of different scales.

9While these models have achieved commendable performance, none of them offers a low-parameter model that combines high efficiency and accuracy.

10Model compression.Neural network compression involves various techniques, including model pruning, parameter quantization, low-rank decomposition, knowledge distillation (KD), and lightweight model design 50 .Model pruning 51 can reduce the accuracy and lead to irregular structures.Parameter quantization 51 requires extensive training and fine-tuning.Low-rank decomposition 52 involves decomposing and training layer-bylayer parameters, which can be challenging for highly complex models.KD 53 is a method where a teacher model guides the training of a student model.The teacher model is typically complex, while the student model can have a simple structure, such as a single-layer network.This method achieves significant compression with minimal accuracy loss.Lightweight model design is challenging to combine with other compression methods 54 .

11If improperly combined, it can lead to lower performance and poor generalization.

12All in all, KD, on the other hand, can significantly reduce model parameters while maintaining high accuracy.In fact, the algorithm mentioned in this article shows an accuracy drop of less than 2%.

13DKD 40 is an algorithm that addresses the inefficiency problem of traditional knowledge distillation.It enhances the knowledge distillation process by decomposing and separately optimizing different components of the knowledge transfer from the teacher model to the student model.DKD divides traditional knowledge distillation into two independent parts: Target Class Knowledge Distillation (TCKD) and Non-Target Class Knowledge Distillation (NCKD), and defines separate loss functions to optimize the model.DKD is already a mature algorithm and has been widely applied in various tasks such as large language models LLMs 55 , LVM 56 , and object detection 57 .It is highly efficient for model compression.

14Fine-tuning.LoRA was first proposed for fine-tuning LLMs 41 for downstream tasks, such as fine-tuning GPT for grammar correction 58 , fine-tuning Llama for fire safety training 59 , and fine-tuning Stable Diffusion to enhance image generation for specific tasks 60 .LoRA achieves this by decomposing the weight matrices into low-rank matrices.This approach significantly reduces the number of parameters that need to be fine-tuned, decreases the storage requirements of the model, and lowers the computational complexity, while enabling fast learning with less data 61 .As a result, both inference and training become more efficient.

15In CNNs, LoRA can be used to compress the model by applying low-rank decomposition to the convolutional kernels 62 , thereby reducing the number of parameters to be trained.This approach reduces the model's storage and computational costs.After fine-tuning a CNN model with LoRA, both inference speed and training time are greatly improved.Using low-rank decomposition for object detection 63 enhances the model's performance while reducing its parameters.Compared to the original CNN model, a LoRA fine-tuned model can operate under lower hardware resource conditions.

16Our idea is to propose a model based on DKD training and LoRA fine-tuning.And model is not only fast in reasoning but also possesses high accuracy.

CNN and classification

17A CNN consists of n (n ∈ {0, 1, 2, . . . ,n}) convolutional layers and m (m ∈ {0, 1, 2, . . . ,m}) pooling layers.Convolutional layers use multiple filters to convolve over feature maps, extracting features.The extracted features are then passed through activation functions for non-linear transformations, helping to mitigate issues like vanishing gradients during training.Pooling layers are used to reduce the number of features, thus decreasing computational complexity.

18The output value a l j of the j − th unit of the convolutional layer l is given by Eq. ( 1).

19The activation value a l j in the pooling layer l is given by Eq. ( 2).

20where down( * ) represents the pooling function.Common pooling functions include average pooling, max pooling, min pooling, and stochastic pooling.b l j denotes the bias, β l j represents the multiplier residual, and M l is the size of the pooling window used in the l-th layer.

21After the model extracts features through convolutional layers, it needs to classify the feature data.Generally, classification tasks uses a cross-entropy (CE) 64 loss as a objective function, the expression for CE is as in Eq. (3).By optimizing the cross-entropy loss, the model's classification accuracy is improved.

22where N denotes the number of categories, yn denotes true label, log(pn) denotes natural logarithm of the predict probability of n-th label from model, zn is raw scores from model output of n-th label, pn predicted probability for the n-th label.

Decoupled knowledge distillation (DKD)

23Although there are various types of knowledge distillation, we use DKD for improvement our model.First, in the classical KD, the logit, li, computed for each class is converted to a probability pi by using the sof tmax( * ) function as shown in Eq. ( 4).

24where N denotes the number of classes.

25Then, we use binary probabilities b = [pt, p¬t] ∈ R 1×2 to distinguish between predictions related and unrelated to the target class, where pt denotes the target class and p¬t denotes the non-target class, calculated as shown Eq. ( 6).

26Meanwhile, we use pi = p i p t to denote the probability between non-target categories (i.e., without considering the target category t) calculated as Eq.(7).

27Classical KD uses KL-Divergence as the loss function, and further, we re-represent KD using the binary probability b and the non-target class p, T and S stand for teacher and student, respectively.represented as Eq.(8).

28Simplifying, we can rewrite Eq. ( 8) as Eq. ( 9) X by Eq. ( 4) and Eq.(7).

29Simplifying, KD can then be rewrite as Eq.(10).

30where KL(b T ∥ b S ) denotes the similarity between teacher and student probabilities in the target class, which we refer to as Target Class Knowledge Distillation (TCKD), and KL(p T ∥ pS ) denotes the similarity between teacher and student probabilities in the non-target class, which we refer to as Non-Target Class Knowledge Distillation (NCKD), and thus we can rewrite KD Eq. (11).

31Observing the latest KD formulation, we find that on the one hand NCKD is coupled with (1 − p T t ), which would suppress NCKD for well-predicted samples.On the other hand, the weights of NCKD and TCKD are coupled in the classical KD framework, which does not allow to change the weights of each term in order to balance the importance.Therefore DKD introduces two hyperparameters α and β as weights for TCKD and NCKD, respectively.Thus the loss function of DKD can be written as Eq.(12).

32where β replaces (1 − p T t ) to prevent inhibiting the effectiveness of the NCKD, and secondly, α and β can be allowed to be adjusted to achieve a balance of importance.By optimizing this decoupling loss, the knowledge gained by the teacher model is more easily transferred to the student model, thus improving the performance of the student network.

Low-rank adaptation (LoRA)

33LoRA is a method for efficiently fine-tuning pre-trained models on specific tasks.This algorithm reduces the fine-tuning parameters using a low-rank approach while enhancing the model's performance on the given task.Fine-tuning with fewer parameters can achieve over 90% of the performance of full fine-tuning.For a pre-trained model with a weight parameter matrix W0 ∈ R d×k , ∆W ∈ R d×k represents the fine-tuning parameters for a specific task.∆W is a lower-dimensional parameter matrix that can be expressed as B × A, where B ∈ R d×r and A ∈ R r×k , with r ≪ k.Thus, the parameter count of ∆W is smaller than that of W0.The LoRA algorithm as show in the Eq. ( 13), with its key idea being to decompose the parameter matrix using a low-rank matrix decomposition.

34Our DKDL-Net model

35The DKDL-Net model is based on the DKD approach, where a Teacher model guides the training of a Student model.The model framework is illustrated in Fig. 2. The Teacher model is a large-scale model with a substantial number of parameters, and its increased depth enhances accuracy in bearing fault detection.However, the large parameter size of the Teacher model results in slow inference speed, making it unsuitable for efficient industrial tasks.Therefore, we trained the Student model using the DKD method.This model is a single-layer neural network, meaning it has fewer parameters and faster inference speed.However, since the Student model is derived from significant parameter compression, its accuracy decreases.In simple experimental analyses of bearing fault detection, the Student model's accuracy is approximately 2% lower compared to the Teacher model.Through extensive research, we found that we can further fine-tune the Student model using the LoRA approach.The model framework is illustrated in Fig. 3. Typically, LoRA involves low-rank decomposition of the model's convolutional and fully connected layers.In this task, we cannot reduce the model's parameters further, as experiments have shown that this would decrease the model's accuracy.Therefore, we integrated the LoRA module into the single-layer network.

36In the DKDL-Net network, we copied the parameters from the Student model.The parameters of the A matrix in the LoRA module are initialized with data following a normal distribution N (0, σ 2 ), while the B matrix is initialized to 0. This approach allows us to enhance the model's accuracy by adding only a small number of parameters.where γ is a learnable parameter to balance CE and DKD Loss.

37Finally, incorporating the LoRA plug-and-play module into the Student model, we fine-tune it using the CWRU dataset with CE Loss as the loss function, mathematically defined as Eq. ( 3).The pseudocode for the DKDL-Net algorithm is presented in Algorithm 1.

Structural configuration of the model

38The framework of the Teacher model is shown in Fig. 2 (top), and the relevant parameter configurations for the model's input, output, and convolutional kernel size are presented in Table 1.

39The Student model is a single layer network and framework shown in Fig. 2 (below), and the relevant parameter configurations for the model's input, output, and convolutional kernel size are presented in Table 2.

40The DKDL-Net model is a single layer network and framework shown in Fig. 3, adding LoRA module before convolutional and fully connected layers, and the relevant parameter configurations for the model's input, output, and convolutional kernel size are presented in Table 3.

Experimental configurations

41Environment configuration.All experiments for this model were conducted on a Windows 11 system with an Intel Core i7-9850H CPU at 2.60GHz and an NVIDIA GeForce GTX 1650 with Max-Q Design 4GB GPU.The code was run in an environment with Python 3.10.13and PyTorch 2.0.1+cu117.

42During the training of DKDL-Net, we utilized the Adaptive Moment Estimation (Adam) optimizer with a learning rate (LR) of 0.005 and a weight decay coefficient of 0.0001.We employed the cross-entropy loss function evaluate the loss between true and predicted labels.

43Baseline.We selected MCNN-LSTM, FaultNet, BearingPGA-Net, KDSCNN, and WDCNN models as our baseline models.Among these, BearingPGA-Net and WDCNN are SOTA (state-of-the-art) models.However, BearingPGA-Net is more of a lightweight model, whereas WDCNN is a relatively large-scale model.KDSCNN is also a lightweight model and is comparable to our model.

44Benchmark.Our benchmark is based on the CWRU dataset, curated by the Case Western Reserve University Bearing Data Center.The machine to generate the CWRU dataset is shown in Fig. 4.This dataset includes ten categories, comprising nine types of faulty bearings and one healthy bearing.Vibration data are collected at 12 kHz and 48 kHz.The fault types and labels of the CWRU dataset are shown in Table 4, waveforms as shown in Fg. 5.

45Evaluation metrics.We use Accuracy, Precision, Recall and F1-Score to evaluate the performance of our model, which is calculated as in Eqs.(15) (16) (17) (18).

46where TP represents True Positive, TN represents True Negative, FP represents False Positive, FN represents False Negative.

Bearing fault detection experimental results

47We conducted experiments on the CWRU dataset, and as shown in Table 5, the ratio of test data and training data is divided into 33.3% and 66.7%, the F1-Score of the DKDL-Net model is higher than that of the MCNN-LSTM, FaultNet, BearingPGA-Net, KDSCNN, and WDCNN models.Additionally, compared to the state-ofthe-art (SOTA) model, our model achieved an improvement of 0.58%.Despite having only 6838 parameters, our model has a higher accuracy than BearingPGA-Net by 0.58%, with only 4008 more parameters.Compared to the KDSCNN model, our model has 948 more trainable parameters, yet it outperforms KDSCNN by 0.98%.In summary, the DKDL-Net (our) model achieves higher accuracy while maintaining fewer parameters and lower Flops.

48As shown in Table 6, we evaluated the F1-Score, Precision, and Recall of the DKDL-Net model on the test dataset of CWRU.The DKDL-Net model outperforms the BearingPGA-Net, FaultNet, and MCNN-LSTM models in all three metrics.Compared to the best-performing BearingPGA-Net (SOTA) model, we achieved an improvement of nearly 0.55% across all three metrics.In conclusion, our model is the best-performing model on the CWRU dataset.

49As shown in Table 7, under the same configuration, our student model trained using Decoupled Knowledge Distillation (DKD) has 2,830 parameters.Compared to the teacher model, the student model's trainable parameters are reduced by approximately 95.93%, but its F1-Score, Precision, and Recall decrease by 2.07%, 1.92%, and 2.08%, respectively.This indicates that while the DKD model can compress model parameters, its accuracy significantly decreases.

50On the other hand, the DKDL-Net model, based on DKD compression and LoRA fine-tuning, has 6,838 trainable parameters.Compared to the teacher model, the DKDL-Net model's trainable parameters are reduced by approximately 90.20%, indicating that DKDL-Net can significantly reduce model complexity and resource requirements.The F1-Score, Precision, and Recall decrease by only 0.09%, 0.12%, and 0.12%, respectively.This demonstrates that the accuracy loss caused by the DKDL-Net model compared to the teacher model is negligible.Therefore, the DKDL-Net model effectively compresses parameters while maintaining high accuracy.

51In summary, our model achieves a compression ratio of 90.20% with a negligible decrease in accuracy compared to the Teacher model, making it highly efficient in terms of compression while maintaining high accuracy.

52Finally, we computed the confusion matrices for the DKDL-Net model as shown in Fig. 6b, Student model as shown in Fig. 6a, and Teacher model as shown in Fig. 6c on the CWRU dataset, with 2,500 test samples, 250 samples per class.

53We plotted the ROC curves for both the DKDL-Net model and the student model show in Fig. 7.As shown in Fig. 7b for the DKDL-Net model and Fig. 7a for the student model, it can be observed that the ROC curve for the student model is more jagged, while the ROC curve for the DKDL-Net model is smoother.Additionally, the area under the curve (AUC) for each class in the DKDL-Net model is generally larger than that of the student model.This indicates that our algorithm outperforms the student model's algorithm, demonstrating better performance.

54We tested the DKDL-Net model on the CWRU bearing fault detection dataset.Under the same training configuration as see Section Experimental Configurations, we tested 2500 samples, result as Shown in Ablation experiment.We fixed the β and γ parameters and analyzed the influence of different alphas on the model.The results are presented in Table 9.In terms of the results in Fig. 8, we fixed the alpha at 0.3 and analyzed the influence of beta and gamma on the model.We analyzed that when beta is greater than gamma, the performance ability of the model will improve.The experimental results show that the model is able to exhibit strong performance when β is larger than γ.

Discussion

55In this article, we propose a CNN model named DKDL-Net, which is based on decoupled knowledge distillation training and Low-Rank Adaptation fine-tuning.DKDL-Net is a single-layer neural network with only 6,838 parameters and an inference speed of 1,767 µs.It achieved an F1-Score of 99.50% on the CRWU dataset, representing a 0.60% improvement in F1-Score compared to the state-of-the-art (SOTA) models.Therefore, our model is highly efficient in detection while maintaining high accuracy.Moreover, the model is extremely lightweight, making it suitable for practical industrial applications.

56(limatations and future work)While our model excels on the CWRU dataset, its generalizability to other datasets (e.g., Paderborn or SEU) remains untested.Additionally, the 0.5% residual accuracy gap compared to the teacher model suggests room for improvement in distillation efficiency.Future work could explore hybrid compression techniques (e.g., pruning + DKD) or adaptive LoRA ranks to further narrow this gap.Expanding evaluations to heterogeneous data sources and investigating cross-domain transferability would also validate broader applicability.

Fig. 1 .

57Fig. 1.Structure of rolling bearings.

Fig. 2 .

58Fig. 2. Architecture of the Model.(top) Teacher Model, (below) Student Model.

Fig. 3 .Algorithm 1 .

59Fig. 3. Architecture of the DKDL-Net Model.

Fig. 4 .

60Fig. 4. Data collection machine tools.

61and the DKDL-Net model required an average of 1757 µs per sample.DKDL-Net model with teacher model have 1x faster inference.This figure also demonstrates the high efficiency of our model.Overall, the DKDL-Net model outperformed the Student model, and its performance was comparable to that of the Teacher model.Therefore, our DKDL-Net model can maintain good results even under high compression.

Fig. 5 .

62Fig. 5. Bearing abnormal and normal waveform format.

Fig. 6 .

63Fig. 6.Confusion matrix for student model and DKDL-Net model on CWRU dataset.

Fig. 8 .

64Fig. 8. Performance comparison under different combinations of γ and β.

Table 9 .Table 8 .

6596.09 95.93 96.13 95.76 94.04 Accuracy (%) under different values of α, where γ and β is fixed.Model Num. of test samples Avg.inference time(µs) Inference time for the DKDL-Net model.

Fig. 7 .

66Fig. 7. ROC curves for student and DKDL-Net models on the CWRU dataset.

Table 1 .

67Teacher model parameters applied.

Table 3 .

68DKDL-Net model.

Table 2 .

69Student model parameters.

Table 4 .

70The labels in the CWRU dataset and their corresponding fault types.

Table 7 .

71Comparison of the parameters and assessment metrics of the teacher model, student model and DKDL-Net model.

Table 6 .

72Comparison of bearing fault diagnosis precision, Recall and F1-Score with different algorithms.

Table 5 .

73Comparison of F1-Score, model size and computational cost among different bearing fault diagnosis algorithms.

참고문헌 54건

  1. Increased Efficiency Versus Increased Reliability IEEE Industry Applications Magazine · Institute of Electrical and Electronics Engineers · 2008 10.1109/mia.2007.909802
  2. Empirical Mode Decomposition as a Filter Bank IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2004 10.1109/lsp.2003.821662
  3. Signal estimation from modified short-time Fourier transform IEEE Transactions on Acoustics Speech and Signal Processing · Institute of Electrical and Electronics Engineers · 1984 10.1109/tassp.1984.1164317
  4. Multivariate empirical mode decomposition Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2009 10.1098/rspa.2009.0502
  5. A Tutorial on the Cross-Entropy Method Annals of Operations Research · Springer Science+Business Media · 2005 10.1007/s10479-005-5724-z
  6. A review of induction motors signature analysis as a medium for faults detection IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2000 10.1109/41.873206
  7. Rolling bearing fault diagnosis using an optimization deep belief network Measurement Science and Technology · IOP Publishing · 2015 10.1088/0957-0233/26/11/115002
  8. 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
  9. Bearing Fault Diagnosis Based on Deep Belief Network and Multisensor Information Fusion Shock and Vibration · Hindawi Publishing Corporation · 2016 10.1155/2016/9306205
  10. 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
  11. A recurrent neural network based health indicator for remaining useful life prediction of bearings Neurocomputing · Elsevier BV · 2017 10.1016/j.neucom.2017.02.045
  12. Rolling bearing fault prognosis using recurrent neural network 2022 34th Chinese Control and Decision Conference (CCDC) · 2017 10.1109/ccdc.2017.7978700
  13. A deep convolutional neural network with new training methods for bearing fault diagnosis under noisy environment and different working load Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.06.022
  14. Bearing remaining useful life prediction based on deep autoencoder and deep neural networks Journal of Manufacturing Systems · Elsevier BV · 2018 10.1016/j.jmsy.2018.04.008
  15. Unsupervised fault diagnosis of rolling bearings using a deep neural network based on generative adversarial networks Neurocomputing · Elsevier BV · 2018 10.1016/j.neucom.2018.07.034
  16. Stacked Convolutional Bidirectional LSTM Recurrent Neural Network for Bearing Anomaly Detection in Rotating Machinery Diagnostics 2018 1st IEEE International Conference on Knowledge Innovation and Invention (ICKII) · 2018 10.1109/ickii.2018.8569065
  17. A Novel Hierarchical Algorithm for Bearing Fault Diagnosis Based on Stacked LSTM Shock and Vibration · Hindawi Publishing Corporation · 2019 10.1155/2019/2756284
  18. Imbalanced Fault Diagnosis of Rolling Bearing Based on Generative Adversarial Network: A Comparative Study IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2018.2890693
  19. A Review on Convolutional Neural Network in Bearing Fault Diagnosis MATEC Web of Conferences · EDP Sciences · 2019 10.1051/matecconf/201925506002
  20. Deep Learning Algorithms for Bearing Fault Diagnostics—A Comprehensive Review IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2972859
  21. Automated bearing fault diagnosis scheme using 2D representation of wavelet packet transform and deep convolutional neural network Computers in Industry · Elsevier BV · 2019 10.1016/j.compind.2019.01.008
  22. Smart Fault-Detection Machine for Ball-Bearing System with Chaotic Mapping Strategy Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19092178
  23. Low-Rank Matrix Completion: A Contemporary Survey IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2928130
  24. A new bearing fault diagnosis method based on modified convolutional neural networks Chinese Journal of Aeronautics · Elsevier BV · 2019 10.1016/j.cja.2019.07.011
  25. A New Deep Transfer Learning Method for Bearing Fault Diagnosis Under Different Working Conditions IEEE Sensors Journal · IEEE Sensors Council · 2019 10.1109/jsen.2019.2936932
  26. An adaptive deep transfer learning method for bearing fault diagnosis Measurement · Elsevier BV · 2019 10.1016/j.measurement.2019.107227
  27. FEM Simulation-Based Generative Adversarial Networks to Detect Bearing Faults IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tii.2020.2968370
  28. A comprehensive survey on model compression and acceleration Artificial Intelligence Review · Springer Science+Business Media · 2020 10.1007/s10462-020-09816-7
  29. Rolling-Element Bearing Fault Diagnosis Using Improved LeNet-5 Network Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20061693
  30. Domain adaptive deep belief network for rolling bearing fault diagnosis Computers & Industrial Engineering · Elsevier BV · 2020 10.1016/j.cie.2020.106427
  31. Bearing Fault Detection and Diagnosis Using Case Western Reserve University Dataset With Deep Learning Approaches: A Review IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2990528
  32. Bearing fault diagnosis base on multi-scale CNN and LSTM model Journal of Intelligent Manufacturing · Springer Science+Business Media · 2020 10.1007/s10845-020-01600-2
  33. Knowledge Distillation: A Survey International Journal of Computer Vision · Springer Science+Business Media · 2021 10.1007/s11263-021-01453-z
  34. Enhanced Lightweight Multiscale Convolutional Neural Network for Rolling Bearing Fault Diagnosis IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3041735
  35. Fault Diagnosis of Rolling Bearings Based on an Improved Stack Autoencoder and Support Vector Machine IEEE Sensors Journal · IEEE Sensors Council · 2020 10.1109/jsen.2020.3030910
  36. FaultNet: A Deep Convolutional Neural Network for Bearing Fault Classification IEEE Access · Institute of Electrical and Electronics Engineers · 2021 10.1109/access.2021.3056944
  37. Deep Transfer Learning Method Based on 1D‐CNN for Bearing Fault Diagnosis Shock and Vibration · Hindawi Publishing Corporation · 2021 10.1155/2021/6687331
  38. Pruning and quantization for deep neural network acceleration: A survey Neurocomputing · Elsevier BV · 2021 10.1016/j.neucom.2021.07.045
  39. A robust approach for industrial small-object detection using an improved faster regional convolutional neural network Scientific Reports · Nature Portfolio · 2021 10.1038/s41598-021-02805-y
  40. A new intelligent bearing fault diagnosis model based on triplet network and SVM Scientific Reports · Nature Portfolio · 2022 10.1038/s41598-022-08956-w
  41. Decoupled Knowledge Distillation 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2022 10.1109/cvpr52688.2022.01165
  42. Bearing fault detection with vibration and acoustic signals: Comparison among different machine leaning classification methods Engineering Failure Analysis · Elsevier BV · 2022 10.1016/j.engfailanal.2022.106515
  43. A neural network compression method based on knowledge-distillation and parameter quantization for the bearing fault diagnosis Applied Soft Computing · Elsevier BV · 2022 10.1016/j.asoc.2022.109331
  44. Rolling Bearing Fault Diagnosis Using Hybrid Neural Network with Principal Component Analysis Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22228906
  45. Deep Transfer Learning for Bearing Fault Diagnosis: A Systematic Review Since 2016 IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2023 10.1109/tim.2023.3244237
  46. Model Compression for Deep Neural Networks: A Survey Computers · Multidisciplinary Digital Publishing Institute · 2023 10.3390/computers12030060
  47. When Object Detection Meets Knowledge Distillation: A Survey IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2023 10.1109/tpami.2023.3257546
  48. Bearings in Aerospace, Application, Distress, and Life: A Review Journal of Failure Analysis and Prevention · Springer Science+Business Media · 2023 10.1007/s11668-023-01658-z
  49. GrammarGPT: Exploring Open-Source LLMs for Native Chinese Grammatical Error Correction with Supervised Fine-Tuning Lecture notes in computer science · Springer Science+Business Media · 2023 10.1007/978-3-031-44699-3_7
  50. Review of large vision models and visual prompt engineering Meta-Radiology · Elsevier BV · 2023 10.1016/j.metrad.2023.100047
  51. BearingPGA-Net: A Lightweight and Deployable Bearing Fault Diagnosis Network via Decoupled Knowledge Distillation and FPGA Acceleration IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2023 10.1109/tim.2023.3346517
  52. Tensor Factorization for Leveraging Cross-Modal Knowledge in Data-Constrained Infrared Object Detection 2023 10.1109/iccvw60793.2023.00099
  53. A rolling bearing fault diagnosis method based on interactive generative feature space oversampling-based autoencoder under imbalanced data Structural Health Monitoring · SAGE Publishing · 2024 10.1177/14759217241248209
  54. A fine-tuning deep learning framework to palliate data distribution shift effects in rotary machine fault detection Structural Health Monitoring · SAGE Publishing · 2024 10.1177/14759217241295951