A method for predicting tailings pond deformation based on knowledge graph

By constructing a spatio-temporal knowledge graph of tailings dam deformation and combining it with a graph convolution network and a gated cyclic unit, the problem of spatial and temporal correlation in tailings dam deformation prediction is solved, the prediction accuracy and interpretability are improved, and the tailings Library security.

CN117973222BActive Publication Date: 2024-09-13JIANGXI NORMAL UNIV +2
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410227757.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-29
Publication Date
2024-09-13
Estimated Expiration
2044-02-29

AI Technical Summary

Technical Problem

Existing tailings dam deformation prediction methods are difficult to comprehensively consider the spatial correlation between monitoring points and external dynamic factors, resulting in insufficient prediction accuracy and the inability to accurately judge the overall trend of tailings dam deformation, thereby failing to effectively prevent potential dangers.

Method used

A tailings pond deformation prediction method based on knowledge graph is adopted. By constructing a tailings pond deformation spatio-temporal knowledge graph, the deformation time series evolution of monitoring points is abstracted into a process, which is divided into static attributes and dynamic attributes, and the graph convolution network (GCN) is used. Build a temporal graph convolution spatiotemporal prediction model with the gated recurrent unit (GRU) to capture the spatial correlation and temporal correlation between monitoring points to predict deformation.

Benefits of technology

It improves the comprehensive ability and prediction performance of the model for different types of data, enhances the interpretability of predictions, can predict tailings dam deformation more accurately, improves the safety of tailings dams, and is suitable for spatio-temporal prediction tasks of other geological disasters. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117973222B
    Figure CN117973222B
Patent Text Reader

Abstract

The present invention discloses a method for predicting tailings pond deformation based on knowledge graph, which belongs to the field of dam deformation monitoring, including constructing a spatiotemporal knowledge graph of tailings pond deformation; enhancing the attributes of the spatiotemporal knowledge graph of tailings pond deformation; building a temporal graph convolution spatiotemporal prediction model based on the spatiotemporal knowledge graph of tailings pond deformation, and predicting the deformation of tailings pond. The present invention adopts the above-mentioned method for predicting tailings pond deformation based on knowledge graph, enhances the comprehensive ability of the model for different types of data and the interpretability of the prediction method, further improves the prediction performance of the model, and can be used for tailings dam deformation prediction or other spatiotemporal prediction tasks with similar observations in other geological disasters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of dam body deformation monitoring, and in particular to a tailings pond deformation prediction method based on knowledge graph. Background Art

[0002] Tailings are wastes generated during the mining process. They are usually composed of sand and silt, rich in heavy metals, chemical residues and agents used in the extraction of raw materials. Tailings are usually discharged into tailings ponds in the form of slurry. Tailings ponds are often constructed in the form of dams with high potential energy characteristics. Due to the real-time discharge of tailings and the characteristics of dynamic dam construction, the stability of tailings dams is a major hidden danger for mine disaster control, environmental pollution and human life safety. In the past 20 years, the number of tailings dam breach accidents has doubled, and the tailings dam breach disasters have caused a large number of casualties and significant property losses. The tailings after the dam breach also caused serious chemical pollution to the environment. At present, many scholars have studied the construction of online monitoring systems for tailings ponds. The established monitoring systems generally advance the warning response time of dangerous situations to 5 seconds, which enhances the safety of tailings ponds. This also promotes the study of multi-safety factor risk prediction (TPRP) of tailings ponds. This study attempts to timely identify tailings ponds with safety hazards and finds a combination of multiple factors that cause tailings pond breaches, based on which early intervention can be made to avoid disasters. However, there is currently no universally applicable method for predicting tailings dam deformation.

[0003] The historical information of tailings dam deformation is an important basis for tailings pond deformation. The deformation of tailings dams in the future depends not only on historical deformation information, but also on the inherent characteristics of the tailings dam deformation itself (static factors) and external dynamic factors. Therefore, accurate prediction of tailings dam deformation has always been a difficult problem. Static factors do not change over time. Common ones, such as the direction of deformation, are usually fixed. Dynamic factors change over time. For example, after precipitation, as time passes, the long-term accumulation of moisture on the surface of the tailings pond leads to seepage erosion, causing structural weakening of the dam. These factors lead to uncertainty in the deformation of tailings dams, which brings challenges to the prediction task.

