Journal of Petroleum Exploration and Production Technology

Machine-learning-driven formation damage classification based on SEM images and petrophysical data: a concept study

Yuxing Wu, Ali Ghalambor, Saeed Salehi, Craig Phillips

Key points

From the paper's conclusion
  • Computer vision and machine learning are applied to evaluate Scanning Electron Microscopy (SEM) images, petrophysical properties, and mineral data to characterize formation damage mechanisms.

Abstract

Oil and gas recovery is significantly reduced by formation damage caused by improper drilling, completion, and production operations. Conventional evaluation methods rely on core sample analysis, well-logging assessments, and interpretation of production data, which require greater human effort and are susceptible to human error. This study introduces a conceptual framework for automated formation damage classification based on machine learning (ML) and presents an initial investigation of its potential. Computer vision and machine learning are applied to evaluate Scanning Electron Microscopy (SEM) images, petrophysical properties, and mineral data to characterize formation damage mechanisms. A dataset of SEM images taken from core samples is created, including both damaged and undamaged formations. Computer vision technologies, such as OpenCV, are employed to preprocess images. Capillary pressure, X-ray diffraction (XRD), and petrophysical measurements on the same core samples are also included. The two data sources are integrated at the feature level: each SEM image is converted into a 2048-dimensional feature vector by a pretrained ResNet50 network and concatenated with the standardized petrophysical, mineralogical, and capillary-pressure variables of the same sample to form one input vector per sample. The integrated data are used to train four machine learning algorithms, Random Forest (RF), XGBoost, a Convolutional Neural Network (CNN), and a hybrid Light Gradient Boosting Machine (LightGBM) model, to identify different types of formation damage. Four common damage issues, fine migration, phase trapping, rock-fluid interactions, and wettability alteration, are the focus of this paper. On a held-out test set of 27 samples, XGBoost achieves the highest classification accuracy (over 77%). For fine migration, the accuracy of both RF and XGBoost are 85.2%. XGBoost and LightGBM are effective for distinguishing phase-trapping problems, achieving more than 88% accuracy. Rock-fluid interactions and wettability alterations range from 59.3% to 77.8%. The difficulty of detecting geochemical interactions and surface energy changes from the current database results in low accuracy. CNN model has the lowest performance. This suggests that, with few samples, pretrained image features combined with petrophysical inputs may be more effective than direct pixel-level learning, particularly when high-resolution images are not available. If validated on larger datasets, such a workflow could reduce analysis time and interpretation bias compared with conventional evaluation. The present work is an initial, concept-level investigation built on a limited dataset with labels derived from expert heuristics rather than direct flow-based measurements. The reported accuracies should be read as an upper bound on what the current data support. Larger datasets, cross-validation, blind-well external testing, and experimental ground truth are required before the workflow can be applied to operational decision-making in well stimulation design, formation damage mitigation, and production optimization. The high cost and limited availability of SEM data, and their implications for field-scale implementation, are also discussed.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers