Automated Corrosion Detection in ASTM A572 Grade 50 W-Beams Using U-Net and Attention U-Net: A Comparative Analysis for Semantic Segmentation

Abstract Corrosion in steel structures represents a critical challenge in civil engineering, with economic losses exceeding 2.5 trillion dollars annually worldwide. Traditional visual inspection methods present significant limitations, including subjectivity, dependence on inspector experience, and difficulty accessing critical structural elements. Automated detection systems using deep learning offer a promising solution to enhance inspection objectivity and efficiency. This study presents a rigorous comparative analysis between U-Net and attention U-Net architectures for automated corrosion detection in ASTM A572 Grade 50 W-beams. A comprehensive data set was systematically developed comprising 217 original high-resolution images ( <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="512 times 512 p i x e l s" display="inline" overflow="scroll"> <mml:mn>512</mml:mn> <mml:mo>×</mml:mo> <mml:mn>512</mml:mn> <mml:mtext> </mml:mtext> <mml:mi>pixels</mml:mi> </mml:math> ) captured under controlled laboratory conditions from W-beam specimens with varying corrosion severity levels (6 months to 5 years of atmospheric exposure). After data augmentation, the final data set contained 414 images for model training and evaluation. Manual annotations were performed by three structural pathology specialists with interannotator agreement of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="kappa equals 0.87" display="inline" overflow="scroll"> <mml:mi>κ</mml:mi> <mml:mo>=</mml:mo> <mml:mn>0.87</mml:mn> </mml:math> . The attention U-Net architecture demonstrated statistically superior performance across all metrics: mean IoU of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.775 plus or minus 0.089" display="inline" overflow="scroll"> <mml:mn>0.775</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.089</mml:mn> </mml:math> versus <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.693 plus or minus 0.078" display="inline" overflow="scroll"> <mml:mn>0.693</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.078</mml:mn> </mml:math> for U-Net (improvement of 11.8%, <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="p less than 0.001" display="inline" overflow="scroll"> <mml:mi>p</mml:mi> <mml:mo>&lt;</mml:mo> <mml:mn>0.001</mml:mn> </mml:math> , Cohen’s <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="d equals 0.98" display="inline" overflow="scroll"> <mml:mi>d</mml:mi> <mml:mo>=</mml:mo> <mml:mn>0.98</mml:mn> </mml:math> ); Dice coefficient of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.741 plus or minus 0.067" display="inline" overflow="scroll"> <mml:mn>0.741</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.067</mml:mn> </mml:math> versus <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.678 plus or minus 0.071" display="inline" overflow="scroll"> <mml:mn>0.678</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.071</mml:mn> </mml:math> (9.3% improvement); and F1-score of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.823 plus or minus 0.054" display="inline" overflow="scroll"> <mml:mn>0.823</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.054</mml:mn> </mml:math> versus <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.751 plus or minus 0.063" display="inline" overflow="scroll"> <mml:mn>0.751</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.063</mml:mn> </mml:math> (9.6% improvement). False positive rate was reduced by 46% (12.8% versus 23.4%). For pitting corrosion detection, attention U-Net achieved 87.3% detection rate compared to 71.2% for classical U-Net. These results conclusively demonstrate that incorporating attention mechanisms substantially improves automated corrosion detection capability, offering a practical tool for nondestructive inspection of ASTM A572 Grade 50 steel structures with accuracy approaching interexpert agreement levels [0.80–0.85 intersection over union (IoU)].

Authors

Institutions

Publication Details

Journal
Journal of Performance of Constructed Facilities
Published
2026-07-24
DOI
https://doi.org/10.1061/jpcfev.cfeng-5422
Primary Topic
Infrastructure Maintenance and Monitoring
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated Corrosion Detection in ASTM A572 Grade 50 W-Beams Using U-Net and Attention U-Net: A Comparative Analysis for Semantic Segmentation

