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.
Author supplied keywords
Cite
CITATION STYLE
Ran, X., & Wang, C. (2025). Capturing the Asymmetry of Pitting Corrosion: An Interpretable Prediction Model Based on Attention-CNN. Symmetry, 17(10). https://doi.org/10.3390/sym17101775
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.