A physical guidance-based ground penetrating radar forward waveform prediction method and system
By employing a physics-guided forward waveform prediction method for ground-penetrating radar (GPR), and utilizing a substrate-by-base time-shifting waveform synthesizer and a multi-reinforcement coupled correction network, the problems of long computation time and lack of physical structural constraints in existing technologies are solved, thus achieving efficient and accurate GPR waveform prediction.
Patent Information
- Application Number
- CN202611332223.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-12-04
- Estimated Expiration
- 2046-08-31
AI Technical Summary
Existing methods for predicting forward waveforms of ground-penetrating radar (GPR) suffer from problems such as long computation time, inapplicability to large-scale data generation and parameter inversion, lack of physical structure constraints, weak extrapolation ability, high risk of overfitting, and physically unreasonable prediction results.
A physics-guided ground-penetrating radar forward waveform prediction method is adopted. By training a base-by-base time-shift waveform synthesizer and a multi-reinforcement coupled correction network, physical prior constraints are introduced to separate the zero-order single-reinforcement response from the higher-order coupled correction term. The prediction accuracy and training efficiency are improved by utilizing the structural assumption of physical Born approximation and data-driven correction.
It improves the accuracy and extrapolation capability of ground-penetrating radar forward waveform prediction, reduces the risk of overfitting, avoids physically unreasonable high-frequency spikes and late oscillations, and enhances the physical rationality of the prediction results and the fitting accuracy of the low-amplitude late region.
Smart Images

