YOLOv8-LMG: An Improved Bearing Defect Detection Algorithm Based on YOLOv8
Abstract
:1. Introduction
- (1)
- A novel bearing defect detection model has been developed, leveraging VanillaNet as its core network to enhance its capability in identifying subtle defects on the bearing surface. This approach simplifies the network architecture, significantly reducing model complexity and computational cost. The Lion optimizer was adopted to accelerate the training process further and enhance detection accuracy. It suits intricate defect detection tasks, improving efficiency by ensuring effective data utilization and rapid model convergence.
- (2)
- Integrating the CFP-EVC module has significantly enhanced the ability of the model to identify complex, occluded, and overlapping defects. The advanced feature fusion and enhanced strategy optimization networks have led to faster processing speeds. Moreover, introducing the Shape-IoU loss function has improved the position accuracy of the model, which is particularly useful for detecting minor defects and providing more precise detection boundary evaluation.
- (3)
- Extensive experimental verification was carried out on the bearing defect dataset collected by chemical enterprises. Compared with the current mainstream target detection models, the proposed method improves the detection accuracy and significantly reduces the computational resources required. The experimental results also prove that the model is robust and practicable in practical industrial applications.
2. Related Work
2.1. Traditional Bearing Defect Recognition
2.2. Detection Methods Based on Deep Learning
3. Algorithm
3.1. YOLOv8
3.2. YOLOv8-LMG
3.2.1. Google Lion Optimizer
3.2.2. VanillaNet Backbone Network
- This diagram illustrates the network architecture of VanillaNet, which is structured into three principal sections:
- I. Stem: This initial segment handles preliminary feature extraction through convolutional layers, processing an input image size of 224x224 pixels with three channels, indicative of the RGB color space.
- II. Conv: Representing the convolutional stages of the network, this crucial segment is tasked with feature extraction and learning. The varying dimensions of feature maps signal processing at distinct layers, with numbers denoting the spatial dimensions and depth (number of channels or features), such as 1024 and 2048.
- III. Fully connected: This final section consists of fully connected layers responsible for the classification or other relevant tasks based on the learned features. It translates the outputs from the preceding layers into 1000 units, typically correlating to 1000 different classes for tasks like image classification.
- The arrows indicate data flow and the interconnections between layers. Additionally, the diagram delineates the integration of different pooling strategies (Maxpooling and Averagepooling) with batch normalization (BN) and specific activation functions (SIAF), depicting their respective impact within the architecture.The architecture includes the following elements:
- The input is represented as a three-dimensional block, suggesting an image with a height and width of 224 pixels and 3 color channels.
- The network comprises several convolutional layers, as indicated by the smaller three-dimensional blocks where the spatial dimensions (height and width) are reduced while the depth increases. These layers are responsible for feature extraction. Each layer is followed by a pooling layer, which further reduces the spatial dimensions (height and width), as shown by the decrease in the size of successive blocks.
- After multiple convolutional and pooling layers, the representation becomes much deeper (indicated by the increased depth of the blocks) but with reduced spatial dimensions.
- Towards the end of the network, the architecture seems to include fully connected layers, represented by flat, elongated rectangles. These layers typically interpret the features extracted by the convolutional layers and make decisions based on them.
- The final part of the network shows a transition from a fully connected layer with 4096 units to an output layer with 1000 units. This suggests that the network is designed for a classification task with 1000 possible categories.
- Arrows indicate the direction of data flow from the input to the output.
3.2.3. CFP-EVC
3.2.4. Shape-IoU
- Calculate IoU (intersection over union)
- 2.
- Calculate shape distance.
- 3.
- Calculate the shape consistency term obtained by cumulatively computing weighted width and height differences. The exponential decay function here is used to evaluate shape consistency.
- 4.
- Calculate Shape-IoU
4. Experiment and Analysis
4.1. Datasets and Evaluation Indicators
4.2. Experimental Settings
4.3. Comparison Experiment
4.3.1. Comparative Analysis of Lion Optimizer
4.3.2. Comparative Analysis of VanillaNet
4.3.3. Comparative Analysis of CFP-EVC
4.3.4. Comparative Analysis of Shape-IoU
4.4. Ablation Experiment
4.5. Qualitative Analysis
4.6. Compared with Algorithms Utilizing the Same Dataset
4.7. Comparison with Advanced Algorithms
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Girshick, R.; Donahue, J.; Darrell, T.; Malik, J. Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation. In Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 580–587. [Google Scholar]
- Girshick, R. Fast R-CNN. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), Santiago, Chile, 7–13 December 2015. [Google Scholar]
- Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 1137–1149. [Google Scholar] [CrossRef] [PubMed]
- Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You Only Look Once: Unified, Real-Time Object Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 26 June–1 July 2016. [Google Scholar]
- Reis, D.; Kupec, J.; Hong, J.; Daoudi, A. Real-Time Flying Object Detection with YOLOv8. arXiv 2023, arXiv:2305.09972. [Google Scholar]
- Shao, H.; Xia, M.; Han, G.; Zhang, Y.; Wan, J. Intelligent Fault Diagnosis of Rotor-Bearing System Under Varying Working Conditions with Modified Transfer Convolutional Neural Network and Thermal Images. IEEE Trans. Ind. Inf. 2021, 17, 3488–3496. [Google Scholar] [CrossRef]
- Shao, H.; Li, W.; Xia, M.; Zhang, Y.; Shen, C.; Williams, D.; Kennedy, A.; De Silva, C.W. Fault Diagnosis of a Rotor-Bearing System under Variable Rotating Speeds Using Two-Stage Parameter Transfer and Infrared Thermal Images. IEEE Trans. Instrum. Meas. 2021, 70, 3524711. [Google Scholar] [CrossRef]
- Choudhary, A.; Mian, T.; Fatima, S. Convolutional Neural Network Based Bearing Fault Diagnosis of Rotating Machine Using Thermal Images. Measurement 2021, 176, 109196. [Google Scholar] [CrossRef]
- Lin, C.-L.; Meehan, P.A. Morphological and Elemental Analysis of Wear Debris Naturally Formed in Grease Lubricated Railway Axle Bearings. Wear 2021, 484–485, 203994. [Google Scholar] [CrossRef]
- Abdeltwab, M.M.; Ghazaly, N.M. A Review on Engine Fault Diagnosis through Vibration Analysis. Int. J. Recent Technol. Mech. Electr. Eng. 2021, 9, 1–6. [Google Scholar]
- Liu, Z.; Zhang, L.; Carrasco, J. Vibration Analysis for Large-Scale Wind Turbine Blade Bearing Fault Detection with an Empirical Wavelet Thresholding Method. Renew. Energy 2020, 146, 99–110. [Google Scholar] [CrossRef]
- Hou, D.; Qi, H.; Luo, H.; Wang, C.; Yang, J. Comparative Study on the Use of Acoustic Emission and Vibration Analyses for the Bearing Fault Diagnosis of High-Speed Trains. Struct. Health Monit. 2022, 21, 1518–1540. [Google Scholar] [CrossRef]
- Liu, Z.; Wang, X.; Zhang, L. Fault Diagnosis of Industrial Wind Turbine Blade Bearing Using Acoustic Emission Analysis. IEEE Trans. Instrum. Meas. 2020, 69, 6630–6639. [Google Scholar] [CrossRef]
- Zhang, Y.; Wang, H.; Gerada, C. Rotor Eddy Current Loss and Multiphysics Fields Analysis for a High-Speed Permanent Magnet Machine. IEEE Trans. Ind. Electron. 2021, 68, 5100–5111. [Google Scholar] [CrossRef]
- Yu, C.; Deng, Z.; Mei, L.; Peng, C.; Cao, X. Multiobjective Optimization of 3-DOF Magnetic Bearing Considering Eddy Current Effects and Saturation. Mech. Syst. Signal Process. 2023, 182, 109538. [Google Scholar] [CrossRef]
- Moshayedi, A.J.; Roy, A.S.; Kolahdooz, A.; Shuxin, Y. Deep Learning Application Pros and Cons Over Algorithm. EAI Endorsed Trans. AI Robot. 2022, 1, 1–13. [Google Scholar] [CrossRef]
- Fu, X.; Yang, X.; Zhang, N.; Zhang, R.; Zhang, Z.; Jin, A.; Ye, R.; Zhang, H. Bearing Surface Defect Detection Based on Improved Convolutional Neural Network. MBE 2023, 20, 12341–12359. [Google Scholar] [CrossRef] [PubMed]
- Merainani, B.; Toullier, T.; Zongo, B.; Sriranjan, S.; Zanaroli, S.; Guiraud, M.; Dumoulin, J. Toward the Development of Intelligent Wayside Hot Bearings Detector System: Combining the Thermal Vision with the Strength of YOLO-V4. In Proceedings of the 2022 International Conference on Quantitative InfraRed Thermography, Paris, France, 4–8 July 2022; QIRT Council: Paris, France, 2022. [Google Scholar]
- Zheng, Z.; Zhao, J.; Li, Y. Research on Detecting Bearing-Cover Defects Based on Improved YOLOv3. IEEE Access 2021, 9, 10304–10315. [Google Scholar] [CrossRef]
- Zhao, Y.; Chen, B.; Liu, B.; Yu, C.; Wang, L.; Wang, S. GRP-YOLOv5: An Improved Bearing Defect Detection Algorithm Based on YOLOv5. Sensors 2023, 23, 7437. [Google Scholar] [CrossRef] [PubMed]
- Xu, H.; Pan, H.; Li, J. Surface Defect Detection of Bearing Rings Based on an Improved YOLOv5 Network. Sensors 2023, 23, 7443. [Google Scholar] [CrossRef] [PubMed]
- Yang, S.; Wang, W.; Gao, S.; Deng, Z. Strawberry Ripeness Detection Based on YOLOv8 Algorithm Fused with LW-Swin Transformer. Comput. Electron. Agric. 2023, 215, 108360. [Google Scholar] [CrossRef]
- Wen, G.; Li, M.; Luo, Y.; Shi, C.; Tan, Y. The Improved YOLOv8 Algorithm Based on EMSPConv and SPE-Head Modules. Multimed. Tools Appl. 2024. [Google Scholar] [CrossRef]
- Xiong, C.; Zayed, T.; Abdelkader, E.M. A Novel YOLOv8-GAM-Wise-IoU Model for Automated Detection of Bridge Surface Cracks. Constr. Build. Mater. 2024, 414, 135025. [Google Scholar] [CrossRef]
- Zhang, Y.; Zhang, H.; Huang, Q.; Han, Y.; Zhao, M. DsP-YOLO: An anchor-free network with DsPAN for small object detection of multiscale defects. Expert Syst. Appl. 2024, 241, 122669. [Google Scholar] [CrossRef]
- Cao, Y.; Pang, D.; Zhao, Q.; Yan, Y.; Jiang, Y.; Tian, C.; Wang, F.; Li, J. Improved YOLOv8-GD Deep Learning Model for Defect Detection in Electroluminescence Images of Solar Photovoltaic Modules. Eng. Appl. Artif. Intell. 2024, 131, 107866. [Google Scholar] [CrossRef]
- Chen, H.; Wang, Y.; Guo, J.; Tao, D. VanillaNet: The Power of Minimalism in Deep Learning. In Proceedings of the 37th Conference on Neural Information Processing Systems, New Orleans, LA, USA, 10–16 December 2023. [Google Scholar]
- Chen, X.; Liang, C.; Huang, D.; Real, E.; Wang, K.; Liu, Y.; Pham, H.; Dong, X.; Luong, T.; Hsieh, C.-J.; et al. Symbolic Discovery of Optimization Algorithms. In Proceedings of the 37th Conference on Neural Information Processing Systems, New Orleans, LA, USA, 10–16 December 2023. [Google Scholar]
- Quan, Y.; Zhang, D.; Zhang, L.; Tang, J. Centralized Feature Pyramid for Object Detection. IEEE Trans. Image Process. 2023, 32, 4341–4354. [Google Scholar] [CrossRef] [PubMed]
- Zhang, H.; Zhang, S. Shape-IoU: More Accurate Metric Considering Bounding Box Shape and Scale. In Proceedings of the Computer Vision and Pattern Recognition, Xiamen, China, 12 January 2024. [Google Scholar]
Group | Lion | VanillaNet | CFP -EVC | Shape-IoU | mAP @0.5% | [email protected]–0.95/% | FLOPs/G | Params/M |
---|---|---|---|---|---|---|---|---|
1 | 81.8 | 51.6 | 8.1 | 3 | ||||
2 | √ | 83.7 | 53.1 | 8.1 | 3 | |||
3 | √ | 85.9 | 56.3 | 13.7 | 4.8 | |||
4 | √ | 84.6 | 55.3 | 7.7 | 2.7 | |||
5 | √ | 84.8 | 53.9 | 8.1 | 3 | |||
6 | √ | √ | 84.7 | 54.7 | 8.1 | 3.4 | ||
7 | √ | √ | 85.3 | 55.2 | 11 | 3.9 | ||
8 | √ | √ | 84.8 | 54 | 8.1 | 3 | ||
9 | √ | √ | 86 | 55.5 | 13.7 | 4.8 | ||
10 | √ | √ | 85.4 | 55.1 | 13.7 | 4.8 | ||
11 | √ | √ | 85.2 | 55.8 | 7.7 | 2.7 | ||
12 | √ | √ | √ | 85.5 | 56 | 11 | 3.9 | |
13 | √ | √ | √ | 85 | 54.5 | 8.1 | 3.4 | |
14 | √ | √ | √ | 86.2 | 56.2 | 11.5 | 4.1 | |
15 | √ | √ | √ | √ | 86.5 | 57 | 13 | 4.5 |
Algorithm | Recall | Precision | [email protected] | [email protected]:0.95 | FNR | F-Score |
---|---|---|---|---|---|---|
GRP-YOLOv5 [20] | 87.4% | 93.2% | 93.5% | 52.7% | 12.6% | 90.2% |
YOLOv8-LMG | 89% | 93.5% | 86.5% | 57% | 11% | 91.2% |
Algorithm | [email protected]% | [email protected]–0.95% | FLOPs/G | Params/M |
---|---|---|---|---|
YOLOv8n | 81.8 | 51.6 | 8.1 | 3.0 |
Faster R-CNN | 82.0 | 55.0 | 20.0 | 25.0 |
SSD | 75.0 | 50.0 | 2.5 | 6.8 |
RetinaNet | 81.0 | 56.0 | 10.0 | 36.0 |
YOLOv5 | 82.5 | 53.5 | 12.0 | 3.8 |
EfficientDet-D3 | 83.0 | 54.4 | 6.1 | 12.0 |
CenterNet | 80.0 | 52.0 | 19.0 | 20.0 |
Mask R-CNN | 81.5 | 55.0 | 26.0 | 44.0 |
YOLOv8-LMG(ours) | 86.5 | 57.0 | 13.0 | 4.5 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Liu, M.; Zhang, M.; Chen, X.; Zheng, C.; Wang, H. YOLOv8-LMG: An Improved Bearing Defect Detection Algorithm Based on YOLOv8. Processes 2024, 12, 930. https://doi.org/10.3390/pr12050930
Liu M, Zhang M, Chen X, Zheng C, Wang H. YOLOv8-LMG: An Improved Bearing Defect Detection Algorithm Based on YOLOv8. Processes. 2024; 12(5):930. https://doi.org/10.3390/pr12050930
Chicago/Turabian StyleLiu, Minggao, Ming Zhang, Xinlan Chen, Chunting Zheng, and Haifeng Wang. 2024. "YOLOv8-LMG: An Improved Bearing Defect Detection Algorithm Based on YOLOv8" Processes 12, no. 5: 930. https://doi.org/10.3390/pr12050930
APA StyleLiu, M., Zhang, M., Chen, X., Zheng, C., & Wang, H. (2024). YOLOv8-LMG: An Improved Bearing Defect Detection Algorithm Based on YOLOv8. Processes, 12(5), 930. https://doi.org/10.3390/pr12050930