[0004] More and more scholars have applied data-driven machine learning methods such as artificial neural networks (ANN), long short-term memory recursive neural networks (LSTM) in recurrent neural networks (RNN) and their variants, support vector machines (SVM) and random forests (RF) to the deformation prediction of tailings dams. With the support of machine learning algorithms, it is helpful to explore the nonlinear changes and relationships between variables in the research. However, these prediction models only consider the time correlation of deformation monitoring data, and some models only consider a small number of related influencing factors. This results in the model being able to only realize the deformation prediction of a single typical monitoring point, ignoring the spatial correlation between monitoring points, which to a certain extent limits the further improvement of prediction accuracy, and cannot accurately judge the overall trend of the deformation of the tailings dam body, and thus cannot discover potential dangers.

[0005] Graph neural networks (GNNs) can abstract practical problems into graph-structured data and capture the dependencies between nodes through message passing between graph nodes. Limited by the regularization requirements of the data input format, such as the Euclidean relationship measurement of regular grids and image nodes, it is difficult for convolutional neural networks (CNNs) to fully consider the complex relationships between nodes. Introducing CNN into GNNs allows data on non-Euclidean domains to be effectively processed. Therefore, it is theoretically feasible to capture the spatial correlation between monitoring points in the tailings dam deformation monitoring network through graph convolutional neural networks (GCNs). The gated recurrent unit (GRU) is a recurrent neural network that solves the gradient explosion and vanishing problems. It can effectively capture the temporal correlation between data when analyzing time series data, and has advantages in training efficiency and computational cost.

[0006] In view of the problem that traditional monitoring methods cannot comprehensively consider the factors affecting the deformation of tailings dams, based on the analysis of the dynamic and static geographical knowledge that affects the tailings pond, the present invention proposes a spatiotemporal prediction model for tailings dam deformation that takes into account the temporality of historical monitoring time series data, the spatiality of monitoring locations, and the dynamic and static attribute knowledge that affects the deformation of monitoring points. Summary of the invention

[0007] The purpose of the present invention is to provide a tailings dam deformation prediction method based on knowledge graph, which enhances the comprehensive ability of the model for different types of data and the interpretability of the prediction method, further improves the prediction performance of the model, and can be used for tailings dam deformation prediction or other spatiotemporal prediction tasks with similar observations in other geological disasters.

[0008] To achieve the above object, the present invention provides a method for predicting tailings pond deformation based on knowledge graph, comprising the following steps:

[0009] S1. Construct a spatiotemporal knowledge graph of tailings pond deformation, abstract the temporal evolution of deformation at monitoring points into a process, abstract the deformation values ​​at different times into states, and divide the environmental characteristics that cause deformation at monitoring points into static attributes and dynamic attributes;

[0010] S2. Based on the temporal state ontology of surface deformation and internal deformation, dynamic attributes and static attributes are embedded into the temporal state ontology to enhance the attributes of the spatiotemporal knowledge graph of tailings pond deformation;

[0011] S3. Based on the spatiotemporal knowledge graph of tailings pond deformation, a temporal graph convolutional spatiotemporal prediction model is built using graph convolutional network (GCN) and gated recurrent unit (GRU), and the deformation of the tailings pond is predicted.

[0012] Preferably, the static attributes include deformation direction, and the dynamic attributes include dry beach length, reservoir water level, infiltration line and precipitation.

[0013] Preferably, the step S1 specifically includes:

[0014] In order to express the spatial correlation between monitoring points, a weighted undirected fully connected graph G = (V, E, W) is defined, and the monitoring points are abstracted as nodes of the graph, that is, V = {v1, v2, ..., v N}, N is the number of monitoring points, any two monitoring points are regarded as a pair of monitoring points, and each pair of monitoring points has an undirected edge E, the total number of undirected edges E is N×(N-1) / 2, W∈R N×N The adjacency matrix represents the spatial proximity of all monitoring points. The distance between two monitoring points is related to their temporal deformation data. The weighted adjacency matrix A is calculated using a Gaussian similarity function based on spatial proximity. w The weight of is as follows:

[0015] w(i,j)=exp(-||v i -v j || 2 / 2σ 2 ) (1)

[0016] Among them, w(i,j) is the distance between two monitoring points (v i ,v j ) Undirected edge e ij The weight of ||v i -v j || 2 For two monitoring points (v i ,v j ) between the two monitoring points; σ is the standard deviation of the distance set of each monitoring point;

[0017] The weighted adjacency matrix between monitoring points is as follows:

[0018]

[0019] In order to express the time correlation of tailings pond deformation, a feature matrix X∈R including the time series deformation information of all monitoring points is constructed N×L , where N represents the number of monitoring points; L represents the total length of the time series; X∈R N×t Represents the cumulative deformation of all monitoring points at time t; input n historical time series data is expressed as:

[0020] [X t-n ,…,X t-1 ,X t ] (3)

[0021] Then the predicted value of the length of the future T time series is:

[0022] [X t+1 ,…,X t+T-1 ,X t+T ] (4).

[0023] Preferably, the step S2 is specifically as follows:

[0024] Static attribute S, let S∈R N×p For p different static properties {S 1 ,S 2 ,…,S p}, static attributes do not change over time, and a static attribute matrix is ​​generated for each timestamp Keeping the value S unchanged, the static attribute enhancement matrix at time t is as follows:

[0025]

[0026] Dynamic attribute D embedding, different from S, let D∈R N×(q*t) For q different dynamic attributes {D 1 ,D 2 ,…,D q}, the deformation of the tailings pond has a lag relative to the change of its external influencing factors. When , the size of the selection window is expanded to m+1 to replace the original attribute corresponding to time t, that is, the dynamic attribute matrix is ​​selected As the sub-attribute matrix D q , the dynamic attribute enhancement matrix at time t is as follows:

[0027]

[0028] Derive the attribute enhancement matrix that combines the feature matrix X, static attributes S and dynamic attributes D The representation at time t is as follows:

[0029]

[0030] Among them, q is 4, which represents four attributes: dry beach length, reservoir water level, infiltration line and precipitation.

[0031] Preferably, the step S3 specifically includes:

[0032] The tailings pond deformation knowledge graph establishes a graph data model in the non-Euclidean domain. The graph convolution network effectively captures the spatial correlation in the non-Euclidean domain data. The linear rectifier function (ReLU) is used as the activation function of the graph convolution network. In order to obtain the spatial correlation between nodes, the graph convolution network takes the adjacency matrix A and the feature matrix X as input, and its layer-by-layer propagation rule is:

[0033]

[0034] in: is the self-connected adjacency matrix of the undirected graph G, I N is the identity matrix; for The degree matrix of (l) is the trainable weight matrix of the lth layer; σ(·) represents the activation function, such as the linear rectification function: ReLU(·)=max(0,·); Y (l) ∈R N×D is the matrix that has been activated in the lth layer, Y (l+1) is the output of the convolutional layer, and Y (0) =X;

[0035] The gated recurrent unit has a gated unit, which is used to adjust the information flow inside the unit. The feature matrix input in the node at the current moment is X t ; The hidden state at the previous moment is h t-1 ; Reset gate r t Used to control the degree of ignoring historical information; update gate u t Used to control the degree of integration between historical information and current input state; c t is the candidate memory unit, i.e., the storage content of the information at time t; h t is the output of the hidden state at time t; The deformation prediction result of the tailings pond at time t is obtained. The gated loop unit takes the tailings pond monitoring information at the current time t and the hidden state information at time t-1 as input;

[0036] In order to explore the spatiotemporal correlation in the tailings pond deformation data, the graph convolutional network is combined with the gated recurrent unit to construct a temporal graph convolutional spatiotemporal prediction model (T-GCN). The graph convolutional network is used to capture the spatial correlation characteristics of the deformation spatiotemporal knowledge graph, and the gated recurrent unit extracts the time series attributes of these features. The weighted adjacency matrix A and the attribute enhancement matrix M are input into the model f to obtain the final prediction results.

[0037]

[0038] If the current time is t, M t The attribute enhancement matrix extracted at the current moment is input into the graph convolutional network layer for feature update, and the time series change features of the tailings pond deformation with spatial correlation are output; these feature sequences are used as the input of the gated recurrent unit, and the time correlation of the sequence is constructed in the gated unit, and finally the tailings dam deformation prediction task is realized. The derivation process is:

[0039] r t =σ(W r ·[gc(A,M t ),h t-1 ]+b r ) (10)

[0040] u t =σ(W u ·[gc(A,M t ),h t-1 ]+b u ) (11)

[0041] c t =tanh[gc(A,M t ),(r t *h t-1 )]+b c ) (12)

[0042] h t =u t *h t-1 +(1-u t )*c t (13)

[0043] Among them, gc(·) is the graph convolution process; σ(·) and tan h(·) are activation functions; parameters W and b are learnable weights and biases, respectively.

[0044] Therefore, the present invention adopts the above-mentioned tailings pond deformation prediction method based on knowledge graph, which adopts the temporal graph convolution model (T-GCN) combining GCN and GRU, regards the tailings dam GNSS monitoring network as a graph knowledge model of non-Euclidean domain, and embeds the external influencing factors and the tailings dam deformation factors themselves as the attributes of the deformation feature matrix, and obtains the attribute-enhanced tailings dam deformation spatiotemporal knowledge graph. In this way, the comprehensive ability of the model for different types of data and the interpretability of the prediction method are enhanced, and the prediction performance of the model is further improved, which can be used for tailings dam deformation prediction or other spatiotemporal prediction tasks with similar observations in other geological disasters.

[0045] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a method flow chart of an embodiment of a method for predicting deformation of a tailings pond based on a knowledge graph of the present invention;

[0047] Figure 2 It is a schematic diagram of the spatiotemporal knowledge graph structure of a tailings pond according to an embodiment of a method for predicting deformation of a tailings pond based on a knowledge graph of the present invention;

[0048] Figure 3 It is a schematic diagram of spatial relationship and weight distribution of a spatiotemporal knowledge graph of an embodiment of a tailings pond deformation prediction method based on a knowledge graph of the present invention;

[0049] Figure 4 Schematic diagram of the GCN and GRU model structures used in the present invention in an embodiment of a method for predicting tailings pond deformation based on a knowledge graph, wherein (a) is a schematic diagram of the GCN model structure, and (b) is a schematic diagram of the GRU model structure;

[0050] Figure 5 It is a schematic diagram of the temporal graph convolution spatiotemporal prediction model framework of an embodiment of a tailings pond deformation prediction method based on a knowledge graph of the present invention. DETAILED DESCRIPTION

[0051] Example

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] Reference Figure 1The present invention discloses a method for predicting tailings pond deformation based on a knowledge graph, comprising the following steps:

[0054] S1. Construct a spatiotemporal knowledge graph of tailings pond deformation, abstract the temporal evolution of deformation at monitoring points into a process, abstract the deformation values ​​at different times into states, and divide the environmental characteristics that cause deformation at monitoring points into static attributes and dynamic attributes;

[0055] S2. Based on the temporal state ontology of surface deformation and internal deformation, dynamic attributes and static attributes are embedded into the temporal state ontology to enhance the attributes of the spatiotemporal knowledge graph of tailings pond deformation;

[0056] S3. Based on the spatiotemporal knowledge graph of tailings pond deformation, a temporal graph convolutional spatiotemporal prediction model is built using graph convolutional networks and gated recurrent units to predict the deformation of tailings ponds.

[0057] The tailings dam monitoring system is composed of multiple monitoring points, which are located at different locations and are affected by parameters such as dry beach length, reservoir water level, infiltration line, precipitation, surface / internal deformation in different directions, etc. On the one hand, the deformations of the tailings dam monitoring points affect each other. Based on the historical time series monitoring data model, the inclusion of a spatial graph network model further enhances the interpretability of the prediction task. On the other hand, the attributes of the monitoring sites such as beach length, reservoir water level, infiltration line, precipitation, surface / internal deformation in different directions change dynamically, and it is very necessary to construct a prediction model taking into account the influence of the dynamic and static attributes of the monitoring nodes. The tailings dam deformation prediction model of the present invention fully considers the spatiotemporal integrated geographical knowledge of the monitoring time series data, and embeds the attributes of the monitoring points into the spatiotemporal knowledge graph, and realizes accurate prediction of deformation based on the spatiotemporal knowledge graph of the tailings dam deformation.

[0058] The whole method includes the spatiotemporal knowledge abstraction method of tailings dam deformation, the attribute embedding method of spatiotemporal knowledge graph of tailings dam deformation, and the prediction method based on the spatiotemporal knowledge graph of tailings dam deformation.

[0059] The spatiotemporal knowledge abstraction method of tailings dam deformation analyzes the geographical knowledge of tailings dams into states and processes from the perspective of the evolution and development of tailings dam deformation, and describes and expresses the tailings dam deformation process in a knowledgeable way from the perspective of geographical scenario science.

[0060] like Figure 2 As shown in the figure, the construction method of the spatiotemporal knowledge graph of tailings pond deformation is as follows: 1) First, in terms of geographic knowledge abstraction, the deformation time series evolution of the monitoring point is abstracted as a process, and the deformation values ​​at different times are abstracted as states. The monitoring point processes influence each other, and a quantitative description is established by establishing spatial correlations between states. 2) The attributes of the monitoring points can be divided into two types: dynamic and static. The attribute changes enhance or weaken the deformation process of the monitoring points to different degrees. Attribute embedding can enhance the knowledge expression ability of the graph.

[0061] To express the spatial correlation between monitoring points, a weighted undirected fully connected graph G = (V, E, w) is defined. The monitoring points are abstracted as nodes of the graph, that is, V = {v1, v2, …, v N}, N is the number of monitoring points. Any two monitoring points are regarded as a pair of monitoring points, and each pair of monitoring points has an undirected edge E, and the total number of undirected edges E is N×(N-1) / 2. W∈R N×N The adjacency matrix represents the spatial proximity of all monitoring points. The distance between two monitoring points is related to their temporal deformation data, and distance is an important factor affecting spatial correlation. The weighted adjacency matrix A is calculated using a Gaussian similarity function based on spatial proximity. w The weight of Figure 3 , the formula is as follows:

[0062] w(i,j)=exp(-||v i -v j || 2 / 2σ 2 ) (1)

[0063] Where: w(i,j) is the distance between two monitoring points (v i ,v j ) Undirected edge e ij The weight of ||v i -v j || 2 For two monitoring points (v i ,v j ) and σ is the standard deviation of the distance set of each monitoring point.

[0064] The weighted adjacency matrix between monitoring points is as follows:

[0065]

[0066] In order to express the time correlation of tailings dam deformation, a feature matrix X∈R including the time series deformation information of all monitoring points is constructed N×L Where N is the number of monitoring points and L is the total length of the time series. N×t Represents the cumulative deformation of all monitoring points at time t. If n historical time series data are input, it can be expressed as:

[0067] [X t-n ,…,X t-1 ,X t ] (3)

[0068] Then the predicted value of the length of the future T time series is:

[0069] [X t+1 ,…,X t+T-1,X t+T ] (4).

[0070] The spatiotemporal knowledge graph attribute embedding method processes the dynamic attributes and static attributes of the factors affecting the deformation of the tailings pond separately, adopts the deformation direction as the static attribute (S), and adopts the dry beach length, reservoir water level, infiltration line and precipitation as the dynamic attribute (D). Based on the temporal state graph model of surface deformation and internal deformation, the static attributes and dynamic attributes are embedded into the state graph data model to construct an attribute-enhanced tailings pond deformation knowledge graph. The spatiotemporal knowledge graph attribute embedding method fully considers the spatiotemporal characteristics and dynamic and static attribute characteristics between monitoring points, and constructs a spatiotemporal knowledge graph of tailings ponds that can reflect the complex influence relationship in the scene.

[0071] Based on the temporal state ontology X of surface deformation and internal deformation, S and D are embedded into state X to construct a property-enhanced tailings pond deformation knowledge graph.

