Geological disaster risk partition automatic optimization method and system based on artificial intelligence
Through multi-input branch neural networks and reinforcement learning algorithms, combined with sensors and remote sensing technology, the problem of incomplete data acquisition and low processing efficiency in geological disaster risk assessment is solved, and high-precision, multi-dimensional risk assessment and dynamic optimization are achieved. Provides intuitive risk prediction results, significantly improving the accuracy and readability of assessments.
Patent Information
- Application Number
- CN202411018839.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing geological disaster risk assessment methods have problems such as incomplete data acquisition, low processing efficiency, limited model accuracy and lack of intelligence, making it difficult to achieve real-time, accurate and dynamic risk prediction and early warning.
It uses multi-input branch neural networks combined with reinforcement learning algorithms to collect geological, meteorological and remote sensing image data through sensors and remote sensing technology, perform data fusion and dynamic optimization, and achieve geological disaster risk assessment, with high precision, multi-dimensional feature extraction, and real-time adaptation. Optimized and intuitive visualization.
It provides a comprehensive, accurate and intelligent geological disaster risk assessment solution, improves the comprehensiveness and processing efficiency of data acquisition, improves the accuracy and robustness of the model, and achieves real-time dynamic optimization and intuitive presentation of risk prediction results.
Smart Images

Figure CN118822271A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of geological disaster risk assessment, and in particular to an automatic optimization method and system for geological disaster risk zoning based on artificial intelligence. Background Art
[0002] Geological disasters refer to natural disasters that damage human life, property and ecological environment due to geological action or human activities, such as landslides, mudslides, earthquakes, volcanic eruptions, etc. These disasters are characterized by suddenness, widespreadness and severity, which seriously affect the sustainable development of social economy and the quality of human life. With the intensification of global climate change and human activities, the frequency and intensity of geological disasters are on the rise, and geological disaster risk assessment and early warning are particularly important. Existing geological disaster risk assessment methods mainly include geological survey method, remote sensing technology method and numerical simulation method, which still have shortcomings.
[0003] First, data acquisition is not comprehensive. Traditional geological survey methods rely on field surveys and sampling, which are often difficult to obtain comprehensive data due to the limitations of terrain and climate conditions. Although remote sensing technology can cover a large area, it is easily affected by human factors due to the complexity of data processing and interpretation. Numerical simulation methods require a large amount of basic data and computing resources, and the accuracy of the results depends on the rationality of the model and the setting of parameters.
[0004] Secondly, data processing efficiency is low. The amount of geological data, meteorological data and remote sensing image data collected is huge, and traditional data processing methods are often inefficient and difficult to process and analyze in real time. Especially in the event of sudden geological disasters, fast and accurate data processing and analysis are particularly important. Thirdly, the model accuracy is limited. Existing geological disaster risk assessment models are mostly based on empirical formulas and statistical methods, which make it difficult to fully consider the complex interactions of multiple factors such as geology, meteorology and human activities, resulting in limited model accuracy and high uncertainty in prediction results.
[0005] In addition, the lack of intelligent means is also a major flaw of existing technologies. Traditional geological hazard risk assessment methods are difficult to dynamically adjust and optimize according to real-time data and environmental changes, and cannot achieve accurate risk prediction and early warning. Finally, the existing geological hazard risk assessment results are mostly presented in the form of reports and charts, lacking intuitive visualization methods, which is not conducive to the understanding and response of decision makers and the public.
[0006] Therefore, how to provide an automatic optimization method and system for geological hazard risk zoning based on artificial intelligence is an urgent problem that technical personnel in this field need to solve. Summary of the invention
[0007] One purpose of the present invention is to propose an automatic optimization method and system for geological hazard risk zoning based on artificial intelligence. The present invention adopts a multi-input branch neural network combined with a reinforcement learning algorithm, comprehensively collects geological, meteorological and remote sensing image data through sensors and remote sensing technology, performs data fusion and dynamic optimization, and realizes geological hazard risk assessment. The method has the advantages of high precision, multi-dimensional feature extraction, real-time adaptive optimization and intuitive visualization, effectively solves the problems of incomplete data acquisition, low processing efficiency, limited model accuracy and lack of intelligence in the prior art, and provides a comprehensive, accurate and intelligent solution for geological hazard risk assessment.
[0008] The method for automatically optimizing geological disaster risk zoning based on artificial intelligence according to an embodiment of the present invention comprises the following steps:
[0009] S1. Collect geological data, meteorological data and remote sensing image data through sensors and remote sensing technology;
[0010] S2. Preprocessing the collected geological data, meteorological data and remote sensing image data, including cleaning, normalization and preliminary feature extraction;
[0011] S3, constructing a multi-input branch neural network model, inputting the pre-processed geological data, meteorological data and remote sensing image data into the neural networks of the geological data branch, meteorological data branch and remote sensing data branch respectively;
[0012] S4. Use the multimodal attention mechanism to weight and fuse the output features of each branch, and adjust the feature weights of different data sources through adaptive learning to obtain fused features;
[0013] S5. Apply reinforcement learning algorithm to dynamically optimize the fusion features to obtain optimized adaptive features;
[0014] S6, input the optimized adaptive features into the fully connected layer, and output the geological disaster risk level;
[0015] S7. Present the prediction results of geological disaster risk level through visualization technology.
[0016] Furthermore, the multi-input branch neural network model specifically includes a geological data branch neural network model, a meteorological data branch neural network model and a remote sensing data branch neural network model.
[0017] Furthermore, the geological data branch neural network model specifically includes:
[0018] Input layer: receiving preprocessed geological data features, including terrain slope and soil type;
[0019] Convolutional layer 1: applies a convolution operation with a kernel size of k1×k1 and a number of n1 to extract low-level geological features:
[0020]
[0021] in, represents the convolution kernel weight, x i,j represents the input feature map, b1 represents the bias value, represents the input feature map, σ represents the activation function;
[0022] Convolutional layer 2: applies a convolution operation with a kernel size of k2×k2 and a number of n2 to extract high-level geological features:
[0023]
[0024] in, represents the convolution kernel weight, b2 represents the bias value, represents the output feature map;
[0025] Self-attention mechanism layer: Apply the self-attention mechanism to weight the output of the convolution layer, and the attention weight α ij The calculation formula is:
[0026]
[0027] Among them, e ij =a(W h h i +W x x j ), a represents the activation function, W h and W x represents the weight matrix, h i and x j Represents the input features.
[0028] Furthermore, the meteorological data branch neural network model specifically includes:
[0029] Input layer: receiving pre-processed meteorological data features, wherein the meteorological data features include rainfall and temperature;
[0030] Bidirectional LSTM layer 1: The input time series length is T, low-level meteorological features are extracted, and the number of hidden layer units is h1:
[0031]
[0032]
[0033] in, represents the hidden state of the forward LSTM at time t, represents the hidden state of the reverse LSTM at time t, W represents the weight matrix, and x t represents the current input feature, h t-1 represents the hidden state of LSTM at time t-1, h t+1 represents the hidden state of LSTM at time t+1, b represents the bias value, and σ represents the activation function;
[0034] Bidirectional LSTM layer 2: The input time series length is T, high-level meteorological features are extracted, and the number of hidden layer units is h2;
[0035] Self-attention mechanism layer: Apply the attention mechanism to weight the bidirectional LSTM layer, and the attention weight β t The calculation formula is:
[0036]
[0037] Among them, β t represents the attention weight, e t =a(W h h t +W x x t ), a represents the activation function, W h and W x represents the weight matrix, h t and x t Represents the input features.
[0038] Furthermore, the remote sensing data branch neural network model specifically includes:
[0039] Input layer: receiving pre-processed remote sensing image data, wherein the remote sensing image data is a multi-channel image;
[0040] Convolutional layer 1: applies convolution operation with kernel size k3×k3 and number n3 to extract low-level image features:
[0041]
[0042] in, represents the output feature map, σ represents the activation function, represents the convolution kernel weight, x i,j represents the input feature map, b3 represents the bias value;
[0043] Convolutional layer 2: applies a convolution operation with a kernel size of k4×k4 and a number of n4 to extract high-level image features:
[0044]
[0045] in, represents the output feature map, b4 represents the bias value, Represents the convolution kernel weight;
[0046] Self-attention layer: applies self-attention mechanism to weight the convolutional layer output.
[0047] Furthermore, the S4 specifically includes:
[0048] S41, the output characteristics of the geological data branch, the meteorological data branch and the remote sensing data branch are respectively recorded as F g 、F m and F r ;
[0049] S42, performing weighted calculation on the input features through the multimodal attention mechanism to obtain the attention weight matrix of each feature;
[0050] Each feature matrix is transformed linearly to obtain the feature mapping matrix:
[0051] F′ g =W g F g +b g ,F′ m =W m F m +b m ,F′ r =W r F r +b r ;
[0052] Among them, W g , W m and W r represents the weight matrix, b g , b m and b r represents the bias vector;
[0053] Calculate the query matrix Q, key matrix K, and value matrix V of each feature map matrix, and calculate the attention weight matrix through the self-attention mechanism:
[0054] Q g =W q F′ g ,K g =W k F′ g ,V g =W v F′ g ;
[0055] Q m =W q F′ m ,K m =Wk F′ m ,V m =W v F′ m ;
[0056] Q r =W q F′ r ,K r =W k F′r,V r =W v F′ r ;
[0057] Among them, W q , W k and W v The weight matrices representing the query matrix, key matrix, and value matrix respectively;
[0058] The attention weight matrix is obtained by calculating the dot product attention:
[0059]
[0060] Among them, d k represents the scaling factor;
[0061] S43. Multiply the input feature by the attention weight to obtain the weighted feature matrix:
[0062] F″ g =A g V g ,F″ m =A m V m ,F″ r =A r V r ;
[0063] S44. Concatenate the weighted feature matrices to obtain fused features:
[0064] F f =[F″ g ; F″ m ; F″ r ];
[0065] S45. Pass the fused features through the fully connected layer to obtain the initially weighted fused features:
[0066] F′ f =σ(W f F f +b f );
[0067] Among them, W frepresents the weight matrix of the fully connected layer, b f represents the bias vector, σ represents the activation function;
[0068] S46. Apply the adaptive adjustment mechanism to dynamically adjust the feature weights according to the feedback data, calculate the interaction information between features, and obtain the feature interaction matrix:
[0069] I gm =F″ g ⊙F″ m ,I gr =F″ g ⊙F″ r ,I mr =F″ m ⊙F″ r ;
[0070] Among them, ⊙ represents the element-by-element multiplication operation;
[0071] The feature interaction matrix is transformed nonlinearly through a multilayer perceptron to obtain the interaction weights:
[0072] W gm =MLP(I gm ),W gr =MLP(I gr ),W mr =MLP(I mr );
[0073] Combining the interaction weights and the initially weighted fusion features, we get the final fusion features:
[0074] F final =α g F″ g +α m F″ m +α r F″ r +β(W gm ⊙I gm +W gr ⊙I gr +W mr ⊙I mr );
[0075] Among them, α g , α m and a r represents the dynamically adjusted feature weight coefficient, and β represents the fusion coefficient;
[0076] S47, output fusion features: the final fusion feature F final as output.
[0077] Furthermore, the S5 specifically includes:
[0078] S51, Initialize strategy network π θ (a|s) and value network V φ (s), where θ and φ represent network parameters, a represents action, and s represents state;
[0079] S52, feature state definition: fusion feature F final As state s:
[0080] s t =F f ;
[0081] Where t represents the time step;
[0082] S53, define the action space as feature weight adjustment a t ;
[0083] S54, the strategy network is based on the current state s t Output action probability distribution π θ (a|s t ), select action a by sampling t :
[0084] a t ~π θ (a|s t );
[0085] S55. After executing the action, the environment gives a reward r t and the next state s t+1 ;
[0086] S56, using the time difference error to update the value network parameter φ, specifically:
[0087] δ t =r t +γV φ (s t+1 )-V φ (s t );
[0088]
[0089] Among them, δ t represents the timing difference error, r t represents the reward of the current time step, γ represents the discount factor, V φ (s t+1 ) represents the value network’s estimate of the next state, V φ (s t ) represents the value network’s estimate of the current state, α φ represents the learning rate of the value network, represents the gradient of the value network parameters;
[0090] S57. Use the policy gradient method to update the policy network parameter θ, specifically:
[0091]
[0092] Among them, α θ represents the learning rate of the policy network, represents the gradient of the policy network parameters, δ t Represents the timing difference error.
[0093] Furthermore, the S6 specifically includes:
[0094] S61, inputting the optimized adaptive feature matrix into the fully connected layer for processing to obtain an output matrix Z of the fully connected layer;
[0095] S62, performing nonlinear activation processing on the output matrix Z of the fully connected layer to obtain an activated feature matrix A;
[0096] S63, input the activated feature matrix A into the Softmax layer to calculate the probability of each geological disaster risk level:
[0097]
[0098] Among them, P i represents the probability of the i-th risk level, A i represents the value of the corresponding risk level in the activated feature matrix, and n represents the total number of risk levels;
[0099] S64. According to the calculated probability distribution P, the risk level of geological disasters is determined using a piecewise function:
[0100]
[0101] in, Indicates the predicted geological disaster risk level, P low Represents the probability of low risk level, P medium Represents the probability of medium risk level, P high Represents the probability of high risk level, P very_high represents the probability of extremely high risk level, and θ1, θ2, θ3, and θ4 represent the thresholds of the corresponding risk levels.
[0102] According to an embodiment of the present invention, an automatic optimization system for geological disaster risk zoning based on artificial intelligence includes:
[0103] Data acquisition module: collects geological data, meteorological data and remote sensing image data through sensors and remote sensing technology;
[0104] Data preprocessing module: cleaning, normalization and preliminary feature extraction of collected geological data, meteorological data and remote sensing image data;
[0105] Multi-input branch neural network module: input the pre-processed geological data, meteorological data and remote sensing image data into the neural networks of the geological data branch, meteorological data branch and remote sensing data branch respectively to extract and optimize their respective features;
[0106] Dynamic multimodal feature fusion module: uses the multimodal attention mechanism to weight and fuse the output features of each branch, and adjusts the feature weights of different data sources through adaptive learning to obtain fused features;
[0107] Adaptive feature optimization module based on reinforcement learning: Apply reinforcement learning algorithm to dynamically optimize fusion features to obtain optimized adaptive features;
[0108] Risk prediction module: input the optimized adaptive features into the fully connected layer and output the geological disaster risk level;
[0109] Result visualization module: presents the prediction results of geological hazard risk level through visualization technology.
[0110] The beneficial effects of the present invention are:
[0111] First, the geological data, meteorological data and remote sensing image data are collected comprehensively through sensors and remote sensing technology, and then cleaned, normalized and initially feature extracted to ensure the comprehensiveness and accuracy of the data. This method overcomes the problem of traditional geological survey methods being limited by terrain and climate conditions and incomplete data acquisition, and also solves the defect of remote sensing technology being easily affected by human factors in data processing and interpretation.
[0112] Secondly, the present invention constructs a multi-input branch neural network model, and inputs the pre-processed geological data, meteorological data and remote sensing image data into the neural networks of the geological data branch, meteorological data branch and remote sensing data branch respectively. By using the multimodal attention mechanism to weight and fuse the output features of each branch, the complex relationship between different data sources is fully considered, ensuring the accuracy of feature extraction and the effectiveness of multi-source data fusion. Compared with the existing single data source or simple data fusion method, the method of the present invention can more comprehensively reflect the multi-dimensional information of geological hazard risks.
[0113] In addition, the application of reinforcement learning algorithm to dynamically optimize the fusion features can adjust the feature weights according to real-time feedback data, further improving the accuracy and robustness of the model. This adaptive optimization method overcomes the problem that traditional geological hazard risk assessment models are difficult to dynamically adjust and optimize, ensuring the high accuracy and reliability of the prediction results.
[0114] By inputting the optimized adaptive features into the fully connected layer, using the Softmax function to calculate the probability of each geological hazard risk level, and then using the piecewise function to determine the final risk level, a refined risk assessment is achieved. This method not only improves the accuracy of geological hazard risk assessment, but also refines the risk level and provides more targeted guidance for disaster prevention and mitigation.
[0115] Finally, through advanced visualization technology, the prediction results of geological hazard risk level are presented to users intuitively, including the generation of risk heat maps, risk level distribution maps, etc., which facilitates users to intuitively understand and make decisions. This visualization effect significantly improves the readability and applicability of geological hazard risk assessment results, helping decision makers and the public to better understand and respond to geological hazard risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0116] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0117] Figure 1 A flowchart of the method and system for automatically optimizing geological disaster risk zoning based on artificial intelligence proposed by the present invention;
[0118] Figure 2 This is a schematic diagram of the multi-input branch neural network model structure of the artificial intelligence-based automatic optimization method and system for geological hazard risk zoning proposed in the present invention. DETAILED DESCRIPTION
[0119] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0120] refer to Figure 1 and Figure 2 , an automatic optimization method and system for geological disaster risk zoning based on artificial intelligence, comprising the following steps:
[0121] S1. Collect geological data, meteorological data and remote sensing image data through sensors and remote sensing technology;
[0122] S2. Preprocessing the collected geological data, meteorological data and remote sensing image data, including cleaning, normalization and preliminary feature extraction;
[0123] S3, constructing a multi-input branch neural network model, inputting the pre-processed geological data, meteorological data and remote sensing image data into the neural networks of the geological data branch, meteorological data branch and remote sensing data branch respectively;
[0124] S4. Use the multimodal attention mechanism to weight and fuse the output features of each branch, and adjust the feature weights of different data sources through adaptive learning to obtain fused features;
[0125] S5. Apply reinforcement learning algorithm to dynamically optimize the fusion features to obtain optimized adaptive features;
[0126] S6, input the optimized adaptive features into the fully connected layer, and output the geological disaster risk level;
[0127] S7. Present the prediction results of geological disaster risk level through visualization technology.
[0128] In this embodiment, the multi-input branch neural network model specifically includes a geological data branch neural network model, a meteorological data branch neural network model and a remote sensing data branch neural network model.
[0129] In this implementation, the geological data branch neural network model specifically includes:
[0130] Input layer: receiving preprocessed geological data features, including terrain slope and soil type;
[0131] Convolutional layer 1: applies a convolution operation with a kernel size of k1×k1 and a number of n1 to extract low-level geological features:
[0132]
[0133] in, represents the convolution kernel weight, x i,j represents the input feature map, b1 represents the bias value, represents the input feature map, σ represents the activation function;
[0134] Convolutional layer 2: applies a convolution operation with a kernel size of k2×k2 and a number of n2 to extract high-level geological features:
[0135]
[0136] in, represents the convolution kernel weight, b2 represents the bias value, represents the output feature map;
[0137] Self-attention mechanism layer: Apply the self-attention mechanism to weight the output of the convolution layer, and the attention weight α ij The calculation formula is:
[0138]
[0139] Among them, eij =a(W h h i +W x x j ), a represents the activation function, W h and W x represents the weight matrix, h i and x j Represents the input features.
[0140] In this implementation, the meteorological data branch neural network model specifically includes:
[0141] Input layer: receiving pre-processed meteorological data features, wherein the meteorological data features include rainfall and temperature;
[0142] Bidirectional LSTM layer 1: The input time series length is T, low-level meteorological features are extracted, and the number of hidden layer units is h1:
[0143]
[0144]
[0145] in, represents the hidden state of the forward LSTM at time t, represents the hidden state of the reverse LSTM at time t, W represents the weight matrix, and x t represents the current input feature, h t-1 represents the hidden state of LSTM at time t-1, h t+1 represents the hidden state of LSTM at time t+1, b represents the bias value, and σ represents the activation function;
[0146] Bidirectional LSTM layer 2: The input time series length is T, high-level meteorological features are extracted, and the number of hidden layer units is h2;
[0147] Self-attention mechanism layer: Apply the attention mechanism to weight the bidirectional LSTM layer, and the attention weight β t The calculation formula is:
[0148]
[0149] Among them, β t represents the attention weight, e t =a(W h h t +W x x t ), a represents the activation function, W h and W x represents the weight matrix, h t and x t Represents the input features.
[0150] In this implementation, the remote sensing data branch neural network model specifically includes:
[0151] Input layer: receiving pre-processed remote sensing image data, wherein the remote sensing image data is a multi-channel image;
[0152] Convolutional layer 1: applies convolution operation with kernel size k3×k3 and number n3 to extract low-level image features:
[0153]
[0154] in, represents the output feature map, σ represents the activation function, represents the convolution kernel weight, x i,j represents the input feature map, b3 represents the bias value;
[0155] Convolutional layer 2: applies a convolution operation with a kernel size of k4×k4 and a number of n4 to extract high-level image features:
[0156]
[0157] in, represents the output feature map, b4 represents the bias value, Represents the convolution kernel weight;
[0158] Self-attention layer: applies self-attention mechanism to weight the convolutional layer output.
[0159] In this implementation, S4 specifically includes:
[0160] S41, the output characteristics of the geological data branch, the meteorological data branch and the remote sensing data branch are respectively recorded as F g 、F m and F r ;
[0161] S42, performing weighted calculation on the input features through the multimodal attention mechanism to obtain the attention weight matrix of each feature;
[0162] Each feature matrix is transformed linearly to obtain the feature mapping matrix:
[0163] F′ g =W g F g +b g ,F′ m =W m F m +b m ,F′ r =W r Fr +b r ;
[0164] Among them, W g , W m and W r represents the weight matrix, b g , b m and b r represents the bias vector;
[0165] Calculate the query matrix Q, key matrix K, and value matrix V of each feature map matrix, and calculate the attention weight matrix through the self-attention mechanism:
[0166] Q g =W q F′ g ,K g =W k F′ g ,V g =W v F′ g ;
[0167] Q m =W q F′ m ,K m =W k F′ m ,V m =W v F′ m ;
[0168] Q r =W q F′ r ,K r =W k F′ r ,V r =W v F′ r ;
[0169] Among them, W q , W k and W v The weight matrices representing the query matrix, key matrix, and value matrix respectively;
[0170] The attention weight matrix is obtained by calculating the dot product attention:
[0171]
[0172] Among them, d k represents the scaling factor;
[0173] S43. Multiply the input feature by the attention weight to obtain the weighted feature matrix:
[0174] F″ g =A g V g ,F″ m =A m Vx,F″ r =A r V r ;
[0175] S44. Concatenate the weighted feature matrices to obtain fused features:
[0176] F f =[F″ g ; F″ m ; F″ r ];
[0177] S45. Pass the fused features through the fully connected layer to obtain the initially weighted fused features:
[0178] F′ f =σ(W f F f +b f );
[0179] Among them, W f represents the weight matrix of the fully connected layer, b f represents the bias vector, σ represents the activation function;
[0180] S46. Apply the adaptive adjustment mechanism to dynamically adjust the feature weights according to the feedback data, calculate the interaction information between features, and obtain the feature interaction matrix:
[0181] I gm =F″ g ⊙F″ m ,I gr =F″ g ⊙F″ r ,I mr =F″ m ⊙F″ r ;
[0182] Among them, ⊙ represents the element-by-element multiplication operation;
[0183] The feature interaction matrix is transformed nonlinearly through a multilayer perceptron to obtain the interaction weights:
[0184] W gm =MLP(I gm ),W gr =MLP(I gr ),W mr =MLP(I mr );
[0185] Combining the interaction weights and the initially weighted fusion features, we get the final fusion features:
[0186] F final =α g F″ g +α m F″ m +α r F″ r +β(W gm ⊙I gm +W ar ⊙I gr +W mr ⊙I mr );
[0187] Among them, α g , α m and α r represents the dynamically adjusted feature weight coefficient, and β represents the fusion coefficient;
[0188] S47, output fusion features: the final fusion feature F final as output.
[0189] In this implementation manner, S5 specifically includes:
[0190] S51, Initialize strategy network π θ (a|s) and value network V φ (s), where θ and φ represent network parameters, a represents action, and s represents state;
[0191] S52, feature state definition: fusion feature F final As state s:
[0192] s t =F f ;
[0193] Where t represents the time step;
[0194] S53, define the action space as feature weight adjustment a t ;
[0195] S54, the strategy network is based on the current state s t Output action probability distribution π θ (a|s t ), select action a by sampling t :
[0196] a t ~π θ (a|s t );
[0197] S55. After executing the action, the environment gives a reward r t and the next state s t+1 ;
[0198] S56, using the time difference error to update the value network parameter φ, specifically:
[0199] δ t =r t +γV φ (s t+1 )-V φ (s t );
[0200]
[0201] Among them, δ t represents the timing difference error, r t represents the reward of the current time step, γ represents the discount factor, V φ (s t+1 ) represents the value network’s estimate of the next state, V φ (s t ) represents the value network’s estimate of the current state, α φ represents the learning rate of the value network, represents the gradient of the value network parameters;
[0202] S57. Use the policy gradient method to update the policy network parameter θ, specifically:
[0203]
[0204] Among them, α θ represents the learning rate of the policy network, represents the gradient of the policy network parameters, δ t Represents the timing difference error.
[0205] In this implementation manner, S6 specifically includes:
[0206] S61, inputting the optimized adaptive feature matrix into the fully connected layer for processing to obtain an output matrix Z of the fully connected layer;
[0207] S62, performing nonlinear activation processing on the output matrix Z of the fully connected layer to obtain an activated feature matrix A;
[0208] S63, input the activated feature matrix A into the Softmax layer to calculate the probability of each geological disaster risk level:
[0209]
[0210] Among them, P irepresents the probability of the i-th risk level, A i represents the value of the corresponding risk level in the activated feature matrix, and n represents the total number of risk levels;
[0211] S64. According to the calculated probability distribution P, the risk level of geological disasters is determined using a piecewise function:
[0212]
[0213] in, Indicates the predicted geological disaster risk level, P low Represents the probability of low risk level, P medium Represents the probability of medium risk level, P high Represents the probability of high risk level, P very_high represents the probability of extremely high risk level, and θ1, θ2, θ3, and θ4 represent the thresholds of the corresponding risk levels.
[0214] According to an embodiment of the present invention, an automatic optimization system for geological disaster risk zoning based on artificial intelligence includes:
[0215] Data acquisition module: collects geological data, meteorological data and remote sensing image data through sensors and remote sensing technology;
[0216] Data preprocessing module: cleaning, normalization and preliminary feature extraction of collected geological data, meteorological data and remote sensing image data;
[0217] Multi-input branch neural network module: input the pre-processed geological data, meteorological data and remote sensing image data into the neural networks of the geological data branch, meteorological data branch and remote sensing data branch respectively to extract and optimize their respective features;
[0218] Dynamic multimodal feature fusion module: uses the multimodal attention mechanism to weight and fuse the output features of each branch, and adjusts the feature weights of different data sources through adaptive learning to obtain fused features;
[0219] Adaptive feature optimization module based on reinforcement learning: Apply reinforcement learning algorithm to dynamically optimize fusion features to obtain optimized adaptive features;
[0220] Risk prediction module: input the optimized adaptive features into the fully connected layer and output the geological disaster risk level;
[0221] Result visualization module: presents the prediction results of geological hazard risk level through visualization technology.
[0222] Embodiment 1:
[0223] In order to verify the feasibility of the present invention in implementation, the present invention is applied to a mountainous area in the south. Due to the complex geological structure and frequent rainfall, geological disasters such as landslides and mudslides occur frequently in the area, seriously threatening the safety of life and property of local residents. Traditional geological disaster risk assessment methods cannot effectively predict and warn disaster risks in the area due to problems such as incomplete data acquisition, low processing efficiency, and limited model accuracy. Therefore, the automatic optimization method and system for geological disaster risk zoning based on artificial intelligence proposed in the present invention have been applied in the area to improve the accuracy and practicality of geological disaster risk assessment.
[0224] First, through the sensors and remote sensing technology equipment installed at different locations in the mountainous area, geological data, meteorological data and remote sensing image data are comprehensively collected. Geological data includes terrain slope, soil type, etc., meteorological data includes rainfall and temperature, etc., and remote sensing image data is multi-channel images. In order to ensure the accuracy and comprehensiveness of the data, sensors and remote sensing equipment work 24 hours a day to collect data in real time, and transmit it to the data center through wireless networks for storage and processing.
[0225] Next, the collected data is preprocessed, including data cleaning, normalization and preliminary feature extraction. Data cleaning is to remove noise and outliers to ensure data quality; normalization is to convert data of different dimensions to the same scale range for subsequent processing; preliminary feature extraction is to extract representative features from the raw data to improve the efficiency of data processing.
[0226] After data preprocessing is completed, the preprocessed geological data, meteorological data, and remote sensing image data are respectively input into the multi-input branch neural network model. The geological data branch, meteorological data branch, and remote sensing data branch extract and optimize their own features respectively. The geological data branch extracts geological features through a convolutional neural network, the meteorological data branch extracts meteorological features through a bidirectional long short-term memory network, and the remote sensing data branch extracts remote sensing image features through a convolutional neural network. The features extracted by each branch are weighted and fused through a multimodal attention mechanism to obtain fused features.
[0227] In order to further improve the accuracy and robustness of the model, the reinforcement learning algorithm is applied to dynamically optimize the fusion features. The feature weights of different data sources are adjusted through adaptive learning, so that the model can be dynamically optimized according to real-time feedback data to improve the accuracy of risk prediction. The optimized adaptive features are input into the fully connected layer, and the probability of each geological disaster risk level is calculated through the Softmax function, and finally the risk level of geological disasters is determined through the piecewise function.
[0228] In actual application, we selected Village A, Town B and City C in the southern mountainous area as pilot areas to conduct a one-year geological disaster risk assessment and early warning experiment.
[0229] Table 1 Geological hazard risk assessment data table
[0230]
[0231] Table 1 shows the data of geological disaster risk assessment and early warning test in village A, town B and city C in the southern mountainous area. The data includes the amount of geological data collected daily, the amount of remote sensing image data daily, the number of landslide and debris flow risk predictions, the number of successful early warnings and the early warning success rate. By analyzing the data in the table, it can be seen that the present invention has achieved remarkable results in geological disaster risk assessment and early warning, and effectively improved the accuracy and timeliness of early warning.
[0232] By analyzing the data in Table 1, it can be seen that the present invention has achieved remarkable results in geological disaster risk assessment and early warning. Compared with traditional methods, data acquisition is more comprehensive, processing efficiency is significantly improved, and the accuracy and robustness of the model are greatly improved. Especially in terms of dynamic optimization and real-time early warning, the method based on artificial intelligence performs well, the success rate is significantly improved, and the losses caused by geological disasters are effectively reduced.
[0233] In addition, through visualization technology, the geological disaster risk assessment results are intuitively presented to users, including the generation of risk heat maps, risk level distribution maps, etc., which facilitates users' intuitive understanding and decision-making. In actual application, residents and managers in the pilot area highly praised the effectiveness of this system, believing that it greatly improved the accuracy and timeliness of geological disaster risk warnings and provided strong support for disaster prevention and mitigation.
[0234] In summary, the present invention provides a comprehensive, accurate and intelligent automatic optimization method and system for geological hazard risk zoning by combining multi-input branch neural networks, attention mechanisms, reinforcement learning algorithms and visualization technology. It effectively solves the problems of incomplete data acquisition, low processing efficiency, limited model accuracy, lack of intelligence and poor visualization effects in the prior art, and has broad application prospects and practical value.
[0235] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. An automatic optimization method for geological disaster risk zoning based on artificial intelligence, characterized in that: The steps include: S1. Collect geological data, meteorological data and remote sensing image data through sensors and remote sensing technology; S2. Preprocessing the collected geological data, meteorological data and remote sensing image data, including cleaning, normalization and preliminary feature extraction; S3, constructing a multi-input branch neural network model, inputting the pre-processed geological data, meteorological data and remote sensing image data into the neural networks of the geological data branch, meteorological data branch and remote sensing data branch respectively; S4. Use the multimodal attention mechanism to weight and fuse the output features of each branch, and adjust the feature weights of different data sources through adaptive learning to obtain fused features; S5. Apply reinforcement learning algorithm to dynamically optimize the fusion features to obtain optimized adaptive features; S6, input the optimized adaptive features into the fully connected layer, and output the geological disaster risk level; S7. Present the prediction results of geological disaster risk level through visualization technology.
2. The method for automatic optimization of geological disaster risk zoning based on artificial intelligence according to claim 1 is characterized in that: The multi-input branch neural network model specifically includes a geological data branch neural network model, a meteorological data branch neural network model and a remote sensing data branch neural network model.
3. The method for automatic optimization of geological disaster risk zoning based on artificial intelligence according to claim 2 is characterized in that: The geological data branch neural network model specifically includes: Input layer: receiving preprocessed geological data features, including terrain slope and soil type; Convolutional layer 1: applies a convolution operation with a kernel size of k1×k1 and a number of n1 to extract low-level geological features: in, represents the convolution kernel weight, x i,j represents the input feature map, b1 represents the bias value, represents the input feature map, σ represents the activation function; Convolutional layer 2: applies a convolution operation with a kernel size of k2×k2 and a number of n2 to extract high-level geological features: in, represents the convolution kernel weight, b2 represents the bias value, represents the output feature map; Self-attention mechanism layer: Apply the self-attention mechanism to weight the output of the convolution layer, and the attention weight α ij The calculation formula is: Among them, e ij =a(W h h i +W x x j ), a represents the activation function, W h and W x represents the weight matrix, h i and x j Represents the input features.
4. The method for automatic optimization of geological disaster risk zoning based on artificial intelligence according to claim 2 is characterized in that: The meteorological data branch neural network model specifically includes: Input layer: receiving pre-processed meteorological data features, wherein the meteorological data features include rainfall and temperature; Bidirectional LSTM layer 1: The input time series length is T, low-level meteorological features are extracted, and the number of hidden layer units is h1: in, represents the hidden state of the forward LSTM at time t, represents the hidden state of the reverse LSTM at time t, W represents the weight matrix, and x t represents the current input feature, h t-1 represents the hidden state of LSTM at time t-1, h t+1 represents the hidden state of LSTM at time t+1, b represents the bias value, and σ represents the activation function; Bidirectional LSTM layer 2: The input time series length is T, high-level meteorological features are extracted, and the number of hidden layer units is h2; Self-attention mechanism layer: Apply the attention mechanism to weight the bidirectional LSTM layer, and the attention weight β t The calculation formula is: Among them, β t represents the attention weight, e t =a(W h h t +W x x t ), a represents the activation function, W h and W x represents the weight matrix, h t and x t Represents the input features.
5. The method for automatic optimization of geological disaster risk zoning based on artificial intelligence according to claim 2 is characterized in that: The remote sensing data branch neural network model specifically includes: Input layer: receiving pre-processed remote sensing image data, wherein the remote sensing image data is a multi-channel image; Convolutional layer 1: applies convolution operation with kernel size k3×k3 and number n3 to extract low-level image features: in, represents the output feature map, σ represents the activation function, represents the convolution kernel weight, x i,j represents the input feature map, b3 represents the bias value; Convolutional layer 2: applies a convolution operation with a kernel size of k4×k4 and a number of b4 to extract high-level image features: in, represents the output feature map, b4 represents the bias value, Represents the convolution kernel weight; Self-attention layer: applies self-attention mechanism to weight the convolutional layer output.
6. The method for automatic optimization of geological disaster risk zoning based on artificial intelligence according to claim 1 is characterized in that: The S4 specifically includes: S41, the output characteristics of the geological data branch, the meteorological data branch and the remote sensing data branch are respectively recorded as F g 、F m and F r ; S42, performing weighted calculation on the input features through the multimodal attention mechanism to obtain the attention weight matrix of each feature; Each feature matrix is transformed linearly to obtain the feature mapping matrix: F′ g =W g F g +v g ,F′ m =W m F m +b m ,F′ r =W r F r +b r ; Among them, W g , W m and W r represents the weight matrix, b g , b m and b r represents the bias vector; Calculate the query matrix Q, key matrix K, and value matrix V of each feature map matrix, and calculate the attention weight matrix through the self-attention mechanism: Q g =W q F′ g ,K g =W k F′ g ,V g =W v F′ g ; Q m =W q F′ m ,K m =W k F′ m ,V m =W v F′ m ; Q r =W q F′ r ,K r =W k F′ r ,V r =W v F′ r ; Among them, W q , W k and W v The weight matrices representing the query matrix, key matrix, and value matrix respectively; The attention weight matrix is obtained by calculating the dot product attention: Among them, d k represents the scaling factor; S43. Multiply the input feature by the attention weight to obtain the weighted feature matrix: F″ g =A g V g ,F″ m =A m V m ,F″ r =A r V r ; S44. Concatenate the weighted feature matrices to obtain fused features: F f =[F″ g ;F m ;F″ r ]; S45. Pass the fused features through the fully connected layer to obtain the initially weighted fused features: F′ f =σ(W f F f +b f ); Among them, W f represents the weight matrix of the fully connected layer, b f represents the bias vector, σ represents the activation function; S46. Apply the adaptive adjustment mechanism to dynamically adjust the feature weights according to the feedback data, calculate the interaction information between features, and obtain the feature interaction matrix: I gm =F″ g ⊙F″ m ,I gr =F″ g ⊙F″ r ,I mr =F″ m ⊙F″ r ; Among them, ⊙ represents the element-by-element multiplication operation; The feature interaction matrix is transformed nonlinearly through a multilayer perceptron to obtain the interaction weights: Wgm=MLP(Igm), Wgr=MLP(Igr), Wmr=MLP(Imr); Combining the interaction weights and the initially weighted fusion features, we get the final fusion features: F final =a g F″ g +a m F″ m +a r F″ r +β(W gm ⊙I gm +W gr ⊙I gr +W mr ⊙I mr ); Among them, α g , α m and a r represents the dynamically adjusted feature weight coefficient, and β represents the fusion coefficient; S47, output fusion features: the final fusion feature F final as output.
7. The method for automatic optimization of geological disaster risk zoning based on artificial intelligence according to claim 1 is characterized in that: The S5 specifically includes: S51, Initialize strategy network π θ (a|s) and value network V φ (s), where θ and φ represent network parameters, a represents action, and s represents state; S52, feature state definition: fusion feature F final As state s: s t =F f ; Where t represents the time step; S53, define the action space as feature weight adjustment a t ; S54, the strategy network is based on the current state s t Output action probability distribution π θ (a|s t ), select action a by sampling t : a t ~π θ (a|s t ); S55. After executing the action, the environment gives a reward r t and the next state s t+1 ; S56, using the time difference error to update the value network parameter φ, specifically: δ t =r t +γV φ (s t+1 )-V φ (s t ); Among them, δ t represents the timing difference error, r t represents the reward of the current time step, γ represents the discount factor, V φ (s t+1 ) represents the value network’s estimate of the next state, V φ (s t ) represents the value network’s estimate of the current state, α φ represents the learning rate of the value network, represents the gradient of the value network parameters; S57. Use the policy gradient method to update the policy network parameter θ, specifically: Among them, α θ represents the learning rate of the policy network, represents the gradient of the policy network parameters, δ t Represents the timing difference error.
8. The method for automatic optimization of geological disaster risk zoning based on artificial intelligence according to claim 1 is characterized in that: The S6 specifically includes: S61, inputting the optimized adaptive feature matrix into the fully connected layer for processing to obtain an output matrix Z of the fully connected layer; S62, performing nonlinear activation processing on the output matrix Z of the fully connected layer to obtain an activated feature matrix A; S63, input the activated feature matrix A into the Softmax layer to calculate the probability of each geological disaster risk level: Among them, P i represents the probability of the i-th risk level, A i represents the value of the corresponding risk level in the activated feature matrix, and n represents the total number of risk levels; S64. According to the calculated probability distribution P, the risk level of geological disasters is determined using a piecewise function: in, Indicates the predicted geological disaster risk level, P low Represents the probability of low risk level, P medium Represents the probability of medium risk level, P high Represents the probability of high risk level, P very_high represents the probability of extremely high risk level, and θ1, θ2, θ3, and θ4 represent the thresholds of the corresponding risk levels.
9. The automatic optimization system of geological disaster risk zoning based on artificial intelligence is characterized by: include: Data acquisition module: collects geological data, meteorological data and remote sensing image data through sensors and remote sensing technology; Data preprocessing module: cleaning, normalization and preliminary feature extraction of collected geological data, meteorological data and remote sensing image data; Multi-input branch neural network module: input the pre-processed geological data, meteorological data and remote sensing image data into the neural networks of the geological data branch, meteorological data branch and remote sensing data branch respectively to extract and optimize their respective features; Dynamic multimodal feature fusion module: uses the multimodal attention mechanism to weight and fuse the output features of each branch, and adjusts the feature weights of different data sources through adaptive learning to obtain fused features; Adaptive feature optimization module based on reinforcement learning: Apply reinforcement learning algorithm to dynamically optimize fusion features to obtain optimized adaptive features; Risk prediction module: input the optimized adaptive features into the fully connected layer and output the geological disaster risk level; Result visualization module: presents the prediction results of geological hazard risk level through visualization technology.
Citation Information
Cited By
Agricultural pest prediction optimization method
CN119443422A
An optimized method for predicting agricultural pests and diseases
CN119443422B
Attack behavior grade identification method based on improved reinforcement learning intelligent algorithm and folding shield thereof
CN119579958A
Field geological exploration monitoring system based on remote sensing data
CN119649587A
Multi-mode remote sensing intelligent identification method for hidden geological disasters
CN120107808A
