Performance Comparison of Multiple Convolutional Neural Networks for Concrete Defects Classification
Abstract
:1. Introduction
1.1. Prior Studies
1.2. Reserarch Objective and Contribution
2. Methodology
2.1. Building Defects Database
2.1.1. Data Preparation
2.1.2. Data Processing
2.2. CNN Classifier Model Configuration
2.2.1. VGG-19
2.2.2. ResNet-50
2.2.3. Inception
2.2.4. Xception
2.2.5. MobileNetV2
2.3. Sensitivity Analysis of Hyper-Parameters
2.4. Evaluation Metrics
3. Result and Discussion
4. Conclusions
- A total of thirty models were evaluated combining the learning rates (0.0001, 0.001, and 0.1) and optimization functions (SGD and RMSprop) with five different CNN models (VGG-19, ResNet50, MobileNetV2, Xception, and InceptionV3);
- InceptionV3 model outranked the other models with accuracy, precision, and recall of 91%, 83%, and 100%, respectively. One possible reason behind the InceptionV3 model functioning better than other models is that the model has the highest layers of depth for learning, which facilitates the model to gain better performance. VGG19 has the least prospect with defect identification;
- With the help of the confusion matrix, this study found that IncpetionV3 made the least false predictions with crack identification. Moreover, IncpetionV3 labelled all the spalling cases correctly in the case of spalling identification;
- Among three learning rates, 0.0001, 0.001, and 0.1, with a learning rate of 0.001 all the CNN models achieved the best performance, which establishes the idea that a low learning rate does not always confirm better performance with CNN models;
- In the case of optimization functions, SGD assisted the CNN modes to achieve better performance, proving that SGD has better stability and generalization capacity than other adaptive optimization methods (i.e., RMSprop).
5. Recommendation for Future Studies
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Shin, H.K.; Ahn, Y.H.; Lee, S.H.; Kim, H.Y. Automatic concrete damage recognition using multi-level attention convolutional neural network. Materials 2020, 13, 5549. [Google Scholar] [CrossRef] [PubMed]
- Li, S.; Zhao, X. Automatic crack detection and measurement of concrete structure using convolutional encoder-decoder network. IEEE Access 2020, 8, 134602–134618. [Google Scholar] [CrossRef]
- Cheng, H.; Shi, X.; Glazier, C. Real-time image thresholding based on sample space reduction and interpolation approach. J. Comput. Civ. Eng. 2003, 17, 264–272. [Google Scholar] [CrossRef]
- Ying, L.; Salari, E. Beamlet transform-based technique for pavement crack detection and classification. Comput.-Aided Civ. Infrastruct. Eng. 2010, 25, 572–580. [Google Scholar] [CrossRef]
- Fujita, Y.; Hamamoto, Y. A robust automatic crack detection method from noisy concrete surfaces. Mach. Vis. Appl. 2011, 22, 245–254. [Google Scholar] [CrossRef]
- Nishikawa, T.; Yoshida, J.; Sugiyama, T.; Fujino, Y. Concrete crack detection by multiple sequential image filtering. Comput.-Aided Civ. Infrastruct. Eng. 2012, 27, 29–47. [Google Scholar] [CrossRef]
- Iyer, S.; Sinha, S.K. Segmentation of pipe images for crack detection in buried sewers. Comput.-Aided Civ. Infrastruct. Eng. 2006, 21, 395–410. [Google Scholar] [CrossRef]
- Nguyen, H.-N.; Kam, T.-Y.; Cheng, P.-Y. An automatic approach for accurate edge detection of concrete crack utilizing 2D geometric features of crack. J. Signal Process. Syst. 2014, 77, 221–240. [Google Scholar] [CrossRef]
- Koziarski, M.; Cyganek, B. Image recognition with deep neural networks in presence of noise–dealing with and taking advantage of distortions. Integr. Comput.-Aided Eng. 2017, 24, 337–349. [Google Scholar] [CrossRef]
- Jahanshahi, M.R.; Masri, S.F.; Padgett, C.W.; Sukhatme, G.S. An innovative methodology for detection and quantification of cracks through incorporation of depth perception. Mach. Vis. Appl. 2013, 24, 227–241. [Google Scholar] [CrossRef]
- Cha, Y.-J.; You, K.; Choi, W. Vision-based detection of loosened bolts using the Hough transform and support vector machines. Autom. Constr. 2016, 71, 181–188. [Google Scholar] [CrossRef]
- Abdel-Qader, I.; Pashaie-Rad, S.; Abudayyeh, O.; Yehia, S. PCA-based algorithm for unsupervised bridge crack detection. Adv. Eng. Softw. 2006, 37, 771–778. [Google Scholar] [CrossRef]
- Wu, L.; Lin, X.; Chen, Z.; Lin, P.; Cheng, S. Surface crack detection based on image stitching and transfer learning with pretrained convolutional neural network. Struct. Control Health Monit. 2021, 28, e2766. [Google Scholar] [CrossRef]
- Azimi, M.; Eslamlou, A.D.; Pekcan, G. Data-driven structural health monitoring and damage detection through deep learning: State-of-the-art review. Sensors 2020, 20, 2778. [Google Scholar] [CrossRef]
- Zhao, Z.-Q.; Zheng, P.; Xu, S.-T.; Wu, X. Object detection with deep learning: A review. IEEE Trans. Neural Netw. Learn. Syst. 2019, 30, 3212–3232. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Choi, W.; Cha, Y.-J. SDDNet: Real-time crack segmentation. IEEE Trans. Ind. Electron. 2019, 67, 8016–8025. [Google Scholar] [CrossRef]
- Pan, X.; Yang, T. Postdisaster image-based damage detection and repair cost estimation of reinforced concrete buildings using dual convolutional neural networks. Comput.-Aided Civ. Infrastruct. Eng. 2020, 35, 495–510. [Google Scholar] [CrossRef]
- Lin, Y.Z.; Nie, Z.H.; Ma, H.W. Structural damage detection with automatic feature-extraction through deep learning. Comput.-Aided Civ. Infrastruct. Eng. 2017, 32, 1025–1046. [Google Scholar] [CrossRef]
- Simonyan, K.; Zisserman, A. Very deep convolutional networks for large-scale image recognition. arXiv 2014, arXiv:1409.1556. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016. [Google Scholar]
- Szegedy, C.; Liu, W.; Jia, Y. Going deeper with convolutions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA, 10 June 2015; pp. 1–9. [Google Scholar]
- Yang, C.; Chen, J.; Li, Z.; Huang, Y. Structural crack detection and recognition based on deep learning. Appl. Sci. 2021, 11, 2868. [Google Scholar] [CrossRef]
- Wang, N.; Zhao, Q.; Li, S.; Zhao, X.; Zhao, P. Damage classification for masonry historic structures using convolutional neural networks based on still images. Comput.-Aided Civ. Infrastruct. Eng. 2018, 33, 1073–1089. [Google Scholar] [CrossRef]
- Dais, D.; Bal, I.E.; Smyrou, E.; Sarhosis, V. Automatic crack classification and segmentation on masonry surfaces using convolutional neural networks and transfer learning. Autom. Constr. 2021, 125, 103606. [Google Scholar] [CrossRef]
- Yu, Y.; Samali, B.; Rashidi, M.; Mohammadi, M.; Nguyen, T.N.; Zhang, G. Vision-based concrete crack detection using a hybrid framework considering noise effect. J. Build. Eng. 2022, 61, 105246. [Google Scholar] [CrossRef]
- Dunphy, K.; Sadhu, A.; Wang, J. Multiclass damage detection in concrete structures using a transfer learning-based generative adversarial network. Struct. Control. Health Monit. 2022, 29, e3079. [Google Scholar] [CrossRef]
- Ghosh Mondal, T.; Jahanshahi, M.R.; Wu, R.T.; Wu, Z.Y. Deep learning-based multi-class damage detection for autonomous post-disaster reconnaissance. Struct. Control Health Monit. 2020, 27, e2507. [Google Scholar] [CrossRef]
- Luo, H.; Xiong, C.; Fang, W.; Love, P.E.; Zhang, B.; Ouyang, X. Convolutional neural networks: Computer vision-based workforce activity assessment in construction. Autom. Constr. 2018, 94, 282–289. [Google Scholar] [CrossRef]
- Zhang, K.; Zhang, Y.; Cheng, H.D. CrackGAN: Pavement crack detection using partially accurate ground truths based on generative adversarial learning. IEEE Trans. Intell. Transp. Syst. 2020, 22, 1306–1319. [Google Scholar] [CrossRef]
- Çağlar, F.O.; Özgenel, R. Concrete Crack Images for Classification. 2019. Available online: https://data.mendeley.com/datasets/5y9wdsg2zt/2 (accessed on 20 August 2022).
- Liu, J.; Yang, X.; Lau, S.; Wang, X.; Luo, S.; Lee VC, S.; Ding, L. Automated pavement crack detection and segmentation based on two-step convolutional neural network. Comput.-Aided Civ. Infrastruct. Eng. 2020, 35, 1291–1305. [Google Scholar] [CrossRef]
- Yang, X.; Li, H.; Yu, Y.; Luo, X.; Huang, T.; Yang, X. Automatic pixel-level crack detection and measurement using fully convolutional network. Comput.-Aided Civ. Infrastruct. Eng. 2018, 33, 1090–1109. [Google Scholar] [CrossRef]
- Wang, J.J.; Liu, Y.F.; Nie, X.; Mo, Y. Deep convolutional neural networks for semantic segmentation of cracks. Struct. Control Health Monit. 2022, 29, e2850. [Google Scholar] [CrossRef]
- Tang, Y.; Zhang, A.A.; Luo, L.; Wang, G.; Yang, E. Pixel-level pavement crack segmentation with encoder-decoder network. Measurement 2021, 184, 109914. [Google Scholar] [CrossRef]
- Lin, J.J.; Ibrahim, A.; Sarwade, S.; Golparvar-Fard, M. Bridge inspection with aerial robots: Automating the entire pipeline of visual data capture, 3D mapping, defect detection, analysis, and reporting. J. Comput. Civ. Eng. 2021, 35, 04020064. [Google Scholar] [CrossRef]
- Dai Wenyuan, Y.Q.; Guirong, X.; Yong, Y. Boosting for transfer learning. In Proceedings of the 24th International Conference on Machine Learning, Corvallis, OR, USA, 20–24 June 2007. [Google Scholar]
- Chollet, F. Keras Documentation. keras. io, 33. 2015. Available online: https://keras.io/ (accessed on 8 November 2022).
- Goodfellow, I.; Bengio, Y.; Courville, A. Deep Learning; MIT Press: London, UK, 2016. [Google Scholar]
- Huyan, J.; Li, W.; Tighe, S.; Xu, Z.; Zhai, J. CrackU-net: A novel deep convolutional neural network for pixelwise pavement crack detection. Struct. Control Health Monit. 2020, 27, e2551. [Google Scholar] [CrossRef]
- Poojary, R.; Pai, A. Comparative study of model optimization techniques in fine-tuned CNN models. In Proceedings of the 2019 International Conference on Electrical and Computing Technologies and Applications (ICECTA), Ras Al Khaimah, United Arab Emirates, 19–21 November 2019. [Google Scholar]
- Kumar, A.; Sarkar, S.; Pradhan, C. Malaria Disease Detection Using CNN Technique with sgd, rmsprop and adam Optimizers. In Deep Learning Techniques for Biomedical and Health Informatics; Springer: Berlin/Heidelberg, Germany, 2020; pp. 211–230. [Google Scholar]
- Agarwal, M.; Rajak, A.; Shrivastava, A.K. Assessment of optimizers impact on image recognition with convolutional neural network to adversarial datasets. J. Phys. Conf. Ser. 2021, 1998, 012008. [Google Scholar]
- Verma, P.; Tripathi, V.; Pant, B. Comparison of different optimizers implemented on the deep learning architectures for COVID-19 classification. Mater. Today Proc. 2021, 46, 11098–11102. [Google Scholar] [CrossRef] [PubMed]
- Hardt, M.; Recht, B.; Singer, Y. Train faster, generalize better: Stability of stochastic gradient descent. Proc. Mach. Learn. Res. 2016, 48, 1225–1234. [Google Scholar]
- Wilson, A.C.; Roelofs, R.; Stern, M.; Srebro, N.; Recht, B. The marginal value of adaptive gradient methods in machine learning. Adv. Neural Inf. Process. Syst. 2017, 30, 1–11. [Google Scholar]
Reference | Original Dataset Size | Defects Type | Data Augmentation |
---|---|---|---|
[13] | 808 cracks, 86 non-cracks | Crack or non-crack | No |
[22] | 2000 cracks (road and bridge) | Crack or non-crack | Yes |
[24] | 351 cracks 118 non-cracks (masonry) | Crack or non-crack | Yes |
[2] | 1800 cracks | Crack or non-crack | No |
[31] | 1184 cracks (pavement) | Different types of cracks | Yes |
Proposed dataset | 4087 cracks, 1100 spalling | Crack and spalling | No |
Defect Classes | Total | Train Dataset | Validation Dataset | Test Dataset |
---|---|---|---|---|
Crack | 4087 | 2861 (70%) | 817 (20%) | 409 (10%) |
Spalling | 1100 | 770 (70%) | 220 (20%) | 110 (10%) |
Name of Parameters | Value of Parameters |
---|---|
Batch Size (CNN classifiers) | 10 |
Learning rate (CNN classifiers) | 0.1, 0.001, 0.0001 |
Optimization function | SGD, RMSprop |
Activation function | ReLu |
Evaluation metrics threshold | 0.5 |
Loss function (CNN classifiers) | Binary cross-entropy |
Pre-trained weights | ImageNet |
Callbacks | Early stopping |
Epoch | 100 |
CNN Models | Learning Rate | Accuracy | Precision | Recall | |||
---|---|---|---|---|---|---|---|
SGD | RMSProp | SGD | RMSProp | SGD | RMSProp | ||
* InceptionV3 | 0.1 | 86% | 88% | 78% | 82% | 100% | 97% |
0.001 | 91% | 89% | 83% | 79% | 100% | 100% | |
0.0001 | 84% | 89% | 81% | 84% | 94% | 100% | |
Xception | 0.1 | 89% | 87% | 79% | 76% | 100% | 100% |
0.001 | 90% | 88% | 81% | 78% | 100% | 100% | |
0.0001 | 89% | 88% | 82% | 78% | 94% | 100% | |
MobileNetV2 | 0.1 | 81% | 79% | 71% | 73% | 94% | 76% |
0.001 | 82% | 83% | 71% | 72% | 94% | 100% | |
0.0001 | 82% | 84% | 71% | 70% | 94% | 100% | |
ResNet-50 | 0.1 | 85% | 87% | 72% | 76% | 97% | 100% |
0.001 | 82% | 87% | 69% | 77% | 89% | 97% | |
0.0001 | 79% | 85% | 69% | 74% | 89% | 97% | |
VGG-19 | 0.1 | 63% | 65% | 60% | 62% | 81% | 82% |
0.001 | 61% | 62% | 64% | 68% | 80% | 84% | |
0.0001 | 63% | 67% | 61% | 62% | 82% | 86% |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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
Arafin, P.; Issa, A.; Billah, A.H.M.M. Performance Comparison of Multiple Convolutional Neural Networks for Concrete Defects Classification. Sensors 2022, 22, 8714. https://doi.org/10.3390/s22228714
Arafin P, Issa A, Billah AHMM. Performance Comparison of Multiple Convolutional Neural Networks for Concrete Defects Classification. Sensors. 2022; 22(22):8714. https://doi.org/10.3390/s22228714
Chicago/Turabian StyleArafin, Palisa, Anas Issa, and A. H. M. Muntasir Billah. 2022. "Performance Comparison of Multiple Convolutional Neural Networks for Concrete Defects Classification" Sensors 22, no. 22: 8714. https://doi.org/10.3390/s22228714
APA StyleArafin, P., Issa, A., & Billah, A. H. M. M. (2022). Performance Comparison of Multiple Convolutional Neural Networks for Concrete Defects Classification. Sensors, 22(22), 8714. https://doi.org/10.3390/s22228714