Next Article in Journal
Effect of Process Conditions on Microstructure, Damping Capacity, and Mechanical Properties of Mn-Cu Alloys
Previous Article in Journal
Photocatalytic Optimization of ATiO3 Codoped with Se/Zr: A DFT Study for Hydrogen Production
Previous Article in Special Issue
The Influence of Heat Treatment Process on the Residual Ferrite in 304L Austenitic Stainless Steel Continuous Casting Slab
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Statistical and ANN Modeling of Corrosion Behavior of Austenitic Stainless Steels in Aqueous Environments

1
Division of Cadet Training, Mokpo National Maritime University, Mokpo 58628, Republic of Korea
2
Division of Marine Engineering, Mokpo National Maritime University, Mokpo 58628, Republic of Korea
*
Author to whom correspondence should be addressed.
Materials 2025, 18(18), 4390; https://doi.org/10.3390/ma18184390
Submission received: 7 August 2025 / Revised: 14 September 2025 / Accepted: 15 September 2025 / Published: 19 September 2025
(This article belongs to the Special Issue Advanced Stainless Steel—from Making, Shaping, Treating to Products)

Abstract

This study applies statistical approaches utilizing linear regression and artificial neural networks (ANNs) to predict the corrosion behavior of austenitic stainless steels (316L, 904L, and AL-6XN) under various environmental conditions. The environmental variables considered include temperature (30–90 °C), chloride ion concentration (20–40 g/L), and pH (2–6). Analysis of variance (ANOVA) confirmed that the input variables, including the Pitting Resistance Equivalent Number (PREN ranging from 24 to 45), significantly affect the critical pitting potential. The influence of the variables was ranked in the order: PREN, temperature, pH, and chloride ion concentration. A linear regression model was developed using significant factors and interactions identified at the 95% confidence level, achieving a predictive performance with R2 = 0.789 for critical pitting potential. To predict potentiodynamic polarization curves, an ANN based on supervised learning with backpropagation was employed. The ANN model demonstrated a remarkably high predictive performance with R2 = 0.972 in complex corrosion environments. The predicted polarization curves reliably estimated electrochemical characteristics such as corrosion current, corrosion potential, and pitting potential. These results provide a valuable tool for predicting and understanding the corrosion behavior of stainless steels, which can aid in corrosion prevention strategies and material selection decisions.

1. Introduction

Austenitic stainless steels are widely used in various industries, including marine, offshore, chemical processing, and power generation, due to their excellent mechanical properties and corrosion resistance. However, under aggressive environment like seawater, these materials are susceptible to localized forms of corrosion such as pitting [1] and crevice corrosion [2]. Pitting corrosion can lead to catastrophic failures because it is difficult to detect and can propagate rapidly once initiated. Therefore, understanding and predicting the corrosion behavior of austenitic stainless steels is critical to ensuring the integrity and service life of structures and components made from these materials.
Traditional methods for assessing corrosion resistance involve experimental testing, such as potentiodynamic polarization measurements, which can be time-consuming and costly. These methods also require extensive laboratory work to evaluate the effects of various environmental factors like temperature [3,4], chloride ion concentration [5,6], and pH [7]. While empirical models have been developed to estimate corrosion rates and surface corrosion potential, they often lack the ability to accurately predict corrosion behavior under complex environmental conditions due to the nonlinear and multifactorial nature of the corrosion process.
Recent advancements in computational techniques have opened new avenues for predicting material behavior [8,9]. Statistical methods such as linear regression have been employed to establish relationships between input variables and corrosion responses. However, linear models may not capture the complex interactions and nonlinearities inherent in corrosion phenomena. Artificial neural networks (ANNs), with their ability to model complex nonlinear relationships, offer a promising alternative. ANNs have been successfully applied in various fields of materials science and engineering to predict properties and behaviors based on input parameters [10,11,12,13,14].
Several studies have explored the use of ANNs for corrosion prediction. Ji et al. [15] developed an ANN model to predict corrosion rates of steel in dynamic environment, demonstrating improved accuracy over traditional empirical models. Akhlaghi et al. [16] utilized ANNs to estimate the pitting corrosion of steels, considering factors such as soil characteristics and pipe type of buried transmission pipelines.
The Pitting Resistance Equivalent Number (PREN) is a widely accepted parameter used to estimate the pitting corrosion resistance of stainless steels based on their chemical composition, particularly the contents of chromium, molybdenum, and nitrogen. However, PREN alone does not account for environmental factors that significantly influence corrosion behavior. Incorporating environmental variables into predictive models is essential for a more accurate assessment of corrosion risk.
In this study, statistical models were developed using linear regression and artificial neural networks to predict the pitting potential and polarization curves of austenitic stainless steels (316L, 904L, and AL-6XN) under various environmental conditions. By considering factors such as temperature, chloride ion concentration, pH, and PREN, we seek to establish reliable predictive tools that can aid in material selection and corrosion prevention strategies. The linear regression model will help identify the significant factors and their linear relationships with the pitting potential, while the ANN model will capture the nonlinear behaviors and interactions among the variables to predict the entire polarization curve.
This study involves conducting potentiodynamic polarization tests to generate experimental data across a full factorial design of experiments, ensuring that all combinations of factors and levels are considered. Statistical analysis, including analysis of variance (ANOVA), is performed to evaluate the significance of each factor and interaction. The models are then validated using separate datasets to assess their predictive performance.
By integrating statistical methods and machine learning techniques, this study contributes to the advancement of predictive corrosion modeling and provides valuable insights into the corrosion mechanisms of austenitic stainless steels under diverse conditions.

