Earthquake house damage degree preset evaluation method

By optimizing the hyperparameters of the pre-set assessment model for earthquake-induced building damage using a multi-level tracking algorithm and combining it with the application of unmanned aerial vehicles (UAVs), the problems of low assessment efficiency, high risk, and low accuracy in existing technologies have been solved, achieving efficient and safe assessment of building damage.

CN121032001AActive Publication Date: 2025-11-28四川省地震应急服务中心
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202511562954.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-30
Publication Date
2025-11-28
Estimated Expiration
2045-10-30

AI Technical Summary

Technical Problem

Existing technologies for assessing building damage suffer from low efficiency, high risk, and strong subjectivity, as well as difficulties in optimizing hyperparameters of deep learning models, leading to low assessment accuracy.

Method used

A multi-level tracking algorithm is used to train the hyperparameter population. By combining historical and random transitions, multi-information social learning, and collision tracking strategies, the hyperparameters of the pre-set assessment model for earthquake building damage are optimized and deployed on a drone for assessment.

Benefits of technology

It significantly improves the accuracy and generalization ability of identifying the extent of building damage, enabling rapid and safe assessment of building damage in disaster areas and supporting rescue decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121032001A_ABST
    Figure CN121032001A_ABST
Patent Text Reader

Abstract

The invention discloses a preset assessment method for the damage degree of an earthquake house, relates to the technical field of artificial intelligence and disaster assessment, and can more effectively search a global optimal solution in a complex hyper-parameter space through cooperation of three strategies of historical and random transition, multi-information social learning and collision tracking. Compared with a traditional grid search, random search or single intelligent optimization algorithm, a group of hyper-parameter combinations with better performance can be found. The set of optimal hyper-parameters are applied to the earthquake house damage degree preset evaluation model, the recognition precision and generalization ability of the house damage degree can be remarkably improved, and the trained earthquake house damage degree preset evaluation model is deployed on the unmanned aerial vehicle. The method can quickly enter a disaster area where human beings are difficult to reach or dangerous for image acquisition and recognition, outputs a preset evaluation result of the earthquake house damage degree, and improves the evaluation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of artificial intelligence and disaster assessment technology, and more specifically, to a method for pre-assessing the degree of damage to buildings during earthquakes. Background Technology

[0002] Earthquakes are highly destructive natural disasters that pose a serious threat to people's lives and property. After an earthquake, a rapid and accurate assessment of the damage to buildings in the disaster area is crucial for developing rescue plans, allocating rescue resources, and evaluating the extent of the damage.

[0003] Traditional building damage assessment mainly relies on manual on-site inspections, which has many drawbacks: First, it is inefficient and difficult to complete large-scale assessments within the golden rescue time; second, it is highly dangerous, as aftershocks and secondary disasters pose a threat to the lives of assessment personnel; third, it is highly subjective, and the assessment results are easily influenced by the assessment personnel's experience, emotions, and other factors, lacking objectivity and consistency.

[0004] In recent years, with the development of drone technology and computer vision technology, disaster assessment using drone aerial images has become a research hotspot. Analyzing aerial images using deep learning models (such as semantic segmentation networks) can automatically identify the damaged areas and extent of buildings. However, the performance of deep learning models is highly dependent on the settings of their hyperparameters, such as learning rate, batch size, and number of network layers. Traditional hyperparameter optimization methods, such as grid search and random search, suffer from high computational cost, long processing time, and difficulty in finding the global optimum. Even some advanced optimization algorithms (such as genetic algorithms and particle swarm optimization) may still face challenges such as slow convergence speed and susceptibility to local optima when dealing with high-dimensional, nonlinear hyperparameter optimization problems. Summary of the Invention

[0005] This application aims to provide a pre-assessment method for the degree of earthquake-induced building damage, which addresses the technical problems of low efficiency, high risk, and strong subjectivity in existing building damage assessments, as well as the difficulty in optimizing hyperparameters of deep learning models, resulting in low assessment accuracy.

[0006] This application provides a method for pre-assessing the degree of earthquake damage to buildings, including: Acquire sample image data pre-stored by staff or obtained through human-computer interaction, as well as the data label corresponding to each sample image data; A pre-defined assessment model for earthquake-induced building damage is constructed using a deep learning algorithm, and a hyperparameter population is generated based on the hyperparameters of the pre-defined assessment model for earthquake-induced building damage. Based on the sample image data and the data label corresponding to each sample image data, a multi-level tracking algorithm is used to train each hyperparameter individual in the hyperparameter population to obtain the target hyperparameter individual; Based on the target hyperparameter individuals, a pre-set assessment model for earthquake-induced building damage is obtained after training; The trained earthquake-damage assessment model was deployed on a drone, and the drone was dispatched to conduct a pre-assessment of earthquake-damage to buildings in the earthquake-stricken area.

[0007] In one possible implementation, a pre-defined assessment model of earthquake-induced building damage is constructed using a deep learning algorithm. Based on the hyperparameters of this pre-defined assessment model, a hyperparameter population is generated, including: A pre-defined assessment model for earthquake-induced building damage was constructed using the DeepLabV3+ algorithm. For the hyperparameters to be trained in the pre-set assessment model of earthquake-induced building damage, the hyperparameters are randomly initialized between the upper and lower limits, and the randomly initialized hyperparameters are encoded into vectors to obtain individual hyperparameters. By repeatedly generating multiple different hyperparameter individuals, a hyperparameter population can be obtained.

