Mud logging comprehensive record summary generation method and system based on non-autoregressive model
The comprehensive logging record summary is generated through non-autoregressive models and data enhancement technology, which solves the problem of low analysis efficiency caused by lengthy and complex comprehensive logging records, and improves the drilling detection speed and the reliability of plan formulation.
Patent Information
- Application Number
- CN202410689939.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-30
AI Technical Summary
In the field of oil and gas exploration, the comprehensive logging records generated during the drilling and exploration process are lengthy and complex, resulting in low analysis efficiency and affecting the detection speed and subsequent plan formulation.
A comprehensive logging record summary generation method based on a non-autoregressive model is adopted. The comprehensive logging record is expanded through a context-generated sentence data enhancement model. Repeated words are eliminated using iterative encoding and decoding and connectionist time classification algorithms. The scoring function and The loss function updates the model to produce a short summary of the comprehensive log record.
It significantly improves the analysis efficiency of comprehensive logging records during the drilling and exploration process, increases the detection speed, and reduces the cost of decision-making analysis, providing a reliable basis for subsequent exploration well plans.
Smart Images

Figure CN118246433B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of oil and gas detection, and in particular relates to a method and system for generating a comprehensive logging record summary based on a non-autoregressive model. Background Art
[0002] With the development of artificial intelligence, many artificial intelligence-related technologies have emerged to solve practical problems. The text summarization subtask of natural language processing is one of the important technologies. The text summarization method has been tried in many fields. For example, news summaries are used to help relevant personnel quickly grasp news trends, and doctor-patient dialogue summaries are used to help doctors make quick diagnoses. Therefore, it is also very valuable to try to study the application of this technology to a wider range of fields.
[0003] In the field of oil and gas exploration, a large number of comprehensive logging records are generated during the drilling exploration process of the machine, and subsequent exploration plans need to be formulated based on these comprehensive logging records. In previous work, the exploration personnel often analyzed these comprehensive logging records and then came up with subsequent exploration plans. However, these working condition logging comprehensive records are usually lengthy, complex, and highly professional, which requires the exploration personnel to have a high degree of professionalism. At the same time, it is easy to ignore some key contents when analyzing the lengthy and complex comprehensive logging records. What is more serious is that analyzing these comprehensive logging records one by one causes low efficiency and seriously affects the detection speed. Summary of the invention
[0004] In view of the problem in the prior art that the comprehensive logging records generated by the analysis machine in the process of drilling detection are inefficient, which affects the subsequent detection plan and delays the detection speed, the present invention provides a method and system for generating a summary of comprehensive logging records based on a non-autoregressive model, which is used to improve the efficiency of the comprehensive logging records generated by the analysis machine in the process of drilling detection, provide a reliable basis for the subsequent well exploration plan, and greatly improve the detection speed.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] In a first aspect, the present invention provides a method for generating a comprehensive logging summary based on a non-autoregressive model, comprising:
[0007] Collect comprehensive logging records;
[0008] The context-generated sentence data enhancement model is used to expand the collected comprehensive logging records to obtain the expanded comprehensive logging records;
[0009] A non-autoregressive model is constructed, and the expanded comprehensive logging records are sequenced and spliced as an input sequence, which is input into the non-autoregressive model, and then iterative encoding and decoding are performed, and a connectionist temporal classification algorithm is used to perform potential alignment and eliminate adjacent repeated words, and a summary generated by decoding is used as an output sequence;
[0010] The summary generated by decoding is evaluated using a scoring function, and the loss is calculated according to the loss function, and the non-autoregressive model is updated to obtain a trained mud logging comprehensive record summary generation model;
[0011] Based on the mud logging comprehensive record summary generation model, the mud logging comprehensive records to be analyzed are inferred to generate the mud logging comprehensive record summary.
[0012] As a further improvement of the present invention, the data enhancement model for generating sentences through context is used to expand the collected comprehensive logging records, including:
[0013] The following random expansions are performed on the collected logging records through the context generation sentence data enhancement model:
[0014] Randomly swap or delete sentences in the collected mud logging synthesis records;
[0015] Randomly insert statements into the collected logging synthesis records according to the current drilling behavior;
[0016] Randomly replace words in the collected logging records according to relevant rules;
[0017] A pre-trained context-based sentence generation model is used to randomly replace sentences in the collected mud logging synthesis records.
[0018] As a further improvement of the present invention, the expanded comprehensive logging records are sequenced and spliced as an input sequence, input into the non-autoregressive model, and then iteratively encoded and decoded, including:
[0019] In the first iteration, the comprehensive logging records and the splicing characters The composed sequence is concatenated and input into the encoder of the non-autoregressive model. The length of the sequence is set to half of the comprehensive record of mud logging, and the decoder prediction based on the non-autoregressive model The word at the position is output and when its probability is less than the set value, it is used again Mask; if there is , then the output sequence is spliced to the end of the comprehensive logging record, re-entered into the non-autoregressive model, predicted with the help of the generated words and iterated repeatedly until all the words in the output sequence are determined;
[0020] The output sequence is divided into blocks, and each block is limited to determine at least one word in each iteration, and the number of iterations is the width of the block.
[0021] As a further improvement of the present invention, the method of using a connectionist temporal classification algorithm to perform potential alignment and eliminate adjacent duplicate words includes:
[0022] The vocabulary is expanded using the connectionist temporal classification algorithm by adding a null character Distinguish the model and define a deduplication function. The deduplication function rule is: remove consecutive identical characters and remove empty characters ;
[0023] With the help of null character As well as the de-duplication function, the connectionist temporal classification algorithm performs potential alignment on the input sequence and the output sequence and eliminates adjacent duplicate words.
[0024] As a further improvement of the present invention, the method of using the digest generated by decoding as the output sequence includes:
[0025] The prefix beam search algorithm is selected to decode the vocabulary after potential alignment and elimination of adjacent duplicate words using the connectionist temporal classification algorithm; the vocabulary is {a, b, }, a prefix beam search with a beam search width of 3 is performed, and each prefix in the beam is tracked separately. The probability of ending with Probability of ending.
[0026] As a further improvement of the present invention, the summary generated by decoding is evaluated using a scoring function, and the loss is calculated according to a loss function, and the non-autoregressive model is updated to obtain the trained mud logging comprehensive record summary generation model:
[0027] The scoring function is:
[0028]
[0029] In the formula: x is the input sequence, y is the output sequence, γ is the weight hyperparameter, is the language fluency function; is a semantic similarity function, which is used to guide the decoded summary to retain the key information of the input logging comprehensive record. The cosine similarity of the sentence embedding vector is used as the measurement standard. The calculation formula is:
[0030]
[0031] Where: e is the sentence embedding method, and the sentence embedding vector is generated using the BART model;
[0032] The loss function is:
[0033]
[0034] Where: P(y│x) is the probability that the final output sequence is y when the input sequence is x; f(y;x) is the score of the output sequence y.
[0035] As a further improvement of the present invention, the updating non-autoregressive model further includes:
[0036] The evaluation score and the probability of calculating the loss are both numbers between 0 and 1;
[0037] If the score and output probability match, determine whether the score and output probability meet the requirements;
[0038] If not, return to the above method to expand the collected comprehensive logging records, and then update the non-autoregressive model;
[0039] If satisfied, the current non-autoregressive model is output as the trained mud logging comprehensive record summary generation model.
[0040] In a second aspect, the present invention provides a system for generating a comprehensive logging summary based on a non-autoregressive model, comprising:
[0041] Acquisition module, used to collect comprehensive logging records;
[0042] An expansion module is used to expand the collected comprehensive logging records through context generation sentence data enhancement model to obtain expanded comprehensive logging records;
[0043] An iterative module is used to construct a non-autoregressive model, perform sequence splicing on the expanded comprehensive logging records as an input sequence, input the non-autoregressive model, and then perform iterative encoding and decoding, and use a connectionist time classification algorithm to perform potential alignment and eliminate adjacent repeated words, and use a decoded summary as an output sequence;
[0044] An updating module is used to evaluate the summary generated by decoding using a scoring function, calculate the loss according to a loss function, update the non-autoregressive model, and obtain a trained mud logging comprehensive record summary generation model;
[0045] The generation module is used to infer the comprehensive logging records to be analyzed based on the comprehensive logging record summary generation model to generate the comprehensive logging record summary.
[0046] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for generating a summary of comprehensive logging records based on a non-autoregressive model when executing the computer program.
[0047] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for generating a summary of comprehensive logging records based on a non-autoregressive model.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] The method for generating a summary of comprehensive logging records based on a non-autoregressive model provided by the present invention combines the text summary method in natural language processing, first expands the comprehensive logging records, then trains the non-autoregressive model, based on iterative encoding and decoding, uses the connectionist time classification algorithm for potential alignment and eliminates adjacent repeated words, and combines the evaluation and calculation loss to obtain a comprehensive logging record summary generation model, which can be directly used to generate a summary of comprehensive logging records by performing model reasoning when used. A short text rich in key information is extracted from the complex and lengthy comprehensive logging records, and then the detection personnel analyze and formulate a subsequent detection plan based on the summary. Based on this method, the work efficiency of the detection personnel can be greatly improved during the drilling detection process, and the detection speed can be improved; in addition, extracting a summary rich in key information first can effectively reduce the decision-making analysis cost of the detection personnel, and have a positive impact on the final analysis result. Through the present invention, the efficiency of comprehensive logging records generated by the analysis machine during drilling detection can be improved, a reliable basis can be provided for subsequent well exploration plans, and the detection speed can be greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a flow chart of a method for generating a summary of comprehensive logging records based on a non-autoregressive model according to the present invention;
[0051] Figure 2 It is an overall architecture diagram of a method for generating a comprehensive logging record summary based on a non-autoregressive model according to the present invention;
[0052] Figure 3 It is a schematic diagram of an iterative decoding algorithm of a method for generating a summary of comprehensive logging records based on a non-autoregressive model according to the present invention;
[0053] Figure 4 It is a schematic diagram of a prefix beam search process of a method for generating a comprehensive logging record summary based on a non-autoregressive model according to the present invention;
[0054] Figure 5 It is a structural schematic diagram of a logging comprehensive record summary generation system based on a non-autoregressive model of the present invention;
[0055] Figure 6 It is a schematic diagram of the structure of an electronic device according to a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0056] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0057] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention.
[0058] Aiming at the problem that the efficiency of comprehensive logging records generated by the analysis machine in the process of drilling detection in the prior art is low, which affects the subsequent detection plan and delays the detection speed, the present invention provides a method for generating a summary of comprehensive logging records based on a non-autoregressive model, such as Figure 1 As shown, the method includes:
[0059] S1, collect comprehensive logging records;
[0060] S2, through the context generation sentence data enhancement model, the collected logging comprehensive records are expanded to obtain the expanded logging comprehensive records;
[0061] S3, constructing a non-autoregressive model, performing sequence splicing on the expanded comprehensive logging records as an input sequence, inputting the non-autoregressive model, and then iteratively encoding and decoding, and using a connectionist temporal classification algorithm for potential alignment and elimination of adjacent repeated words, with the decoded summary generated as an output sequence;
[0062] S4, using the scoring function to evaluate the summary generated by decoding, and calculating the loss according to the loss function, updating the non-autoregressive model, and obtaining the trained logging comprehensive record summary generation model;
[0063] S5, based on the mud logging comprehensive record summary generation model, the mud logging comprehensive record to be analyzed is inferred to generate a mud logging comprehensive record summary.
[0064] This method can improve the efficiency of comprehensive logging records generated by the analysis machine during drilling detection, provide a reliable basis for subsequent well exploration plans, and greatly improve the detection speed.
[0065] The present invention is described in detail below with reference to the accompanying drawings:
[0066] like Figure 2 As shown, the method for generating a comprehensive logging record summary based on a non-autoregressive model provided by the present invention comprises the following steps:
[0067] Step 1: Collect and organize comprehensive logging records.
[0068] The present invention collects comprehensive logging records formed during historical drilling and detection processes, organizes them, and uses them in subsequent unsupervised training processes.
[0069] Its arrangement includes pre-processing of the collected historical logging comprehensive records.
[0070] Step 2: Generate sentence data augmentation methods based on context, and expand training data by combining three existing data augmentation methods suitable for text data.
[0071] The main purpose is to expand the collected comprehensive logging records through the context generation sentence data enhancement model to obtain the expanded comprehensive logging records.
[0072] The present invention selects three existing data enhancement technologies according to the characteristics of comprehensive logging text, and proposes a data enhancement technology based on context replacement:
[0073] 1) Random exchange or deletion, that is, randomly exchange or delete sentences in the comprehensive logging records;
[0074] 2) Insertion based on drilling behavior, that is, inserting statements based on current drilling behavior, such as repeated logging and reverse channel signals;
[0075] 3) Randomly replace words, that is, randomly replace words according to rules, so that wrong expressions, informal expressions, etc. appear in the comprehensive logging records;
[0076] 4) Replace sentences based on context, that is, use a pre-trained context-based sentence generation model to randomly replace sentences.
[0077] Step 3: To address the defect that the non-autoregressive model cannot take into account the above information when decoding, iterative decoding is proposed so that the model can take into account the contextual information when generating words.
[0078] This step first requires building a non-autoregressive model.
[0079] The autoregressive model generates words from left to right during decoding, thereby obtaining the contextual information. However, the non-autoregressive model generates each word independently and cannot perceive the context. Therefore, the present invention proposes an iterative decoding method to enable the non-autoregressive model to obtain contextual information when generating words while ensuring the inference speed.
[0080] The expanded comprehensive logging records are sequenced and spliced as input sequences, which are input into the non-autoregressive model, and then iteratively encoded and decoded.
[0081] like Figure 3As shown, in the first iteration, the non-autoregressive model combines the comprehensive logging records with the spliced characters. The sequence concatenation input is a non-autoregressive model type. The length of the composed sequence is set to half of the comprehensive logging record, which implicitly requires the non-autoregressive model to compress the information of the comprehensive logging record. Since it is trained together with the CTC algorithm in actual use, it can generate a summary shorter than half. The non-autoregressive model will predict The word at the position is output and when its probability is less than 0.75, it is reused Mask. If there is , then the output sequence is spliced to the end of the comprehensive logging record, re-input into the non-autoregressive model, and predicted with the help of the generated words. This cycle is iterated until all the words in the output sequence are determined.
[0082] Among them, this embodiment splices characters This is just an example, and other characters can be selected as needed. The present invention does not make specific limitations.
[0083] However, such a loop iteration cannot determine when it will end. When the number of iterations is too many, the advantage of fast decoding speed of the non-autoregressive model is lost. Therefore, the present invention proposes to divide the output sequence into blocks and limit each iteration to determine at least one word in a block, so that the number of iterations is the width of the block.
[0084] Step 4: Use a connectionist temporal classification algorithm to help the input sequence and the output sequence achieve potential alignment and eliminate duplicate words in the summary, which can generate a better summary.
[0085] This step mainly uses a connectionist temporal classification algorithm to perform latent alignment and eliminate adjacent repeated words to decode the generated summary as an output sequence.
[0086] When generating a sequence, the autoregressive model starts outputting from the start character and stops outputting when the end character is output. However, since the non-autoregressive model predicts words at all positions in parallel, it does not know when to stop, so it needs to predict the length of the output sequence before generating the output sequence, which is a very difficult task.
[0087] The present invention proposes to use the Connectionist Temporal Classification (CTC) algorithm to help the input sequence and the output sequence to be potentially aligned without predicting the length of the output sequence. In addition, since each word in the non-autoregressive model is predicted independently, repeated words often appear, affecting the readability of the sentence. The CTC algorithm can also help the model eliminate adjacent repeated words and better generate a comprehensive log record summary.
[0088] Use the CTC algorithm to expand the vocabulary by adding a special space character , which helps the model distinguish interruptions and thus defines a deduplication function , the rules are:
[0089] (1) Remove duplicate consecutive characters;
[0090] (2) Remove the space character .
[0091] For example: . With the help of the special null character With this function, the CTC algorithm can achieve potential alignment of the input sequence and the output sequence without determining the length of the output sequence, and eliminate adjacent duplicate words.
[0092] In the given function definition Γ:L′T→LT, Γ: is a function name, usually used to represent a mapping, and the two symbols L and L′: usually represent sets. T: is usually an index. The function Γ:L′T→LT can be interpreted as a mapping from the set of all functions from T to L′ to the set of all functions from T to L.
[0093] Among them, in this embodiment, the empty character This is just an example, and other characters can be selected as needed. The present invention does not make specific limitations.
[0094] In supervised tasks, the CTC algorithm needs to calculate the probability value of the output reference summary during training. The probability value is the probability that all sequences can be obtained after the CTC algorithm. The sum of the probability values of the character sequence is shown in formula (1).
[0095] (1)
[0096] Where: P(y|x) is the probability that the final output sequence is y when the input sequence is x; P(w|x) is the probability that the decoder output sequence is w when the input sequence is x. Therefore, the loss function based on the CTC algorithm is shown in formula (2).
[0097] (2)
[0098] However, the invention adopts an unsupervised model and cannot obtain the reference summary y, so it is impossible to optimize the model according to the CTC loss function. In order to solve this problem, the present invention proposes to use the CTC algorithm to decode to obtain the output sequence, and then use the scoring function to score the output sequence and calculate the loss, and finally optimize the model.
[0099] There are three main CTC decoding algorithms:
[0100] 1) Greedy search: Select the word with the highest output probability at each position and finally get the output sequence. The advantage of this method is that it is simple and easy to implement. The disadvantage is that in the CTC algorithm, such an output sequence only corresponds to one search path. In fact, the output sequence in the CTC algorithm can correspond to multiple search paths. This results in that although the path with the highest probability is selected, the probability of the output sequence may not be the highest.
[0101] 2) Beam search: Assume that the beam width is n. In each step, select the top n candidate words in terms of probability, add the probabilities of the candidate words obtained in the previous step, and select the top n candidate sequences in terms of total probability. The advantage of this algorithm is that it can consider multiple paths, but the disadvantage is that some paths will still be discarded. The sum of the probabilities of these paths may be greater than the selected path, such as a The two paths aa and aa may have smaller probabilities, but they both correspond to a, and the probability of a after adding them together may be greater than other sequences.
[0102] 3) Prefix beam search: This algorithm is an improvement on the beam search. During the beam search process, the selected paths are processed and mapped into sequences according to the CTC algorithm. The same sequences are merged to generate prefixes, and then the next step is searched. The advantage is that more sequences can be considered as much as possible, but the disadvantage is that the computational cost is relatively high.
[0103] Since the non-autoregressive model generates quickly and can accept a higher computational cost, for better results, the present invention selects the prefix beam search algorithm for CTC decoding. The vocabulary is {a, b, }, the prefix beam search process with a beam search width of 3 is as follows Figure 4 shown.
[0104] It should be noted that the prefix generated when T=3 is aa, because there may be Therefore, in the actual calculation process, it is necessary to track each prefix in the beam separately. The probability of ending with Probability of ending.
[0105] Step 5: Design a loss function based on a model-independent and objective scoring function, and link it with the probability of the output sequence of the non-autoregressive model so that it can better guide the non-autoregressive model to generate a comprehensive log summary.
[0106] The scoring function is used to evaluate the summary generated by decoding, and the loss is calculated according to the loss function. The non-autoregressive model is updated to obtain the trained mud logging comprehensive record summary generation model. The specific correction instructions are as follows:
[0107] In order to better generate excellent summaries, the present invention defines a scoring function with reference to the HC algorithm, which evaluates the quality of candidate summaries by language fluency and semantic similarity with the source logging comprehensive record. The scoring function is shown in formula (3).
[0108] (3)
[0109] Where: γ is a weight hyperparameter used to balance and . is the language fluency function, and its definition is consistent with the language fluency function in the HC algorithm. is a semantic similarity function, which is used to guide the decoded summary to retain the key information of the input logging record. The cosine similarity of the sentence embedding vector is used as the measurement standard. Its calculation formula is shown in (4).
[0110] (4)
[0111] Where: e is the sentence embedding method. There are many embedding methods, such as sent2vec, which uses an unsupervised method to train a single sentence, and the BERT model and BART model use adjacent sentences as part of the training signal. Different from the HC algorithm, due to the excellent performance of the BART pre-trained model in text generation tasks, the present invention uses the BART model to generate sentence embedding vectors.
[0112] When training the non-autoregressive model, the scoring function is used to evaluate the summary generated by decoding, and the loss is calculated according to the loss function to update the non-autoregressive model. Inspired by the square loss function, the designed loss function is shown in formula (5).
[0113] (5)
[0114] Where: P(y│x) is the probability that the final output sequence is y when the input sequence is x; f(y;x) is the score of the output sequence y.
[0115] As a specific embodiment, updating the non-autoregressive model further includes:
[0116] The evaluation score and the probability of calculating the loss are both numbers between 0 and 1;
[0117] If the score and output probability match, determine whether the score and output probability meet the requirements;
[0118] If not, return to the above method to expand the collected comprehensive logging records, and then update the non-autoregressive model;
[0119] If satisfied, the current non-autoregressive model is output as the trained mud logging comprehensive record summary generation model.
[0120] The score and probability are both numbers between 0 and 1. The loss function is based on the score function. The basic idea is that the score and the output probability should match. The higher the score, the higher the output probability, and the lower the score, the lower the output probability. Compared with the loss functions of other unsupervised methods, the loss function of the invention is based on a model-independent, objective score function, which is linked to the probability of the output sequence, and can better guide the non-autoregressive model to generate a comprehensive log summary.
[0121] Step 6: Perform training based on the above data set and non-autoregressive model improvement, and perform verification and reasoning. Perform reasoning on the comprehensive logging records to be analyzed based on the comprehensive logging record summary generation model to generate a comprehensive logging record summary.
[0122] Based on the above collected and collated data sets, a specially designed loss function is used to iteratively train the improved non-autoregressive model, and finally a robust non-autoregressive model is obtained. When in use, the logging conditions and comprehensive logging records can be inferred based on the non-autoregressive model to obtain a summary.
[0123] The description of the above embodiments is only used to help understand the core idea of the present invention; at the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the idea of the present invention. In summary, the content of this specification should not be understood as limiting the present invention.
[0124] The present invention will be further explained below in conjunction with specific embodiments.
[0125] Example 1
[0126] 1. Original logging comprehensive records:
[0127] Well number: Yue 21. Well type: Pre-exploration well. Drilling purpose:
[0128] (1) Expand the oil-bearing area of Zhuang 57 well area Chang 7 and carry out research on tight oil;
[0129] (2) Also explore the Chang 6 and Chang 8 oil layers.
[0130] From 00:00 on June 22, 2012 to 24:00 on June 22, 2012, pre-drilling preparation and start-up drilling were carried out. Brief description of the project: 00:00-18:00 pre-drilling preparation, 18:00-24:00 start-up drilling; This well was drilled at 18:00 on June 22, 2012 using a 3A311.1mm drill bit. The drill bit was 100% new. The 3A311.1mm drill bit was lowered. The stratum was Quaternary. The drilling fluid type and properties were clear water polymer, with a density of 1.01g / cm3, a viscosity of 28s, and total water loss.
[0131] From 00:00 on June 23, 2012 to 24:00 on June 23, 2012, drilling, pulling out the drill bit, lowering the surface casing, cementing and waiting for solidification were carried out at a depth of 335.21 meters. Project profile: 00:00-17:00 drilling, 17:00-18:00 pulling out the drill bit, 18:00-19:00 lowering the surface casing, 19:00-20:00 cementing, 20:00-24:00 waiting for solidification; the well was drilled to a depth of 335.21m and completed for the first time at 17:00 on June 23, 2012. The stratum is the Huanhe Formation of the Lower Cretaceous System. The 3A311.1mm drill bit was pulled out, and the drill bit is 90% new. The bottom boundary of the Quaternary System is 279.0 m deep. Surface casing data: Origin: China, steel grade J55, wall thickness: 8.94mm, outer diameter: 244.48mm, connection length: 4.90m, total length: 330.31m, depth: 335.21m. Surface cementing data: Cementing unit: Zhongyuan Cementing, a total of 25.0t of Jiulianshan G-grade cement was injected, the maximum cement slurry density was 1.90g / ㎝3, the minimum was 1.85g / ㎝3, and the average was 1.85g / ㎝3; the replacement volume was 12.8m3, and the cement slurry was returned to the ground. The drilling fluid type and performance are clear water polymer, density: 1.01g / ㎝3, viscosity: 28s, and total water loss.
[0132] From 00:00 on June 24, 2012 to 24:00 on June 24, 2012, drilling was carried out at a depth of 1342.56 meters. Project profile: Drilling from 00:00 to 24:00. The strata are the Yijun Formation of the Lower Cretaceous System, the Anding Formation and Zhiluo Formation of the Middle Jurassic System; the bottom boundary well depth of the Yijun Formation is 1056.0m; the bottom boundary well depth of the Anding Formation is 1171.0m. Lithology and oil content are not recorded. The drilling fluid type and performance are clear water polymer, density 1.01g / cm3, viscosity 29s, water loss 12.0ml.
[0133] From 00:00 on June 25, 2012 to 24:00 on June 25, 2012, equipment maintenance, drilling and drilling were carried out at a depth of 1655.4 meters. Project profile: 00:00-07:00 equipment maintenance, 07:00-09:00 drilling, 09:00-24:00 drilling. 1#3A215.9mm drill bit was put in, and the drill bit was 100% new. The strata are the Yan'an Formation of the Lower Jurassic System and the Yanchang Formation of the Upper Triassic System; the bottom boundary of the Yan'an Formation is 1642.0m deep. The footage is 157.07m, and 158 cuttings were salvaged. The lithology includes dark gray mudstone, light gray fine sandstone, gray muddy siltstone, and dark gray silty mudstone. There is no oil-bearing indication. The drilling fluid type and properties are clear water polymer, density 1.03g / cm3, viscosity 33s, and water loss 10.0ml.
[0134] From 00:00 on June 26, 2012 to 24:00 on June 26, 2012, drilling was carried out at a depth of 2029.47 meters. Project profile: Drilling from 00:00 to 24:00. The stratum is the Yanchang Formation of the Upper Triassic System. The footage is 167.90 meters, and 168 bags of cuttings were salvaged. The lithology includes dark gray mudstone, light gray fine sandstone, dark gray silty mudstone, gray muddy siltstone, and light gray fine sand with oil traces. Oil-bearing indication: Oil-bearing indication was found at 23:47 on June 26, well section 2025.00~2027.00m, thickness 2.00m, lithology is light grey oil-stained fine sandstone, no oil smell, no crude oil stain, oil-bearing cuttings account for 2-3% of the cuttings content, oil-bearing cuttings account for 3-4% of the same type of cuttings content, fluorescent color yellow-white, occurrence star-shaped, drip test level III, series comparison level 8, on-site graded oil traces, drilling time 6-7min / m, no indication on the tank surface. The drilling fluid type and performance are clear water polymer, density 1.03g / cm3, viscosity 33s, water loss 10.0ml.
[0135] From 00:00 on June 27, 2012 to 24:00 on June 27, 2012, the drilling was started, drilled, coring drilled, pulled out, cored out, drilled, coring drilled, pulled out, cored out, at a depth of 2088.50 meters. Brief description of the project: 00:00-02:00 drilling started, 02:00-05:00 drilling started, 05:00-06:30 coring drilled, 06:30-10:00 drilling started, 10:00-10:30 cored out, 10:30-13:00 drilling started, 13:00-18:00 coring drilled, 18:00-23:00 drilling started, cored out from 23:00-24:00. Pulled out No. 1 3A215.9mm drill bit, drill bit newness 90%. The No. 1 PDC215.9mm core drill bit was lowered, and the drill bit was 95% new. The No. 1 PDC215.9mm core drill bit was pulled out, and the drill bit was 90% new. The No. 1 PDC215.9mm core drill bit was lowered, and the drill bit was 90% new. The No. 1 PDC215.9mm core drill bit was pulled out, and the drill bit was 85% new.
[0136] From 00:00 on June 28, 2012 to 24:00 on June 28, 2012, drilling, pulling out, lowering, coring drilling, and pulling out were carried out at a depth of 2207.85 meters. Brief description of the project: 00:00-04:00 drilling, 04:00-11:00 pulling out, 11:00-17:00 lowering, 17:00-20:00 coring drilling, 20:00-24:00 pulling out. Pull out No. 1 3A 215.9mm drill bit, the drill bit is 85% new. Put in No. 1 PDC 215.9mm coring drill bit, the drill bit is 80% new. The stratum is the Yanchang Formation of the Upper Triassic. The footage is 24.89m, and 25 bags of cuttings are salvaged. The lithology includes dark gray silty mudstone, gray muddy siltstone, and gray-black mudstone. The oil content is not shown. The fifth coring section is 2190.15-2207.85m, the footage is 17.70m, the core length is 17.70m, the recovery rate is 100.00%, and the lithology and oil content are detailed in the fifth drilling coring description logging comprehensive record. The drilling fluid type and performance are clear water polymer, density 1.05g / cm3, viscosity 35s, and water loss 7.0ml.
[0137] From 00:00 on June 29, 2012 to 24:00 on June 29, 2012, drilling, electrical measurement, and other data were carried out at a depth of 2290.00 meters. Project profile: 00:00-08:00 drilling, 08:00-23:00 electrical measurement, 23:00-24:00 and other data. The No. 1 3A215.9mm drill bit was pulled out, and the drill bit was 80% new. The instrument model is Eilog-05. The well section is 335.21-2290.00m, with a scale of 1:500. 08:00-14:30, measuring natural potential, natural gamma, well diameter, and acoustic time difference. 14:30-18:30, measuring array induction and continuous inclination (1 point / 25m). Well section: 1370.00-2290.00m, scale 1:200 08:00-14:30, measure natural potential, natural gamma, well diameter, acoustic time difference. 14:30-18:30, measure array induction, 4-meter apparent resistivity. 18:30-23:00, measure compensated neutron, density.
[0138] From 00:00 on June 30, 2012 to 24:00 on June 30, 2012, casing, cementing and waiting for cementing were carried out at a depth of 2290.00 meters. Project profile: 00:00-04:00 casing, 04:00-07:00 cementing, 07:00-24:00 waiting for cementing. Actual reservoir data: Origin: China, steel grade J55, wall thickness 7.72mm, outer diameter 139.70mm, connection 4.70m, total casing length 2285.29m, casing depth 2289.99m, short casing position 2012.94~2015.50m, flow ring position 2281.43m. Cementing data: Zhongyuan Cementing injected a total of 67.0t of Jiahua G-grade cement, including 26.0t of high-density cement, with a maximum cement slurry density of 1.89g / cm3, a minimum of 1.80g / cm3, and an average of 1.45g / cm3; 44.0t of low-density cement, with a maximum cement slurry density of 1.57g / cm3, a minimum of 1.41g / cm3, and an average of 1.50 / cm3; 48.50m3 of clean water was replaced, the impact pressure time was 06:40, the impact pressure value was 20.0MPa, and the cement slurry returned to the ground.
[0139] From 00:00 on July 1, 2012 to 22:00 on July 1, 2012, three samples were measured, three samples were measured, and the well was completed at a depth of 2290.00 meters. The logging content is as follows: scale 1:500, well section 30.0-2277.0m, 15:00-18:00 to measure the sound amplitude. Scale 1:500, well section 30.0-2277.0m, 18:00-22:00 to measure the variable density, magnetic positioning, and natural gamma. Three sample data: artificial well bottom 2277.00m, cement return height 30.00m, cementing quality qualified. Short casing position 2012.94~2015.50m. The well was completed at 22:00 on July 1, 2012.
[0140] 2. Examples of data enhancement are as follows:
[0141] Original text: From 00:00 on June 22, 2012 to 24:00 on June 22, 2012, pre-drilling preparation and initial drilling were carried out. Project profile: 00:00-18:00 pre-drilling preparation, 18:00-24:00 initial drilling; This well was drilled at 18:00 on June 22, 2012 using a 3A311.1mm drill bit. The drill bit was 100% new. A 3A311.1mm drill bit was lowered. The stratum was Quaternary. The drilling fluid type and properties were clear water polymer, with a density of 1.01g / cm3, a viscosity of 28s, and total water loss.
[0142] Random exchange and deletion: From 00:00 on June 22, 2012 to 24:00 on June 22, 2012, pre-drilling preparation and first-opening drilling were carried out. The well was drilled at 18:00 on June 22, 2012 using a 3A3 11.1 mm drill bit, with a newness of 100%. The 3A3 11.1 mm drill bit was lowered, the formation was the Quaternary, the drilling fluid type and performance was clear water polymer, density 1.01 g / cm3, viscosity 28s, and total water loss.
[0143] Insert based on drilling behavior:
[0144] From 00:00 on June 22, 2012 to 24:00 on June 22, 2012, pre-drilling preparation and start-up drilling were carried out. Brief description of the project: 00:00-18:00 pre-drilling preparation, 18:00-24:00 start-up drilling; the well was drilled at 18:00 on June 22, 2012 using a 3A311.1mm drill bit. The drill bit was 100% new. The 3A311.1mm drill bit was lowered. The stratum was Quaternary. The drilling fluid type and performance were clear water polymer. The use of clear water polymer ensured the stability of the drilling fluid, which was conducive to the smooth progress of the drilling work. The density was 1.01g / cm3, the viscosity was 28s, and the water loss was completely lost.
[0145] Randomly replaced words: From 00:00 on June 22, 2012 to 24:00 on June 22, 2012, pre-drilling preparation and start-up drilling were carried out. Project overview: 00:00-18:00 pre-drilling preparation, 18:00-24:00 start-up drilling; This well was drilled at 18:00 on June 22, 2012 using a 3A311.1mm drill bit for start-up drilling. The drill bit was brand new and a 3A311.1mm drill bit was put in. The stratum was Quaternary. The drilling fluid type and properties were clear water polymer, with a density of 1.01g / cm3, a viscosity of 28 seconds, and total water loss.
[0146] Replace the sentence based on the context: During the drilling process on June 22, 2012, pre-drilling preparation was carried out from 00:00 to 18:00, and the first-opening drilling operation was carried out from 18:00 to 24:00. The engineering profile shows that the pre-drilling preparation was carried out from 00:00 to 18:00 during the drilling stage, and then the first-opening drilling operation was carried out from 18:00 to 24:00. This well was drilled at 18:00 on June 22, 2012 using a 3A311.1mm drill bit. The drill bit was 100% new and a 3A311.1mm drill bit was lowered. It is worth noting that the stratum is located in the Quaternary System, and the drilling fluid type and performance are clear water polymer, with a density of 1.01g / cm3, a viscosity of 28s, and a total loss of water. During the drilling process, the engineering team actively monitored various parameters to ensure the stability and efficiency of the drilling operation.
[0147] 3. The results after iterative decoding are as follows:
[0148] The following logging records The pound sign is Drilling process and engineering of the Yue 21 well pilot well Profile The drilling objectives include expanding the oil-bearing area of Chang 7 in the Zhuang 57 well area, conducting tight oil research, and exploring the Chang 6 and Chang 8 oil layers. The drilling project started on June 22, 2012. , completed on July 1, 2012 The drilling process involves multiple stages, including pre-drilling preparation, drilling, casing lowering, and cementing. Different drill bits and drilling fluid types were used at different stages. There are also variations, including clear water aggregates and high / low density cements . The lithology along the way Including dark gray mudstone, light gray fine sandstone, gray muddy siltstone, etc. During the drilling process, oil was found in the well section. 2025.00~2027.00m shows oil content As for the performance parameters of the drilling fluid, including density, viscosity, water loss and other data, there are also detailed comprehensive logging records. In addition to drilling, electrical logging, coring and other logging work were also carried out, and various data collection was carried out on the well section. Casing, cementing and completion operations were carried out at a well depth of 2290.00 meters, with a total drilling footage of 2277.00 meters. .
[0149] 4. The results after deduplication and length determination are as follows:
[0150] The following logging records the drilling process and engineering profile of the pre-exploration well Yue 21. The drilling objectives include expanding the oil-bearing area of Chang 7 in the Zhuang 57 well area, conducting tight oil research, and exploring the Chang 6 and Chang 8 oil layers. The drilling project started on June 22, 2012 and was completed on July 1, 2012. During the drilling process, there are multiple stages involved, including pre-drilling preparation, drilling, casing, and cementing. Different specifications of drill bits were used in different stages, and the types of drilling fluids also changed, including clear water polymer and high-density / low-density cement. The lithologies drilled along the way include dark gray mudstone, light gray fine sandstone, gray muddy siltstone, etc. During the drilling process, oil indications were found, among which the well section 2025.00~2027.00m showed oil. As for the performance parameters of the drilling fluid, including density, viscosity, water loss and other data, there are also detailed logging records. In addition to drilling, electrical logging, coring and other logging work were also carried out, and various data were collected for the well section. When the well depth was 2290.00 meters, casing, cementing and completion operations were carried out, and the total drilling footage was 2277.00 meters.
[0151] like Figure 5 As shown, the second object of the present invention is to propose an unsupervised logging comprehensive record summary system based on a non-autoregressive model, comprising:
[0152] Acquisition module, used to collect comprehensive logging records;
[0153] An expansion module is used to expand the collected comprehensive logging records through context generation sentence data enhancement model to obtain expanded comprehensive logging records;
[0154] An iterative module is used to construct a non-autoregressive model, perform sequence splicing on the expanded comprehensive logging records as an input sequence, input the non-autoregressive model, and then perform iterative encoding and decoding, and use a connectionist time classification algorithm to perform potential alignment and eliminate adjacent repeated words, and use a decoded summary as an output sequence;
[0155] An updating module is used to evaluate the summary generated by decoding using a scoring function, calculate the loss according to a loss function, update the non-autoregressive model, and obtain a trained mud logging comprehensive record summary generation model;
[0156] The generation module is used to infer the comprehensive logging records to be analyzed based on the comprehensive logging record summary generation model to generate the comprehensive logging record summary.
[0157] The unsupervised mud logging comprehensive record summary system is based on the mud logging comprehensive record summary generation method based on the non-autoregressive model.
[0158] like Figure 6 As shown, the third object of the present invention is to provide an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for generating a summary of comprehensive logging records based on a non-autoregressive model when executing the computer program.
[0159] A fourth object of the present invention is to provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for generating a summary of comprehensive logging records based on a non-autoregressive model.
[0160] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0161] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0162] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0163] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
Claims
1. A method for generating a summary of comprehensive logging records based on a non-autoregressive model, characterized in that: include: Collect comprehensive logging records; The context-generated sentence data enhancement model is used to expand the collected comprehensive logging records to obtain the expanded comprehensive logging records; A non-autoregressive model is constructed, and the expanded comprehensive logging records are sequenced and spliced as an input sequence, which is input into the non-autoregressive model, and then iterative encoding and decoding are performed, and a connectionist temporal classification algorithm is used to perform potential alignment and eliminate adjacent repeated words, and a summary generated by decoding is used as an output sequence; The summary generated by decoding is evaluated using a scoring function, and the loss is calculated according to the loss function, and the non-autoregressive model is updated to obtain a trained mud logging comprehensive record summary generation model; Based on the mud logging comprehensive record summary generation model, the mud logging comprehensive record to be analyzed is inferred to generate the mud logging comprehensive record summary; The expanded comprehensive logging records are sequenced and spliced as input sequences, input into the non-autoregressive model, and then iteratively encoded and decoded, including: In the first iteration, the comprehensive logging records and the splicing characters The composed sequence is concatenated and input into the encoder of the non-autoregressive model. The length of the sequence is set to half of the comprehensive record of mud logging, and the decoder prediction based on the non-autoregressive model The word at the position is output and when its probability is less than the set value, it is used again Mask; if there is , then the output sequence is spliced to the end of the comprehensive logging record, re-entered into the non-autoregressive model, predicted with the help of the generated words and iterated repeatedly until all the words in the output sequence are determined; Divide the output sequence into blocks, and limit each block to determine at least one word in each iteration, and the number of iterations is the width of the block; The connectionist temporal classification algorithm is used to perform potential alignment and eliminate adjacent duplicate words, including: The vocabulary is expanded using the connectionist temporal classification algorithm by adding a null character The model is distinguished and interrupted, and a deduplication function is given. The deduplication function rule is: continuous identical characters are deduplicated and empty characters are removed. ; With the help of null character As well as the de-duplication function, the connectionist temporal classification algorithm performs potential alignment on the input sequence and the output sequence, and eliminates adjacent duplicate words; The method uses the digest generated by decoding as the output sequence, including: The prefix beam search algorithm is selected to decode the vocabulary after potential alignment and elimination of adjacent duplicate words using the connectionist temporal classification algorithm; the vocabulary is {a, b, }, a prefix beam search with a beam search width of 3 is performed, and each prefix in the beam is tracked separately. The probability of ending with Probability of ending.
2. The method for generating a summary of comprehensive logging records based on a non-autoregressive model according to claim 1, characterized in that: The data enhancement model for generating sentences through context is used to expand the collected comprehensive logging records, including: The following random expansions are performed on the collected logging records through the context generation sentence data enhancement model: Randomly swap or delete sentences in the collected mud logging synthesis records; Randomly insert statements into the collected logging synthesis records according to the current drilling behavior; Randomly replace words in the collected logging records according to relevant rules; A pre-trained context-based sentence generation model is used to randomly replace sentences in the collected mud logging synthesis records.
3. The method for generating a summary of comprehensive logging records based on a non-autoregressive model according to claim 1, characterized in that: The scoring function is used to evaluate the summary generated by decoding, and the loss is calculated according to the loss function, and the non-autoregressive model is updated to obtain the trained logging comprehensive record summary generation model, wherein: The scoring function is: In the formula: x is the input sequence, y is the output sequence, γ is the weight hyperparameter, is the language fluency function; is the semantic similarity function, and its calculation formula is: Where: e is the sentence embedding method, and the sentence embedding vector is generated using the BART model; The loss function is: Where: P(y│x) is the probability that the final output sequence is y when the input sequence is x; f(y;x) is the score of the output sequence y.
4. The method for generating a summary of comprehensive logging records based on a non-autoregressive model according to claim 3, characterized in that: The updating non-autoregressive model further includes: The evaluation score and the probability of calculating the loss are both numbers between 0 and 1; If the score and output probability match, determine whether the score and output probability meet the requirements; If not, return to the above method to expand the collected comprehensive logging records, and then update the non-autoregressive model; If satisfied, the current non-autoregressive model is output as the trained mud logging comprehensive record summary generation model.
5. A system for generating a comprehensive log record summary based on a non-autoregressive model, based on the method for generating a comprehensive log record summary based on a non-autoregressive model according to any one of claims 1 to 4; characterized in that: include: Acquisition module, used to collect comprehensive logging records; An expansion module is used to expand the collected comprehensive logging records through context generation sentence data enhancement model to obtain expanded comprehensive logging records; An iterative module is used to construct a non-autoregressive model, perform sequence splicing on the expanded comprehensive logging records as an input sequence, input the non-autoregressive model, and then perform iterative encoding and decoding, and use a connectionist time classification algorithm to perform potential alignment and eliminate adjacent repeated words, and use a decoded summary as an output sequence; An updating module is used to evaluate the summary generated by decoding using a scoring function, calculate the loss according to a loss function, update the non-autoregressive model, and obtain a trained mud logging comprehensive record summary generation model; The generation module is used to infer the comprehensive logging records to be analyzed based on the comprehensive logging record summary generation model to generate the comprehensive logging record summary.
6. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for generating a summary of comprehensive logging records based on a non-autoregressive model as described in any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating a summary of comprehensive logging records based on a non-autoregressive model according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Non-autoregressive neural machine translation method based on decoder input enhancement
CN113468895A
Streaming speech recognition system and method based on non-autoregression model
CN114203170A
