Tight sandstone reservoir porosity time sequence prediction method, device, equipment and medium

Through the combination of Bi-GRUs network and kNN algorithm, it solves the problems of small samples and difficult to describe nonlinear relationships in tight sandstone reservoir porosity prediction, achieves high-precision porosity prediction, and enhances the interpretability and reliability of prediction. , which alleviates the "black box" problem of neural networks.

CN118779648APending Publication Date: 2024-10-15CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310358755.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-06
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing technology has small sample problems in tight sandstone reservoir porosity prediction, and it is difficult to characterize the complex nonlinear relationship between seismic data and reservoir parameters. Moreover, the application of intelligent methods is still in its infancy, and it is difficult to obtain sufficient training samples, resulting in The prediction accuracy is not high.

Method used

Bi-directional gated recurrent neural networks (Bi-GRUs) are used to establish the relationship mapping between the porosity curves obtained from well log interpretation and the pre-stack seismic records of the well side channels, and are combined with the k-nearest neighbor algorithm for feature extraction and monitoring to realize Bi-GRUs. Monitoring of the feature extraction process of the GRUs network prevents excessive loss of information and enhances the physical interpretability and reliability of predictions.

Benefits of technology

Through the combination of Bi-GRUs and kNN algorithms, the complex nonlinear relationship between pre-stack seismic records and reservoir porosity is excavated, achieving high-precision prediction of tight sandstone reservoir porosity, and improving the accuracy and stability of prediction. It alleviates the "black box" problem of neural network methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779648A_ABST
    Figure CN118779648A_ABST
Patent Text Reader

Abstract

According to the tight sandstone reservoir porosity time sequence prediction method, device and equipment and the medium provided by the embodiment of the invention, the Bi-GRUs is selected to establish the relational mapping between the porosity curve obtained by well logging interpretation and the well bypass pre-stack seismic record, and the tight sandstone reservoir porosity prediction is realized based on the pre-stack seismic data. And in the prediction process, intermediate features of different depth networks of Bi-GRUs are output, and the intermediate features are input into a kNN algorithm to synchronously carry out porosity prediction, so that monitoring of the Bi-GRUs feature extraction process is realized, and loss of effective information is prevented. And the neural network'black box 'is whitened to a certain extent. A kNN algorithm prediction result based on Bi-GRUs different depth network extraction features is a prediction result of the same task at different angles. And a plurality of results are integrated for comprehensive analysis and judgment, so that the prediction result of the method is more accurate and reliable, the interpretability and reliability of the method are improved, and the method has important significance on exploration and development, storage increase and production increase of the unconventional tight sandstone reservoir.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of exploration geophysical processing, interpretation and artificial intelligence, and specifically to a process-monitorable tight sandstone reservoir porosity intelligent time series prediction method, device, electronic equipment and storage medium. Background Art

[0002] Traditional methods for predicting reservoir physical parameters can be divided into two main types: one is a direct measurement method based on experimental methods such as coring and core cuttings analysis, and the other is an indirect interpretation method that combines seismic and well logging data for prediction, such as empirical formulas, regression analysis, etc. Seismic reservoir prediction technologies mainly include seismic attribute analysis technology, seismic inversion technology, and AVO technology.

[0003] In traditional methods, simple empirical formulas are often used or one or several seismic attributes are extracted for intersection to directly solve the problem. However, since they are purely mathematical methods, the correlation of reservoir parameters and spatial continuity are not considered. The relationship between reservoir properties and logging curves is not one-to-one, which makes the prediction results have a strong problem of multiple solutions. Seismic inversion technology can obtain the elastic parameters of the reservoir based on seismic data and then establish the relationship between the elastic parameters and the reservoir physical parameters. This method is often limited by computer storage space and computing power, and it is necessary to simplify the inversion equation to reduce the accuracy of the inversion results. At the same time, model-based inversion generally needs to meet assumptions, which limits the scope of application of the method.

[0004] Research on reservoir prediction using intelligent methods is still in its infancy. One idea is to use intelligent methods to fuse multiple seismic attributes. Yin Xingyao et al. used kernel functions to map seven types of seismic attributes along the layers to a high-dimensional feature space that highlights the differences between the attributes, and then performed fuzzy C-means clustering to more accurately characterize the boundaries of gas-bearing carbonate reservoirs in the reef phase. Li Fang et al. fused and optimized four seismic attributes that are sensitive to sandstone changes based on fuzzy logic, which improved the accuracy and reliability of oil and gas reservoir distribution prediction. Zhang et al. fused seismic attributes, texture attributes and logging data as inputs and proposed a lithofacies fluid prediction process based on random forests. Xu Pengcheng et al. used multiple seismic attributes and reservoir expectation linear regression methods to preliminarily predict reservoir distribution and pre-trained convolutional neural networks. Then, they used reservoir distribution information from logging interpretation to fine-tune the model to achieve high-resolution prediction of reservoir distribution.

