Artificial Intelligence in Operation Monitoring Discovers Patterns Within Drilling Reports – Journal of Petroleum Technology
Artificial Intelligence in Operation Monitoring Discovers Patterns Within Drilling Reports
You have access to this full article to experience the outstanding content available to SPE members and JPT subscribers.
To ensure continued access to JPT's content, please Sign In, JOIN SPE, or Subscribe to JPT
In well-drilling activities, successful execution of a sequence of operations defined in a well project is critical. To provide proper monitoring, operations executed during drilling procedures are reported in daily drilling reports (DDRs). The complete paper provides an approach using machine-learning and sequence-mining algorithms for predicting and classifying the next operation based on textual descriptions. The general goal is to exploit the rich source of information represented by the DDRs to derive methodologies and tools capable of performing automatic data-analysis procedures and assisting human operators in time-consuming tasks.
Classification Tasks. fastText. This is a library discussed in the literature designed to learn word embeddings and text classification. The technique implements a simple linear model with rank constraint, and the text representation is a hidden state that is used to feed classifiers. A softmax function computes the probability distribution over predefined classes.
Conditional Random Fields (CRFs). CRFs are a category of undirected graphical models that allow combination of features from each timestep of the sequence, with the ability to transit between labels for each episode in the input sequence. They were proposed to overcome the problem of bias that existed in techniques such as hidden Markov models and maximum-entropy Markov models.
Recurrent Models. Despite achieving good results in several scenarios and learning word embeddings as a byproduct of its training, the fastText classifier does not properly consider word-ordering information that can be useful for several classification tasks. Such a shortcoming can be addressed by a recurrent neural network (RNN), which considers the fact that a fragment of text is formed by an ordered sequence of words. The authors consider the gated recurrent unit variant, which is easier to train than traditional RNNs and achieves results comparable with those of the long short-term memory unit, while figuring fewer parameters to learn. The methodology of these classifiers is detailed mathematically in the complete paper.
Sequence Prediction. Sequential pattern mining can be defined broadly by the task of discovering interesting subsequences in a set of sequences, where the level of interest can be measured in terms of various criteria such as occurrence frequency, length, and profit, according to the application. The authors focus in this paper on the specific task of sequence prediction.
In the scenario considered, the alphabet is given by an ontology of operations of drilling activities. The sequence is defined according to data stored in DDRs. The proposed methodology considers various sequence prediction algorithms, specifically the following:
These algorithms are detailed in the complete paper. The sequential pattern mining framework (SPMF) was used for algorithm implementation. SPMF is an open-source data-mining library specialized in frequent pattern mining.
Data Sets. The data sets used for the experiments reported in this paper were extracted from different collections of DDRs. Each DDR entry is a record containing a rich set of information about the event being reported, which could be an operation or an occurrence. Two different types of data sets were generated, the operations data sets and the cost data set. The former is used by both classification and sequence prediction tasks, whereas the latter is only used for classification.
Operations Data Sets. The operations data sets were extracted from DDRs of 119 different wellbores, which comprise more than 90,000 entries. The DDR fields of most interest for the experiments applied on this collection are the description and the operation name. The former is a special field used by the reporter to fill in important details about the event in a free-text format. The latter is selected by the reporter from a predefined list of operation names.
For the sequence-mining tasks, only the operation name is used. The data set is viewed as a set of sequences of operations, one for each wellbore. For the classification tasks, both fields are used for supervised learning, with the description as input object and the operation name as label.
The DDRs were preprocessed by an industry specialist with the objective of, first, removing the inconsistencies and, second, normalizing operation names to unify operations that shared semantics. Given the large number of documents, the strategy used for the former objective was to remove entries with the wrong operation name (instead of fixing each one, which would be a much harder task). As for the second objective, after an analysis of the list of operation names and samples of descriptions, each group of overlapping operations was transformed into a single operation.
This process yielded a resulting data set containing more than 38,000 samples and 39 operation types for the classification task and another containing more than 51,000 samples and 41 operations types for the sequence-prediction task.
Costs Data Sets. The costs data set is a collection of DDRs with an extra field (the target field) meant to be used for calculating the cost of each operation performed in a wellbore project. That field usually is multivalued because more than one activity of interest being described might exist in the free-text field of a DDR entry. Each value in that list is a pair containing two types of information: a label for the activity described in the entry and a number pointing to a diameter value.
As opposed to the operations data set, the target field was filled on land by a small group of employees trained specifically for this task. Nevertheless, the costs data set still had to be preprocessed before use in the experiments.
Classification Results. Before evaluating the models, the best values for each hyperparameter are determined using the validation set through a grid search. The proposed models are trained for 30 epochs.
The experimental results regarding accuracy and macro-F1 measures for the costs and operations data sets are presented in the complete paper. In both cases, the fastText classifier, despite being quite simple, yields significant results, posing a strong baseline for the proposed models. Nevertheless, one should recall that the word vectors learned by this first classifier are used as the proposed model embeddings as well.
The other neural networks also consider the complete word ordering in the samples, allowing them to achieve results better than the baseline. Such metrics are further improved by replacing the traditional Softmax layer in the output layer by a CRF. This allows the model to label each entry in the segment not only based on its extracted characteristics but also with respect to the operations ordering. This allows the model to improve the baseline accuracy by 10.94 and 3.85% in the cost and operations data sets, respectively. The proposed model learns not only the most relevant characteristics from each sample but also the patterns in the sequence of operations performed in a well-drilling project.
Sequence-Mining Results. The data set was divided into 10 segments, and the methods were evaluated according to a cross-validation protocol. The cross-validation protocol varies the training and testing data through various executions in order to reduce any bias in the results. For the classification tasks, approaches based on word embeddings and CRFs are exploited. Evaluations were made considering sequences from size 5 to 10 in the data set, using the sequence-prediction methods to predict the next drilling operation.
Table 1 presents the accuracy obtained when considering the sequences of operations as presented in the data set. Table2 shows the accuracy obtained when removing consecutive drilling operations from the data. The data set contains multiple repetitions of operations, contiguous to one another. This makes the data more predictable to the sequence prediction model and explains the higher accuracy obtained in experiments shown in Table 1.
DDR Processing Framework. To make the models discussed available for use in a real-world scenario, a framework is proposed that allows the end user to upload DDRs and analyze them by different applications, one for each specific purpose. One great advantage of using this framework is that the user feeds data once and then has access to several tools for analyzing them.
Currently, a working version of an application for performing the classification tasks already has been implemented. It encapsulates the classification models generated with the experiments and allows the processing of a large number of DDRs, either for operation or cost classification.
- Why OpenAI and Anthropic Are the Best Bets in Artificial Intelligence - The Information - July 6th, 2025 [July 6th, 2025]
- If I Could Load Up on Any Artificial Intelligence (AI) Stock, It Would Be This One (Hint: It's Not Nvidia) - Yahoo Finance - July 6th, 2025 [July 6th, 2025]
- Current Use and Future Directions of Artificial Intelligence in Hematology/Oncology - CancerNetwork - July 6th, 2025 [July 6th, 2025]
- 5 Best Artificial Intelligence Stocks to Buy in July - The Motley Fool - July 6th, 2025 [July 6th, 2025]
- Artificial intelligence (AI) News, Research and Analysis - The Conversation - July 6th, 2025 [July 6th, 2025]
- Prediction: This Artificial Intelligence (AI) Stock Could Hit a $2 Trillion Valuation by 2028 - Yahoo Finance - July 6th, 2025 [July 6th, 2025]
- Prediction: This Artificial Intelligence (AI) Stock Could Hit a $2 Trillion Valuation by 2028 - The Motley Fool - July 6th, 2025 [July 6th, 2025]
- Prediction: This Magnificent Artificial Intelligence (AI) Stock Will Skyrocket to New Highs in July - The Motley Fool - July 6th, 2025 [July 6th, 2025]
- DEALMining uses artificial intelligence technology to mine in the cloud, enabling free cloud mining to earn passive income every day - Muddy River... - July 6th, 2025 [July 6th, 2025]
- If I Could Load Up on Any Artificial Intelligence (AI) Stock, It Would Be This One (Hint: It's Not Nvidia) - The Motley Fool - July 6th, 2025 [July 6th, 2025]
- 2 Artificial Intelligence (AI) Stocks That Could Soar in the Second Half of 2025 - Nasdaq - July 6th, 2025 [July 6th, 2025]
- Army Creating New Artificial Intelligence-Focused Occupational Specialty and Officer Field - Military.com - July 4th, 2025 [July 4th, 2025]
- Artificial intelligence could be stealing entry-level jobs in the Netherlands - NL Times - July 4th, 2025 [July 4th, 2025]
- Marginalized Americans are highly skeptical of artificial intelligence, research finds - Phys.org - July 4th, 2025 [July 4th, 2025]
- Prediction: 2 Incredible Artificial Intelligence (AI) Stocks That Will Be Worth More Than Nvidia in 3 Years - Yahoo Finance - July 4th, 2025 [July 4th, 2025]
- Prediction: This Artificial Intelligence (AI) Stock Could Outpace Nvidia After the Next Chip Upgrade - The Motley Fool - July 4th, 2025 [July 4th, 2025]
- Goodbye to thousands of traditional jobs - Sam Altman, creator of ChatGPT, confirms which jobs will disappear due to artificial intelligence - El... - July 4th, 2025 [July 4th, 2025]
- Prediction: 2 Incredible Artificial Intelligence (AI) Stocks That Will Be Worth More Than Nvidia in 3 Years - The Motley Fool - July 4th, 2025 [July 4th, 2025]
- University Hospitals studying use of Artificial Intelligence to improve lung cancer outcomes - Cleveland 19 News - July 4th, 2025 [July 4th, 2025]
- Sony and AMD confirm: PS6 will use artificial intelligence, but not in the way you imagine - Diario AS - July 4th, 2025 [July 4th, 2025]
- Artificial Intelligence News for the Week of June 20; Updates from Campfire, Databricks, Precisely & More - solutionsreview.com - July 4th, 2025 [July 4th, 2025]
- How the striking of a GOP regulatory ban will affect the global artificial intelligence race - Bulletin of the Atomic Scientists - July 4th, 2025 [July 4th, 2025]
- Presentation on artificial intelligence planned at Hartford Library - WSJM - July 4th, 2025 [July 4th, 2025]
- This Tech Giant Now Claims Artificial Intelligence Is Doing Up to 50% of Its Work - The Motley Fool - July 4th, 2025 [July 4th, 2025]
- Second-order impacts of civil artificial intelligence regulation on defense: Why the national security community must engage - Atlantic Council - July 4th, 2025 [July 4th, 2025]
- Artificial intelligence fuels Big Tech partnerships with nuclear energy producers - FOX 8 TV - July 4th, 2025 [July 4th, 2025]
- UPDATE: Artificial intelligence tools help teachers save time, new survey finds - EdSource - July 4th, 2025 [July 4th, 2025]
- These Artificial Intelligence (AI) Stocks Have Quietly Outperformed the Market All Year - The Motley Fool - July 4th, 2025 [July 4th, 2025]
- This Stock Is Shaping the Future of Artificial Intelligence (AI), but Is It a Buy Right Now? - The Motley Fool - July 4th, 2025 [July 4th, 2025]
- Financial Industry Forum on Artificial Intelligence II: A Collaborative Approach to AI Threats, Opportunities, and Best Practices, Workshop 1 -... - July 4th, 2025 [July 4th, 2025]
- This Artificial Intelligence (AI) Stock Has Quietly Outperformed Nvidia All Year - The Motley Fool - July 4th, 2025 [July 4th, 2025]
- Tethered caps: KHS optimizes its inspection technology with the help of artificial intelligence - Asia Food Journal - July 4th, 2025 [July 4th, 2025]
- These Artificial Intelligence (AI) Stocks Have Quietly Outperformed the Market All Year - Yahoo Finance - July 4th, 2025 [July 4th, 2025]
- AI Isnt Just About Nvidia: 2 Rising Stars In The Artificial Intelligence Race - Barchart.com - July 4th, 2025 [July 4th, 2025]
- Artificial Intelligence and Machine Learning are Transforming the Photonics Industry | EPIC Insights | Jul 2025 - Photonics Spectra - July 4th, 2025 [July 4th, 2025]
- Love Palantir Technologies? These 3 Artificial Intelligence Stocks Could Have Much More Upside. - The Motley Fool - July 4th, 2025 [July 4th, 2025]
- Artificial Intelligence Helps Craft the Worlds Best White Wine - Hungary Today - July 4th, 2025 [July 4th, 2025]
- Prediction: These 2 Artificial Intelligence Stocks Will Be the World's Most Valuable Companies in 5 Years - The Motley Fool - July 2nd, 2025 [July 2nd, 2025]
- Texas Takes a Shot at AI Regulation With Responsible Artificial Intelligence Governance Act - Ogletree - July 2nd, 2025 [July 2nd, 2025]
- Tolstoys Complaint: Mission Command in the Age of Artificial Intelligence - Modern War Institute - - July 2nd, 2025 [July 2nd, 2025]
- Upcoming Utilization Review Restrictions in Light of Emerging Artificial Intelligence - Holland & Knight - July 2nd, 2025 [July 2nd, 2025]
- Broadband Breakfast on July 23, 2025 - The Politics of Artificial Intelligence - Broadband Breakfast - July 2nd, 2025 [July 2nd, 2025]
- Trust in data is critical to Artificial Intelligence adoption, says TELUS survey. But is that right? - Diginomica - July 2nd, 2025 [July 2nd, 2025]
- 2 Artificial Intelligence (AI) Stocks to Buy Before They Soar to $5 Trillion, According to Select Wall Street Analysts - The Motley Fool - July 2nd, 2025 [July 2nd, 2025]
- Artificial intelligence and innovation in the human-tech nexus - Nature - July 2nd, 2025 [July 2nd, 2025]
- 2 Historically Cheap Artificial Intelligence (AI) Stocks to Buy Hand Over Fist in July and 1 to Avoid - The Motley Fool - July 2nd, 2025 [July 2nd, 2025]
- Colossal Biosciences merges Artificial Intelligence with showbiz to revive extinct species - Irish Star - July 2nd, 2025 [July 2nd, 2025]
- Is Nvidia the Top Artificial Intelligence Stock to Buy in July? - The Motley Fool - July 2nd, 2025 [July 2nd, 2025]
- This Artificial Intelligence (AI) Stock Could Be the Best Bargain in the Market Right Now - The Motley Fool - July 2nd, 2025 [July 2nd, 2025]
- Cobb County 911 adopts artificial intelligence to relieve stress, reduce turnover - 11Alive.com - July 2nd, 2025 [July 2nd, 2025]
- CHRIS DAUGHTRY: 'I Don't Think You Can Create Human Emotion' With Artificial Intelligence - BLABBERMOUTH.NET - July 2nd, 2025 [July 2nd, 2025]
- Mapping the application of artificial intelligence in traditional medicine - World Health Organization (WHO) - July 2nd, 2025 [July 2nd, 2025]
- The Artificial Intelligence (AI) Stock Everyone Is Missing - The Motley Fool - July 2nd, 2025 [July 2nd, 2025]
- International Bar Association study highlights the need for an artificial intelligence-focused legal framework - Canadian Lawyer - July 2nd, 2025 [July 2nd, 2025]
- 2 Artificial Intelligence (AI) Stocks Worth Buying on the Next Dip - Yahoo Finance - July 2nd, 2025 [July 2nd, 2025]
- Artificial Intelligence in Healthcare Market to Reach USD 196.91 Billion by 2030, Driven by Diagnostics and Imaging Applications - Barchart.com - July 2nd, 2025 [July 2nd, 2025]
- HII, C3 AI Expand Artificial Intelligence Partnership to Improve Shipbuilding - ExecutiveBiz - July 2nd, 2025 [July 2nd, 2025]
- The pace of development of generative artificial intelligence (AI) is accelerating by causing tecton.. - - July 2nd, 2025 [July 2nd, 2025]
- Is Nvidia the Top Artificial Intelligence Stock to Buy in July? - MSN - July 2nd, 2025 [July 2nd, 2025]
- 2 Artificial Intelligence (AI) Stocks That Could Be Poised for a Big Second-Half Comeback - The Motley Fool - June 29th, 2025 [June 29th, 2025]
- Goodbye to thousands of jobs at Amazon - artificial intelligence is already replacing workers in key roles - Unin Rayo - June 29th, 2025 [June 29th, 2025]
- Artificial Intelligence in Agriculture Market to Reach USD 12.8 Billion by 2032, Driven by Climate-Smart Practices and Yield Optimization AI Tools |... - June 29th, 2025 [June 29th, 2025]
- 2 Artificial Intelligence (AI) Stocks That Could Be Poised for a Big Second-Half Comeback - Yahoo Finance - June 29th, 2025 [June 29th, 2025]
- Artificial intelligence and private equity are threatening to transform consulting - Financial News London - June 29th, 2025 [June 29th, 2025]
- 2 Artificial Intelligence (AI) Stocks Worth Buying on the Next Dip - The Motley Fool - June 29th, 2025 [June 29th, 2025]
- 2 Artificial Intelligence (AI) Stocks Worth Buying on the Next Dip - Nasdaq - June 29th, 2025 [June 29th, 2025]
- 5 Artificial Intelligence (AI) Stocks Are Worth Over $2 Trillion. Here Are the 2 Most Likely to Join the Club Next. - The Motley Fool - June 29th, 2025 [June 29th, 2025]
- 5 Artificial Intelligence (AI) Stocks Are Worth Over $2 Trillion. Here Are the 2 Most Likely to Join the Club Next. - Yahoo Finance - June 29th, 2025 [June 29th, 2025]
- Prediction: This Artificial Intelligence (AI) Stock Could Be the Next Nvidia -- and It's Not What You Think - Yahoo Finance - June 29th, 2025 [June 29th, 2025]
- This Artificial Intelligence (AI) Powerhouse Could Be Just Getting Started - The Motley Fool - June 29th, 2025 [June 29th, 2025]
- Beyond the buzz: What everyday people really think about artificial intelligence - London Daily News - June 29th, 2025 [June 29th, 2025]
- If I Could Only Buy 1 Artificial Intelligence (AI) Stock, It Would Be This Monster "Magnificent Seven" Member Approved by Billionaires... - June 29th, 2025 [June 29th, 2025]
- 3 Artificial Intelligence (AI) Stocks That Still Look Like Long-Term Winners - MSN - June 29th, 2025 [June 29th, 2025]
- Argentina integrates artificial intelligence into education - TV BRICS - June 29th, 2025 [June 29th, 2025]
- 5 Artificial Intelligence (AI) Stocks Are Worth Over $2 Trillion. Here Are the 2 Most Likely to Join the Club Next. - The Globe and Mail - June 29th, 2025 [June 29th, 2025]
- AI and the Creative Revolution: How Artificial Intelligence Is Changing the Way We Tell Stories - Vocal - June 29th, 2025 [June 29th, 2025]
- 5 Artificial Intelligence (AI) Stocks Are Worth Over $2 Trillion. Here Are the 2 Most Likely to Join the Club Next. - Barchart.com - June 29th, 2025 [June 29th, 2025]
- 2 Artificial Intelligence (AI) Stocks (Besides Nvidia) to Buy Hand Over Fist for the Long Term - Yahoo Finance - June 29th, 2025 [June 29th, 2025]
- Artificial Intelligence in Obstetrics and Gynaecology: Advancing Precision and Personalised Care - Cureus - June 29th, 2025 [June 29th, 2025]
- Orange Jordan sponsors Artificial Intelligence and Future Technologies Day at the Hashemite University - ZAWYA - June 29th, 2025 [June 29th, 2025]