Capturing the Asymmetry of Pitting Corrosion: An Interpretable Prediction Model Based on Attention-CNN

Fossil fuels are crucial to the global energy supply, with pipelines being a vital transportation method. However, these vital assets are highly susceptible to pitting corrosion, an insidious form of degradation that can lead to catastrophic failures. Unlike uniform corrosion, which represents a symmetric form of material loss, pitting corrosion is a highly asymmetric and localized phenomenon. The inherent complexity and asymmetry of this process make its prediction a significant challenge. To address this, this study presents SSA-CNN-Attention, a deep learning model specifically designed to analyze the complex, nonlinear interactions among environmental factors. The model employs a Convolutional Neural Network (CNN) to extract local features, while a crucial attention mechanism allows it to asymmetrically weight the importance of these features, enhancing its ability to recognize intricate interactions. Additionally, the Sparrow Search Algorithm (SSA) optimizes the model’s hyperparameters for improved accuracy and stability. Furthermore, a post hoc interpretability analysis using the LIME framework validates that the model’s learned feature relationships are consistent with established corrosion science, revealing how the model accounts for the asymmetric influence of key variables. The experimental results demonstrate that the proposed model reduces mean squared error (MSE) by 61.3% and mean absolute error (MAE) by 26.6%, while improving the coefficient of determination (R2) by 28.2% compared to traditional CNNs. These findings highlight the model’s superior performance in predicting a fundamentally asymmetric process and provide valuable insights into the underlying corrosion mechanisms.

Authors

Institutions

Publication Details

Journal
Symmetry
Published
2025-10-21
DOI
https://doi.org/10.3390/sym17101775
Primary Topic
Hydrogen embrittlement and corrosion behaviors in metals
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Capturing the Asymmetry of Pitting Corrosion: An Interpretable Prediction Model Based on Attention-CNN

Xueqin Ran, C. Wang
Symmetry
Hydrogen embrittlement and corrosion behaviors in metals
article

Capturing the Asymmetry of Pitting Corrosion: An Interpretable Prediction Model Based on Attention-CNN

Xueqin Ran, C. Wang
article en

Abstract

Fossil fuels are crucial to the global energy supply, with pipelines being a vital transportation method. However, these vital assets are highly susceptible to pitting corrosion, an insidious form of degradation that can lead to catastrophic failures. Unlike uniform corrosion, which represents a symmetric form of material loss, pitting corrosion is a highly asymmetric and localized phenomenon. The inherent complexity and asymmetry of this process make its prediction a significant challenge. To address this, this study presents SSA-CNN-Attention, a deep learning model specifically designed to analyze the complex, nonlinear interactions among environmental factors. The model employs a Convolutional Neural Network (CNN) to extract local features, while a crucial attention mechanism allows it to asymmetrically weight the importance of these features, enhancing its ability to recognize intricate interactions. Additionally, the Sparrow Search Algorithm (SSA) optimizes the model’s hyperparameters for improved accuracy and stability. Furthermore, a post hoc interpretability analysis using the LIME framework validates that the model’s learned feature relationships are consistent with established corrosion science, revealing how the model accounts for the asymmetric influence of key variables. The experimental results demonstrate that the proposed model reduces mean squared error (MSE) by 61.3% and mean absolute error (MAE) by 26.6%, while improving the coefficient of determination (R2) by 28.2% compared to traditional CNNs. These findings highlight the model’s superior performance in predicting a fundamentally asymmetric process and provide valuable insights into the underlying corrosion mechanisms.

SymmetryVol. 17(10)
Beijing University of Posts and Telecommunications (CN)
National Social Science Fund of China
Openalex Percentile: Top 75%
Hydrogen embrittlement and corrosion behaviors in metals
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.