Machine Learning (ML)-aided Modeling of Cyanopyran-based Corrosion Inhibitiors
Jagadeesan Saranya, Yalla Jeevan Nagendra Kumar, Abdelkader Zarrouk, G. Kausalya Sasikumar, Rajender Boddula
Corrosion is a significant challenge across multiple industries, impacting material longevity and safety. This chapter explores interdisciplinary approaches that combine computational methods with experimental validation to ensure practical applicability in real-world scenarios. Computational approaches have revolutionized the study of corrosion mechanisms, prediction, and mitigation strategies. In this study, machine learning methods have been studied to evaluate the corrosion performance of the inhibitor 2-amino-4-(4-hydroxyphenyl)-6-(p-tolyl)-4H-pyran-3-carbonitrile (HCN) on mild steel in 1M H2SO4. Experimental studies like the weight loss method were carried out to test the inhibition efficiency of the inhibitor molecule, which revealed that the inhibition efficiency increased with the increase in the concentration of the inhibitor. Quantum chemical studies were also performed to study the interaction of inhibitor molecules with metal. Regarding machine learning studies, it is identified that the Random Forest was the best algorithm that predicted the entire time profile of corrosion rates with the mean squared error ranging from 0.005 to 0.093. The sensitivity of corrosion rates to changes in the environmental variables is well-predicted by the trained Random Forest model.
Keywords
Inhibition Efficiency, Corrosion, Cyanopyran, Algorithm, Random Forest, Artificial Neural Network
Published online 1/5/2026, 20 pages
Citation: Jagadeesan Saranya, Yalla Jeevan Nagendra Kumar, Abdelkader Zarrouk, G. Kausalya Sasikumar, Rajender Boddula, Machine Learning (ML)-aided Modeling of Cyanopyran-based Corrosion Inhibitiors, Materials Research Foundations, Vol. 188, pp 208-227, 2026
DOI: https://doi.org/10.21741/9781644903919-11
Part of the book on Advances in Corrosion Science and Surface Engineering
References
[1] A.A. Al-Amiery, A.A.H. Kadhum, A. Kadihum, A.B. Mohamad, C.K. How, S. Junaedi, Inhibition of mild steel corrosion in sulfuric acid solution by new schiff base, Mater. 7 (2), (2014a) 787-804 https://doi.org/10.3390/ma7020787
[2] M. El-Belghiti, Y. Karzazi, A. Dafali, B. Hammouti, F. Bentiss, I. Obot, I. Bahadur, E.E. Ebenso. Experimental, quantum chemical and Monte Carlo simulation studies of 3, 5-disubstituted-4-amino-1, 2, 4-triazoles as corrosion inhibitors on mild steel in acidic medium, J. Mol. Liq. 218 (2016) 281-293 https://doi.org/10.1016/j.molliq.2016.01.076
[3] B. Mert, A. Yüce, G. Kardas, B. Yazici, Inhibition effect of 2-amino-4-methylpyridine on mild steel corrosion: experimental and theoretical investigation, Corros. Sci. 85, (2014) 287-295 https://doi.org/10.1016/j.corsci.2014.04.032
[4] H. Huang, F. Bu, Correlations between the inhibition performances and the inhibitor structures of some azoles on the galvanic corrosion of copper coupled with silver in artificial seawater, Corros. Sci. 165 (2020) 108413 https://doi.org/10.1016/j.corsci.2019.108413
[5] G. Gece, The use of quantum chemical methods in corrosion inhibitor studies, Corros. Sci. 50 (2008) 2981-2992 https://doi.org/10.1016/j.corsci.2008.08.043
[6] I. Obot, D. Macdonald, Z. Gasem, Density functional theory (DFT) as a powerful tool for designing new organic corrosion inhibitors. Part 1: an overview, Corros. Sci. 99 (2015) 1-30 https://doi.org/10.1016/j.corsci.2015.01.037
[7] H. Ke, C.D. Taylor, Density functional theory: an essential partner in the integrated computational materials engineering approach to corrosion, Corros. 75 (2019) 708-726 https://doi.org/10.5006/3050
[8] Y. Liu, T. Zhao, W. Ju, S. Shi, Materials discovery and design using machine learning, J. Materiomics. 3 (2017) 159-177 https://doi.org/10.1016/j.jmat.2017.08.002
[9] T.W. Quadri, L.O. Olasunkanmi, O.E. Fayemi, E.D. Akpan, C. Verma, E.S.M. Sherif, K.F. Khaled, E.E. Ebenso, Quantitative structure activity relationship and artificial neural network as vital tools in predicting coordination capabilities of organic compounds with metal surface: A review, Coord. Chem. Rev. 446 (2021) 214101 https://doi.org/10.1016/j.ccr.2021.214101
[10] A.R. Shahmoradi, M. Ranjbarghanei, A.A. Javidparvar, L. Guo, E. Berdimurodov, B. Ramezanzadeh, Theoretical and surface/electrochemical investigations of walnut fruit green husk extract as effective inhibitor for mild-steel corrosion in 1M HCl electrolyte. J. Mol. Liq. 338 (2021) 116550 https://doi.org/10.1016/j.molliq.2021.116550
[11] S.A.X. Stango, U. Vijayalakshmi, Studies on corrosion inhibitory effect and adsorption behavior of waste materials on mild steel in acidic medium, J. Asian Ceram. Soc. 6 (2018) 20-29 https://doi.org/10.1080/21870764.2018.1439608
[12] A. Samide, C. Stoean, R. Stoean, Surface study of inhibitor films formed by polyvinyl alcohol and silver nanoparticles on stainless steel in hydrochloric acid solution using convolutional neural networks, Appl. Surf. Sci. 475 (2019) 1-5 https://doi.org/10.1016/j.apsusc.2018.12.255
[13] V.C. Anadebe, O.D. Onukwuli, F.E. Abeng, N.A. Okafor, J.O. Ezeugo, C.C. Okoye, Electrochemical-kinetics, MD-simulation and multi-input single-output (MISO) modeling using adaptive neuro-fuzzy inference system (ANFIS) prediction for dexamethasone drug as eco-friendly corrosion inhibitor for mild steel in 2 M HCl electrolyte. J. Taiwan Inst. Chem. Eng. 115 (2020) 251-265 https://doi.org/10.1016/j.jtice.2020.10.004
[14] Mohammadreza Aghaaminiha, Ramin Mehrani, Martin Colahan, Bruce Brown, Marc Singer, Srdjan Nesic, Silvia M. Vargas, Sumit Sharma, Machine learning modeling of time-dependent corrosion rates of carbon steel in presence of corrosion inhibitors, Corros. Sci. 193 (2021) 109904. https://doi.org/10.1016/j.corsci.2021.109904
[15] Y. Diao, L. Yan, K. Gao . Improvement of the machine learning-based corrosion rate prediction model through the optimization of input features, Mater. Des. 198 (2021) 109326. https://doi.org/10.1016/j.matdes.2020.109326
[16] C.D. Taylor, B.M. Tossey, High temperature oxidation of corrosion resistant alloys from machine learning. npj Mater. Degrad. 5(1) (2021) 1-10 https://doi.org/10.1038/s41529-021-00184-3
[17] L.B. Coelho, D. Zhang, Y. Van Ingelgem, D. Steckelmacher, A. Nowé, H. Terryn, Reviewing machine learning of corrosion prediction in a data-oriented perspective. npj Mater. Degrad. 6(1) (2022) 1-16 https://doi.org/10.1038/s41529-022-00218-4
[18] A.H. Alamri, N. Alhazmi, Development of data driven machine learning models for the prediction and design of pyrimidine corrosion inhibitors, J. Saudi Chem. Soc. 26 (2022) 101536 https://doi.org/10.1016/j.jscs.2022.101536
[19] V.C. Anadebe, P.C. Nnaji, O.D. Onukwuli, N.A. Okafor, F.E. Abeng, V.I. Chukwuike, C.C. Okoye, I.I. Udoh, M.A. Chidiebere, L. Guo, R.C. Barik, Multidimensional insight into the corrosion inhibition of salbutamol drug molecule on mild steel in oilfield acidizing fluid: Experimental and computer aided modeling approach, J. Mol. Liq. 349 (2022) 118482 https://doi.org/10.1016/j.molliq.2022.118482
[20] A.K. Anees, S.M. Mustafa, B.M. Hameed, Mathematical regression and artificial neural network for prediction of corrosion inhibition process of steel in acidic media, J. Bio Tribo. Corros. 6 (2020) 92 https://doi.org/10.1007/s40735-020-00390-7
[21] J. Saranya, N. Anusuya, F. Benhiba, I. Warad, A. Zarrouk, A Cyanopyran Derivative for Preventing Corrosion of Pipeline Material Used in The Oil and Gas Industry, Anal. Bioanal. Electrochem. 14 (2022) 818-836
[22] M. Irani, R. Chalaturnyk, M. Hajiloo, Application of data mining techniques in building predictive models for oil and gas problems: A case study on casing corrosion prediction. Int. J. Oil Gas Coal Technol. 8 (2014) 369-398 https://doi.org/10.1504/IJOGCT.2014.066304
[23] Y. Liu, T. Zhao, W. Ju, S. Shi, Materials discovery and design using machine learning. J. Mater. 3 (2017) 159-177 https://doi.org/10.1016/j.jmat.2017.08.002
[24] K.T. Butler, D.W. Davies, H. Cartwright, O. Isayev, A. Walsh, Machine learning for molecular and materials science. Nat. Cell Biol. 559 (2018) 547-555 https://doi.org/10.1038/s41586-018-0337-2
[25] Y. Roh, G. Heo, S.E. Whang, A Survey on Data Collection for Machine Learning. IEEE Trans. Knowl. Data Eng. 4347 (2019) 1-20
[26] L.A. Nnanna, B.N. Onwolagba, I.M. Mejeha, K.B. Okeoma, Inhibition effects of some plant extracts on the acid corrosion of aluminium alloy. AJPAC. 4(1) (2010) 11-16
[27] S.A. Haddadi, E. Alibakhshi, G. Bahlakeh, B. Ramezanzadeh, M. Mahdavian, A detailed atomic level computational and electrochemical exploration of the Juglans regia green fruit shell extract as a sustainable and highly efficient green corrosion inhibitor for mild steel in 3.5 wt% NaCl solution. J. Mol. Liq. 284 (2019) 682-699 https://doi.org/10.1016/j.molliq.2019.04.045
[28] E. Ituen, O. Akaranta, A. James, 2017. Evaluation of performance of corrosion inhibitors using adsorption isotherm models: an overview. Chem. Sci. Int. J. 18 (2017) 1-34 https://doi.org/10.9734/CSJI/2017/28976
[29] S. Sanjaya, M.L. Pura, S.K. Gusti, F. Yanto, F. Syafria, K-Nearest Neighbor for Classification of Tomato Maturity Level Based on Hue, Saturation, and Value Colors. IJAIDM. 2 (2019)101-106 https://doi.org/10.24014/ijaidm.v2i2.7975
[30] X. Yan, W. Li, W. Chen, W. Luo, C. Zhang, Q. Wu, H. Liu, Weighted K-Nearest Neighbor Classification Algorithm Based on Genetic Algorithm. TELKOMNIKA Indones. J. Electr. Eng. Comput. Sci. 11 (2013) 6173-6178 https://doi.org/10.11591/telkomnika.v11i10.2534
[31] Y.F. Safri, R. Arifudin, M.A. Muslim, K-Nearest Neighbor and Naive bayes classifier algorithm in determining the classification of healthy card Indonesia giving to the poor. Sci. J. Inform. 5 (2018) 9-18 https://doi.org/10.15294/sji.v5i1.12057
[32] H. Parvin, H. Alizadeh, B. Minati, A Modification on K-Nearest Neighbor Classifier, GJCST. 10 (2010) 37-41
[33] S. Gao, Q. Wu, Z. Zhang, G. Jiang, Simulating active layer temperature based on weather factors on the Qinghai-Tibetan Plateau using ANN and wavelet-ANN models. Cold Reg. Sci. Technol. 177 (2020) 3-10 https://doi.org/10.1016/j.coldregions.2020.103118
[34] M. Ravansalar, T. Rajaee, O. Kisi, Wavelet-linear genetic programming: A new approach for modeling monthly streamflow. J. Hydrol. 549 (2017) 461-475 https://doi.org/10.1016/j.jhydrol.2017.04.018
[35] K.E. Okpalaeke, T.H. Ibrahim, L.M. Latinwo, E. Betiku, Mathematical modelling and optimization studies by an artificial neural network, Genetic algorithm and response surface methodology: a case of ferric sulfate-catalyzed esterification of neem (Azadirachta indica) seed oil, Front. Energy Res. 8 (2020) 614621 https://doi.org/10.3389/fenrg.2020.614621
[36] G. Dhande, Z. Shaikh, Analysis of Epochs in Environment based Neural Networks Speech Recognition System, in: 2019 3rd International Conference on Trends in Electronics and Informatics (ICOEI). (2019) 605-608 https://doi.org/10.1109/ICOEI.2019.8862728
[37] S. Afaq, S. Rao, Significance of Epochs on Training a Neural Network. Int. J. Sci. Technol. Res. 19 (2020) 485-488.
[38] N. Guttenberg, Learning to generate classifiers. arXiv. (2018) https://doi.org/10.1016/10.48550/arXiv.1803.11373