[0005] Another idea is to use the powerful characterization ability of intelligent methods for complex nonlinear relationships to directly establish a mapping between well-seismic data and gas-bearing information. Cai Yudong et al. used a typical "back propagation" artificial neural network model to integrate multiple well-seismic information for oil and gas prediction and oil production capacity classification, and applied it to the carbonate reservoir of the Guanyinchang structure in Sichuan for example analysis, achieving good application results. Lee et al. used the SOM method to fuse well-seismic information, achieve clustering and automatically label samples, and proposed a seismic lithofacies and fluid classification workflow based on semi-supervised learning. Alfarraj and AlRegib recurrent neural network predict rock physical properties from seismic data, demonstrating the potential of this method in reservoir characterization. Song et al. used the k-nearest neighbor algorithm to extract the intelligent attributes of well-seismic fusion, and proposed a gas-bearing prediction method for tight sandstone reservoirs with simple principles and good interpretability.

[0006] A major limitation of intelligent methods in the prediction of tight sandstone reservoirs is the small sample problem. To solve the small sample problem in reservoir prediction, Lin Niantian et al. proposed a convolutional neural network framework suitable for seismic oil and gas reservoir prediction under small or extremely small sample conditions. Ao et al. rationally combined the traditional output lithofacies analysis method with geostatistical interpolation technology and proposed a sample collection strategy. This provides more reliable samples for seismic interpretation using machine learning methods such as random forests. And proved the effectiveness of this strategy in lithology and sand content prediction. Liu Lihui et al. used well logging curves to interpret wellside seismic traces to obtain well logging lithology curves, and evenly extracted pseudo-well curves from the constructed phase-controlled lithofacies interpolation model for data enhancement to avoid the representative samples of some lithology formations not participating in network learning, resulting in low model prediction accuracy. Gao et al. used the rock physical parameters of the work area to make a numerical model to generate synthetic samples to pre-train the deep convolutional network, and used actual sample migration to achieve fine tuning of the network, achieving good results in practical applications.

[0007] In summary, it can be seen that the existing technology has problems such as difficulty in considering the geological significance of reservoir parameters, difficulty in characterizing the complex nonlinear relationship between seismic data and reservoir parameters, the introduction of intelligent methods is still in its infancy, and difficulty in obtaining sufficient training samples. Summary of the invention

[0008] In view of this, the present application provides a process-monitorable intelligent time-series prediction method, device, electronic device and storage medium for the porosity of tight sandstone reservoirs, which uses a bidirectional gated recurrent neural network (Bidirectional-Gated Recurrent Units, Bi-GRUs) to establish a relationship mapping between the porosity curve obtained by well logging interpretation and the pre-stack seismic record of the well bypass, and realizes a method for predicting the porosity of tight sandstone reservoirs based on pre-stack seismic data. At the same time, during the prediction process, the intermediate features of Bi-GRUs networks of different depths are output, and the k-nearest neighbors (kNN) algorithm is input to synchronously predict the porosity, thereby realizing the monitoring of the Bi-GRUs feature extraction process.

[0009] This application combines the advantages of the Bi-GRUs network and the kNN algorithm to explore the complex nonlinear relationship between prestack seismic records and reservoir porosity, and realizes high-precision prediction of the porosity of tight sandstone reservoirs based on prestack seismic records. The kNN algorithm is used to monitor the process of extracting sensitive features of the reservoir by the Bi-GRUs network, to prevent the network from unilaterally realizing the "approximation" of data in the label domain during the feature extraction process, resulting in excessive loss of information, and to increase the physical interpretability and reliability of the prediction effect. To a certain extent, it alleviates the "black box" problem of neural network methods. The Bi-GRUs network and the kNN algorithm respectively generate multiple porosity prediction results, which are predictions from different angles for the same geological target. Based on the idea of ​​ensemble learning, the prediction results of the porosity of tight sandstone reservoirs are more accurate and stable.

[0010] In a first aspect, an embodiment of the present application provides a process-monitorable tight sandstone reservoir porosity intelligent time series prediction method, comprising:

[0011] Acquire data: obtain pre-stack seismic records;

[0012] Generating a training set and data to be predicted: performing data processing on the pre-stack seismic records to generate a training set and data to be predicted;

[0013] Training model: Based on the training set, the Bi-GRUs network and the kNN algorithm are trained respectively to obtain a training Bi-GRUs network and a training kNN algorithm;

[0014] Bi-GRUs prediction: input the data to be predicted into the training Bi-GRUs network to obtain the Bi-GRUs prediction result, and at the same time obtain the intermediate features of different depth networks;

