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

A multi-domain collaborative denoising bearing fault diagnosis model based on dynamic inter-domain attention mechanism and noise-aware loss function

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

기본 정보

저자
  1. Weilin Cao — School of Artificial Intelligence, Neijiang Normal University, Sichuan, China
  2. Liqiang Zhang — School of Artificial Intelligence, Neijiang Normal University, Sichuan, China
DOI
10.1371/journal.pone.0326666
저널
PLoS ONE
발행년도
2025
발행기관
Public Library of Science
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1371/journal.pone.0326666
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4411689088

평가 내용

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

초록

Rolling bearings are the core transmission components of large-scale rotating machinery such as wind power gearboxes and aviation engines, so timely and effective monitoring and diagnosis of their status are crucial to ensure the stable operation of equipment, reduce maintenance costs, and improve production efficiency. However, the noise interference in the industrial field often hides the original characteristics of the bearing fault signal, leading to the deep learning-based fault diagnosis model's lack of diagnostic reliability in the strong industrial noise background. To address this problem, this paper proposes a multi-domain collaborative denoising diagnostic model based on dynamic inter-domain attention mechanism and noise-aware loss function. First, the model extracts high-dimensional features of bearing fault signals from multiple domains, such as time and frequency domains, aiming to enhance the richness and diversity of high-dimensional features to effectively suppress noise interference on the diagnostic results. Second, the dynamic inter-domain attention mechanism (DIDAM) is proposed, aiming to distinguish the importance of information in different signal domains and flexibly integrate them to realize more efficient and accurate multi-domain information fusion. Finally, the noise-aware loss function (NALF) is designed to avoid the phenomenon of the conduction model being prone to making wrong decisions due to excessive noise. Experimental results on two publicly available datasets, CWRU and MFPT, show that even in the extreme noise environment with SNR = -10 dB, the proposed model still achieves 81.25% and 76.36% fault diagnosis accuracies, which are better than most existing mainstream denoising models. Overall, the proposed method can still perform well under substantial noise interference, providing a new idea for intelligent bearing fault diagnosis in real industrial scenarios.

본문 68,626자