[0008] In one possible implementation, based on the sample image data and the data label corresponding to each sample image data, a multi-level tracking algorithm is used to train each hyperparameter individual in the hyperparameter population to obtain the target hyperparameter individual, including: For each hyperparameter individual in the hyperparameter population, the fitness value corresponding to the hyperparameter individual is obtained based on the sample image data and the data label corresponding to each sample image data. Based on the fitness value corresponding to the hyperparameter individual, determine the optimal hyperparameter individual and the historical optimal value corresponding to each hyperparameter individual from all hyperparameter individuals; Based on the historical optimal value corresponding to the hyperparameter individual, a dual-strategy tracking strategy of historical and random transition is adopted to track the hyperparameter individual and obtain the hyperparameter individual after dual-strategy tracking. Based on the optimal hyperparameter individual and the historical optimal value corresponding to each hyperparameter individual, a multi-information social tracking strategy is adopted to track the population information of the hyperparameter individuals after the dual-strategy tracking, and to obtain the hyperparameter individuals after the population information tracking. Based on the optimal hyperparameter individual, a collision tracking strategy is used to perform collision tracking on the hyperparameter individuals after the population information tracking, to obtain the hyperparameter individuals after collision tracking; Obtain the current training count and determine the training stage based on the current training count; wherein, the training stage includes a training completion stage or a training incomplete stage; If the training phase is incomplete, then based on the hyperparameter individuals after collision tracking, return to the step of obtaining the fitness value corresponding to the hyperparameter individuals, and proceed to the next training step. When the training phase is completed, the target hyperparameter individual is obtained based on the hyperparameter individuals after collision tracking.

[0009] In one possible implementation, for each hyperparameter individual in the hyperparameter population, the fitness value corresponding to the hyperparameter individual is obtained based on the sample image data and the data label corresponding to each sample image data, including: For each hyperparameter individual in the hyperparameter population, the hyperparameters contained in the hyperparameter individual are applied to the pre-set assessment model of earthquake building damage, resulting in the pre-set assessment model of earthquake building damage after applying the hyperparameters. The sample image data is used as the actual input to the pre-set assessment model of earthquake building damage after applying hyperparameters, and the data label corresponding to the sample image data is used as the expected output of the pre-set assessment model of earthquake building damage after applying hyperparameters to obtain the cross-entropy loss function value. The fitness value corresponding to the hyperparameter individual is obtained by adding the cross-entropy loss function value to the non-zero constant term and taking the reciprocal.

[0010] In one possible implementation, based on the historical optimal value corresponding to the hyperparameter individual, a dual-strategy tracking strategy of historical and random transition tracking is used to track the hyperparameter individual to obtain the hyperparameter individual after dual-strategy tracking, including: Obtain the current training iteration count, and based on the current training iteration count, obtain the dual-strategy decision factor as follows: in, Indicates the dual-strategy decision factor. This represents the maximum value of the dual-strategy decision factor. This represents the minimum value of the dual-strategy decision factor. Represents the sine function. Represents pi (π). Indicates the current number of training iterations. Indicates the maximum number of training iterations; Based on the dual-strategy decision factors and the historical optimal values ​​corresponding to the hyperparameter individuals, dual-strategy tracking is performed on the hyperparameter individuals to obtain the hyperparameter individuals after dual-strategy tracking: in, Indicates the first t During the training process, the first k The first hyperparameter of the individual d dimensional hyperparameters, Indicates the first k The first hyperparameter individual after the dual-strategy tracking d dimensional hyperparameters, k =1,2,…,K, where K represents the total number of hyperparameter individuals. d =1,2,…,Dim, where Dim represents the total dimension of hyperparameters in an individual hyperparameter. Indicates the first t During the training process, the first k The historical best value corresponding to the individual hyperparameters d dimensional hyperparameters, Represents the cosine function. Indicates the first tracking coefficient. Indicates the second tracking coefficient. Denotes the first hyperparameter of an individual with random hyperparameters. d dimensional hyperparameters, This represents the random transition tracking control coefficient. Indicates the order of a random transition. This represents the total number of random transitions.

[0011] In one possible implementation, based on the optimal hyperparameter individual and the historical best value corresponding to each hyperparameter individual, a multi-information social tracking strategy is used to track the population information of the hyperparameter individuals after the dual-strategy tracking, obtaining the hyperparameter individuals after the population information tracking, including: Based on the fitness value of the optimal hyperparameter individual, the adaptive inertia weight is obtained as follows: in, Indicates adaptive inertia weights, This represents the maximum value of the adaptive inertia weight. This represents the minimum value of the adaptive inertia weight. Indicates the first i The fitness values ​​of hyperparameter individuals after dual-strategy tracking. This represents the fitness value of the individual with the optimal hyperparameters. This represents the fitness value of the worst-performing hyperparameter individual. This represents the mean fitness value of all hyperparameter individuals after dual-strategy tracking; The first and second social tracking factors were obtained as follows: in, Indicates the first i The first social tracking factor corresponding to the hyperparameters of individuals after dual-strategy tracking. Indicates the first i The second social tracking factor corresponding to the hyperparameters of individuals after dual-strategy tracking. The table shows the social tracking angle coefficient, and , A This represents the first constant term between [5, 10]. Represents the first random number between (0,1). Represents the social tracking coefficient, and , This represents the tracking period coefficient between [0.5, 2]. Represents the hyperparameters of individuals after all dual-policy tracking. The maximum value in, Represents the hyperparameters of individuals after all dual-policy tracking. The maximum value in; Based on the optimal hyperparameter individual, the historical best value corresponding to each hyperparameter individual, the adaptive inertia weight, the first social tracking factor, and the second social tracking factor, population information tracking is performed on the hyperparameter individuals after dual-strategy tracking to obtain the hyperparameter individuals after population information tracking: in, Indicates the first i The first hyperparameter individual after the dual-strategy tracking d dimensional hyperparameters, Indicates the first i The first hyperparameter of an individual after tracking population information. d dimensional hyperparameters, The first hyperparameter of the individual represents the optimal hyperparameter. d dimensional hyperparameters, The first individual represents the mean. d dimensional hyperparameters, Represents the convergence coefficient. Indicates the first learning factor. Indicates the second learning factor. This represents the maximum value of the convergence coefficient. This represents the minimum value of the convergence coefficient. Let s represent the natural constant, and let s represent the trend adjustment coefficient of the convergence coefficient. This represents the adjustment factor for the magnitude of the convergence coefficient.