[0015] kNN prediction and monitoring: input the intermediate features of the different depth networks into the training kNN algorithm to obtain multiple intermediate feature prediction results, and compare the prediction results based on the intermediate features of different depths in the multiple intermediate feature prediction results horizontally to realize the monitoring of the Bi-GRUs feature extraction process;

[0016] Result integration: Integrate the Bi-GRUs prediction results and the multiple intermediate feature prediction results, and comprehensively analyze to obtain the final porosity prediction result.

[0017] In a possible implementation, the step of generating a training set includes:

[0018] Data preprocessing: performing refined preprocessing on the prestack seismic data;

[0019] Well logging data processing: Use acoustic logging curves and density logging curves to match wells and seismic data, convert logging data from depth domain to time domain, and resample according to the seismic data sampling interval to obtain the logging porosity curve value corresponding to the underground sampling point;

[0020] The training set is obtained, the logging porosity curve value corresponding to the underground sampling point is used as the label of the sampling point, and the well bypass seismic record is segmented using the time window centered on the sampling point to obtain the training set.

[0021] In a possible implementation, the height of the time window is the length of a seismic wavelet, and the width of the time window is the number of angle gathers included in a single common depth point gather.

[0022] In a possible implementation, when training the Bi-GRUs network, the temporal characteristics of the samples are maintained when the training set is input.

[0023] In a possible implementation, when the kNN algorithm is trained, the training data and the labels in the training set are stored in pairs as a training sample library.

[0024] In a possible implementation, when generating the data to be predicted, the time window is used to slide on the pre-stack seismic record to generate the data to be predicted.

[0025] In a possible implementation, during the Bi-GRUs prediction process, the data to be predicted is sequentially input into the training Bi-GRUs network to obtain the Bi-GRUs prediction result; the Bi-GRUs prediction result is equal in length to the height of the time window.

[0026] In a second aspect, the embodiment of the present application provides a process-monitorable tight sandstone reservoir porosity intelligent time series prediction device, characterized in that it includes:

[0027] Data acquisition module: used to obtain pre-stack seismic records;

[0028] A training set and data to be predicted generating module: used for processing the pre-stack seismic records to generate a training set and data to be predicted;

[0029] Model training module: used to train the Bi-GRUs network and the kNN algorithm respectively based on the training set to obtain a training Bi-GRUs network and a training kNN algorithm;

[0030] Bi-GRUs prediction module: used to input the data to be predicted into the training Bi-GRUs network to obtain the Bi-GRUs prediction results, and at the same time obtain the intermediate features of different depth networks;

[0031] kNN prediction and monitoring module: used to input the intermediate features of the different depth networks into the training kNN algorithm to obtain multiple intermediate feature prediction results, and to compare the prediction results based on the intermediate features of different depths among the multiple intermediate feature prediction results horizontally, so as to realize the monitoring of the Bi-GRUs feature extraction process;

[0032] Result integration module: used to integrate the Bi-GRUs prediction results and the multiple intermediate feature prediction results, and comprehensively analyze to obtain the final porosity prediction result.

[0033] In a third aspect, an embodiment of the present application provides an electronic device, characterized in that it includes:

[0034] processor;

[0035] Memory;

[0036] And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the electronic device executes any one of the methods described in the first aspect.

[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described in the first aspect.

[0038] This application provides an idea of ​​using Bi-GRUs network to consider sequence characteristics to predict the porosity of tight sandstone reservoirs based on prestack seismic data, which also includes the idea of ​​processing prestack seismic data into local waveform attributes as training samples and samples to be predicted.

[0039] This application uses the kNN algorithm to implement a series of ideas for monitoring the feature extraction process of the Bi-GRUs network. The first is to output the intermediate features of networks of different depths during the prediction process of the Bi-GRUs network and input them into the kNN algorithm, and compare the prediction results obtained based on these intermediate features horizontally to ensure that the Bi-GRUs network extracts porosity-sensitive attributes while reducing the loss of effective information. The second is that this application integrates multiple porosity prediction results generated during the implementation process and finally obtains high-precision porosity prediction results.

[0040] This application combines the advantages of Bi-GRUs network and kNN algorithm to mine the complex nonlinear relationship between prestack seismic records and reservoir porosity while maintaining the sequence characteristics of seismic data and porosity curves, thereby achieving high-precision prediction of tight sandstone reservoir porosity based on prestack seismic records.

[0041] This application uses the kNN algorithm to monitor the process of extracting reservoir sensitive features from the Bi-GRUs network, preventing the network from unilaterally "approximating" the data in the label domain during feature extraction, which leads to excessive loss of information, and increases the physical interpretability and reliability of the prediction effect. To a certain extent, it alleviates the "black box" problem of neural network methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0043] Figure 1 A schematic diagram of a process-monitorable intelligent time-series prediction method for tight sandstone reservoir porosity provided in an embodiment of the present application;