본문 펼치기
# PLOS ONE OPEN ACCESS Citation: Cao W, Zhang L (2025) A multi-domain collaborative denoising bearing fault diagnosis model based on dynamic inter-domain attention mechanism and noise-aware loss function. PLoS One 20(6): e0326666. [https://doi.org/10.1371/journal.pone.0326666](https://doi.org/10.1371/journal.pone.0326666) Editor: Burak Erkayman, Ataturk University, TÜRKIYE Received: March 18, 2025 Accepted: June 3, 2025 Published: June 26, 2025 Peer Review History: PLOS recognizes the benefits of transparency in the peer review process; therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. The editorial history of this article is available [here: https://doi.org/10.1371/journal.pone.](https://doi.org/10.1371/journal.pone.0326666) [0326666](https://doi.org/10.1371/journal.pone.0326666) Copyright: © 2025 Cao, Zhang. This is an open access article distributed under the terms of the [Creative Commons Attribution License, which](https://creativecommons.org/licenses/by/4.0/) permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data availability statement: The CWRU and MFPT datasets used in this study are available on Figshare: the CWRU dataset can be RESEARCH ARTICLE ## A multi-domain collaborative denoising bearing fault diagnosis model based on dynamic inter-domain attention mechanism and noise-aware loss function Weilin Cao ∗ , Liqiang Zhang School of Artificial Intelligence, Neijiang Normal University, Sichuan, China ∗ [caoweilin85@163.com](mailto:caoweilin85@163.com) ### Abstract Rolling bearings are the core transmission components of large-scale rotating machinery such as wind power gearboxes and aviation engines, so timely and effec tive monitoring and diagnosis of their status are crucial to ensure the stable operation of equipment, reduce maintenance costs, and improve production efficiency. However, the noise interference in the industrial field often hides the original characteristics of the bearing fault signal, leading to the deep learning-based fault diagnosis model’s lack of diagnostic reliability in the strong industrial noise background. To address this problem, this paper proposes a multi-domain collaborative denoising diagnostic model based on dynamic inter-domain attention mechanism and noise-aware loss function. First, the model extracts high-dimensional features of bearing fault signals from multiple domains, such as time and frequency domains, aiming to enhance the richness and diversity of high-dimensional features to effectively suppress noise interference on the diagnostic results. Second, the dynamic inter-domain attention mechanism (DIDAM) is proposed, aiming to distinguish the importance of information in different signal domains and flexi bly integrate them to realize more efficient and accurate multi-domain information fusion. Finally, the noise-aware loss function (NALF) is designed to avoid the phenomenon of the conduction model being prone to making wrong decisions due to excessive noise. Experimental results on two publicly available datasets, CWRU and MFPT, show that even in the extreme noise environment with SNR = –10 dB, the proposed model still achieves 81.25% and 76.36% fault diagnosis accuracies, which are better than most existing mainstream denoising models. Overall, the proposed method can still perform well under substantial noise interference, providing a new idea for intelligent bearing fault diagnosis in real industrial scenarios. Introduction Rolling bearings are widely used to support rotating shafts and their components due to their strong load-bearing capacity, high motion accuracy, and low friction loss, and therefore PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 1/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model downloaded from 10.6084/m9.figshare.28606778, and the MFPT dataset can be downloaded from 10.6084/m9.figshare.28606802. Funding: This research was supported by the Research and Innovation Team Project of Neijiang Normal University (No. 18TD02). We confirm that the funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Competing interests: The authors have declared that no competing interests exist. are known as the “joints” of rotating machinery and equipment [1]. However, the working environment of rolling bearings is usually more complicated, making them very prone to failure, which may lead to equipment downtime and even cause serious safety accidents [2–4]. In conclusion, the condition of rolling bearings directly affects the operating efficiency, reliability, and safety of mechanical systems, so timely and effective monitoring and diagnosis are essential to ensure the regular operation of equipment [5,6]. Signal processing and machine learning are two common strategies in bearing fault diag nosis. For instance, Wang et al. [7] proposed a fault diagnosis method based on feature vector migration learning. This method involves feature extraction from vibration signals through statistics and wavelet decomposition, then using the ReliefF algorithm to evaluate and select sensitive fault feature sets. Salunkhe et al. [8] pointed out that the dynamic characteristics of rolling bearings are mainly influenced by their geometric structure and operating parameters, and they developed a bearing fault diagnosis method based on the Hilbert-Huang transform. Thamba et al. [9] developed a new method for analyzing the fault patterns of self-aligning bearings and achieved automatic fault classification through artificial neural networks and deep neural networks. Goyal et al. [10] denoised the signals using the Hilbert transform, then applied principal component analysis for dimensionality reduction, followed by the sequential floating forward selection to screen the optimal feature set, and finally, these features were input into support vector machines and artificial neural networks for fault recognition tasks. Signal processing-based methods often rely on prior understanding or assumptions about signal features and may not effectively extract relevant features when dealing with nonlinear and non-stationary signals, thus affecting the accuracy of fault diagnosis. Although machine learning-based methods can automatically extract features, manual feature engineering is still required in many cases, which demands professional knowledge, is time-consuming, and inappropriate feature selection may affect the model’s performance. In recent years, with the continuous upgrade of computer hardware and the increasing maturity of cutting-edge theories such as artificial intelligence, deep learning has become the dominant force in bearing diagnosis research due to its end-to-end training model and outstanding feature representation capabilities [11]. Huang et al. [12] pointed out that traditional Convolutional Neural Networks (CNNs) are prone to falling into local optima when the input signals lack practical information. To address this issue, they proposed the Multi-scale Cascaded Convolutional Neural Network (MC-CNN), which enhances the diversity of signal representation in the frequency domain by introducing filters of different scales, thereby providing more valuable information for fault diagnosis. He et al. [13] believe that the fixed convolution kernel parameters in traditional CNNs limit their ability to extract key features from fault signals. Therefore, they introduced IMSCNN, which uses dilated convolution kernels with different dilation rates to extract multi-scale features, thereby improving the effectiveness of bearing fault diagnosis. Song et al. [14] proposed the strategy of widening convolution kernels to expand the receptive field and designed the WKCNN network structure based on this idea. Experimental results show that WKCNN outperforms other methods regarding diagnostic accuracy and timeliness. Hou et al. [15] proposed Diagnosisformer, an attention-based multi-feature parallel fusion model for rolling bearing fault diagnosis. This method extracts frequency domain features through the Fast Fourier Transform (FFT) and designs a multi-feature fusion module to capture more information from different receptive fields, extract essential features, and maintain global dependency relationships. Guo et al. [16] proposed an end-to-end fault diagnosis method that combines Attention CNN with a Bidirectional Long Short-Term Memory network (BiLSTM) (ACNN-BiLSTM). This method extracts short-term spatiotemporal features through one-dimensional wide convolution and PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 2/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model introduces a convolution block attention module to adjust the weights of different feature dimensions dynamically, finally inputting the weighted features into BiLSTM for fault diagnosis. Liao et al. [17] proposed the MSRN-EGRU model, a hybrid deep learning model that combines a Multi-scale Residual Neural Network (MSRN) with an Enhanced Gated Recurrent Unit (EGRU). Experimental results show the model’s accuracy, robustness, and convergence in bearing fault diagnosis. However, the studies above did not consider the noisy and harsh working conditions bearings face in industrial environments. In industrial applications, bearings often operate against a backdrop of strong noise, such as high-speed operation of equipment, external environmental noise, and vibrations from other mechanical components [18–20]. These noise interferences can mask the original characteristics of the bearing fault signal, making it difficult to accurately identify fault types, significantly affecting the accuracy and robustness of deep learning-based fault diagnosis methods [21,22]. Researchers have proposed a series of anti-noise models to address noise interference in bearing fault diagnosis. Li et al. [23] have proposed a clustering algorithm based on deep convolutional neural networks, which reduces the discrepancy between training and testing data by minimizing intra-cluster variance and maximizing inter-cluster variance, thereby enhancing the model’s robustness under noise and varying working conditions. Chen et al. [24] introduced the MCNN-LSTM model, which uses multi-scale convolution kernels to extract high-frequency and low-frequency components of vibration signals and identifies the type of fault through a Long Short-Term Memory network (LSTM). Hakim et al. [25] transformed the signal from the time domain to the frequency domain using Fast Fourier Transform (FFT), separated the amplitude and phase using phase representation, and then inputted it into a 1D-CNN to enhance the model’s anti-noise capability. Li et al. [26] proposed an end-to-end Adaptive Multi-scale Full Convolutional Network (AMFCN), which improves adaptability to noise through random sampling and employs large convolution kernels for wide-range temporal feature extraction, effectively suppressing high-frequency noise and significantly improving the model’s anti-noise performance and robustness, outperforming traditional CNNs and other multi-scale CNN models. Wang et al. [27] designed an Adaptive Denoising Convolutional Neural Network (ADCNN), which removes noise through adaptive denoising units while preserving key fault features, and further enhances anti-noise capability by reducing the number of channels and increasing the size of convolution kernels. Han et al. [28] proposed a Deep Residual Multi-scale Convolutional Neural Network with an attention mechanism (Attention-MSCNN), which effectively removes noise through residual connections and a denoising multi-head attention mechanism and captures the relationships in long-term sequences. Gao et al. [29] proposed an Adaptive Global-Local Denoising Multi-Time Scale Attention Residual Shrinkage Network (AMARSN), which enhances discriminability under noise through a multi-time scale attention learning module and removes noise from multi-scale fault features through an adaptive denoising module. Although existing denoising models have made some progress, they still have many shortcomings when faced with strong noise environments. Firstly, most methods focus solely on processing time-domain signals, neglecting key information contained in other potential domains. This results in the model’s difficulty in accurately extracting the original features of fault signals under strong background noise, limiting its ability to express high-dimensional features of different fault patterns. Secondly, although some methods attempt to extract signal features from different domains, they rely solely on fixed feature concatenation or fusion approaches, failing to fully address the differential contributions of features from different signal domains to model performance, leading to poor multi-source information fusion. Lastly, existing denoising models typically use the standard cross-entropy function PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 3/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model for network parameter updates, neglecting the possibility that strong noise environments may lead the model to make incorrect decisions, resulting in deviations in the direction of gradient updates. Therefore, this paper proposes a multi-domain collaborative denoising bearing fault diagnosis model based on a dynamic inter-domain attention mechanism and a noise-aware loss function, with the following contributions: 1. A multi-domain collaborative denoising bearing fault diagnosis model is proposed, which can simultaneously extract high-dimensional bearing fault signal features from different domains. The model enhances the richness and diversity of high-dimensional feature expression in the original signals, effectively improving the model’s fault recognition ability under substantial noise interference. 2. Given the expressive differences and complementary relationships among multidomain features, a dynamic inter-domain attention mechanism is designed to achieve more efficient information fusion. This mechanism can flexibly adjust the fusion approach according to the importance of information in each signal domain, improving the efficiency and accuracy of information fusion. 3. Considering that excessive noise may lead the model to make incorrect decisions, resulting in deviations in the direction of gradient updates, a noise-aware loss function is constructed. This loss function can avoid deviations in the model’s gradient update direction caused by strong noise environments, thereby enhancing the stability and reliability of fault diagnosis. Fundamental theories This section elaborates on the three fundamental theories that underpin this research in terms of principles and functionality: the Fast Fourier Transform, the Squeeze-and-Excitation Attention Mechanism, and the Cross-Entropy Loss Function. These theories provide crucial theoretical support and inspiration for the model proposed in this paper and facilitate a deeper understanding of its design and implementation. Fast Fourier transform In the field of fault diagnosis for rotating machinery, time-domain vibration signals often exhibit nonlinear and non-stationary characteristics, and their transient impact components are easily disrupted by background noise. Traditional time-domain analysis methods are sensitive to random noise, making extracting periodic fault features stably challenging. As a core tool in signal processing, the Discrete Fourier Transform (DFT) [30] can convert a discrete signal from the time domain to the frequency domain, thereby extracting frequency domain features and providing mathematical support for fault diagnosis in noisy environments. Specifically, for a discrete signal _x_ ( _n_ ) of length _N_, its DFT is defined as follows: _X_ ( _k_ ) = _N_ –1 ∑ _n_ =0 _x_ ( _n_ ) _e_ <sup>–</sup> <sup>_j_</sup> <sup><u>2</u></sup> _N_ <sup><u>?</u></sup> <sup>_kn_</sup>, _k_ = 0,1, …, _N_ - 1 (1) Here, _X_ ( _k_ ) represents the spectral value of the signal at the k-th discrete frequency point, and _e_ <sup>–</sup> <sup>_j_</sup> <sup><u>2</u></sup> _N_ <sup><u>?</u></sup> <sup>_kn_</sup> is the rotation factor (an element of the rotation matrix), which can also be expressed as: <sup>_kn_</sup> _N_ <sup>=</sup> <sup>_e_</sup> <sup>–</sup> <sup>_j_</sup> <sup><u>2</u></sup> _N_ <sup><u>?</u></sup> _W_ <sup>_kn_</sup> _N_ _N_ <sup><u>?</u></sup> <sup>_kn_</sup> (2) PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 4/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model However, directly computing the DFT requires _N_ <sup>2</sup> complex multiplications and additions, which leads to a substantial computational burden for large _N_ . The Fast Fourier Transform (FFT) [31] is an efficient algorithm for computing the DFT. It employs a divide-and-conquer strategy, drastically reducing the computational cost from _O_ ( _N_ <sup>2</sup> ) to _O_ ( _NlogN_ ) and improving efficiency. Specifically, the FFT decomposes a DFT of length _N_ into two DFTs of length _N_ /2, thereby splitting the summation of a DFT of length _N_ into odd and even parts, as follows: _N_ /2–1 _X_ ( _k_ ) = ∑ _n_ =0 _x_ (2 _n_ ) _W_ <sup>2</sup> _N_ <sup>_kn_</sup> <sup>+</sup> _x_ (2 _n_ ) _W_ <sup>2</sup> _N_ <sup>_kn_</sup> _N_ /2–1 ∑ _n_ =0 _x_ (2 _n_ + 1) _WN_ <sup>(2</sup> <sup>_n_</sup> <sup>+1)</sup> <sup>_k_</sup> (3) By utilizing the periodic nature of the rotation factor, it can be deduced that: _W_ <sup>2</sup> _N_ <sup>_kn_</sup> <sup>_kn_</sup> _N_ /2 <sup>)</sup> <sup>,</sup> <sup>_W_</sup> _N_ <sup>(2</sup> <sup>_n_</sup> <sup>+1)</sup> <sup>_k_</sup> <sup>2</sup> _N_ <sup>_kn_</sup> = ( _W_ <sup>_kn_</sup> _N_ _N_ <sup>(2</sup> <sup>_n_</sup> <sup>+1)</sup> <sup>_k_</sup> = _W_ <sup>_k_</sup> _N_ <sup>_k_</sup> _N_ <sup>_Wkn_</sup> _N_ <sup>_kn_</sup> _N_ /2 (4) Substituting Eq (4) into Eq (3) yields: ⎧⎪⎪⎨⎪⎪⎩ _X_ [ _k_ ] = _X_ even[ _k_ ] + _W_ <sup>_k_</sup> _N_ <sup>_k_</sup> _N_ <sup>⋅</sup> <sup>_X_</sup> <sup>odd[</sup> <sup>_k_</sup> <sup>],</sup> _X_ [ _k_ + _N_ /2] = _X_ even[ _k_ ] – _W_ <sup>_k_</sup> _N_ <sup>_k_</sup> _N_ <sup>⋅</sup> <sup>_X_</sup> <sup>odd[</sup> <sup>_k_</sup> <sup>],</sup> _k_ = 0,1, …, _N_ /2 – 1 (5) Here, _X_ even( _k_ ) represents the DFT computed for the even-indexed terms, and _X_ odd( _k_ ) represents the DFT computed for the odd-indexed terms. In this manner, the computation of a DFT of length _N_ is split into two DFTs of length _N_ /2, combined with a complex multiplication. This recursive process leads to direct computations when _N_ is reduced to 2. Squeeze-and-excitation attention mechanism The attention mechanism mimics the selective processing of human beings to external information, aiming to focus on the key areas of input data, allowing the model to highlight important information adaptively. The Squeeze-and-Excitation (SE) attention mechanism proposed by Hu et al. [32] recalibrates the importance of feature channels through global information squeezing (Squeeze) and channel-wise weight excitation (Excitation), thereby enhancing the network’s ability to focus on key features. As shown in Fig 1, the SE mechanism consists of three steps: Squeeze, Excitation, and Scale. <u>Fig 1. The overall framework of the Squeeze-and-Excitation Attention Mechanism.</u> [https://doi.org/10.1371/journal.pone.0326666.g001](https://doi.org/10.1371/journal.pone.0326666.g001) PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 5/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model Specifically, the Squeeze operation extracts the global spatial information from each channel through global pooling and produces a channel descriptor vector _ZC_, which is computed as follows: _W_ ∑ _j_ =1 <u>1</u> _ZC_ = _Fsq_ ( _UC_ ) = _H_ × _W_ _H_ ∑ _i_ =1 _UC_ ( _i_, _j_ ) (6) In Eq (6), _UC_ signifies the c-th channel (with a dimension of _H_ × _W_ ) of the input feature map _U_ ∈ℝ <sup>_C_</sup> <sup>×</sup> <sup>_H_</sup> <sup>×</sup> <sup>_W_</sup> . Subsequently, _ZC_ is fed into the Excitation module, which consists of two fully connected layers. This module learns the intricate dependencies between channels through dimensionality reduction and expansion and produces the weight values _S_ for each channel. The computation is illustrated as follows: _S_ = _F_ ex( _Z_, _W_ ) = ?( _W_ 2 ⋅?( _W_ 1 ⋅ _Z_ )) (7) _W_ 1 ∈ℝ _<u>Cr</u>_ <sup>×</sup> <sup>_C_</sup> represents the first fully connected layer, which compresses the number of channels from _C_ to <sup>_<u>C</u>_</sup> _r_ <sup>.</sup> <sup>_W_</sup> <sup>2 ∈ℝ</sup> <sup>_C_</sup> <sup>×</sup> <sup>_<u>C</u>_</sup> _r_ is the second fully connected layer responsible for _W_ 1 ∈ℝ _<u>C</u>_ <sup>_<u>C</u>_</sup> _r_ <sup>.</sup> <sup>_W_</sup> <sup>2 ∈ℝ</sup> <sup>_C_</sup> <sup>×</sup> <sup>_<u>C</u>_</sup> _r_ of channels from _C_ to <sup>_<u>C</u>_</sup> _r_ <sup>.</sup> <sup>_W_</sup> <sup>2 ∈ℝ</sup> <sup>_C_</sup> <sup>×</sup> <sup>_<u>C</u>_</sup> _r_ is the second fully connected layer responsible for restoring the number of channels back to _C_ . ? and ? denote the ReLU activation and Sigmoid functions, respectively. Finally, the Scale operation applies the learned channel weights to the original feature map, adjusting the importance of each channel. The formula is as follows: _X_ <sup>′</sup> = _F_ scale( _S_, _U_ ) = _S_ ⋅ _U_ (8) _X_ <sup>′</sup> represents the feature map after _U_ has been adjusted with weights, enhancing the response of important feature channels while diminishing the impact of less significant channels. Cross-entropy loss function In deep learning, the essence of training neural networks is optimizing their weight parameters to suit specific tasks, and the loss function serves as a powerful tool for updating the backpropagation and parameter adjustment of neural networks. Most bearing fault diagnosis models based on deep learning use the cross-entropy loss function to measure the discrepancy between the model’s predicted probability distribution and the true distribution. The cross-entropy loss [33] originates from information entropy and the Kullback-Leibler (KL) divergence, and its definition is as follows: _LCE_ = – _C_ ∑ _i_ =1 _yi_ log _pi_ (9) In Eq (9), _C_ denotes the total number of categories, _yi_ represents the actual label of the _i_ - _th_ sample (encoded with one-hot encoding), and _pi_ indicates the probability that the model predicts the _i_ - _th_ sample as belonging to the proper category. During the model training process, by minimizing the cross-entropy loss, the discrepancy between the model’s predicted probability distribution and the actual label distribution is gradually reduced, enhancing the model’s classification accuracy and generalization capability. PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 6/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model Proposed methods This paper proposes a multi-domain collaborative denoising bearing fault diagnosis model based on a dynamic inter-domain attention mechanism (DIDAM) and noise-aware loss function (NALF), which utilizes both time-domain and frequency-domain signals as inputs, aiming to enhance the model’s robustness and fault diagnosis performance in noisy environments. Multi-domain collaborative denoising diagnosis model As shown in Fig 2, the proposed model consists of four core modules: data preprocessing, feature extraction, multi-domain feature fusion, and classification decision. Specifically, the components and their implementation steps are as follows: Data preprocessing: Firstly, the bearing vibration signals (time-domain signals) collected by sensors are divided into several equal-length signal sequences of 1024. Then, these sequences are transformed into the frequency domain through the Fast Fourier Transform (FFT), and the data in both domains are normalized separately to eliminate dimensional discrepancies between different signals. Feature extraction: A dual-branch parallel structure is constructed, with each branch containing five cascaded convolution-pooling operations. The time-domain branch focuses on extracting local temporal pattern features from vibration waveforms. In contrast, the frequency-domain branch aims to capture deep spectral energy distribution patterns, ultimately forming two sets of high-dimensional feature tensors. Fig 2. The overall framework of the proposed multi-domain collaborative denoising bearing fault diagnosis <u>model.</u> [https://doi.org/10.1371/journal.pone.0326666.g002](https://doi.org/10.1371/journal.pone.0326666.g002) PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 7/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model Multi-domain feature fusion: To achieve efficient fusion of time-domain and frequencydomain information, a Dynamic Inter-Domain Attention Fusion mechanism (DIDAM) is designed. This mechanism can dynamically adjust the fusion method based on the feature importance of time-domain and frequency-domain signals, thus achieving flexible weighted fusion of information and enhancing the collaborative expression ability of cross-domain features. Classification decision: The fused feature vectors are integrated through fully connected layers and then input into a softmax classifier for bearing fault signal classification. Moreover, to improve the model’s applicability in industrial noise environments, a Noise-Aware Loss Function (NALF) is designed for model training and parameter updating, further enhancing classification accuracy. For a more intuitive understanding of the specific architecture and parameter settings of the model proposed in this paper, Table 1 presents its detailed structure and parameter configuration. Dynamic inter-domain attention mechanism A Dynamic Inter-Domain Attention Mechanism (DIDAM) is proposed to effectively capture key information in time-domain and frequency-domain signals and enhance the collaborative expression capability of cross-domain features. This mechanism is constructed by cascading an improved channel attention module with a novel spatial attention module, which dynamically weights the time-domain and frequency-domain features to achieve efficient information fusion. In response to the Squeeze operation in SENet, which only employs global average pooling to extract channel descriptor vectors, leading to relatively monotonous information and limiting the diversity of feature channels and the comprehensiveness of information, we introduce global standard deviation pooling while retaining the original global average pooling. This aims to better aggregate channel information, thereby enhancing the expressive capability of the channel attention mechanism. The improved channel attention mechanism is shown in Fig 3, where _Fsqd_ (⋅) denotes the newly added global standard deviation pooling operation. The mathematical expression for this operation is as follows: Table 1. Detailed architecture and parameter configuration of the proposed model. <u>Time domain</u> <u>Frequency domain</u> <u>Layer type</u> <u>Kernel size/stride</u> <u>Kernel channel size</u> <u>Kernel size/stride</u> <u>Kernel channel size</u> <u>Convolution 1</u> <u>64×1/1×1</u> <u>16</u> <u>64×1/1×1</u> <u>16</u> <u>Pooling 1</u> <u>16×1/16×1</u> <u>16</u> <u>16×1/16×1</u> <u>16</u> <u>Convolution 2</u> <u>32×1/1×1</u> <u>64</u> <u>32×1/1×1</u> <u>64</u> <u>Pooling 2</u> <u>2×1/2×1</u> <u>64</u> <u>2×1/2×1</u> <u>64</u> <u>Convolution 3</u> <u>32×1/1×1</u> <u>128</u> <u>32×1/1×1</u> <u>128</u> <u>Pooling 3</u> <u>2×1/2×1</u> <u>128</u> <u>2×1/2×1</u> <u>128</u> <u>Convolution 4</u> <u>16×1/1×1</u> <u>128</u> <u>16×1/1×1</u> <u>128</u> <u>Pooling 4</u> <u>2×1/2×1</u> <u>128</u> <u>2×1/2×1</u> <u>128</u> <u>Convolution 5</u> <u>16×1/1×1</u> <u>128</u> <u>16×1/1×1</u> <u>128</u> <u>Pooling 5</u> <u>2×1/2×1</u> <u>128</u> <u>2×1/2×1</u> <u>128</u> <u>Dynamic inter-domain attention mechanism</u> <u>Fully-connected</u> <u>100</u> <u>1</u> <u>-</u> <u>-</u> <u>Softmax</u> <u>10</u> <u>2</u> <u>-</u> <u>-</u> [https://doi.org/10.1371/journal.pone.0326666.t001](https://doi.org/10.1371/journal.pone.0326666.t001) PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 8/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model <u>Fig 3. The schematic diagram of the channel attention module in Dynamic Inter-Domain Attention Mechanism (DIDAM).</u> [https://doi.org/10.1371/journal.pone.0326666.g003](https://doi.org/10.1371/journal.pone.0326666.g003) _H_ ∑ _i_ =1 _W_ ∑( _UC_ ( _i_, _j_ ) – _ZC_ ) <sup>2</sup> (10) _j_ =1 _KC_ = _Fsqd_ ( _UC_ ) = ~~�~~ - <u>1</u> � _H_ × _W_ Next, the sum operation is performed on _KC_ and _ZC_ to obtain the final channel description vector _ZKC_ . The other operations remain consistent with SENet and will not be altered. The formula is as follows: _ZKC_ = _KC_ ⊕ _UC_ (11) In Eq (11), the symbol ⊕ denotes the vector summation operation. Although traditional spatial attention mechanisms can prompt the model to focus on key areas within the feature map, their fixed convolutional windows or weighting mechanisms may overlook the nonlinear relationships between regions, failing to attend to the subtle associations between different areas effectively. Therefore, this paper proposes a novel spatial attention mechanism, as illustrated in Fig 4. Firstly, three 1×1 convolution operations are performed on the channel-weighted feature map <u>Fig 4. The schematic diagram of the spatial attention module in Dynamic Inter-Domain Attention Mechanism (DIDAM).</u> [https://doi.org/10.1371/journal.pone.0326666.g004](https://doi.org/10.1371/journal.pone.0326666.g004) PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 9/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model _X_ <sup>′</sup> ∈ℝ <sup>_C_</sup> <sup>×</sup> <sup>_H_</sup> <sup>×</sup> <sup>_W_</sup>, resulting in three feature maps: _Q_ ∈ℝ <sup>_C_</sup> <sup>×</sup> <sup>_H_</sup> <sup>×</sup> <sup>_W_</sup>, _G_ ∈ℝ <sup>_C_</sup> <sup>×</sup> <sup>_H_</sup> <sup>×</sup> <sup>_W_</sup>, and _K_ ∈ℝ <sup>_C_</sup> <sup>×</sup> <sup>_H_</sup> <sup>×</sup> <sup>_W_</sup> . The formulas are as follows: _Q_ = _f_ <sup>1×1</sup> ( _X_ <sup>′</sup> ), _G_ = _f_ <sup>1×1</sup> ( _X_ <sup>′</sup> ), _K_ = _f_ <sup>1×1</sup> ( _X_ <sup>′</sup> ) (12) Next, the _Q_, _G_, and _K_ feature maps are each subjected to a reshape operation to obtain _Q_ ∈ℝ <sup>_HW_</sup> <sup>×</sup> <sup>_C_</sup>, _G_ ∈ℝ <sup>_C_</sup> <sup>×</sup> <sup>_HW_</sup>, and _K_ ∈ℝ <sup>_C_</sup> <sup>×</sup> <sup>_HW_</sup> . The matrix multiplication is then performed between _Q_ and _G_, and the resulting weights are normalized using the Softmax function to obtain _M_ ∈ℝ <sup>(</sup> <sup>_H_</sup> <sup>×</sup> <sup>_W_</sup> <sup>)×(</sup> <sup>_H_</sup> <sup>×</sup> <sup>_W_</sup> <sup>)</sup>, which represents the spatial attention map. The formula is as follows: <u>exp(</u> _<u>Qi</u>_ <u>,</u> _<u>Gj</u>_ ) _Mji_ = ∑ <sup>_N_</sup> _i_ = <sup>_N_</sup> _i_ =1 <sup>exp(</sup> <sup>_Qi_</sup> <sup>,</sup> <sup>_Gj_</sup> <sup>)</sup> (13) In Eq (13), a higher value of _M_ indicates a more remarkable similarity between the two regions. The obtained _M_ is multiplied by _K_, and the resulting product is reshaped into a new feature map of dimensions _V_ ∈ℝ <sup>_C_</sup> <sup>×</sup> <sup>_H_</sup> <sup>×</sup> <sup>_W_</sup> . Finally, _V_ is fused with the input feature _X_ <sup>′</sup> to obtain the final output feature map _X_ <sup>′′</sup> . The mathematical formula is as follows: _X_ <sup>′′</sup> _j_ <sup>=</sup> _N_ ∑ _i_ =1 ( _MjiKi_ ) + _X_ <sup>′</sup> _j_ (14) ( _MjiKi_ ) + _X_ <sup>′</sup> _j_ In summary, by reshaping the feature maps and performing multiple matrix operations on the similarities between regions, the spatial attention module in DIDAM can more effectively handle the nonlinear relationships between regions. Thus, it can capture more complex spatial dependencies and avoid the issue of neglecting fine-grained spatial information in traditional methods. Noise-aware loss function When used for bearing fault diagnosis, the cross-entropy loss assigns the same loss weight to all samples without considering their difficulty level. This approach may lead to the cumulative loss of many simple samples, overshadowing the contribution of complex samples and causing the gradient updates to be biased towards simple samples. Additionally, the crossentropy loss is sensitive to outliers. When there are outliers or noise in the dataset, the model may overly focus on these points, thus affecting its generalization ability. Therefore, this paper proposes a Noise-Aware Loss Function (NALF). Specifically, since the performance of deep learning models becomes gradually robust with the increase in training epochs, a threshold ? is introduced, which increases as the number of training epochs increases. The formula is as follows: ? = _N_ <sup><u>1</u></sup> _N_ <sup><u>1</u></sup> <sup>+ (1 –</sup> _N_ <sup><u>1</u></sup> (15) _N_ <sup><u>1</u></sup> <sup>)</sup> <sup>/</sup> <sup>_Es_</sup> <sup>∗</sup> <sup>_E_</sup> In Eq (15), _N_ represents the number of sample categories, _Es_ represents the total number of training epochs, and _E_ represents the current training epoch. During each training epoch, the model compares the probability value of each sample being predicted correctly with the threshold ?. If the value is greater than ?, it is considered a correct prediction and is assigned a lower weight; otherwise, it is assigned a higher weight. The formula is as follows: PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 10/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model ⎧⎪⎪⎨⎪⎪⎩ _Wl_ = (1 – _Pr_ ) <sup>2</sup>, if _Pr_ - ? _Wh_ = 1, otherwise (16) Here, _Pr_ represents the probability value the model correctly predicts each sample in the current round. _Wl_ and _Wh_ denote the lower and higher weights, respectively, with their values set according to reference [34]. The mathematical expression for the Noise-Aware Loss Function (NALF) is as follows: _L_ NALF = ⎧⎪⎪⎨⎪⎪⎩ _LCE_ × _Wl_, if _Pr_ - ? _LCE_ × _Wh_, otherwise (17) This design enables the model to update its parameters based on the actual prediction for each sample. In other words, it can effectively reduce the influence of prediction errors caused by noise. When the model’s predictions are correct, it learns more reliable decision rules, thereby mitigating the adverse effects of noise on the model. Experimental validation and results discussion Experimental setup and noise simulation All experiments in this chapter were conducted on a computing platform based on the Windows 11 operating system, equipped with a 12th Generation Intel _⃝_ R CoreTM processor and an NVIDIA RTX 4090 graphics card. Algorithm development was implemented in Python, relying on the PyCharm integrated development environment and the PyTorch deep learning framework. During the model training process, the Adam optimizer was used, with an initial learning rate set to 0.001, a batch size of 128, and a total of 100 epochs to ensure the stability and efficiency of model convergence. Given that Gaussian white noise is statistically similar to various random noises in natural environments, the experiments will be conducted against backgrounds of Gaussian white noise with different intensities. Specifically, this study selects six different Signal-to-Noise Ratio (SNR) levels, including –10 dB, –8 dB, –6 dB, –4 dB, –2 dB, and 0 dB, to evaluate the performance of the proposed model under varying noise conditions. The formula for calculating the SNR is as follows: SNR _dB_ = 10log10 _<u>Ps</u>_ _Pn_ (18) Here, _Ps_ and _Pn_ represent the signal and noise power, respectively, and _dB_ denotes decibels. A higher Signal-to-Noise Ratio (SNR) indicates that the proportion of the signal relative to the noise is greater, meaning the signal is purer; conversely, a lower SNR suggests a higher proportion of noise, and the signal is more severely interfered with. Dataset sescription CWRU Dataset [35]: This dataset was collected at a sampling rate of 12 kHz under four load conditions (0, 1, 2, and 3 horsepower). It includes four types of faults: healthy (H), inner race fault (IF), outer race fault (OF), and rolling element fault (BF). Each fault type is further categorized into three damage sizes: 0.007, 0.014, and 0.021 inches. Details of the CWRU dataset used in this study are shown in Table 2. PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 11/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model Table 2. Details of the CWRU dataset used in this study. Fault location Labels Load Diameter/ Sample <u>frequeney</u> Sampling points Training set size Test set size Roller fault <u>0</u> <u>0 hp</u> <u>0.007 inch</u> <u>1024</u> <u>300</u> <u>100</u> <u>1</u> <u>0 hp</u> <u>0.014 inch</u> <u>1024</u> <u>300</u> <u>100</u> <u>2</u> <u>0 hp</u> <u>0.021 inch</u> <u>1024</u> <u>300</u> <u>100</u> Inner race <u>3</u> <u>0 hp</u> <u>0.007 inch</u> <u>1024</u> <u>300</u> <u>100</u> <u>4</u> <u>0 hp</u> <u>0.014 inch</u> <u>1024</u> <u>300</u> <u>100</u> <u>5</u> <u>0 hp</u> <u>0.021 inch</u> <u>1024</u> <u>300</u> <u>100</u> Outer race <u>6</u> <u>0 hp</u> <u>0.007 inch</u> <u>1024</u> <u>300</u> <u>100</u> <u>7</u> <u>0 hp</u> <u>0.014 inch</u> <u>1024</u> <u>300</u> <u>100</u> <u>8</u> <u>0 hp</u> <u>0.021 inch</u> <u>1024</u> <u>300</u> <u>100</u> <u>Normal</u> <u>9</u> <u>0 hp</u> <u>-</u> <u>1024</u> <u>300</u> <u>100</u> [https://doi.org/10.1371/journal.pone.0326666.t002](https://doi.org/10.1371/journal.pone.0326666.t002) MFPT Dataset [36]: This dataset consists of 23 categories. The basic group includes three sets of normal and three sets of outer race fault data collected under a load of 270 lbs, a shaft speed of 25 Hz, and a sampling rate of 97656 kHz. The extended group contains two variableload subsets: seven sets of outer race fault data (collected at loads ranging from 25 to 300 lbs with a sampling rate of 48828 kHz) and seven sets of inner race fault data (collected at loads ranging from 0 to 300 lbs with a sampling rate of 48828 kHz). Details of the MFPT dataset used in this study are shown in Table 3. Fault diagnosis under different noise environments This subsection analyzes the fault diagnosis performance of the proposed model under different signal-to-noise ratio (SNR) conditions. As shown in Fig 5(a), on the CWRU dataset, the diagnosis accuracy reaches 100% when SNR = 0 dB. The accuracy gradually declines as the SNR decreases (i.e., noise increases). However, it remains above 96.91% for SNR ≥ –4 dB, indicating that the model exhibits strong noise resistance in high-SNR environments. When the SNR drops to –6 dB and –8 dB, the accuracy decreases to 94.58% and 89.62%, respectively, demonstrating that despite increased noise interference, the model can still accurately identify various fault types. Even in an extreme noise environment (SNR = –10 dB), the accuracy remains at 81.25%, proving that the model can effectively extract fault features under severe noise conditions, further highlighting its superior noise robustness. As shown in Fig 5(b), on the MFPT dataset, the proposed model achieves a fault diagnosis accuracy of 96.74% at SNR = 0 dB, slightly lower than the 100% accuracy observed on the Table 3. Details of the MFPT dataset used in this study. Fault location Labels Load Diameter/Sample <u>frequeney</u> Sampling points Training set size Test set size Inner race <u>0</u> <u>0 lbs</u> <u>48828 Hz</u> <u>1024</u> <u>300</u> <u>100</u> <u>1</u> <u>50 lbs</u> <u>48828 Hz</u> <u>1024</u> <u>300</u> <u>100</u> <u>2</u> <u>150 lbs</u> <u>48828 Hz</u> <u>1024</u> <u>300</u> <u>100</u> <u>3</u> <u>300 lbs</u> <u>48828 Hz</u> <u>1024</u> <u>300</u> <u>100</u> Outer race <u>4</u> <u>0 lbs</u> <u>48828 Hz</u> <u>1024</u> <u>300</u> <u>100</u> <u>5</u> <u>50 lbs</u> <u>48828 Hz</u> <u>1024</u> <u>300</u> <u>100</u> <u>6</u> <u>150 lbs</u> <u>48828 Hz</u> <u>1024</u> <u>300</u> <u>100</u> <u>7</u> <u>270 lbs</u> <u>48828 Hz</u> <u>1024</u> <u>300</u> <u>100</u> <u>8</u> <u>300 lbs</u> <u>48828 Hz</u> <u>1024</u> <u>300</u> <u>100</u> <u>Normal</u> <u>9</u> <u>270 lbs</u> <u>97656 Hz</u> <u>1024</u> <u>300</u> <u>100</u> [https://doi.org/10.1371/journal.pone.0326666.t003](https://doi.org/10.1371/journal.pone.0326666.t003) PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 12/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model Fig 5. The fault diagnosis performance of the proposed model under different SNR conditions on the test datasets of CWRU and MFPT. (a) <u>CWRU dataset; (b) MFPT dataset.</u> [https://doi.org/10.1371/journal.pone.0326666.g005](https://doi.org/10.1371/journal.pone.0326666.g005) CWRU dataset. As the SNR decreases, the fault recognition rate also declines. However, it remains above 90% for SNR ≥ –6 dB, demonstrating that the model can still stably identify fault features under moderate noise levels. Even in the extreme case of SNR = –10 dB, the accuracy remains at 76.36%, significantly higher than random guessing, indicating that the model can still effectively extract fault features and maintain strong noise resistance. Additionally, compared to the CWRU dataset, the accuracy of the MFPT dataset is slightly lower under the same SNR conditions, which may be attributed to the lower signal quality and more significant background noise interference in the MFPT dataset. Notably, in both datasets, the accuracy of the proposed model does not exhibit a drastic drop, suggesting that it can maintain stable performance not only in high-SNR environments but also under low-SNR conditions, fully demonstrating its superior noise robustness. Additionally, we plotted the confusion matrix to visually present the model’s recognition of different fault types under various SNR conditions. Since the accuracy of the model on the CWRU dataset reached 100% when SNR = 0 dB, the confusion matrix is not shown for this case. As shown in Fig 6, when SNR ≥ –6 dB, most misclassifications occur in Category 2, which is often misidentified as Category 0 or Category 4. This suggests that the features of Category 2 lack sufficient discriminative power under low SNR conditions, causing its features to spread across multiple categories. When the SNR further drops to –8 dB, in addition to the misclassification of Category 2, Category 0 is also misidentified as Category 2, indicating that the features of Category 0 and Category 2 become more similar under the influence of noise. This may be due to their close time-frequency features, with the noise masking their subtle differences. When the SNR decreases to –10 dB, almost all categories experience severe misclassification, indicating that extreme noise leads to extreme instability in category features, further weakening the model’s discriminative ability. To further validate this phenomenon, we performed t-SNE dimensionality reduction and visualization analysis on the feature distributions under different SNR conditions, as shown in Fig 7. The results indicate that, on the CWRU dataset, the clustering of samples from different categories is relatively good under high SNR conditions. As the SNR decreases, the distribution of points becomes increasingly dispersed, and the category boundaries become PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 13/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model Fig 6. The confusion matrix of the proposed model under different SNR conditions on the test dataset of CWRU. (a) –2 dB; (b) –4 dB; (c) –6 dB; (d) –8 dB; <u>(e) –10 dB.</u> [https://doi.org/10.1371/journal.pone.0326666.g006](https://doi.org/10.1371/journal.pone.0326666.g006) more blurred. Specifically, when SNR ≥ –8 dB, Categories 0, 2, and 4 gradually move closer in the t-SNE plot and eventually overlap. When SNR = –10 dB, most category sample points intersect, making the categories nearly inseparable. This trend corresponds with the misclassification results from the confusion matrix, further confirming the impact of noise on fault feature extraction. On the MFPT dataset, we also plotted the confusion matrix and t-SNE dimensionality reduction visualization results (Figs 8 and 9). The confusion matrix shows that when SNR ≥ –4 dB, the main misclassification occurs between Categories 0, 1, and 2, indicating that these categories have similar features under low SNR conditions. When the SNR drops to –6 dB and below, misclassifications between Categories 0, 1, 2, 4, and 5 significantly increase, suggesting that as noise interference intensifies, the feature distinguishability between different categories decreases. From the t-SNE dimensionality reduction visualization, compared to the CWRU dataset, the distribution of sample points for each category on the MFPT dataset is more dispersed, further confirming that the signal quality of the MFPT dataset is poorer and that the noise impact is more significant. PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 14/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model Fig 7. The t-SNE visualization of feature distribution under different SNR conditions on the test dataset of CWRU. (a) –2 dB; (b) –4 dB; (c) –6 dB; (d) –8 <u>dB; (e) –10 dB.</u> [https://doi.org/10.1371/journal.pone.0326666.g007](https://doi.org/10.1371/journal.pone.0326666.g007) Comparison with the state-of-the-art methods To further verify the noise resistance of the proposed model, we compared its performance with six state-of-the-art denoising models (including MCNN-LSTM [24], AMFCN [26], Mel-CNN [37], DRSN [38], IDRSN [39], and RDDAN [40]) under different SNR conditions, as shown in Table 4. As the SNR decreases (i.e., noise level increases), the diagnostic accuracy of all models declines—an expected trend commonly observed in denoising tasks. Specifically, under high SNR conditions (SNR ≥ –4 dB), the proposed model outperforms most existing methods, ranking only behind RDDAN and AMFCN. In the lower SNR range (–4 ≤ SNR ≤ –10 dB), its diagnostic accuracy is second only to RDDAN. In boisterous environments (SNR = –8 dB and SNR = –10 dB), the performance advantage of the proposed model becomes more pronounced. It is emphasized that the proposed model shows the least degradation in performance as the SNR ratio continues to decrease, fully demonstrating its superior noise robustness. In summary, the proposed model delivers outstanding fault diagnosis performance under various noise levels, particularly with extreme robustness in high-noise environments, indicating its high practical value for real-world applications. PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 15/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model Fig 8. The confusion matrix of the proposed model under different SNR conditions on the test dataset of MFPT. (a) 0 dB; (b) –2 dB; (c) –4 dB; (d) –6 dB; (e) <u>–8 dB; (f) –10 dB.</u> [https://doi.org/10.1371/journal.pone.0326666.g008](https://doi.org/10.1371/journal.pone.0326666.g008) To more intuitively demonstrate the performance differences among various models under strong noise conditions, we selected SNR = –8 dB ( high noise intensity and covers a comprehensive range of comparison methods) to plot their confusion matrices and t-SNE dimensionality reduction visualizations on the CWRU test set, as shown in Figs 10 and 11. From the confusion matrices, it is evident that models such as DRSN, AMFCN, Mel-CNN, and IDRSN have significant classification errors across multiple categories, primarily between categories 1, 2, 5, and 8. This may be due to the limited noise resistance of these methods, which makes it difficult to effectively distinguish between these inherently similar fault patterns under high noise interference. In contrast, our model only has a few misclassifications on categories 0, 1, and 2, with most errors being the misidentification of category 2 as category 0. This phenomenon may stem from the substantial similarity between categories 0 and 2 in the feature space, which is more easily obscured by intense noise. It is worth noting that although the overall recognition accuracy of the proposed model is slightly lower than that of RDDAN, its misclassifications are mainly between adjacent categories and are relatively concentrated, which to some extent reflects its strong ability to model feature boundaries and maintain high fault recognition capabilities even in high-noise environments. PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 16/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model Fig 9. The t-SNE visualization of feature distribution under different SNR conditions on the test dataset of MFPT. (a) 0 dB; (b) –2 dB; (c) –4 dB; (d) –6 dB; <u>(e) –8 dB; (f) –10 dB.</u> [https://doi.org/10.1371/journal.pone.0326666.g009](https://doi.org/10.1371/journal.pone.0326666.g009) Table 4. Comparison of fault diagnosis performance of various methods under different signal-to-Noise ratio conditions on CWRU dataset. <u>Model</u> <u>0 dB</u> <u>–2 dB</u> <u>–4 dB</u> <u>–6 dB</u> <u>–8 dB</u> <u>–10 dB</u> <u>DRSN [38] (2019)</u> <u>98.9%</u> <u>97.2%</u> <u>89.2%</u> <u>82.4%</u> <u>79.0%</u> <u>68.6%</u> MCNN-LSTM [24] 81.41% 77.27% - - - <u>(2021)</u> <u>RDDAN [40] (2022)</u> <u>100%</u> <u>99.7%</u> <u>98.4%</u> <u>97.8%</u> <u>92.5%</u> <u>85.2%</u> <u>AMFCN [26] (2023)</u> <u>99.82%</u> <u>99.51%</u> <u>99.16%</u> <u>93.55%</u> <u>81.92%</u> <u>–</u> <u>Mel-CNN [37] (2023)</u> <u>99.5%</u> <u>97.2%</u> <u>94.1%</u> <u>88.6%</u> <u>81.2%</u> <u>72.4%</u> <u>IDRSN [39] (2023)</u> <u>99.6%</u> <u>98.5%</u> <u>92.7%</u> <u>86.3%</u> <u>82.7%</u> <u>76.4%</u> <u>Ours</u> <u>100.00%</u> <u>98.87%</u> <u>96.91%</u> <u>94.58%</u> <u>89.62%</u> <u>81.25%</u> [https://doi.org/10.1371/journal.pone.0326666.t004](https://doi.org/10.1371/journal.pone.0326666.t004) The t-SNE dimensionality reduction visualization results shown in Fig 11 further corroborate this conclusion. It is visible that DRSN, AMFCN, Mel-CNN, and IDRSN have significant overlapping regions among categories 1, 2, 5, and 8, indicating their difficulty in achieving adequate category distinction under strong noise. In contrast, the feature PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 17/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model <u>Fig 10. The comparison of confusion matrices of diferent models on the CWRU test set under SNR = –8 dB.f</u> [https://doi.org/10.1371/journal.pone.0326666.g010](https://doi.org/10.1371/journal.pone.0326666.g010) distributions extracted by our method and RDDAN are much clearer, with distinct boundaries between different categories and almost no overlap, which is highly consistent with the confusion matrix results. This further demonstrates the proposed model’s superior feature representation capability and good inter-class separability under complex noise conditions. Ablation experiment Finally, to analyze the impact of the Dynamic Inter-domain Attention Mechanism (DIDAM) and the Noise-Aware Loss Function (NALF) on the performance of the proposed model, we conducted an ablation study on the CWRU dataset, as shown in Fig 12. All models in this experiment follow the framework described in the ”Multi-Domain Collaborative Denoising Diagnosis Model,” with the specific experimental settings as follows: Model 1 : DIDAM is not used, and the loss function is cross-entropy. Model 2 : DIDAM is used, and the loss function is cross-entropy. Model 3 : DIDAM is not used, and the loss function is NALF. Model 4 : The proposed model (DIDAM + NALF). PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 18/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model <u>Fig 11. The t-SNE visualization of feature distributions of diferent models on the CWRU test set under SNR = –8 dB.f</u> [https://doi.org/10.1371/journal.pone.0326666.g011](https://doi.org/10.1371/journal.pone.0326666.g011) <u>Fig 12. Impact of DIDAM and NALF on the fault diagnosis performance of the proposed model on the CWRU dataset.</u> [https://doi.org/10.1371/journal.pone.0326666.g012](https://doi.org/10.1371/journal.pone.0326666.g012) PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 19/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model The experimental results show that Model 2 outperforms Model 1 under all SNR conditions, particularly at low SNR levels (SNR = –8 dB and SNR = –10 dB), demonstrating that DIDAM significantly enhances the model’s robustness. Similarly, Model 3 performs better than Model 1 in most SNR conditions, especially in low-SNR environments (e.g., SNR = –8 dB and SNR = –10 dB), indicating that NALF helps improve the model’s noise resistance. Notably, Model 4 surpasses all three baseline models across all SNR conditions, achieving an accuracy of 81.25% even in extreme noise conditions (SNR = –10 dB). This result confirms that combining DIDAM and NALF can significantly enhance the model’s noise robustness and overall diagnostic accuracy. In summary, both DIDAM and NALF contribute to performance improvement through different mechanisms, and their combination further amplifies this effect, resulting in a synergistic enhancement. Discussion Noise interference in industrial scenarios often masks the original characteristics of bearing fault signals, leading to insufficient diagnostic reliability of fault diagnosis models based on deep learning. Although existing denoising models have achieved some success, they still have certain limitations: - Most methods focus exclusively on processing time-domain signals, neglecting key information contained in other potential domains. This makes the model’s accuracy in extracting the original features of fault signals under intense background noise difficult, limiting its ability to express high-dimensional features of different fault patterns. - Some methods have begun to attempt feature extraction from different domains. However, they typically rely on fixed feature concatenation or fusion methods, failing to fully consider the differential contributions of features from different signal domains to model performance, leading to poor multi-source information fusion. - Existing denoising models usually employ standard cross-entropy functions for network parameter updates, neglecting that strong noise environments may lead the model to make incorrect decisions, causing deviations in the direction of gradient updates. This paper proposes a multi-domain collaborative denoising bearing fault diagnosis model based on a dynamic inter-domain attention mechanism and a noise-aware loss function. The model can simultaneously extract high-dimensional features of bearing fault signals from different domains, enriching and diversifying the expression of the original signal’s highdimensional features and enhancing the model’s fault recognition capability under substantial noise interference. Additionally, a dynamic inter-domain attention mechanism is designed to flexibly adjust the fusion approach according to the importance of each signal domain, improving the efficiency and accuracy of information fusion. Finally, a noise-aware loss function is constructed, effectively avoiding deviations in the model’s gradient update direction caused by strong noise environments, thereby improving the stability and reliability of fault diagnosis. Experimental results on the publicly available CWRU and MFPT datasets show that the proposed model exhibits superior diagnostic capabilities under different noise intensities. Even in an extreme noise environment with an SNR of –10 dB, the model achieved 81.25% and 76.36% diagnostic accuracy rates. Compared to most existing mainstream denoising models, the proposed model maintains high diagnostic precision under low SNR conditions (extreme noise environments), fully demonstrating its effectiveness. Despite the promising experimental results of the proposed model, there are still some limitations. For example, the experiments in this paper are based on standardized datasets PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 20/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model such as CWRU and MFPT. In contrast, the complex conditions in actual industrial settings (such as variable speed, variable load, and multi-source mixed noise) may lead to stronger time-variability in fault signals, resulting in decreased model generalization ability. The multi-domain feature extraction and dynamic inter-domain attention mechanism increase the computational burden, and the model may struggle to meet real-time diagnostic requirements in resource-constrained scenarios such as industrial edge devices. Moreover, the model relies on training data with known fault types and may perform poorly on unseen fault patterns (such as complex or early weak faults), lacking incremental learning capability. In the future, a lightweight and more practical denoising bearing fault diagnosis model can be designed to reduce computational latency while maintaining precision. Additionally, introducing non-Gaussian noise, multi-source mixed noise, and varying condition data can enhance the model’s environmental adaptability. Furthermore, meta-learning or contrastive learning can be combined to improve the model’s ability to identify new faults with a small number of samples. Conclusion This paper proposes a multi-domain collaborative denoising bearing fault diagnosis model based on the dynamic inter-domain attention mechanism and noise-aware loss function. Specifically, the model can simultaneously extract high-dimensional features of bearing fault signals from different domains, aiming to enrich and diversify the expression of highdimensional features in the original signals, thereby enhancing the model’s fault recognition ability under substantial noise interference. Secondly, a dynamic inter-domain attention mechanism (DIDAM) is introduced to effectively distinguish the importance of information from different signal domains and enhance the collaborative expression ability of crossdomain features. Lastly, a noise-aware loss function (NALF) is proposed for model training and parameter updating. It aims to effectively reduce the negative impact of noise on the model, allowing it to learn more reliable decision-making rules. Experimental results on two public datasets, CWRU and MFPT, show that compared to most existing mainstream denoising fault diagnosis models, the proposed model exhibits superior diagnostic capabilities under different noise intensities. Particularly in extreme noise environments, its anti-interference ability and robustness are effectively improved, demonstrating its effectiveness. Author contributions Data curation: Weilin Cao. Funding acquisition: Weilin Cao. Methodology: Weilin Cao. Resources: Weilin Cao. Software: Weilin Cao, Liqiang Zhang. Supervision: Weilin Cao, Liqiang Zhang. Validation: Liqiang Zhang. Writing – original draft: Weilin Cao, Liqiang Zhang. Writing – review & editing: Weilin Cao, Liqiang Zhang. PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 21/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model References 1. Cao H, Niu L, Xi S. Mechanical model development of rolling bearing-rotor systems: a review. Mech Syst Signal Process. 2018;102:37–58. 2. Zhang T, Liu S, Zhang S. Review on fault diagnosis on the rolling bearing. J Phys: Conf Ser. 2021;1820(1):012107. 3. Peng B, Bi Y, Xue B. A survey on fault diagnosis of rolling bearings. Algorithms. 2022;15(10):347. 4. Hakim M, Omran AAB, Ahmed AN. A systematic review of rolling bearing fault diagnoses based on deep learning and transfer learning: taxonomy, overview, application, open challenges, weaknesses and recommendations. Ain Shams Eng J. 2023;14(4):101945. 5. Barai V, Ramteke SM, Dhanalkotwar V. Bearing fault diagnosis using signal processing and machine learning techniques: a review. In: IOP Conference Series: Materials Science and Engineering. 2022. 012034. 6. Chen X, Yang R, Xue Y, et al. Deep transfer learning for bearing fault diagnosis: a systematic review since 2016. IEEE Trans Instrument Measur. 2023;72:1–21. 7. Wang S, Wang Q, Xiao Y. Research on rotor system fault diagnosis method based on vibration signal feature vector transfer learning. Eng Failure Anal. 2022;139:106424. 8. Salunkhe VG, Khot SM, Desavale RG. Unbalance bearing fault identification using highly accurate Hilbert–Huang transform approach. J Nondestruct Eval Diagnost Prognost Eng Syst. 2023;6(3). 9. Thamba NB, Aravind A, Rakesh A. Application of EMD, ANN and DNN for self-aligning bearing fault diagnosis. Archiv Acoust. 2018;43(2):163–75. 10. Goyal D, Dhami SS, Pabla BS. Non-contact fault diagnosis of bearings in machine learning environment. IEEE Sens J. 2020;20(9):4816–23. 11. Hamadache M, Jung JH, Park J. A comprehensive review of artificial intelligence-based approaches for rolling element bearing PHM: shallow and deep learning. JMST Adv. 2019;1:125–51. 12. Huang W, Cheng J, Yang Y. An improved deep convolutional neural network with multi-scale information for bearing fault diagnosis. Neurocomputing. 2019;359:77–92. 13. He J, Wu P, Tong Y, Zhang X, Lei M, Gao J. Bearing fault diagnosis via improved one-dimensional [multi-scale dilated CNN. Sensors (Basel). 2021;21(21):7319. https://doi.org/10.3390/s21217319](https://doi.org/10.3390/s21217319) [PMID: 34770636](http://www.ncbi.nlm.nih.gov/pubmed/34770636) 14. Song X, Cong Y, Song Y. A bearing fault diagnosis model based on CNN with wide convolution kernels. J Ambient Intell Humaniz Comput. 2022;13(8):4041–56. 15. Hou Y, Wang J, Chen Z. Diagnosisformer: an efficient rolling bearing fault diagnosis method based on improved transformer. Eng Appl Artif Intell. 2023;124:106507. 16. Guo Y, Mao J, Zhao M. Rolling bearing fault diagnosis method based on attention CNN and BiLSTM network. Neural Process Lett. 2023;55(3):3377–410. 17. Liao W, Fu W, Yang K. Multi-scale residual neural network with enhanced gated recurrent unit for fault diagnosis of rolling bearing. Measur Sci Technol. 2024;35(5):056114. 18. Rizescu CI, Constantin V, Rizescu D. Noise analyses for rolling bearings. In: Proceedings of the International Conference of Mechatronics and Cyber-MixMechatronics–2019. Springer; 2020. p. 74–81. 19. Yang C, Qiao Z, Zhu R. An intelligent fault diagnosis method enhanced by noise injection for machinery. IEEE Trans Instrument Measur. 2023;72:1–11. 20. Chen P, Wu Y, Xu C, et al. Interference suppression of nonstationary signals for bearing diagnosis under transient noise measurements. IEEE Transactions on Reliability. 2025. 21. Pancaldi F, Dibiase L, Cocconcelli M. Impact of noise model on the performance of algorithms for fault diagnosis in rolling bearings. Mech Syst Signal Process. 2023;188:109975. 22. Meng Z, Qin X, Liu J. A denoising algorithm based on ARIMA and competitive K-SVD for the diagnosis of rolling bearing faults. Appl Acoust. 2025;228:110309. 23. Li X, Zhang W, Ding Q. A robust intelligent fault diagnosis method for rolling element bearings based on deep distance metric learning. Neurocomputing. 2018;310:77–95. 24. Chen X, Zhang B, Gao D. Bearing fault diagnosis based on multi-scale CNN and LSTM model. J Intell Manuf. 2021;32(4):971–87. 25. Hakim M, Omran AAB, Inayat-Hussain JI, Ahmed AN, Abdellatef H, Abdellatif A, et al. Bearing fault diagnosis using lightweight and robust one-dimensional convolution neural network in the frequency [domain. Sensors (Basel). 2022;22(15):5793. https://doi.org/10.3390/s22155793 PMID: 35957359](https://doi.org/10.3390/s22155793) 26. Li F, Wang L, Wang D. An adaptive multiscale fully convolutional network for bearing fault diagnosis under noisy environments. Measurement. 2023;216:112993. 27. Wang Q, Xu F. A novel rolling bearing fault diagnosis method based on adaptive denoising convolutional neural network under noise background. Measurement. 2023;218:113209. PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 22/ 23 PLOS One Multi-domain collaborative denoising bearing fault diagnosis model 28. Han S, Sun S, Z Z. Deep residual multiscale convolutional neural network with attention mechanism for bearing fault diagnosis under strong noise environment. IEEE Sens J. 2024;24(6):9073–81. 29. Gao H, Zhang X, Gao X. Multi-timescale attention residual shrinkage network with adaptive global-local denoising for rolling-bearing fault diagnosis. Knowl-Based Syst. 2024;304:112478. 30. Wahab MF, Gritti F, O’Haver TC. Discrete Fourier transform techniques for noise reduction and digital enhancement of analytical signals. TrAC Trends Analyt Chem. 2021;143:116354. 31. Henry M. An ultra-precise fast Fourier transform. Measurement. 2023;220:113372. 32. Hu J, Shen L, Sun G. Squeeze-and-excitation networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2018. p. 7132–41. 33. Mao A, Mohri M, Zhong Y. Cross-entropy loss functions: theoretical analysis and applications. In: International Conference on Machine Learning. PMLR; 2023. p. 23803–28. 34. Lin TY, Goyal P, Girshick R. Focal loss for dense object detection. In: Proceedings of the IEEE International Conference on Computer Vision. 2017. p. 2980–8. 35. Smith WA, Randall RB. Rolling element bearing diagnostics using the Case Western Reserve University data: a benchmark study. Mech Syst Signal Process. 2015;64:100–31. 36. Dataset M. Society for Machinery Failure Prevention Technology. 2020. 37. Shan S, Liu J, Wu S. A motor bearing fault voiceprint recognition method based on Mel-CNN model. Measurement. 2023;207:112408. 38. Zhao M, Zhong S, Fu X. Deep residual shrinkage networks for fault diagnosis. IEEE Trans Indust Inf. 2019;16(7):4681–90. 39. Tong J, Tang S, Wu Y. A fault diagnosis method of rolling bearing based on improved deep residual shrinkage networks. Measurement. 2023;206:112282. 40. Shi H, Gan C, Zhang X. A fault diagnosis method for rolling bearings based on RDDAN under multivariable working conditions. Measur Sci Technol. 2022;34(2):025003. PLOS One [https://doi org/10 1371/journal pone 0326666](https://doi.org/10.1371/journal.pone.0326666) June 26 2025 23/ 23