2. Materials and Methods

2.1. Materials and Specimen Preparation

In this study, the stainless steels used were STS 316L, 904L, and AL-6XN, with their chemical compositions provided in Table 1. For stainless steels, the Pitting Resistance Equivalent Number (PREN), which indicates resistance to localized corrosion based on chemical composition, can be calculated using Equation (1) [14]. To quantify the corrosion characteristics of each stainless steel as variables, the PRENs were applied; the PRENs of 316L, 904L, and AL-6XN are 24, 34, and 45, respectively. Each specimen was machined to dimensions of 20 mm × 20 mm, polished up to #600 grit SiC abrasive paper, cleaned with distilled water, and stored in an oven.
P R E N = % C r + 3.3 % M o + 16 % N

2.2. Potentiodynamic Polarization Test

Potentiodynamic polarization tests were conducted to evaluate the electrochemical properties of each specimen under various experimental variables. A three-electrode corrosion cell was configured using a working electrode (specimen with an exposed area of 1.36 cm2), a reference electrode (Ag/AgCl sat. KCl), and a counter electrode (platinum mesh of 20 mm × 20 mm size). Polarization was performed at a 1.67 mV/s scan rate, starting from −0.25 V vs. the open-circuit potential (OCP) up to a maximum of 1.2 V, after an initial stabilization period of 1800 s.

2.3. Statistical Approach

To obtain the training, validation, and test data for the ANN model, a full factorial model with four factors at three levels was designed. It includes experiments for all combinations of factors and levels [17]. This approach allows for the detection of main effects and interactions, enabling the derivation of regression equations with high reliability for various combinations of levels [18]. The full factorial design used in this study is presented in Table 2 and Table 3. To adjust the levels of each factor, the Cl ion concentration was controlled using NaCl, and the pH was adjusted using hydrochloric acid. Each factor level was normalized to a value between 0 and 1 using Equation (2).
X = ( x x m i n ) / ( x m a x x m i n )
Here, x is the normalized value and x m a x and x m i n are the maximum and minimum values of each level. In the full factorial design with four factors at three levels, a total of 81 (34) experiments were required. To ensure the reliability of each test result, experiments were performed in duplicate. The influence and significance of each factor and level were evaluated through analysis of variance (ANOVA) at a 95% confidence level [19]. Statistical analysis of the full factorial design and data was conducted using Minitab® 19 software (Minitap, LLC, State College, PA, USA).

2.4. ANN

ANN method employing the backpropagation algorithm for supervised learning was utilized. Figure 1 illustrates the general structure of the neural network, which is a multilayer perceptron (MLP) consisting of an input layer, hidden layers, and an output layer. The activation functions used for each hidden layer were the sigmoid and hyperbolic tangent (tanh) functions. The data were divided into training, validation, and test sets at ratios of 80%, 10%, and 10%, respectively, and were randomly partitioned in each training process. The design and implementation of the neural network were carried out using Python 3.7 and the TensorFlow 2.0 library. The cost function for training process was the mean squared error (MSE) as shown in Equation (3). Here, n is the number of outputs in the training set, X ( t ) is the actual value of the data, and X ( t ) is the predicted value from the model. For the optimization of the cost function, the Adam (Adaptive Moment Estimation) algorithm, known for its superior performance, was employed.
1 n 1 n ( X t X t ) 2

3. Results and Discussion

3.1. Potentiodynamic Polarization Curves

Figure 2 presents the polarization curves corresponding to specific factor levels to observe the impact of factor levels on changes in pitting behavior. In each graph, the levels of other factors are held constant except for the specific factor being varied. The critical pitting potentials obtained from each polarization curve, along with the current densities at each potential, were used as training data for linear regression and ANN. Generally, the polarization curves were divided into an anodic region where current density increases with rising potential, a plateau region of constant current density, and a region of rapid current density increase above a certain potential [20]. This behavior allows for the distinction of activation, passive, and passive breakdown regions in the anodic polarization as the potential increases [14,20]. The pitting corrosion can be predicted by comparing the pitting potential with the corrosion potential. Alloys with more noble pitting potentials typically exhibit higher pitting resistance [14,20]. On the other hand, the pitting potential is located in a less noble direction than the corrosion potential or is similar to it, the material is more susceptible to pitting corrosion. In the polarization test results corresponding to the full factorial design presented in Table 3, all pitting potentials were located in a more noble direction than the corrosion potentials, showing varying pitting potentials depending on the factor levels. As shown in Figure 2a,b, the polarization curves exhibited clear differences according to the levels of the pitting resistance equivalent number (PREN) and temperature. In contrast, Cl concentration and pH did not showed significant differences with changes, as depicted in Figure 2c,d. This indicates that while each factor and its levels influence the polarization characteristics, the degree of their impact varies.

