NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Intelligent Detection Method for Concrete Dam Surface Cracks Based on Two-Stage Transfer Learning

Jianyuan Li, Xiaochun Lu, Ping Zhang, Qingquan LiWater 2023

TL;DR

This paper introduces a novel two-stage transfer learning approach for intelligent detection of concrete dam surface cracks using semantic segmentation. By combining cross-domain and intradomain learning with an enhanced UNet architecture (ResNet50 backbone and MPR attention), the method achieves superior accuracy and robustness, even with limited dam-specific data, making it a promising tool for critical infrastructure safety.

What Problem Does This Paper Address?

Concrete dams are vital infrastructure, but surface cracks pose a significant threat to their safety. Traditional manual crack detection is inefficient, inaccurate, and dangerous. While computer vision and deep learning offer improvements, existing methods struggle with concrete dam crack detection due to:

  • Data Scarcity: Limited availability of labeled concrete dam crack images.
  • Domain Shift: Publicly available crack datasets (e.g., from roads or buildings) have different crack characteristics (obscurity, contrast, spatial distribution) than those found on dams, making them unsuitable for direct training.
  • Fine Crack Detection: Difficulty in accurately segmenting subtle, thin cracks, which are critical indicators of potential failure.
  • Environmental Variability: Challenges posed by uneven lighting and low contrast between cracks and the dam surface.

These issues lead to inadequate model training, overfitting, and poor segmentation accuracy, especially for fine cracks and complex edge details.

Methods

The proposed method builds upon the UNet architecture, a popular choice for semantic segmentation, and enhances it through several key innovations:

  • Two-Stage Transfer Learning: This is the core strategy to overcome data scarcity.
  • Stage 1 (Cross-Domain): Knowledge is transferred from a large, general-purpose dataset (PASCAL VOC 2012) to an intermediate dam-related dataset (DatasetA). This pre-trains the model on a broader set of visual features relevant to cracks.
  • Stage 2 (Intra-Domain): The pre-trained model from Stage 1 is further fine-tuned on the specific concrete dam crack dataset (DatasetB). This adapts the model to the unique characteristics of dam cracks. This two-stage approach aims to leverage existing knowledge effectively while minimizing the negative impact of domain differences.
  • ResNet50 Backbone: The standard UNet encoder is replaced with a ResNet50 network. This deeper architecture with residual connections enhances the model's ability to extract richer, more discriminative features from the dam surface images, particularly for subtle cracks.
  • Multilayer Parallel Residual Attention (MPR): This novel attention mechanism is integrated into the UNet's skip connections. MPR helps the model:
  • Focus on critical crack features by suppressing irrelevant background information.
  • Improve pixel accuracy and make crack edge segmentation more precise and detailed.
  • It achieves this through parallel convolutional paths (1x1, 3x3, and dilated 3x3 convolutions) that capture multi-scale information and enhance feature representation.

Datasets

The study utilizes a multi-part dataset strategy:

  • PASCAL VOC 2012: A public dataset used for the initial cross-domain transfer learning in the first stage.
  • DatasetA: An intermediate dataset comprising images from publicly available crack datasets (CrackForest, SDNET2018, Aft Original Crack Dataset Second) and newly acquired road crack images. This dataset was curated to be more relevant to crack detection than PASCAL VOC but still differs from dam cracks.
  • DatasetB: The primary target domain dataset, a self-built concrete dam surface crack dataset. Images were captured using a DJI Mavic 3 UAV from 3-10m distances, featuring cracks ranging from 3-20mm in width. This dataset was manually annotated and expanded.

Key Insights and Ideas

  • Domain Shift is a Major Hurdle: The paper strongly emphasizes that generic crack datasets are insufficient for accurate dam crack detection due to significant differences in crack appearance and context.
  • Two-Stage Transfer Learning is Crucial: A simple cross-domain transfer isn't enough. A two-stage approach (general to intermediate, then intermediate to specific) significantly boosts performance by bridging the domain gap more effectively.
  • Attention for Detail: The MPR attention mechanism is key to refining segmentation, particularly for the fine edges and subtle details of dam cracks, which are often missed by standard UNet or even ResNet-enhanced models.
  • ResNet50 for Deeper Features: Simply using a deeper backbone like ResNet50 improves feature extraction, but it's the combination with attention and transfer learning that unlocks the full potential.

Key Results

The proposed method demonstrates significant improvements over baseline models:

  • Accuracy: Achieved optimal mIoU (mean Intersection over Union) of 88.3% and mPA (mean Pixel Accuracy) of 92.7%. This is a 4.6% and 3.2% improvement in mIoU and mPA, respectively, compared to the benchmark UNet model.
  • Efficiency: Reduced FLOPs (Floating Point Operations) by 36.7% and improved inference speed by 48.9% compared to the UNet model.
  • Crack Area Prediction: Achieved an accuracy of over 85.7% in predicting the pixel value of crack areas, with some obvious cracks reaching over 90% accuracy.
  • Qualitative Improvements: Visualizations show significantly better segmentation of fine cracks, clearer crack edges, and reduced missed detections compared to other models.

Limitations and Future Work

  • Model Size: The proposed method, while accurate, has a large number of parameters and occupies significant memory, making it less suitable for deployment in resource-constrained environments like mobile or embedded devices.
  • Fine Crack Miss Detection: Despite improvements, some fine crack miss detection still occurs, likely due to the inherent limitations of small datasets.
  • Future Directions:
    • Model Lightweighting: Explore techniques like pruning convolutional layers or using more efficient backbone networks to reduce model size and improve mobility.
  • Dataset Augmentation: Further investigate methods to mitigate the impact of small datasets, potentially through more advanced data augmentation or synthetic data generation.
  • Deployment: Adapt the model for deployment on edge devices for real-time monitoring in situ.

Summary updated

BibTeX
@inproceedings{li2023intelligent,
  author = {Jianyuan Li and Xiaochun Lu and Ping Zhang and Qingquan Li},
  title = {{Intelligent Detection Method for Concrete Dam Surface Cracks Based on Two-Stage Transfer Learning}},
  booktitle = {Water},
  year = {2023},
  doi = {10.3390/w15112082},
}
Figure