섹션 본문 75문단 · 43,585자

(제목 없음)

1Rolling bearings are the core transmission components of large-scale rotating machinery such as wind power gearboxes and aviation engines, so timely and effective monitoring and diagnosis of their status are crucial to ensure the stable operation of equipment, reduce maintenance costs, and improve production efficiency.However, the noise interference in the industrial field often hides the original characteristics of the bearing fault signal, leading to the deep learning-based fault diagnosis model's lack of diagnostic reliability in the strong industrial noise background.To address this problem, this paper proposes a multi-domain collaborative denoising diagnostic model based on dynamic inter-domain attention mechanism and noise-aware loss function.First, the model extracts high-dimensional features of bearing fault signals from multiple domains, such as time and frequency domains, aiming to enhance the richness and diversity of high-dimensional features to effectively suppress noise interference on the diagnostic results.Second, the dynamic inter-domain attention mechanism (DIDAM) is proposed, aiming to distinguish the importance of information in different signal domains and flexibly integrate them to realize more efficient and accurate multi-domain information fusion.Finally, the noise-aware loss function (NALF) is designed to avoid the phenomenon of the conduction model being prone to making wrong decisions due to excessive noise.Experimental results on two publicly available datasets, CWRU and MFPT, show that even in the extreme noise environment with SNR = -10 dB, the proposed model still achieves 81.25% and 76.36% fault diagnosis accuracies, which are better than most existing mainstream denoising models.Overall, the proposed method can still perform well under substantial noise interference, providing a new idea for intelligent bearing fault diagnosis in real industrial scenarios.PLOS OneMulti-domain collaborative denoising bearing fault diagnosis model are known as the "joints" of rotating machinery and equipment[1].However, the working environment of rolling bearings is usually more complicated, making them very prone to failure, which may lead to equipment downtime and even cause serious safety accidents[2][3][4].In conclusion, the condition of rolling bearings directly affects the operating efficiency, reliability, and safety of mechanical systems, so timely and effective monitoring and diagnosis are essential to ensure the regular operation of equipment[5,6].Signal processing and machine learning are two common strategies in bearing fault diag-downloaded from 10.6084/m9.figshare.28606778,and the MFPT dataset can be downloaded from 10.6084/m9.figshare.28606802.