3.2. Significance of Input Variables

In a four-factor model, the maximum interaction can extend up to the fourth order (term). As the order is more increases, the fit of the model to the data improves. However, the complexity of interpreting the model also increases significantly, and overfitting to the data may occur [17,21]. Therefore, the model should include appropriate orders and interactions based on the coefficients of determination (R2) and significance of each term [22,23]. Table 4 shows the coefficients of determination corresponding to the maximum interaction orders in the full factorial model. The linear model without interactions exhibited a R2 of 0.789 and an adjusted R2 of 0.777. Models with second-order (quadratic) interactions or higher showed very high R2 of 0.97 or above. The model with fourth-order (quaternary) interactions had a R2 of 0.996, indicating a fit close to 1. Considering the R2 and the ease of interpretation, the model was designed to include second-order interactions.
Table 5 presents the analysis of variance (ANOVA) results for significant factors at the 95% confidence level. ANOVA [24,25,26,27] represents the dispersion of characteristic values as the sum of squares (SS) and decomposes this total sum into sums attributable to experimental factors, identifying those factors that have a particularly large effect compared to the error term. The total sum of squares can be divided into the sum of squares due to deviations of each process variable and the sum of squares due to error. The percentage contribution of each process variable’s sum of squares to the total sum of squares indicates the contribution of that variable to the overall dispersion of characteristic values. Additionally, the F-value, defined as the ratio of the mean square (MS) of a process variable to the mean square of the error, indicates the importance of that process variable relative to the error.
Here, the mean square is defined as the sum of squares of each factor divided by its degrees of freedom (DF). The most critical value in ANOVA is the p-value, which determines the significance of factors at the 95% confidence level, using 0.05 as the criterion. If the p-value is 0.05 or less, the factor is considered significant at the 95% confidence level, meaning that the levels of that factor have a significant effect on changes in the response variable. In the case of blocks, the p-value was 0.926, indicating that the block effect was not significant. This implies that repeated experimental values at the same level do not affect the model interpretation. Based on the ANOVA results, factors that satisfy the confidence level and their influences were identified in the full factorial design.
Figure 3 and Figure 4 present Pareto charts illustrating the influence and significance of each input factor. The Pareto chart represents the contribution of each factor to the total contribution rate and can be calculated using Equation (4) [24]. In ANOVA at the 95% confidence level (red dashed line in Figure 3), factors A, B, D, and interactions A·B, B·D, A·D were found to be significant. The order of influence was identified as A (PREN), B (Temperature), C (pH), and D (Cl ion concentration). This result is consistent with the polarization curves shown in Figure 2. The Cl concentration increased from the minimum level (20 g/L) to the maximum level (40 g/L), the pitting potential showed an average decrease of about 30 mV. This suggests that the critical Cl concentration causing a sharp decrease in pitting potential is considered to be below 20 g/L. According to the literature by other researchers, Malik et al. [25] reported a decrease of 200–300 mV in the pitting potential of 316L stainless steel as the chloride ion concentration increased from 100 to 5000 ppm. Leckie and Uhlig [26] observed a decrease of 100 mV in the pitting potential of 18-8 stainless steel over a range of 0.1–1.0% chloride concentration. Ramana et al. [27] reported a decrease of about 40–60 mV in pitting potential with changes in chloride ion concentration from 17,500 to 70,000 ppm at various levels of temperature (20–60 °C) and pH (1.23–5.0). As the pH decreased from the maximum level (pH 6) to the minimum level (pH 2), the pitting potential showed an average decrease of about 64 mV. In acidic environments, a decrease in pH shifts the pitting potential in the less noble direction. However, it has been confirmed through other studies that the degree of this shift does not show a significant difference [25,27,28]. Thus, the changes in pitting potential with variations in chloride ion concentration and pH were consistent with the results reported in other studies.
P i = a i 2 i 0 a i 2 × 100 %

3.3. Prediction of Pitting Potential Using Mathematical Regression Model

Through ANOVA, a regression equation was derived comprising factors and interactions that significantly influence the pitting potential. The first-order polynomial linear model (multiple-linear regression) consisting of four independent variables (x) and a dependent variable (y) can be expressed as Equation (5).
y i = B 0 + Σ j = 1 k x i j i = 1,2 , n
Here, β 0 and β i are the bias and weights of the mathematical model, and x i j are the input variables for each term. Table 6 presents the mathematical regression model capable of producing continuous results, along with its coefficient of determination, excluding terms for specific factor levels. The coefficient of determination for the regression model did not show significant differences depending on the inclusion of second-order or higher interactions. Instead, the linear regression model exhibited a higher coefficient of determination, indicating that a linear relationship between factor levels and pitting potential is more appropriate.
Figure 5 illustrates the probability plot between the actual and predicted data. In the probability plot, the green dotted line represents the 95% confidence interval, and the blue dashed line represents the 95% prediction interval. The confidence interval serves as a criterion for assessing the uncertainty of the regression function based on statistically limited data or data with many residuals [29]. The prediction interval serves as a criterion for assessing the uncertainty of new data values in a curve affected by noise [30]. In other words, the confidence and prediction intervals represent the probabilistic reliability between the actual and predicted values. This confirms the high reliability and significance of predicting the pitting potential under complex environmental conditions of the factors.

