Application of machine learning for wellbore stability assessment

2025

Closed access Metadata (CSL-JSON)
DOI 10.22616/erdev.2025.24.tf109
Data confidence 70 medium
How this score is calculated

It is built from checkable properties of the record itself: whether the article has a DOI, how many independent sources confirmed its data, whether the required fields are filled in, and how recent the latest confirmation is. Disagreement between sources and a missing identifier lower it. A value of 80 or above means the record was published without further checking; 60 to 79 means it is published at reduced confidence, with a manual check advisable. A record verified by an editor by hand is never pushed below 90 by a recalculation. This scores our data about the article, not the article itself.

Abstract

Wellbore wall collapse under complex geological conditions presents a significant challenge in oil well drilling, increasing repair costs and operational downtime. This study proposes a machine learning–based approach to predict wellbore stability, developing a robust model utilizing geomechanical rock properties, drilling parameters, and geological data, with a binary target variable (1 for stable, 0 for unstable wells). A dataset of 5,000 records, including 200 collapse cases, was preprocessed – removing duplicates and missing values, handling outliers, normalizing numerical features, and encoding categorical variables – before being split into 80% training and 20% testing subsets. Gradient boosting (XGBoost) and random forest (Scikit-learn) were applied for binary classification, with hyperparameters optimized via GridSearchCV gradient boosting outperformed random forest, achieving 93% accuracy, 89% recall, and 91% F1-score, compared to 91%, 87%, and 89%, respectively. The study recommends integrating the gradient boosting model into a real-time monitoring system, analyzing sensor data every 10 minutes to provide recommendations (e.g. increasing mud density or reducing drilling speed), potentially reducing collapses by 25%, cutting repair costs and downtime by 10%, and enhancing drilling efficiency. This research underscores machine learning potential to improve wellbore stability prediction, delivering significant economic and operational benefits to the oil and gas industry.