Introduction

2Rolling bearings are widely used to support rotating shafts and their components due to their strong load-bearing capacity, high motion accuracy, and low friction loss, and therefore nosis.For instance, Wang et al. [7] proposed a fault diagnosis method based on feature vector migration learning.This method involves feature extraction from vibration signals through statistics and wavelet decomposition, then using the ReliefF algorithm to evaluate and select sensitive fault feature sets.Salunkhe et al. [8] pointed out that the dynamic characteristics of rolling bearings are mainly influenced by their geometric structure and operating parameters, and they developed a bearing fault diagnosis method based on the Hilbert-Huang transform.Thamba et al. [9] developed a new method for analyzing the fault patterns of self-aligning bearings and achieved automatic fault classification through artificial neural networks and deep neural networks.Goyal et al. [10] denoised the signals using the Hilbert transform, then applied principal component analysis for dimensionality reduction, followed by the sequential floating forward selection to screen the optimal feature set, and finally, these features were input into support vector machines and artificial neural networks for fault recognition tasks.

3Signal processing-based methods often rely on prior understanding or assumptions about signal features and may not effectively extract relevant features when dealing with nonlinear and non-stationary signals, thus affecting the accuracy of fault diagnosis.Although machine learning-based methods can automatically extract features, manual feature engineering is still required in many cases, which demands professional knowledge, is time-consuming, and inappropriate feature selection may affect the model's performance.