Giovane Quadrelli, Heitor Oliveira Gonçalves, Darlan Porto, Renato Amaral
Journal of Performance of Constructed Facilities
Infrastructure Maintenance and Monitoring
article

Automated Corrosion Detection in ASTM A572 Grade 50 W-Beams Using U-Net and Attention U-Net: A Comparative Analysis for Semantic Segmentation

Giovane Quadrelli, Heitor Oliveira Gonçalves, Darlan Porto, Renato Amaral
article en

Abstract

Abstract Corrosion in steel structures represents a critical challenge in civil engineering, with economic losses exceeding 2.5 trillion dollars annually worldwide. Traditional visual inspection methods present significant limitations, including subjectivity, dependence on inspector experience, and difficulty accessing critical structural elements. Automated detection systems using deep learning offer a promising solution to enhance inspection objectivity and efficiency. This study presents a rigorous comparative analysis between U-Net and attention U-Net architectures for automated corrosion detection in ASTM A572 Grade 50 W-beams. A comprehensive data set was systematically developed comprising 217 original high-resolution images ( <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="512 times 512 p i x e l s" display="inline" overflow="scroll"> <mml:mn>512</mml:mn> <mml:mo>×</mml:mo> <mml:mn>512</mml:mn> <mml:mtext> </mml:mtext> <mml:mi>pixels</mml:mi> </mml:math> ) captured under controlled laboratory conditions from W-beam specimens with varying corrosion severity levels (6 months to 5 years of atmospheric exposure). After data augmentation, the final data set contained 414 images for model training and evaluation. Manual annotations were performed by three structural pathology specialists with interannotator agreement of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="kappa equals 0.87" display="inline" overflow="scroll"> <mml:mi>κ</mml:mi> <mml:mo>=</mml:mo> <mml:mn>0.87</mml:mn> </mml:math> . The attention U-Net architecture demonstrated statistically superior performance across all metrics: mean IoU of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.775 plus or minus 0.089" display="inline" overflow="scroll"> <mml:mn>0.775</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.089</mml:mn> </mml:math> versus <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.693 plus or minus 0.078" display="inline" overflow="scroll"> <mml:mn>0.693</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.078</mml:mn> </mml:math> for U-Net (improvement of 11.8%, <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="p less than 0.001" display="inline" overflow="scroll"> <mml:mi>p</mml:mi> <mml:mo>&lt;</mml:mo> <mml:mn>0.001</mml:mn> </mml:math> , Cohen’s <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="d equals 0.98" display="inline" overflow="scroll"> <mml:mi>d</mml:mi> <mml:mo>=</mml:mo> <mml:mn>0.98</mml:mn> </mml:math> ); Dice coefficient of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.741 plus or minus 0.067" display="inline" overflow="scroll"> <mml:mn>0.741</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.067</mml:mn> </mml:math> versus <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.678 plus or minus 0.071" display="inline" overflow="scroll"> <mml:mn>0.678</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.071</mml:mn> </mml:math> (9.3% improvement); and F1-score of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.823 plus or minus 0.054" display="inline" overflow="scroll"> <mml:mn>0.823</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.054</mml:mn> </mml:math> versus <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="0.751 plus or minus 0.063" display="inline" overflow="scroll"> <mml:mn>0.751</mml:mn> <mml:mo>±</mml:mo> <mml:mn>0.063</mml:mn> </mml:math> (9.6% improvement). False positive rate was reduced by 46% (12.8% versus 23.4%). For pitting corrosion detection, attention U-Net achieved 87.3% detection rate compared to 71.2% for classical U-Net. These results conclusively demonstrate that incorporating attention mechanisms substantially improves automated corrosion detection capability, offering a practical tool for nondestructive inspection of ASTM A572 Grade 50 steel structures with accuracy approaching interexpert agreement levels [0.80–0.85 intersection over union (IoU)].

Journal of Performance of Constructed FacilitiesVol. 40(5)
Universidade Católica de Petrópolis (BR)
Openalex Percentile: Top 13%
Infrastructure Maintenance and Monitoring
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.