3.4. Prediction of the Polarization Curve Using ANN

The linear functions modeled through full factorial design and analysis of variance demonstrated considerable reliability in predicting the pitting potential. However, there are limitations in modeling dynamic behaviors such as nonlinear polarization curves. ANN are highly suitable techniques for modeling data with nonlinear structures. Therefore, polarization curves at each factor level were predicted using an ANN model. Generally, ANN can perform accurate predictions with wide and deep architectures [31,32]. However, computational time and cost increase, and overfitting to the training data may occur. Therefore, selecting the optimal activation function and neuron architecture suitable for the type and complexity of the data is necessary. In previous studies on predicting dynamic polarization curves in complex environments, Hu et al. [30] used an ANN model consisting of a single hidden layer (sigmoid function) with 5 inputs and 50 neurons, and an output layer with 2 neurons. Kamrunnahar et al. [33] used a model with 7 inputs, triple hidden layers (tangent sigmoid function) consisting of 100, 100, and 50 neurons, and an output layer with 4 neurons. Wang et al. [34] employed a model with 5 inputs, double hidden layers (tangent sigmoid function) with 35 and 35 neurons, and an output layer with 4 neurons. As such, since the optimal activation function and number of neurons in hidden layers depend on the type and complexity of the data, it is very difficult to specify them. Therefore, the optimal ANN structure must be selected through numerous trials and errors. To select the optimal activation function and number of nodes suitable for the data type, activation functions such as sigmoid and tanh were used, and the ANN model was validated across various combinations.
sigmoid   activation   function :   f x = 1 1 + e x = e x e x + 1
hyperbolic   tangent   activation   function :   f x = e x e x e x + e x
Figure 6 shows R2 of 0.9 or higher among various ANN structures. The R2 tended to increase with the number of neurons. However, it plateaued beyond 60 neurons. Therefore, considering computational cost, an optimal number of 60 neurons was selected. Additionally, the overall structure employing sequential activation functions specifically sigmoid and tanh in a 5-60-60-1 architecture exhibited the highest R2 of 0.972.
Figure 7 presents a comparison between actual and predicted values for 53,964 training data points, 5995 validation data points, and 6661 test data points. In the graph, the fit line (blue solid line) represents a perfect 100% agreement between actual and predicted data. Overall, the data points were distributed along the fit line, with coefficients of determination R2 of 0.975, 0.968, and 0.908 for the training, validation, and test sets, respectively.
In Figure 7a,b, the points showed relatively high dispersion at low current densities; however, in the current density regions above 1 × 10−6 A/cm2 where passive regions and pitting behavior occur in each polarization test—the dispersion was relatively close to the fit line.
Figure 8 compares the actual and predicted curves under test conditions included in the ANN training process to verify the training, validation, and test data. The ANN exhibited a very high degree of fit to the training data. The experimental and predicted curves were very similar in shape and matched very accurately in characteristic values such as OCP.
Figure 9 compares the experimental and predicted curves for new test conditions not included in the ANN model training. In Figure 9d, a slight deviation occurred between the two curves; however, the overall behavior and the prediction of the critical pitting potential showed a considerable tendency to match. Considering the inherent flexibility and complexity of electrochemical polarization tests, the predictive performance is judged to be of a fairly high level of reliability. Additionally, excluding the pitting resistance equivalent number (PREN), only 27 environmental variables were provided for each material, which can be considered data for some limited environments. It is anticipated that if the ANN model is trained with data from various levels, it could exhibit very high predictive performance.
In the experimental polarization curves, metastable pitting points were observed in Figure 8b and Figure 9c, and in some experimental data, two distinct pitting stages appeared in Figure 8d and Figure 9a,b. These features are typical of stainless steels due to their multiphase microstructures and varying electrochemical behavior. By contrast, the ANN-predicted curves smooth out such fluctuations and sharp transitions, since the model is data-driven and relies on pattern recognition rather than capturing electrochemical mechanisms. As a result, ANN predictions reproduce overall polarization trends; nevertheless, they do not adequately reflect localized phenomena such as metastable pit initiation, phase-dependent breakdown, or passivity loss. Although oversimplified representation is a limitation of machine learning approaches, it also emphasizes their complementary role in providing reliable general trends of corrosion behavior.
These findings confirm the predictive performance of the ANN for the dynamic behavior of electrochemical polarization under complex conditions. In addition, the applicability of the proposed methodology extends to the pitting corrosion examined in this study. Because both the regression and ANN models are fundamentally data-driven, they can be adapted to analyze other localized corrosion mechanisms, such as crevice corrosion or stress corrosion cracking. This flexibility highlights the potential of the approach as a versatile tool in corrosion prediction. Nevertheless, several limitations must be acknowledged. The present work was performed under controlled laboratory conditions and focused exclusively on pitting corrosion, which restricts direct extrapolation to other corrosion forms or complex field environments. Furthermore, uniform corrosion and microbiologically influenced corrosion may involve additional chemical or biological factors that are not fully represented by polarization data and thus may require further refinement of the model and broader datasets.

