Aperture network cross-scale fusion method based on graph coarse graining and link prediction

Through the method based on graph coarse graining and link prediction, the problem of excessive image resolution and large computing resource overhead when fusion of multi-scale pore-slit network models is solved, and the cross-size of nano- and micro-level pore-slit map networks is realized. Fusion reduces the computational volume and improves the model effect.

CN118887111AActive Publication Date: 2024-11-01SOUTHWEST PETROLEUM UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410905446.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-11-01
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

When building a multi-scale pore-slit network model in the prior art, the image resolution after the nano-scale images are fused with micro-scale images, the computing resources and storage space overhead is too large, and it is difficult to accurately express the spatial characteristics of the pore-slits of unconventional reservoirs.

Method used

Using the method based on graph coarse graining and link prediction, the adjacency matrix and feature matrix of the hole-slit graph network are established, and the graph link prediction model is trained, and the nano-scale isolated connective sheets are fused to In the pore-slit graph network, masking strategies and graph convolution neural network are used to extract topological structure information, simulate the cross-relationship between pore nodes, calculate the gap probability between pore nodes, and realize cross-scale fusion.

Benefits of technology

It effectively reduces the calculation amount and storage overhead, retains the morphological characteristics of the crack space to the greatest extent, avoids overfitting, improves the prediction effect of the model, and realizes the cross-scale fusion of nano-scale and micro-scale pore-slit pattern networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887111A_ABST
    Figure CN118887111A_ABST
Patent Text Reader

Abstract

The invention discloses an aperture network cross-scale fusion method based on graph coarse graining and link prediction, and the method comprises the following steps: S1, building a ball and stick model for holes and seams of a digital core, and modeling an aperture graph network according to the distribution and communication relation of rock samples; s2, extracting an adjacent matrix and a feature matrix of the aperture graph network, constructing a graph link prediction model, and performing training; s3, according to porosity distribution and a communication relation of the rock sample, coarsely graining the nanoscale isolated connected sheets into pore nodes in the aperture graph network, and putting the pore nodes into the aperture graph network; s4, extracting a new adjacency matrix and a new feature matrix according to the new aperture graph network, and calculating the probability that gaps exist between aperture nodes by using the model to realize multi-scale fusion; the problems that in the prior art, the image scale difference before and after fusion is small, the image resolution is too high after the nanoscale image and the micron-sized image are fused, and the overhead of computing resources and storage space is too large are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a cross-scale fusion method of a slot network, which is mainly a cross-scale fusion method of a slot network based on graph coarse-graining and link prediction. Background Art

[0002] As oil and gas reservoirs with large structures and simple porosity and permeability relationships are becoming increasingly scarce, the development of my country's oil and gas industry is constantly breaking through its limits and rapidly extending to unconventional oil and gas. However, due to the complex rock structure and large changes in physical properties of unconventional reservoirs, it is difficult for physical experimental methods to systematically analyze the laws, so there is an urgent need for a more detailed analysis of underground cores. As an emerging method, digital cores can intuitively display the spatial structure of rock pores and fractures. However, the imaging method for obtaining digital cores has obvious defects. First, the accuracy of common CT scans is only up to 0.1um at most, and the pore scale span of unconventional reservoirs is large, resulting in the inability to accurately calculate porosity and permeability; second, the data obtained by electron microscope experiments is accurate enough but has a small field of view, and cannot express the spatial characteristics of pores and fractures at a larger scale. The importance of constructing a digital core model containing multi-scale pore information is self-evident.

[0003] At present, the main multi-scale fusion methods include traditional image science: using two resolutions to collect images from the same core, respectively building digital cores, and superimposing and fusion the pore network model; deep learning method: using generative adversarial networks to reconstruct three-dimensional digital cores, and using neural networks to extract the internal microscopic pore information of the structure, superimposing to form multi-scale three-dimensional digital cores. The above-mentioned multi-scale modeling methods based on image fusion all have the problem of small difference in image scale before and after fusion, and only superimpose small pore information on the original image. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a cross-scale fusion method of a slot network based on graph coarse-graining and link prediction, which solves the problems in the prior art of small difference in image scales before and after fusion, too high image resolution after fusion of nanoscale images and microscale images, and excessive overhead in computing resources and storage space.

[0005] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is a cross-scale fusion method of a slot network based on graph coarse-graining and link prediction, comprising the following steps:

[0006] S1. A ball-and-stick model is established for the holes and fractures of the digital core, and a hole-and-fracture graph network is modeled based on the distribution and connectivity of the rock samples;

[0007] S2, extract the adjacency matrix and feature matrix of the hole-seam graph network, build a graph link prediction model, and train it;

[0008] S3, according to the porosity distribution and connectivity of the rock sample, the nanoscale isolated connected pieces are coarse-grained into pore nodes in the pore-fracture graph network, and placed in the pore-fracture graph network;

[0009] S4. Based on the new pore-slit graph network, a new adjacency matrix and feature matrix are extracted, and the model is used to calculate the probability of the existence of gaps between pore nodes to achieve multi-scale fusion.

[0010] Furthermore, the step S1 includes the following sub-steps:

[0011] S11. Ball-and-stick models are established for the holes and fractures of the digital core, and the fracture centerline is extracted using methods such as the distance graph method, and the maximum sphere method is used to convert the fracture space into a dense connected pore space;

[0012] S12. Find the largest sphere corresponding to the contact surface of the pores and cracks, and establish the throat radius and coordination number distribution relationship between the pores and cracks according to the number and area of ​​the contact surfaces. Select the appropriate radius and number of throats for the largest spheres of the pores and cracks corresponding to the contact surfaces to connect the two and establish the connecting edge of the pore-fracture model.

[0013] S13, the ball of the ball-and-stick model is represented as a point in the graph structure, the stick is represented as an edge, and the hole-and-slot graph network is represented as G=(V, E, X);

[0014] where V = {v0,…,v n} is the set of pore nodes in the pore-fracture graph network, E = {e0,…,e n} is the edge set of the hole-slot graph network, is the pore node feature set of the pore-fracture graph network.

[0015] The beneficial effects of the above further scheme are: retaining the morphological characteristics of the crack space to the greatest extent, and using the graph structure to save the difficulty of data calculation and storage.

[0016] Furthermore, the step S2 includes the following sub-steps:

[0017] S21. Extract the adjacency matrix A according to the edge set E of the pore graph network, where A is an n×n matrix. i,j is 0 or 1, A i,j =1 indicates a pore node v i With pore node v j There is a gap directly connected between i,j =0 indicates a pore node v i With pore node v j There is no directly connected gap between them;

[0018] Among them, A i,jThe value of is determined by E. If e i = <v i ,v j >∈E then A i,j =1, if e i = Then A i,j =0;

[0019] S22, masking the hole graph network using a random discarding masking method and a source point random walk masking method to obtain a masked edge set;

[0020] The implementation process of image masking based on random discarding is as follows:

[0021] A1. Determine the discard probability p;

[0022] A2, randomly select elements in the adjacency matrix and set them to 0 according to the discard probability;

[0023] A3, repeat A2 multiple times to form a masked adjacency matrix;

[0024] The implementation process of the image mask based on the random walk method of the source point is:

[0025] B1, initialization: starting from the source node s;

[0026] B2. Transition probability: At each step, starting from the current node v, the probability of selecting a neighbor node u to move to is Where deg(v) represents the degree of node v;

[0027] B3, Iteration: Repeat step B2 multiple times to form a wandering path.

[0028] S23, building a graph link prediction model, and using the masked data to train the model;

[0029] The neural network architecture of the encoder is a two-layer graph convolutional neural network GCN, and ReLU is used as the activation function after each layer of GCN.

[0030] The output of the decoder part shows the similarity of the relationship between two terminal nodes at different granularities.

[0031] The beneficial effects of the above further scheme are: the use of a sampling mask strategy based on uniform distribution can effectively prevent potential center bias. The mask breaks the short-term links between the pore nodes and forces the model to learn the underlying semantics to adapt to the masked structure. The graph convolution encoder can effectively extract the topological structure information of the graph structure. The cross-correlation decoder can effectively simulate the cross-relationship between the pore nodes, highlighting the common attributes and inconsistent coefficients of the two. Only elements that are highly correlated between two pore nodes will be retained.

[0032] Furthermore, step S3 includes the following sub-steps:

[0033] S31. The porosity distribution function of the rock sample at the micrometer and nanometer scales is calculated by a fluid injection experiment method, the morphological characteristics and connectivity relationship of the rock sample at the micrometer scale is obtained by a double-beam electron microscope experiment method, and the morphological characteristics and connectivity relationship of the rock sample at the nanometer scale is obtained by a scanning electron microscope experiment method;

[0034] S32, forming nanoscale isolated connected sheets according to various porosity distribution functions of rock samples at the nanoscale obtained by fluid injection experimental methods;

[0035] S33. Coarse-graining is performed on the isolated connected pieces in the nanoscale pore-slit graph network obtained in S32 to obtain pore nodes at the micrometer scale, and the pore nodes are merged into the pore-slit graph network.

[0036] The beneficial effect of the above further scheme is that the morphological characteristics and connectivity of micrometer- and nanometer-scale rock samples can be obtained with sufficient accuracy by using the fluid injection method and the dual-beam electron microscope experimental method.

[0037] Furthermore, the step S4 includes the following sub-steps:

[0038] S41, extracting the adjacency matrix and feature matrix of the pore graph network after fusing the nanoscale isolated connected pieces according to the method described in S21;

[0039] S42, calculating the probability of a gap between pore nodes according to the model decoder described in S23;

[0040] S43, setting the probability threshold to 70%, judging whether the probability of the existence of gaps between pore nodes is sufficient to form a new connectivity relationship, and realizing the cross-scale fusion of the pore-fracture network.

[0041] The beneficial effects of the above further scheme are: the cross-correlation decoder can effectively simulate the cross-relationship between pore nodes, highlight the information of common attributes and inconsistent coefficients between the two, and only the highly correlated elements between the two pore nodes will be retained; by effectively simulating the cross-relationship between pore nodes through the cross-correlation decoder, the probability of the existence of gaps in the pore nodes is obtained, and the cross-scale fusion of the pore graph network at the nanoscale and microscale levels is realized.

[0042] In summary, the beneficial effects of the present invention are as follows: compared with conventional methods, the problems of difficulty in obtaining nanoscale core images, too small a field of view, insufficient representativeness, and too high an image resolution after fusion with micron-scale images are taken into account, and the use of a pore network realizes micro-nano fusion and greatly reduces the amount of calculation; utilizing the idea of ​​a mask-based graph autoencoder, the model is forced to learn the complete structural information of the pore graph network by covering the original pore network path and destroying the topological structure, thereby avoiding overfitting and improving the model effect; the cross-correlation decoder of the neural network uses the k node feature sequences between two node pairs as input, associates neighborhood information of different granularities, highlights the common attributes of the two, dilutes inconsistent information, and improves the model prediction effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 This is a flow chart of the cross-scale fusion method of the slot network based on graph coarse-graining and link prediction described in the present invention.

[0044] Figure 2 Cross-scale fusion of slot networks based on graph coarse-graining and link prediction. DETAILED DESCRIPTION

[0045] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.

[0046] like Figure 1 As shown, a cross-scale fusion method of a slot network based on graph coarse-graining and link prediction includes the following steps:

[0047] S1, modeling hole-slit graph network;

[0048] Step S1 includes the following sub-steps:

[0049] S11. Ball-and-stick models are established for the holes and fractures of the digital core, and the fracture centerline is extracted using methods such as the distance map method. The maximum sphere method is used to convert the fracture space into a densely connected pore space, so as to retain the morphological characteristics of the fracture to the greatest extent.

[0050] The calculation formula for extracting the crack centerline using the distance map method in step S11 is:

[0051]

[0052] Where C is the crack centerline, is the set of all paths from point s to point t, v is the pore node, w(e ij ) is the weight of the edge.

[0053] S12. Find the largest sphere corresponding to the contact surface of the pores and cracks, and establish the throat radius and coordination number distribution relationship between the pores and cracks according to the number and area of ​​the contact surfaces. Select the appropriate radius and number of throats for the largest spheres of the pores and cracks corresponding to the contact surfaces to connect the two and establish the connecting edge of the pore-fracture model.

[0054] S13, the ball of the ball-and-stick model is represented as a point in the graph structure, the stick is represented as an edge, and the hole-and-slot graph network is represented as G=(V, E, X);

[0055] where V = {v0,…,v n} is the set of pore nodes in the pore-fracture graph network, E = {e0,…,e n} is the edge set of the hole-slot graph network, is the pore node feature set of the pore-fracture graph network.

[0056] S2, build and train a link prediction model;

[0057] Step S2 includes the following sub-steps:

[0058] S21. Extract the adjacency matrix A according to the edge set E of the pore graph network, where A is an n×n matrix. i,j is 0 or 1, A i,j =1 indicates a pore node v i With pore node v j There is a gap directly connected between i,j =0 indicates a pore node v i With pore node v j There is no directly connected gap between them;

[0059] The calculation formula for extracting the adjacency matrix in step S21 is:

[0060]

[0061] Among them, A i,j Indicates whether pore nodes i and j are adjacent, <v i ,v j > is the edge representation of pore nodes i and j, and E is the edge set of the pore graph network.

[0062] S22, masking the hole-slit graph network to obtain a masked edge set;

[0063] The calculation formula for performing a random discarding method on the hole-seam graph network in step S22 is:

[0064]

[0065] Among them, p is the drop probability, which means that each edge is set to 0 with a probability of p.

[0066] The implementation process is:

[0067] A1. Determine the discard probability p;

[0068] A2, randomly select elements in the adjacency matrix and set them to 0 according to the discard probability;

[0069] A3, repeat A2 multiple times to form a masked adjacency matrix;

[0070] The implementation process of performing graph masking on the hole-seam graph network by using the random walk method based on the source points in step S22 is as follows:

[0071] B1, initialization: starting from the source node s;

[0072] B2. Transition probability: At each step, starting from the current node v, the probability of selecting a neighbor node u to move to is Where deg(v) represents the degree of node v;

[0073] B3, Iteration: Repeat step B2 multiple times to form a wandering path.

[0074] S23. Build a graph link prediction model, which takes the graph autoencoder as the basic structure and consists of two parts: encoder and decoder;

[0075] The neural network architecture of the encoder is a two-layer graph convolutional neural network GCN, and ReLU is used as the activation function after each layer of GCN.

[0076] The output of the decoder part shows the similarity of the relationship between two terminal nodes at different granularities.

[0077] The process of constructing the graph link prediction model in step S23 is:

[0078] A1. Use K-layer graph convolutional neural network GCN as encoder to calculate node embedding representation. The GCN update node embedding formula is as follows;

[0079]

[0080] Among them, X (l+1) is the feature matrix of the l+1th layer, Add the identity matrix to the degree matrix, Add the identity matrix to the adjacency matrix, X (;l) is the feature matrix of the lth layer, W (l) is the weight matrix of the lth layer, σ is the activation function;

[0081] A2. Use the cross-correlation decoder to calculate the edge representation between node pairs using the K embedding representations of the pore nodes obtained in the previous step. The edge representation calculation formula is as follows;

[0082]

[0083] in is the mutual representation between pore nodes i and j, It means to concatenate the results of the following formulas, ⊙ represents element-by-element multiplication, is the embedding information of the a-th hop subgraph of the pore node i, is the embedding information of the b-th hop subgraph of the pore node j;

[0084] A3. Use the multi-layer perceptron MLP to calculate the edge representation obtained in the previous step to obtain the probability that there is a gap between the porous node pairs.

[0085] S3, the coarse-grained isolated connected pieces are pore nodes and merged with the original pore-fracture graph;

[0086] Step S3 includes the following sub-steps:

[0087] S31. The porosity distribution function of the rock sample at the micrometer and nanometer scales is calculated by a fluid injection experiment method, the morphological characteristics and connectivity relationship of the rock sample at the micrometer scale is obtained by a double-beam electron microscope experiment method, and the morphological characteristics and connectivity relationship of the rock sample at the nanometer scale is obtained by a scanning electron microscope experiment method;

[0088] S32, forming nanoscale isolated connected sheets according to various porosity distribution functions of rock samples at the nanoscale obtained by fluid injection experimental methods;

[0089] S33. Coarse-graining is performed on the isolated connected pieces in the nanoscale pore-slit graph network obtained in S32 to obtain pore nodes at the micrometer scale, and the pore nodes are merged into the pore-slit graph network.

[0090] S4, the new pore-slit graph obtains a new connectivity relationship through the model;

[0091] Step S4 includes the following sub-steps:

[0092] S41, extracting the adjacency matrix and feature matrix of the pore graph network after fusing the nanoscale isolated connected pieces according to the method described in S33;

[0093] S42, calculating the probability of a gap between pore nodes according to the model decoder described in S23;

[0094] S43, setting the probability threshold to 70%, judging whether the probability of the existence of gaps between pore nodes is sufficient to form a new connectivity relationship, and realizing the cross-scale fusion of the pore-fracture network.

[0095] In the above embodiment, the graph link prediction model is as follows: Figure 2 As shown in the upper part, the adjacency matrix A and feature matrix X of the micron-level pore graph network are extracted for model training. After passing through the two-layer graph convolutional neural network GCN in the encoder, X(1) and X(2) are output, which represent the feature matrix output by each layer of GCN. The feature sequence is input into the decoder, and the probability of the existence of gap edges between pore nodes is obtained through cross-correlation operation. If this probability is greater than the set 70% threshold, it is determined that there is a gap edge. Model application Figure 2 As shown in the lower part, the porosity distribution and pore-fracture morphology parameter distribution of the rock sample are obtained through fluid injection experiments and electron microscopy experiments, and then isolated interconnected pieces are generated by sampling. After graph coarsening, pore nodes are formed and merged with the original pore-fracture graph. The above model is then used to predict links and form new connectivity relationships, thus achieving multi-scale fusion.

Claims

1. A cross-scale fusion method of slot networks based on graph coarse-graining and link prediction, characterized in that: The following steps are involved: S1. A ball-and-stick model is established for the holes and fractures of the digital core, and a hole-and-fracture graph network is modeled based on the distribution and connectivity of the rock samples; S2, extract the adjacency matrix and feature matrix of the hole-seam graph network, build a graph link prediction model, and train it; S3, according to the porosity distribution and connectivity of the rock sample, the nanoscale isolated connected pieces are coarse-grained into pore nodes in the pore-fracture graph network, and placed in the pore-fracture graph network; S4. Based on the new pore-slit graph network, a new adjacency matrix and feature matrix are extracted, and the model is used to calculate the probability of the existence of gaps between pore nodes to achieve multi-scale fusion.

2. According to claim 1, the cross-scale fusion method of slot network based on graph coarse-graining and link prediction is characterized in that: The step S1 comprises the following sub-steps: S11, using the distance map method and the maximum ball method to establish ball-and-stick models for the holes and seams of the digital core; S12, establishing the connection edge of the hole and seam model according to the throat parameters of the maximum ball; S13. The ball-and-stick model is represented as a graph structure, called a hole-slot graph network.

3. The cross-scale fusion method of slot network based on graph coarse-graining and link prediction according to claim 2 is characterized in that: The calculation formula for extracting the crack centerline using the distance graph method in step S11 is: Where C is the crack centerline, is the set of all paths from point s to point t, v is the pore node, w(e ij ) is the weight of the edge.

4. The cross-scale fusion method of aperture network based on graph coarse-graining and link prediction according to claim 2 is characterized in that: The method of establishing the hole-slit graph network in step S13 is: The balls of the ball-and-stick model are represented as points in the graph structure, the sticks are represented as edges, and the hole-and-slot graph network is represented as G = (V, E, X); where V = {v0,…,v n } is the set of pore nodes in the pore-fracture graph network, E = {e0,…,e n } is the edge set of the hole-slot graph network, X=[x1,x2,…,x n ]∈R n×f is the pore node feature set of the pore-fracture graph network, where n is the number of x and f is the length of x.

5. The cross-scale fusion method of slot network based on graph coarse-graining and link prediction according to claim 1 is characterized in that: The step S2 comprises the following sub-steps: S21, extracting an adjacency matrix A according to an edge set E of the hole-slit graph network; S22, masking the hole graph network using a random discarding masking method and a source point random walk masking method to obtain a masked edge set; S23. Build a graph link prediction model and use the masked data to train the model.

6. The cross-scale fusion method of slot network based on graph coarse-graining and link prediction according to claim 5 is characterized in that: The formulas based on the random discard mask method and the source point random walk mask method in step S22 are: The formula based on the random drop mask method is: Among them, p is the drop probability, which means that each edge is set to 0 with a probability of p; The walk probability formula based on the source point random walk mask method is: Where deg(v) represents the degree of node v, v is the current node, and u is the neighbor node.

7. The cross-scale fusion method of slot network based on graph coarse-graining and link prediction according to claim 5 is characterized in that: The graph link prediction model in step S23 is: The neural network architecture of the encoder part is a two-layer graph convolutional neural network GCN, and ReLU is used as the activation function after each layer of GCN; The decoder part calculates the input gap node representation sequence to obtain edge representation, and then uses the multi-layer perceptron MLP to calculate the probability of gaps between nodes; The update formula of the graph convolutional neural network GCN in the encoder is as follows: Among them, X (l+1) is the feature matrix of the l+1th layer, Add the identity matrix to the degree matrix, Add the identity matrix to the adjacency matrix, X (l) is the feature matrix of the lth layer, W (l) is the weight matrix of the lth layer, σ is the activation function; The formula for calculating the probability of gaps between nodes in the decoder is: Where P i,j represents the probability that there is a gap between pore nodes i and j, It means to concatenate the results of the following formulas, ⊙ represents element-by-element multiplication, is the embedding information of the a-th hop subgraph of the pore node i, is the embedding information of the b-th hop subgraph of pore node j, and MLP is a multi-layer perceptron.

8. The cross-scale fusion method of aperture network based on graph coarse-graining and link prediction according to claim 1 is characterized in that: The step S3 comprises the following sub-steps: S31, obtaining the morphological characteristics and connectivity of the rock sample; S32, forming nanoscale isolated connected sheets according to the porosity distribution function of the rock sample at the nanoscale obtained in S31; S33. Coarse-grain the isolated connected pieces to obtain micron-scale pore nodes, which are then merged into the pore-slit graph network.

9. The cross-scale fusion method of aperture network based on graph coarse-graining and link prediction according to claim 8 is characterized in that: The porosity definition and porosity distribution function of step S32 are: Among them, K(r,L) is a cube with a side length of L and a center of point r inside the porous medium. is the porosity definition of K(r,L), V(G) is a set is the volume of , m is the number of K(r,L) in the system, and δ(x) is the Dirac distribution function.

10. The cross-scale fusion method of slot network based on graph coarse-graining and link prediction according to claim 1, characterized in that: The step S4 comprises the following sub-steps: S41, extracting the adjacency matrix and feature matrix of the fused hole-seam graph network; S42, calculating the probability of the existence of gaps between the gap nodes through the graph link prediction model described in S23; S43, setting the probability threshold to 70%, judging whether the probability of the existence of gaps between pore nodes is sufficient to form a new connectivity relationship, and realizing the cross-scale fusion of the pore-fracture network.

Citation Information

Patent Citations

  • Multi-scale fusion method based on digital core

    CN110320137A

  • Visualization method and device for pore network model based on digital rock core

    CN110363848A

  • Reservoir permeability calculation method based on graph neural network

    CN116152259A

  • Evaluating anisotropic effective permeability in rock formations having natural fracture networks

    US20220050224A1