[0044] Figure 2 A one-way GRU schematic diagram of a process-monitorable tight sandstone reservoir porosity intelligent time series prediction method provided in an embodiment of the present application;

[0045] Figure 3 A numerical model for testing provided in an embodiment of the present application;

[0046] Figure 4 The porosity prediction results of the numerical model used in the test using the kNN algorithm based on local waveform attributes provided in the embodiment of the present application alone;

[0047] Figure 5 The porosity prediction results of the numerical model used for testing using the Bi-GRUs network based on local waveform attributes provided in the embodiment of the present application alone;

[0048] Figure 6 The porosity prediction results of the numerical model used in the test of the process-monitored tight sandstone reservoir porosity intelligent time series prediction method provided in the embodiment of the present application;

[0049] Figure 7 The actual post-stack seismic record well-connected profile provided in the embodiment of the present application;

[0050] Figure 8 The porosity prediction result of the actual post-stack seismic record well-connected profile using the kNN algorithm alone provided in the embodiment of the present application;

[0051] Fig. 9 The data porosity prediction results of the actual post-stack seismic record well-connected profile using the Bi-GRUs network alone provided in the embodiment of the present application;

[0052] Fig.10 The porosity prediction results of the actual post-stack seismic record well-connected profile by the process-monitorable tight sandstone reservoir porosity intelligent time series prediction method provided in the embodiment of the present application;

[0053] Fig.11 A structural block diagram of a process-monitorable tight sandstone reservoir porosity intelligent time series prediction device provided in an embodiment of the present application;

[0054] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0056] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0057] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0058] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0059] See also Figure 1 , is a flow chart of a process-monitorable intelligent time-series prediction method for tight sandstone reservoir porosity provided in an embodiment of the present application. Figure 1 As shown, it mainly includes the following steps.

[0060] Step S1, acquiring data: acquiring pre-stack seismic records, acoustic logging curves and density logging curves.

[0061] Step S2, generating a training set and data to be predicted: performing data processing on the pre-stack seismic records to generate a training set and data to be predicted.

[0062] In the prior art, the main limitation of the application of supervised machine learning methods in the field of geophysics is the lack of a sufficient number of training samples. Due to the high cost of drilling and the differences in the vertical resolution of well seismic data, the porosity curve obtained by the interpretation of the entire well logging is used as a label, and the corresponding well bypass seismic records are used as training samples. The generated training set may have a "small sample" problem. In addition, for the problem of reservoir porosity prediction, the reservoir information of a single sampling point may only exist in the seismic and logging responses of a limited area. Therefore, this application uses a sliding time window to extract time-series local waveform attributes based on seismic data as training samples for the task of machine learning to predict reservoir porosity, which specifically includes the following steps.

[0063] Step S2.1, firstly, perform fine preprocessing on the prestack seismic data. For example, use methods such as denoising and partial angle gather stacking to improve the signal-to-noise ratio of the data;

[0064] Step S2.2, using the acoustic logging curve and the density logging curve to perform well-seismic matching, converting the logging data from the depth domain to the time domain, and resampling according to the seismic data sampling interval;

[0065] Step S2.3, the logging porosity curve value corresponding to the underground sampling point is used as the label of this sampling point. The pre-stack seismic record of the well side track within the time window range centered on the sampling point is used to describe the porosity of this sampling point. That is, the training sample is obtained by segmenting the well side track seismic record using the time window. The height of the time window is set to a seismic wavelet length, and the width of the time window is the number of angle track sets contained in a single common depth point track set.

[0066] The time window in step S2.3 is used to slide on the pre-stack seismic data to be predicted to generate a data block to be predicted.

[0067] Step S3, training model: based on the training set, respectively train the Bi-GRUs network and the kNN algorithm to obtain a training Bi-GRUs network and a training kNN algorithm.

[0068] Recurrent Neural Networks (RNNs) are designed to capture the temporal dynamics of time series data. Unlike feedforward neural networks, RNNs have a hidden state variable that can be passed between sequences, which enables RNNs to capture long-term dependencies in sequence data, so that long-term information can be effectively retained, and important information is selected for retention, while unimportant information is chosen to be "forgotten". RNNs are often used to solve many problems in language modeling and natural language processing, audio processing, and video processing. There are three main network architectures of this type of neural network, including RNN, Long Short-Term Memory (LSTM) and Gate Recurrent Units (GRUs). RNNs have a simple network structure and few parameters, but are prone to the problem of gradient vanishing when backpropagating over time. The introduction of LSTM and GRUs effectively solves the problem of gradient vanishing. Among them, LSTM has three gates, while GRUs has two gates, which is simpler, and has one-third fewer parameters, so it is not easy to overfit.