[0012] In one possible implementation, based on the optimal hyperparameter individual, a collision tracking strategy is used to perform collision tracking on the hyperparameter individuals after the population information tracking, to obtain the hyperparameter individuals after collision tracking, including: The collision tracking coefficients are obtained as follows: in, Indicates the collision tracking coefficient; Based on the collision tracking coefficient, the base collision tracking quantity corresponding to the hyperparameter individual after the population information tracking is determined as follows: in, Indicates the first m The first hyperparameter of an individual after tracking population information. d dimensional hyperparameters, express The corresponding base collision tracking data; Based on the aforementioned basic collision tracking data, the real-time collision tracking data is obtained as follows: in, express The corresponding real-time collision tracking data, Indicates the first m The fitness values ​​of hyperparameter individuals after tracking population information. Indicates the first m The Euclidean distance between hyperparameter individuals and the optimal hyperparameter individual after tracking population information; Based on the collision tracking coefficient, the basic collision tracking amount, and the real-time collision tracking amount, collision tracking is performed on the hyperparameter individuals after the population information tracking, resulting in the hyperparameter individuals after collision tracking: in, Indicates the first m The first hyperparameter individual after the first collision tracking d dimensional hyperparameters, Let represent the second random number between (0,1), and exp represent the exponential function with the natural constant e as the base.

[0013] In one possible implementation, obtaining the current training iteration count and obtaining the training phase based on the current training iteration count includes: Get the current number of training iterations; Determine whether the current number of training iterations is greater than or equal to the preset maximum number of training iterations. If so, determine that the current training stage is the training completion stage; otherwise, determine that the current training stage is the training incomplete stage.

[0014] In one possible implementation, based on the target hyperparameter individual, a pre-set assessment model for earthquake-induced building damage is obtained after training, including: using the hyperparameters in the target hyperparameter individual as the final hyperparameters of the pre-set assessment model for earthquake-induced building damage, to obtain the pre-set assessment model for earthquake-induced building damage after training.

[0015] In one possible implementation, the trained earthquake-damage building pre-assessment model is deployed on a drone, and the drone is scheduled to conduct an earthquake-damage building pre-assessment at the earthquake-stricken area, including: The trained earthquake-damage assessment model was deployed on a drone. The drones are deployed to collect building image data in the earthquake-stricken area, and the collected building image data is identified by a pre-set assessment model of the degree of earthquake damage to buildings to obtain the pre-set assessment results of the degree of earthquake damage to buildings.

[0016] Beneficial effects: This application provides a pre-assessment method for earthquake-damaged buildings. Through the synergy of three strategies—historical and random transitions, multi-information social learning, and collision tracking—it can more effectively search for the globally optimal solution in a complex hyperparameter space. Compared to traditional grid search, random search, or single intelligent optimization algorithms, it finds a set of hyperparameters with superior performance. Applying this optimal set of hyperparameters to the pre-assessment model for earthquake-damaged buildings significantly improves the accuracy and generalization ability of identifying building damage levels. Deploying the trained pre-assessment model on a drone allows for rapid access to disaster areas that are difficult or dangerous for humans to reach, enabling image acquisition and identification, and outputting the pre-assessment results for earthquake-damaged buildings, thus improving assessment efficiency. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart of a pre-assessment method for the degree of earthquake-induced building damage proposed in one embodiment of this application; Figure 2This is a flowchart of obtaining a target hyperparameter individual according to an embodiment of this application. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0020] like Figure 1 As shown in the figure, this application provides a method for pre-assessing the degree of earthquake damage to buildings, including: S101. Obtain sample image data pre-stored by staff or obtained through human-computer interaction, as well as the data label corresponding to each sample image data.

[0021] Specifically, aerial images of different earthquake-stricken areas from history are collected and labeled by experts. The segmented areas are categorized into types such as debris, water bodies, undamaged buildings, moderately damaged buildings, mainly damaged buildings, completely damaged buildings, vehicles, roads, trees, ponds, and sand, forming a sample image dataset with corresponding data labels. This not only enables the classification of different areas but also allows for pre-assessment of the degree of building damage based on the classification results.

[0022] S102. A pre-set assessment model for the degree of earthquake-induced building damage is constructed using a deep learning algorithm, and a hyperparameter population is generated based on the hyperparameters of the pre-set assessment model for the degree of earthquake-induced building damage.

