A three-dimensional voxel load parameter multi-start reverse search method
By reusing the forward voxel damage prediction network and iterative search method, the problems of multiple solutions and large computational load in load parameter combinations in reverse design are solved. This enables the rapid finding of load parameter combinations that meet the target damage level in large-scale three-dimensional structures, which has engineering rationality and stability.
Patent Information
- Application Number
- CN202611556564.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-09
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies are difficult to reverse engineer quickly and effectively in structural safety assessment and impact resistance design. They cannot find load parameter combinations that meet the damage level of the target component in large-scale three-dimensional structures, and lack overall engineering constraints and stability evaluation.
By reusing the trained positive voxel damage prediction network, multiple initial parameter vectors are generated. The target component matching loss is calculated through iterative search and soft interval distance function to ensure that the search results are within the engineering authorization boundary. At the same time, clustering is performed to remove duplicates and output representative candidate solutions.
It realizes a multi-candidate inverse search from component-level damage target to load parameters under the condition of reusing the forward prediction model, ensuring that the results meet the target constraints and have engineering rationality and stability.
Smart Images

Figure CN123159138A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of structural safety assessment and digital simulation technology, and in particular to a method for multi-starting-point reverse search of three-dimensional voxel load parameters. Background Technology
[0002] In the fields of structural safety assessment, impact-resistant design, accident simulation, and digital modeling, it is typically necessary to predict voxel-level damage distribution based on the three-dimensional geometric information, material or equivalent strength parameters, and local point source load parameters of the building structure, and further determine the damage level of components such as beams, columns, slabs, and walls. Existing technologies include various three-dimensional voxel damage prediction networks capable of solving the forward problem of "predicting damage results given structural and load parameters."
[0003] For example, patent document CN121659396A provides a method and apparatus for predicting three-dimensional voxel damage based on component consistency constraints. First, structural information is acquired, a three-dimensional voxel mesh and the mapping relationship between components and voxels are constructed, and a multi-channel input tensor is constructed by fusing structural properties and load effects. This tensor is then input into a trained three-dimensional segmentation network model to obtain initial voxel damage probabilities. The core of this method lies in introducing cross-scale engineering consistency constraints: based on the mapping relationship between components and voxels, voxel predictions are aggregated into component-level damage representation quantities, and a consistency correction quantity is calculated according to a reasonable range defined by the component's preset damage level. This allows for the coordinated adjustment of the initial probabilities of all voxels within the component, ultimately outputting a three-dimensional damage distribution map that conforms to component-level engineering rationality. This method aims to solve problems such as class imbalance in voxel-level prediction, overall component inconsistency, and overfitting to noise labels.
[0004] However, the aforementioned existing technologies and other three-dimensional voxel damage prediction schemes in this field mainly address forward prediction problems, i.e., predicting damage results given structural and load parameters. In actual safety assessments and protective design, there are also needs opposite to forward prediction: engineers first specify the desired damage level or allowable damage range for the target component, and then search for a combination of load parameters within an authorized simulation environment that allows the forward prediction results to meet the aforementioned objectives. This type of problem belongs to reverse design problems.
[0005] To address the aforementioned reverse design requirements, existing methods have the following main shortcomings:
[0006] First, when directly establishing a single-value regression model from "target damage level to load parameters", since the same target result may correspond to multiple sets of different load parameters, the network is prone to outputting the average value of multiple feasible solutions, resulting in the result not meeting the target.
[0007] Second, using finite element or high-fidelity physical simulation to traverse the parameter space point by point involves a large amount of computation, making it difficult to apply quickly under conditions of large-scale three-dimensional structures, multi-component constraints, and multiple target queries.
[0008] Third, by focusing solely on matching the damage level of the target component, the upper limit constraint on the damage of the protected component is ignored, resulting in a lack of overall engineering constraints.
[0009] Fourth, the target level usually corresponds to a reasonable range of damage ratios rather than a unique fixed ratio. Using hard labels or fixed numerical matching can easily lead to an overly strong search target, a reduction in feasible solutions, or results that are overly sensitive to model errors.
[0010] Fifth, single-start-point search usually only yields a local solution, lacking deduplication of candidate solutions, stability evaluation, and representative classification, making it difficult to answer the question "how many different candidate solutions exist". Summary of the Invention
[0011] To address the aforementioned technical problems, the technical solution adopted by this invention is as follows:
[0012] This invention provides a method for multi-starting-point reverse search of three-dimensional voxel load parameters, the method comprising the following steps:
[0013] S100, acquire basic data, which includes: three-dimensional voxel mesh data of the building structure and the mapping relationship between components and voxels, target damage matrix, trained positive voxel damage prediction network and allowed load parameter domain; the target damage matrix records the lower limit and upper limit of the target damage ratio for each target component.
[0014] S200, generate multiple initial parameter vectors within the allowed load parameter domain, the initial parameter vectors being composed of normalized load parameters.
[0015] S300, for each initial parameter vector, perform an iterative search step to obtain candidate parameter vectors from multiple initial parameter vectors; the iterative search step includes:
[0016] S301, input the current parameter vector and the three-dimensional voxel mesh data into the positive voxel damage prediction network to obtain the voxel-level damage probability.
[0017] S302, based on the mapping relationship between the component and the voxel, the voxel-level damage probability is aggregated into a component-level damage ratio.
[0018] S303, calculate the overall loss based on the target damage matrix. The overall loss includes at least the target component matching loss. The target component matching loss is calculated based on the soft interval distance function. The soft interval distance function is configured such that when the predicted damage ratio of the target component falls within the interval between the lower limit of the target damage ratio and the upper limit of the target damage ratio, the penalty is zero; otherwise, a penalty is applied to the portion exceeding the interval.
[0019] S304, update the current parameter vector according to the total loss, and project the updated parameter vector back to the allowed load parameter domain to obtain the projected parameter vector.
[0020] S305, determine whether the preset stopping condition is met; if it is met, use the projected parameter vector as the candidate parameter vector; if it is not met, return to S301 to continue the iteration.
[0021] S400: Filter the obtained candidate parameter vectors and delete the candidate parameter vectors that do not meet the constraints corresponding to the target damage matrix to obtain the filtered parameter vectors.
[0022] S500 performs clustering and deduplication on the filtered parameter vectors, outputting several classes of parameter vectors and their corresponding damage prediction results, with one parameter vector output for each class.
[0023] This invention avoids the enormous computational overhead required to train a separate inverse network or conduct high-fidelity simulations by reusing a pre-trained positive voxel damage prediction network as a frozen surrogate model. By generating multiple initial parameter vectors within the allowed parameter domain and independently performing iterative searches, it overcomes the problem of single-valued regression models averaging multiple feasible parameters into infeasible results, thus obtaining multiple locally feasible solutions with actual differences. Furthermore, by mapping discrete damage levels to target damage proportion intervals and using a soft-interval distance function to calculate the matching loss, the penalty is zero when the predicted damage proportion falls within the interval, and only the excess is penalized. This preserves reasonable differences within the same damage level while avoiding hard labeling. This invention addresses the issues of reduced feasible solutions due to signature matching and excessive sensitivity to model errors. By calculating the target component matching loss during iteration and projecting the updated parameter vector back to the allowed parameter domain in each round, it ensures that the search results remain within the engineering authorization boundary while satisfying the target constraints. Constraint screening of all candidate parameter vectors obtained after iteration termination removes candidates that do not meet the target damage matrix constraints, ensuring the compliance of the final candidates. Finally, clustering deduplication outputs several representative parameter vectors and their corresponding damage prediction results from the screened candidate parameter vectors, giving the output candidate solutions a clear engineering distinction rather than a large stack of similar values. This invention enables multi-candidate inverse search from component-level damage targets to load parameters while reusing existing forward prediction models.
[0024] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 The flowchart illustrates a method for multi-starting-point reverse search of three-dimensional voxel load parameters provided in an embodiment of the present invention. Detailed Implementation
[0027] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of this invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0029] It should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processes, many of these steps can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the steps can be rearranged. A process can be terminated when its operation is complete, but it may also have additional steps not included in the figures. A process can correspond to a method, function, procedure, subroutine, subroutine, etc.
[0030] To address the aforementioned issues, this invention provides a multi-starting-point inverse search method for three-dimensional voxel load parameters. Its core concept lies in reusing a pre-trained forward voxel damage prediction network as a frozen surrogate model, instead of separately training a single-value inverse network from the damage target to the load parameters. This method maps the discrete damage level of the target component to soft-range constraints, allowing the predicted damage ratio to vary freely within the target range without penalty, only penalizing the portion exceeding the range. This maintains the clarity of the engineering semantics while avoiding the reduction of feasible solutions caused by hard label matching. By generating multiple initial parameter vectors within the allowed parameter domain and performing independent iterative searches, multiple locally feasible solutions are obtained, solving the problem of single-value regression easily outputting average values in "one-to-many" inverse problems. The objective function simultaneously introduces target component matching loss and protective component loss, ensuring that the search results simultaneously satisfy the damage level requirements of the target component and the damage upper limit constraint of the protective component. Feasibility domain projection ensures that the parameter vector after each iteration always lies within the engineering authorization boundary. Finally, joint distance clustering is used for deduplication, outputting several representative candidate solutions with actual differences and their damage prediction results, giving the number of solutions clear engineering meaning. This method also reduces the risk of false feasible solutions caused by surrogate model prediction errors through neighborhood perturbation verification and multi-model verification, thus ensuring the reliability of search results.
[0031] like Figure 1 As shown, the method includes the following steps:
[0032] S100, obtain basic data.
[0033] In this step, we obtain the basic data required to perform the subsequent reverse search, specifically including:
[0034] (a) Three-dimensional voxel mesh data of building structure
[0035] The target building structure is discretized into a three-dimensional voxel mesh of H×W×D, and a multi-channel input tensor is constructed.
[0036] In this application, the target building structure refers to the building structure to be subjected to damage assessment and reverse search, which is composed of several components, including but not limited to beams, columns, slabs, and walls. These components are arranged in space according to a specific topological relationship to form a complete structural system. Each component has an independent geometric range, material properties, and structural function.
[0037] In this application, a voxel is the smallest volume unit in three-dimensional space and is the basic element constituting a three-dimensional voxel mesh. The target building structure is discretized in three-dimensional space into several uniformly sized cubic cells, each cell being a voxel. Each voxel has unique spatial coordinates in the mesh and is associated with one or more channel values, which are used to describe the structural attribute information at the voxel's location. The size of a single voxel in the three dimensions can be set according to the required analysis accuracy; the smaller the size, the higher the discretization accuracy, and the larger the total number of voxels; the larger the size, the higher the computational efficiency, and the smaller the total number of voxels. All voxels are arranged according to their spatial positions to form a three-dimensional voxel mesh of H×W×D, where H, W, and D are the number of voxels in the height, width, and depth directions of the mesh, respectively.
[0038] The three-dimensional voxel mesh data includes the following channels:
[0039] Occupancy Status Channel: Records whether each voxel is occupied by building structure materials. It uses binary encoding, with an occupied position taking a value of 1 and an empty position taking a value of 0.
[0040] Material strength channel: Records the equivalent material strength value at each voxel location. For empty voxels, this channel is filled with 0.
[0041] Component type channel: Records the component type code of each voxel. Different types of components, such as beams, columns, slabs, and walls, correspond to different code values.
[0042] Component Number Channel: Records the unique component number to which each voxel belongs; all voxels within the same component have the same component number.
[0043] Boundary condition channel: Records the boundary constraint type or boundary distance information at the voxel location;
[0044] Local thickness channel: records the local structural thickness at the location of the voxel.
[0045] The three-dimensional voxel mesh data may also include geometric feature channels, material property channels, or other structural feature channels related to damage prediction.
[0046] (ii) Mapping relationship between components and voxels
[0047] A mapping table is established between components and voxels, recording the correspondence between each component in the target building structure and the voxels it contains. Specifically, for each component, the index set of all voxels corresponding to that component is recorded, i.e., which voxels belong to that component; simultaneously, the total number of voxels contained in that component is also recorded. This mapping relationship is used in subsequent steps to aggregate the voxel-level damage probabilities output by the positive voxel damage prediction network on a component-by-component basis, thereby converting the voxel-scale prediction results into component-scale damage statistics.
[0048] (III) Target Damage Matrix
[0049] The target damage matrix is used to record the damage constraint targets set by the user for each component in the building structure. Its data structure is a record table. The user constructs the target damage matrix by specifying the component identifier and its corresponding constraint type (target component, protected component, or component of no concern). For each specified component, the target damage matrix records at least the following information: Component identifier: the component's number or unique identifier;
[0050] Constraint type: Indicates the constraint category to which the component belongs in this search, including three types: target component, protected component, and component not of interest;
[0051] Lower limit of target damage ratio: The lowest value in the range of damage ratios that a component is expected to achieve when it is designated as a target component;
[0052] Upper limit of target damage ratio: When a component is designated as a target component, the highest value of the expected damage ratio range for that component;
[0053] Maximum allowable damage percentage: When a component is designated as a protected component, the maximum allowable damage percentage for that component is not permitted to be exceeded.
[0054] Importance weight: Indicates the relative importance of the component in the overall loss calculation. The default weight value is 1.0.
[0055] The target damage matrix records target components that the user desires to achieve a specific damage level label (e.g., minor, moderate, severe damage). These damage level labels are mapped to corresponding target damage ratio intervals, specifically the range formed by the lower and upper limits of the target damage ratio. The protected components recorded in the target damage matrix are those whose damage status the user requires must not exceed a specific upper limit; their allowed damage ratio upper limit is recorded. Components not considered are skipped when calculating overall loss and do not participate in any constraint calculations. The mapping relationship between target damage levels and damage ratio intervals can be determined based on engineering definitions, statistical experience, or preset mapping tables. Different component types (e.g., beams, columns, slabs, walls) may correspond to different interval mapping standards.
[0056] (iv) Trained positive voxel damage prediction network
[0057] Obtain a trained positive voxel damage prediction network. This network is a three-dimensional voxel damage prediction network with frozen parameters. Its input is three-dimensional voxel mesh data and normalized load parameters, and its output is voxel-level damage probability of the same size as the input voxel mesh.
[0058] The training method of the positive voxel damage prediction network is as follows: A training dataset is constructed, in which each training sample contains a set of three-dimensional voxel mesh data of a building structure, a set of normalized load parameters, and corresponding real voxel-level damage annotations; the three-dimensional voxel mesh data and the normalized load parameters are input into the network to be trained, and a voxel-level damage probability prediction value is output; a loss function, such as cross-entropy loss, Dice loss, or Focal loss, is constructed based on the difference between the voxel-level damage probability prediction value and the real voxel-level damage annotations; the network parameters are updated through backpropagation, and the training is iteratively continued until the loss function converges, thus obtaining the trained positive voxel damage prediction network.
[0059] The positive voxel damage prediction network can employ 3D U-Net, sparse 3D convolutional networks, V-Net, or other neural network architectures capable of outputting a 3D voxel damage field. After training, the network's parameters are frozen and used only as a positive proxy model in this method, without parameter fine-tuning.
[0060] (v) Allowed parameter fields
[0061] The allowed parameter domain refers to the range of values for the load parameters, determined by the engineering authorization boundary, simulation validity boundary, or discrete load case table. The load parameters are normalized dimensionless variables, uniformly mapped to a preset range. The load parameters include at least position-type variables and intensity-type variables.
[0062] The allowed parameter domain can be configured according to actual working conditions. For example, in a single-point source event scenario, the load parameters include the spatial coordinates of a single load application point and the load intensity value; in a multi-point source event scenario, the load parameters can further include the number of events, the normalized location and intensity of each event, and can include event spacing constraints, upper limit constraints on the number of events, and sequence constraints. A point source event refers to an event where a load acts on a local point on the structure, and each point source event is characterized by the spatial location and load intensity of that point.
[0063] After S100 is completed, all basic data is ready and can be called by subsequent steps.
[0064] S200, generate multiple initial parameter vectors within the allowed load parameter domain.
[0065] In this step, multiple initial parameter vectors are generated within the allowed load parameter domain, serving as the starting points for subsequent iterative searches. These initial parameter vectors consist of normalized load parameters, with their dimensions corresponding to the number of different types of load parameters.
[0066] The number of the plurality of initial parameter vectors is denoted by a preset positive integer, and each initial parameter vector is generated within the allowed load parameter domain according to a preset initialization strategy. The initialization strategy may employ any of the following methods:
[0067] Uniform random sampling: The component values of each parameter vector are randomly generated according to a uniform distribution within the load parameter domain;
[0068] Layered sampling: The load parameter domain is divided into several sub-regions, and sampling is performed in each sub-region to ensure that the initial point covers the entire domain;
[0069] Latin hypercube sampling: Divide the range of each load parameter into several intervals, and extract one sample in each interval to ensure that the projection of the initial point is uniformly distributed in each dimension.
[0070] Preset operating condition seed: Using known typical operating condition parameters or historical effective parameters as the initial point, multiple initial parameter vectors are generated by superimposing small random perturbations on this basis.
[0071] The multiple initial parameter vectors are independent of each other and can be called in parallel by the positive voxel damage prediction network for batch prediction, making them suitable for batch tensor computation on a graphics processor.
[0072] The specific composition of the load parameters is defined by the allowed load parameter domain. In a single-point source event scenario, each parameter vector contains the location and intensity variables of a single load application point; in a multi-point source event scenario, each parameter vector contains the number of events, the normalized location, and the intensity of each event.
[0073] S300, for each initial parameter vector, performs an iterative search step to obtain candidate parameter vectors from multiple initial parameter vectors.
[0074] For each initial parameter vector generated in S200, the following iterative search steps are performed to obtain a candidate parameter vector from each initial parameter vector. The search processes for multiple initial parameter vectors are independent of each other and can be executed in parallel.
[0075] The iterative search steps specifically include:
[0076] S301, input the current parameter vector and the three-dimensional voxel mesh data into the positive voxel damage prediction network to obtain the voxel-level damage probability.
[0077] The current parameter vector and the 3D voxel mesh data obtained in S100 are input into the forward voxel damage prediction network. After forward propagation calculation, the network outputs voxel-level damage probabilities of the same size as the input voxel mesh. The voxel-level damage probability is the probability of damage occurring for each voxel, ranging from 0 to 1. The initial value of the current parameter vector is the initial parameter vector generated in S200 when S301 is executed for the first time; for subsequent rounds, the current parameter vector is the parameter vector updated and projected in the previous iteration via S304.
[0078] S302, based on the mapping relationship between the component and the voxel, the voxel-level damage probability is aggregated into a component-level damage ratio.
[0079] Based on the component-voxel mapping relationship obtained in S100, the voxel-level damage probabilities output in S301 are aggregated by component, and the predicted damage ratio of each component is calculated. For any component, the predicted damage ratio of the component is calculated as follows: obtain the voxel-level damage probabilities of all voxels corresponding to the component, calculate the arithmetic mean of these voxel-level damage probabilities, and use this average value as the predicted damage ratio of the component.
[0080] Alternatively, one of the following aggregate statistics can be used to calculate the component-level damage ratio:
[0081] Weighted average: The weighted average is calculated by assigning different weights to different voxels within a component;
[0082] Maximum value: The maximum value of the damage probability of all voxels within the component;
[0083] Quantile: The specified quantile of the probability of damage to all voxels within a component, such as the 75th quantile;
[0084] Connectivity damage ratio: Threshold the probability of voxel damage within the component, identify voxels with a value higher than the preset threshold as damaged voxels, and calculate the proportion of damaged voxels to the total number of voxels in the component.
[0085] S303, Calculate the overall loss based on the target damage matrix.
[0086] The overall loss is used to quantify the degree of deviation between the component damage prediction result under the current parameter vector and the target constraint. The smaller the overall loss value, the closer the prediction result is to the target.
[0087] The overall loss includes at least the target component matching loss. Furthermore, when the target damage matrix records a protective component, the overall loss also includes the protective component loss. Depending on specific implementation requirements, the overall loss may also selectively include feasible region loss and / or robustness loss.
[0088] (a) Target component matching loss
[0089] The target component matching loss measures the degree to which the predicted damage ratio of a target component deviates from its target damage range. This loss is calculated based on a soft-interval distance function. The soft-interval distance function is configured as follows: when the predicted damage ratio of the target component falls within the target damage ratio range, the penalty is zero; otherwise, a penalty is applied to the portion exceeding the range. Specifically, when the predicted damage ratio of the target component is lower than the lower limit of the target damage ratio, the penalty is the square of the difference between the lower limit and the predicted damage ratio; when the predicted damage ratio of the target component is higher than the upper limit of the target damage ratio, the penalty is the square of the difference between the predicted damage ratio and the upper limit of the target damage ratio.
[0090] The formula for calculating the soft interval distance function is as follows:
[0091] φ(R j ;L j U j )=ReLU(L j -R j ) 2 +ReLU(R j -U j ) 2 ;
[0092] Where φ(·) is the soft interval distance function, R j L represents the predicted damage proportion of target component j. j and U j These are the lower limit and upper limit of the target damage ratio for target component j, respectively, where j ranges from 1 to n, and n is the total number of target components; ReLU() is the modified linear unit activation function, which is defined as follows: when the input value is positive, the function value is equal to the input value; when the input value is zero or negative, the function value is zero.
[0093] The target component matching loss is calculated as follows: For all target components, multiply the soft interval distance value of each target component by its importance weight, and then sum the results. The sum is the target component matching loss. The calculation formula is:
[0094] L target =Σ j [w j ·φ(R j ;L j U j )];
[0095] Among them, L target For the target component matching loss, w j Let be the weight of the target component j.
[0096] (ii) Loss of protective components
[0097] Protective component loss measures the extent to which the predicted damage proportion of a protective component exceeds its upper limit of permissible damage proportion.
[0098] For each protective component i, the upper limit of the allowable damage ratio is U. safe i When the predicted damage ratio R of protective component i p i Not exceeding U safe i When R is zero, the loss value is zero; when R p i More than U safe i At that time, the loss value is the square of the excess amount.
[0099] The calculation method for the loss of protective components is as follows: For all protective components, multiply the squared value of the excess amount of each component by its importance weight, and then sum the results. The sum is the loss of the protective component. The calculation formula is:
[0100] L protect =Σ i [w p i ·ReLU(R i -U safe i ) 2 ];
[0101] Among them, L protect To protect components from damage, w p i The weight of protected component i is determined by the value of i, which ranges from 1 to m, where m is the total number of protected components.
[0102] (iii) Feasible domain loss
[0103] The feasible region loss is used to penalize the portion of the parameter vector that exceeds the allowed load parameter domain. This loss is a soft constraint and can be used either or simultaneously with the projection step (hard constraint) in S304. Specifically, for each component of the parameter vector, when it exceeds the allowed value range of that dimension, a quadratic penalty (square penalty) is applied to the excess portion to guide the parameter vector towards the allowable domain during optimization; the penalty is zero when it does not exceed the allowed range. The feasible region loss is obtained by weighted summing of the excess penalty values for all dimensions.
[0104] When using feasible region loss, there is no need to force the parameter vector to be projected back to the allowable region after each iteration. Instead, the loss function guides the parameter vector to tend towards the interior of the allowable region during the optimization process.
[0105] (iv) Robustness loss
[0106] Robustness loss is used to evaluate the sensitivity of the current parameter vector to small perturbations, thereby reducing the risk that positive model prediction errors will lead to unreliable search results.
[0107] The specific calculation method is as follows: Several perturbation samples are generated in the neighborhood of the current parameter vector. These perturbation samples are obtained by superimposing random offsets on each component of the current parameter vector. The random offsets follow a normal or uniform distribution. Each perturbation sample is input into the positive voxel damage prediction network to obtain the component-level damage ratio corresponding to each perturbation sample. Based on the component-level damage ratio corresponding to each perturbation sample, the target component matching loss and protection component loss of each perturbation sample are calculated respectively. The target component matching loss and protection component loss of all perturbation samples are added together or weighted summed to obtain the loss value of each perturbation sample. The average or maximum value of the loss values of each perturbation sample is taken as the robustness loss of the current parameter vector.
[0108] If the current parameter vector can still maintain the damage ratio of each component in accordance with the constraints in the target damage matrix under the perturbation, then the robustness loss of the parameter vector is small and the stability is high; conversely, if the prediction result is very sensitive to the perturbation, then the robustness loss is large and the stability is low.
[0109] Total loss L total The calculation method is as follows: multiply each of the above-mentioned losses by its respective weighting coefficient and then sum them up. The calculation formula is:
[0110] L total =λ1·L target +λ2·L protect +λ3·L feasible + λ4·L robust .
[0111] Among them, L feasible For feasible region loss, L robust This represents the robustness loss. λ1, λ2, λ3, and λ4 are the weighting coefficients for the corresponding loss terms. Each weighting coefficient can be determined based on the importance of the target component, the protection level of the component, and the validation set results.
[0112] In one illustrative embodiment, the sum of the weight coefficients may not be 1. Their specific values are determined through validation set tuning based on actual engineering requirements, which is a conventional engineering parameter tuning method in this field. The following provides a specific method for determining the weight coefficients: First, initialize all weight coefficients to preset baseline values, for example, λ1=1.0, λ2=1.0, λ3=0.5, λ4=0.5; then, perform positive predictions on multiple candidate parameter vectors on the validation set. Based on the degree of matching between the prediction results and the target constraints, use grid search or Bayesian optimization to tune the weight coefficients, selecting the weight coefficient combination that maximizes the number of valid candidates on the validation set as the final weight coefficients; if there is a significant difference in the magnitude of the target component matching loss and the protection component loss on the validation set, such as a difference exceeding one order of magnitude, adjust the weight coefficients proportionally to ensure that each loss term is at a similar magnitude in the overall loss.
[0113] If neither the feasible region loss nor the robustness loss is required, the weight coefficient for that item is set to zero. The target component matching loss and the protection component loss are mandatory options, and their corresponding weight coefficients are always positive.
[0114] S304, update the current parameter vector according to the overall loss, and project the updated parameter vector back to the allowed parameter domain to obtain the projected parameter vector.
[0115] Based on the total loss calculated in S303, update the current parameter vector so that the total loss corresponding to the updated parameter vector tends to decrease.
[0116] The parameter update method can be any of the following:
[0117] Gradient descent method: When the positive voxel damage prediction network is differentiable with respect to the parameters, calculate the gradient of the overall loss with respect to the current parameter vector, and move the current parameter vector along the gradient descent direction by a preset step size to obtain the updated parameter vector;
[0118] Coordinate search method: This method processes each component of the current parameter vector sequentially. When processing the current dimension, the values of all other dimensions remain unchanged. A one-dimensional search is performed only within the allowed range of values for that dimension to find the optimal value that minimizes the overall loss, and the dimension is updated to that optimal value. Then, the process moves to the next dimension until all dimensions have been updated, completing one round of search. The process then returns to the first dimension to begin a new round of search, repeating this process until the stopping condition is met. One-dimensional searches in each dimension can employ methods such as the golden section search, parabolic interpolation, or grid search.
[0119] Evolutionary search method: Based on the current parameter vector, generate several child parameter vectors in its neighborhood. The child parameter vectors are obtained by superimposing random offsets on each component of the current parameter vector. Input each child parameter vector into the positive voxel damage prediction network and calculate the overall loss corresponding to each child parameter vector. Select the child parameter vector with the smallest overall loss as the updated parameter vector for the next iteration.
[0120] Bayesian optimization method: Construct a surrogate model using historical evaluation data near the current parameter vector, predict the mean and uncertainty of the overall loss based on the surrogate model, weigh the trade-off between exploration and exploitation, and select the parameter vector for the next evaluation.
[0121] After the parameters are updated, the updated parameter vector is projected back into the allowed load parameter domain. The projection means that for each component in the parameter vector, if its value exceeds the upper limit of that dimension in the allowed domain, it is truncated to that upper limit; if its value is below the lower limit of that dimension in the allowed domain, it is truncated to that lower limit; components within the allowed domain remain unchanged. For discrete load parameters such as load case numbers, a rounding operation is also performed after projection to round the parameter value to the nearest valid discrete value, or to map continuous values to the nearest valid load case number according to a preset discrete load case table.
[0122] The projected parameter vector is the final parameter vector for this round, which is used for stopping condition determination in subsequent steps and for the next iteration.
[0123] S305, determine whether the preset stopping condition is met; if it is met, use the projected parameter vector as the candidate parameter vector; if it is not met, return to S301 to continue the iteration.
[0124] Determine if the preset stopping condition is met. If it is, output and store the projected parameter vector from S304 as a candidate parameter vector; if not, return to S301, use the projected parameter vector from S304 as the new current parameter vector, and continue to the next iteration.
[0125] The stopping condition includes any one of the following three situations:
[0126] Loss threshold condition: The total loss of the current parameter vector is lower than the preset loss threshold;
[0127] Convergence criterion: If the change in the parameter vector is less than a preset change threshold in N consecutive iterations, it indicates that the parameter vector has become stable, where N is a preset positive integer;
[0128] Maximum iteration count condition: The number of iteration rounds reaches the preset maximum number of iterations.
[0129] The three stopping conditions mentioned above are related by "or", meaning that the iteration stops when any one of them is met.
[0130] Furthermore, during the iterative search process, at least one of the following strategies can be used to dynamically optimize the search process based on the current search progress:
[0131] (a) Adaptive adjustment of constraint weights
[0132] In the overall loss calculation of S303, the weighting coefficients λ3 for feasible region loss and λ4 for robustness loss can be dynamically adjusted during the iteration process. The weighting coefficients λ1 for target component matching loss and λ2 for protection component loss are predetermined by engineering requirements and remain unchanged during the iteration process.
[0133] Specifically, the satisfaction of feasible region loss and robustness loss is monitored during the iterative search process:
[0134] When the feasible region loss is consistently higher than the preset expected range in multiple consecutive iterations (e.g., 3 consecutive iterations), it indicates that the current parameter update direction tends to produce out-of-bounds parameters. In this case, λ3 is increased, for example by increasing it by a preset step size, so that the search direction focuses more on constraining the parameters within the allowed range. When the feasible region loss has consistently fallen below the preset expected range, λ3 is decreased, for example by decreasing it by a preset step size, to avoid over-constraint and limiting the search space.
[0135] When the robustness loss is consistently higher than the preset expected range in multiple iterations, it indicates that the current parameter is sensitive to disturbances. Therefore, λ4 is increased, for example by increasing it by a preset step size, so that the search direction focuses more on improving parameter stability. When the robustness loss has consistently fallen below the preset expected range, λ4 is decreased, for example by decreasing it by a preset step size, to avoid sacrificing target matching accuracy by excessively pursuing stability.
[0136] In an illustrative embodiment, in the early stages of the search (e.g., the first 20% of iterations), λ3 and λ4 are set to low initial values (e.g., λ3=0.2, λ4=0.2) to allow the parameter vector to be fully explored within the parameter domain. As the iterations progress, the weight values of λ3 and λ4 are gradually increased. In the later stages of the search (e.g., the last 10% of iterations), λ3 and λ4 are increased to higher final values (e.g., λ3=1.0, λ4=1.0) to ensure that the final candidate parameter vector is within the feasible domain and has good stability.
[0137] (ii) Supplementing initial points based on candidate distribution
[0138] During the iterative search process, if the candidate density of the currently obtained candidate parameter vectors is lower than a preset threshold in some regions of the parameter domain, it indicates that the candidate distribution is uneven. Then, based on the current distribution of candidate parameter vectors, new initial parameter vectors are regenerated in the parameter domain regions with lower candidate distribution density, and the newly generated initial parameter vectors are added to the initial parameter vector set of S200. The iterative search is restarted from these newly added initial points.
[0139] Specifically, a statistical analysis is performed on the spatial distribution of all obtained candidate parameter vectors within the parameter domain. First, the parameter domain is divided into several sub-regions of equal volume; the number of candidate parameter vectors in each sub-region is counted, and the number of candidates per unit sub-region is used as the candidate density of that sub-region; sub-regions with candidate densities below a preset threshold are identified as low-density regions. Then, several new initial parameter vectors are generated in each low-density region using uniform random sampling or Latin hypercube sampling; the newly generated initial parameter vectors are added to the initial parameter vector set, and the iterative search step S300 is performed on each of them to explore previously under-covered parameter domain regions, thereby improving the coverage and diversity of effective candidates.
[0140] S400: Filter the obtained candidate parameter vectors, deleting those that do not meet the constraints corresponding to the target damage matrix, to obtain the filtered parameter vectors. This includes the following sub-steps:
[0141] The first step is to verify the candidate parameter vector.
[0142] Before screening, the candidate parameter vectors can be validated to assess their reliability under positive model prediction errors. This validation includes at least one of the following methods:
[0143] Neighborhood perturbation verification: Several perturbation samples are generated in the neighborhood of the candidate parameter vector. The perturbation samples are obtained by superimposing small random offsets that follow a normal or uniform distribution on each component of the candidate parameter vector. Each perturbation sample is input into the positive voxel damage prediction network to obtain the component-level damage ratio corresponding to each perturbation sample. It is checked whether each perturbation sample still meets the constraints corresponding to the target damage matrix, that is, whether the damage ratio of each target component still falls within its target damage ratio range and whether the damage ratio of each protected component still does not exceed its allowable damage ratio upper limit. If all perturbation samples meet the constraints, the candidate parameter vector passes the neighborhood perturbation verification; otherwise, it fails.
[0144] Multi-model verification: Multiple independently trained positive voxel damage prediction networks are obtained. These networks use the same input / output format but differ in network initialization parameters and / or training data partitioning. Candidate parameter vectors are input into each of these networks to obtain voxel-level damage probabilities. Based on the component-voxel mapping relationship obtained in S100, the arithmetic mean of all voxel damage probabilities is calculated per component. The voxel-level damage probabilities are aggregated into component-level damage proportions. The percentage of networks whose target component damage proportion falls within the target damage proportion range and the percentage of networks whose protective component damage proportion does not exceed the upper limit of the allowable damage proportion are statistically analyzed. If the percentages of networks for both target and protective components are higher than preset thresholds, the candidate parameter vector passes the multi-model verification; otherwise, it fails. Candidate parameter vectors that pass the verification proceed to subsequent screening steps; candidate parameter vectors that fail the verification are deleted.
[0145] The second step is constraint filtering.
[0146] All candidate parameter vectors entering this step (i.e., those that have passed the review and those that entered this step directly without review) undergo constraint screening, and candidate parameter vectors that do not meet the constraints corresponding to the target damage matrix are deleted. Specifically, for any candidate parameter vector, its corresponding component-level damage ratio is compared one by one with the constraints recorded in the target damage matrix: if the damage ratio of any target component exceeds the range formed by its lower and upper limits of the target damage ratio, the candidate parameter vector is deleted; if the damage ratio of any protective component exceeds its upper limit of the allowable damage ratio, the candidate parameter vector is deleted; only when the damage ratios of all target components and protective components meet the corresponding constraint conditions is the candidate parameter vector retained.
[0147] The parameter vectors retained after filtering are used as the filtered parameter vectors and proceed to step S500.
[0148] If no candidate parameter vector satisfies all constraints after screening, the message "No feasible solution found in the current parameter domain" is output, along with several parameter vectors closest to the target and their main violations. "Closest to the target" refers to the top-ranked candidates sorted by total loss value from smallest to largest. The main violations include: under the candidate parameter vector, which target components have damage ratios below the lower limit or above the upper limit, and by what amount; and which protective components have damage ratios exceeding the allowable upper limit, and by what amount. This output distinguishes between "the target itself is infeasible in the current parameter domain" and "the search has not yet covered." If at least one candidate parameter vector satisfies all constraints, execution continues to S500.
[0149] S500 performs clustering and deduplication on the filtered parameter vectors, outputting several classes of parameter vectors and their corresponding damage prediction results, with one parameter vector output for each class.
[0150] This step clusters and removes duplicates from the parameter vectors retained after S400 screening. Candidates whose differences between parameter vectors and damage responses are less than a preset threshold are merged into the same category. From each category, a representative parameter vector is selected as the final output. This avoids outputting a large number of similar candidate schemes with only minor numerical differences, ensuring that the number of schemes in the final output has practical engineering significance. Specifically, it includes the following sub-steps:
[0151] S501, Distance Calculation.
[0152] For each pair of candidate parameter vectors retained after filtering, denoted as the a-th candidate parameter vector and the b-th candidate parameter vector, the joint distance is calculated. The joint distance considers the differences in the following three aspects:
[0153] Parameter vector distance: Calculates the Euclidean distance between two candidate parameter vectors, which is the square root of the sum of the squares of the differences between the components of each dimension of the parameter vector. It is used to measure the degree of numerical difference between two sets of load parameters.
[0154] Damage response distance: Calculate the Euclidean distance between the component damage ratio vectors corresponding to two candidate parameter vectors, that is, take the square root of the sum of the squares of the differences in the damage ratios of each component, which is used to measure the degree of difference between the two sets of parameters in the structural response.
[0155] Voxel damage mask distance: The voxel damage probability fields corresponding to the two candidate parameter vectors are thresholded to obtain binary voxel damage masks. Voxels with damage probabilities higher than a preset threshold are marked as 1, and those with other probabilities are marked as 0. Then, the crossover-union ratio (CUIR) between the two binary masks is calculated, which is the ratio of the number of overlapping voxels to the number of merging voxels. The voxel damage mask distance is calculated by subtracting the CUIR from 1, which is used to measure the degree of difference between the two sets of parameters in the damage spatial distribution pattern.
[0156] The formula for calculating the joint distance is:
[0157] D ab =α·||z a -z b ||2+β·||r a -r b ||2+γ·(1-IoU(P a ,P b )).
[0158] Where: D abz is the joint distance between the a-th candidate parameter vector and the b-th candidate parameter vector; a and z b Let |z| be the parameter vectors of the a-th and b-th candidate parameter vectors, respectively; a -z b ||2 represents the Euclidean distance between the parameter vectors; r a and r b Let r be the component damage ratio vectors corresponding to the a-th and b-th candidate parameter vectors, respectively; a -r b ||2 represents the Euclidean distance between the component damage proportion vectors; P a and P b The binary damage masks are obtained by thresholding the voxel damage probability fields corresponding to the a-th and b-th candidate parameter vectors, respectively; IoU(P a ,P b ) represents the intersection-union ratio of two binary damage masks, i.e., the ratio of the intersection to the union, ranging from 0 to 1; α, β, and γ are the weighting coefficients of the three distance terms mentioned above, used to balance the distance contributions under different dimensions and scales. The principles for determining each weighting coefficient are as follows: On the validation set, the Euclidean distance of the parameter vector, the Euclidean distance of the component damage ratio vector, and the voxel damage mask distance are calculated for multiple sets of candidate parameter vectors, and the mean and standard deviation of each distance term are statistically analyzed; the maximum value of the mean of the three distances is used as the benchmark, and the mean of each distance is compared with the benchmark value; the larger the ratio of the mean of a certain distance term to the benchmark value, the larger the dimension and scale of that distance term, and the smaller the weighting coefficient corresponding to that distance term is set; conversely, the smaller the ratio, the larger the weighting coefficient, so that the three distances have similar contributions in the joint distance. The specific values of each weighting coefficient belong to the scope of engineering parameter tuning. In an illustrative embodiment, α=1.0, β=1.0, and γ=0.5 can be set. The above values are for illustrative purposes only, and can be adjusted according to the dimensions and range of the actual parameters in specific implementations.
[0159] S502, Clustering Grouping.
[0160] Based on the joint distance calculated in S501, all candidate parameter vectors retained after screening are clustered. Specifically, hierarchical clustering or density-based clustering algorithms are used to group candidate parameter vectors with a joint distance less than a preset clustering threshold into the same category; candidate parameter vectors with a joint distance greater than or equal to the preset clustering threshold are divided into different categories. After clustering, each candidate parameter vector is assigned to a unique category, thus forming several candidate categories. The final number of categories K is naturally determined by the clustering results and is equal to the total number of valid categories formed after clustering, rather than a preset fixed value.
[0161] S503 represents selection.
[0162] For each cluster category, a comprehensive score is calculated for each candidate parameter vector within that category. The comprehensive score is determined based on one or more of the following factors:
[0163] Target matching score: Calculated based on the target component matching loss. The mapping relationship is as follows: when the target component matching loss is zero, the target matching score is full; when the target component matching loss is greater than zero, the score decreases monotonically as the loss value increases, and its value range is limited to between 0 and 1.
[0164] Protection constraint satisfaction: Calculated based on the loss of the protection component, the mapping relationship is as follows: when the loss value of the protection component is zero, the protection constraint satisfaction is full marks; when the loss of the protection component is greater than zero, the score decreases monotonically as the loss value increases, and its value range is limited to between 0 and 1.
[0165] Stability score: Calculated based on robustness loss, the mapping relationship is as follows: when the robustness loss value is zero, the stability score is full; when the robustness loss is greater than zero, the score decreases monotonically as the loss value increases, and its value range is limited to between 0 and 1.
[0166] In one illustrative embodiment, each score is calculated using an exponential decay function: for a given loss value L, the corresponding score is exp(-λ·L), where λ is a preset decay coefficient and L is the corresponding loss value. When the loss value is 0, the score is 1; the larger the loss value, the closer the score is to 0. The target matching score, protection constraint satisfaction score, and stability score are all calculated in this way, each using an independent decay coefficient.
[0167] The comprehensive score for each candidate parameter vector is obtained by multiplying the target matching score, protection constraint satisfaction score, and stability score by their respective weight coefficients and then summing them. If a cluster category contains only target component constraints and no protection component constraints, the weight coefficient for protection constraint satisfaction is set to zero, and the comprehensive score is determined solely by the weighted sum of the target matching score and the stability score.
[0168] Within each cluster category, select the candidate parameter vector with the highest overall score as the representative parameter vector for that category. S504, Output the results.
[0169] Output each representative parameter vector and its corresponding damage prediction result. The output includes the following information:
[0170] Basic information: the candidate category number to which this representative parameter vector belongs, the normalized load parameters, including the specific values of each location class variable and intensity class variable;
[0171] Component damage information: the predicted damage ratio of each target component and its corresponding damage level label, such as mild, moderate, and severe, as well as the maximum damage ratio of each protected component.
[0172] Scoring information: Target matching score, protection constraint satisfaction score, and stability score of this representative parameter vector;
[0173] Damage field information: The voxel damage probability field corresponding to this representative parameter vector.
[0174] This invention can be applied to the following authorized structural safety analysis and protection design scenarios:
[0175] (1) Structural safety assessment
[0176] In safety assessments of existing buildings or critical infrastructure (such as nuclear power plant containment structures, large public buildings, and bridge load-bearing structures), engineers, knowing the desired damage levels of certain critical components under accident conditions, need to deduce the load conditions (such as location of application and load amplitude) that lead to this damage state in order to assess the structure's safety margin under specific threats or to develop protection standards. The representative parameter vectors and corresponding damage prediction results obtained through this method provide quantitative load inputs and damage distribution data for the aforementioned assessment. If the output is empty, it indicates that the target level cannot be met within the current parameter domain, and the target needs to be adjusted or constraints relaxed.
[0177] (2) Impact resistance design and protection optimization
[0178] In the impact resistance design of new structures, designers first determine the allowable damage range of the target component based on the protection level requirements. Then, this method searches for load parameter combinations that satisfy this constraint, providing a quantitative basis for the formulation of protection schemes. Multiple candidate schemes are output, which designers can then screen and compare based on the actual withstand capability of the protected component.
[0179] (3) Accident simulation and source analysis
[0180] After an accident, by assessing the damage level of the damaged components, this method is used to inversely search for possible accident load parameters, providing a reference for accident cause analysis. The output load parameter combinations can be corroborated with on-site traces and physical evidence, narrowing down the scope of accident cause investigation.
[0181] (4) Multi-option comparison and decision support
[0182] When engineers face situations where "the same target damage level may have multiple combinations of load parameters," this method generates several candidate solutions with practical differences. By comparing the comprehensive scores of each solution in terms of impact on protected components, parameter feasibility, and result stability, it assists in engineering decision-making. The representative candidates output by clustering avoid a large accumulation of similar values, ensuring that the comparative decision has clearly distinguishable targets.
[0183] (5) Digital simulation and virtual experiment
[0184] In digital simulation platforms, this method is embedded into the simulation workflow as a supplementary tool for positive prediction, realizing a closed loop of "given target → search parameters → verify results," thereby improving the efficiency and coverage of simulation analysis. The voxel damage probability field output by S500 can be directly imported into 3D visualization software to display the spatial distribution of damage under different candidate load parameters, assisting engineers in making intuitive judgments on structural safety.
[0185] This method can be deployed and implemented in the following ways:
[0186] (1) Software deployment form
[0187] This method can be deployed as a software program. Specifically:
[0188] Standalone software tool: This method is written as a standalone computer program, installed and run on a general-purpose computing device, and realizes all functions such as 3D voxel data processing, forward network calling, multi-starting point iterative search, and cluster output;
[0189] Software module integration: This method is encapsulated as a software module or application programming interface and integrated into an existing structural analysis software platform as an extension function of the platform;
[0190] Cloud deployment: This method is deployed on a cloud server. Users submit building structure data and target damage matrix through the client. The cloud server performs the search calculation and returns the results to the client.
[0191] (2) Hardware operating environment
[0192] This method can be run on the following computing devices:
[0193] General-purpose computing devices include desktop computers, workstations, servers, etc., which can be run with a general-purpose processor. The iterative search process of multiple initial parameter vectors is independent of each other and can achieve parallel computing on multi-core processors.
[0194] Graphics processor acceleration: The inference computation of the positive voxel damage prediction network and the parallel search of multiple initial parameter vectors can realize batch tensor computation on computing devices equipped with graphics processors, thereby improving search efficiency;
[0195] Edge computing devices: For application scenarios that require rapid on-site response, this method can be deployed on edge computing devices to achieve local inference and rapid decision-making.
[0196] (3) Storage media deployment
[0197] This method can be stored in the form of a computer program on a computer-readable storage medium (such as a hard disk, solid-state drive, optical disk, universal serial bus interface storage device, etc.), and the program can be installed on a computing device and run through the storage medium, or the computing device can directly read from the storage medium and execute it.
[0198] (4) System module deployment
[0199] The system implementing this method may include the following functional modules: a structural data construction module for acquiring three-dimensional voxel mesh data of the building structure and the mapping relationship between components and voxels; a target matrix construction module for constructing a target damage matrix; a forward damage prediction module with a built-in trained forward voxel damage prediction network; a multi-starting point search module for generating multiple initial parameter vectors within the allowed parameter domain and performing iterative search; a feasible region projection module for projecting the updated parameter vectors back to the allowed parameter domain; a candidate screening and verification module for verifying and constraining the candidate parameter vectors; and a clustering output module for clustering and deduplicating the screened parameter vectors and outputting representative parameter vectors and corresponding damage prediction results. Each of these modules can be implemented in software, running on a computing device, or stored in a computer-readable storage medium.
[0200] Based on the above technical solution, this application can achieve the following technical effects:
[0201] (i) Reuse existing forward prediction networks to reduce the cost of reverse solving.
[0202] This invention eliminates the need for separately training a single-valued inverse network from the damaged target to the load parameters, and also avoids collecting a large amount of inverse labeled data from the target to the parameters. Instead, it directly utilizes a pre-trained forward voxel damage prediction network as a surrogate model, achieving inverse solution through an iterative search method. Since the forward network has already been trained on relevant datasets, its inference computation cost is far lower than that of high-fidelity physical simulation, thus reducing the computational overhead of inverse solution while ensuring prediction accuracy.
[0203] (ii) Multiple feasible solutions are obtained through multi-starting point search, avoiding the mean problem of single-value regression.
[0204] To address the one-to-many inverse problem where "the same target damage level may correspond to multiple sets of different load parameters," this invention generates multiple initial parameter vectors within an allowed parameter domain. Each initial point independently undergoes iterative search to obtain multiple locally feasible candidates. Because the search paths of each initial point are different, the final candidate parameter vectors are distributed across different regions, effectively covering multiple sets of feasible solutions and avoiding the problem of single-valued regression networks averaging multiple feasible solutions into a single infeasible result.
[0205] (iii) Damage levels are matched using a soft interval distance function, preserving engineering semantics and allowing reasonable differences.
[0206] Discrete damage levels, such as mild, moderate, and severe, are mapped to target damage proportion ranges, and matching loss is calculated based on a soft-interval distance function. The loss is zero when the predicted damage proportion falls within the target range; penalties are only applied to proportions exceeding the range. Compared to matching methods using fixed values or hard labels, this invention preserves reasonable differences between different damage proportions within the same damage level, avoiding a reduction in feasible solutions or excessive sensitivity to model errors due to overly strong search targets.
[0207] (iv) A multi-category component constraint system that takes into account both target components and protective components.
[0208] The target damage matrix distinguishes between three types of constraints: target components, protected components, and components of no concern. Matching losses for target components and losses for protected components are calculated separately. The search results satisfy the damage level requirements of the target components while controlling the damage of protected components to not exceed the allowable upper limit. This avoids the problem of optimizing only a single or local component while ignoring the exceeding limits of other important components, making the search results more consistent with the overall engineering constraints.
[0209] (v) Multiple independent parallel starting points are suitable for batch computing.
[0210] The iterative search processes of multiple initial parameter vectors are independent of each other and have no data dependency. They can be combined into a batch tensor parallel call positive voxel damage prediction network to achieve efficient batch inference on a graphics processing unit. Compared with sequential execution of each initial point, batch parallel processing significantly reduces the total time to obtain multiple candidate solutions, making it suitable for large-scale 3D structural scenes and multiple target query scenarios.
[0211] (vi) Determine the number of candidate categories by joint distance clustering and output a scheme with actual discriminative power.
[0212] For the selected candidate parameter vectors, a joint distance is calculated to perform clustering and deduplication, considering three dimensions: parameter vector distance, component damage ratio vector distance, and voxel damage mask distance. The final number of output solutions is naturally determined by the clustering results, rather than a preset fixed value. Each cluster category outputs a representative candidate, ensuring clear differences in parameters and responses among the multiple output solutions. This avoids outputting a large number of similar candidates with only minor numerical differences, giving a meaningful answer to the question of "how many candidate solution classes exist".
[0213] (vii) Reduce the risk of surrogate model error through robust verification.
[0214] A neighborhood perturbation verification is performed on candidate parameter vectors that initially meet the constraints: slightly perturbed samples are generated in the neighborhood of the candidate parameter vectors, and it is checked whether each perturbed sample still meets the constraints of the target damage matrix. If a candidate can maintain the constraint-satisfied state under slight perturbations, its stability is high; conversely, if the result is very sensitive to small perturbations, its ranking is reduced or it is deleted. In addition, cross-validation can be performed using multiple independently trained forward models, and only candidates that meet the constraints on most models are included in the final output. The above verification mechanism reduces the risk of false feasible solutions caused by the prediction error of the forward surrogate model and improves the reliability of the search results.
[0215] (viii) Ensure that parameters are always valid by projecting through the feasible region.
[0216] After each iteration, the updated parameter vector is projected back into the permissible load parameter domain. This operation acts as a hard constraint, ensuring that the parameter vector always falls within the engineering authorization boundary and the network's effective range. This avoids the problem of the forward network entering the extrapolation region and the prediction results becoming unreliable due to parameters exceeding the boundary, and also avoids the problem of parameters remaining outside the legal region for extended periods, which may occur with soft constraints using penalty functions. This projection operation also covers the rounding of discrete parameters and load case mapping, making it suitable for mixed parameter scenarios containing discrete variables, further enhancing the method's engineering practicality.
[0217] (ix) Support for multi-source events and multi-constraint extensions.
[0218] This invention can be extended to scenarios with multiple local point source events. The parameter vector simultaneously includes the number of events, the normalized position and intensity of each event, and supports event spacing constraints, upper limit constraints on the number of events, and order constraints. Furthermore, overall structural performance indicators, key node constraints, local connectivity constraints, or voxel damage constraints for specified regions can be added to form a multi-objective inverse search framework. These extensions enable this invention to cover a wider range of practical engineering needs and exhibit good scalability.
[0219] (x) Support adaptive adjustment and dynamic supplementation to improve effective candidate coverage.
[0220] During the iterative search, initial parameter vectors can be regenerated and added to the search set in regions with low candidate density, based on the current distribution of candidate parameter vectors, to cover previously underexplored areas of the parameter space. Simultaneously, constraint weights can be adaptively adjusted during the search: auxiliary constraint weights are reduced in the early stages to fully explore the parameter space, and increased in the later stages to ensure parameter validity and result stability. This mechanism improves the coverage and diversity of effective candidates within the parameter domain.
[0221] This invention also provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being configured to perform the method described in this invention.
[0222] This invention also provides a computer-readable storage medium storing computer-executable instructions for performing the methods described in this invention.
[0223] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this invention can be achieved, and this is not limited herein.
[0224] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A three-dimensional voxel load parameter multi-start reverse search method, characterized in that, The method includes the following steps: S100, acquire basic data, which includes: three-dimensional voxel mesh data of the building structure and the mapping relationship between components and voxels, target damage matrix, trained positive voxel damage prediction network and allowed load parameter domain; the target damage matrix records the lower limit and upper limit of the target damage ratio for each target component. S200, generate multiple initial parameter vectors within the allowed load parameter domain, wherein the initial parameter vectors are composed of normalized load parameters; S300, for each initial parameter vector, perform an iterative search step to obtain candidate parameter vectors from multiple initial parameter vectors; the iterative search step includes: S301, Input the current parameter vector and the three-dimensional voxel mesh data into the positive voxel damage prediction network to obtain the voxel-level damage probability; S302, Based on the mapping relationship between the component and the voxel, the voxel-level damage probability is aggregated into a component-level damage ratio; S303, calculate the overall loss based on the target damage matrix. The overall loss includes at least the target component matching loss. The target component matching loss is calculated based on the soft interval distance function. The soft interval distance function is configured such that when the predicted damage ratio of the target component falls within the interval between the lower limit of the target damage ratio and the upper limit of the target damage ratio, the penalty is zero; otherwise, the part exceeding the interval is penalized. S304, Update the current parameter vector according to the total loss, and project the updated parameter vector back to the allowed load parameter domain to obtain the projected parameter vector; S305, determine whether the preset stopping condition is met; if it is met, use the projected parameter vector as the candidate parameter vector; if it is not met, return to S301 to continue the iteration. S400, the obtained candidate parameter vectors are filtered, and candidate parameter vectors that do not meet the constraints corresponding to the target damage matrix are deleted, and the filtered parameter vectors are obtained. S500 performs clustering and deduplication on the filtered parameter vectors, outputting several classes of parameter vectors and their corresponding damage prediction results, with one parameter vector output for each class.
2. The method of claim 1, wherein, The soft interval distance function is: φ(R j ;L j ,U j )=ReLU(L j -R j ) 2 +ReLU(R j -U j ) 2 ; where φ(·) is a soft interval distance function, R j is the predicted damage ratio of the target component j, L j and U j are the lower and upper limits of the target damage ratio of the target component j, respectively, j takes values from 1 to n, and n is the total number of target components; ReLU() is a rectified linear unit activation function.
3. The method of claim 2, wherein, The target damage matrix also records the upper limit of the allowable damage ratio of the protective component; the total loss also includes the loss of the protective component, which is calculated based on the portion of the predicted damage ratio of the protective component that exceeds the upper limit of the allowable damage ratio of the protective component.
4. The method of claim 3, wherein, The target component matching loss is: L target =Σ j [w j ·φ(R j ;L j ,U j )]; where L target is the target component matching loss, w j is the weight of target component j; The loss of the protective component is: L protect =Σ i [w p i ·ReLU(R i -U safe i ) 2 ]; where L protect is the loss of the protection member, w p i is the weight of the protection member i, i taking values from 1 to m, m being the total number of protection members, R p i is the predicted damage ratio of the protection member i, U safe i is the upper limit of the allowed damage ratio of the protection member i.
5. The method of claim 1, wherein, The overall loss also includes a feasible region loss, which is used to penalize the portion of the parameter vector that exceeds the allowed load parameter domain; and / or, the overall loss also includes a robustness loss, which is determined based on the loss value of a disturbed sample generated in the neighborhood of the current parameter vector, the loss value being calculated based on the component-level damage ratio corresponding to each disturbed sample and the target damage matrix.
6. The method of claim 1, wherein, In S500, the clustering deduplication is based on the joint distance, which simultaneously considers at least two of the following: the distance between parameter vectors, the distance between component damage ratio vectors, and the cross-union ratio distance between voxel damage masks.
7. The method of claim 1, wherein, In S304, the update is performed using gradient descent, coordinate search, evolutionary search, or Bayesian optimization.
8. The method of claim 1, wherein, The load parameters include parameters of multiple local point source events, and the parameter vector includes the number of events, the normalized position of each event, and the intensity. The load parameters also satisfy the following constraints: spacing constraints between events, upper limit constraints on the number of events, and order constraints between multiple events.
9. The method of claim 1, wherein, Also includes: During the iterative search process in S300, the constraint weights are adaptively adjusted, and / or the initial parameter vector is regenerated based on the distribution of the current candidate parameter vector and added to the initial parameter vector in S200.
10. The method of claim 1, wherein, In S400, prior to the filtering process, the following is also included: The candidate parameter vectors are subjected to neighborhood perturbation verification and / or multi-model verification, and the candidate parameter vectors that pass the verification enter the screening step; The neighborhood perturbation verification involves generating perturbed samples in the neighborhood of the candidate parameter vector and checking whether each perturbed sample still satisfies the constraints corresponding to the target damage matrix; the multi-model verification involves cross-validating multiple independently trained positive voxel damage prediction models.
Citation Information
Patent Citations
Three-dimensional voxel damage prediction method and device based on component consistency constraint
CN121659396A
