A method for identifying lithology
By constructing a labeled sample set and automatically adjusting model parameters, the problem of difficulty in setting the complexity of the lithology identification model in the existing technology is solved, and the lithology identification accuracy and model generalization performance in new wells are improved.
Patent Information
- Application Number
- CN202110132186.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-21
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-06-21
AI Technical Summary
Existing lithology identification methods based on machine learning fail to automatically set optimal model complexity, resulting in low lithology identification accuracy in new wells.
By constructing a labeled sample set of existing logging data, initializing the number of intermediate layer nodes and weighting coefficients, generating multiple intermediate weight matrices and input weight vectors, and combining activation functions and Gaussian distributions, the model parameters are automatically adjusted to optimize the output weight matrix, achieving Automatic optimization of models.
The generalization performance and operating efficiency of the model are improved, and the accuracy of lithology identification in new wells is ensured.
Smart Images

Figure CN115506783B
Abstract
Description
Technical Field
[0001] The invention relates to the fields of structural geology and petroleum geology, and in particular to a lithology identification method. Background Art
[0002] Lithology identification has always been a key issue in geological engineering research. The existing technologies for lithology identification mainly include geological research methods, intersection diagram methods, and lithology identification using mathematical algorithms. The methods involved are artificial experience methods that rely on expert knowledge, and the prediction results given by different experts may be inconsistent.
[0003] The machine learning methods that have emerged in recent years have injected fresh blood into lithology identification. The prior art discloses a multi-well complex lithology intelligent identification method, which first determines the target logging data file and performs format conversion and normalization preprocessing, then performs feature screening and / or feature combination expansion on the logging curve data according to the known lithology of the key coring wells in the whole area in the coring section to obtain the logging curve data sensitive to the lithology, and then labels and calibrates the logging curve data sensitive to the lithology response to form a sample database, and at the same time, the unlabeled logging curve data in the whole area is formed into a database to be tested, and then the data in the sample database is used in combination with several machine learning algorithms for machine learning training to automatically establish several lithology identification models, select the optimal model through the classification performance evaluation rule, and use the optimal model to predict the lithology of the data in the database to be tested to achieve intelligent identification of multi-well complex lithology in the whole area, which is efficient and convenient, applicable to the whole area, and the automatic intelligent prediction results are very accurate.
[0004] However, these machine learning-based lithology identification methods do not propose specific models for lithology identification, but only apply existing general models. This direct application has some problems, such as how to automatically set the optimal model complexity to ensure that the trained model can achieve better lithology identification accuracy on new wells. Summary of the invention
[0005] The object of the present invention is to provide a lithology identification method, the method comprising the steps of:
[0006] Step 1: Construct a labeled sample set of existing logging data: obtain existing logging data, and all logging values at each depth form a feature vector, i.e., a sample. The logging values include but are not limited to natural gamma, natural potential, well diameter, acoustic wave time difference, density, compensated neutron, deep lateral resistivity, and shallow lateral resistivity. A sample is expressed as x∈R d×1 , where R represents the real number domain and d is the sample dimension; the sample set consisting of the existing logging data is Where n is the total number of samples in the set; the lithology is marked for the existing logging sample set, and Lithology labeling y i For x i Corresponding lithology label, y i ∈R 1×c is the unique hot code of the lithology, c is the total number of lithology types; Indicates the 1st to cth lithologies;
[0007] Step 2: Initialize the system, set the number of middle-layer nodes z>0 to a positive integer, and set the weighting coefficient Where m = 1, 2, ..., M and M is the total number of weighted coefficients; set the model complexity coefficient λ>0, set the weighted balance coefficient γ>0, set the weighted adjustment coefficient τ>0, and set the maximum number of iterations K>0 to a positive integer;
[0008] Step 3: Generate M different intermediate weight matrices Λ m ∈R n×z , generate M different sets of input weight vectors and With input bias set And b m ∈R; then generate M different intermediate weight matrices Λ m , the method is as follows:
[0009] Λ m =[α m (x1); α m (x2); ...; α m (xn ) ],
[0010] Among them, [α m (x1); α m (x2); ...; α m (x n )] means to convert α m (x1),α m (x2),…,α m (x n )Vertical combination, is the mth intermediate weight vector corresponding to sample x,
[0011] Where φ(·;·,·) is the activation function;
[0012] Step 4: Calculate the optimal output weight matrix Ω when m = 1, 2, ..., M m ∈R z×c , as follows:
[0013]
[0014] in, is the dimensionally appropriate unit matrix, Y = [y1; y2; ...; y n ] is the labeling matrix;
[0015] Step 5: Calculate the weighting coefficient when m = 1, 2, ..., M The details are as follows:
[0016] Step 501, let i=1;
[0017] Step 502: let j=i+1;
[0018] Step 503: in, is the F norm; if Θ<0, let θ i ←0 and θ j ←θ i +θ j ; Otherwise, that is, Θ>0, let θ i ←Θ and θ j ←θ i +θ j -Θ;
[0019] Step 504: Let j←j+1. If j≤M, jump to step 503; otherwise, jump to step 505.
[0020] Step 505: Let i←i+1. If i≤M-1, jump to step 502; otherwise, jump to step 6.
[0021] Step 6: Determine whether to end the training: Let k←k+1. If k≤K, jump to step 4; otherwise, jump to step 7.
[0022] Step 7: Predict the lithology of the new well, organize the new logging data into a sample set, and calculate
[0023]
[0024] in, is a sample in the new sample set, for The prediction results are The index number of the maximum value in is Corresponding to the lithology number, the lithology distribution of the new logging is obtained.
[0025] Further, in step 3, the input weight vector set is generated With input bias set When using the following method: where N(·,·) is a Gaussian distribution, for The generated variance, σ mfor The generating variance of , U is a 1×d vector with all elements being 1.
[0026] Furthermore, the generated variance is taken as follows: And m=1,2,…,M.
[0027] Furthermore, the activation function involved is:
[0028]
[0029] or
[0030]
[0031] Among them, x is a sample, w is an input weight vector, and b is an input bias.
[0032] The embodiments of the present invention have the following beneficial technical effects: 1) the model parameters are analytical and therefore have extremely high operating efficiency; 2) multiple intermediate output matrices and automatic optimization algorithms are introduced to ensure that the model has high generalization performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 The present invention is a flowchart of a lithology identification method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings.
[0035] like Figure 1 FIG. 1 is a flow chart of a lithology identification method according to an embodiment of the present invention, and the steps are as follows:
[0036] Step 1: Construct a labeled sample set of existing logging data: obtain existing logging data, and all logging values at each depth form a feature vector, i.e., a sample. The logging values include but are not limited to natural gamma, natural potential, well diameter, acoustic wave time difference, density, compensated neutron, deep lateral resistivity, and shallow lateral resistivity. A sample is expressed as x∈R d×1 ,in represents the real number domain, d is the sample dimension; the sample set consisting of existing logging data is Where n is the total number of samples in the set; label the lithology of the existing logging sample set: Lithology labeling y i For x i Corresponding lithology label, y i ∈R 1×c is the unique hot code of the lithology, c is the total number of lithology types; Indicates the 1st to cth lithologies;
[0037] Step 2: Initialize the system, set the number of middle-layer nodes z>0 to a positive integer, and set the weighting coefficient Where m = 1, 2, ..., M and M is the total number of weighted coefficients; set the model complexity coefficient λ>0, set the weighted balance coefficient γ>0, set the weighted adjustment coefficient τ>0, and set the maximum number of iterations K>0 to a positive integer;
[0038] Step 3: Generate M different intermediate weight matrices Λ m ∈R n×z : Generate M different sets of input weight vectors and With input bias set And b m ∈R; then generate M different intermediate weight matrices Λ m , the method is as follows:
[0039] Λ m =[α m (x1); α m (x2); ...; α m (x n )],
[0040] Among them, [α m (x1); α m (x2); ...; α m (x n )] means to convert α m (x1),α m (x2),…,α m (x n ) vertical combination, α m (x)∈R 1×z is the mth intermediate weight vector corresponding to sample x,
[0041] Where φ(·;·,·) is the activation function;
[0042] Step 4: Calculate the optimal output weight matrix Ω when m = 1, 2, ..., M m ∈R z×c , as follows:
[0043]
[0044] in, is the dimensionally appropriate unit matrix, Y = [y1; y2; ...; y n ] is the labeling matrix;
[0045] Step 5: Calculate the weighting coefficient when m = 1, 2, ..., M The details are as follows:
[0046] Step 501, let i=1;
[0047] Step 502: let j=i+1;
[0048] Step 503: in, is the F norm; if Θ<0, let θ i ←0 and θ j ←θ i +θ j ; Otherwise, that is, Θ>0, let θ i ←Θ and θ j ←θ i +θ j -Θ;
[0049] Step 504: Let j←j+1. If j≤M, jump to step 503; otherwise, jump to step 505.
[0050] Step 505: Let i←i+1. If i≤M-1, jump to step 502; otherwise, jump to step 6.
[0051] Step 6: Determine whether to end the training, set k←k+1, if k≤K, jump to step 4, otherwise jump to step 7;
[0052] Step 7: Predict the lithology of the new well, organize the new logging data into a sample set, and calculate
[0053]
[0054] in, is a sample in the new sample set, for The prediction results are The index number of the maximum value in is Corresponding to the lithology number, the lithology distribution of the new logging is obtained.
[0055] Preferably, in step 3, an input weight vector set is generated With input bias set When using the following method: where N(·,·) is a Gaussian distribution, for The generated variance, σ m for The generating variance of , U is a 1×d vector with all elements being 1.
[0056] Preferably, the generated variance involved takes the following values: And m=1,2,…,M.
[0057] Preferably, the activation function involved is:
[0058] or Among them, x is a sample, w is an input weight vector, and b is an input bias.
[0059] The embodiments of the present invention are described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Various changes can be made within the knowledge scope of ordinary technicians in the technical field without departing from the purpose of the present invention.
Claims
1. A lithology identification method, characterized in that: The following steps are involved: Step 1: Construct a labeled sample set of existing logging data: obtain existing logging data, and all logging values at each depth form a feature vector, i.e., a sample. The logging values include natural gamma, natural potential, well diameter, acoustic time difference, density, compensated neutron, deep lateral resistivity, and shallow lateral resistivity. A sample is expressed as x∈R d×1 , where R represents the real number domain and d is the sample dimension; the sample set consisting of the existing logging data is Where n is the total number of samples in the set; the lithology of the existing logging sample set is marked, Lithology labeling y i For x i Corresponding lithology label, y i ∈R 1×c is the unique hot code of the lithology, c is the total number of lithology types; Indicates the 1st to cth lithologies; Step 2: Initialize the system, set the number of middle-layer nodes z>0 to a positive integer, and set the weighting coefficient Where m = 1, 2, ..., M and M is the total number of weighted coefficients; set the model complexity coefficient λ>0, set the weighted balance coefficient γ>0, set the weighted adjustment coefficient τ>0, and set the maximum number of iterations K>0 to a positive integer; Step 3: Generate M different intermediate weight matrices Λ m ∈R n×z , generate M different sets of input weight vectors and With input bias set And b m ∈R; then generate M different intermediate weight matrices Λ m , the method is as follows: Λ m =[α m (x1); α m (x2);…;α m (x n )], where [α m (x1); α m (x2);…;α m (x n )] means to convert α m (x1),α m (x2),…,α m (x n ) vertical combination, α m (x)∈R 1×z is the mth intermediate weight vector corresponding to sample x, Where φ is the activation function; Step 4: Calculate the optimal output weight matrix Ω when m = 1, 2, ..., M m ∈R z×c , as follows: in, is the dimensionally appropriate unit matrix, Y = [y1; y2; ...; y n ] is the labeling matrix; Step 5: Calculate the weighting coefficient θ when m = 1, 2, ..., M m ∈R, as follows: Step 501, let i=1; Step 502: let j=i+1; Step 503: in, is the F norm; if Θ<0, let θ i ←0 and θ j ←θ i +θ j ; Otherwise, that is, Θ>0, let θ i ←Θ and θ j ←θ i +θ j -Θ; Step 504: Let j←j+1. If j≤M, jump to step 503; otherwise, jump to step 505. Step 505: Let i←i+1. If i≤M-1, jump to step 502; otherwise, jump to step 6. Step 6: Determine whether to end the training: Let k←k+1. If k≤K, jump to step 4; otherwise, jump to step 7. Step 7: Predict the lithology of the new well, organize the new logging data into a sample set, and calculate in, is a sample in the new sample set, for The prediction results are The index number of the maximum value in is Corresponding to the lithology number, the lithology distribution of the new logging is obtained.
2. A lithology identification method according to claim 1, characterized in that: In step 3, the input weight vector set is generated With input bias set When using the following method: Where N is a Gaussian distribution, for The generated variance, σ m for The generating variance of , U is a 1×d vector with all elements being 1.
3. A lithology identification method according to claim 2, characterized in that: The generated variance is as follows: And m=1,2,…,M.
4. A lithology identification method according to any one of claims 1 to 3, characterized in that: The activation functions involved are: or Among them, x is a sample, w is an input weight vector, and b is an input bias.
Citation Information
Patent Citations
Logging facies identification and analysis method based on fuzzy depth learning in big data environment
CN106529667A
Method for re-identifying persons on basis of deep learning encoding models
CN106778921A
Oil field exploration reserve prediction method based on recurrent neural network
CN109002927A
A mud and sand layered detection method based on logging curve deep learning
CN109670539A
A multi-well complex lithology intelligent identification method and system based on logging data
CN109919184A
