Corrosion is a natural phenomenon that causes significant material and economic losses. Timely inspection of corroded assets is vital for preventing such losses. Visual inspection is a non-destructive method that is commonly used for corrosion detection. The ability of deep learning methods to capture corrosion visual information allows for the automation of the manual inspection process. The literature includes several examples of deep learning models to detect metal corrosion. In developing such models, loss functions are crucial and directly influence the models’ performance. Although cross-entropy is a commonly used objective function for corrosion detection, systematic evaluation of alternative loss functions—and the performance gains they may unlock—has been largely neglected. This study uses eight loss functions, namely, cross-entropy loss, Focal loss, Unified Focal loss, Dice loss, Tversky loss, Focal Tversky loss, Combo loss, and Hybrid Focal loss, to train UNet-based models for corrosion segmentation and compares their performance. The results demonstrated that the model trained with the Dice loss achieved higher performance, with a mean Jaccard index value of 64.28%, while the Focal loss exhibited the lowest performance, with a mean Jaccard value of 57.20%. This study contributes to academia and practice by demonstrating the performance gains that can be achieved by tweaking the deep learning models using optimal loss functions. • Corrosion is a phenomenon that considerably impacts the environment and economy. • Deep learning models can be trained for corrosion detection, and loss functions are essential to developing accurate models. • This study evaluates the use of different loss functions, including the Focal loss, Unified Focal loss, Dice loss, Tversky loss, Focal Tversky loss, Combo loss, and Hybrid Focal loss, to train UNet-based models for corrosion segmentation. • On a standard dataset, the models developed with Combo loss, Tversky loss, Unified Focal loss, and Dice loss had higher performance than those developed with cross-entropy loss. • With the hyperparameter tuning, higher performance gains can be achieved.
Building similarity graph...
Analyzing shared references across papers
Loading...
Esmaeili et al. (Sun,) studied this question.
synapsesocial.com/papers/69a76046c6e9836116a2cd86 — DOI: https://doi.org/10.1016/j.jobe.2026.115502
Iraj Esmaeili
Universidade do Porto
João Poças Martins
Universidade do Porto
José Miguel Castro
Journal of Building Engineering
Universidade do Porto
Building similarity graph...
Analyzing shared references across papers
Loading...