[0023] The DeepLabV3+ network can be used as the base model. Determine the hyperparameters to be optimized, such as the initial learning rate, weight decay coefficient, batch size, and dilation rate of dilated convolutions. Each hyperparameter has a corresponding range of values. Randomly generate hyperparameters within this range and encode them into a vector, forming a single hyperparameter. Repeat this process to generate K (e.g., 50) hyperparameter individuals, forming the initial hyperparameter population.

[0024] S103. Based on the sample image data and the data label corresponding to each sample image data, a multi-level tracking algorithm is used to train each hyperparameter individual in the hyperparameter population to obtain the target hyperparameter individual.

[0025] Compared to traditional grid search, random search, or single intelligent optimization algorithms, the multi-level tracking algorithm provided in this application can find a set of hyperparameters with better performance. Applying this set of optimal hyperparameters to deep learning models such as DeepLabV3+ enables the model to learn fully on the training set and exhibit higher classification accuracy and more precise segmentation boundaries on the test set.

[0026] S104. Based on the target hyperparameter individual, obtain the pre-set assessment model of earthquake building damage degree after training.

[0027] In one possible implementation, based on the target hyperparameter individual, a pre-set assessment model for earthquake-induced building damage is obtained after training, including: using the hyperparameters in the target hyperparameter individual as the final hyperparameters of the pre-set assessment model for earthquake-induced building damage, to obtain the pre-set assessment model for earthquake-induced building damage after training.

[0028] S105. Deploy the trained earthquake building damage pre-assessment model on a drone and schedule the drone to conduct earthquake building damage pre-assessment at the earthquake disaster site.

[0029] This application deploys an optimized high-precision model on a drone, forming a complete automated assessment process. The drone can quickly enter disaster areas that are difficult or dangerous for humans to access, conducting large-scale, high-resolution image acquisition. The onboard model processes the images in real time and immediately outputs damage assessment results. This completely changes the inefficient and high-risk model that relies on manual labor, achieving automation and efficiency in the assessment process. The assessment results are objective and consistent, providing timely and reliable data support for the rescue command center, facilitating scientific decision-making, precise deployment of rescue forces, and minimizing casualties and property damage.

[0030] In one possible implementation, a pre-defined assessment model of earthquake-induced building damage is constructed using a deep learning algorithm. Based on the hyperparameters of this pre-defined assessment model, a hyperparameter population is generated, including: A pre-assessment model for earthquake-induced building damage was constructed using the DeepLabV3+ algorithm. However, it's worth noting that this pre-assessment model can also be configured as other segmentation models for multi-classification, enabling segmentation and classification of multiple regions and ultimately achieving a pre-assessment of earthquake-induced building damage.

[0031] For the hyperparameters to be trained in the pre-set assessment model of earthquake-induced building damage, random initialization is performed between the upper and lower limits of the hyperparameters, and the randomly initialized hyperparameters are encoded into vectors to obtain individual hyperparameters.

[0032] By repeatedly generating multiple different hyperparameter individuals, a hyperparameter population can be obtained.

[0033] like Figure 2 As shown, based on the sample image data and the data labels corresponding to each sample image data, a multi-level tracking algorithm is used to train each hyperparameter individual in the hyperparameter population to obtain the target hyperparameter individual, including: S201. For each hyperparameter individual in the hyperparameter population, obtain the fitness value corresponding to the hyperparameter individual based on the sample image data and the data label corresponding to each sample image data.

[0034] S202. Based on the fitness value corresponding to the hyperparameter individual, determine the optimal hyperparameter individual and the historical optimal value corresponding to each hyperparameter individual from all hyperparameter individuals.

[0035] S203. Based on the historical best value corresponding to the hyperparameter individual, a dual-strategy tracking strategy of historical and random transition is adopted to track the hyperparameter individual and obtain the hyperparameter individual after dual-strategy tracking.

[0036] S204. Based on the optimal hyperparameter individual and the historical optimal value corresponding to each hyperparameter individual, a multi-information social tracking strategy is adopted to track the population information of the hyperparameter individuals after the dual-strategy tracking, and to obtain the hyperparameter individuals after the population information tracking.

[0037] S205. Based on the optimal hyperparameter individual, a collision tracking strategy is used to perform collision tracking on the hyperparameter individuals after the population information tracking, to obtain the hyperparameter individuals after collision tracking.

[0038] S206. Obtain the current training count and determine the training stage based on the current training count. The training stage may include a training completion stage or a training incomplete stage.

[0039] S207. If the training phase is incomplete, then based on the hyperparameter individuals after collision tracking, return to the step of obtaining the fitness value corresponding to the hyperparameter individuals, and proceed to the next training step.

[0040] S208. When the training phase is completed, the target hyperparameter individual is obtained based on the hyperparameter individuals after collision tracking. For example, the optimal hyperparameter individual is re-obtained based on the hyperparameter individuals after collision tracking to obtain the target hyperparameter individual.

[0041] Traditional hyperparameter search methods require trying numerous combinations, resulting in extremely high computational costs. This application's multi-level tracking algorithm, through an intelligent search strategy, can converge to high-quality hyperparameter solutions with fewer iterations and in a shorter time. For example, the dynamic balancing mechanism of the history and random jump strategies avoids ineffective searches; the multi-information social tracking strategy utilizes collective intelligence to accelerate the overall convergence of the population. This means that the entire cycle from model building to final deployment is significantly shortened, enabling the faster preparation of high-precision evaluation models after a disaster, buying valuable time for emergency response. The collision tracking strategy in this application is specifically designed to address this problem. When population diversity decreases or individuals stagnate, the collision tracking strategy applies an adaptive, perturbative "collision force" based on the individual's distance from the optimal solution and its fitness, helping the individual escape local optima and continue exploring the global optimum. This greatly enhances the algorithm's robustness, ensuring that the final target hyperparameter individual is a truly high-quality solution.

