Roadbed design method, device and equipment based on graph neural network and storage medium
Through the roadbed design method based on graph neural network, the graph ontology and graph convolution layer are constructed, which solves the problem of lack of interpretability in the decision-making process of deep learning neural network, achieves accurate and interpretable decision-making of roadbed design, and enhances the system's Fault tolerance and adaptability.
Patent Information
- Application Number
- CN202410729205.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Deep learning neural networks lack interpretability in the decision-making process and are difficult to understand their internal working mechanisms, especially in complex decision-making scenarios, which affects their credibility and rationality in certain application fields.
The roadbed design method based on graph neural network is adopted. By constructing graph ontology and graph convolution layer, combined with pre-selected pooling layer and fully connected layer, an initial graph neural network is constructed, and the predicted weight sequence is obtained through training to determine the target roadbed design plan. , enhance the interpretability and accuracy of decision-making.
It implements topological constraints on input feature parameters, improves the accuracy and interpretability of decision-making, avoids the problem of opacity in the internal working mechanism of deep learning neural networks, and provides an accurate and interpretable prediction algorithm.
Smart Images

Figure CN118690451A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of traffic engineering technology, and in particular to a roadbed design method, device, equipment and storage medium based on graph neural network. Background Art
[0002] The decision tree approach makes decisions based on a set of predefined rules and conditions, which means that it is relatively poor in adaptability and flexibility. When faced with new scenarios that have not been seen or clearly defined, the decision-making ability of decision trees may be limited because it cannot flexibly adapt to new situations. When the decision rules become complex and diverse, traditional decision trees may become very large and difficult to manage. This may lead to the expansion of the tree structure, increasing the depth of the tree and the number of rules, which increases the complexity of maintenance and updating. This may also lead to overfitting, that is, too many rules and branches that may not be suitable for generalization of real data.
[0003] Although deep learning neural networks are able to handle complex nonlinear relationships, their internal working mechanisms are usually opaque, which makes the decision-making process lack of explainability. This means that although neural networks can provide highly accurate predictions and decisions, in some cases it is difficult to understand why it made a specific decision. This can be a challenge for some application areas, such as medical diagnosis and financial risk analysis, because transparency and explainability are very important to the rationality and credibility of decisions. Summary of the invention
[0004] The main purpose of the present invention is to provide a roadbed design method, device, equipment and storage medium based on graph neural network, aiming to solve the technical problems of opaque internal working mechanism of deep learning neural network in the prior art and lack of explainability in the process of decision-making using deep learning neural network.
[0005] To achieve the above object, the present invention provides a roadbed design method based on graph neural network, the method comprising the following steps: Obtain roadbed detection parameters; Predicting based on the roadbed detection parameters by using a pre-established graph neural network to obtain a prediction weight sequence, wherein the graph neural network includes a graph network and a graph classification, and the graph network includes a graph convolution layer and a pre-selected pooling layer constructed by a graph ontology; A target roadbed design scheme is determined from preset design schemes according to the prediction weight sequence.
[0006] Optionally, before the prediction is performed based on the roadbed detection parameters by using a pre-established graph neural network to obtain a prediction weight sequence, the method further includes: Obtaining the influencing factors and subordinate influencing factors of the roadbed design scheme, and determining the expert relationship between the influencing factors and the subordinate influencing factors; Constructing a graph ontology of each impact factor according to the subordinate impact factors and the expert relationships; Constructing an initial graph neural network according to the graph ontology, the pre-selected pooling layer, the pre-selected convolutional layer, and the pre-selected fully connected layer; The initial graph neural network is trained to obtain a graph neural network.
[0007] Optionally, constructing an initial graph neural network according to the graph ontology, the pre-selected pooling layer, the pre-selected convolutional layer, and the pre-selected fully connected layer includes: Obtaining an adjacency matrix between the influencing factors according to the adjacency relationship between the influencing factors in the graph body; Embedding the adjacency matrix into a preselected convolutional layer to obtain a graph convolutional layer; Constructing a graph network according to the graph convolution layer and the pre-selected pooling layer, and constructing a graph classification according to the fully connected layer; An initial graph neural network is obtained from the graph network and the graph classification.
[0008] Optionally, the training the initial graph neural network to obtain a graph neural network includes: Acquire sample roadbed data and sample design schemes from a preset database, wherein the preset data includes a plurality of successfully verified roadbed design schemes and corresponding roadbed data; Predicting the sample roadbed data based on the initial graph neural network to obtain a predicted sample weight; Obtaining a prediction design solution based on the prediction sample weights; A loss function is constructed according to the sample design scheme and the predicted design scheme, and the initial graph neural network is optimized based on the loss function to obtain a graph neural network.
[0009] Optionally, the predicting based on the roadbed detection parameters by using a pre-established graph neural network to obtain a prediction weight sequence includes: Preprocessing the roadbed detection parameters to obtain parameters to be predicted; Extracting features of the parameters to be predicted through a graph convolution layer to obtain parameter association features; Performing dimension reduction processing on the parameter association features through a pre-selected pooling layer to obtain the parameter association features after dimension reduction; The parameter association features after dimension reduction are classified through the fully connected layer of graph classification to obtain a prediction weight sequence.
[0010] Optionally, the preprocessing of the roadbed detection parameters to obtain the parameters to be predicted includes: Classifying the roadbed detection parameters to obtain continuous data and discrete data; Performing one-hot encoding on the discrete data to obtain discrete data parameter encoding; Performing preliminary encoding on the continuous data to obtain integer data, and performing one-hot encoding on the integer data to obtain continuous data parameter encoding; The parameter to be predicted is obtained according to the discrete data parameter encoding and the continuous data parameter encoding.
[0011] Optionally, determining a target roadbed design scheme from preset design schemes according to the prediction weight sequence includes: Obtaining the target prediction weight with the largest weight from the prediction weight sequence; Determine a corresponding reference design scheme in the preset design scheme according to the target prediction weight; Verifying the reference design scheme, and when the verification is successful, using the reference design scheme as a target roadbed design scheme; After determining the target roadbed design scheme from the preset design schemes according to the prediction weight sequence, the method further includes: Updating a preset database according to the roadbed detection parameters and the target roadbed design scheme; Training the graph neural network based on the preset database to obtain a training result; The graph neural network is updated according to the training results.
[0012] In addition, to achieve the above-mentioned purpose, the present invention also proposes a roadbed design device based on a graph neural network, and the roadbed design device based on a graph neural network includes: Parameter acquisition module, used to obtain roadbed detection parameters; A model prediction module, used to make predictions based on the roadbed detection parameters through a pre-established graph neural network to obtain a prediction weight sequence, wherein the graph neural network includes a graph network and a graph classification, and the graph network includes a graph convolution layer and a pre-selected pooling layer constructed by a graph ontology; A scheme generation module is used to determine a target roadbed design scheme from preset design schemes according to the prediction weight sequence.
[0013] In addition, to achieve the above-mentioned purpose, the present invention also proposes a roadbed design device based on a graph neural network, and the roadbed design device based on a graph neural network includes: a memory, a processor, and a roadbed design program based on a graph neural network stored in the memory and executable on the processor, and the roadbed design program based on a graph neural network is configured to implement the steps of the roadbed design method based on a graph neural network as described above.
[0014] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a roadbed design program based on a graph neural network is stored. When the roadbed design program based on a graph neural network is executed by a processor, the steps of the roadbed design method based on a graph neural network as described above are implemented.
[0015] The present invention combines the advantages of graph theory and neural networks through deep learning technology, and uses the deep reasoning ability of neural networks and the clear logic of graph ontology to provide an accurate and explainable prediction algorithm for roadbed intelligent decision-making, thereby realizing topological constraints on input feature parameters, thereby constraining the abstract information that can be learned by the neural network, which not only improves the accuracy of decision-making, but also enhances the explainability of decision-making, and avoids the problem that although deep learning neural networks can handle complex nonlinear relationships, their internal working mechanisms are usually opaque and the decision-making process lacks explainability. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a structural schematic diagram of a roadbed design device based on a graph neural network in a hardware operating environment involved in an embodiment of the present invention; Figure 2 It is a flow chart of the first embodiment of the roadbed design method based on graph neural network of the present invention; Figure 3 A schematic diagram of one-hot encoding format conversion of an embodiment of a roadbed design method based on a graph neural network of the present invention; Figure 4 A graph neural network prediction schematic diagram of an embodiment of a roadbed design method based on a graph neural network of the present invention; Figure 5 This is a graph neural network convolution calculation flow chart of an embodiment of a roadbed design method based on a graph neural network of the present invention; Figure 6 A complete roadbed design solution flow chart of an embodiment of a roadbed design method based on a graph neural network of the present invention; Figure 7 It is a flow chart of the second embodiment of the roadbed design method based on graph neural network of the present invention; Figure 8 It is a foundation reinforcement case graph ontology of an embodiment of a roadbed design method based on a graph neural network of the present invention; Fig. 9 It is a retaining structure case diagram body of an embodiment of a roadbed design method based on a graph neural network of the present invention; Fig.10 It is a slope protection case graph ontology of an embodiment of a roadbed design method based on a graph neural network of the present invention; Fig.11 This is a structural block diagram of the first embodiment of the roadbed design device based on graph neural network of the present invention.
[0017] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0018] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0019] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a roadbed design device based on a graph neural network in the hardware operating environment involved in an embodiment of the present invention.
[0020] like Figure 1 As shown, the roadbed design device based on graph neural network may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0021] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation of the roadbed design equipment based on graph neural network, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0022] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a roadbed design program based on a graph neural network.
[0023] exist Figure 1In the roadbed design device based on graph neural network shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the roadbed design device based on graph neural network of the present invention can be set in the roadbed design device based on graph neural network, and the roadbed design device based on graph neural network calls the roadbed design program based on graph neural network stored in the memory 1005 through the processor 1001, and executes the roadbed design method based on graph neural network provided by an embodiment of the present invention.
[0024] The embodiment of the present invention provides a roadbed design method based on a graph neural network, referring to Figure 2 , Figure 2 This is a schematic flow chart of a first embodiment of a roadbed design method based on graph neural network of the present invention.
[0025] In this embodiment, the roadbed design method based on graph neural network includes the following steps: Step S10: Obtain roadbed detection parameters.
[0026] It is understandable that the roadbed detection parameters can be data related to foundation reinforcement such as line grade, track type, stratum conditions, treatment purpose and environmental conditions; they can also be data related to retaining structures such as slope level, fill and excavation status, site conditions, wall backfill, work site type, etc.; they can also be data related to slope protection such as slope level, fill and excavation status, slope rock and soil properties, site conditions, work site type, etc.
[0027] It should be understood that the collected roadbed detection parameters correspond to the pre-established graph neural network. If the pre-established graph neural network is a model for predicting foundation reinforcement design schemes, the acquired roadbed detection parameters are line grade, track type, stratum conditions, treatment purpose and environmental conditions.
[0028] It should be noted that predictions can be made for any one of the aspects of foundation reinforcement, retaining structure or slope protection, or models of the three different aspects can be constructed simultaneously and predictions can be made simultaneously.
[0029] It should be noted that the executor of this embodiment is a roadbed design device based on a graph neural network, wherein the roadbed design device based on a graph neural network has functions such as data processing, data communication and program running. The roadbed design device based on a graph neural network can be an integrated controller, a control computer and other devices, and of course it can also be other devices with similar functions, and this embodiment does not limit this.
[0030] Step S20: Prediction is performed based on the roadbed detection parameters through a pre-established graph neural network to obtain a prediction weight sequence, wherein the graph neural network includes a graph network and a graph classification, and the graph network includes a graph convolution layer and a pre-selected pooling layer constructed by a graph ontology.
[0031] It can be understood that the graph neural network includes a graph network and a graph classification, and the graph network includes a graph convolution layer and a pre-selected pooling layer constructed by a graph body, and the graph body is constructed by indicators corresponding to various roadbed detection parameters.
[0032] In specific implementation, if the graph neural network is used to predict the design plan of foundation reinforcement, the graph body is constructed by indicators such as line grade, track type, stratum conditions, treatment purpose and environmental conditions; similarly, if the graph neural network is used to predict the design plan of retaining structure, the graph body is constructed by indicators such as slope level, filling and excavation status, site conditions, wall backfill, work site type, etc.
[0033] It should be noted that the corresponding graph ontology is constructed according to the indicator data corresponding to different prediction needs, so as to construct a graph neural network. The graph ontology is replaced as a separate module, which can flexibly build prediction models based on different needs.
[0034] It is worth noting that the dynamic nature of the graph ontology enables it to be adjusted in real time according to different decision-making scenarios, providing highly customized solutions. This means that the algorithm of the present invention can flexibly adapt to different needs, whether it is for the foundation treatment of the roadbed, the support scheme or the slope treatment.
[0035] Furthermore, the design of the neural network modules is also modular, and they can be trained independently and combined with different graph ontologies. This increases the flexibility and scalability of the entire system. Different neural network modules can be selected according to the requirements of specific tasks, and then combined with the corresponding graph ontologies, making it easier to update and improve various parts of the system without making major changes to the entire system. Therefore, it is possible to adapt to new decision-making scenarios and changes in knowledge more quickly, thereby continuously improving the performance and adaptability of the system and ensuring that the current recommended and predicted solutions are always the latest and most effective.
[0036] It should be noted that the graph neural network may also include a preprocessing layer, which may be a network layer for performing preliminary processing on data input into the graph neural network.
[0037] It should be understood that the data feature analysis of the data set input to the graph neural network shows that the input factors of the data set have discrete values and continuous values. For example, there are three types of fill and cut: fill / cut / half fill and half cut, while fill height and processing depth are continuous values with decimals, and the value range is uneven. Therefore, it is necessary to preprocess the input data set and convert the input data set into a format that can be recognized by the graph neural network.
[0038] It should be noted that the method for preprocessing the input data may be one-hot encoding, and the roadbed detection parameters are one-hot encoded through the preprocessing layer in the graph neural network to obtain the roadbed parameter encoding. The specific one-hot encoding format conversion can be referred to Figure 3 , the onehot array in the figure can be understood as the data after one-hot encoding. The figure shows the one-hot encoding process, which may not have actual encoding meaning; among them, Figure 3 The basis for encoding the original data can be found in Table 1 below:
[0039] Table 1 shows the input datasets and output labels of various graph neural networks.
[0040] Furthermore, based on the graph convolution layer and the preset activation function in the graph neural network, the roadbed parameter encoding is convolved to obtain roadbed features; based on the graph pooling layer in the graph neural network, the roadbed features are sampled with reduced dimension to obtain sampling features; based on the graph classification layer in the graph neural network, the sampling features and the prediction weights of each preset design scheme are predicted.
[0041] Among them, the complete prediction process of graph neural network can be referred to Figure 4 , the graph includes a preprocessing layer, a graph network, and a graph classification layer; further, the graph network includes a graph convolution layer and a graph pooling layer constructed by the graph body.
[0042] In the specific implementation, the preprocessing layer performs one-hot encoding preprocessing on the input roadbed detection parameters (i.e., the influencing factors in the graph), constructs the graph ontology based on the preprocessed data, obtains the word embedding vector based on the graph ontology, embeds the word embedding vector into the word embedding layer of the graph convolution layer, and convolutionally calculates the preprocessed data through the deep learning network and the activation function of the graph convolution layer to obtain the roadbed features; the roadbed features are further sampled through the activation function of the graph pooling layer and the attention mechanism to obtain the sampling features. Then, the sampling features are classified based on the deep learning neural network of the graph classification layer to obtain the prediction weights.
[0043] It should be noted that, in general, this embodiment covers the discretization of continuous values and the encoding conversion of discrete values through data preprocessing; then a graph neural network is adopted, in which nodes represent geological parameters, edges represent the relationship between parameters, and activation functions such as ReLU and Sigmoid are used; further, external factors such as geographical and geological influencing factors are incorporated into the classification of roadbed design schemes, historical cases and expert experience are combined, expert schemes are integrated with the predictions of graph neural networks, and the structure of the graph body and the training of graph neural networks are used to ensure that decisions are both in-depth and clear.
[0044] It is understandable that the output of the graph neural network can be a prediction weight sequence, which can be the weight of the input roadbed detection parameters relative to various roadbed design schemes.
[0045] In a specific implementation, for example, when performing classification, the input roadbed detection parameter S may be calculated, and the output is the weight of S using roadbed design solution 1, the weight of S using roadbed design solution 2, ..., the weight of S using roadbed design solution 10, which is a weight sequence.
[0046] It should be further explained that the prediction based on the roadbed detection parameters by the pre-established graph neural network to obtain a prediction weight sequence includes: preprocessing the roadbed detection parameters to obtain parameters to be predicted; extracting features of the parameters to be predicted through a graph convolution layer to obtain parameter association features; performing dimensionality reduction processing on the parameter association features through a pre-selected pooling layer to obtain parameter association features after dimensionality reduction; and classifying the parameter association features after dimensionality reduction through a fully connected layer of graph classification to obtain a prediction weight sequence.
[0047] It should be noted that by using graph neural networks to conduct deep learning training on data sets of roadbed foundation reinforcement, retaining structures, and slope protection, design solutions can be predicted. The network output stage is the final output target of the entire decision-making process. At this stage, the fully connected layer fuses the features processed by the graph convolution layer to form the final decision prediction. This prediction is usually a vector that represents the possibility of different design solutions. For example, in the foundation reinforcement case, if there are five different reinforcement solutions, the output of the network may be a vector containing five elements, such as [0.1, 0.3, 0.4, 0.15, 0.05]. Each element in this vector represents the probability of the corresponding solution being selected. In this example, the third solution (value 0.4) is the most likely choice. In addition, the network can also provide a probability score for each predicted classification, which is not just a classification decision, but provides the confidence level of the decision, providing decision makers with richer information.
[0048] Among them, it is understandable that two layers of graph convolution layers are used to learn the relationship between attributes. The graph convolution operation can extract features from the graph structure and capture the mutual influence between nodes. Taking the foundation situation as an example, the data set contains the total number of strata and the properties of the strata, where the total number of strata is an integer, and the strata properties can be silt and silty soil, clay, sand, etc. Through the graph convolution layer, the relationship between the total number of strata and the properties of the strata can be learned and used for decision prediction. The convolution calculation process of the graph neural network can be referred to Figure 5 .
[0049] Among them, after passing through the graph convolution layer, two layers of fully connected layers are used to connect the output of the graph convolution layer to the final output layer. The fully connected layer can further process features and make decision predictions.
[0050] In the specific implementation, the determination of the processing purpose includes controlling settlement, improving foundation bearing capacity, improving stability and improving anti-liquefaction ability. In the process of network training, performance evaluation and iterative optimization are key steps to ensure the accuracy and reliability of network output. First, in order to evaluate the performance of the model, the data set needs to be divided into a training set and a test set. In each training cycle (epoch), the model is first learned on the training set and then evaluated on the test set. In the training process of the present invention, the Adam optimizer is used to update the parameters. The Adam optimizer combines the advantages of the momentum method and the RMSprop algorithm, and can automatically adjust the learning rate according to the historical gradient information of the parameters. This method adjusts the learning rate of each parameter by saving the estimates of the first-order moment (mean value) and the second-order moment (unbiased variance) of the past gradient. Therefore, the Adam optimizer not only improves the accuracy of the model, but also accelerates the convergence speed. After each training and test, the current loss value and accuracy are calculated and recorded to monitor the performance of the model and make necessary adjustments. Through such an iterative process, the model can learn more effectively and optimize its performance. Based on these evaluation results, the parameters of the graph neural network can be adjusted to improve its effectiveness and explanatory power in practical applications. Through this iterative process, the model can continuously optimize and adjust itself to adapt to different data sets and application scenarios.
[0051] Among them, the roadbed detection parameters are preprocessed to obtain the parameters to be predicted, including: classifying the roadbed detection parameters to obtain continuous data and discrete data; performing one-hot encoding on the discrete data to obtain discrete data parameter encoding; performing preliminary encoding on the continuous data to obtain integer data, performing one-hot encoding on the integer data to obtain continuous data parameter encoding; and obtaining the parameters to be predicted according to the discrete data parameter encoding and the continuous data parameter encoding.
[0052] It can be understood that data preprocessing covers data extraction from the case library, discretization of continuous data and encoding conversion of discrete values; then the graph ontology in the graph neural network is constructed. This construction process will connect the input data nodes through the graph ontology based on expert experience, thereby integrating the expert's experience and knowledge with the abstract feature extraction ability of the neural network's prediction, and enhancing the correctness and interpretability of the solution recommendation; then the specific structure of the neural network such as the word embedding layer, convolution and pooling layer is constructed; then the output result of the neural network is calculated, and the internal weights of the neural network are updated according to the difference between the output result and the true value, and iterative training is performed; finally, the trained graph neural network is used to calculate the input geological parameters and output the weight vector of the prediction solution.
[0053] Step S30: determining a target roadbed design scheme from preset design schemes according to the prediction weight sequence.
[0054] It is understandable that the preset design scheme can be a classification scheme given when training the graph neural network. Simply put, there are currently 10 design schemes, and there are 10 categories corresponding to the categories for classifying the sampling features in the graph neural network. Among them, the classification of the sampling features can obtain the degree of matching between the sampling features and each category, and the matching degree can be understood as the prediction weight.
[0055] It is understandable that the matching degree between the roadbed detection parameters and each roadbed design scheme can be known based on the weight series. The higher the weight, the higher the matching degree. The roadbed design scheme corresponding to the highest weight is taken as the target roadbed design scheme.
[0056] In a specific implementation, determining the target roadbed design scheme from the preset design schemes according to the prediction weight sequence may be obtaining the target prediction weight with the largest weight from the prediction weight sequence; determining the corresponding reference design scheme in the preset design scheme according to the target prediction weight; and using the reference design scheme as the target roadbed design scheme.
[0057] It should be noted that the method of determining the target roadbed design scheme from the preset design schemes based on the prediction weight sequence includes: obtaining the target prediction weight with the largest weight from the prediction weight sequence; determining the corresponding reference design scheme in the preset design scheme based on the target prediction weight; verifying the reference design scheme, and when the verification is successful, using the reference design scheme as the target roadbed design scheme.
[0058] It is understandable that the verification of the reference design scheme can be evaluated through an expert system. After the graph neural network outputs the weight matrix of the recommended scheme, the recommendation results of the algorithm need to be reviewed by experts to eliminate obviously inappropriate schemes and increase the stability of the entire process.
[0059] After passing the expert review, the design plan will be pushed to downstream professionals for the next actual design and application in the project. After the project is completed, the important design parameters and details will be automatically entered into the data lake to increase the number of samples in the case library and iteratively train the algorithm to increase the correctness and stability of the entire process. The entire update and iteration process is as follows: In specific implementation, after each engineering project is completed, key design parameters and actual performance data are automatically collected and uploaded to the central data lake. These data cover everything from engineering geological data to the types of materials used, construction methods, costs and efficiency, and even final stability and performance. These newly collected data will be merged with the existing case library, and through subsequent automatic and manual data cleaning and preprocessing steps, the data quality is ensured and adapted to the input requirements of the model, thereby enriching and updating the case library.
[0060] It is understandable that the graph neural network in this embodiment can perform network self-update, and this mechanism involves regularly retraining the model with the latest case library to ensure that the model can capture the latest trends and patterns. In addition, the real-time performance monitoring system will continue to track the performance of the model in actual applications, such as key indicators such as prediction accuracy and decision time. If the monitoring system detects performance degradation or new trends and patterns, the system will automatically trigger additional training cycles to ensure that the model can quickly adapt to these changes.
[0061] It should be noted that the roadbed design system composed of the graph neural network described in this embodiment can also have the ability of self-diagnosis, and can regularly check potential errors or data inconsistencies, and automatically repair them, or notify the maintenance team. At the same time, a user feedback mechanism is established to allow engineers and domain experts to provide feedback on the prediction results of the model, so as to further optimize the model. In addition, the system will automatically perform software updates, including algorithm updates, security patches, and performance improvement measures to ensure that the system is always running in the latest state; the system regularly generates reports containing key performance indicators such as prediction accuracy and user satisfaction. These reports not only provide decision-making support for management, but also guide the technical team to carry out continuous optimization work. Long-term data analysis can provide valuable insights for algorithm optimization, such as adjusting specific parameters or introducing new data processing techniques.
[0062] It should be further explained that after determining the target roadbed design scheme from the preset design schemes according to the prediction weight sequence, it also includes: updating the preset database according to the roadbed detection parameters and the target roadbed design scheme; training the graph neural network based on the preset database to obtain training results; updating the graph neural network according to the training results. The complete roadbed design scheme process can be referred to Figure 6 .
[0063] It can be understood that the roadbed design process of this embodiment is the overall implementation process of the intelligent decision-making solution, including the processing of survey data, forward propagation calculation of the graph neural network, recommendation of solution weights, expert review and final solution push, downstream design, and finally, the historical case library will be expanded, so that the graph neural network can be iteratively trained and the weights of the neural network can be updated, thereby enhancing the capabilities of the entire set of intelligent decision-making algorithms.
[0064] In specific implementation, the use of graph neural networks for prediction and recommendation in intelligent decision-making in the field of transportation construction is a new algorithm that uses deep learning technology and combines the advantages of graph theory and neural networks to provide an accurate and explainable prediction algorithm for intelligent decision-making in roadbeds. By adopting graph neural networks, topological constraints on input feature parameters can be achieved, thereby constraining the abstract information that the neural network can learn and increasing the interpretability and stability of the neural network.
[0065] In the process of designing a graph network, the construction of a graph ontology is one of the most critical steps, which involves how to integrate expert knowledge into the structure of the graph network. The present invention adopts a unique method to integrate the expert's prior knowledge with the topological structure of the graph ontology, thereby creating predefined graph connections in the feature data input to the neural network to form a neural network reinforced by the graph ontology. For example, the feature data of multiple strata can be connected to a shared stratum ontology node, and then this stratum ontology node can be used for further graph neural network feature extraction. This method not only improves the interpretability of decisions, making it easier for users to understand the logic behind the decisions, but also enhances the fault tolerance of the system, ensuring that appropriate decisions can still be made in specific situations.
[0066] It should be emphasized that in this embodiment, the data for training the graph neural network comes from a pre-built roadbed engineering scheme design case library, and a real-time self-learning mechanism for the graph neural network is established to achieve self-learning of the decision algorithm and self-maintenance of the decision function; by building a roadbed engineering scheme design case library, the library brings together a variety of roadbed design examples and related parameters. These cases cover different geological conditions, environmental factors, and engineering requirements, providing rich learning materials for the graph neural network. By learning from these cases, the graph neural network can identify and extract key design patterns and decision logic.
[0067] It should be noted that the graph neural network in the present invention is equipped with a real-time self-learning mechanism. This means that the network can not only learn from the initial case library, but also continuously update and adjust its decision model based on new design cases and data collected in actual applications. This self-learning ability enables the decision algorithm to adapt to changing design conditions and technological advances, maintaining its prediction accuracy and relevance; by combining the roadbed engineering scheme design case library with the self-learning mechanism of the graph neural network, the present invention achieves continuous self-optimization and maintenance of the decision function. This not only improves the practicality and flexibility of the decision algorithm, but also ensures the continuous improvement of decision quality over a long period of time, adapting to the needs of the rapidly developing field of transportation engineering.
[0068] It should be further explained that the intelligent decision-making implementation process of the design plan: this process comprehensively considers the processing of survey data, the forward propagation calculation of the graph neural network, the recommendation of plan weights, expert review and final plan push, downstream design and other links to ensure the accuracy and feasibility of the final plan; the calculation and training process of the graph neural network.
[0069] This embodiment combines the advantages of graph theory and neural networks through deep learning technology, and uses the deep reasoning ability of neural networks and the clear logic of graph ontology to provide an accurate and explainable prediction algorithm for intelligent roadbed decision-making. It can implement topological constraints on input feature parameters, thereby constraining the abstract information that can be learned by the neural network, which not only improves the accuracy of decisions, but also enhances the explainability of decisions, and avoids the problem that although deep learning neural networks can handle complex nonlinear relationships, their internal working mechanisms are usually opaque, which makes the decision-making process lack explainability.
[0070] refer to Figure 7 , Figure 7 This is a flow chart of a second embodiment of a roadbed design method based on graph neural network of the present invention.
[0071] Based on the first embodiment described above, the roadbed design method based on graph neural network in this embodiment further includes, before step S20: Step S201: Obtain influencing factors and subordinate influencing factors of a roadbed design solution, and determine expert relationships between the influencing factors and the subordinate influencing factors.
[0072] It is understandable that, based on Table 1, different roadbed design schemes have different influencing factors. For example, the roadbed design scheme includes foundation reinforcement, retaining structure and slope protection; each design scheme has many influencing factors and the relationship is complex.
[0073] It should be understood that the influencing factor may be an influencing factor related to the roadbed design, such as the influencing factor of foundation reinforcement, wherein the influencing factor of foundation reinforcement includes multiple subordinate influencing factors, such as line grade, filling and excavation status, foundation condition, treatment purpose, environmental conditions, etc.
[0074] It should be noted that the expert relationship between the influencing factor and the subordinate influencing factors may be a characteristic assigned to each influencing factor in advance according to experience and actual conditions.
[0075] Step S202: constructing a graph ontology of each impact factor according to the subordinate impact factors and the expert relationships.
[0076] It is understandable that the graph ontology of the roadbed design case is mainly composed of its influencing factors and design schemes, and different combinations of influencing factors determine the selection of design schemes. There are many influencing factors for foundation reinforcement, retaining structure and slope protection schemes, and the relationship is complex. Taking foundation reinforcement as an example, it mainly includes line grade, filling and excavation status, foundation conditions, treatment purpose, environmental conditions and other aspects. Each aspect can be further subdivided. For example, the foundation conditions include factors such as stratum name, stratum properties, special rock and soil, and poor geology. Different attributes are connected to each other through the ontology based on expert knowledge. Compared with simple full connection, this sparse connection method can better limit the graph neural network to extract more practical information and improve the accuracy and interpretability of the graph neural network model.
[0077] It should be noted that there are many factors affecting foundation reinforcement, retaining structure and slope protection scheme, and the relationship is complex. Taking foundation reinforcement as an example, it mainly includes line grade, filling and excavation status, foundation condition, treatment purpose, environmental conditions and other aspects. Each aspect can be further subdivided. For example, the foundation condition includes factors such as stratum name, stratum properties, special rock and soil, and unfavorable geology. For details, please refer to Figure 8 , Fig. 9 as well as Fig.10 , in the figure, Figure 8 This is the foundation reinforcement case diagram. Fig. 9 This is the main body of the retaining structure case diagram. Fig.10 This is the main body of the slope protection case diagram.
[0078] Furthermore, different attributes are connected to each other through ontology based on expert knowledge. Compared with simple full connection, this sparse connection method can better limit the graph neural network to extract more practical information and improve the accuracy and interpretability of the graph neural network model.
[0079] Step S203: construct an initial graph neural network according to the graph body, the pre-selected pooling layer, the pre-selected convolutional layer and the pre-selected fully connected layer.
[0080] It should be noted that the initial graph neural network is constructed according to the graph body, the pre-selected pooling layer, the pre-selected convolutional layer and the pre-selected fully connected layer, including: obtaining the adjacency matrix between the influencing factors according to the adjacency relationship between the influencing factors in the graph body; embedding the adjacency matrix into the pre-selected convolutional layer to obtain a graph convolutional layer; constructing a graph network according to the graph convolutional layer and the pre-selected pooling layer, and constructing a graph classification according to the fully connected layer; and obtaining an initial graph neural network from the graph network and the graph classification.
[0081] Among them, reference Figure 4 It can be understood that the adjacency matrix is embedded in the preset convolution layer to obtain the graph convolution layer, which can be obtained by connecting the nodes in the graph ontology according to the adjacency matrix, and then obtaining the connection matrix between the nodes, and obtaining the word embedding vector according to the connection matrix, and embedding the word embedding vector and the graph ontology into the convolution layer to obtain the following: Figure 3 The graph convolutional layer in .
[0082] It should be emphasized that graph neural networks are different from traditional neural networks. In addition to the input factor values of each sample, the input of graph neural networks also requires the connection relationship between sample input factors, that is, the adjacency matrix. In graph theory, a graph consists of nodes (vertices) and edges connecting these nodes. The adjacency matrix can be used to represent these connection relationships, as well as the adjacency relationships between nodes. For a graph with n nodes, the adjacency matrix is an n×n matrix, where the elements represent the connections between nodes. The size of the adjacency matrix depends on the number of nodes in the graph. For a graph with n nodes, the size of the adjacency matrix is n×n.
[0083] Step S204: training the initial graph neural network to obtain a graph neural network.
[0084] It should be noted that the training of the initial graph neural network to obtain the graph neural network includes: obtaining sample roadbed data and sample design schemes from a preset database, wherein the preset data includes multiple successfully verified roadbed design schemes and corresponding roadbed data; predicting the sample roadbed data based on the initial graph neural network to obtain predicted sample weights; obtaining a predicted design scheme based on the predicted sample weights; constructing a loss function based on the sample design schemes and the predicted design schemes, and optimizing the initial graph neural network based on the loss function to obtain a graph neural network.
[0085] This embodiment constructs a graph ontology by connecting the influencing factors of the roadbed design scheme with the quality inspection experts of each factor, and integrates the experts' prior knowledge with the topological structure of the graph ontology, thereby creating a predefined graph connection in the feature data input by the neural network. The feature data of multiple strata can be connected to a shared stratum ontology node, and then this stratum ontology node is used for further graph neural network feature extraction, which improves the interpretability of the decision, makes it easier for users to understand the logic behind the decision, and enhances the fault tolerance of the system to ensure that appropriate decisions can still be made in specific situations.
[0086] In addition, an embodiment of the present invention also proposes a storage medium, on which a roadbed design program based on a graph neural network is stored. When the roadbed design program based on a graph neural network is executed by a processor, the steps of the roadbed design method based on a graph neural network as described above are implemented.
[0087] Reference Fig.11 , Fig.11 This is a structural block diagram of the first embodiment of the roadbed design device based on graph neural network of the present invention.
[0088] like Fig.11 As shown, the roadbed design device based on graph neural network proposed in the embodiment of the present invention includes: A parameter acquisition module 10 is used to acquire roadbed detection parameters; A model prediction module 20, configured to perform prediction based on the roadbed detection parameters through a pre-established graph neural network to obtain a prediction weight sequence, wherein the graph neural network includes a graph convolution layer, a graph pooling layer, and a graph classification layer constructed by a graph ontology; The solution generation module 30 is used to determine the target roadbed design solution from the preset design solutions according to the prediction weight sequence.
[0089] This embodiment combines the advantages of graph theory and neural networks through deep learning technology, and uses the deep reasoning ability of neural networks and the clear logic of graph ontology to provide an accurate and explainable prediction algorithm for intelligent roadbed decision-making. It can implement topological constraints on input feature parameters, thereby constraining the abstract information that can be learned by the neural network, which not only improves the accuracy of decisions, but also enhances the explainability of decisions, and avoids the problem that although deep learning neural networks can handle complex nonlinear relationships, their internal working mechanisms are usually opaque, which makes the decision-making process lack explainability.
[0090] In one embodiment, the model prediction module 20 is further used to obtain the influencing factors and subordinate influencing factors of the roadbed design scheme, and determine the expert relationship between the influencing factors and the subordinate influencing factors; Constructing a graph ontology of each impact factor according to the subordinate impact factors and the expert relationships; Constructing an initial graph neural network according to the graph ontology, the pre-selected pooling layer, the pre-selected convolutional layer, and the pre-selected fully connected layer; The initial graph neural network is trained to obtain a graph neural network.
[0091] In one embodiment, the model prediction module 20 is further used to obtain an adjacency matrix between the influencing factors according to the adjacency relationship between the influencing factors in the graph body; Embedding the adjacency matrix into a preselected convolutional layer to obtain a graph convolutional layer; Constructing a graph network according to the graph convolution layer and the pre-selected pooling layer, and constructing a graph classification according to the fully connected layer; An initial graph neural network is obtained from the graph network and the graph classification.
[0092] In one embodiment, the model prediction module 20 is further used to obtain sample roadbed data and sample design schemes from a preset database, wherein the preset data includes a plurality of successfully verified roadbed design schemes and corresponding roadbed data; Predicting the sample roadbed data based on the initial graph neural network to obtain a predicted sample weight; Obtaining a prediction design solution based on the prediction sample weights; A loss function is constructed according to the sample design scheme and the predicted design scheme, and the initial graph neural network is optimized based on the loss function to obtain a graph neural network.
[0093] In one embodiment, the model prediction module 20 is further used to pre-process the roadbed detection parameters to obtain parameters to be predicted; Extracting features of the parameters to be predicted through a graph convolution layer to obtain parameter association features; Performing dimension reduction processing on the parameter association features through a pre-selected pooling layer to obtain the parameter association features after dimension reduction; The parameter association features after dimension reduction are classified through the fully connected layer of graph classification to obtain a prediction weight sequence.
[0094] In one embodiment, the model prediction module 20 is further used to classify the roadbed detection parameters to obtain continuous data and discrete data; Performing one-hot encoding on the discrete data to obtain discrete data parameter encoding; Performing preliminary encoding on the continuous data to obtain integer data, and performing one-hot encoding on the integer data to obtain continuous data parameter encoding; The parameter to be predicted is obtained according to the discrete data parameter encoding and the continuous data parameter encoding.
[0095] In one embodiment, the solution generation module 30 is further used to obtain the target prediction weight with the largest weight from the prediction weight sequence; Determine a corresponding reference design scheme in the preset design scheme according to the target prediction weight; Verifying the reference design scheme, and when the verification is successful, using the reference design scheme as a target roadbed design scheme; After determining the target roadbed design scheme from the preset design schemes according to the prediction weight sequence, the method further includes: Updating a preset database according to the roadbed detection parameters and the target roadbed design scheme; Training the graph neural network based on the preset database to obtain a training result; The graph neural network is updated according to the training results.
[0096] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0097] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0098] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0099] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0100] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0101] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0102] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A roadbed design method based on graph neural network, characterized in that: The roadbed design method based on graph neural network includes: Obtain roadbed detection parameters; Predicting based on the roadbed detection parameters by using a pre-established graph neural network to obtain a prediction weight sequence, wherein the graph neural network includes a graph network and a graph classification, and the graph network includes a graph convolution layer and a pre-selected pooling layer constructed by a graph ontology; A target roadbed design scheme is determined from preset design schemes according to the prediction weight sequence.
2. The roadbed design method based on graph neural network according to claim 1, characterized in that: Before the prediction is performed based on the roadbed detection parameters by using the pre-established graph neural network to obtain a prediction weight sequence, the method further includes: Obtaining the influencing factors and subordinate influencing factors of the roadbed design scheme, and determining the expert relationship between the influencing factors and the subordinate influencing factors; Constructing a graph ontology of each impact factor according to the subordinate impact factors and the expert relationships; Constructing an initial graph neural network according to the graph ontology, the pre-selected pooling layer, the pre-selected convolutional layer, and the pre-selected fully connected layer; The initial graph neural network is trained to obtain a graph neural network.
3. The roadbed design method based on graph neural network according to claim 2, characterized in that: The initial graph neural network is constructed according to the graph ontology, the pre-selected pooling layer, the pre-selected convolutional layer and the pre-selected fully connected layer, including: Obtaining an adjacency matrix between the influencing factors according to the adjacency relationship between the influencing factors in the graph body; Embedding the adjacency matrix into a preselected convolutional layer to obtain a graph convolutional layer; Constructing a graph network according to the graph convolution layer and the pre-selected pooling layer, and constructing a graph classification according to the fully connected layer; An initial graph neural network is obtained from the graph network and the graph classification.
4. The roadbed design method based on graph neural network according to claim 2, characterized in that: The training of the initial graph neural network to obtain the graph neural network includes: Acquire sample roadbed data and sample design schemes from a preset database, wherein the preset data includes a plurality of successfully verified roadbed design schemes and corresponding roadbed data; Predicting the sample roadbed data based on the initial graph neural network to obtain a predicted sample weight; Obtaining a prediction design solution based on the prediction sample weights; A loss function is constructed according to the sample design scheme and the predicted design scheme, and the initial graph neural network is optimized based on the loss function to obtain a graph neural network.
5. The roadbed design method based on graph neural network according to claim 1, characterized in that: The method of performing prediction based on the roadbed detection parameters by using a pre-established graph neural network to obtain a prediction weight sequence includes: Preprocessing the roadbed detection parameters to obtain parameters to be predicted; Extracting features of the parameters to be predicted through a graph convolution layer to obtain parameter association features; Performing dimension reduction processing on the parameter association features through a pre-selected pooling layer to obtain the parameter association features after dimension reduction; The parameter association features after dimension reduction are classified through the fully connected layer of graph classification to obtain a prediction weight sequence.
6. The roadbed design method based on graph neural network according to claim 5, characterized in that: The preprocessing of the roadbed detection parameters to obtain the parameters to be predicted includes: Classifying the roadbed detection parameters to obtain continuous data and discrete data; Performing one-hot encoding on the discrete data to obtain discrete data parameter encoding; Performing preliminary encoding on the continuous data to obtain integer data, and performing one-hot encoding on the integer data to obtain continuous data parameter encoding; The parameter to be predicted is obtained according to the discrete data parameter encoding and the continuous data parameter encoding.
7. The roadbed design method based on graph neural network according to any one of claims 1 to 6, characterized in that: Determining a target roadbed design scheme from preset design schemes according to the prediction weight sequence includes: Obtaining the target prediction weight with the largest weight from the prediction weight sequence; Determine a corresponding reference design scheme in the preset design scheme according to the target prediction weight; Verifying the reference design scheme, and when the verification is successful, using the reference design scheme as a target roadbed design scheme; After determining the target roadbed design scheme from the preset design schemes according to the prediction weight sequence, the method further includes: Updating a preset database according to the roadbed detection parameters and the target roadbed design scheme; Training the graph neural network based on the preset database to obtain a training result; The graph neural network is updated according to the training results.
8. A roadbed design device based on graph neural network, characterized in that: The roadbed design device based on graph neural network includes: Parameter acquisition module, used to obtain roadbed detection parameters; A model prediction module, used to make predictions based on the roadbed detection parameters through a pre-established graph neural network to obtain a prediction weight sequence, wherein the graph neural network includes a graph network and a graph classification, and the graph network includes a graph convolution layer and a pre-selected pooling layer constructed by a graph ontology; A scheme generation module is used to determine a target roadbed design scheme from preset design schemes according to the prediction weight sequence.
9. A roadbed design device based on graph neural network, characterized in that: The device includes: a memory, a processor, and a roadbed design program based on a graph neural network stored in the memory and executable on the processor, wherein the roadbed design program based on a graph neural network is configured to implement the roadbed design method based on a graph neural network as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a roadbed design program based on a graph neural network, and when the roadbed design program based on a graph neural network is executed by a processor, the roadbed design method based on a graph neural network as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method for performing three-dimensional parametric modeling on high-speed railway subgrade in virtual reality environment
CN102385657A
Construction method of image classified CNN (Convolutional Neural Network) structure
CN106874956A
Roadbed engineering design method, device and equipment and storage medium
CN112580134A
Multivariable time sequence prediction method and device based on graph neural network
CN115906954A
USE OF ROAD-SIDE INFRASTRUCTURE
DE102022111713A1