4In recent years, with the continuous upgrade of computer hardware and the increasing maturity of cutting-edge theories such as artificial intelligence, deep learning has become the dominant force in bearing diagnosis research due to its end-to-end training model and outstanding feature representation capabilities [11].Huang et al. [12] pointed out that traditional Convolutional Neural Networks (CNNs) are prone to falling into local optima when the input signals lack practical information.To address this issue, they proposed the Multi-scale Cascaded Convolutional Neural Network (MC-CNN), which enhances the diversity of signal representation in the frequency domain by introducing filters of different scales, thereby providing more valuable information for fault diagnosis.He et al. [13] believe that the fixed convolution kernel parameters in traditional CNNs limit their ability to extract key features from fault signals.Therefore, they introduced IMSCNN, which uses dilated convolution kernels with different dilation rates to extract multi-scale features, thereby improving the effectiveness of bearing fault diagnosis.Song et al. [14] proposed the strategy of widening convolution kernels to expand the receptive field and designed the WKCNN network structure based on this idea.Experimental results show that WKCNN outperforms other methods regarding diagnostic accuracy and timeliness.Hou et al. [15] proposed Diagnosisformer, an attention-based multi-feature parallel fusion model for rolling bearing fault diagnosis.This method extracts frequency domain features through the Fast Fourier Transform (FFT) and designs a multi-feature fusion module to capture more information from different receptive fields, extract essential features, and maintain global dependency relationships.Guo et al. [16] proposed an end-to-end fault diagnosis method that combines Attention CNN with a Bidirectional Long Short-Term Memory network (BiLSTM) (ACNN-BiLSTM).This method extracts short-term spatiotemporal features through one-dimensional wide convolution and introduces a convolution block attention module to adjust the weights of different feature dimensions dynamically, finally inputting the weighted features into BiLSTM for fault diagnosis.Liao et al. [17] proposed the MSRN-EGRU model, a hybrid deep learning model that combines a Multi-scale Residual Neural Network (MSRN) with an Enhanced Gated Recurrent Unit (EGRU).Experimental results show the model's accuracy, robustness, and convergence in bearing fault diagnosis.

5However, the studies above did not consider the noisy and harsh working conditions bearings face in industrial environments.In industrial applications, bearings often operate against a backdrop of strong noise, such as high-speed operation of equipment, external environmental noise, and vibrations from other mechanical components [18][19][20].These noise interferences can mask the original characteristics of the bearing fault signal, making it difficult to accurately identify fault types, significantly affecting the accuracy and robustness of deep learning-based fault diagnosis methods [21,22].

6Researchers have proposed a series of anti-noise models to address noise interference in bearing fault diagnosis.Li et al. [23] have proposed a clustering algorithm based on deep convolutional neural networks, which reduces the discrepancy between training and testing data by minimizing intra-cluster variance and maximizing inter-cluster variance, thereby enhancing the model's robustness under noise and varying working conditions.Chen et al. [24] introduced the MCNN-LSTM model, which uses multi-scale convolution kernels to extract high-frequency and low-frequency components of vibration signals and identifies the type of fault through a Long Short-Term Memory network (LSTM).Hakim et al. [25] transformed the signal from the time domain to the frequency domain using Fast Fourier Transform (FFT), separated the amplitude and phase using phase representation, and then inputted it into a 1D-CNN to enhance the model's anti-noise capability.Li et al. [26] proposed an end-to-end Adaptive Multi-scale Full Convolutional Network (AMFCN), which improves adaptability to noise through random sampling and employs large convolution kernels for wide-range temporal feature extraction, effectively suppressing high-frequency noise and significantly improving the model's anti-noise performance and robustness, outperforming traditional CNNs and other multi-scale CNN models.Wang et al. [27] designed an Adaptive Denoising Convolutional Neural Network (ADCNN), which removes noise through adaptive denoising units while preserving key fault features, and further enhances anti-noise capability by reducing the number of channels and increasing the size of convolution kernels.Han et al. [28] proposed a Deep Residual Multi-scale Convolutional Neural Network with an attention mechanism (Attention-MSCNN), which effectively removes noise through residual connections and a denoising multi-head attention mechanism and captures the relationships in long-term sequences.Gao et al. [29] proposed an Adaptive Global-Local Denoising Multi-Time Scale Attention Residual Shrinkage Network (AMARSN), which enhances discriminability under noise through a multi-time scale attention learning module and removes noise from multi-scale fault features through an adaptive denoising module.

7Although existing denoising models have made some progress, they still have many shortcomings when faced with strong noise environments.Firstly, most methods focus solely on processing time-domain signals, neglecting key information contained in other potential domains.This results in the model's difficulty in accurately extracting the original features of fault signals under strong background noise, limiting its ability to express high-dimensional features of different fault patterns.Secondly, although some methods attempt to extract signal features from different domains, they rely solely on fixed feature concatenation or fusion approaches, failing to fully address the differential contributions of features from different signal domains to model performance, leading to poor multi-source information fusion.Lastly, existing denoising models typically use the standard cross-entropy function for network parameter updates, neglecting the possibility that strong noise environments may lead the model to make incorrect decisions, resulting in deviations in the direction of gradient updates.Therefore, this paper proposes a multi-domain collaborative denoising bearing fault diagnosis model based on a dynamic inter-domain attention mechanism and a noise-aware loss function, with the following contributions:

Fundamental theories

8This section elaborates on the three fundamental theories that underpin this research in terms of principles and functionality: the Fast Fourier Transform, the Squeeze-and-Excitation Attention Mechanism, and the Cross-Entropy Loss Function.These theories provide crucial theoretical support and inspiration for the model proposed in this paper and facilitate a deeper understanding of its design and implementation.

Fast Fourier transform

9In the field of fault diagnosis for rotating machinery, time-domain vibration signals often exhibit nonlinear and non-stationary characteristics, and their transient impact components are easily disrupted by background noise.Traditional time-domain analysis methods are sensitive to random noise, making extracting periodic fault features stably challenging.As a core tool in signal processing, the Discrete Fourier Transform (DFT) [30] can convert a discrete signal from the time domain to the frequency domain, thereby extracting frequency domain features and providing mathematical support for fault diagnosis in noisy environments.Specifically, for a discrete signal x(n) of length N, its DFT is defined as follows:

10Here, X(k) represents the spectral value of the signal at the k-th discrete frequency point, and e -j 2 N kn is the rotation factor (an element of the rotation matrix), which can also be expressed as:

11N kn

12(2)

13However, directly computing the DFT requires N 2 complex multiplications and additions, which leads to a substantial computational burden for large N.The Fast Fourier Transform (FFT) [31] is an efficient algorithm for computing the DFT.It employs a divide-and-conquer strategy, drastically reducing the computational cost from O(N 2 ) to O(NlogN) and improving efficiency.

14Specifically, the FFT decomposes a DFT of length N into two DFTs of length N/2, thereby splitting the summation of a DFT of length N into odd and even parts, as follows:

15By utilizing the periodic nature of the rotation factor, it can be deduced that:

16Substituting Eq (4) into Eq (3) yields:

17Here, X even (k) represents the DFT computed for the even-indexed terms, and X odd (k) represents the DFT computed for the odd-indexed terms.In this manner, the computation of a DFT of length N is split into two DFTs of length N/2, combined with a complex multiplication.This recursive process leads to direct computations when N is reduced to 2.

Squeeze-and-excitation attention mechanism

18The attention mechanism mimics the selective processing of human beings to external information, aiming to focus on the key areas of input data, allowing the model to highlight important information adaptively.

19The Squeeze-and-Excitation (SE) attention mechanism proposed by Hu et al. [32] recalibrates the importance of feature channels through global information squeezing (Squeeze) and channel-wise weight excitation (Excitation), thereby enhancing the network's ability to focus on key features.As shown in Fig 1, the SE mechanism consists of three steps: Squeeze, Excitation, and Scale.Specifically, the Squeeze operation extracts the global spatial information from each channel through global pooling and produces a channel descriptor vector Z C , which is computed as follows:

20In Eq (6), U C signifies the c-th channel (with a dimension of H × W) of the input feature map U ∈ ℝ C×H×W .Subsequently, Z C is fed into the Excitation module, which consists of two fully connected layers.This module learns the intricate dependencies between channels through dimensionality reduction and expansion and produces the weight values S for each channel.The computation is illustrated as follows:

21represents the first fully connected layer, which compresses the number of channels from C to C r .W 2 ∈ ℝ C× C r is the second fully connected layer responsible for restoring the number of channels back to C. and denote the ReLU activation and Sigmoid functions, respectively.Finally, the Scale operation applies the learned channel weights to the original feature map, adjusting the importance of each channel.The formula is as follows:

22X ′ represents the feature map after U has been adjusted with weights, enhancing the response of important feature channels while diminishing the impact of less significant channels.

Cross-entropy loss function

23In deep learning, the essence of training neural networks is optimizing their weight parameters to suit specific tasks, and the loss function serves as a powerful tool for updating the backpropagation and parameter adjustment of neural networks.

24Most bearing fault diagnosis models based on deep learning use the cross-entropy loss function to measure the discrepancy between the model's predicted probability distribution and the true distribution.The cross-entropy loss [33] originates from information entropy and the Kullback-Leibler (KL) divergence, and its definition is as follows:

25In Eq (9), C denotes the total number of categories, y i represents the actual label of the i-th sample (encoded with one-hot encoding), and p i indicates the probability that the model predicts the i-th sample as belonging to the proper category.

26During the model training process, by minimizing the cross-entropy loss, the discrepancy between the model's predicted probability distribution and the actual label distribution is gradually reduced, enhancing the model's classification accuracy and generalization capability.

Proposed methods

27This paper proposes a multi-domain collaborative denoising bearing fault diagnosis model based on a dynamic inter-domain attention mechanism (DIDAM) and noise-aware loss function (NALF), which utilizes both time-domain and frequency-domain signals as inputs, aiming to enhance the model's robustness and fault diagnosis performance in noisy environments.Multi-domain feature fusion: To achieve efficient fusion of time-domain and frequencydomain information, a Dynamic Inter-Domain Attention Fusion mechanism (DIDAM) is designed.This mechanism can dynamically adjust the fusion method based on the feature importance of time-domain and frequency-domain signals, thus achieving flexible weighted fusion of information and enhancing the collaborative expression ability of cross-domain features.

Multi-domain collaborative denoising diagnosis model

28Classification decision: The fused feature vectors are integrated through fully connected layers and then input into a softmax classifier for bearing fault signal classification.Moreover, to improve the model's applicability in industrial noise environments, a Noise-Aware Loss Function (NALF) is designed for model training and parameter updating, further enhancing classification accuracy.

29For a more intuitive understanding of the specific architecture and parameter settings of the model proposed in this paper, Table 1 presents its detailed structure and parameter configuration.

Dynamic inter-domain attention mechanism

30A Dynamic Inter-Domain Attention Mechanism (DIDAM) is proposed to effectively capture key information in time-domain and frequency-domain signals and enhance the collaborative expression capability of cross-domain features.This mechanism is constructed by cascading an improved channel attention module with a novel spatial attention module, which dynamically weights the time-domain and frequency-domain features to achieve efficient information fusion.

31In response to the Squeeze operation in SENet, which only employs global average pooling to extract channel descriptor vectors, leading to relatively monotonous information and limiting the diversity of feature channels and the comprehensiveness of information, we introduce global standard deviation pooling while retaining the original global average pooling.This aims to better aggregate channel information, thereby enhancing the expressive capability of the channel attention mechanism.The improved channel attention mechanism is shown in Fig 3, where F sqd (⋅) denotes the newly added global standard deviation pooling operation.The mathematical expression for this operation is as follows: https://doi.org/10.1371/journal.pone.0326666.g003

32Next, the sum operation is performed on K C and Z C to obtain the final channel description vector ZK C .The other operations remain consistent with SENet and will not be altered.The formula is as follows:

33In Eq (11), the symbol ⊕ denotes the vector summation operation.Although traditional spatial attention mechanisms can prompt the model to focus on key areas within the feature map, their fixed convolutional windows or weighting mechanisms may overlook the nonlinear relationships between regions, failing to attend to the subtle associations between different areas effectively.

34Therefore, this paper proposes a novel spatial attention mechanism, as illustrated in X ′ ∈ ℝ C×H×W , resulting in three feature maps: Q ∈ ℝ C×H×W , G ∈ ℝ C×H×W , and K ∈ ℝ C×H×W .The formulas are as follows:

35Next, the Q, G, and K feature maps are each subjected to a reshape operation to obtain Q ∈ ℝ HW×C , G ∈ ℝ C×HW , and K ∈ ℝ C×HW .The matrix multiplication is then performed between Q and G, and the resulting weights are normalized using the Softmax function to obtain M ∈ ℝ (H×W)×(H×W) , which represents the spatial attention map.The formula is as follows:

36In Eq (13), a higher value of M indicates a more remarkable similarity between the two regions.The obtained M is multiplied by K, and the resulting product is reshaped into a new feature map of dimensions V ∈ ℝ C×H×W .

37Finally, V is fused with the input feature X ′ to obtain the final output feature map X ′′ .The mathematical formula is as follows:

38In summary, by reshaping the feature maps and performing multiple matrix operations on the similarities between regions, the spatial attention module in DIDAM can more effectively handle the nonlinear relationships between regions.Thus, it can capture more complex spatial dependencies and avoid the issue of neglecting fine-grained spatial information in traditional methods.

Noise-aware loss function

39When used for bearing fault diagnosis, the cross-entropy loss assigns the same loss weight to all samples without considering their difficulty level.This approach may lead to the cumulative loss of many simple samples, overshadowing the contribution of complex samples and causing the gradient updates to be biased towards simple samples.Additionally, the crossentropy loss is sensitive to outliers.When there are outliers or noise in the dataset, the model may overly focus on these points, thus affecting its generalization ability.

40Therefore, this paper proposes a Noise-Aware Loss Function (NALF).Specifically, since the performance of deep learning models becomes gradually robust with the increase in training epochs, a threshold is introduced, which increases as the number of training epochs increases.The formula is as follows:

41In Eq (15), N represents the number of sample categories, E s represents the total number of training epochs, and E represents the current training epoch.During each training epoch, the model compares the probability value of each sample being predicted correctly with the threshold .If the value is greater than , it is considered a correct prediction and is assigned a lower weight; otherwise, it is assigned a higher weight.The formula is as follows:

42Here, P r represents the probability value the model correctly predicts each sample in the current round.W l and W h denote the lower and higher weights, respectively, with their values set according to reference [34].The mathematical expression for the Noise-Aware Loss Function (NALF) is as follows:

43This design enables the model to update its parameters based on the actual prediction for each sample.In other words, it can effectively reduce the influence of prediction errors caused by noise.When the model's predictions are correct, it learns more reliable decision rules, thereby mitigating the adverse effects of noise on the model.

Experimental setup and noise simulation

44All experiments in this chapter were conducted on a computing platform based on the Windows 11 operating system, equipped with a 12th Generation Intel R ⃝ Core TM processor and an NVIDIA RTX 4090 graphics card.Algorithm development was implemented in Python, relying on the PyCharm integrated development environment and the PyTorch deep learning framework.During the model training process, the Adam optimizer was used, with an initial learning rate set to 0.001, a batch size of 128, and a total of 100 epochs to ensure the stability and efficiency of model convergence.

45Given that Gaussian white noise is statistically similar to various random noises in natural environments, the experiments will be conducted against backgrounds of Gaussian white noise with different intensities.Specifically, this study selects six different Signal-to-Noise Ratio (SNR) levels, including -10 dB, -8 dB, -6 dB, -4 dB, -2 dB, and 0 dB, to evaluate the performance of the proposed model under varying noise conditions.The formula for calculating the SNR is as follows: SNR dB = 10 log 10 P s P n (18) Here, P s and P n represent the signal and noise power, respectively, and dB denotes decibels.A higher Signal-to-Noise Ratio (SNR) indicates that the proportion of the signal relative to the noise is greater, meaning the signal is purer; conversely, a lower SNR suggests a higher proportion of noise, and the signal is more severely interfered with.

Dataset sescription

46CWRU Dataset [35]: This dataset was collected at a sampling rate of 12 kHz under four load conditions (0, 1, 2, and 3 horsepower).It includes four types of faults: healthy (H), inner race fault (IF), outer race fault (OF), and rolling element fault (BF).Each fault type is further categorized into three damage sizes: 0.007, 0.014, and 0.021 inches.Details of the CWRU dataset used in this study are shown in Table 2. MFPT Dataset [36]: This dataset consists of 23 categories.The basic group includes three sets of normal and three sets of outer race fault data collected under a load of 270 lbs, a shaft speed of 25 Hz, and a sampling rate of 97656 kHz.The extended group contains two variableload subsets: seven sets of outer race fault data (collected at loads ranging from 25 to 300 lbs with a sampling rate of 48828 kHz) and seven sets of inner race fault data (collected at loads ranging from 0 to 300 lbs with a sampling rate of 48828 kHz).Details of the MFPT dataset used in this study are shown in Table 3.

Fault diagnosis under different noise environments

47This subsection analyzes the fault diagnosis performance of the proposed model under different signal-to-noise ratio (SNR) conditions.As shown in Fig 5(a), on the CWRU dataset, the diagnosis accuracy reaches 100% when SNR = 0 dB.The accuracy gradually declines as the SNR decreases (i.e., noise increases).However, it remains above 96.91%for SNR ≥ -4 dB, indicating that the model exhibits strong noise resistance in high-SNR environments.When the SNR drops to -6 dB and -8 dB, the accuracy decreases to 94.58% and 89.62%, respectively, demonstrating that despite increased noise interference, the model can still accurately identify various fault types.Even in an extreme noise environment (SNR = -10 dB), the accuracy remains at 81.25%, proving that the model can effectively extract fault features under severe noise conditions, further highlighting its superior noise robustness.

48As shown in Fig 5(b), on the MFPT dataset, the proposed model achieves a fault diagnosis accuracy of 96.74% at SNR = 0 dB, slightly lower than the 100% accuracy observed on the CWRU dataset.As the SNR decreases, the fault recognition rate also declines.However, it remains above 90% for SNR ≥ -6 dB, demonstrating that the model can still stably identify fault features under moderate noise levels.Even in the extreme case of SNR = -10 dB, the accuracy remains at 76.36%, significantly higher than random guessing, indicating that the model can still effectively extract fault features and maintain strong noise resistance.Additionally, compared to the CWRU dataset, the accuracy of the MFPT dataset is slightly lower under the same SNR conditions, which may be attributed to the lower signal quality and more significant background noise interference in the MFPT dataset.Notably, in both datasets, the accuracy of the proposed model does not exhibit a drastic drop, suggesting that it can maintain stable performance not only in high-SNR environments but also under low-SNR conditions, fully demonstrating its superior noise robustness.Additionally, we plotted the confusion matrix to visually present the model's recognition of different fault types under various SNR conditions.Since the accuracy of the model on the CWRU dataset reached 100% when SNR = 0 dB, the confusion matrix is not shown for this case.As shown in Fig 6, when SNR ≥ -6 dB, most misclassifications occur in Category 2, which is often misidentified as Category 0 or Category 4. This suggests that the features of Category 2 lack sufficient discriminative power under low SNR conditions, causing its features to spread across multiple categories.When the SNR further drops to -8 dB, in addition to the misclassification of Category 2, Category 0 is also misidentified as Category 2, indicating that the features of Category 0 and Category 2 become more similar under the influence of noise.This may be due to their close time-frequency features, with the noise masking their subtle differences.When the SNR decreases to -10 dB, almost all categories experience severe misclassification, indicating that extreme noise leads to extreme instability in category features, further weakening the model's discriminative ability.

49To further validate this phenomenon, we performed t-SNE dimensionality reduction and visualization analysis on the feature distributions under different SNR conditions, as shown in Fig 7 .The results indicate that, on the CWRU dataset, the clustering of samples from different categories is relatively good under high SNR conditions.As the SNR decreases, the distribution of points becomes increasingly dispersed, and the category boundaries become https://doi.org/10.1371/journal.pone.0326666.g006more blurred.Specifically, when SNR ≥ -8 dB, Categories 0, 2, and 4 gradually move closer in the t-SNE plot and eventually overlap.When SNR = -10 dB, most category sample points intersect, making the categories nearly inseparable.This trend corresponds with the misclassification results from the confusion matrix, further confirming the impact of noise on fault feature extraction.

50On the MFPT dataset, we also plotted the confusion matrix and t-SNE dimensionality reduction visualization results (Figs 8 and 9).The confusion matrix shows that when SNR ≥ -4 dB, the main misclassification occurs between Categories 0, 1, and 2, indicating that these categories have similar features under low SNR conditions.When the SNR drops to -6 dB and below, misclassifications between Categories 0, 1, 2, 4, and 5 significantly increase, suggesting that as noise interference intensifies, the feature distinguishability between different categories decreases.From the t-SNE dimensionality reduction visualization, compared to the CWRU dataset, the distribution of sample points for each category on the MFPT dataset is more dispersed, further confirming that the signal quality of the MFPT dataset is poorer and that the noise impact is more significant.

Comparison with the state-of-the-art methods

51To further verify the noise resistance of the proposed model, we compared its performance with six state-of-the-art denoising models (including MCNN-LSTM [24], AMFCN [26], Mel-CNN [37], DRSN [38], IDRSN [39], and RDDAN [40]) under different SNR conditions, as shown in Table 4.As the SNR decreases (i.e., noise level increases), the diagnostic accuracy of all models declines-an expected trend commonly observed in denoising tasks.Specifically, under high SNR conditions (SNR ≥ -4 dB), the proposed model outperforms most existing methods, ranking only behind RDDAN and AMFCN.In the lower SNR range (-4 ≤ SNR ≤ -10 dB), its diagnostic accuracy is second only to RDDAN.In boisterous environments (SNR = -8 dB and SNR = -10 dB), the performance advantage of the proposed model becomes more pronounced.It is emphasized that the proposed model shows the least degradation in performance as the SNR ratio continues to decrease, fully demonstrating its superior noise robustness.In summary, the proposed model delivers outstanding fault diagnosis performance under various noise levels, particularly with extreme robustness in high-noise environments, indicating its high practical value for real-world applications.To more intuitively demonstrate the performance differences among various models under strong noise conditions, we selected SNR = -8 dB ( high noise intensity and covers a comprehensive range of comparison methods) to plot their confusion matrices and t-SNE dimensionality reduction visualizations on the CWRU test set, as shown in Figs 10 and 11.

52From the confusion matrices, it is evident that models such as DRSN, AMFCN, Mel-CNN, and IDRSN have significant classification errors across multiple categories, primarily between categories 1, 2, 5, and 8.This may be due to the limited noise resistance of these methods, which makes it difficult to effectively distinguish between these inherently similar fault patterns under high noise interference.In contrast, our model only has a few misclassifications on categories 0, 1, and 2, with most errors being the misidentification of category 2 as category 0. This phenomenon may stem from the substantial similarity between categories 0 and 2 in the feature space, which is more easily obscured by intense noise.It is worth noting that although the overall recognition accuracy of the proposed model is slightly lower than that of RDDAN, its misclassifications are mainly between adjacent categories and are relatively concentrated, which to some extent reflects its strong ability to model feature boundaries and maintain high fault recognition capabilities even in high-noise environments.distributions extracted by our method and RDDAN are much clearer, with distinct boundaries between different categories and almost no overlap, which is highly consistent with the confusion matrix results.This further demonstrates the proposed model's superior feature representation capability and good inter-class separability under complex noise conditions.The experimental results show that Model 2 outperforms Model 1 under all SNR conditions, particularly at low SNR levels (SNR = -8 dB and SNR = -10 dB), demonstrating that DIDAM significantly enhances the model's robustness.Similarly, Model 3 performs better than Model 1 in most SNR conditions, especially in low-SNR environments (e.g., SNR = -8 dB and SNR = -10 dB), indicating that NALF helps improve the model's noise resistance.Notably, Model 4 surpasses all three baseline models across all SNR conditions, achieving an accuracy of 81.25% even in extreme noise conditions (SNR = -10 dB).This result confirms that combining DIDAM and NALF can significantly enhance the model's noise robustness and overall diagnostic accuracy.In summary, both DIDAM and NALF contribute to performance improvement through different mechanisms, and their combination further amplifies this effect, resulting in a synergistic enhancement.

Discussion

53Noise interference in industrial scenarios often masks the original characteristics of bearing fault signals, leading to insufficient diagnostic reliability of fault diagnosis models based on deep learning.Although existing denoising models have achieved some success, they still have certain limitations:

54• Most methods focus exclusively on processing time-domain signals, neglecting key information contained in other potential domains.This makes the model's accuracy in extracting the original features of fault signals under intense background noise difficult, limiting its ability to express high-dimensional features of different fault patterns.• Some methods have begun to attempt feature extraction from different domains.However, they typically rely on fixed feature concatenation or fusion methods, failing to fully consider the differential contributions of features from different signal domains to model performance, leading to poor multi-source information fusion.• Existing denoising models usually employ standard cross-entropy functions for network parameter updates, neglecting that strong noise environments may lead the model to make incorrect decisions, causing deviations in the direction of gradient updates.

55This paper proposes a multi-domain collaborative denoising bearing fault diagnosis model based on a dynamic inter-domain attention mechanism and a noise-aware loss function.The model can simultaneously extract high-dimensional features of bearing fault signals from different domains, enriching and diversifying the expression of the original signal's highdimensional features and enhancing the model's fault recognition capability under substantial noise interference.Additionally, a dynamic inter-domain attention mechanism is designed to flexibly adjust the fusion approach according to the importance of each signal domain, improving the efficiency and accuracy of information fusion.Finally, a noise-aware loss function is constructed, effectively avoiding deviations in the model's gradient update direction caused by strong noise environments, thereby improving the stability and reliability of fault diagnosis.