4. Conclusions

In this study, statistical approaches utilizing linear regression and ANN were applied to predict the pitting potential and polarization curves of austenitic stainless steels (316L, 904L, and AL-6XN) under various environmental variables, including temperature, Cl ion concentration, and pH.
The ANOVA confirmed that each input variable PREN ranging from 24 to 45, temperature from 30 to 90 °C, Cl ion concentration from 20 to 40 g/L, and pH from 2 to 6 had a significant effect on the critical pitting potential. The influence order was determined to be PREN, temperature, pH, and Cl ion concentration.
A linear regression model was established using significant factors and interactions identified at the 95% confidence level from ANOVA. The linear regression model exhibited a considerable predictive performance (R2 = 0.789) in forecasting the critical pitting potential.
To predict potentiodynamic polarization curves, an ANN based on supervised learning with backpropagation was employed. The ANN model demonstrated a remarkably high predictive performance (R2 = 0.972) for polarization curves in complex corrosion environments. The polarization curves predicted by the ANN model showed significant reliability in estimating electrochemical parameters such as corrosion current, corrosion potential, and pitting potential.
The results provide a valuable tool for predicting and understanding the corrosion behavior of stainless steels and are expected to contribute to decision-making in corrosion prevention and material selection in the future.

Author Contributions

Conceptualization, K.-H.J. and S.-J.K.; methodology, K.-H.J.; software, K.-H.J.; validation, K.-H.J.; formal analysis, K.-H.J.; investigation, K.-H.J.; resources, S.-J.K.; data curation, K.-H.J.; writing—original draft preparation, K.-H.J.; writing—review and editing, K.-H.J. and S.-J.K.; visualization, K.-H.J.; supervision, S.-J.K.; project administration, S.-J.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare that there are no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ANNArtificial Neural Network
PRENPitting Resistance Equivalent Number
ANOVAAnalysis of Variance
OCPOpen Circuit Potential