[0069] For ease of understanding and explanation, the workflow of GRUs is described in detail by taking the encoder based on unidirectional GRUs as an example. Figure 2 As shown in the figure, a single GRUs unit consists of an input layer, a hidden layer, and an output layer. The input and output of GRUs are local waveform attributes and reservoir porosity curves of the same length as the local waveform attributes. The hidden layer is a combination of unidirectional GRUs and fully connected layers. Where x represents the input layer, a represents the hidden state variable, and y represents the output layer. Figure 2 Taking the encoder in as an example, x represents the local waveform attribute of the input, Represents the intermediate features of the output. The superscript (0…t) represents different moments, corresponding to the position of each sampling point. That is, t also represents the total number of sampling points in a training sample. i represents the i-th training sample, Represents the seismic amplitude value at each sampling point of the i-th seismic trace. Represents the estimated porosity value corresponding to the i-th sample of the output, represents the estimated porosity at each sampling point of the i-th sample. Represents the hidden state variable output by each sampling point in the i-th training sample.

[0070] When the earthquake data enters the unidirectional GRUs, the hidden state in the GRUs is calculated as:

[0071]

[0072] Among them, * represents dot product, are the hidden state variables output at the (t-1)th moment and the tth moment of the i-th training sample, respectively. is the hidden state variable to be updated, is the output result of the i-th training sample at time t, W and b are the weight matrix and bias parameters to be updated. Generally, the hidden state variable a (0) Initialized to a vector of all 0s. GRUs has an update gate u and a reset gate r inside, which determine how to update the hidden state variables to solve the gradient vanishing problem. Among them, the setting of the update gate is the key to solving the gradient vanishing problem.

[0073] For update gate Use the sigmoid function to decide whether to update the hidden state variable: When , the hidden state variable is not updated, and the (t-1) moment is still used. Calculated when When , the hidden state variable is updated to For reset gate Use the sigmoid function to determine and The correlation between them, that is, whether to forget the hidden state variable at the (t-1) moment Information contained in: At time t, the hidden state variable Does not include the hidden state variable at the (t-1)th moment The information of the tth time step is Only with the input of the tth time step Related, at this time it degenerates into a basic feedforward neural network unit; when The output at time t is Both with the current input It is also related to the hidden state variable at time (t-1) Contains information about. Once Once determined, a linear regression layer is used to extract the features of GRUs, and then linear weighting is performed to obtain the porosity prediction value of a single sampling point The calculation formula is:

[0074]

[0075] Formula (2) shows more clearly that the porosity prediction value obtained at time t of the i-th training sample is Not only with It is also related to the hidden state variable output at the (t-1)th moment Related, that is, also related to previously stored information.

[0076] The above-mentioned GRUs are unidirectional, and their data only flows from left to right. Bidirectional GRUs add a reverse loop layer on the basis of unidirectional GRUs, and the data also flows from right to left. Bi-GRUs enable the sequence to obtain not only the information of the previous moment, but also the future information at a certain moment. That is, the value at the tth moment is not only related to the information contained before the (t-1)th moment, but also to the information contained after the (t+1)th moment. That is, the porosity prediction value through a single-layer Bi-GRU is not only related to the current input seismic data, but also to the adjacent seismic data near time t. This means that Bi-GRUs incorporates the response characteristics of seismic waves into its impedance prediction. In order to construct more complex nonlinear functions, we generally increase the number of network layers and build a deep network. Figure 2 The output y of the single-layer GRUs in the middle continues to propagate to the lower layers to form deep Bi-GRUs.

[0077] Since Bi-GRUs can capture the sequence characteristics of data, during the training phase of the network, the input training samples must maintain the temporal characteristics of the samples.

[0078] The kNN algorithm is a supervised learning method that can be used for classification and regression problems. It was first formally proposed by Cover and Hart in 1967. The principle of the kNN algorithm is very simple: under a certain distance measurement criterion, determine the k training samples closest to the sample to be predicted in the training set, and then combine the information of these k "nearest neighbors" to predict the sample to be predicted under certain decision rules. It can be seen that the determining factors of the kNN algorithm are: k value, decision rule and distance measurement criterion.

[0079] In the present invention, kNN is used to solve the regression problem:

[0080] The kNN algorithm can be used to fit continuous variables and handle regression problems. The decision rule in the regression task can choose the "average method", which is to average the real-valued outputs corresponding to the k closest training samples as the prediction result. The algorithm process is expressed as follows.

[0081] For supervised learning, input training set X:

[0082] X={(x (1) ,y (1) ),(x(2) ,y (2) ),…,(x (m) ,y (m) )} (3)

[0083] Among them, the training sample feature vector x (i) ∈i n , corresponding to the sample real value y (i) , i=1,2,…,m.

