In the oil and gas industry, the drilling phase is most critical in planning and controlling as it faces several problems which require accurate and prompt responses to limit all sort of losses. Among these challenges, kicks and stuck pipe incidents represent two of the most costly and disruptive problems, with their early detection and control very essential to improve efficiency and ensure safety. In this paper, four supervised learning techniques namely: Logistic Regression (LR), Gradient Boosting (GB), Decision Tree (DT), and Random Forest (RF), were applied to a time-series dataset comprising 275,000 data points (sampled at 10-second intervals) from the Forge 16B (78)-32 well. Anomalies, including kick, stuck pipe, and normal drilling conditions were labeled within the dataset by setting appropriate conditions of exceeding thresholds/limits using python code. Unlike most studies, we employed twenty-one (21) input parameters to improve effectiveness of each parameter for robust model development. From the results, RF achieved the highest performance, with an accuracy, precision, and recall of 0.998. The DT model followed closely, scoring 0.996 across the same metrics; GB model recorded 0.962 for accuracy, 0.963 for precision, and 0.962 for recall, and LR had the lowest values of all the four metrics. Feature importance analysis identified hook load (klbs), rate of penetration (ft/hr) and weight on bit (klbs) as the most influential parameters for anomaly detection, in descending order of relevance. By leveraging on a focused dataset and high-level detection semantics, this work offers a sturdy, interpretative, and highly reliable framework for real-time anomaly detection, paving the way for more efficient and safer drilling operations in challenging formations.
| Published in | Petroleum Science and Engineering (Volume 9, Issue 2) |
| DOI | 10.11648/j.pse.20250902.17 |
| Page(s) | 120-128 |
| Creative Commons |
This is an Open Access article, distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution and reproduction in any medium or format, provided the original work is properly cited. |
| Copyright |
Copyright © The Author(s), 2025. Published by Science Publishing Group |
Drilling Anomalies, Stuck Pipe Detection, Kick Detection, Machine Learning, Random Forest, Real-Time Monitoring, Hook Load
| [1] | Altindal, M. C., Nivlet, P., Tabib, M., Rasheed, A., Kristiansen, T. G., and Khosravanian, R. (2024). Anomaly detection in multivariate time series of drilling data. Journal of Geoenergy Science and Engineering, Vol. 237, Issue 212778. |
| [2] | Assi, A. H. (2022). Non-Productive Time Reduction during Oil Wells Drilling Operations. Journal of Petroleum Research and Studies, Vol. 12, No. 3, pp. 34 - 50. |
| [3] | Bayazitova, G., Anastasiadou, M., and Santos, V. (2024). Oil and gas flow anomaly detection on offshore naturally flowing wells using deep neural networks. Journal of Geoenergy Science and Engineering, Vol. 242, No. 4, pp. 213 - 240. |
| [4] | Do, Q. K., Hoang, T. Q., Nguyen, T., and Ong, V. K. P. (2022). Predicting and avoiding hazardous occurrences of stuck pipe for the petroleum wells at offshore Vietnam using machine learning techniques. IOP Conference Series: Earth and Environmental Science, Vol. 1091, 012003. |
| [5] | Diyah, R., Zulfan, Bambang, Y. S., Akhmad, S., Fandika, G. P., and Redha, B. P. (2025). Machine Learning Classifies Data for Early Warning of Stuck Pipe Detection in Geothermal Drilling. Int. Journal of Adv. Sci. Eng. Information Technology, Vol. 15, pp. 43 - 51. |
| [6] | Elahifar, B., and Hosseini, E. (2022). Machine learning algorithm for prediction of stuck pipe incidents using statistical data: case study in middle east oil fields. Journal of Petroleum Exploration and Production Technology, Vol. 12, pp. 2019-2045. |
| [7] | Emhanna, S. A. (2018). Analysis of Non-Productive Time (NPT) in Drilling Operations - A Case Study of the Ghadames Basin. A paper presented at the Second Scientific Conference of Oil and Gas, Ajdabiya, Lybia, pp. 244 - 252. |
| [8] | Fjetland, A. K. (2019). Kick Detection During Offshore Drilling using Artificial Intelligence, Master’s Thesis in Mechatronics, Faculty of Engineering and Science, University of Agder. |
| [9] | Hossain, M. E., and Islam, M. R. (2018). Drilling Engineering Problems and Solutions: A Field Guide for Engineers and Students. Scrivener Publishing 100 Cummings Center, Suite 541J, Beverly, pp. 173 - 180. |
| [10] | Kizayev, T., Irawan, S., Akbari Khan, J., Ahmad Khan, S., Cai, B., Zeb, N. and Wayo, K. D. (2023). Factors affecting drilling incidents: Prediction of suck pipe by XGBoost model. Energy Reports, Vol. 9, No. 4, pp. 270-279. |
| [11] | Koroteev, D., and Tekic, Z. (2021). Artificial intelligence in oil and gas upstream: Trends, challenges, and scenarios for the future. Energy and AI, Vol. 3, pp. 1 - 10. |
| [12] | Miri, R., Sampaio J., Afshar, M., and Laurenco, A. (2007). Development of artificial neural networks to predict differential pipe sticking in Iranian offshore oil fields. Paper SPE 108500 presented at the International Oil Conference and Exhibition, Veracruz, Mexico, pp 27-30. |
| [13] | Muojeke, S., Venkatesan, R., and Khan, F. (2020). Supervised data-driven approach to early kick detection during drilling operation. Journal of Petroleum Science and Engineering, Vol. 192, 107324. |
| [14] | Opeyemi, B., Javier H., Tanveer Y., and Catalin, T. (2015). Application of artificial intelligence methods in drilling system design and operations. A review of the state of the art, JAISCR, 2015, Vol. 5, No. 2, pp 121 -139. |
| [15] | Ragab, M., and Noah, A. (2014). Reduction of Formation Damage and Fluid Loss using Nano-sized Silica Drilling Fluids. Petroleum Technology Development Journal, Vol. 2, pp. 75 - 88. |
| [16] |
Schlumberger (2021). Schlumberger and NOV Announce Collaboration to Accelerate Adoption of Automated Drilling Solutions. Available at:
https://www.slb.com/news-and-insights/newsroom/press-release/2021/pr-2021-0510-slb-nov-collaboration (Accessed: 12 April 2025). |
| [17] | Shadizadeh, S. R, Karimi, F., and Zoveidavianpoor M. (2010). Drilling stuck pipe prediction in Iranian oil fields: An artificial neural network approach. Iran Journal of Chemical Engineering, Vol. 7, No. 4, pp 29-41. |
| [18] | Sircar, A., Yadav, K., Rayavarapu, K., Bist, N., and Oza, H. (2021). Application of machine learning and artificial intelligence in oil and gas industry. Journal of Petroleum Research, Vol. 6, No. 4, pp. 379-391. |
| [19] | Wang, J., and Ozbayoglu, E. M. (2022). 'Application of Recurrent Neural Network Long Short-Term Memory Model on Early Kick Detection', in Proceedings of the ASME 2022 41st International Conference on Ocean, Offshore and Arctic Engineering. Vol. 10: Petroleum Technology. Hamburg, Germany. Paper No. OMAE2022-78739, V010T11A008. |
| [20] | Zhang, D., Sun, W., Dai, Y., Bu, S., Feng, J., and Huang, W. (2024). Intelligent kick detection using a parameter adaptive neural network. Geoenergy Science and Engineering, Vol. 234, pp. 1-10. |
APA Style
Iorkyaa, A. J., Igbo, E. F., James, N. J. (2025). Supervised Learning Models for Detection of Kick and Stuck Pipe During Drilling Operations in Complex Formations. Petroleum Science and Engineering, 9(2), 120-128. https://doi.org/10.11648/j.pse.20250902.17
ACS Style
Iorkyaa, A. J.; Igbo, E. F.; James, N. J. Supervised Learning Models for Detection of Kick and Stuck Pipe During Drilling Operations in Complex Formations. Pet. Sci. Eng. 2025, 9(2), 120-128. doi: 10.11648/j.pse.20250902.17
@article{10.11648/j.pse.20250902.17,
author = {Aondofa Jacob Iorkyaa and Emmanuel Fred Igbo and Nkpoikana Joseph James},
title = {Supervised Learning Models for Detection of Kick and Stuck Pipe During Drilling Operations in Complex Formations
},
journal = {Petroleum Science and Engineering},
volume = {9},
number = {2},
pages = {120-128},
doi = {10.11648/j.pse.20250902.17},
url = {https://doi.org/10.11648/j.pse.20250902.17},
eprint = {https://article.sciencepublishinggroup.com/pdf/10.11648.j.pse.20250902.17},
abstract = {In the oil and gas industry, the drilling phase is most critical in planning and controlling as it faces several problems which require accurate and prompt responses to limit all sort of losses. Among these challenges, kicks and stuck pipe incidents represent two of the most costly and disruptive problems, with their early detection and control very essential to improve efficiency and ensure safety. In this paper, four supervised learning techniques namely: Logistic Regression (LR), Gradient Boosting (GB), Decision Tree (DT), and Random Forest (RF), were applied to a time-series dataset comprising 275,000 data points (sampled at 10-second intervals) from the Forge 16B (78)-32 well. Anomalies, including kick, stuck pipe, and normal drilling conditions were labeled within the dataset by setting appropriate conditions of exceeding thresholds/limits using python code. Unlike most studies, we employed twenty-one (21) input parameters to improve effectiveness of each parameter for robust model development. From the results, RF achieved the highest performance, with an accuracy, precision, and recall of 0.998. The DT model followed closely, scoring 0.996 across the same metrics; GB model recorded 0.962 for accuracy, 0.963 for precision, and 0.962 for recall, and LR had the lowest values of all the four metrics. Feature importance analysis identified hook load (klbs), rate of penetration (ft/hr) and weight on bit (klbs) as the most influential parameters for anomaly detection, in descending order of relevance. By leveraging on a focused dataset and high-level detection semantics, this work offers a sturdy, interpretative, and highly reliable framework for real-time anomaly detection, paving the way for more efficient and safer drilling operations in challenging formations.
},
year = {2025}
}
TY - JOUR T1 - Supervised Learning Models for Detection of Kick and Stuck Pipe During Drilling Operations in Complex Formations AU - Aondofa Jacob Iorkyaa AU - Emmanuel Fred Igbo AU - Nkpoikana Joseph James Y1 - 2025/10/28 PY - 2025 N1 - https://doi.org/10.11648/j.pse.20250902.17 DO - 10.11648/j.pse.20250902.17 T2 - Petroleum Science and Engineering JF - Petroleum Science and Engineering JO - Petroleum Science and Engineering SP - 120 EP - 128 PB - Science Publishing Group SN - 2640-4516 UR - https://doi.org/10.11648/j.pse.20250902.17 AB - In the oil and gas industry, the drilling phase is most critical in planning and controlling as it faces several problems which require accurate and prompt responses to limit all sort of losses. Among these challenges, kicks and stuck pipe incidents represent two of the most costly and disruptive problems, with their early detection and control very essential to improve efficiency and ensure safety. In this paper, four supervised learning techniques namely: Logistic Regression (LR), Gradient Boosting (GB), Decision Tree (DT), and Random Forest (RF), were applied to a time-series dataset comprising 275,000 data points (sampled at 10-second intervals) from the Forge 16B (78)-32 well. Anomalies, including kick, stuck pipe, and normal drilling conditions were labeled within the dataset by setting appropriate conditions of exceeding thresholds/limits using python code. Unlike most studies, we employed twenty-one (21) input parameters to improve effectiveness of each parameter for robust model development. From the results, RF achieved the highest performance, with an accuracy, precision, and recall of 0.998. The DT model followed closely, scoring 0.996 across the same metrics; GB model recorded 0.962 for accuracy, 0.963 for precision, and 0.962 for recall, and LR had the lowest values of all the four metrics. Feature importance analysis identified hook load (klbs), rate of penetration (ft/hr) and weight on bit (klbs) as the most influential parameters for anomaly detection, in descending order of relevance. By leveraging on a focused dataset and high-level detection semantics, this work offers a sturdy, interpretative, and highly reliable framework for real-time anomaly detection, paving the way for more efficient and safer drilling operations in challenging formations. VL - 9 IS - 2 ER -