Skip to main content

Advertisement

Log in

Tuning of data augmentation hyperparameters in deep learning to building construction image classification with small datasets

  • Original Article
  • Published:
International Journal of Machine Learning and Cybernetics Aims and scope Submit manuscript

Abstract

Deep Learning methods have important applications in the building construction image classification field. One challenge of this application is Convolutional Neural Networks adoption in a small datasets. This paper proposes a rigorous methodology for tuning of Data Augmentation hyperparameters in Deep Learning to building construction image classification, especially to vegetation recognition in facades and roofs structure analysis. In order to do that, Logistic Regression models were used to analyze the performance of Convolutional Neural Networks trained from 128 combinations of transformations in the images. Experiments were carried out with three architectures of Deep Learning from the literature using the Keras library. The results show that the recommended configuration (Height Shift Range = 0.2; Width Shift Range = 0.2; Zoom Range =0.2) reached an accuracy of \(95.6\%\) in the test step of first case study. In addition, the hyperparameters recommended by proposed method also achieved the best test results for second case study: \(93.3\%\).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Explore related subjects

Discover the latest articles and news from researchers in related subjects, suggested using machine learning.

Notes

  1. https://keras.rstudio.com/.

  2. www.pixabay.com.

  3. https://keras.rstudio.com/reference/.

  4. getec.eng.ufba.br.

