Crack semantic segmentation performance of various attention modules in different scenarios
Authors:
- 2 January 2025
- journal article
- research article
- Published by Wiley in Structural Concrete
- Vol. 26 (4) , 4409-4430
Abstract
As the core of the Transformer, the attention mechanism is crucial in model design. However, the performance of attention modules varies across different datasets. Additionally, hyperparameter settings significantly impact the performance of attention modules, complicating the selection of the appropriate module. To fill the current research gap regarding the performance of attention modules in crack recognition, this study investigates five highly cited attention modules across three datasets with different styles. By setting nine combinations of learning rates and batch sizes, we conducted 135 comparative experiments. Precision, Recall, F1‐score, and mIoU were used as evaluation metrics to analyze the recognition accuracy and loss curve convergence of each attention module. Parameters, frames per second (FPS), and floating‐point operations per second (FLOPs) were used to compare the computational efficiency of each module. The results indicate that channel attention (CA), bottleneck attention module (BAM), and convolutional block attention module (CBAM) outperform dual attention (DA) and self‐attention (SA) in crack recognition and resistance to interference. The modules achieve good convergence with learning rate and batch size combinations of 1 × 10−4/4, 1 × 10−4/8, and 1 × 10−4/16. We recommend using 1 × 10−4/4 as the initial hyperparameter setting in future work. Although DA and SA have higher parameter counts compared to CA, BAM, and CBAM, the FPS and FLOPs values of each module show minimal differences when the batch size is the same.Keywords
Funding Information
- National Key Research and Development Program of China (2021YFB2600602, 2021YFB2600600)
- University of California, Los Angeles
This publication has 30 references indexed in Scilit:
- Evaluation and optimisation of pre-trained CNN models for asphalt pavement crack detection and classificationAutomation in Construction, 2024
- A novel transformer-based network with attention mechanism for automatic pavement crack detectionConstruction and Building Materials, 2023
- Domain adversarial training for classification of cracking in images of concrete surfacesAI in Civil Engineering, 2022
- Deep learning-based crack segmentation for civil infrastructure: data types, architectures, and benchmarked performanceAutomation in Construction, 2022
- Vision transformer-based autonomous crack detection on asphalt and concrete surfacesAutomation in Construction, 2022
- Automatic concrete crack segmentation model based on transformerAutomation in Construction, 2022
- UTNet: A Hybrid Transformer Architecture for Medical Image Segmentation2021
- Image Super-Resolution Using Very Deep Residual Channel Attention Networks2018
- CBAM: Convolutional Block Attention Module2018
- Generalised Dice Overlap as a Deep Learning Loss Function for Highly Unbalanced Segmentations2017