Figure CN122815552B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of ground-penetrating radar signal processing technology, specifically relating to a physical-guided method and system for predicting the forward waveform of ground-penetrating radar. Background Technology
[0002] For ground-penetrating radar (GPR) positive waveform prediction of reinforced concrete structures, there are currently three main technical approaches:
[0003] The first category is full-wave numerical simulation methods based on Maxwell's equations. These are represented by the Finite-Difference Time-Domain (FDTD) method and its implementation in the open-source software gprMax. This type of method can reproduce physical effects such as rebar reflection, multiple scattering, diffraction, and phase interference with high precision by solving Maxwell's equations in a time-step manner on a discrete grid.
[0004] The second category: scattering superposition methods based on analytical or semi-analytical Green's functions. Each rebar is treated as a known scatterer, and the incident and scattered fields are expanded into series using a pre-calculated Green's function. A commonly used approximation is the zeroth-order Born approximation, which assumes that the scattering of each rebar is independent and directly superimposes the responses of individual rebars to obtain the total response of all rebars.
[0005]
[0006] The higher-order Born series expansion can be formalized as:
[0007]
[0008] in This represents the nth-order mutual scattering term. The single-reinforcement response in this type of method... It is usually given by analytical spectral methods, mode expansion, or semi-empirical formulas.
[0009] The third category: end-to-end waveform prediction methods based on deep learning. Represented by multi-layer perceptron (MLP), convolutional neural network (CNN), and graph neural network (GNN), these methods directly map rebar parameters (radius, depth, lateral position) and medium parameters (water content, etc.) into A-scan time-series waveforms, and output all T sampled values by a set of time-point regression heads.
[0010] The disadvantages of the current full-wave numerical simulation method (FDTD) are: 1. Single-scene simulation takes a long time, usually from seconds to minutes, which is difficult to meet the needs of scenarios that require rapid and large-scale forward calls, such as large-scale data generation, parameter inversion, and engineering optimization; 2. Mesh generation and boundary condition settings have a significant impact on the results, and considerable expert experience is required in engineering.
[0011] The drawbacks of the pure zero-order Born stacking method are: 1. It completely ignores the mutual scattering, shadowing, and phase interference between multiple reinforcing bars, systematically underestimating or distorting the coupling correction term in scenarios with significant coupling, such as shallow burial depth, dense reinforcing bars, and low water content; 2. This error increases nonlinearly with the increase of the number of reinforcing bars N; 3. When using the single reinforcing bar response... When the data comes from a pure neural network black box, the lack of waveform subspace constraints means that the zeroth-order terms themselves may be physically unreasonable.
[0012] Disadvantages of pure deep learning black-box methods: 1. Lack of physical structural constraints, resulting in weak extrapolation ability for sparse regions of samples (such as shallow reinforcement, dry soil, large-radius reinforcement, etc.); 2. Directly using the original reinforcement parameters as input, requiring the network to autonomously learn geometric priors such as distance, angle, and decay law from the original coordinates, leading to low training efficiency and a high risk of overfitting; 3. When the output layer lacks waveform subspace constraints, predictions are prone to physically unreasonable high-frequency spikes or late-cycle drift; 4. When the temporal resolution is insufficient, it fits poorly to small-amplitude oscillations in the late ringing of A-scan; 5. The standard mean square error loss has too low a weight for late-cycle regions with small amplitudes, causing these regions to be ignored; 6. The "main peak group delay" behavior of single reinforcement response (the difference in group delay between different modes at different depths / phase velocities) is usually implicitly encoded by the network in the dense layer weights, which is neither interpretable nor reusable. Summary of the Invention
[0013] The purpose of this invention is to provide a physical-guided method and system for predicting the forward waveform of ground-penetrating radar, which can solve the above-mentioned defects of existing pure deep learning black-box methods. By introducing physical prior constraints, the accuracy, extrapolation and training efficiency of the prediction of the forward waveform of ground-penetrating radar are improved.
[0014] The specific technical solution adopted by this invention is as follows:
[0015] A physical-guided ground-penetrating radar forward waveform prediction method includes:
[0016] Using the rebar parameters and corresponding single-channel reflection signals of a single rebar sample as training data, a base-by-base time-shift waveform synthesizer is trained as a zero-order single rebar model.
[0017] Freeze the parameters of the trained zero-order single-reinforcement model and persistently save the zero-order single-reinforcement model weights and the zero-order single-reinforcement model structural hyperparticipation normalized statistics.
[0018] Using the list of rebar parameters and the corresponding single-channel reflection signal of the multi-rebar scenario as training data, a multi-rebar coupling correction network is trained to load and freeze the zero-order single-rebar model at startup;
[0019] The trained multi-reinforcement coupling correction network is used to perform forward inference on the multi-reinforcement scene to be predicted, and outputs the predicted A-type scan waveform, zero-order component and coupling correction component.
[0020] In a preferred embodiment, the substrate-by-substrate time-shift waveform synthesizer includes:
[0021] A multilayer perceptron that maps reinforcement parameters to amplitude and time shift vectors, and a learnable basis matrix;
[0022] The single-channel reflected signal output by the multilayer perceptron is the amplitude-weighted sum of each substrate after independent time shift;
[0023] The training data for a single rebar is constructed as follows:
[0024] Each simulation scenario containing two steel bars is split into two single steel bar samples. The input of each single steel bar sample is the parameters of one steel bar. The objective is to subtract the waveform without steel bar background from the waveform of the simulation scenario containing only a single steel bar. The training set and validation set are divided by scenario index.
[0025] In a preferred embodiment, the initial value of the learnable basis matrix is obtained by performing truncated singular value decomposition on the single-channel reflection signal of the training set, using the first K right singular vectors.
[0026] During each forward computation, the learnable basis matrix is orthogonalized through orthogonal triangular decomposition;
[0027] The training loss during training is the sample-by-sample normalized relative mean square error, and the basis subspace reconstruction loss, which does not participate in backpropagation, is maintained as a diagnostic metric to monitor the basis capacity.
[0028] In a preferred embodiment, the persistent storage includes a scale vector for normalizing the reinforcement parameters and a scale scalar for normalizing the single-channel reflection signal.
[0029] The multi-reinforcement coupled correction network loads and uses a scale vector to normalize the input reinforcement parameters in the forward computation, and uses a scale scalar to inversely normalize the output of the zero-order single-reinforcement model to restore the physical units.
[0030] In a preferred embodiment, the forward process of the multi-reinforcement coupled correction network includes:
[0031] For each rebar, call the frozen zero-order single rebar model to obtain the zero-order components and sum them;
[0032] Map the parameters of each rebar to an initial potential state;
[0033] Multiple Born iterations are performed. In each step, the scattering messages between the steel bars are calculated, aggregated through an attention mechanism, the latent state is updated, and the single-channel reflection signal correction term for that step is generated through the decoding head and the learnable decoding basis.
[0034] The initial value of the learnable decoding basis is taken from the basis matrix of the zero-order single-reinforcement model;
[0035] The coupling correction term is obtained by summing all the correction terms, and the total single-channel reflection signal is output as the sum of the zero-order component and the coupling correction term.
[0036] In a preferred embodiment, the calculation process for the scattering message is as follows:
[0037] Calculate the multidimensional geometric feature vector for each pair of effective reinforcing bars. The multidimensional geometric feature vector includes the distance between the reinforcing bar pairs, the logarithm of the distance, the reciprocal of the square root of the distance, the difference in lateral position, the difference in depth, and the cosine and sine values of the direction angle.
[0038] The parameters of the current rebar, the parameters of the adjacent rebar, the multidimensional geometric feature vector, and the current potential state of the adjacent rebar are concatenated and then input into a weight-shared fully connected network to obtain the scattering message.
[0039] In a preferred embodiment, the updated potential state adopts a re-anchor update method to update the potential state of the current step to the sum of the initial potential state and the scattering messages aggregated in the current step;
[0040] The loss function used to train the multi-reinforcement coupled correction network is the time-weighted relative mean square error.
[0041] During the weighting process, different weights are assigned to the error at each time point in the single-channel reflected signal, and the weights decrease monotonically as the magnitude of the true value at the corresponding time point increases.
[0042] In a preferred embodiment, prior to the calculation of the scattering message in the Born iteration step, the following steps are further included:
[0043] Obtain the distance between each pair of reinforcing bars in the transverse and depth planes, as well as the direction angle of the line connecting each pair of reinforcing bars. The direction angle is obtained by arctangent calculation of the depth difference and transverse position difference between the two reinforcing bars.
[0044] The distance attenuation factor is calculated based on the distance and the maximum effective coupling distance, and the angle attenuation factor is determined based on the absolute value of the direction angle.
[0045] The coupling strength of each pair of reinforcing bars is determined based on the distance attenuation factor and the angle attenuation factor.
[0046] Compare the coupling strength with the upper limit threshold of the strength;
[0047] If the coupling strength is lower than the upper limit threshold, the corresponding steel bar is marked as an invalid coupling pair, its scattering message calculation is skipped, and the attention weight is reset to zero in the attention aggregation.
[0048] If the coupling strength is not lower than the upper limit threshold, the corresponding steel bar will be marked as a valid coupling pair, and the scattering message calculation and attention aggregation will be performed normally.
[0049] In a preferred embodiment, each Born iteration step uses an independent learnable decoded basis matrix, and each independent learnable decoded basis matrix is initialized with the first few rows of the basis matrix trained by the zero-order single-reinforcement model.
[0050] The present invention also provides a physical-guided ground-penetrating radar forward waveform prediction system, which uses the above-mentioned physical-guided ground-penetrating radar forward waveform prediction method, including:
[0051] The zero-order model training module is used to train a base-by-base time-shift waveform synthesizer as a zero-order single-reinforcement model using the rebar parameters of a single rebar sample and the corresponding single-channel reflection signal as training data.
[0052] The Freeze and Persist module is used to freeze the parameters of the trained zero-order single-reinforcement model and persistently save the zero-order single-reinforcement model weights and the zero-order single-reinforcement model structural hyperparticipant normalized statistics.
[0053] The coupling correction network training module is used to train a multi-reinforcement coupling correction network for loading and freezing a zero-order single-reinforcement model at startup, using a list of rebar parameters and corresponding single-channel reflection signals of multi-reinforcement scenarios as training data.
[0054] The inference module is used to perform forward inference on the multi-reinforcement scene to be predicted using the trained multi-reinforcement coupling correction network, and output the predicted A-type scan waveform, zero-order component, and coupling correction component.
[0055] The technical effects achieved by this invention are as follows:
[0056] This invention introduces a physically-guided hierarchical modeling structure to separate the zero-order single-reinforcement response from the higher-order coupling correction term. The zero-order single-reinforcement model reuses the structural assumptions of the physical Born approximation, can be trained independently, and the learned single-reinforcement response has clear physical meaning and can be reused across scenarios. At the same time, the coupling correction term is supplemented based on the zero-order response, which satisfies physical constraints and can correct the error of the Born approximation through data-driven correction, avoiding the defect of pure zero-order methods ignoring coupling effects. Compared with pure deep learning black-box methods, this invention encodes existing physical priors into the network structure, reduces the rules that the network needs to learn autonomously, reduces the requirement for training sample size, improves the extrapolation ability of sparse sample regions, and reduces the risk of overfitting. The waveform is obtained by weighted synthesis through subspace basis, which imposes natural subspace constraints on the output waveform, avoiding physically unreasonable high-frequency spikes or late oscillations in the prediction results, and improving the physical rationality of the prediction results. At the same time, in view of the large amplitude difference in different regions of the A-scan waveform, time-weighted loss is used to improve the fitting accuracy of the low-amplitude late region, further improving the prediction accuracy. Attached Figure Description
[0057] Figure 1 This is a pipeline flow diagram of Phase 1 and Phase 2 in this invention;
[0058] Figure 2 This is a schematic diagram of the Phase 1 PBS model structure in this invention;
[0059] Figure 3 This is a schematic diagram of the construction of training data in Phase 1 of this invention;
[0060] Figure 4 This is a schematic diagram of the initial value of the stage-one basis matrix SVD in this invention;
[0061] Figure 5 This is the overall data flow diagram of RebarBornNet in Phase Two of this invention;
[0062] Figure 6 This is a schematic diagram showing the internal details of a single step in the Born iteration in this invention;
[0063] Figure 7 This is a schematic diagram of the weight curve of the time-weighted loss function in this invention;
[0064] Figure 8 This is a schematic diagram of bilinear interpolation sampling of the differentiable time displacement operator in this invention;
[0065] Figure 9 This is a schematic diagram of zero-fill and validity masking for multiple steel bars in this invention;
[0066] Figure 10 This is a schematic diagram illustrating the physical meaning of distance and angle in the geometric features of the reinforcing bars in this invention;
[0067] Figure 11 This is a schematic diagram comparing the predicted waveform and the true value of the Stage 1 PBS model in this invention;
[0068] Figure 12 This is a schematic diagram of the stage two prediction waveform decomposition and residual in this invention;
[0069] Figure 13 This is a schematic diagram of the system modules in this invention. Detailed Implementation
[0070] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0071] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.
[0072] Secondly, the term "an embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in a preferred embodiment" appearing in different places throughout this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that mutually excludes other embodiments.
[0073] Please see Figure 1-12 As shown, the present invention provides a physical-guided method for predicting the forward waveform of ground-penetrating radar, including a two-stage physical-guided deep neural network.
[0074] Phase 1: Train a base-wise time-shifted waveform synthesizer on a single-reinforcement dataset as a frozen zero-order scattering model. Phase 1 simultaneously produces three types of persistent artifacts: model weight checkpoints, configuration files for model structure and hyperparameters, and normalized statistics files.
[0075] Phase Two: Train a multi-reinforcement coupled correction network on the multi-reinforcement dataset, driven by an attention mechanism and consisting of multi-step Born iterative correction and a learnable time-shifted basis decoder. Upon startup of Phase Two, load all three types of persistent products from Phase One according to the predetermined interface.
[0076] The PBS model was constructed with the same structure and loaded with weights, and then all parameters were frozen.
[0077] Normalized statistics Registered as a non-trainable buffer, the learnable basis matrix of the PBS model is... The first few rows are directly used as the basis for stage two decoding. The initial value is obtained, thus directly inheriting the waveform prior of the single rebar reflection to the decoder of the multi-rebar coupling correction term.
[0078] Single reinforcement input vector Where R is the radius of the reinforcing bar (unit: meter), D is the depth of the reinforcing bar (unit: meter), X is the lateral position of the reinforcing bar (unit: meter), and MC is the soil moisture content;
[0079] Input tensor for multi-reinforcement scene and validity mask B represents the batch size. For scenarios where the maximum number of rebars in a batch is represented, zero-filling and Boolean masks are used to unify different numbers of rebars.
[0080] Model outputs A-scan waveform (T is the number of sampling points), and its physical meaning is the multi-reinforcement reflection signal after subtracting the direct wave background.
[0081] Specifically, the following steps are included:
[0082] S1. Using the rebar parameters of a single rebar sample and the corresponding single-channel reflection signal as training data, train a base-by-base time-shift waveform synthesizer as a zero-order single rebar model.
[0083] In step S1, the electromagnetic response of ground-penetrating radar in multi-reinforcement scenarios is not a simple linear superposition of the responses of a single reinforcement bar, but is subject to complex modulation due to multiple scattering between reinforcement bars, coupling effects, and path attenuation. In this embodiment, the reinforcement parameters of a single reinforcement bar sample and the corresponding single-channel reflection signal are first used as training data. The single reinforcement bar training data is constructed as follows:
[0084] Each simulation scene containing two reinforcing bars is split into two single-reinforcing-bar samples. Each original scene contains the geometric parameters of two reinforcing bars. With shared soil moisture content This is denoted as a 7-dimensional scene parameter. This scene simultaneously provides three A-scan waveforms: one containing only A-reinforcement. Waveform, containing only B-type reinforcement Waveform and background waveform without reinforcement (i.e., direct wave and bottom reflected wave), each scene is split into two single rebar samples: the input of single rebar sample A is... The goal is The input for sample B of single rebar is The goal is ;
[0085] Each single rebar sample takes the parameters of a single rebar as input. The target is the waveform of the simulation scene containing only a single rebar minus the waveform without a rebar background. The training and validation sets are partitioned by scene index, with the partitioning at the scene level. Two single rebar samples, A and B, from the same scene will not be assigned to different sets, thus avoiding label leakage caused by sharing MCs within the same scene. The target uses... Instead The purpose is to remove stable components unrelated to the reinforcing steel, such as direct waves or system responses, in stage one, so that the PBS model can focus on the scattering waveform of the reinforcing steel itself.
[0086] The basis-wise time-shift waveform synthesizer includes:
[0087] Multilayer perceptron that maps reinforcement parameters to amplitude and time shift vectors The structure is The fully connected network (the embodiment uses five hidden layers, each with 300 dimensions and ReLU activation) outputs... 1D vector and split into amplitude vectors With the time-shifted original vector ;
[0088] and learnable basis matrix During each forward computation, the basis is decomposed by QR decomposition and its transpose, and the basis orientation is unified by the diagonal element symbols of the R matrix to obtain the row orthogonalized basis. K is the number of basis vectors. In this example, K=20. The QR row orthogonalization is a soft constraint—the basis matrix itself can be updated arbitrarily under the gradient. The row orthogonality is reapplied each time by the QR operation in the forward direction. Compared with hard constraints (such as Cayley transformation), it is more conducive to gradient flow.
[0089] Time Shift From the original output The activation function is compressed and amplified to the maximum allowed time shift:
[0090] ;
[0091] In the formula, This represents the final actual time shift of the k-th basis. This represents the hyperbolic tangent activation function, used to constrain the time shift within a physically reasonable range. Inside, This represents the original time-shifted output of the k-th basis. Indicates the maximum permissible time shift. This represents a hyperparameter used to indicate the proportion of the maximum time shift to the total number of sampling points. This represents the total number of time sampling points for a single-channel reflected signal (A-scan), in this example T=512;
[0092] Finally, the single-channel reflected signal output by the multilayer perceptron is the amplitude-weighted sum of the independent time-shifted signals from each substrate:
[0093] ;
[0094] In the formula, This represents the A-scan waveform of a single rebar corresponding to the input parameter x, where k represents the summation index. This represents the amplitude weighting coefficient of the k-th basis. This can be represented as a time-shifting operator, which translates the input signal along the time axis. One sampling point, This represents the k-th row of the learnable basis matrix after orthogonalization by QR decomposition.
[0095] Secondly, the initial value of the learnable basis matrix is obtained by performing truncated singular value decomposition on the single-channel reflection signal of the training set. During each forward calculation, the learnable basis matrix is orthogonalized by orthogonal triangular decomposition.
[0096] Specifically, the basis matrix The initial values are obtained by using the A-scan matrix of the training set. The first K right singular vectors obtained by truncating singular value decomposition are:
[0097]
[0098] Output energy explanation rate during the initialization phase. As a diagnostic indicator of basis capacity, the physical meaning of this initial value of SVD is to approximate the K-dimensional linear subspace of the training set A-scan under the mean square error. However, unlike pure SVD decomposition, in Stage 1, based on this initial value, (a) the entire basis matrix is updated by gradient, and (b) each basis is independently translated along the time dimension. Therefore, the final basis is a translational version of the SVD principal component, which is more expressive than the static principal component.
[0099] The training loss during the training process is the sample-by-sample normalized relative mean square error, and the basis subspace reconstruction loss, which does not participate in backpropagation, is maintained as a diagnostic metric during the training process to monitor the basis capacity.
[0100] The training loss for stage one is the sample-by-sample normalized relative mean square error:
[0101] ;
[0102] In the formula, Represents the end-to-end training loss value , representing the average value of all training samples. This represents the A-scan waveform vector predicted by the model. Represents the actual A-scan waveform vector;
[0103] This normalization method ensures that the contribution scale of weak signal samples and strong signal samples to the gradient is consistent, avoiding a few large-amplitude samples dominating the overall gradient direction.
[0104] Phase 1 additionally maintains a diagnostic variable that does not participate in backpropagation:
[0105] Basis subspace reconstruction loss:
[0106] ;
[0107] In the formula, This represents the loss for reconstructing the basis subspace. This represents a matrix composed of all real A-scan waveforms in the training set. This represents the waveform matrix reconstructed after projecting A onto the current orthogonal basis subspace. This represents the learnable basis matrix after row orthogonalization via QR decomposition. express The transpose of the matrix;
[0108] The training set ground value A-scan is projected onto the current basis subspace and then projected back to the time domain. It is compared with the ground value. This diagnostic measure monitors whether the basis capacity is sufficient. If the reconstruction loss is still large, no amplitude or time shift coefficient can achieve a smaller end-to-end loss. It is necessary to increase K or introduce a more expressive basis family.
[0109] S2. Freeze the parameters of the trained zero-order single-reinforcement model and persistently save the zero-order single-reinforcement model weights and the zero-order single-reinforcement model structural hyperparticipation normalized statistics.
[0110] In step S2, before the start of training in phase one, two sets of normalized statistics are calculated on the training data at once and are persistently saved as a data contract between phase one and phase two. The scale vector used to normalize the rebar parameters and the scale scalar used to normalize the single-channel reflection signal are persistently saved.
[0111] Specifically, the input feature normalization vector : For the training set Taking the maximum absolute value of each of the four columns, the normalized scale for each column (for columns smaller than 1) is obtained. The column falls back to 1.0 to prevent division by zero).
[0112] scan amplitude normalized scalar The root mean square (RMS) of the A-scan target values in the training set is used to map the A-scan from physical units to dimensionless units.
[0113] Phase One: Before training, first... Divide by Divide the A-scan target by In Phase 1, the checkpoint weights are saved, corresponding to the normalized input and target. In Phase 2, during loading... Afterwards, and Registered as a non-trainable buffer, the original multi-reinforcement parameters are first processed in the forward pass. Divide by Feed again The resulting dimensionless A-scan multiplied by By reverting to physical units, the contract guarantees that Phase 1 and Phase 2 are completely self-consistent on a numerical scale, and that normalized statistics do not need to be recalculated.
[0114] The Phase One training process includes the following steps:
[0115] Load the scene-level parameter file for the double-reinforcement structure and the corresponding solo_a, solo_b, and bg waveforms, and perform the single-reinforcement sample splitting in S1 above;
[0116] Compute on the training set And persist it to norm_stats.npz;
[0117] Perform SVD on the training set A-scan, and take the first K right singular vectors as the basis initial values. ;
[0118] Instantiate the PBS model The AdamW optimizer and cosine annealing learning rate strategy were used to train for several rounds, and weight decay and gradient clipping were used to stabilize the training.
[0119] In each round, the end-to-end loss, reconstruction loss, and average time shift absolute value are recorded. The round with the minimum end-to-end loss on the validation set is saved as the checkpoint in best.pt, and the model structure and hyperparameters are written to config.json.
[0120] After completing Phase 1 training, perform the following operations:
[0121] Invoke the fast inference switch to orthogonalize the QR results. The cache is a fixed tensor, and... Setting all parameters' `requires_grad` to `False` enables the forward call in phase two to directly reuse the cached basis with O(K·T) overhead, and prevents gradients from being backpropagated to the phase one parameters.
[0122] S3. Using the list of steel parameters and the corresponding single-channel reflection signal of the multi-steel scenario as training data, train a multi-steel coupling correction network for loading and freezing the zero-order single-steel model at startup.
[0123] In step S3, the following three types of persistent artifacts are loaded from the phase one output directory according to the predetermined interface:
[0124] Read the number of basis points K, the number of sampling points T, the input dimension input_dim, the hidden layer dimension hidden_dims, and the maximum time shift ratio from config.json. Isostructural hyperparameters;
[0125] Load the zero-order single-reinforcement model from best.pt The weights;
[0126] Load the input feature normalization vector from norm_stats.npz. and A-scan amplitude normalized scalar .
[0127] Then, the PBS model is re-instantiated according to the structural hyperparameters, the weights are loaded, the fast inference switch is called to cache the row orthogonalized basis matrix Bortho, and all parameters are set to non-trainable. and Registered as a non-trainable buffer, and then registered in the multi-reinforcement coupled correction network.
[0128] S4. The trained multi-reinforcement coupling correction network is used for forward inference of the multi-reinforcement scene to be predicted. In the forward calculation, the multi-reinforcement coupling correction network loads and uses the scale vector to normalize the input reinforcement parameters, and uses the scale scalar to inverse normalize the output of the zero-order single reinforcement model to restore the physical unit. The output is the predicted A-type scan waveform, the zero-order component and the coupling correction component.
[0129] The forward process of the multi-reinforcement coupled correction network includes:
[0130] For each rebar, call the frozen zero-order single rebar model to obtain the zero-order components and sum them;
[0131] Map the parameters of each rebar to an initial potential state;
[0132] Multiple Born iterations are performed. In each step, the scattering messages between the steel bars are calculated, aggregated through an attention mechanism, the latent state is updated, and the single-channel reflection signal correction term for that step is generated through the decoding head and the learnable decoding basis.
[0133] The initial value of the learnable decoding basis is taken from the basis matrix of the zero-order single-reinforcement model;
[0134] The coupling correction term is obtained by summing all the correction terms, and the total single-channel reflected signal is the sum of the zero-order component and the coupling correction term.
[0135] Specifically:
[0136] First, zero-order Born prediction:
[0137] For each effective reinforcing bar Call the frozen The independent response of a single steel bar is obtained:
[0138] ;
[0139] The zero-order term is the sum of the responses of each steel bar. The zero vector is used to participate in the summation at the filling positions to ensure that no spurious contributions are introduced.
[0140] Then, the latent state is initialized: the normalized parameters of each rebar are mapped to a latent state with a hidden dimension of H (in this example, H=128) using the incident encoder.
[0141] ;
[0142] The incident field encoder is a two-layer fully connected structure. The intermediate layer has a linear rectified activation function.
[0143] Secondly, K-step Born iterative correction (example K=5), for each iteration step Perform the following sub-steps in sequence:
[0144] Geometric characteristic calculation: for any effective reinforcement pair Calculate the 7-dimensional geometric eigenvectors :
[0145] ;
[0146] In the formula, This represents the Euclidean distance between rebar i and rebar j in the transverse-depth plane. The natural logarithm of the Euclidean distance. It represents the reciprocal of the distance from the square root. Indicates the difference in lateral position. Indicates depth difference, Indicates the direction angle;
[0147] in,
[0148] ;
[0149] All operations are performed in physical units (meters), and positive small constants (e.g., ...) are added to the sqrt / log / inv_sqrt terms. To prevent numerical oddities, use Using dual components to replace the original angle avoids The geometric features of the jump position and the diagonal position are directly cleared to zero, and each Born iteration step uses an independent learnable decoded basis matrix. Each independent learnable decoded basis matrix is initialized with the first few rows of the basis matrix trained by the zero-order single-reinforcement model.
[0150] Secondly, the calculation process for the scattering message is as follows:
[0151] Calculate the multidimensional geometric feature vector for each pair of effective reinforcing bars. The multidimensional geometric feature vector includes the distance between the reinforcing bar pairs, the logarithm of the distance, the reciprocal of the square root of the distance, the difference in lateral position, the difference in depth, and the cosine and sine values of the direction angle.
[0152] The parameters of the current rebar, the parameters of the adjacent rebar, the multidimensional geometric feature vector, and the current potential state of the adjacent rebar are concatenated and then input into a weight-shared fully connected network to obtain the scattering message.
[0153] Specifically, for all valid reinforcing bar pairs Calculate the scattering message vector:
[0154] ;
[0155] ScatterOp has an input dimension of 8+7+H and a hidden layer. And a fully connected network with output dimension H, using ReLU activation function, and applying random deactivation (Dropout, deactivation rate is an implementation detail) after each hidden layer. The weights of ScatterOp are applied to all rebar pairs. Shared across all K iterations;
[0156] Attention Aggregation: Aggregate neighbor scattering messages using scaled dot product attention.
[0157] ;
[0158] In the formula, This represents the attention score of rebar j to rebar i at step k. For a learnable query / key projection matrix, add points to the score for filling neighbors. This sets the weights to 0 after softmax, and replaces the values of all invalid neighbors that would result in NaN in the softmax result with 0. This represents the potential state of reinforcement i at step k. The dimension representing the hidden state;
[0159] ;
[0160] in, This represents the sum of weighted scattered messages obtained by aggregating reinforcement i from all its valid neighbors at step k. Indicates attention weight;
[0161] Furthermore, the potential state is updated using the re-anchor update method, which updates the potential state of the current step to the sum of the initial potential state and the scattering messages aggregated in the current step;
[0162] The loss function used to train the multi-reinforcement coupled correction network is the time-weighted relative mean square error.
[0163] During the weighting process, different weights are assigned to the error at each time point in the single-channel reflection signal. The weights decrease monotonically as the true value amplitude at the corresponding time point increases, and there is an upper limit. This is to suppress the dominance of large-amplitude direct wave errors on small-amplitude reflection signals and to fit echo components of different amplitudes more evenly.
[0164] In the above, the re-anchor update updates the potential state to the initial incident field plus the current scattering information, rather than accumulating and superimposing them:
[0165] ;
[0166] In the formula, This represents the updated potential state of rebar i at the start of the (k+1)th Born iteration step. This represents the initial potential state of reinforcement i;
[0167] This update method interprets each iteration as: starting from the same incident field, recalculating the scattering that includes the current estimated field state of the neighbors, thereby improving training stability.
[0168] Subsequently, the A-scan correction terms are decoded iteratively step by step:
[0169] Use the decoder head to map the updated potential state to the correction term for this step:
[0170] ;
[0171] ;
[0172] In the formula, This represents the raw time-shift vector output by the decoder head, where DecoderHead is... A two-layer fully connected network with ReLU activation function. The decoder represents the amplitude vector predicted by the reinforcing bar i at the k-th step;
[0173] Trans-stage waveform prior inheritance:
[0174] Learnable decoding base The initial value is taken from trained basis matrix The former Line (Example) The single-reinforcement reflection waveform dictionary learned in Phase 1 will be directly inherited as a strong prior to Phase 2. During phase two training, it can be updated by gradients (and frozen). (Different), allowing it to differentiate into shapes that better characterize the multiple scattering waveform, and then undergoing QR orthogonalization again in the forward pass to obtain Maximum time shift Set as (i.e., allowed in) (Time shift within range), making the corresponding The input falls within the linear interval to avoid gradient saturation.
[0175] The coupling correction terms are accumulated by summing the correction terms for all reinforcement bars and all iteration steps:
[0176] ;
[0177] In the formula, This represents the sum of correction terms generated by all reinforcement bars in all Born iteration steps. This indicates the total number of steel bars in the scene;
[0178] The final output is a zero-order term plus a coupling correction term:
[0179] ;
[0180] In the formula, This represents the final predicted A-scan waveform for multiple reinforcing bars. This represents the zero-order term, which is the direct summation of the independent responses of all reinforcement bars.
[0181] Phase 2 training uses time-weighted relative mean square error loss:
[0182] ;
[0183] ;
[0184] in, This represents the time-weighted loss value. This represents the weight of the sampling point at time t. This represents the amplitude of the predicted waveform at time point t. This represents the amplitude of the actual waveform at time point t. Time-weighted index (example) ), For saturated stable terms (example) The weight is set to 1 at the main peak position to prevent the main peak gradient from shrinking, while it gains about 2.35 times the weight at the late small amplitude position (rel≈0.1) and caps at about 3.32 times at the silent position, thus significantly strengthening the fitting pressure on the late oscillation and stray ripples in the silent segment.
[0185] In addition, the following steps are included before the scattering message calculation in the Born iteration step:
[0186] Obtain the distance between each pair of reinforcing bars in the transverse and depth planes, as well as the direction angle of the line connecting each pair of reinforcing bars. The direction angle is obtained by arctangent calculation of the depth difference and transverse position difference between the two reinforcing bars.
[0187] The distance attenuation factor is calculated based on the distance and the maximum effective coupling distance, and the angle attenuation factor is determined based on the absolute value of the direction angle.
[0188] The coupling strength of each pair of reinforcing bars is determined based on the distance attenuation factor and the angle attenuation factor.
[0189] Compare the coupling strength with the upper limit threshold of the strength;
[0190] If the coupling strength is lower than the upper limit threshold, the corresponding steel bar is marked as an invalid coupling pair, its scattering message calculation is skipped, and the attention weight is reset to zero in the attention aggregation.
[0191] If the coupling strength is not lower than the upper limit threshold, the corresponding steel bar is marked as a valid coupling pair, and the scattering message calculation and attention aggregation are performed normally.
[0192] Specifically, before calculating the scattering message in the Born iteration step, a coupling strength pre-screening is performed. It doesn't presuppose that all rebar pairs need scattering message calculations; instead, the network autonomously determines which rebar pairs have effective coupling relationships in the current iteration step. This achieves adaptive allocation of computational resources and modeling of physical coupling relationships, specifically based on the distance between each pair of rebars. and direction angle Calculate the coupling strength using the following formula. :
[0193] ;
[0194] like If the strength is less than the upper limit threshold, the steel bar pair is marked as an invalid coupling pair. No further computational resources will be allocated to this pair for scattering message solving. In subsequent attention aggregation steps, the attention weight of this pair will be reset to zero. If the strength is not less than the preset threshold, it is retained as a valid coupling pair, and the subsequent scattering message calculation and attention aggregation process are executed normally. The upper limit threshold of strength is a hyperparameter that can be preset according to the rebar density of the underground detection scenario. In scenarios with high rebar density, it can be appropriately lowered to retain more calculations of weak coupling relationships, and in scenarios with low rebar density, it can be appropriately increased to reduce unnecessary computational waste. This process is suitable for situations with a large number of rebars, which can significantly reduce unnecessary computational overhead. At the same time, it conforms to the physical law of ground penetrating radar scattering: rebar pairs that are too far apart or whose direction is not conducive to coupling have minimal mutual scattering contribution. Ignoring their contribution will not significantly affect the prediction accuracy, thus achieving a balance between accuracy and computational efficiency.
[0195] Please see Figure 2 A physical-guided ground-penetrating radar (GPR) forward waveform prediction system, using the aforementioned physical-guided GPR forward waveform prediction method, includes:
[0196] The zero-order model training module is used to train a base-by-base time-shift waveform synthesizer as a zero-order single-reinforcement model using the rebar parameters of a single rebar sample and the corresponding single-channel reflection signal as training data.
[0197] The Freeze and Persist module is used to freeze the parameters of the trained zero-order single-reinforcement model and persistently save the zero-order single-reinforcement model weights and the zero-order single-reinforcement model structural hyperparticipant normalized statistics.
[0198] The coupling correction network training module is used to train a multi-reinforcement coupling correction network for loading and freezing a zero-order single-reinforcement model at startup, using a list of rebar parameters and corresponding single-channel reflection signals of multi-reinforcement scenarios as training data.
[0199] The inference module is used to perform forward inference on the multi-reinforcement scene to be predicted using the trained multi-reinforcement coupling correction network, and output the predicted A-type scan waveform, zero-order component, and coupling correction component.
[0200] The execution process of the above prediction system corresponds to the process of the aforementioned method, so it will not be repeated here.
[0201] The above description is merely a preferred embodiment of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention. Structures, devices, and operating methods not specifically described or explained in this invention are implemented according to conventional methods in the art unless otherwise specified or limited.
