A knowledge graph completion method and device for assisting tunnel support intelligent decision with empirical knowledge
By constructing a knowledge graph and combining it with rule mining and embedded learning models, new triples are generated, which solves the problem of complex and scattered environmental parameters in tunnel support engineering and realizes efficient and intelligent decision-making for tunnel support schemes.
Patent Information
- Application Number
- CN202410516803.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2044-04-28
AI Technical Summary
In tunnel support engineering, environmental parameters are complex and dispersed, and traditional methods are difficult to process and reason about efficiently, which makes it difficult to select appropriate support structures and construction methods.
An experience-based knowledge-assisted knowledge graph completion method for tunnel support is adopted. By acquiring environmental parameters and support schemes, a knowledge graph is constructed. New triples are generated using rule mining and embedded learning models to complete and iteratively update the knowledge graph, thereby assisting construction decision-making.
It improves the accuracy and efficiency of tunnel support scheme prediction, solves the problems of data dispersion and independence, enhances the interpretability and robustness of knowledge graphs, and is suitable for intelligent decision-making in actual tunnel support.
Smart Images

Figure CN118761457B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a knowledge graph completion method and apparatus for experiential knowledge-assisted intelligent decision-making in tunnel support, belonging to the field of knowledge graph completion and knowledge graph reasoning technology. Background Technology
[0002] Tunnel support refers to the various engineering techniques and measures adopted during tunnel construction to ensure the stability and safety of the tunnel structure. Tunnel support engineering involves knowledge from multiple fields, including environmental parameters and support schemes, which are complexly interconnected, uncertain, and fragmented. Taking geological conditions and groundwater volume as examples: the geological conditions of a tunnel may exhibit various uncertainties, such as the thickness, hardness, and integrity of rock strata, posing challenges to support design and construction. Simultaneously, tunnels often encounter groundwater, which has a significant impact on tunnel engineering, potentially leading to soil liquefaction, the formation of weak zones, and erosion of the support structure. Appropriate support structures and construction methods need to be selected based on different environmental parameters. However, in actual engineering projects, due to various constraints (such as cost and time), selecting suitable support structures and construction methods can be difficult. It is necessary to continuously summarize lessons learned through thorough preliminary investigations, scientific design, reasonable construction schemes, and effective monitoring methods to improve the level of environmental parameter management in tunnel excavation and support.
[0003] To better leverage experiential knowledge to support decision-making, knowledge graphs, as structured semantic knowledge bases, can play a crucial role. By transforming diverse and complex knowledge into structured data, knowledge graphs can rapidly describe concepts and their interrelationships in the physical world and aggregate vast amounts of knowledge. Storing specialized knowledge in these domains in a structured form within the knowledge graph facilitates easier retrieval and access to relevant information. Furthermore, since tunnel support engineering involves a large amount of data and parameters, traditional methods often fall short in efficient processing and reasoning. Knowledge graphs, however, possess rapid response and reasoning capabilities. By establishing relationships between concepts, knowledge graphs can quickly retrieve relevant information and provide accurate results during queries or reasoning. This facilitates more efficient thinking and analysis in the tunnel support scheme decision-making process.
[0004] Generally, the environmental parameters and corresponding support scheme data for tunnel construction monitoring are complex and scattered domain knowledge. Knowledge graph technology can transform this domain knowledge into structured data, thus the prediction of support schemes can be viewed as a knowledge graph reasoning and prediction problem. Over the years, numerous scholars have conducted extensive and in-depth research on knowledge graph reasoning and prediction. Early rule-based knowledge graph completion was a method that utilized the symbolic nature of knowledge to overcome the sparsity of knowledge graphs, improve embedding quality, promote efficient rule injection, and induce interpretable rules. The AMIE literature uses rule mining tools to iteratively mine rules and extract logical rules. In recent years, embedding-based methods have attracted widespread attention, aiming to learn distributed embedding representations of entities and relations in knowledge graphs. To address the problem of considering only sparse structural information while ignoring contextual textual information, researchers proposed the KG-BERT method. KG-BERT can comprehensively utilize triples existing in the knowledge graph and contextual textual information for representation learning. Furthermore, in terms of knowledge graph completion, the InGram method can generate embeddings of new relations and new entities for reasoning, thereby completing the knowledge graph. Recent research has combined rule-based reasoning with deep learning. Guo et al. demonstrated the effectiveness of logical rules in this domain by obtaining knowledge graph embeddings through soft rule supervision. Qu et al. used Markov Logic Network (MLN) to model logical rules and generated new triples through inference to enhance knowledge graph embeddings. Furthermore, Niu et al. proposed a method to extract common sense from fact triples with entity concepts, further enhancing knowledge graph embeddings. By combining rule-based and embedding methods, the expressive power of logical rules can be fully utilized while simultaneously capturing semantic relationships between entities. This comprehensive approach not only improves the accuracy of relation prediction in knowledge graphs but also discovers new associations and implicit knowledge. Summary of the Invention
[0005] In order to overcome the shortcomings of the existing technology, the present invention aims to provide a knowledge graph completion method for experiential knowledge-assisted intelligent decision-making in tunnel support.
[0006] The technical solution provided by this invention to solve the above-mentioned technical problems is: a knowledge graph completion method for experiential knowledge-assisted intelligent decision-making in tunnel support, comprising:
[0007] S1. Obtain the tunnel's environmental parameters, support parameters, and support scheme;
[0008] S2. Based on the obtained environmental parameters, support parameters, and support scheme, determine the entities and relationships, and construct a knowledge graph;
[0009] S3. Construct a rule mining and reasoning module based on knowledge graph, and input the training samples into the constructed rule mining and reasoning module for training to generate new triples;
[0010] The knowledge graph-based rule mining and reasoning module includes a rule mining module and a rule reasoning module. The rule mining module treats the rule mining process as a sequence-to-sequence task and includes an encoder unit and a decoder unit. The encoder unit transforms the structure of the subgraph into a sequence and modifies the attention mechanism by adding relational information during the attention mechanism computation process. It extracts contextual information from the subgraph of the head entity to better capture the semantic information between the entity and its related relations. The decoder unit aggregates subgraph information from the encoder unit output and generates the probability of relations for each reasoning step. The rule mining module enhances the interpretability of reasoning and the robustness of domain knowledge transfer.
[0011] The knowledge graph rule reasoning module adopts the forward chain method; the forward chain matches the facts currently existing in the knowledge graph with the premises of all known rules to determine the rules that can be satisfied; the conclusions of the selected rules are derived, and if these conclusions are not yet in the knowledge graph, they are added as new facts until no new conclusions are generated;
[0012] S4. Construct a knowledge graph joint embedding learning model, and input the inferred triples and the original knowledge graph triples into the model for joint training.
[0013] S5. Add the conclusions from the joint training to the existing knowledge graph, iteratively update the knowledge graph, and complete the knowledge graph.
[0014] S6. Based on the completed knowledge graph, assist in making relevant decisions regarding construction plans and parameters.
[0015] The preferred technical solution is that, in step S2, detailed data is collected based on actual construction equipment and experiential knowledge, and then a knowledge graph is constructed using a bottom-up approach to ensure that the knowledge graph achieves high accuracy.
[0016] The preferred technical solution is that the knowledge graph construction process in step S2 includes information extraction and knowledge fusion; it starts with environmental parameter data, organizes environmental parameters and support scheme entities and the relationships between them, and expands the entity attributes of the support scheme through parameters related to the support scheme.
[0017] The preferred technical solution is that the specific process of constructing the knowledge graph is as follows: from the large amount of structured data acquired, nodes and the relationships between nodes are sorted out and extracted, and stored in the schema layer and data layer of the knowledge base. At the same time, each field is treated as a specific field value of the node as an attribute value. Then, entity disambiguation and coreference resolution are performed to eliminate conceptual ambiguity from tunnel excavation and support data, remove redundant and erroneous concepts, and thus ensure the quality of knowledge.
[0018] A preferred technical solution is that the knowledge graph joint embedding learning model includes two stages: pre-training and fine-tuning.
[0019] The pre-training phase represents entities and relations as names or descriptions, and then processes the triples into sequences as input sentences for the BERT model for fine-tuning, providing effective knowledge graph triple information for the model input;
[0020] The fine-tuning stage inputs the pre-training stage representation into the multilayer bidirectional transformer encoder to obtain the final hidden state and calculate the aggregated sequence representation of the triple fraction.
[0021] A preferred technical solution is that the method for processing positive triples in the pre-training phase is as follows:
[0022]
[0023] In the formula: D + Let h represent a positive triple, r represent a relation, and t represent a tail entity.
[0024] In a knowledge graph, negative triples are generated by replacing the head entity h or tail entity t in a positive triple with a random entity h' or t', i.e.:
[0025]
[0026] In the formula: D - Let represent a negative triple, h' be a randomly generated head entity, and t' be a randomly generated tail entity. A preferred technical solution is that the evaluation function in the fine-tuning phase is calculated using the following formula:
[0027] s F =f(h,r,t)=sigmoid(CW T )
[0028] In the formula: C represents the final hidden vector, W T This represents the weight of the classification layer.
[0029] A preferred technical solution is that the encoder unit in the knowledge graph mining and reasoning module converts the graph into a sequence using the following method:
[0030] Snode =[e1,e2,...e m ,...blank]
[0031] In the formula: m is the number of entities in the subgraph, and blank represents a special fill flag;
[0032] The entity representation method of the encoder module in the knowledge graph reasoning module is as follows:
[0033]
[0034] In the formula: and It is the number of each type of relation that entity e is connected to;
[0035] In the encoder unit, relational information from the knowledge graph is added to the attention mechanism, as shown below:
[0036]
[0037] In the formula: x i and x j Embeddings of entities i and j, respectively; x r It is the embedding of relation r; W Q and W K It consists of the entity query matrix and key matrix; W K ' is the key matrix of the relationship; d k It is W K The dimension;
[0038] The normalized attention mechanism of the encoder unit in the knowledge graph mining and reasoning module is shown below:
[0039]
[0040] In the knowledge graph mining and reasoning module, the encoder unit adds relationships to the value calculation steps, as shown below:
[0041]
[0042] In the formula: W V W is the value matrix of the entity. V ' is the relation value.
[0043] A preferred technical solution is that the decoder module in the knowledge graph mining module uses a rule parsing algorithm to select appropriate relationships with high weights.
[0044] A knowledge graph completion device for experiential knowledge-assisted intelligent decision-making in tunnel support includes:
[0045] The prior knowledge acquisition module is configured to collect data such as tunnel environmental parameters, support parameters, and support schemes.
[0046] The knowledge graph construction module is configured to build a knowledge graph based on the collected data;
[0047] The rule mining and reasoning module is configured to input the constructed knowledge graph into the knowledge graph rule mining and reasoning module for rule mining and reasoning.
[0048] The joint training module is configured to input the original triples and the inferred triples into the model for training, and obtain triples and triple scores.
[0049] The knowledge graph completion module is configured to add triples and scores obtained in model reasoning to the knowledge graph, making the knowledge graph more complete.
[0050] The auxiliary decision-making module is configured to integrate all the triples to predict support decision schemes and assist in intelligent decision-making for tunnel support.
[0051] The present invention has the following beneficial effects:
[0052] First, a knowledge graph-based decision-making method was used to predict relevant tunnel parameters in order to address the issues of scattered and independent data.
[0053] Second, in order to obtain more indirect information in the knowledge graph when predicting the relevant parameters of the tunnel, a technique that turns off rule mining and reasoning was used to complete the knowledge graph.
[0054] Third, when performing rule-based reasoning on tunnel-related parameters, an innovative method combining knowledge rule mining and knowledge graph embedding is proposed.
[0055] Fourth, the construction scheme reasoning and prediction device for assisting intelligent decision-making in tunnel support proposed in this invention has high applicability and can assist in intelligent decision-making related to tunnel support construction schemes in actual tunnel support. Attached Figure Description
[0056] Figure 1 This is a flowchart illustrating the overall invention method;
[0057] Figure 2 This is a schematic diagram of knowledge graph construction methods;
[0058] Figure 3 This is an explanatory diagram for the rule mining and reasoning modules;
[0059] Figure 4 This is a diagram explaining the principles of knowledge graph embedding learning;
[0060] Figure 5 This is the model design architecture diagram of this method;
[0061] Figure 6 This is a schematic diagram of the structure of the device of the present invention. Detailed Implementation
[0062] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0063] like Figure 1 As shown, the present invention provides a knowledge graph completion method and apparatus for experiential knowledge-assisted intelligent decision-making in tunnel support, comprising:
[0064] Step S1: Obtain data such as tunnel environmental parameters, support parameters, and support scheme;
[0065] Environmental parameters, such as hardness, integrity, rock layer thickness, groundwater volume, burial depth, geological structure, construction methods, and inner contour form, are obtained through geological exploration and data collection.
[0066] Support parameters are obtained based on environmental parameters, such as secondary lining support parameters, anchor bolt support parameters, steel arch support parameters, and shotcrete support parameters.
[0067] The relationship between environmental parameters, support parameters, and support schemes is initially established through artificial means, thus forming preliminary prior knowledge data with correlations.
[0068] Step S2: Based on the acquired data, identify entities and relationships, and construct a knowledge graph;
[0069] The preliminary knowledge data for tunnel excavation and support, once constructed, is structured. To extract this knowledge, it's necessary to sift through and extract nodes and their relationships from a large amount of structured data, storing this information in the schema and data layers of the knowledge base. Starting with environmental parameter data, entities such as environmental parameters and support schemes, along with their relationships, are identified. Furthermore, the entity attributes of the support schemes are expanded using parameters related to those schemes.
[0070] Table 1 shows some data on prior knowledge of tunnel excavation and support. There are two methods for creating nodes. The first method involves making each field a node; fields such as environment, hardness, and integrity are node labels, and the specific field values are attribute values. The second method treats the environment name as a node, and fields such as hardness, integrity, and rock layer thickness are used as environment information nodes. This method uses the approach of making each field a node and using the specific field values as attribute values.
[0071] Table 1
[0072]
[0073]
[0074] like Figure 2 The entities and relationships undergo a knowledge graph construction process. To better model the knowledge graph, the data is transformed into RDF format, as shown below:
[0075] G = (h, r, t)
[0076] Where G represents the knowledge graph, h represents the head entity, r represents the relation, and t represents the tail entity.
[0077] Step S3: Construct a knowledge graph-based rule mining and reasoning module, and input the training samples into the constructed rule mining and reasoning module for training to generate new triples;
[0078] like Figure 3 As shown, the rule mining and reasoning module includes an encoder module and a decoder module;
[0079] The encoder module treats the rule mining process as a sequence-to-sequence task, aggregating information from the head entity subgraph and completing the intersection of contextual information, enabling the model to acquire more knowledge graph information. Entity representation methods are shown below:
[0080]
[0081] For each relation r, two initially randomized embedding vectors ri are defined. dom and r ran , representing the domain embedding and range embedding of relation r, respectively, and the embedding vectors can be learned and optimized during training. To better capture the semantic information between entities and their related relations, x is used. e To represent entity e, this representation is achieved by combining the relation embedding type associated with that entity with a randomly initialized embedding y. e This is obtained by combining [various methods]. and It is the number of each type of relationship that entity e connects to.
[0082] The original attention score is calculated as follows:
[0083]
[0084] Where Q, K, and V represent the query matrix, key matrix, and value matrix, respectively. To prevent the inner product from becoming too large, they are divided by... As scaling factors, the gradient is prevented from becoming too small during backpropagation. These three matrices are derived from the learnable weight matrices, as shown below.
[0085] Q = XW Q
[0086] K = XW K
[0087] V = XW V
[0088] Among them, W Q W K W V These are weight matrices, which are initially randomly assigned values and updated as the model is trained.
[0089] The encoder unit adds relational information from the knowledge graph to the attention mechanism, as shown below:
[0090]
[0091] In the formula: x i and x j The embeddings of entities i and j are respectively. r It is the embedding of relation r. W Q and W K It is the entity query matrix and key matrix, W K ' is the key matrix of relationships. d k It is W K Dimensions.
[0092] The normalized attention mechanism of the encoder module in the knowledge graph reasoning module is shown below:
[0093]
[0094] The encoder module in the knowledge graph reasoning module adds the following relationship to the value calculation steps:
[0095]
[0096] In the formula: W V W is the value matrix of the entity. V'This is a relational value.
[0097] For the decoding layer unit, a rule parsing algorithm utilizing parameters learned during training is proposed to decode symbolic rules. The core idea of this algorithm is to query different triplet context information and select relations with high weights to construct rules. Considering different triples and context information, the rule former may output different parameters. Therefore, even for the same relation, the mined rules may differ. The key steps of the rule parsing algorithm are as follows:
[0098] Parameter selection: In each step, possible rules are recovered through parameters. Specifically, relationships with weights exceeding a threshold are selected.
[0099] Entity Association: Next, check whether the entities from the previous step are associated with the selected relationships. This helps to build rules step by step.
[0100] Iteration: By repeatedly executing the above steps, the rule length gradually increases until it reaches the maximum length T.
[0101] Confidence score calculation: The confidence score of each rule is calculated by multiplying the weights of the selected relations. This helps to filter out rules with high confidence scores.
[0102] Output Rules: Finally, output the rules that may be useful in the reasoning process of triples. These rules can be used to decode and understand the relationships between triples.
[0103] In rule parsing algorithms, the above steps constitute the main process. These steps aim to mine symbolic rules from training parameters to better understand the relationships between triples.
[0104] Step S4: Construct a knowledge graph embedding learning model by inputting the inferred triples and the original knowledge graph triples into the model for joint training. This joint embedding learning method allows the embedding model to learn from both knowledge graph triples and conclusion triples simultaneously.
[0105] Knowledge graph joint embedding models include a pre-training phase and a fine-tuning phase, such as Figure 4 As shown, knowledge graphs are an important resource for many artificial intelligence tasks, but they are often incomplete. Pre-trained language models can be used to improve knowledge graphs. The knowledge graph embedding module fully utilizes the capabilities of pre-trained language models, mapping the triples of the knowledge graph to text representations, thus enabling better handling of incomplete knowledge graph data. By using entity and relation descriptions in the knowledge graph as input, the relationships between triples can be evaluated more accurately.
[0106] In the pre-training phase, entities and relations are represented as names or descriptions, and these name / description sequences are then used as input sentences for fine-tuning the BERT model. To reasonably simulate the structure of a triple, triples are packaged into a single sequence. This sequence refers to the labeled sequence input to the BERT model, which can be two entity name / description sentences or combinations of triples. The method for processing triples is as follows:
[0107] The method for processing triples in the pre-training phase is as follows:
[0108]
[0109] In the formula: D - This represents a negative triple, where h' is a randomly generated head entity and t' is a randomly generated tail entity.
[0110] In a knowledge graph, negative triples are generated by replacing the head entity h or tail entity t in a positive triple with a random entity h' or t', i.e.:
[0111]
[0112] In the formula: D - Let represent a negative triple, h' be a randomly generated head entity, and t' be a randomly generated tail entity. The formula for calculating the evaluation function in the fine-tuning phase is:
[0113] s τ =f(h,r,t)=sigmoid(CW T )
[0114] In the formula: C represents the final hidden vector, W T Indicates the weights of the classification layer;
[0115] Given a positive triplet D + and the corresponding constructed negative triplet D - Calculate the cross-entropy loss for triple labels:
[0116]
[0117] In the formula: y τ ∈{0,1} is the label (negative or positive) of the triple, s τ Let s represent the evaluation function, where s τ0 +s τ1 =1.
[0118] Step S5: Add the conclusions from the joint training to the existing knowledge graph, iteratively update the knowledge graph, and complete the knowledge graph.
[0119] like Figure 5The diagram shows the overall model design architecture. The conclusions obtained after joint training are iteratively updated into the knowledge graph to achieve knowledge graph completion.
[0120] Step S6: Based on the completed knowledge graph, assist in making relevant decisions regarding the construction plan and parameters.
[0121] The dataset used in this embodiment contains over 6,000 test data sets, including 8 environmental relationships such as: hardness, integrity, rock layer thickness, groundwater volume, burial depth, geological structure, construction method, inner contour form, and 1 support relationship. The support relationship corresponds to 5 attributes: shotcrete + reinforcement, anchor bolt parameters, steel arch frame parameters, secondary lining parameters, and advanced support parameters.
[0122] The prediction scheme can be evaluated using the evaluation metrics of binary classification models, while also assessing the accuracy of top-k prediction results. For link prediction tasks, other evaluation metrics are needed to measure the final performance of the model: MR (MeanRank), MRR (Mean Reciprocal Rank), and Hit@n. Before evaluation, the following operations are performed: replace the head entity h or tail entity t in a positive triple with all other entities in the entire graph; calculate the score for each newly generated triple; sort the scores of the triples in ascending order and record the sorted sequence number of each triple.
[0123] Among them, the MR index is the average value obtained by sorting the energy values of each correct triplet in the entire spectrum and taking the sequence number.
[0124] MRR index: The value obtained by averaging the inverse of the sequence number of each correct triplet in the entire spectrum after sorting the energy of each correct triplet.
[0125] Hit@n index: The proportion of triplets with an index less than n after energy sorting of correct triplets in the entire graph.
[0126] Based on the same concept, and corresponding to the methods of the above embodiments, the present invention also provides a knowledge graph completion device that combines experiential knowledge to assist intelligent decision-making in tunnel support, such as... Figure 6 As shown, it includes the following modules:
[0127] The prior knowledge acquisition module 101 is configured to collect data such as tunnel environmental parameters, support parameters, and support schemes.
[0128] Knowledge graph construction module 102 is configured to construct a knowledge graph based on the collected data;
[0129] The rule mining and reasoning module 103 is configured to input the constructed knowledge graph into the knowledge graph rule mining and reasoning module for rule mining and reasoning.
[0130] The joint training module 104 is configured to input the original triplet and the inferred triplet into the model for training, and obtain the triplet and triplet score.
[0131] The knowledge graph completion module 105 is configured to add triples and scores obtained in model reasoning to the knowledge graph to make the knowledge graph more complete.
[0132] The auxiliary decision-making module 106 is configured to integrate all the triples, predict support decision schemes, and assist in intelligent decision-making for tunnel support.
[0133] The knowledge graph completion method proposed in this invention, which combines empirical knowledge to assist intelligent decision-making in tunnel support, has good applicability and can effectively solve the problems of complex and scattered prediction parameters and poor interpretability of deep neural networks in actual tunnel support, thereby effectively assisting the intelligent decision-making process of tunnel support.
[0134] The above description is not intended to limit the present invention in any way. Although the present invention has been disclosed through the above embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some changes or modifications to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the present invention shall still fall within the scope of the present invention.
Claims
1. A knowledge graph completion method for experiential knowledge-assisted intelligent decision-making in tunnel support, characterized in that, include: S1. Obtain the tunnel's environmental parameters, support parameters, and support scheme; S2. Based on the obtained environmental parameters, support parameters, and support scheme, determine the entities and relationships, and construct a knowledge graph; S3. Construct a rule mining and reasoning module based on knowledge graph, and input the training samples into the constructed rule mining and reasoning module for training to generate new triples; The knowledge graph-based rule mining and reasoning module includes a rule mining module and a rule reasoning module. The rule mining module treats the rule mining process as a sequence-to-sequence task and includes an encoder unit and a decoder unit. The encoder unit transforms the structure of the subgraph into a sequence and modifies the attention mechanism by adding relational information during the attention mechanism calculation process. It extracts contextual information from the subgraph of the head entity to better capture the semantic information between the entity and its related relations. The decoder unit aggregates subgraph information from the encoder unit output and generates the probability of relations for each reasoning step. The rule mining module enhances the interpretability of the reasoning and the robustness of domain knowledge transfer. The knowledge graph rule reasoning module adopts the forward chain method; Forward links match the facts currently existing in the knowledge graph with the premises of all known rules to determine the rules that can be satisfied; they deduce the conclusions of the selected rules, and if these conclusions are not yet in the knowledge graph, they are added as new facts, until no new conclusions are generated. S4. Construct a knowledge graph joint embedding learning model, and input the inferred triples and the original knowledge graph triples into the model for joint training. S5. Add the conclusions from the joint training to the existing knowledge graph, iteratively update the knowledge graph, and complete the knowledge graph. S6. Based on the completed knowledge graph, assist in making relevant decisions regarding construction plans and parameters.
2. The knowledge graph completion method for experience-based intelligent decision-making in tunnel support according to claim 1, characterized in that, In step S2, detailed data is collected based on real-world construction equipment and experiential knowledge, and then a knowledge graph is constructed using a bottom-up approach to ensure that the knowledge graph achieves high accuracy.
3. The knowledge graph completion method for experience-based intelligent decision-making in tunnel support according to claim 1, characterized in that, The knowledge graph construction process in step S2 includes information extraction and knowledge fusion. It starts with environmental parameter data, organizes environmental parameters and support scheme entities and the relationships between them, and expands the entity attributes of the support scheme through parameters related to the support scheme.
4. The knowledge graph completion method for experience-based intelligent decision-making in tunnel support according to claim 3, characterized in that, The specific process of constructing the knowledge graph is as follows: from the large amount of structured data obtained, nodes and relationships between nodes are sorted out and extracted, and stored in the schema layer and data layer of the knowledge base. At the same time, each field is treated as a specific field value of the node as an attribute value. Entity disambiguation and coreference resolution are then performed to eliminate conceptual ambiguity from tunnel excavation and support data, remove redundant and erroneous concepts, and thus ensure the quality of knowledge.
5. The knowledge graph completion method for experience-based intelligent decision-making in tunnel support according to claim 1, characterized in that, The knowledge graph joint embedding learning model includes two stages: pre-training and fine-tuning. The pre-training phase represents entities and relations as names or descriptions, and then processes the triples into sequences as input sentences for the BERT model for fine-tuning, providing effective knowledge graph triple information for the model input; The fine-tuning stage inputs the pre-training stage representation into the multilayer bidirectional transformer encoder to obtain the final hidden state and calculate the aggregated sequence representation of the triple fraction.
6. The knowledge graph completion method for experience-based intelligent decision-making in tunnel support according to claim 5, characterized in that, The method for processing positive triples in the pre-training phase is as follows: In the formula: D + Let h represent a positive triple, r represent a relation, and t represent a tail entity. In a knowledge graph, negative triples are generated by replacing the head entity h or tail entity t in a positive triple with a random entity h' or t', i.e.: In the formula: D - This represents a negative triple, where h' is a randomly generated head entity and t' is a randomly generated tail entity.
7. The knowledge graph completion method for experience-based intelligent decision-making in tunnel support according to claim 5, characterized in that, The formula for calculating the evaluation function in the fine-tuning phase is as follows: s F =f(h,r,t)=sigmoid(CW T ) In the formula: C represents the final hidden vector, W T This represents the weight of the classification layer.
8. The knowledge graph completion method for experience-based intelligent decision-making in tunnel support according to claim 1, characterized in that, The encoder unit in the knowledge graph mining and reasoning module converts the graph into a sequence using the following method: S node =[e1,e2,...e m ,...blank] In the formula: m is the number of entities in the subgraph, and blank represents a special fill flag; The entity representation method of the encoder module in the knowledge graph reasoning module is as follows: In the formula: and It is the number of each type of relation that entity e is connected to; In the encoder unit, relational information from the knowledge graph is added to the attention mechanism, as shown below: In the formula: x i and x j Embeddings of entities i and j, respectively; x r It is the embedding of relation r; W Q and W K It consists of the entity query matrix and key matrix; W K ' is the key matrix of the relationship; d k It is W K The dimension; The normalized attention mechanism of the encoder unit in the knowledge graph mining and reasoning module is shown below: In the knowledge graph mining and reasoning module, the encoder unit adds relationships to the value calculation steps, as shown below: In the formula: W V W is the value matrix of the entity. V ' is the relation value.
9. The knowledge graph completion method for experience-based intelligent decision-making in tunnel support according to claim 1, characterized in that, The decoder module in the knowledge graph mining module uses a rule parsing algorithm to select appropriate relations with high weights.
10. A knowledge graph completion device for experiential knowledge-assisted intelligent decision-making in tunnel support, characterized in that, include: The prior knowledge acquisition module is configured to collect data such as tunnel environmental parameters, support parameters, and support schemes. The knowledge graph construction module is configured to build a knowledge graph based on the collected data; The rule mining and reasoning module is configured to input the constructed knowledge graph into the knowledge graph rule mining and reasoning module for rule mining and reasoning. The joint training module is configured to input the original triples and the inferred triples into the model for training, and obtain triples and triple scores. The knowledge graph completion module is configured to add triples and scores obtained in model reasoning to the knowledge graph, making the knowledge graph more complete. The auxiliary decision-making module is configured to integrate all the triples to predict support decision schemes and assist in intelligent decision-making for tunnel support.
Citation Information
Patent Citations
Knowledge graph reasoning completion method and system based on reinforcement learning
CN112434171A
Multi-modal knowledge graph construction method and system, storage medium and electronic equipment
CN116843028A
