CLFormer: A Lightweight Transformer Based on Convolutional Embedding and Linear Self-Attention With Strong Robustness for Bearing Fault Diagnosis Under Limited Sample Conditions
Hairui Fang,Jin Deng,Yaoxu Bai,Bo Feng,Sheng Li,Siyu Shao,Dongsheng Chen
DOI: https://doi.org/10.1109/tim.2021.3132327
IF: 5.6
2022-01-01
IEEE Transactions on Instrumentation and Measurement
Abstract:As a rising star in the field of deep learning, the Transformers have achieved remarkable achievements in numerous tasks. Nonetheless, due to the safety considerations, complex environment, and limitation of deployment cost in actual industrial production, the algorithms used for fault diagnosis often face the three challenges of limited samples, noise interference, and lightweight, which is an impediment in the fault diagnosis practice of transformer with high requirements for number of samples and parameters. For this reason, this article proposes a lightweight transformer based on convolutional embedding and linear self-attention (LSA), called CLFormer. By modifying the embedding module and the form of self-attention, the aim of lightweight is realized (MFLOPs: 0.12; Params: 4.88 K) under the condition of boosting high-accuracy of transformer. The effectiveness was demonstrated on Self-Made dataset with four comparative models, especially when each type of training sample is $6 imes 4$ , the CLFormer achieves the highest average accuracy of 83.58% when the signal-to-noise ratio (SNR) is from −8 to 8 dB for three types of noise. As the first attempt to use transformer for fault diagnosis of rotating machinery, this work provides a feasible strategy for the research topic of fault diagnosis with the goal of practical deployment.
engineering, electrical & electronic,instruments & instrumentation