References

  1. Zhao, J.; Cheng, C.Q.; Cao, T.S. Effect of Chemical Passivation Treatment and Flow on the Corrosion of 304 Stainless Steel in Hydrochloric Acid Solution. Corros. Sci. Technol. 2015, 14, 273. [Google Scholar] [CrossRef]
  2. Lee, Y.H.; Kim, Y.H.; Kim, H. Crevice Corrosion Resistance of Stainless Steels in Natural Sea Water with Different Post Welding Treatment. Corros. Sci. Technol. 2003, 2, 219–224. [Google Scholar]
  3. Xuan, J.; Xu, L.; Bai, S.; Zhao, T.; Xin, Y.; Zhang, G.; Li, L. Influence of Temperature on Corrosion Behavior, Wettability, and Surface Conductivity of 304 Stainless Steel in Simulated Cathode Environment of Proton Exchange Membrane Fuel Cells. Int. J. Hydrogen Energy 2021, 46, 22920–22931. [Google Scholar] [CrossRef]
  4. Lei, L.; Sun, Y.; Zheng, K.; Wang, X.; He, P.; Liu, Y.; Jiang, Y. A Comparative Study on the Critical Pitting Criteria of a Super Ferritic Stainless Steel at Different Temperatures in Chloride or Bromide Solution. Corros. Sci. 2021, 183, 109311. [Google Scholar] [CrossRef]
  5. Abdelfatah, A.; Raslan, A.M.; Mohamed, L.Z. Corrosion Characteristics of 304 Stainless Steel in Sodium Chloride and Sulfuric Acid Solutions. Int. J. Electrochem. Sci. 2022, 17, 220417. [Google Scholar] [CrossRef]
  6. Huttunen-Saarivirta, E.; Isotahdon, E.; Que, Z.; Lindgren, M.; Mardoukhi, A.; Jorcin, J.B.; Wegrelius, L. Pitting Corrosion on Highly Alloyed Stainless Steels in Dilute Sulphuric Acid Containing Sodium Chloride. Electrochim. Acta 2023, 457, 142404. [Google Scholar] [CrossRef]
  7. Kan, B.; Wu, W.; Yang, Z.; Zhang, X.; Li, J. Effects of Hydrostatic Pressure and pH on the Corrosion Behavior of 2205 Duplex Stainless Steel. J. Electroanal. Chem. 2021, 886, 115134. [Google Scholar] [CrossRef]
  8. Jiménez-Come, M.J.; González Gallero, F.J.; Gómez, P.Á.; Matres, V. Prediction and Detection of Localised Corrosion Attack of Stainless Steel in Biogas Production: A Machine Learning Classification Approach. Materials 2025, 18, 1057. [Google Scholar] [CrossRef]
  9. Dong, Z.; Zhang, M.; Li, W.; Wen, F.; Dong, G.; Zou, L.; Zhang, Y. Development of a Predictive Model for Carbon Dioxide Corrosion Rate and Severity Based on Machine Learning Algorithms. Materials 2024, 17, 4046. [Google Scholar] [CrossRef]
  10. Song, H.; Ahmad, A.; Ostrowski, K.A.; Dudek, M. Analyzing the Compressive Strength of Ceramic Waste-Based Concrete Using Experiment and Artificial Neural Network (ANN) Approach. Materials 2021, 14, 4518. [Google Scholar] [CrossRef] [PubMed]
  11. Kuppusamy, Y.; Jayaseelan, R.; Pandulu, G.; Sathish Kumar, V.; Murali, G.; Dixit, S.; Vatin, N.I. Artificial Neural Network with a Cross-Validation Technique to Predict the Material Design of Eco-Friendly Engineered Geopolymer Composites. Materials 2022, 15, 3443. [Google Scholar] [CrossRef]
  12. Kolesnyk, V.; Peterka, J.; Alekseev, O.; Neshta, A.; Xu, J.; Lysenko, B.; Hrbal, J. Application of ANN for Analysis of Hole Accuracy and Drilling Temperature When Drilling CFRP/Ti Alloy Stacks. Materials 2022, 15, 1940. [Google Scholar] [CrossRef]
  13. Huang, G.; Guo, Y.; Chen, Y.; Nie, Z. Application of Machine Learning in Material Synthesis and Property Prediction. Materials 2023, 16, 5977. [Google Scholar] [CrossRef]
  14. McGuire, M.F. Stainless Steels for Design Engineers; ASM International: Novelty, OH, USA, 2008. [Google Scholar]
  15. Ji, C.H.; Wang, H.; Chen, Q.; Ma, X.; Cai, Y. Corrosion Behavior Prediction for Hull Steels under Dynamic Marine Environments by Jointly Utilizing LSTM Network and PSO-RF Model. Ocean Eng. 2024, 300, 117371. [Google Scholar] [CrossRef]
  16. Akhlaghi, B.; Mesghali, H.; Ehteshami, M.; Mohammadpour, J.; Salehi, F.; Abbassi, R. Predictive Deep Learning for Pitting Corrosion Modeling in Buried Transmission Pipelines. Process Saf. Environ. Prot. 2023, 174, 320–327. [Google Scholar] [CrossRef]
  17. Durakovic, B. Design of Experiments Application, Concepts, Examples: State of the Art. Period. Eng. Nat. Sci. 2017, 5, 421–439. [Google Scholar] [CrossRef]
  18. Farooq, M.A.; Nóvoa, H.; Araújo, A.; Tavares, S.M. An Innovative Approach for Planning and Execution of Pre-Experimental Runs for Design of Experiments. Eur. Res. Manag. Bus. Econ. 2016, 22, 155–161. [Google Scholar] [CrossRef]
  19. Jankovic, A.; Chaudhary, G.; Goia, F. Designing the Design of Experiments (DOE)–An Investigation on the Influence of Different Factorial Designs on the Characterization of Complex Systems. Energy Build. 2021, 250, 111298. [Google Scholar] [CrossRef]
  20. Jones, D.A. Principles and Prevention of Corrosion; Macmillan: New York, NY, USA, 1992. [Google Scholar]
  21. Mathews, P.G. Design of Experiments with MINITAB; ASQ Quality Press: Milwaukee, WI, USA, 2005. [Google Scholar]
  22. Zhong, K.; Meng, Q.; Sun, M.; Luo, G. Artificial Neural Network (ANN) Modeling for Predicting Performance of SBS Modified Asphalt. Materials 2022, 15, 8695. [Google Scholar] [CrossRef]
  23. Nafees, A.; Javed, M.F.; Khan, S.; Nazir, K.; Farooq, F.; Aslam, F.; Vatin, N.I. Predictive Modeling of Mechanical Properties of Silica Fume-Based Green Concrete Using Artificial Intelligence Approaches: MLPNN, ANFIS, and GEP. Materials 2021, 14, 7531. [Google Scholar] [CrossRef] [PubMed]
  24. dos Santos, T.C.; Gomes, D.P.P.; Bonomo, R.C.F.; Franco, M. Optimisation of Solid State Fermentation of Potato Peel for the Production of Cellulolytic Enzymes. Food Chem. 2012, 133, 1299–1304. [Google Scholar] [CrossRef]
  25. Malik, A.U.; Kutty, P.M.; Siddiqi, N.A.; Andijani, I.N.; Ahmed, S. The Influence of pH and Chloride Concentration on the Corrosion Behaviour of AISI 316L Steel in Aqueous Solutions. Corros. Sci. 1992, 33, 1809–1827. [Google Scholar] [CrossRef]
  26. Leckie, H.P.; Uhlig, H.H. Environmental Factors Affecting the Critical Potential for Pitting in 18–8 Stainless Steel. J. Electrochem. Soc. 1966, 113, 1262–1267. [Google Scholar] [CrossRef]
  27. Ramana, K.V.S.; Anita, T.; Mandal, S.; Kaliappan, S.; Shaikh, H.; Sivaprasad, P.V.; Khatak, H.S. Effect of Different Environmental Parameters on Pitting Behavior of AISI Type 316L Stainless Steel: Experimental Studies and Neural Network Modeling. Mater. Des. 2009, 30, 3770–3775. [Google Scholar] [CrossRef]
  28. Ruijini, G.; Srivastava, S.C.; Ives, M.B. Pitting Corrosion Behavior of UNS N08904 Stainless Steel in a Chloride/Sulfate Solution. Corrosion 1989, 45, 874–882. [Google Scholar] [CrossRef]
  29. Dodge, Y. The Concise Encyclopedia of Statistics; Springer: New York, NY, USA, 2008. [Google Scholar]
  30. Hu, Q.; Liu, Y.; Zhang, T.; Geng, S.; Wang, F. Modeling the Corrosion Behavior of Ni-Cr-Mo-V High Strength Steel in the Simulated Deep Sea Environments Using Design of Experiment and Artificial Neural Network. J. Mater. Sci. Technol. 2019, 35, 168–175. [Google Scholar] [CrossRef]
  31. Islam, N.; Huang, W.; Zhuang, H.L. Machine Learning for Phase Selection in Multi-Principal Element Alloys. Comput. Mater. Sci. 2018, 150, 230–235. [Google Scholar] [CrossRef]
  32. Géron, A. Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems; O’Reilly Media: Sebastopol, CA, USA, 2019. [Google Scholar]
  33. Kamrunnahar, M.; Urquidi-Macdonald, M. Prediction of Corrosion Behavior Using Neural Network as a Data Mining Tool. Corros. Sci. 2010, 52, 669–677. [Google Scholar] [CrossRef]
  34. Wang, C.; Li, W.; Wang, Y.; Xu, S.; Yang, X. Chloride-Induced Stray Current Corrosion of Q235A Steel and Prediction Model. Constr. Build. Mater. 2019, 219, 164–175. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram for ANN architecture used for modeling polarization curves.