[0072] Static property S: Let S∈R N×p For p different static properties {S 1 ,S 2 ,…,S p Static attributes do not change over time, and a static attribute matrix is ​​generated for each timestamp. Keep the value S unchanged. Specifically, the static attribute enhancement matrix at time t is as follows:

[0073]

[0074] Dynamic attribute D embedding: Different from S, let D∈R N×(q*t) For q different dynamic attributes {D 1 ,D 2 ,…,D q Considering that the deformation of the tailings dam has a lag relative to the changes in its external influencing factors, when constructing the dynamic attribute enhancement matrix When , the size of the selection window is expanded to m+1 to replace the original attribute corresponding to time t, that is, the dynamic attribute matrix is ​​selected As the sub-attribute matrix D q Specifically, the dynamic attribute enhancement matrix at time t is as follows:

[0075]

[0076] Finally, the attribute enhancement matrix combining the feature matrix X, static attributes S and dynamic attributes D is derived The representation at time t is as follows:

[0077]

[0078] In the formula, q is 4, which represents the four attributes of dry beach length, reservoir water level, infiltration line and precipitation.

[0079] Based on the prediction method of the spatiotemporal knowledge graph of tailings dam deformation, a tailings dam deformation prediction method that takes into account the temporal, spatial and dynamic properties of the monitoring points is proposed based on the T-GCN algorithm. This method not only considers the historical monitoring time series knowledge of the tailings dam, but also considers the spatiotemporal correlation between GNSS monitoring sites, and can also couple the different dynamic attribute knowledge affecting the site to the attention mechanism, ensuring a more comprehensive and accurate prediction of the tailings dam deformation.

[0080] The above tailings pond deformation knowledge graph establishes a graph data model in the non-Euclidean domain. GCN can effectively capture the spatial correlation in non-Euclidean domain data. When updating the features of a node, it can comprehensively consider the adjacency relationship of the node (including itself). ReLU is used as the activation function of GCN. By updating the global information in the graph structure, the features of all nodes with spatial correlation are finally obtained. Figure 4 As shown in (a), to obtain the spatial correlation between nodes, GCN takes the adjacency matrix A and the feature matrix X as input, and its layer-by-layer propagation rule is:

[0081]

[0082] in: is the self-connected adjacency matrix of the undirected graph G, I N is the identity matrix; for The degree matrix of (l) is the trainable weight matrix of the lth layer; σ(·) represents the activation function, such as the linear rectification function (ReLU): ReLU(·)=max(0,·); Y (l) ∈R N×D is the matrix that has been activated in the lth layer, Y (l+1) is the output of the convolutional layer, and Y (0) =X.

[0083] GRU has a gating unit that is used to regulate the information flow within the unit. Figure 4 As shown in (b), the feature matrix input in the node at the current moment is X t ; The hidden state at the previous moment is h t-1 ; Reset gate r t Used to control the degree of ignoring historical information; update gate u t Used to control the degree of integration between historical information and current input state; c t is the candidate memory unit, i.e., the storage content of the information at time t; h t is the output of the hidden state at time t; is the deformation prediction result of the tailings dam at time t. GRU takes the tailings dam monitoring information at the current time t and the hidden state information at time r-1 as input. When capturing the tailings dam monitoring information at the current moment, it can also take into account the changing trend of historical information, and the two are comprehensively considered to output the result.

[0084] In order to explore the spatiotemporal correlation in the tailings dam deformation data, GCN is combined with GRU to construct a temporal graph convolution T-GCN model. GCN is used to capture the spatial correlation characteristics of the deformation spatiotemporal knowledge graph. Then, GRU will extract the time series attributes of these features to capture the temporal correlation of the monitoring point itself. The weighted adjacency matrix A and the attribute enhancement matrix M are input into the model f to obtain the final prediction results.

[0085]

[0086] If the current time is t, M t The attribute enhancement matrix extracted at the current moment is input into the GCN layer for feature update, and the time series change features of the tailings dam deformation with spatial correlation are output; then, these feature sequences are used as the input of the GRU, and the time correlation of the sequence is constructed in the gated unit, and finally the tailings dam deformation prediction task is achieved. The derivation process is:

[0087] r t =σ(W r ·[gc(A,M t ),h t-1 ]+b r ) (10)

[0088] u t =σ(W u ·[gc(A,M t ),h t-1 ]+b u ) (11)

[0089] c t =tanh[gc(A,M t ),(r t *h t-1 )]+b c ) (12)

[0090] h t =u t *h t-1 +(1-u t )*c t (13)

[0091] Among them, gc(·) is the graph convolution process; σ(·) and tanh(·) are activation functions; parameters W and b are learnable weights and biases respectively. The above is the overall process of building a temporal graph convolution spatiotemporal prediction model, as shown in Figure 5 .

[0092] The modeling data of the present invention is mainly derived from the GNSS deformation monitoring network data, including: deformation type data is surface deformation / internal deformation data in the three directions of X, Y, and Z; the data types of external influencing factors are dry beach length, reservoir water level, infiltration line height, and precipitation. In order to comprehensively consider the interaction between the long-term deformation characteristics between each monitoring point, multiple surface displacement monitoring points and internal displacement monitoring points can be used. In theory, the more monitoring points there are, the more accurate the prediction accuracy. The time series interval can be 30 minutes.

[0093] When constructing the adjacency matrix of the deformation knowledge entity of the monitoring point, a distance weight matrix based on the Gaussian similarity function is constructed for the monitoring point. When constructing the static attribute matrix, the three directions of X, Y, and Z are used as static attributes. When constructing the dynamic attribute matrix, the dry beach length monitoring points, water level height monitoring points, infiltration line height monitoring points, and precipitation monitoring points are used. The time series interval of the dynamic attribute is synchronized with the deformation data. When the monitoring area has multiple detector data, the constructed feature matrix, static attribute matrix, and dynamic attribute matrix are normalized and mapped to [0,1].

[0094] It is recommended to use more than 2 years of data to establish a training model. 80% of the data in the data set is used as the training set, and the remaining 20% ​​is used as the test set. The training samples in the training set are extracted by sliding along the update direction of the time series. In the experiment of the present invention, 6 training samples are extracted each time, the first 5 are used as sample inputs, and the sixth is used as a label. The test set is processed in the same way. The goal of tailings dam deformation prediction is to make the prediction results as close as possible to the actual deformation state of the tailings dam. Therefore, the goal of the loss function is to minimize the prediction error of the model. The loss function used in the training process is defined as:

[0095]

[0096] Among them, Y t is the actual monitoring value of the tailings dam deformation; is the predicted value of tailings dam deformation; L_reg is L2 regularization; λ is the hyperparameter controlling the regularization rate.

[0097] The hyperparameters of the model proposed in the present invention mainly include: batch size, learning rate, number of training times, and number of GRU hidden units. In the experiment, in order to improve the training speed, it is recommended to transfer data to the model in batch mode, and the batch size is set to 64. The learning rate determines the step size at each iteration, and the purpose is to find the minimum value of the loss function. The learning rate is set to 0.001, and the adaptive momentum estimation (Adam) algorithm is used as the optimizer for adaptive dynamic adjustment. It is worth mentioning that the number of model training times and the number of hidden units are the key to affecting the prediction accuracy of the model. The above two parameters are determined through multiple groups of experiments.

[0098] Therefore, the present invention adopts the above-mentioned knowledge graph-based tailings pond deformation prediction method, which enhances the model's comprehensive ability for different types of data and the interpretability of the prediction method, further improves the prediction performance of the model, and can be used for tailings dam deformation prediction or other geological disasters with similar spatiotemporal prediction tasks in observation quantities.

[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for predicting tailings pond deformation based on knowledge graph, characterized in that: The following steps are involved: S1. Construct a spatiotemporal knowledge graph of tailings pond deformation, abstract the temporal evolution of deformation at monitoring points into a process, abstract the deformation values ​​at different times into states, and divide the environmental characteristics that cause deformation at monitoring points into static attributes and dynamic attributes; Specifically include: In order to express the spatial correlation between monitoring points, a weighted undirected fully connected graph G = (V, E, W) is defined, and the monitoring points are abstracted as nodes of the graph, that is, V = {v1, v2, ..., v N }, N is the number of monitoring points, any two monitoring points are regarded as a pair of monitoring points, and each pair of monitoring points has an undirected edge E, the total number of undirected edges E is N×(N-1) / 2, W∈R N×N The adjacency matrix represents the spatial proximity of all monitoring points. The distance between two monitoring points is related to their temporal deformation data. The weighted adjacency matrix A is calculated using a Gaussian similarity function based on spatial proximity. w The weight of is as follows: w(i,j)=exp(-||v i -v j || 2 / 2σ 2 ) (1) Among them, w(i,j) is the distance between two monitoring points (v i ,v j ) Undirected edge e ij The weight of ||v i -v j || 2 For two monitoring points (v i ,v j ) between the two monitoring points; σ is the standard deviation of the distance set of each monitoring point; The weighted adjacency matrix between monitoring sites is shown below: In order to express the time correlation of tailings pond deformation, a feature matrix X∈R including the time series deformation information of all monitoring points is constructed N×L , where N represents the number of monitoring points; L represents the total length of the time series; X∈R N×t Represents the cumulative deformation of all monitoring points at time t; input n historical time series data is expressed as: [X t-n ,…,X t-1 ,X t ] (3) Then the predicted value of the length of the future T time series is: [X t+1 ,…,X t+T-1 ,X t+T ] (4); S2. Based on the temporal state ontology of surface deformation and internal deformation, dynamic attributes and static attributes are embedded into the temporal state ontology to enhance the attributes of the spatiotemporal knowledge graph of tailings pond deformation; S3. Based on the spatiotemporal knowledge graph of tailings pond deformation, a temporal graph convolutional spatiotemporal prediction model is built using graph convolutional networks and gated recurrent units to predict the deformation of tailings ponds.

2. A method for predicting tailings pond deformation based on knowledge graph according to claim 1, characterized in that: The static attributes include deformation direction, and the dynamic attributes include dry beach length, reservoir water level, infiltration line and precipitation.

3. A method for predicting tailings pond deformation based on knowledge graph according to claim 1, characterized in that: The step S2 is specifically as follows: Static attribute S, let S∈R N×p For p different static properties {S 1 ,S 2 ,…,S p }, static attributes do not change over time, and a static attribute matrix is ​​generated for each timestamp Keeping the value S unchanged, the static attribute enhancement matrix at time t is as follows: Dynamic attribute D embedding, different from S, let D∈R N×(q*t) For q different dynamic attributes {D 1 ,D 2 ,…,D q }, the deformation of the tailings pond has a lag relative to the change of its external influencing factors. When , the size of the selection window is expanded to m+1 to replace the original attribute corresponding to time t, that is, the dynamic attribute matrix is ​​selected As the sub-attribute matrix D q , the dynamic attribute enhancement matrix at time t is as follows: Derive the attribute enhancement matrix that combines the feature matrix X, static attributes S and dynamic attributes D The representation at time t is as follows: Among them, q is 4, which represents four attributes: dry beach length, reservoir water level, infiltration line and precipitation.

4. A method for predicting tailings pond deformation based on knowledge graph according to claim 1, characterized in that: The step S3 specifically includes: The tailings pond deformation knowledge graph establishes a graph data model in the non-Euclidean domain. The graph convolution network effectively captures the spatial correlation in the non-Euclidean domain data. The linear rectification function is used as the activation function of the graph convolution network. In order to obtain the spatial correlation between nodes, the graph convolution network takes the adjacency matrix A and the feature matrix X as input. Its layer-by-layer propagation rule is as follows: in, is the self-connected adjacency matrix of the undirected graph G, I N is the identity matrix; for The degree matrix of (l) is the trainable weight matrix of the lth layer; σ(·) represents the activation function; Y (l) ∈R N×D is the matrix that has been activated in the lth layer, Y (l+1) is the output of the convolutional layer, and Y (0) =X; The gated recurrent unit has a gated unit, which is used to adjust the information flow inside the unit. The feature matrix input in the node at the current moment is X t ; The hidden state at the previous moment is h t-1 ; Reset gate r t Used to control the degree of ignoring historical information; update gate u t Used to control the degree of integration between historical information and current input state; c t is the candidate memory unit, i.e., the storage content of the information at time t; h t is the output of the hidden state at time t; The deformation prediction result of the tailings pond at time t is obtained. The gated loop unit takes the tailings pond monitoring information at the current time t and the hidden state information at time t-1 as input; In order to explore the spatiotemporal correlation in the tailings pond deformation data, the graph convolutional network is combined with the gated recurrent unit to construct a temporal graph convolutional spatiotemporal prediction model. The graph convolutional network is used to capture the spatial correlation characteristics of the deformation spatiotemporal knowledge graph, and the gated recurrent unit extracts the time series attributes of these features. The weighted adjacency matrix A and the attribute enhancement matrix M are input into the model f to obtain the final prediction results. If the current time is t, M t The attribute enhancement matrix extracted at the current moment is input into the graph convolutional network layer for feature update, and the time series change features of the tailings pond deformation with spatial correlation are output; these feature sequences are used as the input of the gated recurrent unit, and the time correlation of the sequence is constructed in the gated unit, and finally the tailings dam deformation prediction task is realized. The derivation process is: r t =σ(W r ·[gc(A,M t ),h t-1 ]+b r ) (10) u t =σ(W u ·[gc(A,M t ),h t-1 ]+b u ) (11) c t =tan h[gc(A,M t ),(r t *h t-1 )]+b c ) (12) h t =u t *h t-1 +(1-u t )*c t (13) Among them, gc(·) is the graph convolution process; σ(·) and tan h(·) are activation functions; parameters W and b are learnable weights and biases, respectively.

Citation Information

Patent Citations

  • Traffic prediction method of spatio-temporal diagram convolution model based on attribute enhancement

    CN112216108A

  • Landslide displacement space-time prediction method based on deep learning

    CN114511150A

  • Method and device for constructing space-time atlas of intelligent pipe network

    CN114860891A

  • Knowledge-driven bridge construction digital twinning scene intelligent construction method and system

    CN115544264A

  • Target research area landslide prediction method and system based on knowledge graph

    CN116611546A