[0042] This algorithm, through the synergy of three strategies—history and random transitions, multi-information social learning, and collision tracking—can more effectively search for the global optimum in a complex hyperparameter space. Compared to traditional grid search, random search, or single intelligent optimization algorithms, this method finds a set of hyperparameter combinations with superior performance. Applying this optimal set of hyperparameters to deep learning models such as DeepLabV3+ allows the model to learn fully on the training set and exhibit higher classification accuracy and more precise segmentation boundaries on the test set, thereby significantly improving the accuracy and generalization ability in identifying the degree of damage to buildings (e.g., undamaged, slightly damaged, severely damaged, completely collapsed).

[0043] In one possible implementation, for each hyperparameter individual in the hyperparameter population, the fitness value corresponding to the hyperparameter individual is obtained based on the sample image data and the data label corresponding to each sample image data, including: For each hyperparameter individual in the hyperparameter population, the hyperparameters contained in the hyperparameter individual are applied to the pre-set assessment model of earthquake building damage, resulting in the pre-set assessment model of earthquake building damage after applying the hyperparameters.

[0044] The sample image data is used as the actual input to the pre-set assessment model of earthquake building damage after applying hyperparameters, and the data labels corresponding to the sample image data are used as the expected output of the pre-set assessment model of earthquake building damage after applying hyperparameters to obtain the cross-entropy loss function value.

[0045] The fitness value corresponding to the hyperparameter individual is obtained by adding the cross-entropy loss function value to a non-zero constant term (such as 0.0001) and taking the reciprocal.

[0046] In one possible implementation, based on the historical optimal value corresponding to the hyperparameter individual, a dual-strategy tracking strategy of historical and random transition tracking is used to track the hyperparameter individual to obtain the hyperparameter individual after dual-strategy tracking, including: Obtain the current training iteration count, and based on the current training iteration count, obtain the dual-strategy decision factor as follows: in, Indicates the dual-strategy decision factor. This represents the maximum value of the dual-strategy decision factor, which can be set to 0.95; This represents the minimum value of the dual-strategy decision factor, which can be set to 0.001; Represents the sine function. Represents pi (π). Indicates the current number of training iterations. Indicates the maximum number of training iterations; Based on the dual-strategy decision factors and the historical optimal values ​​corresponding to the hyperparameter individuals, dual-strategy tracking is performed on the hyperparameter individuals to obtain the hyperparameter individuals after dual-strategy tracking: in, Indicates the first t During the training process, the first k The first hyperparameter of the individual d dimensional hyperparameters, Indicates the first k The first hyperparameter individual after the dual-strategy tracking d dimensional hyperparameters, k =1,2,…,K, where K represents the total number of hyperparameter individuals. d =1,2,…,Dim, where Dim represents the total dimension of hyperparameters in an individual hyperparameter. Indicates the first t During the training process, the first k The historical best value corresponding to the individual hyperparameters d dimensional hyperparameters, Represents the cosine function. This represents the first tracking coefficient, which can be set to a random number between (0, 1). Indicates the second tracking coefficient. Denotes the first hyperparameter of an individual with random hyperparameters. d dimensional hyperparameters, This represents the random transition tracking control coefficient, which can be set to 0.4; Indicates the order of a random transition. This represents the total number of random transitions, which can be set to 3 or 4.

[0047] The historical and random transition tracking strategy provided in this application uses a decision factor that dynamically changes with the training process to intelligently switch between utilizing historical best practices and exploring random unknown regions. In the early stages, it emphasizes exploration to avoid premature convergence; in the later stages, it emphasizes development to accelerate convergence to the optimal solution.

[0048] In one possible implementation, based on the optimal hyperparameter individual and the historical best value corresponding to each hyperparameter individual, a multi-information social tracking strategy is used to track the population information of the hyperparameter individuals after the dual-strategy tracking, obtaining the hyperparameter individuals after the population information tracking, including: Based on the fitness value of the optimal hyperparameter individual, the adaptive inertia weight is obtained as follows: in, Indicates adaptive inertia weights, This represents the maximum value of the adaptive inertia weight, which can be set to 0.95; This represents the minimum value of the adaptive inertia weight, which can be set to 0.001; Indicates the first i The fitness values ​​of hyperparameter individuals after dual-strategy tracking. This represents the fitness value of the individual with the optimal hyperparameters. This represents the fitness value of the worst-performing hyperparameter individual. This represents the mean fitness value of all hyperparameter individuals after dual-strategy tracking; It's worth noting that the optimal and worst hyperparameter individuals can be determined at the start of each training session and remain unchanged throughout that session. Alternatively, whenever a hyperparameter individual changes, the optimal and worst hyperparameter individuals can be updated synchronously.