[0084] 1) According to a certain distance measurement criterion, after normalizing the data, calculate the distance between the sample to be predicted x and all training sample points in the training set X;

[0085] 2) Sort all distances in ascending order and select the k training sample points with the closest distances;

[0086] 3) The prediction result y of the sample to be tested is represented by the real-valued output y corresponding to the first k training sample points (i) The average of (i=1,2,…,k) is expressed as follows:

[0087]

[0088] When the kNN algorithm searches for the k nearest training samples to the sample to be predicted, the similarity in the multidimensional space is measured based on the calculated distance. For different problems, the data features are different, and using a suitable distance metric can get better prediction results. According to the form of distance, it can be divided into three categories: geometric distance, calculated distance, and statistical distance. In the kNN algorithm, the commonly used distance measurement criteria are mainly geometric distance and statistical distance. Assume that the feature vectors of the sample to be predicted and the training sample are both n-dimensional, that is, x, x (i) ∈i n , let the distance between the two vectors be D, and select Euclidean distance as the distance metric:

[0089]

[0090] As an important parameter, k value has a great influence on the prediction accuracy. However, the selection of k value is a difficult problem, and it should not be too small or too large.

[0091] If the k value is too small, the sample to be predicted will only be affected by a few nearest neighbor training sample points during the prediction process. If these sample points happen to be interference, the possibility of prediction errors will greatly increase. At the same time, a k value that is too small will result in an overall complex model, leading to overfitting. If the k value is too large, the amount of calculation will increase, and some training sample points that are far away from the sample to be predicted, have little relevance, or are even irrelevant will be involved in the prediction decision. Sometimes, because of their large number, they play a relatively large role in decision-making, which will also increase the possibility of prediction errors. At the same time, a k value that is too large will result in an overall simple model, leading to underfitting.

[0092] Cross-validation is one of the ways to select a k value that is suitable for a practical problem. This method first divides the data set into a training set and a test set repeatedly in proportion, then takes different k values ​​in the training set to obtain different models, and finally observes the model error in the test set, and finally selects the k value that minimizes the error.

[0093] The kNN algorithm does not process the training data during the modeling process, which can maximize the preservation of the essential characteristics of the input data. The kNN algorithm is used to re-complete the porosity prediction task based on the intermediate features of different depths, and the prediction results based on the intermediate features of different depths are compared horizontally to monitor the Bi-GRUs feature extraction process.

[0094] When training the kNN algorithm, the training data and labels are directly stored in pairs as a training sample library.

[0095] Step S4, Bi-GRUs prediction: input the data to be predicted into the training Bi-GRUs network to obtain the Bi-GRUs prediction result, and obtain the intermediate features of different depth networks.

[0096] In the prediction stage of the network, the data blocks to be predicted are sequentially input into the trained model to obtain the porosity prediction results of the same length as the height of the time window. The average value of the overlapping parts of the prediction results obtained by different data blocks to be predicted is taken as the final prediction result.

[0097] Analysis of the principle of Bi-GRUs shows that the establishment of a nonlinear mapping between local waveform attributes and equal-length well logging porosity curves can be regarded as the process of extracting porosity-sensitive attributes from prestack seismic data. After the Bi-GRUs network is trained, the training data and the data to be predicted are simultaneously input into the Bi-GRUs network, and the intermediate features of the data are obtained after passing through gated recurrent units of different depths. These intermediate features are porosity-sensitive attributes with different degrees of transformation of the original data automatically extracted by the Bi-GRUs network. This process is formally equivalent to the dimensionality reduction process from the high-dimensional prestack seismic data dimension (dimension = height of the time window × width of the time window) to the low-dimensional well logging porosity data dimension (dimension = height of the time window). During the network training process, the training samples are required to be as close to their labels as possible after the nonlinear transformation of the Bi-GRUs network, and this process is inevitably accompanied by the loss of effective information.

[0098] Step S5, kNN prediction and monitoring: input the intermediate features of the different depth networks into the training kNN algorithm to obtain multiple intermediate feature prediction results, and perform a horizontal comparison on the prediction results based on the intermediate features of different depths in the multiple intermediate feature prediction results to realize the monitoring of the Bi-GRUs feature extraction process.

[0099] In the prediction stage of the kNN algorithm, the time window in step S2 is used to slide on the pre-stack seismic data to be predicted to generate a data block to be predicted, and the porosity prediction result of the sampling point corresponding to the center of the time window is obtained by inputting the training kNN algorithm.

[0100] Step S6, result integration: integrating the Bi-GRUs prediction result and the multiple intermediate feature prediction results, and comprehensively analyzing to obtain the final porosity prediction result.

[0101] The prediction results of the kNN algorithm based on the features extracted by Bi-GRUs different depth networks are the prediction results of the same task from different angles. The integration of multiple results for comprehensive analysis and judgment makes the prediction results of the method more accurate and reliable.

