Corrosion Prediction of AZ31 Mg Alloy Using Machine Learning and Digital Smartphone Images.
Héctor Hernán Hernández Zarta, Vitória Helena de Azevedo, André Maia Guedes, Habdias de Araujo Silva-Neto, Thiago Ferreira da Conceição, Diego Galvan
Departamento de Química Orgánica, Universidad Nacional de Córdoba, Haya de la Torre y Medina Allende, Córdoba X5000HUA, Argentina. · Departamento de Química, Universidade Federal de Santa Catarina, Campus Universitário Trindade, 88040-900 Florianópolis, SC, Brazil.
Key points
From the paper's conclusion- This work presents a machine learning approach for analyzing the corrosion behavior of AZ31 magnesium alloy using digital images acquired with a smartphone camera assembled to a homemade studio.
Abstract
This work presents a machine learning approach for analyzing the corrosion behavior of AZ31 magnesium alloy using digital images acquired with a smartphone camera assembled to a homemade studio. A controlled imaging system combined with automated feature extraction enabled the quantification of surface color and texture changes associated with corrosion progression. After removing multicollinearity through correlation-based feature selection, the resulting descriptors were used to develop supervised models for two different complementary tasks. First, classification models were trained to categorize samples according to corrosion exposure time (in days) based solely on image-derived features. The Linear Support Vector Classifier (LinearSVC) achieved the best performance, reaching a test accuracy of 0.906. Second, regression models were developed to quantitatively predict hydrogen evolution during corrosion from the same image descriptors. The optimized k-Nearest Neighbors (KNN) regressor provided the most accurate prediction of hydrogen volume (R 2 = 0.914), along with low RMSE (1.76 mL) and MAE (0.94 mL) values, indicating strong agreement between predicted and experimental hydrogen volumes. These results demonstrate that macroscopic image features encode relevant physicochemical information related to corrosion processes, enabling both the classification of corrosion stages and the quantitative prediction of hydrogen generation using a rapid, low-cost, and nondestructive approach.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- U‐Net‐Based Prediction of Concealed Volume Loss in AZ31 From Optical Corrosion Imprints and As‐Exposed Surface TopographyAdvanced Intelligent Discovery · 2026
- Data-driven corrosion assessment of magnesium alloys: A multi-level graph attention network for quantitative hydrogen-evolution predictionJournal of Magnesium and Alloys · 2026
- Machine learning in corrosion electrochemistry: A critical review of prediction and corrosion-type identificationInternational Journal of Electrochemical Science · 2026
- Machine learning–guided optimization of PEO coating parameters using support vector regression for enhanced corrosion resistance of AZ31 magnesium alloyResults in Engineering · 2026
- Data-Driven Prediction and Interpretability Analysis of Corrosion Rate for Low-Alloy SteelApplied Sciences · 2026
- Data-Driven Modeling of Molten Chloride Corrosion Using Static Test DataarXiv · 2026