A fast inversion method for logging while drilling data based on transfer learning
By using a combination of transfer learning, convolutional neural networks, and LSTM networks in geosteering while drilling, the problem of well logging data inversion that relies too much on initial values and takes a long time is solved, achieving fast and accurate inversion with a small amount of data. , suitable for field applications in complex geological environments.
Patent Information
- Application Number
- CN202310750062.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-06-25
AI Technical Summary
In geosteering while drilling, the existing technology relies too much on initial values during the inversion process of well logging data and takes a long time, making it difficult to achieve fast and accurate inversion. Especially in complex geological environments, it is difficult to meet the real-time needs of the site.
A method based on transfer learning is used, combined with convolutional neural network and LSTM network, to construct an inversion model of azimuthal electromagnetic wave logging data while drilling. The transfer learning algorithm is used to reduce the demand for sample data, optimize the neural network structure, shorten calculation time, and improve inversion. Accuracy.
It achieves rapid and accurate inversion of geological parameters with a small amount of actual logging data, reduces the problem of gradient disappearance during the inversion process, improves the inversion speed and accuracy, and is suitable for on-site drilling operations.
Smart Images

Figure CN116992754B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil and gas exploration and development, and in particular to a rapid inversion method for logging while drilling data based on transfer learning. Background Art
[0002] With the development of the oil industry, small oil layers and thin interlayers have become the main battlefield for oil and gas exploration and development. Geosteering while drilling technology can improve the drilling rate of the target layer of the oil field by optimizing the wellbore trajectory in the reservoir. In order to effectively realize geosteering while drilling and evaluate the logging data in the reservoir, it is necessary to establish an effective inversion model. The inversion model involves complex mapping relationships between specific physical quantities. Reconstructing formation parameters from observation data as a complex nonlinear function comprehensive optimization process has complex response laws and strong nonlinear characteristics, making it difficult to quickly and accurately invert the logging data.
[0003] At present, conventional inversion methods mostly use gradient algorithms and random algorithms. When using gradient algorithms for inversion, it is necessary to construct a cost function to measure the error between the true value and the predicted value and set the initial value. The cost function is reduced through iterative calculation to obtain the inversion result. However, the iterative calculation process requires continuous calling of the forward model and repeated calculation of the Jacobian matrix, which is time-consuming, and the inversion result is overly dependent on the selection of the initial value and is prone to fall into the local minimum, resulting in large errors in the inversion result; when using random algorithms for inversion, it is necessary to repeat the forward modeling multiple times at each logging location, which is very time-consuming, so that the random algorithm is also greatly limited when applied to the inversion of logging data, and it is difficult to meet the needs of on-site drilling operations. Therefore, how to achieve accurate and real-time inversion of instruments in complex geological environments has become an urgent problem to be solved in geosteering logging while drilling.
[0004] The rapid development of deep learning methods has provided new ideas for solving difficult problems in the field of earth exploration. Although deep learning methods can fit strong nonlinear mapping relationships, which meets the needs of real-time inversion of LWD data in LWD geosteering, the accuracy of deep learning methods is extremely dependent on the complexity of the network structure and the sample size of the training data. The small amount of labeled sample data seriously hinders the application of deep learning in the field of geophysics. Therefore, it is urgent to propose a LWD data inversion method based on transfer learning to overcome the problem of small amount of LWD measured data in the inversion process. Summary of the invention
[0005] The purpose of the present invention is to propose a rapid inversion method for LWD data based on transfer learning, which can realize rapid inversion of logging data based on a small amount of actual LWD data, improve the inversion accuracy of the LWD data inversion model, solve the problem that the LWD data inversion is overly dependent on initial values and is time-consuming, and has good application prospects.
[0006] In order to achieve the above object, the present invention adopts the following technical scheme:
[0007] A rapid inversion method for logging while drilling data based on transfer learning includes the following steps:
[0008] Step 1: According to the instrument structure of the multi-component electromagnetic logging while drilling instrument and the formation parameters of the layered anisotropic formation, a forward model of azimuthal electromagnetic logging while drilling is established, wherein the forward model of azimuthal electromagnetic logging while drilling includes a layered anisotropic formation model and a multi-component electromagnetic logging while drilling instrument model, and the forward model of azimuthal electromagnetic logging while drilling is used to simulate the logging while drilling response of the multi-component electromagnetic logging while drilling instrument in the layered anisotropic formation;
[0009] Step 2, setting the frequency and source distance of the transmitting coil in the multi-component electromagnetic logging while drilling instrument model in the azimuthal electromagnetic logging while drilling forward model, sequentially changing the formation inclination θ, formation horizontal resistivity Rh, formation vertical resistivity Rv and anisotropy coefficient λ of the layered anisotropic formation model in the azimuthal electromagnetic logging while drilling forward model, simulating the logging while drilling response curve of the multi-component electromagnetic logging while drilling instrument under different formation parameter conditions, and analyzing the variation law of the logging while drilling response curve with each formation parameter;
[0010] Step 3, according to the logging while drilling response curve obtained by simulating the forward model of the azimuthal electromagnetic wave logging while drilling under different formation parameter conditions, the logging while drilling response of the multi-component electromagnetic wave logging while drilling instrument under different formation parameter conditions is obtained, the logging while drilling response of the multi-component electromagnetic wave logging while drilling instrument is used as the source domain data, the formation parameters corresponding to the logging while drilling response are used as labels, the logging while drilling response data is generated, and the logging while drilling response database is constructed;
[0011] Step 4, after pre-processing each logging while drilling response data in the logging while drilling response database, normalizing each logging while drilling response data in the logging while drilling response database to obtain normalized logging while drilling response data, and dividing the normalized logging while drilling response data in the logging while drilling response database to obtain a training set and a validation set;
[0012] Step 5, based on a neural network combining a convolutional neural network and a LSTM network, a while-drilling azimuthal electromagnetic wave logging data inversion model is constructed, wherein the input of the while-drilling azimuthal electromagnetic wave logging data inversion model is the while-drilling logging response curve, and the output is the formation parameter;
[0013] Step 6, inputting the while drilling logging response data in the training set into the while drilling azimuthal electromagnetic wave logging data inversion model in sequence, training the while drilling azimuthal electromagnetic wave logging data inversion model, obtaining formation parameters according to the while drilling logging response inversion, training the while drilling azimuthal electromagnetic wave logging data inversion model until the loss function value of the while drilling azimuthal electromagnetic wave logging data inversion model is less than a preset accuracy value, and obtaining the trained while drilling azimuthal electromagnetic wave logging data inversion model;
[0014] Step 7, using the logging while drilling response data in the validation set to verify the trained azimuthal electromagnetic wave logging while drilling data inversion model, using the trained azimuthal electromagnetic wave logging while drilling data inversion model to invert formation parameters, and determining the loss function value of the azimuthal electromagnetic wave logging while drilling data inversion model during the inversion process. If the loss function value of the azimuthal electromagnetic wave logging while drilling data inversion model is less than a preset accuracy value, the trained azimuthal electromagnetic wave logging while drilling data inversion model is output as the source domain network model; otherwise, the hyperparameters of the neural network are adjusted, and the process returns to step 6 to continue training the azimuthal electromagnetic wave logging while drilling data inversion model.
[0015] Step 8: Based on transfer learning, the source domain network model is used to construct the target domain network model, and the actual logging data is obtained. The actual logging data is normalized and used as the target threshold data to construct the actual logging data set. The weight parameters of the last layer in the neural network used to construct the source domain network model are randomly initialized, and the target domain network model is trained in sequence using each target threshold data in the actual logging data set. The source domain network model is transferred to the actual logging data inversion process, and the loss function value of the target domain network model is obtained. If the loss function value is less than the preset accuracy value, the hyperparameters of the neural network in the target domain network model are adjusted, and the target threshold data is continued to be used to train the target domain network model. Otherwise, the trained target domain network model is output to obtain the LWD data inversion model based on transfer learning.
[0016] Step 9: output the LWD data inversion model based on transfer learning, and verify the accuracy of the inversion results of the LWD data inversion model based on transfer learning.
[0017] Preferably, in the forward model of the azimuthal electromagnetic logging while drilling, the multi-component electromagnetic logging while drilling instrument model is located in the layered anisotropic formation model, and the layered anisotropic formation model is set according to the formation parameters of the layered anisotropic formation, and a plurality of formation interfaces are sequentially arranged from top to bottom; the formation parameters of the layered anisotropic formation include azimuth Formation dip angle θ, formation horizontal resistivity Rh, formation vertical resistivity Rv and anisotropy coefficient λ;
[0018] The multi-component electromagnetic wave logging while drilling instrument model is provided with a transmitting coil system and a receiving coil system, the distance between the transmitting coil system and the receiving coil system is the source distance, the three transmitting coils in the transmitting coil system are mutually orthogonal, and the three receiving coils in the receiving coil system are mutually orthogonal, the frequency and source distance of the transmitting coil in the multi-component electromagnetic wave logging while drilling instrument model are set, and the logging while drilling response of the multi-component electromagnetic wave logging while drilling instrument in the layered anisotropic formation is simulated by using the forward modeling of azimuthal electromagnetic wave logging while drilling.
[0019] Preferably, in step 4, the normalization calculation formula for the logging while drilling response data is:
[0020]
[0021] Where x′ is the LWD response data after normalization, x is the LWD response data before processing, μ is the mean of the LWD response, and δ is the standard deviation of the LWD response;
[0022] Preferably, the LSTM network has three inputs at time t: unit state C t-1 , hidden layer state h t-1 and the current input feature x t ;
[0023] In the LSTM network, a forget gate f is set in the unit gate. t , Update gate i t and output gate o t ;
[0024] Unit door status C t for:
[0025]
[0026] in,
[0027] f t =σ(W f ·[h t-1 ,x t ]+b f ) (3)
[0028] i t =σ(W i ·[h t-1 ,x t ]+b i ) (4)
[0029]
[0030] In the formula, f t is the forget gate, which controls the discarded unit state C t-1Some information in W f is the weight of the forget gate, b f is the bias of the forget gate; x t is the input variable at time t, h t-1 is the hidden layer state at time t-1; i t To update the gate, select Keep candidate cell states Some information in W C is the weight of the update gate, b C is the bias of the update gate; Update the value of the cell state, W C is the weight of the new candidate unit state, b C is the bias of the new candidate unit state; σ is the softmax function, which is used to compress the data into the range of 0 to 1;
[0031] Hidden layer output result h t By output gate o t and the unit gate state C calculated in the previous step t It is calculated by the tanh activation function, as shown in formula (6):
[0032] h t =o t *tanh(C t ) (6)
[0033] in,
[0034] o t =σ(W o [h t-1 ,x t ]+b o ) (7)
[0035] In the formula, o t is the output gate, W o is the weight of the output gate, b o is the bias of the output gate.
[0036] Preferably, the inversion model of azimuthal electromagnetic wave logging data while drilling is trained based on the Batch Normalization algorithm, as shown in formula (8):
[0037]
[0038] In the formula, x=(x1,x2,…,x k ,…,x d ) is the input data, with dimension d; is the data processed by the BatchNormalization algorithm, γ k and β k are all learning parameters, γk The initial value of β is set to 1, k The initial value of is set to 0, E is the mathematical expectation of the input data, Var is the standard deviation of the input data, and ε is a very small number greater than zero;
[0039] The loss function value of the inversion model of azimuthal electromagnetic logging data while drilling is:
[0040]
[0041] In the formula, loss MSE is the loss function value, i is, y i is the true value of the formation parameter corresponding to the i-th LWD response data in the training set, is the calculation result of the ith LWD response data in the training set using the LWD azimuthal electromagnetic wave logging data inversion model, and n is the total number of LWD response data in the training set.
[0042] Preferably, the accuracy value is set to 5%.
[0043] The present invention has the following advantages:
[0044] The present invention combines a convolutional neural network and an LSTM network to construct an azimuthal electromagnetic wave logging while drilling data inversion model, and combines the migration algorithm to reduce the amount of sample data required for the training process of the azimuthal electromagnetic wave logging while drilling data inversion model. By optimizing the neural network structure, the calculation time is greatly shortened, the inversion accuracy and inversion speed of the azimuthal electromagnetic wave logging while drilling data inversion model are improved, and the problem of small gradient in the inversion process is solved. The azimuthal electromagnetic wave logging while drilling data inversion model based on migration learning can realize the accurate inversion of geological parameters according to the response of the logging while drilling when the actual logging while drilling data is small, and has good application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a flow chart of the rapid inversion method of LWD data based on transfer learning.
[0046] Figure 2 It is a structural diagram of the forward model of azimuthal electromagnetic wave logging while drilling; Figure 2 Medium T x is the x-axis direction of the transmitting coil system, T y is the y-axis direction of the transmitting coil system, T z is the z-axis direction of the transmitting coil system, R x is the x-axis direction of the receiving coil system, R y is the y-axis direction of the receiving coil system, R z is the z-axis direction of the receiving coil system.
[0047] Figure 3 It is the apparent conductivity component simulated by the forward model of azimuthal electromagnetic logging while drilling under different formation inclination conditions.
[0048] Figure 4 This is a structural diagram of the LSTM network. DETAILED DESCRIPTION
[0049] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0050] This embodiment proposes a fast inversion method for logging while drilling data based on transfer learning, such as Figure 1 As shown, the specific steps include:
[0051] Step 1: Obtain the instrument structure of the multi-component electromagnetic wave logging while drilling instrument and the formation parameters of the layered anisotropic formation. The formation parameters include azimuth The formation dip angle θ, formation horizontal resistivity Rh, formation vertical resistivity Rv and anisotropy coefficient λ are used to establish a forward model of azimuthal electromagnetic logging while drilling according to the instrument structure of the multi-component electromagnetic logging while drilling instrument and the formation parameters of the layered anisotropic formation.
[0052] The forward model of azimuthal electromagnetic logging while drilling is as follows: Figure 2 As shown, it includes a layered anisotropic formation model and a multi-component while drilling electromagnetic wave logging instrument model. A transmitting coil system and a receiving coil system are set in the multi-component while drilling electromagnetic wave logging instrument model. The distance between the transmitting coil system and the receiving coil system is the source distance. The three transmitting coils in the transmitting coil system are orthogonal to each other, and the three receiving coils in the receiving coil system are orthogonal to each other. The frequency and source distance of the transmitting coil in the multi-component while drilling electromagnetic wave logging instrument model are set.
[0053] By setting the transmitting frequency and source distance of the transmitting coil system in the multi-component electromagnetic logging while drilling instrument model, the forward model of azimuthal electromagnetic logging while drilling is used to simulate the logging while drilling response of the multi-component electromagnetic logging while drilling instrument in layered anisotropic formations.
[0054] Step 2, setting the frequency and source distance of the transmitting coil in the multi-component electromagnetic logging while drilling instrument model in the azimuthal electromagnetic logging while drilling forward model, sequentially changing the formation inclination θ, formation horizontal resistivity Rh, formation vertical resistivity Rv and anisotropy coefficient λ of the layered anisotropic formation model in the azimuthal electromagnetic logging while drilling forward model, simulating the logging while drilling response curve of the multi-component electromagnetic logging while drilling instrument under different formation parameter conditions, and analyzing the variation law of the logging while drilling response curve with each formation parameter.
[0055] In this embodiment, when the frequency and source distance of the transmitting coil in the multi-component electromagnetic logging while drilling instrument model are fixed in the azimuthal electromagnetic logging while drilling forward model, and the formation inclination θ of the layered anisotropic formation model is set to 60°, 70°, 80° and 90° in sequence, the azimuthal electromagnetic logging while drilling forward model is used to simulate the logging while drilling response of the multi-component electromagnetic logging while drilling instrument in the layered anisotropic formation under different formation inclination conditions, as shown in FIG. Figure 3 shown.
[0056] Step 3, according to the logging while drilling response curve simulated by the forward model of the azimuthal electromagnetic wave logging while drilling under different formation parameter conditions, the logging while drilling response of the multi-component electromagnetic wave logging while drilling instrument under different formation parameter conditions is obtained, the logging while drilling response of the multi-component electromagnetic wave logging while drilling instrument is used as the source domain data, and the formation parameters corresponding to the logging while drilling response are used as labels, to generate the logging while drilling response data and build a logging while drilling response database.
[0057] Step 4, after preprocessing each LWD response data in the LWD response database, the preprocessing includes supplementing missing values, denoising and removing outliers, and then using the LWD response data normalization calculation formula to normalize each LWD response data in the LWD response database to obtain the normalized LWD response data, and after normalizing the LWD response data in the LWD response database to the same scale, the normalized LWD response data in the LWD response database are divided to obtain a training set and a validation set.
[0058] In this embodiment, the calculation formula for normalization processing of logging while drilling response data is:
[0059]
[0060] Where x′ is the LWD response data after normalization, x is the LWD response data before processing, μ is the mean of the LWD response, and δ is the standard deviation of the LWD response.
[0061] Step 5: Based on a neural network that combines a convolutional neural network and a LSTM network, a while-drilling azimuthal electromagnetic wave logging data inversion model is constructed. The input of the while-drilling azimuthal electromagnetic wave logging data inversion model is the while-drilling logging response curve, and the output is the formation parameters. The Adam optimizer algorithm is used.
[0062] In this embodiment, the LSTM network is as follows: Figure 4 As shown, there are three inputs at time t: unit state C t-1 , hidden layer state h t-1 and the current input feature x t .
[0063] In the LSTM network, a forget gate f is set in the unit gate. t , Update gate i t and output gate o t ;
[0064] Unit door status C t for:
[0065]
[0066] in,
[0067] f t =σ(W f ·[h t-1 ,x t ]+b f ) (3)
[0068] i t =σ(W i ·[h t-1 ,x t ]+b i ) (4)
[0069]
[0070] In the formula, f t is the forget gate, which controls the discarded unit state C t-1 Some information in W f is the weight of the forget gate, b f is the bias of the forget gate; x t is the input variable at time t, h t-1 is the hidden layer state at time t-1; i t To update the gate, select Keep candidate cell states Some information in W C is the weight of the update gate, b C is the bias of the update gate; Update the value of the cell state, W C is the weight of the new candidate unit state, b C is the bias of the new candidate unit state; σ is the softmax function, which is used to compress the data into the range of 0 to 1;
[0071] Hidden layer output result h t By output gate o t and the unit gate state C calculated in the previous step t It is calculated by the tanh activation function, as shown in formula (6):
[0072] h t =o t *tanh(C t) (6)
[0073] in,
[0074] o t =σ(W o [h t-1 ,x t ]+b o ) (7)
[0075] In the formula, o t is the output gate, W o is the weight of the output gate, b o is the bias of the output gate.
[0076] Step 6, input the LWD response data in the training set into the LWD azimuthal electromagnetic wave logging data inversion model in sequence, train the LWD azimuthal electromagnetic wave logging data inversion model, obtain formation parameters according to the LWD response inversion, train the LWD azimuthal electromagnetic wave logging data inversion model until the loss function value of the LWD azimuthal electromagnetic wave logging data inversion model is less than the preset accuracy value of 5%, and obtain the trained LWD azimuthal electromagnetic wave logging data inversion model.
[0077] In order to prevent the problem of gradient disappearance during the training process, this embodiment trains the inversion model of azimuthal electromagnetic wave logging data while drilling based on the Batch Normalization algorithm, as shown in formula (8):
[0078]
[0079] In the formula, x=(x1,x2,…,x k ,…,x d ) is the input data, with dimension d; is the data processed by the BatchNormalization algorithm, γ k and β k are all learning parameters, γ k The initial value of β is set to 1, k The initial value of is set to 0, E is the mathematical expectation of the input data, and the learning parameter γ is used during the training process. k and β k It is continuously updated with the number of training times; Var is the standard deviation of the input data, and ε is a very small number greater than zero.
[0080] In this embodiment, the loss function value of the while-drilling azimuthal electromagnetic wave logging data inversion model is:
[0081]
[0082] In the formula, loss MSE is the loss function value, i is, yi is the true value of the formation parameter corresponding to the i-th LWD response data in the training set, is the calculation result of the ith LWD response data in the training set using the LWD azimuthal electromagnetic wave logging data inversion model, and n is the total number of LWD response data in the training set.
[0083] Step 7, using the logging while drilling response data in the validation set to verify the trained azimuthal electromagnetic wave logging while drilling data inversion model, using the trained azimuthal electromagnetic wave logging while drilling data inversion model to invert formation parameters, and determining the loss function value of the azimuthal electromagnetic wave logging while drilling data inversion model during the inversion process. If the loss function value of the azimuthal electromagnetic wave logging while drilling data inversion model is less than the preset accuracy value of 5%, the trained azimuthal electromagnetic wave logging while drilling data inversion model is output as the source domain network model; otherwise, the hyperparameters of the neural network are adjusted, and the process returns to step 6 to continue training the azimuthal electromagnetic wave logging while drilling data inversion model.
[0084] Step 8, based on transfer learning, use the source domain network model to build the target domain network model, obtain actual logging data, normalize the actual logging data and use it as target threshold data to build an actual logging data set, randomly initialize the weight parameters of the last layer in the neural network used to build the source domain network model, use each target threshold data in the actual logging data set to train the target domain network model in turn, transfer the source domain network model to the actual logging data inversion process, obtain the loss function value of the target domain network model, if the loss function value is less than the preset accuracy value of 5%, adjust the hyperparameters of the neural network in the target domain network model, and continue to use the target threshold data to train the target domain network model, otherwise, output the trained target domain network model to obtain the LWD data inversion model based on transfer learning.
[0085] Step 9: output the LWD data inversion model based on transfer learning, verify the accuracy of the inversion results of the LWD data inversion model based on transfer learning, and use the LWD response data in the verification set to input the LWD data inversion model based on transfer learning.
[0086] In this embodiment, the LWD data inversion model based on transfer learning is used for inversion to obtain the accuracy, inversion speed and generalization ability of the inversion result. After determining that the accuracy, inversion speed and generalization ability of the inversion result meet the requirements, the LWD data inversion model based on transfer learning is packaged, and the LWD data inversion model that meets the LWD data inversion requirements is obtained based on transfer learning.
[0087] Of course, the above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiments. It should be noted that all equivalent substitutions and obvious deformation forms made by any technician familiar with the field under the guidance of this specification fall within the essential scope of this specification and should be protected by the present invention.
Claims
1. A fast inversion method for logging while drilling data based on transfer learning, characterized in that: The steps include: Step 1: According to the instrument structure of the multi-component electromagnetic logging while drilling instrument and the formation parameters of the layered anisotropic formation, a forward model of azimuthal electromagnetic logging while drilling is established, wherein the forward model of azimuthal electromagnetic logging while drilling includes a layered anisotropic formation model and a multi-component electromagnetic logging while drilling instrument model, and the forward model of azimuthal electromagnetic logging while drilling is used to simulate the logging while drilling response of the multi-component electromagnetic logging while drilling instrument in the layered anisotropic formation; Step 2, setting the frequency and source distance of the transmitting coil in the multi-component electromagnetic logging while drilling instrument model in the azimuthal electromagnetic logging while drilling forward model, sequentially changing the formation inclination θ, formation horizontal resistivity Rh, formation vertical resistivity Rv and anisotropy coefficient λ of the layered anisotropic formation model in the azimuthal electromagnetic logging while drilling forward model, simulating the logging while drilling response curve of the multi-component electromagnetic logging while drilling instrument under different formation parameter conditions, and analyzing the variation law of the logging while drilling response curve with each formation parameter; Step 3, according to the logging while drilling response curve obtained by simulating the forward model of the azimuthal electromagnetic wave logging while drilling under different formation parameter conditions, the logging while drilling response of the multi-component electromagnetic wave logging while drilling instrument under different formation parameter conditions is obtained, the logging while drilling response of the multi-component electromagnetic wave logging while drilling instrument is used as the source domain data, the formation parameters corresponding to the logging while drilling response are used as labels, the logging while drilling response data is generated, and the logging while drilling response database is constructed; Step 4, after pre-processing each logging while drilling response data in the logging while drilling response database, normalizing each logging while drilling response data in the logging while drilling response database to obtain normalized logging while drilling response data, and dividing the normalized logging while drilling response data in the logging while drilling response database to obtain a training set and a validation set; Step 5, based on a neural network combining a convolutional neural network and a LSTM network, a while-drilling azimuthal electromagnetic wave logging data inversion model is constructed, wherein the input of the while-drilling azimuthal electromagnetic wave logging data inversion model is the while-drilling logging response curve, and the output is the formation parameter; Step 6, inputting the while drilling logging response data in the training set into the while drilling azimuthal electromagnetic wave logging data inversion model in sequence, training the while drilling azimuthal electromagnetic wave logging data inversion model, obtaining formation parameters according to the while drilling logging response inversion, training the while drilling azimuthal electromagnetic wave logging data inversion model until the loss function value of the while drilling azimuthal electromagnetic wave logging data inversion model is less than a preset accuracy value, and obtaining the trained while drilling azimuthal electromagnetic wave logging data inversion model; Step 7, using the logging while drilling response data in the validation set to verify the trained azimuthal electromagnetic wave logging while drilling data inversion model, using the trained azimuthal electromagnetic wave logging while drilling data inversion model to invert formation parameters, and determining the loss function value of the azimuthal electromagnetic wave logging while drilling data inversion model during the inversion process. If the loss function value of the azimuthal electromagnetic wave logging while drilling data inversion model is less than a preset accuracy value, the trained azimuthal electromagnetic wave logging while drilling data inversion model is output as the source domain network model; otherwise, the hyperparameters of the neural network are adjusted, and the process returns to step 6 to continue training the azimuthal electromagnetic wave logging while drilling data inversion model. Step 8: Based on transfer learning, the source domain network model is used to construct the target domain network model, and the actual logging data is obtained. The actual logging data is normalized and used as the target threshold data to construct the actual logging data set. The weight parameters of the last layer in the neural network used to construct the source domain network model are randomly initialized, and the target domain network model is trained in sequence using each target threshold data in the actual logging data set. The source domain network model is transferred to the actual logging data inversion process, and the loss function value of the target domain network model is obtained. If the loss function value is less than the preset accuracy value, the hyperparameters of the neural network in the target domain network model are adjusted, and the target threshold data is continued to be used to train the target domain network model. Otherwise, the trained target domain network model is output to obtain the LWD data inversion model based on transfer learning. Step 9: output the LWD data inversion model based on transfer learning, and verify the accuracy of the inversion results of the LWD data inversion model based on transfer learning.
2. The rapid inversion method for logging while drilling data based on transfer learning according to claim 1 is characterized in that: In the forward model of the azimuth electromagnetic wave logging while drilling, the multi-component electromagnetic wave logging while drilling instrument model is located in the layered anisotropic formation model, and the layered anisotropic formation model is set according to the formation parameters of the layered anisotropic formation, and a plurality of formation interfaces are sequentially arranged from top to bottom; the formation parameters of the layered anisotropic formation include azimuth angle φ, formation dip angle θ, formation horizontal resistivity Rh, formation vertical resistivity Rv and anisotropy coefficient λ; The multi-component electromagnetic wave logging while drilling instrument model is provided with a transmitting coil system and a receiving coil system, the distance between the transmitting coil system and the receiving coil system is the source distance, the three transmitting coils in the transmitting coil system are mutually orthogonal, and the three receiving coils in the receiving coil system are mutually orthogonal, the frequency and source distance of the transmitting coil in the multi-component electromagnetic wave logging while drilling instrument model are set, and the logging while drilling response of the multi-component electromagnetic wave logging while drilling instrument in the layered anisotropic formation is simulated by using the forward modeling of azimuthal electromagnetic wave logging while drilling.
3. The rapid inversion method for logging while drilling data based on transfer learning according to claim 1 is characterized in that: In step 4, the normalization calculation formula of the logging while drilling response data is: Where x′ is the LWD response data after normalization, x is the LWD response data before processing, μ is the mean of the LWD response, and δ is the standard deviation of the LWD response.
4. The rapid inversion method for logging while drilling data based on transfer learning according to claim 1 is characterized in that: The LSTM network has three inputs at time t: the cell state C t-1 , hidden layer state h t-1 and the current input feature x t ; In the LSTM network, a forget gate f is set in the unit gate. t , Update gate i t and output gate o t ; Unit door status C t for: in, f t =σ(W f ·[h t-1 ,x t ]+b f ) (3) i t =σ(W i ·[h t-1 ,x t ]+b i ) (4) In the formula, f t is the forget gate, which controls the discarded unit state C t-1 Some information in W f is the weight of the forget gate, b f is the bias of the forget gate; x t is the input variable at time t, h t-1 is the hidden layer state at time t-1; i t To update the gate, select Keep candidate cell states Some information in W i is the weight of the update gate, b i is the bias of the update gate; Update the value of the cell state, W C is the weight of the new candidate unit state, b C is the bias of the new candidate unit state; σ is the softmax function, which is used to compress the data into the range of 0 to 1; Hidden layer output result h t By output gate o t and the unit gate state C calculated in the previous step t It is calculated by the tanh activation function, as shown in formula (6): h t =o t *tanh(C t ) (6) in, the t =σ(W o [h t-1 ,x t ]+b o ) (7) In the formula, o t is the output gate, W o is the weight of the output gate, b o is the bias of the output gate.
5. The rapid inversion method for logging while drilling data based on transfer learning according to claim 4 is characterized in that: The inversion model of azimuthal electromagnetic logging data while drilling is trained based on the Batch Normalization algorithm, as shown in formula (8): In the formula, x=(x1,x2,…,x k ,…,x d ) is the input data, with dimension d; is the data processed by the Batch Normalization algorithm, γ k and β k are all learning parameters, γ k The initial value of β is set to 1, k The initial value of is set to 0, E is the mathematical expectation of the input data, Var is the standard deviation of the input data, and ε is a very small number greater than zero; The loss function value of the inversion model of azimuthal electromagnetic wave logging data while drilling is: In the formula, loss MSE is the loss function value, y i is the true value of the formation parameter corresponding to the i-th LWD response data in the training set, is the calculation result of the ith LWD response data in the training set using the LWD azimuthal electromagnetic wave logging data inversion model, and n is the total number of LWD response data in the training set.
6. The rapid inversion method for logging while drilling data based on transfer learning according to claim 1 is characterized in that: The accuracy value is set to 5%.
Citation Information
Patent Citations
After-drilling inversion method for while-drilling electromagnetic wave well-log data of high deviated well / horizontal well
CN108345719A
Automatic classification method for stratum classification of logging-while-drilling image
CN115393656A
Method for reservoir parameter inversion through combination of resistivity and nuclear logging under mud invasion
CN115629428A
While-drilling azimuth electromagnetic wave logging data inversion method based on Unet convolutional neural network
CN115795994A
Methods for inverting electromagnetic logging measurements
US20180335543A1