References

  1. Ali R, Cha Y-J (2019) Subsurface damage detection of a steel bridge using deep learning and uncooled micro-bolometer. Constr Build Mater 226:376–387

    Article  Google Scholar 

  2. Barberousse H, Lombardo RJ, Tell G, Couté A (2006) Factors involved in the colonisation of building facades by algae and cyanobacteria in france. Biofouling 22(02):69–77

    Article  Google Scholar 

  3. Bianchi E, Abbott AL, Tokekar P, Hebdon M (2021) Coco-bridge: Structural detail data set for bridge inspections. J Comput Civ Eng 35(3):04021003

    Article  Google Scholar 

  4. Chollet F, Allaire JJ (2018) Deep learning with R. Manning Publications

  5. Conceição J, Poça B, De Brito J, Flores-Colen I, Castelo A (2017) Inspection, diagnosis, and rehabilitation system for flat roofs. J Perform Constr Facil 31(6):04017100

    Article  Google Scholar 

  6. Cubuk ED, Zoph B, Shlens J, Le QV (2020) Randaugment: Practical automated data augmentation with a reduced search space. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, pp 702–703

  7. da Silva GR, Valões DC, Nascimento CF, SNA A., Candeia MA, Santiago H, Oliveira DV, Everton G, Lima JC, Souza JM (2 021) Elaboration of a damage map the facades of a public building in the city of triunfo/pe. Int J Adv Eng Res Sci 8:237–244

  8. Dung CV et al (2019) Autonomous concrete crack detection using deep fully convolutional neural network. Autom Constr 99:52–58

    Article  Google Scholar 

  9. Elgendy M (2020) Deep learning for vision systems. Manning Publications

  10. Fang W, Ding L, Luo H, Love PE (2018) Falls from heights: a computer vision-based approach for safety harness detection. Autom Constr 91:53–61

    Article  Google Scholar 

  11. Gao Y, Mosalam KM (2018) Deep transfer learning for image-based structural damage recognition. Comput-Aid Civ Infrastruct Eng 33(9):748–768

    Article  Google Scholar 

  12. Garcez N, Lopes N, de Brito J, Silvestre J (2012) System of inspection, diagnosis and repair of external claddings of pitched roofs. Constr Build Mater 35:1034–1044

    Article  Google Scholar 

  13. Giolo S. R (2017). Introduction to categorical data analysis with applications (in portuguese). Editora Blucher

  14. Guo J, Wang Q, Li Y, Liu P. (2020). Façade defects classification from imbalanced dataset using meta learning-based convolutional neural network. Computer-Aided Civil and Infrastructure Engineering

  15. He K, Zhang X, Ren S, Sun J (2016). Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 770–778

  16. Hosmer DW Jr, Lemeshow S, Sturdivant RX (2013) Applied logistic regression, vol 398. John Wiley & Sons

  17. Howard A. G, Zhu M, Chen B, Kalenichenko D, Wang W, Weyand T, Andreetto M, Adam H. (2017). Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861

  18. Huang G, Liu Z, Van Der Maaten L, Weinberger K. Q (2017). Densely connected convolutional networks. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 2261–2269

  19. Hutter F, Hoos H, Leyton-Brown K. (2014). An efficient approach for assessing hyperparameter importance. In Proceedings of International Conference on Machine Learning 2014 (ICML 2014), pages 754–762

  20. Hutter F, Kotthoff L, Vanschoren J, editors (2019). Automated Machine Learning: Methods, Systems, Challenges. Springer. In press, available at http://automl.org/book

  21. Kaamin M, Ahmad N, Razali S, Mokhtar M, Ngadiman N, Masri D, Hussin I, Asri L. (2020). Visual inspection of heritage mosques using unmanned aerial vehicle (uav) and condition survey protocol (csp) 1 matrix: A case study of tengkera mosque and kampung kling mosque, melaka. volume 1529

  22. Kolar Z, Chen H, Luo X (2018) Transfer learning and deep convolutional neural networks for safety guardrail detection in 2d images. Autom Constr 89:58–70

    Article  Google Scholar 

  23. Lecun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521(7553):436–444

    Article  Google Scholar 

  24. Loukma M, Stefanidou M (2018) Causes of deterioration of ottoman mosques. WIT Transactions on The Built Environment 177:173–180

    Article  Google Scholar 

  25. Maeda H, Sekimoto Y, Seto T, Kashiyama T, Omata H (2018) Road damage detection and classification using deep neural networks with smartphone images. Computer-Aided Civil and Infrastructure Engineering 33(12):1127–1141

    Article  Google Scholar 

  26. Majdik AL, Till C, Scaramuzza D (2017) The zurich urban micro aerial vehicle dataset. The International Journal of Robotics Research 36(3):269–273

    Article  Google Scholar 

  27. Mantovani RG, Rossi AL, Alcobaça E, Vanschoren J, de Carvalho AC (2019) A meta-learning recommender system for hyperparameter tuning: Predicting when tuning improves svm classifiers. Inf Sci 501:193–221

    Article  Google Scholar 

  28. Monshi MMA, Poon J, Chung V, Monshi FM (2021) Covidxraynet: Optimizing data augmentation and cnn hyperparameters for improved covid-19 detection from cxr. Computers in Biology and Medicine 133:104375

  29. Myers RH, Montgomery DC, Anderson-Cook CM (2016) Response surface methodology: process and product optimization using designed experiments. John Wiley & Sons

  30. Neary P. (2018). Automatic hyperparameter tuning in deep convolutional neural networks using asynchronous reinforcement learning. In 2018 IEEE International Conference on Cognitive Computing (ICCC), pages 73–77

  31. Ottoni ALC, Nepomuceno EG, de Oliveira MS, de Oliveira DCR (2020) Tuning of reinforcement learning parameters applied to sop using the scott-knott method. Soft Comput 24:4441–4453

    Article  Google Scholar 

  32. Ottoni ALC, Novo MS (2021) A deep learning approach to vegetation images recognition in buildings: a hyperparameter tuning case study. IEEE Lat Am Trans 19(12):2062–2070

    Article  Google Scholar 

  33. Ottoni A. L. C, Novo M. S, Costa D. B. (2021). Hyperparameter tuning of convolutional neural networks for building construction image classication. The Visual Computer

  34. Pawara P, Okafor E, Schomaker L, Wiering M. (2017). Data augmentation for plant classification. In International Conference on Advanced Concepts for Intelligent Vision Systems, pages 615–626. Springer

  35. R Core Team (2020) R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria

  36. Ren Y, Huang J, Hong Z, Lu W, Yin J, Zou L, Shen X (2020) Image-based concrete crack detection in tunnels using deep fully convolutional networks. Construction and Building Materials 234:117367

  37. Rocha E, Macedo J, Correia P, Monteiro E (2018) Adaptation of a damage map to historical buildings with pathological problems: Case study at the church of carmo in olinda, pernambuco. Revista ALCONPAT 8(1):51–63

    Article  Google Scholar 

  38. Sajedi SO, Liang X (2021) Uncertainty-assisted deep vision structural health monitoring. Computer-Aided Civil and Infrastructure Engineering 36(2):126–142

    Article  Google Scholar 

  39. Schratz P, Muenchow J, Iturritxa E, Richter J, Brenning A (2019) Hyperparameter tuning and performance assessment of statistical and machine-learning algorithms using spatial data. Ecol Model 406:109–120

    Article  Google Scholar 

  40. Shankar K, Zhang Y, Liu Y, Wu L, Chen C-H (2020) Hyperparameter tuning deep learning for diabetic retinopathy fundus image classification. IEEE Access 8:118164–118173

    Article  Google Scholar 

  41. Shen J, Xiong X, Li Y, He W, Li P, Zheng X (2021) Detecting safety helmet wearing on construction sites with bounding-box regression and deep transfer learning. Computer-Aided Civil and Infrastructure Engineering 36(2):180–196

    Article  Google Scholar 

  42. Shorten C, Khoshgoftaar T. (2019). A survey on image data augmentation for deep learning. Journal of Big Data, 6(1). cited By 456

  43. Silveira, B., Melo, R., and Costa, D. B. (2021). Using uas for roofs structure inspections at post-occupational residential buildings. In Toledo Santos, E. and Scheer, S., editors, Proceedings of the 18th International Conference on Computing in Civil and Building Engineering, pages 1055–1068, Cham. Springer International Publishing

  44. Song C, Xu W, Wang Z, Yu S, Zeng P, Ju Z. (2020). Analysis on the impact of data augmentation on target recognition for uav-based transmission line inspection. Complexity, 2020

  45. Staffa L. B, Sa L. S. V, Lima M. I. S. C, Costa D. B. (2020). Use of image processing techniques for inspection of building roof structures for technical assistance purposes (in portuguese). ENTAC - National Meeting of the Built Environment Technology

  46. Wang J.-J, Liu Y.-F, Nie X, Mo Y. (2022). Deep convolutional neural networks for semantic segmentation of cracks. Structural Control and Health Monitoring, 29(1). cited By 0

  47. Wang X, Zhao Y, Pourpanah F (2020) Recent advances in deep learning. Int J Mach Learn Cybern 11:747–750

    Article  Google Scholar 

  48. Wang Z, Yang J, Jiang H, Fan X (2020) Cnn training with twenty samples for crack detection via data augmentation. Sensors 20(17):4849

    Article  Google Scholar 

  49. Xue Y, Li Y (2018) A fast detection method via region-based fully convolutional neural networks for shield tunnel lining defects. Computer-Aided Civil and Infrastructure Engineering 33(8):638–654

    Article  Google Scholar 

  50. Yang Z, He B, Liu Y, Wang D, Zhu G (2021) Classification of rock fragments produced by tunnel boring machine using convolutional neural networks. Automation in Construction 125:103612

  51. Younis MC, Keedwell E (2019) Semantic segmentation on small datasets of satellite images using convolutional neural networks. Journal of Applied Remote Sensing 13(4):046510

  52. Zeng S, Zhang B, Zhang Y, Gou J (2020) Dual sparse learning via data augmentation for robust facial image classification. Int J Mach Learn Cybern 11(8):1717–1734

    Article  Google Scholar 

  53. Zhou S, Song W. (2020). Deep learning-based roadway crack classification using laser-scanned range images: A comparative study on hyperparameter selection. Automation in Construction, 114

  54. Zhou S, Song W (2021) Crack segmentation through deep convolutional neural networks and heterogeneous image fusion. Automation in Construction 125:103605

Download references

Acknowledgements

The authors are grateful to Research Group in Construction Technology and Management (GETEC) - School of Engineering (UFBA) - for providing the second image dataset, the Robotics & Perception Group (University of Zurich) for providing “The Zurich Urban Micro Aerial Vehicle Dataset”, UFBA and UFRB.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to André Luiz C. Ottoni.

Ethics declarations

Conflict of interest

The Authors listed in this article declare that they have no conflict of interest.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ottoni, A.L.C., de Amorim, R.M., Novo, M.S. et al. Tuning of data augmentation hyperparameters in deep learning to building construction image classification with small datasets. Int. J. Mach. Learn. & Cyber. 14, 171–186 (2023). https://doi.org/10.1007/s13042-022-01555-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13042-022-01555-1

Keywords