[0102] In order to verify the application effect of the method of the present invention, this application used a numerical model and an actual four-dimensional pre-stack data volume for testing.

[0103] The numerical model used in the test is Figure 3As shown, the porosity range of the numerical model is 0-20%. There is a "bowl-shaped" tight sandstone reservoir in the upper left corner of the model, which shows a higher porosity. The dotted line indicates the location of the pseudo well. The classical rock physics model and seismic wave forward modeling theory are used to generate synthetic prestack seismic data for the numerical model. Five common depth point data sets are extracted as pseudo well data. The porosity value of the pseudo well simulates the porosity curve obtained by logging interpretation as a training label. Local waveform attributes are extracted from the prestack seismic data of the wellside channel corresponding to the pseudo well as training data. The kNN algorithm and the Bi-GRUs network are used separately to predict porosity based on artificial synthetic prestack seismic data. The porosity prediction results using the kNN algorithm alone are shown in Figure 1. Figure 4 As shown in Figure 1, it can be observed that the porosity prediction results near the pseudo wells are relatively accurate, but the reservoir morphology between the wells is not accurately described. The porosity prediction results using the Bi-GRUs network alone are shown in Figure 1. Figure 5 As shown in FIG. 1 , it can be observed that the prediction results show good lateral continuity, but the reservoir position and morphology are not accurately described. The porosity prediction results of the present invention are shown in FIG. Figure 6 As shown, although the lateral continuity of the entire section is reduced, the morphology and position of the reservoir are more accurately depicted, and the morphology of the reservoir is more accurately depicted than the prior art.

[0104] In order to demonstrate the practical application potential of this application, this application was tested using actual data, which is a four-dimensional pre-stack data volume from a work area in the east. Figure 7 What is shown is a post-stack seismic record well section of actual data. This well section passes through five wells. The vertical broken line in the figure is the porosity curve obtained by logging interpretation, and the horizontal curve is two seismic horizons. Tight sandstone reservoirs are developed near the lower seismic horizon. Prior geological knowledge of the work area indicates that three thin tight sandstone reservoirs are developed near the lower seismic horizon, with a porosity range of about 16%. These thin reservoirs cannot be distinguished by seismic data alone. The porosity prediction results of actual data obtained by using the kNN algorithm alone are as follows: Figure 8 As shown in Figure 1, it can be observed that only the approximate distribution of relatively high porosity areas can be depicted, and only the location of the tight sandstone reservoir can be detected. The reservoir morphology and porosity prediction values ​​are inaccurate. The actual data porosity prediction results obtained by using the Bi-GRUs network alone are shown in Figure 1. Fig. 9 As shown in the figure, it can be observed that the resolution of the tight sandstone reservoir position in the prediction results has been improved, but the porosity prediction value is higher than the porosity curve value obtained by logging interpretation. Fig.10 As shown, it can be observed that the three tight sandstone thin reservoirs developed near the lower seismic horizon are accurately portrayed, and the porosity prediction value is close to the porosity curve value obtained by logging interpretation.

[0105] Corresponding to the above-mentioned embodiments, the present application also provides a process-monitorable tight sandstone reservoir porosity intelligent time series prediction device.

[0106] See also Fig.11 , is a structural block diagram of a process-monitorable intelligent time-series prediction device for tight sandstone reservoir porosity provided in an embodiment of the present application. Fig.11 As shown, it mainly includes the following modules.

[0107] Data acquisition module 1101: used to acquire pre-stack seismic records.

[0108] The training set and data to be predicted generating module 1102 is used to process the pre-stack seismic records to generate training sets and data to be predicted.

[0109] Model training module 1103: used to train the Bi-GRUs network and the kNN algorithm respectively based on the training set to obtain a trained Bi-GRUs network and a trained kNN algorithm.

[0110] Bi-GRUs prediction module 1104: used to input the data to be predicted into the training Bi-GRUs network to obtain the Bi-GRUs prediction results, and at the same time obtain the intermediate features of different depth networks.

[0111] kNN prediction and monitoring module 1105: used to input the intermediate features of the different depth networks into the training kNN algorithm to obtain multiple intermediate feature prediction results, and to perform horizontal comparison on the prediction results based on the intermediate features of different depths in the multiple intermediate feature prediction results, so as to monitor the Bi-GRUs feature extraction process.

[0112] Result integration module 1106: used to integrate the Bi-GRUs prediction results and the multiple intermediate feature prediction results, and comprehensively analyze to obtain the final porosity prediction result.

[0113] It should be pointed out that the specific contents involved in the embodiments of the present application can be found in the description of the above method embodiments, and for the sake of brevity, they will not be repeated here.

[0114] Corresponding to the above embodiment, an embodiment of the present application further provides an electronic device.