[0049] The first and second social tracking factors were obtained as follows: in, Indicates the first i The first social tracking factor corresponding to the hyperparameters of individuals after dual-strategy tracking. Indicates the first i The second social tracking factor corresponding to the hyperparameters of individuals after dual-strategy tracking. The table shows the social tracking angle coefficient, and , A This represents the first constant term between [5, 10]. Represents the first random number between (0,1). Represents the social tracking coefficient, and , This represents the tracking period coefficient between [0.5, 2]. Represents the hyperparameters of individuals after all dual-policy tracking. The maximum value in, Represents the hyperparameters of individuals after all dual-policy tracking. The maximum value in; Based on the optimal hyperparameter individual, the historical best value corresponding to each hyperparameter individual, the adaptive inertia weight, the first social tracking factor, and the second social tracking factor, population information tracking is performed on the hyperparameter individuals after dual-strategy tracking to obtain the hyperparameter individuals after population information tracking: in, Indicates the first i The first hyperparameter individual after the dual-strategy tracking d dimensional hyperparameters, Indicates the first i The first hyperparameter of an individual after tracking population information. d dimensional hyperparameters, The first hyperparameter of the individual represents the optimal hyperparameter. d dimensional hyperparameters, The first individual represents the mean. d Hyperparameters are the hyperparameters of each dimension of an individual, which are the mean hyperparameters of all individuals in the same dimension after tracking all population information. Represents the convergence coefficient. Indicates the first learning factor. Indicates the second learning factor. This represents the maximum value of the convergence coefficient, which can be set to 1; This represents the minimum convergence coefficient, which can be set to a constant between (0.7, 0.9). represents the natural constant, and s represents the trend adjustment coefficient of the convergence coefficient, which can be set to 5; This represents the adjustment factor for the convergence coefficient, which can be set to 0.1.

[0050] The multi-information social tracking strategy provided in this application not only allows individuals to learn from the best individual in the population, but also introduces population mean information and designs adaptive social learning factors and inertia weights. This enables the population to more comprehensively utilize collective intelligence, enhancing the algorithm's global search capability and convergence stability.

[0051] In one possible implementation, based on the optimal hyperparameter individual, a collision tracking strategy is used to perform collision tracking on the hyperparameter individuals after the population information tracking, to obtain the hyperparameter individuals after collision tracking, including: The collision tracking coefficients are obtained as follows: in, Indicates the collision tracking coefficient; Based on the collision tracking coefficient, the base collision tracking quantity corresponding to the hyperparameter individual after the population information tracking is determined as follows: in, Indicates the first m The first hyperparameter of an individual after tracking population information. d dimensional hyperparameters, express The corresponding base collision tracking data; Based on the aforementioned basic collision tracking data, the real-time collision tracking data is obtained as follows: in, express The corresponding real-time collision tracking data, Indicates the first m The fitness values ​​of hyperparameter individuals after tracking population information. Indicates the first m The Euclidean distance between hyperparameter individuals and the optimal hyperparameter individual after tracking population information; Based on the collision tracking coefficient, the basic collision tracking amount, and the real-time collision tracking amount, collision tracking is performed on the hyperparameter individuals after the population information tracking, resulting in the hyperparameter individuals after collision tracking: in, Indicates the first m The first hyperparameter individual after the first collision tracking d dimensional hyperparameters, Let represent the second random number between (0,1), and exp represent the exponential function with the natural constant e as the base.

[0052] The collision tracking strategy provided in this application simulates the process of a particle colliding with the optimal solution. The intensity and direction of the collision are jointly determined by the distance between the individual and the optimal solution, the fitness value, and the training phase. When an individual gets stuck in a local optimum, this strategy can provide a powerful perturbation to help it escape the predicament and continue to explore a better solution.

[0053] Optionally, to ensure training effectiveness, hyperparameter individuals can be processed for out-of-bounds errors after each strategy is executed. Alternatively, a greedy strategy or simulated annealing strategy can be used to control each tracking strategy.

[0054] In one possible implementation, obtaining the current training iteration count and obtaining the training phase based on the current training iteration count includes: Get the current number of training iterations; Determine whether the current number of training iterations is greater than or equal to the preset maximum number of training iterations. If so, determine that the current training stage is the training completion stage; otherwise, determine that the current training stage is the training incomplete stage.

[0055] In one possible implementation, the trained earthquake-damage building pre-assessment model is deployed on a drone, and the drone is scheduled to conduct an earthquake-damage building pre-assessment at the earthquake-stricken area, including: The trained earthquake-damage assessment model was deployed on a drone. The drones are deployed to collect building image data in the earthquake-stricken area, and the collected building image data is identified by a pre-set assessment model of the degree of earthquake damage to buildings to obtain the pre-set assessment results of the degree of earthquake damage to buildings.

[0056] The trained model files can be deployed to the onboard computing unit of a drone. After an earthquake, drones are dispatched to the disaster area. The drones use their onboard high-definition cameras to capture images of buildings. The onboard computing unit uses the evaluation model in real time to analyze the images, identify the degree of damage to each building (e.g., marked with different colored boxes), and transmits the evaluation results (images + labels) back to the command center in real time via a wireless communication module.

[0057] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0058] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, electronic devices, and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0059] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0060] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0061] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0062] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0063] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for pre-assessing the degree of earthquake-induced building damage, characterized in that, include: Acquire sample image data pre-stored by staff or obtained through human-computer interaction, as well as the data label corresponding to each sample image data; A pre-defined assessment model for earthquake-induced building damage is constructed using a deep learning algorithm, and a hyperparameter population is generated based on the hyperparameters of the pre-defined assessment model for earthquake-induced building damage. Based on the sample image data and the data label corresponding to each sample image data, a multi-level tracking algorithm is used to train each hyperparameter individual in the hyperparameter population to obtain the target hyperparameter individual; Based on the target hyperparameter individuals, a pre-set assessment model for earthquake-induced building damage is obtained after training; The trained earthquake-damage assessment model was deployed on a drone, and the drone was dispatched to conduct a pre-assessment of earthquake-damage to buildings in the earthquake-stricken area.

2. The method for pre-assessing the degree of earthquake-damaged buildings according to claim 1, characterized in that, A pre-defined assessment model for earthquake-induced building damage is constructed using a deep learning algorithm. Based on the hyperparameters of this pre-defined assessment model, a hyperparameter population is generated, including: A pre-defined assessment model for earthquake-induced building damage was constructed using the DeepLabV3+ algorithm. For the hyperparameters to be trained in the pre-set assessment model of earthquake-induced building damage, the hyperparameters are randomly initialized between the upper and lower limits, and the randomly initialized hyperparameters are encoded into vectors to obtain individual hyperparameters. By repeatedly generating multiple different hyperparameter individuals, a hyperparameter population can be obtained.

3. The method for pre-assessing the degree of earthquake-damaged buildings according to claim 1, characterized in that, Based on the sample image data and the data labels corresponding to each sample image data, a multi-level tracking algorithm is used to train each hyperparameter individual in the hyperparameter population to obtain the target hyperparameter individual, including: For each hyperparameter individual in the hyperparameter population, the fitness value corresponding to the hyperparameter individual is obtained based on the sample image data and the data label corresponding to each sample image data. Based on the fitness value corresponding to the hyperparameter individual, determine the optimal hyperparameter individual and the historical optimal value corresponding to each hyperparameter individual from all hyperparameter individuals; Based on the historical optimal value corresponding to the hyperparameter individual, a dual-strategy tracking strategy of historical and random transition is adopted to track the hyperparameter individual and obtain the hyperparameter individual after dual-strategy tracking. Based on the optimal hyperparameter individual and the historical optimal value corresponding to each hyperparameter individual, a multi-information social tracking strategy is adopted to track the population information of the hyperparameter individuals after the dual-strategy tracking, and to obtain the hyperparameter individuals after the population information tracking. Based on the optimal hyperparameter individual, a collision tracking strategy is used to perform collision tracking on the hyperparameter individuals after the population information tracking, to obtain the hyperparameter individuals after collision tracking; Obtain the current training count and determine the training stage based on the current training count; wherein, the training stage includes a training completion stage or a training incomplete stage; If the training phase is incomplete, then based on the hyperparameter individuals after collision tracking, return to the step of obtaining the fitness value corresponding to the hyperparameter individuals, and proceed to the next training step. When the training phase is completed, the target hyperparameter individual is obtained based on the hyperparameter individuals after collision tracking.

4. The earthquake-damage assessment method for pre-setting the degree of damage to buildings according to claim 3, characterized in that, For each hyperparameter individual in the hyperparameter population, the fitness value corresponding to the hyperparameter individual is obtained based on the sample image data and the data label corresponding to each sample image data, including: For each hyperparameter individual in the hyperparameter population, the hyperparameters contained in the hyperparameter individual are applied to the pre-set assessment model of earthquake building damage, resulting in the pre-set assessment model of earthquake building damage after applying the hyperparameters. The sample image data is used as the actual input to the pre-set assessment model of earthquake building damage after applying hyperparameters, and the data label corresponding to the sample image data is used as the expected output of the pre-set assessment model of earthquake building damage after applying hyperparameters to obtain the cross-entropy loss function value. The fitness value corresponding to the hyperparameter individual is obtained by adding the cross-entropy loss function value to the non-zero constant term and taking the reciprocal.

5. The earthquake-damage assessment method for pre-setting the degree of damage to buildings according to claim 3, characterized in that, Based on the historical optimal value corresponding to the hyperparameter individual, a dual-strategy tracking strategy of historical and random transition tracking is adopted to track the hyperparameter individual, obtaining the hyperparameter individual after dual-strategy tracking, including: Obtain the current training iteration count, and based on the current training iteration count, obtain the dual-strategy decision factor as follows: in, Indicates the dual-strategy decision factor. This represents the maximum value of the dual-strategy decision factor. This represents the minimum value of the dual-strategy decision factor. Represents the sine function. Represents pi (π). Indicates the current number of training iterations. Indicates the maximum number of training iterations; Based on the dual-strategy decision factors and the historical optimal values ​​corresponding to the hyperparameter individuals, dual-strategy tracking is performed on the hyperparameter individuals to obtain the hyperparameter individuals after dual-strategy tracking: in, Indicates the first t During the training process, the first k The first hyperparameter of the individual d dimensional hyperparameters, Indicates the first k The first hyperparameter individual after the dual-strategy tracking d dimensional hyperparameters, k =1,2,…,K, where K represents the total number of hyperparameter individuals. d =1,2,…,Dim, where Dim represents the total dimension of hyperparameters in an individual hyperparameter. Indicates the first t During the training process, the first k The historical best value corresponding to the individual hyperparameters d dimensional hyperparameters, Represents the cosine function. Indicates the first tracking coefficient. Indicates the second tracking coefficient. Denotes the first hyperparameter of an individual with random hyperparameters. d dimensional hyperparameters, This represents the random transition tracking control coefficient. Indicates the order of a random transition. This represents the total number of random transitions.