56Experimental results on the publicly available CWRU and MFPT datasets show that the proposed model exhibits superior diagnostic capabilities under different noise intensities.Even in an extreme noise environment with an SNR of -10 dB, the model achieved 81.25% and 76.36% diagnostic accuracy rates.Compared to most existing mainstream denoising models, the proposed model maintains high diagnostic precision under low SNR conditions (extreme noise environments), fully demonstrating its effectiveness.

57Despite the promising experimental results of the proposed model, there are still some limitations.For example, the experiments in this paper are based on standardized datasets such as CWRU and MFPT.In contrast, the complex conditions in actual industrial settings (such as variable speed, variable load, and multi-source mixed noise) may lead to stronger time-variability in fault signals, resulting in decreased model generalization ability.The multi-domain feature extraction and dynamic inter-domain attention mechanism increase the computational burden, and the model may struggle to meet real-time diagnostic requirements in resource-constrained scenarios such as industrial edge devices.Moreover, the model relies on training data with known fault types and may perform poorly on unseen fault patterns (such as complex or early weak faults), lacking incremental learning capability.

58In the future, a lightweight and more practical denoising bearing fault diagnosis model can be designed to reduce computational latency while maintaining precision.Additionally, introducing non-Gaussian noise, multi-source mixed noise, and varying condition data can enhance the model's environmental adaptability.Furthermore, meta-learning or contrastive learning can be combined to improve the model's ability to identify new faults with a small number of samples.

Conclusion

59This paper proposes a multi-domain collaborative denoising bearing fault diagnosis model based on the dynamic inter-domain attention mechanism and noise-aware loss function.Specifically, the model can simultaneously extract high-dimensional features of bearing fault signals from different domains, aiming to enrich and diversify the expression of highdimensional features in the original signals, thereby enhancing the model's fault recognition ability under substantial noise interference.Secondly, a dynamic inter-domain attention mechanism (DIDAM) is introduced to effectively distinguish the importance of information from different signal domains and enhance the collaborative expression ability of crossdomain features.Lastly, a noise-aware loss function (NALF) is proposed for model training and parameter updating.It aims to effectively reduce the negative impact of noise on the model, allowing it to learn more reliable decision-making rules.Experimental results on two public datasets, CWRU and MFPT, show that compared to most existing mainstream denoising fault diagnosis models, the proposed model exhibits superior diagnostic capabilities under different noise intensities.Particularly in extreme noise environments, its anti-interference ability and robustness are effectively improved, demonstrating its effectiveness.

Fig 1 .

60Fig 1.The overall framework of the Squeeze-and-Excitation Attention Mechanism.https://doi.org/10.1371/journal.pone.0326666.g001

61As shown inFig 2, the proposed model consists of four core modules: data preprocessing, feature extraction, multi-domain feature fusion, and classification decision.Specifically, the components and their implementation steps are as follows: Data preprocessing: Firstly, the bearing vibration signals (time-domain signals) collected by sensors are divided into several equal-length signal sequences of 1024.Then, these sequences are transformed into the frequency domain through the Fast Fourier Transform (FFT), and the data in both domains are normalized separately to eliminate dimensional discrepancies between different signals.Feature extraction: A dual-branch parallel structure is constructed, with each branch containing five cascaded convolution-pooling operations.The time-domain branch focuses on extracting local temporal pattern features from vibration waveforms.In contrast, the frequency-domain branch aims to capture deep spectral energy distribution patterns, ultimately forming two sets of high-dimensional feature tensors.

Fig 2 .

62Fig 2. The overall framework of the proposed multi-domain collaborative denoising bearing fault diagnosis model.https://doi.org/10.1371/journal.pone.0326666.g002

Fig 3 .

63Fig 3.The schematic diagram of the channel attention module in Dynamic Inter-Domain Attention Mechanism (DIDAM).

Fig 4 .

64Fig 4. The schematic diagram of the spatial attention module in Dynamic Inter-Domain Attention Mechanism (DIDAM).https://doi.org/10.1371/journal.pone.0326666.g004

Fig 5 .

65Fig 5.The fault diagnosis performance of the proposed model under different SNR conditions on the test datasets of CWRU and MFPT.(a) CWRU dataset; (b) MFPT dataset.https://doi.org/10.1371/journal.pone.0326666.g005

Fig 6 .

66Fig 6.The confusion matrix of the proposed model under different SNR conditions on the test dataset of CWRU.(a) -2 dB; (b) -4 dB; (c) -6 dB; (d) -8 dB; (e) -10 dB.

Fig 7 .

67Fig 7. The t-SNE visualization of feature distribution under different SNR conditions on the test dataset of CWRU.(a) -2 dB; (b) -4 dB; (c) -6 dB; (d) -8 dB; (e) -10 dB.https://doi.org/10.1371/journal.pone.0326666.g007

Fig 8 .

68Fig 8.The confusion matrix of the proposed model under different SNR conditions on the test dataset of MFPT.(a) 0 dB; (b) -2 dB; (c) -4 dB; (d) -6 dB; (e) -8 dB; (f) -10 dB.https://doi.org/10.1371/journal.pone.0326666.g008

Fig 9 .

69Fig 9.The t-SNE visualization of feature distribution under different SNR conditions on the test dataset of MFPT.(a) 0 dB; (b) -2 dB; (c) -4 dB; (d) -6 dB; (e) -8 dB; (f) -10 dB.https://doi.org/10.1371/journal.pone.0326666.g009

Fig 10 .

70Fig 10.The comparison of confusion matrices of different models on the CWRU test set under SNR = -8 dB.https://doi.org/10.1371/journal.pone.0326666.g010

Finally, to analyze 4 :

71the impact of the Dynamic Inter-domain Attention Mechanism (DIDAM) and the Noise-Aware Loss Function (NALF) on the performance of the proposed model, we conducted an ablation study on the CWRU dataset, as shown in Fig 12.All models in this experiment follow the framework described in the "Multi-Domain Collaborative Denoising Diagnosis Model, " with the specific experimental settings as follows: Model 1: DIDAM is not used, and the loss function is cross-entropy.Model 2: DIDAM is used, and the loss function is cross-entropy.Model 3: DIDAM is not used, and the loss function is NALF.Model The proposed model (DIDAM + NALF).

Fig 11 .Fig 12 .

72Fig 11.The t-SNE visualization of feature distributions of different models on the CWRU test set under SNR = -8 dB.https://doi.org/10.1371/journal.pone.0326666.g011

Table 1 . Detailed architecture and parameter configuration of the proposed model.

73https://doi.org/10.1371/journal.pone.0326666.t001

Table 3 . Details of the MFPT dataset used in this study.

74https://doi.org/10.1371/journal.pone.0326666.t003

Table 4 . Comparison of fault diagnosis performance of various methods under different signal-to-Noise ratio conditions on CWRU dataset.

75The t-SNE dimensionality reduction visualization results shown inFig 11 further corroborate this conclusion.It is visible that DRSN, AMFCN, Mel-CNN, and IDRSN have significant overlapping regions among categories 1, 2, 5, and 8, indicating their difficulty in achieving adequate category distinction under strong noise.In contrast, the feature

참고문헌 39건

  1. Rolling element bearing diagnostics using the Case Western Reserve University data: A benchmark study Mechanical Systems and Signal Processing · Elsevier BV · 2015 10.1016/j.ymssp.2015.04.021
  2. Squeeze-and-Excitation Networks 2018 10.1109/cvpr.2018.00745
  3. Mechanical model development of rolling bearing-rotor systems: A review Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.09.023
  4. A robust intelligent fault diagnosis method for rolling element bearings based on deep distance metric learning Neurocomputing · Elsevier BV · 2018 10.1016/j.neucom.2018.05.021
  5. Application of EMD ANN and DNN for Self-Aligning Bearing Fault Diagnosis Archives of Acoustics · De Gruyter · 2018 10.24425/122364
  6. A comprehensive review of artificial intelligence-based approaches for rolling element bearing PHM: shallow and deep learning JMST Advances · Springer Nature · 2019 10.1007/s42791-019-0016-y
  7. An improved deep convolutional neural network with multi-scale information for bearing fault diagnosis Neurocomputing · Elsevier BV · 2019 10.1016/j.neucom.2019.05.052
  8. Focal Loss for Dense Object Detection 2017 10.1109/iccv.2017.324
  9. Noise Analyses for Rolling Bearings Lecture notes in networks and systems · Springer International Publishing · 2019 10.1007/978-3-030-26991-3_8
  10. Deep Residual Shrinkage Networks for Fault Diagnosis IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tii.2019.2943898
  11. Non-Contact Fault Diagnosis of Bearings in Machine Learning Environment IEEE Sensors Journal · IEEE Sensors Council · 2020 10.1109/jsen.2020.2964633
  12. 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
  13. Review on Fault Diagnosis on the Rolling Bearing Journal of Physics Conference Series · IOP Publishing · 2021 10.1088/1742-6596/1820/1/012107
  14. A bearing fault diagnosis model based on CNN with wide convolution kernels Journal of Ambient Intelligence and Humanized Computing · Springer Science+Business Media · 2021 10.1007/s12652-021-03177-x
  15. Discrete Fourier transform techniques for noise reduction and digital enhancement of analytical signals TrAC Trends in Analytical Chemistry · Elsevier BV · 2021 10.1016/j.trac.2021.116354
  16. Bearing Fault Diagnosis via Improved One-Dimensional Multi-Scale Dilated CNN Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21217319
  17. Research on rotor system fault diagnosis method based on vibration signal feature vector transfer learning Engineering Failure Analysis · Elsevier BV · 2022 10.1016/j.engfailanal.2022.106424
  18. Bearing Fault Diagnosis Using Lightweight and Robust One-Dimensional Convolution Neural Network in the Frequency Domain Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22155793
  19. A systematic review of rolling bearing fault diagnoses based on deep learning and transfer learning: Taxonomy, overview, application, open challenges, weaknesses and recommendations Ain Shams Engineering Journal · Elsevier BV · 2022 10.1016/j.asej.2022.101945
  20. A Survey on Fault Diagnosis of Rolling Bearings Algorithms · Multidisciplinary Digital Publishing Institute · 2022 10.3390/a15100347
  21. Rolling Bearing Fault Diagnosis Method Based on Attention CNN and BiLSTM Network Neural Processing Letters · Springer Science+Business Media · 2022 10.1007/s11063-022-11013-2
  22. A fault diagnosis method for rolling bearings based on RDDAN under multivariable working conditions Measurement Science and Technology · IOP Publishing · 2022 10.1088/1361-6501/ac9854
  23. Bearing fault diagnosis using signal processing and machine learning techniques: A review IOP Conference Series Materials Science and Engineering · IOP Publishing · 2022 10.1088/1757-899x/1259/1/012034
  24. A fault diagnosis method of rolling bearing based on improved deep residual shrinkage networks Measurement · Elsevier BV · 2022 10.1016/j.measurement.2022.112282
  25. Impact of noise model on the performance of algorithms for fault diagnosis in rolling bearings Mechanical Systems and Signal Processing · Elsevier BV · 2022 10.1016/j.ymssp.2022.109975
  26. A motor bearing fault voiceprint recognition method based on Mel-CNN model Measurement · Elsevier BV · 2022 10.1016/j.measurement.2022.112408
  27. 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
  28. Cross-Entropy Loss Functions: Theoretical Analysis and Applications arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2304.07288
  29. An adaptive multiscale fully convolutional network for bearing fault diagnosis under noisy environments Measurement · Elsevier BV · 2023 10.1016/j.measurement.2023.112993
  30. A novel rolling bearing fault diagnosis method based on Adaptive Denoising Convolutional Neural Network under noise background Measurement · Elsevier BV · 2023 10.1016/j.measurement.2023.113209
  31. Diagnosisformer: An efficient rolling bearing fault diagnosis method based on improved Transformer Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.106507
  32. Unbalance Bearing Fault Identification Using Highly Accurate Hilbert–Huang Transform Approach Journal of Nondestructive Evaluation Diagnostics and Prognostics of Engineering Systems · ASM International · 2023 10.1115/1.4062929
  33. An ultra-precise Fast Fourier Transform Measurement · Elsevier BV · 2023 10.1016/j.measurement.2023.113372
  34. An Intelligent Fault Diagnosis Method Enhanced by Noise Injection for Machinery IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2023 10.1109/tim.2023.3322488
  35. Deep Residual Multiscale Convolutional Neural Network With Attention Mechanism for Bearing Fault Diagnosis Under Strong Noise Environment IEEE Sensors Journal · IEEE Sensors Council · 2024 10.1109/jsen.2023.3345400
  36. Multi-scale residual neural network with enhanced gated recurrent unit for fault diagnosis of rolling bearing Measurement Science and Technology · IOP Publishing · 2024 10.1088/1361-6501/ad282a
  37. Multi-timescale attention residual shrinkage network with adaptive global-local denoising for rolling-bearing fault diagnosis Knowledge-Based Systems · Elsevier BV · 2024 10.1016/j.knosys.2024.112478
  38. A denoising algorithm based on ARIMA and competitive K-SVD for the diagnosis of rolling bearing faults Applied Acoustics · Elsevier BV · 2024 10.1016/j.apacoust.2024.110309
  39. Interference Suppression of Nonstationary Signals for Bearing Diagnosis Under Transient Noise Measurements IEEE Transactions on Reliability · Institute of Electrical and Electronics Engineers · 2025 10.1109/tr.2025.3527739