Figure 1. Schematic diagram for ANN architecture used for modeling polarization curves.
Materials 18 04390 g001
Figure 2. Potentiodynamic polarization curves with variable (a) PREN, (b) temperature, (c) Cl concentration, (d) pH.
Figure 2. Potentiodynamic polarization curves with variable (a) PREN, (b) temperature, (c) Cl concentration, (d) pH.
Materials 18 04390 g002
Figure 3. Pareto chart of the standardized effects of significant factors and interaction on critical pitting potential.
Figure 3. Pareto chart of the standardized effects of significant factors and interaction on critical pitting potential.
Materials 18 04390 g003
Figure 4. The main effect plots for the mean of critical pitting potential values.
Figure 4. The main effect plots for the mean of critical pitting potential values.
Materials 18 04390 g004
Figure 5. Comparison of actual and predicted values for critical pitting potential: training data set: 147 plots, validation data set: 63 plots.
Figure 5. Comparison of actual and predicted values for critical pitting potential: training data set: 147 plots, validation data set: 63 plots.
Materials 18 04390 g005
Figure 6. R2 of ANN model with different activation functions and node numbers.
Figure 6. R2 of ANN model with different activation functions and node numbers.
Materials 18 04390 g006
Figure 7. Comparison of actual and ANN predicted values for log(i): (a) training data set: 53,964 plots (b) validation data set: 5995 plots (c) test data set 6661 plots, (d) total data set: 66,602 plots.
Figure 7. Comparison of actual and ANN predicted values for log(i): (a) training data set: 53,964 plots (b) validation data set: 5995 plots (c) test data set 6661 plots, (d) total data set: 66,602 plots.
Materials 18 04390 g007
Figure 8. Experimental and ANN predicted polarization curves for some training data sets. These conditions are included in Table 3.
Figure 8. Experimental and ANN predicted polarization curves for some training data sets. These conditions are included in Table 3.
Materials 18 04390 g008
Figure 9. Experimental and ANN predicted polarization curves. These conditions are not included in Table 3 and the pitting potential. These results confirm the predictive performance of the ANN for the dynamic behavior of flexible and complex relationships like electrochemical polarization.
Figure 9. Experimental and ANN predicted polarization curves. These conditions are not included in Table 3 and the pitting potential. These results confirm the predictive performance of the ANN for the dynamic behavior of flexible and complex relationships like electrochemical polarization.
Materials 18 04390 g009
Table 1. Chemical composition (wt.%) for steels.
Table 1. Chemical composition (wt.%) for steels.
MaterialPRENCSiMnNiCrMoCuNFe
316L240.0190.581.0710.2316.762.030.3-Bal.
904L340.020.641.532419.274.211.30.04Bal.
AL-6XN450.0160.630.2823.821.76.60.190.21Bal.
Table 2. Experimental independent factor and their levels.
Table 2. Experimental independent factor and their levels.
FactorsUnitLevel (Normalized Value)
PREN (A) 24 (0)34 (0.5)45 (1)
Temperature (B)°C30 (0)60 (0.5)90 (1)
Cl concentration(C)g/L20 (0)30 (0.5)40 (1)
pH (D) 2 (0)4 (0.5)6 (1)
Table 3. Full factorial design matrix and experiment results.
Table 3. Full factorial design matrix and experiment results.
Exp. No.
(PREN)
FactorEcorr., VEpit, VErange, V
Temp., °C Cl, g/LpH
1 (24)28 (34)55 (45)302020.0720.3540.282
2 (24)29 (34)56 (45)30204−0.0290.2790.308
3 (24)30 (34)57 (45)30206−0.0430.2650.308
4 (24)31 (34)58 (45)30302−0.0850.2770.362
5 (24)32 (34)59 (45)30304−0.070.2720.342
6 (24)33 (34)60 (45)30306−0.0810.3090.39
7 (24)34 (34)61 (45)30402−0.0980.2250.323
8 (24)35 (34)62 (45)30404−0.0660.2850.351
9 (24)36 (34)63 (45)304060.0340.3570.323
10 (24)37 (34)64 (45)60202−0.130.1520.282
11 (24)38 (34)65 (45)60204−0.0620.2130.275
12 (24)39 (34)66 (45)60206−0.1180.1460.264
13 (24)40 (34)67 (45)60302−0.1670.130.297
14 (24)41 (34)68 (45)60304−0.1160.0650.181
15 (24)42 (34)69 (45)60306−0.1080.110.218
16 (24)43 (34)70 (45)60402−0.1170.0910.208
17 (24)44 (34)71 (45)60404−0.1140.0850.199
18 (24)45 (34)72 (45)60406−0.2950.1230.418
19 (24)46 (34)73 (45)90202−0.1490.0290.178
20 (24)47 (34)74 (45)90204−0.1570.0650.222
21 (24)48 (34)75 (45)90206−0.1340.0810.215
22 (24)49 (34)76 (45)90302−0.1660.0430.209
23 (24)50 (34)77 (45)90304−0.1490.0340.183
24 (24)51 (34)78 (45)90306−0.1140.0550.169
25 (24)52 (34)79 (45)90402−0.16400.164
26 (24)53 (34)80 (45)90404−0.1070.0150.122
27 (24)54 (34)81 (45)90406−0.1480.0340.182
Table 4. Coefficient of determination according to the interaction term of the multiple linear regression model.
Table 4. Coefficient of determination according to the interaction term of the multiple linear regression model.
TermR2Adjusted-R2
Linear0.7890.777
Quadratic0.9730.966
Cubic0.9930.989
Quaternary0.9960.993
Table 5. Result of ANOVA on the full factorial design.
Table 5. Result of ANOVA on the full factorial design.
SourceDFAdj
SS
Adj
MS
F-Valuep-Value
Model1519.50021.30001272.540.000
Blocks10.00000.000040.010.926
Linear615.85512.64252554.000.000
A210.04575.022871053.030.000
B25.67972.83987595.370.000
D20.12960.0648013.590.000
2-Way Interactions83.64500.4556395.520.000
A·B43.57070.89267187.150.000
A·D40.07440.018593.900.005
Error1460.69640.00477
Total16120.1966
R2Adjusted-R2
96.55%96.20%
Table 6. Regression models and their determination coefficient for critical pitting potential.
Table 6. Regression models and their determination coefficient for critical pitting potential.
TermRegression Model
R2R2-AdjustR2-Prediction
LinearEpit = 0.381 + 0.6085 A 0.458 B 0.031 C + 0.063 D
0.7790.7740.76
QuadraticEpit = 0.355 + 0.5890 A − 0.4017 B − 0.064 D − 0.036 A · B + 0.0753 A · B − 0.0767 B · D
0.7830.7680.756
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jung, K.-H.; Kim, S.-J. Statistical and ANN Modeling of Corrosion Behavior of Austenitic Stainless Steels in Aqueous Environments. Materials 2025, 18, 4390. https://doi.org/10.3390/ma18184390

AMA Style

Jung K-H, Kim S-J. Statistical and ANN Modeling of Corrosion Behavior of Austenitic Stainless Steels in Aqueous Environments. Materials. 2025; 18(18):4390. https://doi.org/10.3390/ma18184390

Chicago/Turabian Style

Jung, Kwang-Hu, and Seong-Jong Kim. 2025. "Statistical and ANN Modeling of Corrosion Behavior of Austenitic Stainless Steels in Aqueous Environments" Materials 18, no. 18: 4390. https://doi.org/10.3390/ma18184390

APA Style

Jung, K.-H., & Kim, S.-J. (2025). Statistical and ANN Modeling of Corrosion Behavior of Austenitic Stainless Steels in Aqueous Environments. Materials, 18(18), 4390. https://doi.org/10.3390/ma18184390

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop