npj Materials Degradation (Feb 2023)

Interpretable machine learning for maximum corrosion depth and influence factor analysis

  • Yuhui Song,
  • Qinying Wang,
  • Xingshou Zhang,
  • Lijin Dong,
  • Shulin Bai,
  • Dezhi Zeng,
  • Zhi Zhang,
  • Huali Zhang,
  • Yuchen Xi

DOI
https://doi.org/10.1038/s41529-023-00324-x
Journal volume & issue
Vol. 7, no. 1
pp. 1 – 15

Abstract

Read online

Abstract We have employed interpretable methods to uncover the black-box model of the machine learning (ML) for predicting the maximum pitting depth (dmax) of oil and gas pipelines. Ensemble learning (EL) is found to have higher accuracy compared with several classical ML models, and the determination coefficient of the adaptive boosting (AdaBoost) model reaches 0.96 after optimizing the features and hyperparameters. In this work, the running framework of the model was clearly displayed by visualization tool, and Shapley Additive exPlanations (SHAP) values were used to visually interpret the model locally and globally to help understand the predictive logic and the contribution of features. Furthermore, the accumulated local effect (ALE) successfully explains how the features affect the corrosion depth and interact with one another.