Oil field oil production prediction method based on model fusion
By using Pearson correlation analysis to screen features in oil field testing and combining it with recurrent neural network and decision tree model fusion prediction, the problem of incomplete feature utilization in the daily oil production prediction of oil field testing in the existing technology is solved, and the prediction accuracy is improved.
Patent Information
- Application Number
- CN202310251877.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-16
- Publication Date
- 2024-09-20
AI Technical Summary
The existing technology cannot effectively utilize the characteristics of all logging depth points in predicting daily oil production in oil field testing, resulting in problems such as inaccurate prediction values, weak ability to capture features, and limited amount of prediction data.
Pearson correlation analysis is used to screen out the logging depth point features that are highly correlated with oil production as the input of the recurrent neural network, and the remaining features are used as the input of the decision tree model, and the parameters are obtained through the training of the recurrent neural network and the decision tree model. model, perform model fusion, and use multi-layer perceptrons to make predictions.
Through the model fusion method, the accuracy of daily oil production prediction in oil field testing is improved, the average absolute error between the prediction data and the actual value is reduced, and the problem of focusing on local features is avoided.
Smart Images

Figure CN118674082A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data mining, and in particular to a method for predicting daily oil production of oil field testing based on model fusion. Background Art
[0002] During the oil test phase, the daily oil production is predicted in order to evaluate the formation productivity and prepare for subsequent development. The prediction of daily oil production during oil test is also an important guarantee for the success rate of oil test. Many data mining methods, such as Levenberg-Marquardt algorithm, LS-SVM-GA algorithm, multivariate chaotic time series and principal component analysis, are applied in the current oil reservoir production prediction project. However, the methods in the prior art generally cannot obtain the influence of the characteristics of all logging depth points on the final oil production, but only focus on the expression of certain local feature data. In practical applications, there is a complex nonlinear fitting and dynamic relationship between the logging depth points and the daily oil production of oil field oil test. The existing modeling and prediction methods have the problems of inaccurate prediction values, weak feature capture ability and limited prediction data.
[0003] Therefore, it is necessary to comprehensively consider all features in the prediction process and use different sub-models to capture different local feature information. Summary of the invention
[0004] In view of the above problems, the present invention is proposed to provide an oil field production prediction method based on model fusion that overcomes the above problems or at least partially solves the above problems.
[0005] According to one aspect of the present invention, a method for predicting oil field production based on model fusion is provided, comprising:
[0006] Pearson correlation analysis was used to screen out the logging depth point features with high correlation with oil production. As the input of the recurrent neural network, the remaining features As input to the decision tree model;
[0007] Normalizing and filling missing values on the input features of the recurrent neural network, and filling missing values on the features of the decision tree model;
[0008] The logging depth point characteristics A recurrent neural network is used to perform network training to obtain a sub-recurrent neural network;
[0009] For the remaining features Use the decision tree model for training to obtain a sub-decision tree model;
[0010] The sub-decision tree model and the sub-cyclic neural network are subjected to model fusion, and the extracted high-dimensional features are input into a multi-layer perceptron for network prediction to obtain a training model;
[0011] The performance of the training model is evaluated on the validation set data, using the mean absolute error between the predicted data and the actual value as the validation criterion.
[0012] Optionally, the recurrent neural network is a recurrent neural network with a latent variable dimension of 128, and the decision tree model is a lightgbm decision tree model.
[0013] Optionally, the method of using Pearson correlation analysis to screen out the logging depth point features with high correlation with oil production specifically includes:
[0014] Calculate the Pearson correlation coefficient to determine whether the absolute value of the Pearson correlation coefficient is closer to 1. If so, the correlation between the two variables is higher. Using a recurrent neural network to process such features can better model the relationship between data.
[0015] Otherwise, it means that the correlation between the two variables is lower, and the decision tree model can further explore the high-dimensional feature association.
[0016] Optionally, the method of using Pearson correlation analysis to screen out the logging depth point features with high correlation with oil production specifically includes:
[0017] The calculation formula of Pearson correlation coefficient r between two variables X and Y is as follows:
[0018]
[0019] where x i ,y i are the i-th sample points of variables X and Y respectively, and N is the number of samples.
[0020] Optionally, the variable is mapped to the interval (0, 1) by a standardization method, and the formula for the standardization is:
[0021]
[0022] Among them, x ij is the value of the jth variable of the ith sample, and N is the number of samples.
[0023] Optionally, the logging depth point characteristics A recurrent neural network is used for network training to obtain a sub-recurrent neural network; the remaining features The decision tree model is used for training to obtain the sub-decision tree model, which specifically includes: training and fitting the two sub-models respectively.
[0024] Optionally, the performing model fusion on the sub-decision tree model and the sub-recurrent neural network specifically includes:
[0025] The two sub-models are fused using a multi-layer perceptron model, and the high-dimensional features extracted from each are input into the multi-layer perceptron for network prediction.
[0026] Optionally, the performing performance evaluation of the training model on the validation set data and using the mean absolute error between the predicted data and the actual value as the validation standard specifically includes:
[0027] The performance of the model is evaluated by its performance on the validation set data, and the validation criterion is the mean absolute error between the predicted data and the actual value.
[0028] The present invention provides a method for predicting oil field production based on model fusion, comprising: using Pearson correlation analysis to screen out logging depth point features with high correlation with oil production. As the input of the recurrent neural network, the remaining features as the input of the decision tree model; normalizing and filling missing values on the input features of the recurrent neural network, filling missing values on the features of the decision tree model; and filling missing values on the features of the logging depth points. A recurrent neural network is used for network training to obtain a sub-recurrent neural network; the remaining features The decision tree model is used for training to obtain a sub-decision tree model; the sub-decision tree model and the sub-cyclic neural network are fused, and the high-dimensional features extracted from each are input into the multi-layer perceptron for network prediction to obtain a training model; the performance of the training model is evaluated on the validation set data, and the average absolute error between the predicted data and the actual value is used as the verification standard. Different sub-models have different degrees of expression of local feature information, and their fitting results are integrated to achieve the extraction of features of all logging depth points, avoiding the local emphasis defects in existing methods and solving the technical difficulties encountered in the prediction of daily oil production in oil field tests in actual projects.
[0029] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0031] Figure 1 A flowchart of a specific embodiment of an oil field oil production prediction method based on model fusion provided in an embodiment of the present invention;
[0032] Figure 2 An expanded diagram of the recurrent neural network principle provided by an embodiment of the present invention;
[0033] Figure 3 This is a diagram of the input and output connections of the models provided in the embodiments of the present invention. DETAILED DESCRIPTION
[0034] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0035] The terms "comprises" and "having" and any variations thereof in the description embodiments, claims and drawings of the present invention are intended to cover non-exclusive inclusions, for example, including a series of steps or units.
[0036] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0037] like Figure 1 As shown, Figure 1 The present invention is a flowchart of a specific embodiment of the method for predicting oil field production based on model fusion.
[0038] Step 101, oil production characteristic screening.
[0039] Pearson correlation score is used to screen out the logging depth point features with high correlation with oil production As the input of the recurrent neural network, the remaining features As the input of the decision tree model. For the Pearson correlation coefficient, the closer its absolute value is to 1, the higher the correlation between the two variables, and vice versa. Different feature data are input into the two sub-models to utilize their feature extraction performance respectively. The calculation formula of the Pearson correlation coefficient r between two variables X and Y is as follows:
[0040]
[0041] Where xi, yi are the i-th sample points of variables X and Y respectively, and N is the number of samples.
[0042] Step 102: data preprocessing.
[0043] The missing values are filled in a unified way using the mode filling method. At the same time, in order to eliminate the dimensional differences between different variables and speed up the model convergence, step 102 uses a standardization method to map the variables to the (0, 1) interval. The formula for standardization is:
[0044]
[0045] Where xij is the value of the jth variable of the ith sample, and N is the number of samples.
[0046] Step 103: sub-network model training.
[0047] The data obtained through steps 101 and 102 are input into the recurrent neural network and the lightghm decision tree model respectively. In the structure of the recurrent neural network, a layer of connection structure is added between the hidden layer nodes, so that the input of the current hidden layer includes the input of the input layer and the output of the hidden layer at the previous moment. This structure enables the calculation of the current output to utilize the information of the previous time step, which can better extract the features of the sequence data. The structural diagram of the recurrent neural network is shown in the figure below. Figure 2 shown.
[0048] As can be seen from the structure, RNN receives input X at time t t After that, the value of the hidden layer is S t , the output value is O t . And S t The value of X t Decision, and S t-1 With θ representing the activation function, the calculation process of the entire recurrent neural network is as follows:
[0049]
[0050] like Figure 3As shown, another sub-model used in the present invention is lightgbm, which is a decision tree model based on the histogram algorithm. Its main idea is to start from the root node, judge each feature of the instance, and assign the instance to its child node according to the judgment result. At this time, each node corresponds to a value of the feature, and the instance is recursively judged and assigned until the instance is assigned to the leaf node. In the present invention, the number of leaf nodes of lightgbm is set to 31, the maximum depth is 5, the learning rate is 0.1, and the number of classifiers is 100.
[0051] Step 104: model fusion training.
[0052] For the high-dimensional features extracted by the two sub-models, the present invention uses a multi-layer perceptron with 32-dimensional latent variables to learn the weights of the sub-models. The multi-layer perceptron includes three parts: an input layer, a hidden layer, and an output layer. The multi-layer perceptron fits curves of different distributions through a combination of linear functions and activation functions, and can perform weighted summation of the components of the input high-dimensional features of the two sub-models in all dimensions, so as to achieve the purpose of comprehensively utilizing all the logging depth point features.
[0053] Step 105: Model evaluation.
[0054] In actual operation, the present invention first optimizes the performance of the two sub-models, and then fixes the two model parameters to optimize the multi-layer perceptron model. The results on the validation set show that the average absolute error between the predicted data and the actual value of the recurrent neural network is 3.85, and the average absolute error between the predicted data and the actual value of the lightgbm model is 3.14. After the two models are fused, the average absolute error between the predicted data and the actual value is reduced to 1.76. It shows that after applying the model fusion method, the prediction accuracy of the daily oil production of the oil field test is improved.
[0055] Beneficial effect: Different sub-models have different degrees of expression of local feature information, and their fitting results are integrated to realize the extraction of features of all logging depth points, avoiding the local emphasis defects existing in existing methods and solving the technical difficulties encountered in predicting daily oil production in oil field tests in actual engineering.
[0056] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for predicting oil field production based on model fusion, It is characterized in that The prediction method comprises: Pearson correlation analysis was used to screen out the logging depth point features with high correlation with oil production. As the input of the recurrent neural network, the remaining features As input to the decision tree model; Normalizing and filling missing values on the input features of the recurrent neural network, and filling missing values on the features of the decision tree model; The logging depth point characteristics A recurrent neural network is used to perform network training to obtain a sub-recurrent neural network; For the remaining features Use the decision tree model for training to obtain a sub-decision tree model; The sub-decision tree model and the sub-cyclic neural network are subjected to model fusion, and the extracted high-dimensional features are input into a multi-layer perceptron for network prediction to obtain a training model; The performance of the training model is evaluated on the validation set data, using the mean absolute error between the predicted data and the actual value as the validation criterion.
2. The method for predicting oil field production based on model fusion according to claim 1, It is characterized in that The recurrent neural network is a recurrent neural network with 128 dimensions of latent variables, and the decision tree model is a lightgbm decision tree model.
3. The method for predicting oil field production based on model fusion according to claim 1, It is characterized in that The use of Pearson correlation analysis to screen out the logging depth point features with high correlation with oil production specifically includes: Calculate the Pearson correlation coefficient to determine whether the absolute value of the Pearson correlation coefficient is closer to 1. If so, the correlation between the two variables is higher. Using a recurrent neural network to process such features can better model the relationship between data. Otherwise, it means that the correlation between the two variables is lower, and the decision tree model can further explore the high-dimensional feature association.
4. The method for predicting oil field production based on model fusion according to claim 1, It is characterized in that The use of Pearson correlation analysis to screen out the logging depth point features with high correlation with oil production specifically includes: The calculation formula of Pearson correlation coefficient r between two variables X and Y is as follows: where x i ,y i are the i-th sample points of variables X and Y respectively, and N is the number of samples.
5. The method for predicting oil field production based on model fusion according to claim 1, It is characterized in that The standardization method is used to map the variable to the interval (0, 1). The formula for standardization is: Among them, x ij is the value of the jth variable of the ith sample, and N is the number of samples.
6. The method for predicting oil field production based on model fusion according to claim 1, It is characterized in that The characteristics of the logging depth points A recurrent neural network is used for network training to obtain a sub-recurrent neural network; the remaining features The decision tree model is used for training to obtain the sub-decision tree model, which specifically includes: training and fitting the two sub-models respectively.
7. The method for predicting oil field production based on model fusion according to claim 1, It is characterized in that The model fusion of the sub-decision tree model and the sub-recurrent neural network specifically includes: The two sub-models are fused using a multi-layer perceptron model, and the high-dimensional features extracted from each are input into the multi-layer perceptron for network prediction.
8. The method for predicting oil field production based on model fusion according to claim 1, It is characterized in that The performance evaluation of the training model on the validation set data, using the mean absolute error between the predicted data and the actual value as the validation standard, specifically includes: The performance of the model is evaluated by its performance on the validation set data, and the validation criterion is the mean absolute error between the predicted data and the actual value.
Citation Information
Cited By
Oil product data analysis method and system based on deep learning
CN120429552A