6. The method for pre-assessing the degree of earthquake-damaged buildings according to claim 5, characterized in that, Based on the optimal hyperparameter individual and the historical best value corresponding to each hyperparameter individual, a multi-information social tracking strategy is used to track the population information of the hyperparameter individuals after the dual-strategy tracking, obtaining the hyperparameter individuals after the population information tracking, including: Based on the fitness value of the optimal hyperparameter individual, the adaptive inertia weight is obtained as follows: in, Indicates adaptive inertia weights, This represents the maximum value of the adaptive inertia weight. This represents the minimum value of the adaptive inertia weight. Indicates the first i The fitness values ​​of hyperparameter individuals after dual-strategy tracking. This represents the fitness value of the individual with the optimal hyperparameters. This represents the fitness value of the worst-performing hyperparameter individual. This represents the mean fitness value of all hyperparameter individuals after dual-strategy tracking; The first and second social tracking factors were obtained as follows: in, Indicates the first i The first social tracking factor corresponding to the hyperparameters of individuals after dual-strategy tracking. Indicates the first i The second social tracking factor corresponding to the hyperparameters of individuals after dual-strategy tracking. The table shows the social tracking angle coefficient, and , A This represents the first constant term between [5, 10]. Represents the first random number between (0,1). Represents the social tracking coefficient, and , This represents the tracking period coefficient between [0.5, 2]. Represents the hyperparameters of individuals after all dual-policy tracking. The maximum value in, Represents the hyperparameters of individuals after all dual-policy tracking. The maximum value in; Based on the optimal hyperparameter individual, the historical best value corresponding to each hyperparameter individual, the adaptive inertia weight, the first social tracking factor, and the second social tracking factor, population information tracking is performed on the hyperparameter individuals after dual-strategy tracking to obtain the hyperparameter individuals after population information tracking: in, Indicates the first i The first hyperparameter individual after the dual-strategy tracking d dimensional hyperparameters, Indicates the first i The first hyperparameter of an individual after tracking population information. d dimensional hyperparameters, The first hyperparameter of the individual represents the optimal hyperparameter. d dimensional hyperparameters, Represents the first individual of the mean. d dimensional hyperparameters, Represents the convergence coefficient. Indicates the first learning factor. Indicates the second learning factor. This represents the maximum value of the convergence coefficient. This represents the minimum value of the convergence coefficient. Let s represent the natural constant, and let s represent the trend adjustment coefficient of the convergence coefficient. This represents the adjustment factor for the magnitude of the convergence coefficient.

7. The pre-assessment method for earthquake-damaged buildings according to claim 6, characterized in that, Based on the optimal hyperparameter individual, a collision tracking strategy is used to perform collision tracking on the hyperparameter individuals after the population information tracking, resulting in the hyperparameter individuals after collision tracking, including: The collision tracking coefficients are obtained as follows: in, Indicates the collision tracking coefficient; Based on the collision tracking coefficient, the base collision tracking quantity corresponding to the hyperparameter individual after the population information tracking is determined as follows: in, Indicates the first m The first hyperparameter of an individual after tracking population information. d dimensional hyperparameters, express The corresponding base collision tracking data; Based on the aforementioned basic collision tracking data, the real-time collision tracking data is obtained as follows: in, express The corresponding real-time collision tracking data, Indicates the first m The fitness values ​​of hyperparameter individuals after tracking population information. Indicates the first m The Euclidean distance between hyperparameter individuals and the optimal hyperparameter individual after tracking population information; Based on the collision tracking coefficient, the basic collision tracking amount, and the real-time collision tracking amount, collision tracking is performed on the hyperparameter individuals after the population information tracking, resulting in the hyperparameter individuals after collision tracking: in, Indicates the first m The first hyperparameter individual after the first collision tracking d dimensional hyperparameters, Let represent the second random number between (0,1), and exp represent the exponential function with the natural constant e as the base.

8. The earthquake-damage assessment method for pre-setting the degree of damage to buildings according to claim 7, characterized in that, Obtain the current training iteration count, and determine the training phase based on the current training iteration count, including: Get the current number of training iterations; Determine whether the current number of training iterations is greater than or equal to the preset maximum number of training iterations. If so, determine that the current training stage is the training completion stage; otherwise, determine that the current training stage is the training incomplete stage.

9. The pre-assessment method for earthquake-damaged buildings according to claim 3, characterized in that, Based on the target hyperparameter individuals, a pre-set assessment model for earthquake-induced building damage is obtained after training, including: using the hyperparameters in the target hyperparameter individuals as the final hyperparameters of the pre-set assessment model for earthquake-induced building damage, thereby obtaining the pre-set assessment model for earthquake-induced building damage after training.

10. The method for pre-assessing the degree of earthquake-damaged buildings according to claim 9, characterized in that, The trained earthquake-damage assessment model is deployed on a drone, and the drone is dispatched to conduct a pre-assessment of earthquake-damage to buildings in the earthquake-stricken area, including: The trained earthquake-damage assessment model was deployed on a drone. The drones are deployed to collect building image data in the earthquake-stricken area, and the collected building image data is identified by a pre-set assessment model of the degree of earthquake damage to buildings to obtain the pre-set assessment results of the degree of earthquake damage to buildings.

Citation Information

Patent Citations

  • Remote sensing building earthquake damage assessment method and system based on deep learning and cloud computing

    CN111985355A

  • Building earthquake damage intelligent assessment method based on multi-modal large model

    CN117292230A

  • Power consumption prediction method based on intelligent algorithm

    CN120657765A

  • Earthquake service integrated management method

    CN120851398A

  • Method for efficient distributed machine learning hyperparameter search

    US20230162089A1