[0115] See also Fig.12 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.12As shown, the electronic device 1200 may include: a processor 1201, a memory 1202 and a communication unit 1203. These components communicate through one or more buses. Those skilled in the art can understand that the electronic device structure shown in the figure does not constitute a limitation on the embodiments of the present application. It can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0116] The communication unit 1203 is used to establish a communication channel so that the electronic device can communicate with other devices.

[0117] The processor 1201 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 1202, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 1201 can include only a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.

[0118] Memory 1202 is used to store execution instructions of processor 1201. Memory 1202 can be implemented by any type of volatile or non-volatile storage device or a combination of them, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0119] When the execution instructions in the memory 1202 are executed by the processor 1201 , the electronic device 1200 is enabled to execute part or all of the steps in the above method embodiments.

[0120] Corresponding to the above embodiment, the embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium may store a program, wherein when the program is running, the device where the computer-readable storage medium is located may be controlled to perform some or all of the steps in the above method embodiment. In a specific implementation, the computer-readable storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0121] Corresponding to the above-mentioned embodiment, the embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes some or all of the steps in the above-mentioned method embodiment.

[0122] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0123] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0125] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.

[0126] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A process-monitorable intelligent time series prediction method for tight sandstone reservoir porosity, characterized in that: include: Acquire data: obtain pre-stack seismic records; Generating a training set and data to be predicted: performing data processing on the pre-stack seismic records to generate a training set and data to be predicted; Training model: Based on the training set, the Bi-GRUs network and the kNN algorithm are trained respectively to obtain a training Bi-GRUs network and a training kNN algorithm; Bi-GRUs prediction: input the data to be predicted into the training Bi-GRUs network to obtain the Bi-GRUs prediction result, and at the same time obtain the intermediate features of different depth networks; kNN prediction and monitoring: input the intermediate features of the different depth networks into the training kNN algorithm to obtain multiple intermediate feature prediction results, and compare the prediction results based on the intermediate features of different depths in the multiple intermediate feature prediction results horizontally to realize the monitoring of the Bi-GRUs feature extraction process; Result integration: Integrate the Bi-GRUs prediction results and the multiple intermediate feature prediction results, and comprehensively analyze to obtain the final porosity prediction result.

2. The method according to claim 1, characterized in that The steps to generate the training set include: Data preprocessing: performing refined preprocessing on the prestack seismic data; Well logging data processing: Use acoustic logging curves and density logging curves to match wells and seismic data, convert logging data from depth domain to time domain, and resample according to the seismic data sampling interval to obtain the logging porosity curve value corresponding to the underground sampling point; The training set is obtained, the logging porosity curve value corresponding to the underground sampling point is used as the label of the sampling point, and the well bypass seismic record is segmented using the time window centered on the sampling point to obtain the training set.

3. The method according to claim 2, characterized in that The height of the time window is the length of a seismic wavelet, and the width of the time window is the number of angle gathers contained in a single common depth point gather.

4. The method according to claim 2, characterized in that: When training the Bi-GRUs network, the temporal characteristics of the samples must be maintained when inputting the training set.

5. The method according to claim 2, characterized in that: When the kNN algorithm is trained, the training data and the labels in the training set are stored in pairs as a training sample library.

6. The method according to claim 2, characterized in that When generating the data to be predicted, the time window is used to slide on the pre-stack seismic record to generate the data to be predicted.

7. The method according to claim 3, characterized in that During the Bi-GRUs prediction process, the data to be predicted is sequentially input into the training Bi-GRUs network to obtain the Bi-GRUs prediction result; the Bi-GRUs prediction result is equal in length to the height of the time window.

8. A process-monitorable intelligent time-series prediction device for tight sandstone reservoir porosity, characterized in that: include: Data acquisition module: used to obtain pre-stack seismic records; A training set and data to be predicted generating module: used for processing the pre-stack seismic records to generate a training set and data to be predicted; Model training module: used to train the Bi-GRUs network and the kNN algorithm respectively based on the training set to obtain a training Bi-GRUs network and a training kNN algorithm; Bi-GRUs prediction module: used to input the data to be predicted into the training Bi-GRUs network to obtain the Bi-GRUs prediction results, and at the same time obtain the intermediate features of different depth networks; kNN prediction and monitoring module: used to input the intermediate features of the different depth networks into the training kNN algorithm to obtain multiple intermediate feature prediction results, and to compare the prediction results based on the intermediate features of different depths among the multiple intermediate feature prediction results horizontally, so as to realize the monitoring of the Bi-GRUs feature extraction process; Result integration module: used to integrate the Bi-GRUs prediction results and the multiple intermediate feature prediction results, and comprehensively analyze to obtain the final porosity prediction result.

9. An electronic device, characterized in that: include: processor; Memory; And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.