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

Bearing fault diagnosis based on cross image multi-attention mechanism

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Yupeng Liu — School of Electrical and Mechanical Engineering, Jilin University of Architecture and Technology, Changchun, 130114, China. 1589356167@qq.com.
  2. Weinan Zheng — School of Electrical and Mechanical Engineering, Jilin University of Architecture and Technology, Changchun, 130114, China.
  3. Ying Du — School of Electrical and Mechanical Engineering, Jilin University of Architecture and Technology, Changchun, 130114, China.
  4. Yuehui Wang — School of Electrical and Mechanical Engineering, Jilin University of Architecture and Technology, Changchun, 130114, China.
  5. Jian Jin — School of Electrical and Mechanical Engineering, Jilin University of Architecture and Technology, Changchun, 130114, China.
  6. Miao Yu — School of Electrical and Mechanical Engineering, Jilin University of Architecture and Technology, Changchun, 130114, China.
DOI
10.1038/s41598-025-07562-w
저널
Scientific Reports
발행년도
2025
발행기관
Nature Portfolio
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-025-07562-w
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4411871403

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 25,433자

본문 펼치기
Jilin University of Architecture and Technology Jilin University of Architecture and Technology Jilin University of Architecture and Technology Jilin University of Architecture and Technology Jilin University of Architecture and Technology Jilin University of Architecture and Technology Bearing Fault Diagnosis, Multi-Attention Mechanism, CIMAM-ResNet18 April 28th, 2025 [https://doi.org/10.21203/rs.3.rs-6451467/v1](https://doi.org/10.21203/rs.3.rs-6451467/v1)   This work is licensed under a Creative Commons Attribution 4.0 International License. [Read Full License](https://creativecommons.org/licenses/by/4.0/) No competing interests reported. A version of this preprint was published at Scienti�c Reports on July 1st, 2025. See [the published version at https://doi.org/10.1038/s41598-025-07562-w.](https://doi.org/10.1038/s41598-025-07562-w) ## Bearing Fault Diagnosis Based on Cross-image Multi- Attention Mechanism Yupeng Liu*, Weinan Zheng, Ying Du, Yuehui Wang, Jian Jin, Miao Yu School of Electrical and Mechanical Engineering, Jilin University of Architecture and Technology, Changchun 130114, China *Corresponding. Yupeng Liu@ 1589356167@qq.com these authors contributed equally to this work Abstract Bearings are crucial components of rotating machinery, and fault diagnosis is essential for ensuring the safe operation of mechanical systems. Neural networks, commonly used in bearing fault diagnosis, are effective in extracting deep features from fault signals but often fail to emphasize critical information. We propose a fault diagnosis method that integrates a crossimage multi-attention mechanism with a residual neural network. The collected vibration signals are first preprocessed using VMD-GAF and then fed into the network for fault detection. The results demonstrate that the CIMAM-ResNet18 model significantly enhances the robustness of signal processing, achieving an accuracy of 98.00% when tested on the experimental platform. Keyword: Bearing Fault Diagnosis; Multi-Attention Mechanism; CIMAM-ResNet18 1.Introduction Rolling bearings are essential components in rotating machinery, and their performance directly influences the operational stability of such systems. As a result, research on bearing fault diagnosis is crucial [1-5]. The continuous development of deep learning has expanded the possibilities for intelligent fault diagnosis in rolling bearings, effectively overcoming the limitations of human intervention in traditional diagnostic approaches [6-10]. Ma Ning et al. [11] proposed a method that combines CEEMDAN with an improved one-dimensional multiscale convolutional neural network. This approach denoises and reconstructs the bearing signals using CEEMDAN, and the enhanced network improves fault classification accuracy. Shi Mengyao et al. [12] combined ResNet50 and ViT, converting signals into time-frequency images for fault diagnosis. Experimental results demonstrated that this method reduces model parameters and computational load while enhancing diagnostic accuracy. However, deep learning-based fault diagnosis models may not ensure effective extraction of fault information. To address this, researchers have proposed integrating attention mechanisms to enhance diagnostic efficiency and speed, with spatial and channel attention being among the most commonly used [13, 14]. Zhang Yujian et al. [15] proposed a fault diagnosis model that combines channel attention mechanisms with residual capsule networks. By replacing fully connected capsule layers with affine transformation matrices with shared weights, the model improves training speed. Experimental results demonstrate that the model offers superior generalization and noise resistance. However, a single attention mechanism may lead to overfitting during multiple iterations, thereby compromising the overall accuracy of the model. To address this issue, several researchers have proposed fusion models that integrate multiple attention mechanisms [19, 20], focusing on both spatial and channel information to mitigate overfitting. Zheng Yujie et al. [21] applied a kernel attention mechanism for adaptive feature extraction, resulting in improved fault diagnosis accuracy. Chen Zhigang et al. [22] combined SVMD with SBAM-ResNet to enhance fault diagnosis accuracy in rolling bearings. However, spatial and channel attention mechanisms only focus on the internal features of individual images, overlooking the correlations between different images. To address this issue, we propose a residual neural network incorporating a cross-image multi-attention mechanism, which enhances the network's robustness and improves fault diagnosis accuracy. 2.Residual neural network model based on multiple attention mechanisms 2.1 Spatial attention mechanism and channel attention mechanism The Channel Attention Mechanism (CAM) is an attention model that emphasizes channel feature information [23], as illustrated in Figure 1. Upon input of the initial data X, a convolution operation is applied to obtain the matrix ?, which has a ?× ?× ? structure, where ? denotes the number of channels, and ? and ? represent the height and width of the matrix in each channel, respectively. The ? channel matrices are subjected to global average pooling using ???(·), which compresses them into a scalar, resulting in a 1 × 1 × ? matrix, followed by activation and upsampling to produce the weight matrix. The weight matrix matrix. Next, the activation function ???(·, ?) reduces the dimensionality of the 1 × 1 × ? is then activated and normalized using ??????(·), and multiplied by matrix ? to obtain the weighted feature matrix ?̃. 1×1×C X U 1×1×C 1×1×C Conv H C W 1×1×C/r H W C Figure 1 Model of channel attention mechanism The Spatial Attention Mechanism (SAM) is an attention model designed to focus on spatial feature information, as illustrated in Figure 2. Upon input of the initial data?1, a convolution operation is applied to obtain the matrix ?1. Global average pooling and global max pooling are then concatenated, followed by convolution and activation to produce the attention weight are applied to obtain feature maps with a 2 × ?× ? structure. The two channel feature maps matrix ?, with a structure of 1 × ?× ?. ? is then normalized and multiplied by the input matrix ?1 to obtain the weighted feature map ?1̃. Pool X1 U1 Conv H C W M 2×H×W 1×H×W H W C Figure 2 Model of spatial attention mechanism 2.2 Cross-image attention mechanisms While the spatial and channel attention mechanisms effectively extract feature information from individual images, they mainly focus on single images and fail to account for the correlation of feature information across multiple images. To address this, a Cross-Image Attention Mechanism (CIAM) is proposed to improve feature focus in multi-image processing. CIAM is an attention mechanism aimed at enhancing inter-image correlations and improving classification accuracy. By calculating the correlations between different images, the model's robustness and accuracy are enhanced. The principle of CIAM is illustrated in Figure 3. The input image set [?1, ?2, ?3 ··· ??] is first processed through convolution to generate the convolution matrix set [?1, ?2, ?3 ··· ??] <sup>∈?×?×?</sup> . Each ?? is then subjected to both max pooling and average pooling to yield the max pooling matrix set [?1′, ?2′, ?3′ ··· ??′]∈1×?×? and the average pooling matrix set [?1′′, ?2′′, ?3′′ ··· ??′′]∈1×?×?, which are then further convolution matrix set [?1, ?2, ?3 ··· ??] <sup>∈?×?×?</sup> . Each ?? is then subjected to both max pooling and average pooling to yield the max pooling matrix set [?1′, ?2′, ?3′ ··· ??′]∈1×?×? and the average pooling matrix set [?1′′, ?2′′, ?3′′ ··· ??′′]∈1×?×?, which are then further computed. As an example, ?1′ is combined with [?2′, ?3′ ··· ??′] and then reduced in convolution matrix set [?1, ?2, ?3 ··· ??] <sup>∈?×?×?</sup> . Each ?? is then subjected to both max pooling and average pooling to yield the max pooling matrix set [?1′, ?2′, ?3′ ··· ??′]∈1×?×? and the average pooling matrix set [?1′′, ?2′′, ?3′′ ··· ??′′]∈1×?×?, which are then further computed. As an example, ?1′ is combined with [?2′, ?3′ ··· ??′] and then reduced in dimensionality using Conv to obtain the correlation matrix for each image, [?12, ?13, ?14 ··· and the average pooling matrix set [?1′′, ?2′′, ?3′′ ··· ??′′]∈1×?×?, which are then further computed. As an example, ?1′ is combined with [?2′, ?3′ ··· ??′] and then reduced in dimensionality using Conv to obtain the correlation matrix for each image, [?12, ?13, ?14 ··· ?1?] <sup>∈1×?×?</sup> . The max pooling matrix set [?1′, ?2′, ?3′ ··· ??′]∈1×?×? is then combined into compressed into a scalar value through average pooling, followed by an activation function to an overall matrix ? <sup>′∈?×1×?×?</sup> . Similar to the channel attention mechanism, each channel is [?12, ?13, ?14 ··· ′, ?2′, ?3′ ··· ??′]∈1×?×? is then combined into . Similar to the channel attention mechanism, each channel is ?1?] <sup>∈1×?×?</sup> . The max pooling matrix set [?1′, ?2′, ?3′ ··· ??′]∈1×?×? is then combined into compressed into a scalar value through average pooling, followed by an activation function to an overall matrix ? <sup>′∈?×1×?×?</sup> . Similar to the channel attention mechanism, each channel is the weight matrix A, as shown in equations (1) and (2). derive the weight vector ?1. This operation is performed on all ? matrix groups, resulting in ?= <sup>?1</sup> ?2 ?3 ⋮ [?? <sup>?1</sup> ?2 ?3 ⋮ ?? ?2 ?3 ⋮ ?? ] ?1 = ???????(???????(? <sup>′</sup> )) ∈?× 1 × 1 × 1 0 ?12 ?13 ⋯ ?1?−1 ?1? ?21 0 ?23 ⋯ ?2?−1 ?2? ?31 ?32 0 ⋯ ?3?−1 ?3? ⋮ ⋮ ⋮ ⋱ ⋮ ⋮ ??−1 2 ??−1 2 ??−1 3 ⋯ 0 ??−1 ? [ ??1 ??2 ??3 ⋯ ?? ?−1 0 ] ? the weight matrix A, as shown in equations (1) and (2). ?1. This operation is performed on all ? matrix groups, resulting in ?1 = ???????(???????(? <sup>′</sup> )) ∈?× 1 × 1 × 1 (1) 0 ?12 ?13 ⋯ ?1?−1 ?1? 21 0 ?23 ⋯ ?2?−1 ?2? ∈?× ?× 1 × 1 (2) = [?? ] [ ??1 ??2 ??3 ⋯ ?? ?−1 0 ] Each row of the weight matrix ? is multiplied by the corresponding correlation matrix to produce the weighted correlation matrix ?? ∈?× 1 × ?× ? . Similarly, the weighted The two matrices are then combined, followed by dimensionality reduction using Conv to yield correlation matrix ?? ∈?× 1 × ?× ? is derived after processing the average pooling matrix. the final weighted matrix ~~?~~ ∈?× 1 × ?× ? . By multiplying ~~?~~ with the input matrix obtained, as illustrated in Figure 3. [?1, ?2, ?3 ··· ??] <sup>∈?×?×?</sup>, the cross-image weighted matrix set ~~?~~ <sup><u>′</u></sup> = [?1′, ?2′, ?3′ ··· ??′] is the final weighted matrix ~~?~~ ∈?× 1 × ?× ? . By multiplying ~~?~~ with the input matrix obtained, as illustrated in Figure 3. [?1, ?2, ?3 ··· ??] <sup>∈?×?×?</sup>, the cross-image weighted matrix set ~~?~~ <sup><u>′</u></sup> = [?1′, ?2′, ?3′ ··· ??′] is 1′, ?2′ 2′, ?3′ 3′ ··· ??′ 1×1×i i×1×H×W i×1×H×W i×1×H×W i×C×H×W X 1 X 2 X 3 X i MaxPool AvgPool Conv i×C×H×W U1 U2 U3 Ui X1 X2 X3 Xi 1×1×i i×1×H×W i×1×H×W Figure 3 Cross-image attention mechanism model 2.3 Multi-attention mechanism model based on CIAM fusion The multi-attention mechanism is a strategy that simultaneously focuses on various features of the input information using different attention mechanisms. Multiple independent attention heads are employed to compute attention weights separately, which are then aggregated to improve robustness. By integrating the cross-image attention mechanism, channel attention mechanism, and spatial attention mechanism, the Cross-Image MultiAttention Mechanism (CIMAM) model is proposed. This model balances the attention on both internal image features and the inter-image correlations, greatly enhancing the robustness of the model. The model is illustrated in Figure 4. _X_ 1 _X_ 2 _X_ 3 _X_ 1 _X_ 2 _X_ 1 _X_ 2 U1 U2 _X_ 3 <mark>Conv</mark> U3 <mark>SAM</mark> _X_ 3 <mark>CAM</mark> _X_ 3 <mark>Conv</mark> <mark>SAM</mark> <mark>CAM</mark> U3 _X_ 1 _X_ 2 _X_ 3 _X_  _i_ _X_  _i_ _X_  _i_ _X_ _i_ Ui Figure 4 CIMAM model The process is outlined below: 1) The initial input data, ?= {?1, ?2 ⋯??}, undergoes convolution operations to 2) The spatial attention mechanism is employed to apply attention weighting, enhancing generate the initial matrix, ?= {?1, ?2 ⋯??}; the focus on spatial features, resulting in the matrix ?′ = {?′1, ?′2 ⋯?′?}; 2) The spatial attention mechanism is employed to apply attention weighting, enhancing generate the initial matrix, ?= {?1, ?2 ⋯??}; the focus on spatial features, resulting in the matrix ?′ = {?′1, ?′2 ⋯?′?}; 3) ?’ serves as the input, and the channel attention mechanism is applied to perform weighting operations, enhancing the focus on channel features, resulting in the matrix ?" = the focus on spatial features, resulting in the matrix ?′ = {?′1, ?′2 ⋯?′?}; 3) ?’ serves as the input, and the channel attention mechanism is applied to perform weighting operations, enhancing the focus on channel features, resulting in the matrix ?" = 4) The cross-image attention mechanism is employed to perform multi-image attention {?"1, ?"2 ⋯?"?}; weighting operations, resulting in the output matrix ?′′′ = {?′′′1, ?′′′2 ⋯?′′′?}. 4) The cross-image attention mechanism is employed to perform multi-image attention {?"1, ?"2 ⋯?"?}; weighting operations, resulting in the output matrix ?′′′ = {?′′′1, ?′′′2 ⋯?′′′?}. 3.CIMAM-ResNet18 Model Residual Neural Network (ResNet) is a network architecture designed to address the training challenges of deep neural networks by employing residual connections. Its core idea involves the introduction of residual connections, which enable gradients to propagate directly from deeper layers to shallower ones, effectively alleviating the problems of vanishing and exploding gradients. In this paper, the multi-attention mechanism is integrated with the residual neural network to reduce overfitting and further enhance the model’s fault recognition accuracy, employing ResNet18 in conjunction with the multi-attention mechanism. The model is depicted in Figure 5. The detailed process is outlined below: 1) The initial data undergoes VMD decomposition to reconstruct the signal, which is subsequently converted into a two-dimensional image using GAF. 2) The image is fed into the ResNet18 model for initial processing via the Conv, BN, Relu, and MaxPool layers. 3) The fault feature representation capability is enhanced through the cross-image multiattention mechanism (CIMAM). 4) The data is passed through four residual blocks, followed by GAP and FC layers, resulting in the output. 5) The confusion matrix, T-SNE visualized feature maps, and loss function curve are plotted based on the output results. VMD GAF Conv BN CIMAM ReLu MaxPool Res1*2 <mark>Output</mark> Res2*2 Res3*2 Res4*2 CIMAM-RexNet18 224*224*3 GAP FC Figure 5 The CIMAM-ResNet18 model 4.Experiments and Results 4.1 Experimental Data To validate the effectiveness of the proposed method, a rolling bearing signal acquisition test bench was used to collect fault signals from bearings under four different operating conditions, as shown in Figure 6. Figure 6 Rolling Bearing Signal Acquisition Test Bed The data were collected at a sampling frequency of 100 kHz, with 948,000 sampling points and a duration of 9.48 seconds per sample. The fault IDs are provided in Table 1. <u>Table 1 Four different bearing condition numbers</u> <u>No.</u> <u>Bearing condition</u> zc normal state wq Outer ring failure gdt Rolling body failure <u>nq</u> <u>Inner ring failure</u> 4.2 Signal Preprocessing The fault data collected from the test bench must first be preprocessed and converted into images before being fed into the diagnostic model. The collected fault data are divided into groups of 1,000 data points each, resulting in 948 segments per class. The VMD decomposition is performed using parameters [α, K] = [6, 2000]. The signal is denoised using VMD, with the first three IMF components selected for signal reconstruction. The two-dimensional signal is transformed into an image using GAF, as shown in Figure 7. VMD GAF Figure 7 Signal Preprocessing The images of the four bearing fault states after preprocessing are shown in Figure 8. a) Bearing state zc b) Bearing state wq c) Bearing state nq d) Bearing state gdt Figure 8 GAF images of the bearing under four different states As shown in Figure 8, after preprocessing the bearing signals under four different operational conditions, the fault signal characteristics are more clearly exhibited. However, distinguishing between specific fault types remains challenging. 4.3 Fault identification based on CIMAM-ResNet18 modeling The experiment was conducted on a Python deep learning platform with the following model settings: the image size was adjusted to 224×224×3, the Adam optimizer was used, the batch size was set to 128, the number of epochs was 88, the initial learning rate was 0.001, and the cross-entropy loss function was applied. 70% of the preprocessed fault signals were used for training, and 30% for testing. The CAM-ResNet18 and CIMAM-ResNet18 models were then tested. a) CAM-ResNet18 b) CIMAM-ResNet18 Figure 9 Visualization of CAM-ResNet18 and CIMAM-ResNet18 features The preprocessed data were classified using the CAM-ResNet18 and CIMAM-ResNet18 models, and the high-dimensional features were visualized and reduced using T-SNE, as shown in Figure 9. As shown, after dimensionality reduction and visualization, the four fault types are well distinguished in the CAM-ResNet18 output. However, noticeable interference between faults gdt and nq causes misclassification. The CIMAM-ResNet18 model better distinguishes the four fault types, leading to more accurate fault type recognition. a) CAM-ResNet18 b) CIMAM-ResNet18 Figure 10 CAM-ResNet18 vs. CIMAM-ResNet18 loss function curves a) CAM-ResNet18 b) CIMAM-ResNet18 Figure 11 CAM-ResNet18 and CIMAM-ResNet18 fault identification results As shown in Figure 10, the loss function curve of the CAM-ResNet18 model exhibits a convergence trend, but fluctuations persist during the convergence phase, leading to overfitting and affecting fault recognition accuracy. The CIMAM-ResNet18 loss function converges more quickly, and the curve becomes more stable after convergence, significantly reducing overfitting. Figure 11 presents the confusion matrix for fault recognition using CIMAM-ResNet18 and CAM-ResNet18. The matrix reveals significant confusion between faults gdt and nq in CAM-ResNet18, with a fault recognition accuracy of 95.78%. In contrast, CIMAM-ResNet18 achieves an accuracy of 98.00%. The recognition results show that the CIMAM-ResNet18 model improves fault feature extraction across multiple images by incorporating the cross-image attention mechanism, significantly reducing overfitting and improving fault diagnosis accuracy, thus validating the effectiveness of the proposed method. The data from this study were input into commonly used fault recognition models for comparison, and the results show that the proposed algorithm maintains high diagnostic efficiency. These results are presented in Figure 12 and Table 2. a) EMD-CNN b) VMD-ResNet18 Figure 12 Recognition results of different fault recognition models Table 2 Recognition results of different fault identification models <u>Model</u> <u>Accuracy %</u> CAM-ResNet18 95.78 CIMAM-ResNet18 98.00 EMD-CNN 73.63 <u>VMD-ResNet18</u> <u>79.00</u> 5. Conclusion To address the issue of insufficient attention to important feature information between multiple images in rolling bearing fault signals, a method is proposed to focus on the interimage feature information. The following conclusions are drawn based on experimental validation: (1) To address the limitation of channel and spatial attention mechanisms focusing solely on the internal correlation of individual images, a cross-image attention mechanism is proposed. By performing weighted matrix operations on multiple images, the model is able to focus on inter-image correlations, thereby enhancing the robustness of the attention mechanism. (2) To address the issue where a single attention mechanism tends to focus on non-fault feature information during multiple iterations, the CIMAM model applies weighted operations on the images across cross-image, spatial, and channel dimensions, enhancing the overall robustness of the model. (3) After preprocessing the images using VMD-GAF, fault recognition is performed with the CIMAM-ResNet18 model, which improves the accuracy of fault state recognition. The model achieves an accuracy of 98.00%, thereby validating the superiority and effectiveness of the proposed method. Data availability All data generated or analyzed during this study are included in this published article. Reference 1. Yaguo LEI, Feng JIA, Detong KONG, et al,2018. Opportunities and Challenges of Machinery Intelligent Fault Diagnosis inBig Data Era, JOURNAL OF MECHANICAL ENGINEERING, 54(05), 94-104. 2. Li, Q, Zhang, W, Chen, F, et al,2024. Fault diagnosis of nuclear power plant sliding bearing-rotor systems using deep convolutional generative adversarial networks, Nuclear Engineering and Technology, 56(8), 2958-2973. 3. Liao, R, Wang, C, Peng, F, et al,2024. DTM-Bearing: A Novel Framework for Speed-Invariant Bearing Fault Diagnosis Based on Diffusion Transformation Model (DTM), IEEE Access, 12, 8875-8888. 4. ahu, D., Dewangan, R. K., & Matharu, S. P. S.,2024. Fault diagnosis of rolling element bearing with operationally developed defects using various convolutional neural networks, Journal of Failure Analysis and Prevention, 24(3), 1310-1323. 5. Jiang, L, Shi, C, Sheng, H, et al,2024. Lightweight CNN architecture design for rolling bearing fault diagnosis, Measurement Science and Technology, 35(12), 126142. 6. Zhu Xiaotian, Zhang Yanzhu, Wang Fandi, 2016. Reducing the Dimensionality of Data with Sparse Autoencoder Network, Journal of Shenyang Ligong University, 35(05),39-43. 7. Wen, C, Xue, Y, Liu, W, et al,2024. Bearing fault diagnosis via fusing small samples and training multi-state Siamese neural networks, Neurocomputing, 576, 127355. 8. Zhai, L, Wang, X, Si, Z, et al,2024. A deep learning method for bearing crossdomain fault diagnostics based on the standard envelope spectrum, Sensors, 24(11), 3500. 9. Zheng, X, Feng, Z, Lei, Z, et al, 2024. Few-shot learning fault diagnosis of rolling bearings based on siamese network, Measurement Science and Technology, 35(9), 095018. 10. Que, H, Liu, X, Jin, S, et al,2024. Partial transfer learning method based on InterClass feature transfer for rolling bearing fault diagnosis, Sensors, 24(16), 5165. 11. N. Ma, R.Z. Zhao, Y.Q. Zheng, 2025. Fault diagnosis of rolling bearing based on CEEMDAN combined with improved one-dimensional multi-scale convolutional neural network, Journal of Lanzhou University of Technology, 51(01):45-54. 12. M.Y. Shi, Z.G. Chen, Y.X. Wang, et al, 2022. Rolling Bearing Fault Diagnosis Method Based on ResNet50 and ViT, Machine Tool & Hydraulics, 2025, 1-9. 13. J.L. Liu, Y.L. Lv, W.T. Zheng, et al,2024. Damage identification of frame structure based on CNN model with dual-attention mechanism and improved Inception module, Journal of Vibration and Shock, 43(23):321-328+336. 14. Yang J,Lu Y,Zhang Z, et al,2025. A Deep Learning Method Coupling a Channel Attention Mechanism and Weighted Dice Loss Function for Water Extraction in the Yellow River Basin, Water, 17(4):478-478. 15. Y.J. Zhang, A.D. Deng, Q.Q. Tang, et al, 2024. Fault Diagnosis of Rolling Bearings Based on Attention Mechanism and Capsule Residual Network, Journal of Chinese Society of Power Engineering, 44(12):1923-1934. 16. S. Liu, M. Liu, H.Z. Han, et al,2025. Petrochemical centrifugal fan bearing fault diagnosis based on GADF and SAM-LCNN mechanism, Journal of Mechanical & Electrical Engineering, 42(01):72-81. 17. Zhang J,Kong X,Cheng L,et al,2023. Intelligent fault diagnosis of rolling bearings based on continuous wavelettransform-multiscale feature fusion and improved Reliability, 25(1). channel attention mechanism, Eksploatacja i Niezawodnoś ć Maintenance and 18. Xiang L,Bing H,Li X, et al, 2025. A frequency channel-attention based vision Transformer method for bearing fault identification across different working conditions, Expert Systems With Applications, 262125686-125686. 19. Wei C,Guoying M,Tingxi G, et al,2022. Intelligent Rolling Bearing Fault Diagnosis Method Using Symmetrized Dot Pattern Images and CBAM-DRN, Sensors, 22(24):9954-9954. 20. Zhang, X., Wang, Y., Wei, S. et al, 2024. Multi-scale deep residual shrinkage networks with a hybrid attention mechanism for rolling bearing fault diagnosis, Journal of Instrumentation, 19(05), P05015. 21. Y.J. Zheng, X.Q. Shen, J.J. Zhou, et al, 2024. Fault Diagnosis Method of Rolling Bearing Based on Mixed Attention Mechanism, Machine Tool & Hydraulics, 52(22):218-226. 22. Z.G. Chen, Z.C. Tao, Y.X. Wang, et al,2025. Fault diagnosis method of rolling bearing based on SVMD and CBAM-ResNet, Journal of Vibration and Shock, 44(04):298-304+312. 23. Gao, H., Ma, J., Zhang, Z., et al, 2024. Bearing fault diagnosis method based on attention mechanism and multi-channel feature fusion, IEEE Access.

섹션 본문 43문단 · 13,233자

(제목 없음)

1Bearings are crucial components of rotating machinery, and fault diagnosis is essential for ensuring the safe operation of mechanical systems.Neural networks, commonly used in bearing fault diagnosis, are effective in extracting deep features from fault signals but often fail to emphasize critical information.We propose a fault diagnosis method that integrates a cross-image multi-attention mechanism with a residual neural network.The collected vibration signals are first preprocessed using VMD-GAF and then fed into the network for fault detection.The results demonstrate that the CIMAM-ResNet18 model significantly enhances the robustness of signal processing, achieving an accuracy of 98.00% when tested on the experimental platform.

Spatial attention mechanism and channel attention mechanism

2The Channel Attention Mechanism (CAM) is an attention model that emphasizes channel feature information 26 , as illustrated in Fig. 1.Upon input of the initial data X, a convolution operation is applied to obtain the matrix U , which has a C × H × W structure, where C denotes the number of channels, and H and W represent the height and width of the matrix in each channel, respectively.The C channel matrices are subjected to global average pooling using Fsq (•), which compresses them into a scalar, resulting in a 1 × 1 × C matrix.Next, the activation function Fex (•, W ) reduces the dimensionality of the 1 × 1 × C matrix, followed by activation and upsampling to produce the weight matrix.The weight matrix is then activated and normalized using F scale (•), and multiplied by matrix U to obtain the weighted feature matrix ∼ X.The Spatial Attention Mechanism (SAM) is an attention model designed to focus on spatial feature information, as illustrated in Fig. 2. Upon input of the initial data X1, a convolution operation is applied to obtain the matrix U1.Global average pooling and global max pooling are applied to obtain feature maps with a 2 × H × W structure.The two channel feature maps are then concatenated, followed by convolution and activation to produce the attention weight matrix M , with a structure of 1 × H × W . M is then normalized and multiplied by the input matrix U1 to obtain the weighted feature map ∼ X1.

Cross-image attention mechanisms

3While the spatial and channel attention mechanisms effectively extract feature information from individual images, they mainly focus on single images and fail to account for the correlation of feature information across multiple images.To address this, a Cross-Image Attention Mechanism (CIAM) is proposed to improve feature focus in multi-image processing.

4CIAM is an attention mechanism aimed at enhancing inter-image correlations and improving classification accuracy.By calculating the correlations between different images, the model's robustness and accuracy are enhanced.The principle of CIAM is illustrated in Fig. 3.The input image set [X1, X2, X3 . . .Xi] is first processed through convolution to generate the convolution matrix set [U1, U2, U3 . . .Ui] ∈C×H×W .Each Ui is then subjected to both max pooling and average pooling to yield the max pooling matrix set

5and the average pooling matrix set

6∈1×H×W , which are then further computed.As an example, U1 ′ is combined with [U ′ 2 , U ′ 3 . . .U ′ i ] and then reduced in dimensionality using Conv to obtain the correlation matrix for each image, [U12, U13, U14 . . .U1i] ∈1×H×W .The max pooling matrix set

7∈1×H×W is then combined into an overall matrix U ′ ∈ i× 1× H× W . Similar to the channel attention mechanism, each channel is compressed into a scalar value through average pooling, followed by an activation function to derive the weight vector A1.This operation is performed on all i matrix groups, resulting in the weight matrix A, as shown in Eqs. ( 1) and (2).

8Each row of the weight matrix A is multiplied by the corresponding correlation matrix to produce the weighted correlation matrix Ua ∈ i × 1 × H × W .Similarly, the weighted correlation matrix

9is derived after processing the average pooling matrix.The two matrices are then combined, followed by dimensionality reduction using Conv to yield the final weighted matrix

10is obtained, as illustrated in Fig. 3.

Multi-attention mechanism model based on CIAM fusion

11The multi-attention mechanism is a strategy that simultaneously focuses on various features of the input information using different attention mechanisms.Multiple independent attention heads are employed to compute attention weights separately, which are then aggregated to improve robustness.The Cross-Image Multi-Attention Mechanism (CIMAM) model is proposed by integrating the cross-image, channel, and spatial attention mechanisms, as illustrated in Fig. 4. CIMAM employs a three-tier attention mechanism architecture to optimize features at multiple levels.The first-level spatial attention module (SAM) computes the spatial weight matrix to effectively preserve the geometric structure features of the input image, producing a feature matrix X' with enhanced spatial characteristics.The second-level channel attention module (CAM) takes X' as input and strengthens the image's channel features using the channel weight matrix, outputting the channel-optimized feature matrix X'' .The third-level cross-image attention module (CIAM) processes X'' further, establishing feature correlations between samples and producing a feature matrix X''' with cross-sample image information.The process is outlined below:

12(1) The initial input data, X = {X1, X2 • • • XN }, undergoes Convolution operations to generate the initial matrix,

13The spatial attention mechanism is employed to apply attention weighting, enhancing the focus on spatial features, resulting in the matrix

14(3) X ′ serves as the input, and the channel attention mechanism is applied to perform weighting operations, enhancing the focus on channel features, resulting in the matrix

15The cross-image attention mechanism is employed to perform multi-image attention weighting operations, resulting in the output matrix

CIMAM-ResNet18 model VMD-GAF signal preprocessing

16In rolling bearing fault signal processing, Variational Mode Decomposition (VMD) enhances signal decomposition by incorporating variational constraints, which significantly mitigate the issues of mode mixing and endpoint effects compared to Empirical Mode Decomposition (EMD).However, it is highly sensitive to the choice of decomposition number and penalty factor.In this paper, the decomposition parameters were selected based on reference 27 , and the original signal was decomposed and subsequently reconstructed.Gramian Angular Field (GAF) is a technique used to convert one-dimensional time series data into twodimensional images.The method works by treating the input raw one-dimensional time series data points as points in a vector space, calculating the cosine of the angle between these points, and mapping these cosine values to the pixels of a two-dimensional image, thereby generating an image that reflects both the dynamic and periodic characteristics of the time series.GAF offers advantages such as preserving temporal information, enhancing feature extraction efficiency, and simplifying data processing.In this paper, GAF is used to transform the reconstructed signal output from VMD into a two-dimensional image, preserving both temporal and frequency feature information.The procedure is illustrated in the first column on the left side of Fig. 5.

CIMAM-ResNet18 model

17Residual Neural Network (ResNet) is a network architecture designed to address the training challenges of deep neural networks 13,28 by employing residual connections.Its core idea involves the introduction of residual connections, which enable gradients to propagate directly from deeper layers to shallower ones, effectively alleviating the problems of vanishing and exploding gradients.In this paper, the multi-attention mechanism is integrated with the residual neural network to reduce overfitting and further enhance the model's fault recognition accuracy, employing ResNet18 in conjunction with the multi-attention mechanism.The model is depicted in Fig. 5.The detailed process is outlined below:

18(1) The initial data is converted to a 2D image by preprocessing with VMD-GAF.

19(2) The image is fed into the ResNet18 model for initial processing via the Conv, BN, Relu, and MaxPool layers.

20(3) The fault feature representation capability is enhanced through the cross-image multi-attention mechanism (CIMAM).(4) The data is passed through four residual blocks, followed by GAP and FC layers, resulting in the output.(5) The confusion matrix, T-SNE visualized feature maps, and loss function curve are plotted based on the output results.

Experimental data

21To validate the effectiveness of the proposed method, fault signals from four distinct bearing conditions were collected using a rolling bearing signal acquisition test bench, as shown in Fig. 6, with three different fault states presented in Fig. 7.The data were collected at a sampling frequency of 100 kHz, with 948,000 sampling points and a duration of 9.48 s per sample.The fault IDs are provided in Table 1.

Signal preprocessing

22The fault data collected from the test bench must first be preprocessed and converted into images before being fed into the diagnostic model.The collected fault data are divided into groups of 1,000 data points each, resulting in 948 segments per class.The VMD decomposition is performed using parameters [α, K] = [6, 2000].The signal is denoised using VMD, with the first three IMF components selected for signal reconstruction.The twodimensional signal is transformed into an image using GAF, as shown in Fig. 8.

23The images of the four bearing fault states after preprocessing are shown in Fig. 9.

24As shown in Fig. 9, after preprocessing the bearing signals under four different operational conditions, the fault signal characteristics are more clearly exhibited.However, distinguishing between specific fault types remains challenging.

Fault identification based on CIMAM-ResNet18 modeling

25The experiment was conducted on a Python deep learning platform with the following model settings: the image size was adjusted to 224 × 224 × 3, the Adam optimizer was used, the batch size was set to 128, the number of epochs was 88, the initial learning rate was 0.001, and the cross-entropy loss function was applied.70% of As shown in Fig. 11, the loss function curve of the CAM-ResNet18 model exhibits a convergence trend, but fluctuations persist during the convergence phase, leading to overfitting and affecting fault recognition accuracy.The CIMAM-ResNet18 loss function converges more quickly, and the curve becomes more stable after convergence, significantly reducing overfitting.Figure 12 presents the confusion matrix for fault recognition using CIMAM-ResNet18 and CAM-ResNet18.The matrix reveals significant confusion between faults gdt and nq in CAM-ResNet18, with a fault recognition accuracy of 95.78%.In contrast, CIMAM-ResNet18 achieves an accuracy of 98.00%.

26The recognition results show that the CIMAM-ResNet18 model improves fault feature extraction across multiple images by incorporating the cross-image attention mechanism, significantly reducing overfitting and improving fault diagnosis accuracy, thus validating the effectiveness of the proposed method.The data in this study were input into common fault recognition models for comparison, and the results show that the proposed algorithm maintains high diagnostic efficiency without increasing the running time.These results are presented in Fig. 13; Table 2.

Conclusion

27To address the issue of insufficient attention to important feature information between multiple images in rolling bearing fault signals, a method is proposed to focus on the inter-image feature information.The following conclusions are drawn based on experimental validation:

Fig. 2 .

28Fig. 2. Model of spatial attention mechanism.

Fig. 1 .

29Fig. 1.Model of channel attention mechanism.

Fig. 3 .

30Fig. 3. Cross-image attention mechanism model.

Fig. 4 .

31Fig. 4. CIMAM model.

Fig. 6 .

32Fig. 6.Rolling Bearing Signal Acquisition Test Bed.

Fig. 5 .

33Fig. 5.The CIMAM-ResNet18 model.

Fig. 8 .

34Fig. 8. Signal preprocessing.

Fig. 7 .

35Fig. 7. Rolling bearing simulation failure.

Fig. 9 .

36Fig. 9. GAF images of the bearing under four different states.

Fig. 12 .

37Fig. 12. CAM-ResNet18 and CIMAM-ResNet18 fault identification results.

Fig. 11 .

38Fig. 11.CAM-ResNet18 vs. CIMAM-ResNet18 loss function curves.

Fig. 10 .

39Fig. 10.Visualization of CAM-ResNet18 and CIMAM-ResNet18 features.

( 1 )

40To address the limitation of channel and spatial attention mechanisms focusing solely on the internal correlation of individual images, a cross-image attention mechanism is proposed.By performing weighted matrix operations on multiple images, the model is able to focus on inter-image correlations, thereby enhancing the robustness of the attention mechanism.(2) To address the issue where a single attention mechanism tends to focus on non-fault feature information during multiple iterations, the CIMAM model applies weighted operations on the images across cross-image, spatial, and channel dimensions, enhancing the overall robustness of the model.(3) After preprocessing the images using VMD-GAF, fault recognition is performed with the CIMAM-ResNet18 model, which improves the accuracy of fault state recognition.The model achieves an accuracy of 98.00%, thereby validating the superiority and effectiveness of the proposed method.

Fig. 13 .

41Fig. 13.Recognition results of different fault recognition models.

Table 1 .

42Four different bearing condition numbers.

Table 2 .

43Recognition results of different fault identification models.

참고문헌 18건

  1. Opportunities and Challenges of Machinery Intelligent Fault Diagnosis in Big Data Era Journal of Mechanical Engineering · Chinese Journal of Mechanical Engineering · 2018 10.3901/jme.2018.05.094
  2. Intelligent Rolling Bearing Fault Diagnosis Method Using Symmetrized Dot Pattern Images and CBAM-DRN Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22249954
  3. Intelligent fault diagnosis of rolling bearings based on continuous wavelet transform-multiscale feature fusion and improved channel attention mechanism Eksploatacja i Niezawodnosc - Maintenance and Reliability · Polskie Naukowo-Techniczne Towarzystwo Eksploatacyjne · 2023 10.17531/ein.2023.1.16
  4. DTM-Bearing: A Novel Framework for Speed-Invariant Bearing Fault Diagnosis Based on Diffusion Transformation Model (DTM) IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3351935
  5. Bearing fault diagnosis via fusing small samples and training multi-state Siamese neural networks Neurocomputing · Elsevier BV · 2024 10.1016/j.neucom.2024.127355
  6. Fault diagnosis of nuclear power plant sliding bearing-rotor systems using deep convolutional generative adversarial networks Nuclear Engineering and Technology · Elsevier BV · 2024 10.1016/j.net.2024.02.056
  7. Fault Diagnosis of Rolling Element Bearing with Operationally Developed Defects Using Various Convolutional Neural Networks Journal of Failure Analysis and Prevention · Springer Science+Business Media · 2024 10.1007/s11668-024-01919-5
  8. Multi-scale deep residual shrinkage networks with a hybrid attention mechanism for rolling bearing fault diagnosis Journal of Instrumentation · Institute of Physics · 2024 10.1088/1748-0221/19/05/p05015
  9. A Deep Learning Method for Bearing Cross-Domain Fault Diagnostics Based on the Standard Envelope Spectrum Sensors · Multidisciplinary Digital Publishing Institute · 2024 10.3390/s24113500
  10. Few-shot learning fault diagnosis of rolling bearings based on siamese network Measurement Science and Technology · IOP Publishing · 2024 10.1088/1361-6501/ad57d9
  11. Partial Transfer Learning Method Based on Inter-Class Feature Transfer for Rolling Bearing Fault Diagnosis Sensors · Multidisciplinary Digital Publishing Institute · 2024 10.3390/s24165165
  12. Lightweight CNN architecture design for rolling bearing fault diagnosis Measurement Science and Technology · IOP Publishing · 2024 10.1088/1361-6501/ad7a1a
  13. Adaptive stepsize forward–backward pursuit and acoustic emission-based health state assessment of high-speed train bearings Structural Health Monitoring · SAGE Publishing · 2024 10.1177/14759217241271036
  14. A frequency channel-attention based vision Transformer method for bearing fault identification across different working conditions Expert Systems with Applications · Elsevier BV · 2024 10.1016/j.eswa.2024.125686
  15. Memristor-Based Parallel Computing Circuit Optimization for LSTM Network Fault Diagnosis IEEE Transactions on Circuits and Systems I Regular Papers · Institute of Electrical and Electronics Engineers · 2024 10.1109/tcsi.2024.3516325
  16. Military UCAV 3-D Path Planning Based on Multistrategy Developed Human Evolutionary Optimization Algorithm IEEE Internet of Things Journal · Institute of Electrical and Electronics Engineers · 2025 10.1109/jiot.2025.3532749
  17. A Deep Learning Method Coupling a Channel Attention Mechanism and Weighted Dice Loss Function for Water Extraction in the Yellow River Basin Water · Multidisciplinary Digital Publishing Institute · 2025 10.3390/w17040478
  18. Memristor-Based GFMM Neural Network Circuit of Biology With Multiobjective Decision and its Application in Industrial Autonomous Firefighting IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2025 10.1109/tii.2025.3558347