Characteristic space inversion method and device based on supervised descent method
Patent Information
- Application Number
- CN202410415018.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-04-08
Smart Images

Figure CN118537672A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of inverse scattering imaging, and in particular to a feature space inversion method and device based on a supervised descent method. Background Art
[0002] Electromagnetic inversion technology is a method that uses electromagnetic data to infer the characteristics of an object. It is widely used in medical imaging, geophysical exploration, nondestructive testing, remote sensing detection and other fields.
[0003] In traditional inversion imaging methods, the area to be imaged is usually discretized into a pixel-based image, in which the electromagnetic parameters of each pixel sub-area are set to a constant. The electromagnetic parameters of these pixel areas are used as unknown parameters to be inverted and reconstructed through a gradient-based optimization method. In practical applications, the amount of measured data is often much smaller than the amount of parameters to be inverted. Therefore, the inversion problem is a nonlinear and ill-conditioned problem, and it is necessary to introduce prior information to limit the solution space in order to obtain reasonable inversion results. Traditional inversion methods in related technologies mainly use various regularization methods to limit the solution space based on the smoothness, sparsity or block characteristics of the target in the imaging area.
[0004] However, in traditional inversion methods in related technologies, much of the prior information based on empirical data cannot be accurately expressed in mathematical form, which limits the flexibility of fusing prior information. In addition, the pixel-based target area representation method will greatly increase the time and memory overhead of the gradient-based optimization method when calculating the gradient of the current model. In addition, the gradient calculated according to the current inversion model only contains the local characteristics of the objective function, which may increase the risk of the optimization process falling into a local minimum, making it difficult to ensure the accuracy and stability of the inversion results, which needs to be solved urgently. Summary of the invention
[0005] The present application provides a feature space inversion method and device based on the supervised descent method to solve the problems in the traditional inversion method in the related art that many prior information based on empirical data cannot be accurately expressed in mathematical form, which limits its flexibility in fusing prior information, and the pixel-based target area representation method will greatly increase the time and memory overhead of the gradient-based optimization method when calculating the gradient of the current model, and the gradient calculated according to the current inversion model only contains the local characteristics of the objective function, which may increase the risk of the optimization process falling into a local minimum, making it difficult to ensure the accuracy and stability of the inversion result.
[0006] The first aspect of the present application provides a feature space inversion method based on a supervised descent method, characterized in that it includes the following steps: in an offline training stage, generating a training image containing a target latent space position and electromagnetic characteristics according to prior information, and using the training image to train a variational autoencoder to obtain a trained variational autoencoder; inputting the training image into the encoder of the trained variational autoencoder to obtain a low-dimensional feature latent code, wherein the low-dimensional feature latent code and the corresponding measurement data are used to train the supervised descent method as model parameters to be inverted; in an online prediction stage, inputting the measurement data of an unknown target into the trained supervised descent method to obtain a latent code of the unknown target, and inputting the latent code into the decoder of the trained variational autoencoder to obtain a final inversion image.
[0007] Optionally, in one embodiment of the present application, generating a training image containing the target latent spatial position and electromagnetic characteristics based on prior information, and using the training image to train a variational autoencoder to obtain a trained variational autoencoder includes: during the tth iteration, minimizing the target loss function to calculate the gradient matrix.
[0008] Optionally, in one embodiment of the present application, the objective loss function is:
[0009]
[0010] Δv t =v * -v t ,
[0011]
[0012] Where superscript n represents the nth training sample, N is the total number of training samples, and K t is the gradient matrix, is the forward modeling function, d * is the measured data of the training set, d t is the t-th generation data, v * is the hidden code of the training set, v t is the t-th generation code, ‖·‖2 represents the L2-norm, Δv t is the encoding error, Δd t is the data error.
[0013] Optionally, in one embodiment of the present application, the calculation formula of the gradient matrix is:
[0014]
[0015]
[0016] Among them, K t is the gradient matrix, ΔD t is the difference between the training set data matrix and the t-th generation data matrix, ΔV t is the difference between the training set encoding matrix and the t-th generation encoding matrix, U t and Q t = ΔD t The two orthogonal matrices obtained by singular value decomposition of t = ΔD t is the eigenvalue matrix of , β is the regularization coefficient, and I is the identity matrix.
[0017] Optionally, in one embodiment of the present application, the update formula of the hidden code of the unknown target is:
[0018]
[0019] Among them, v t is the t-th generation code, K t is the gradient matrix, is the forward modeling function, d obs The actual measurement data.
[0020] The second aspect of the present application provides a feature space inversion device based on the supervised descent method, including: a training module, which is used to generate a training image containing a target latent space position and electromagnetic characteristics according to prior information in an offline training stage, and use the training image to train a variational autoencoder to obtain a trained variational autoencoder; a processing module, which is used to input the training image into the encoder of the trained variational autoencoder to obtain a low-dimensional feature latent code, wherein the low-dimensional feature latent code and the corresponding measurement data are used to train the supervised descent method as model parameters to be inverted; an inversion module, which is used to input the measurement data of an unknown target into the trained supervised descent method in an online prediction stage to obtain a latent code of the unknown target, and input the latent code into the decoder of the trained variational autoencoder to obtain a final inversion image.
[0021] Optionally, in one embodiment of the present application, the training module includes: a computing unit, configured to minimize the target loss function during the tth iteration to calculate a gradient matrix.
[0022] Optionally, in one embodiment of the present application, the objective loss function is:
[0023]
[0024] Δv t =v * -v t ,
[0025]
[0026] Where superscript n represents the nth training sample, N is the total number of training samples, and K t is the gradient matrix, is the forward modeling function, d * is the measured data of the training set, d t is the t-th generation data, v * is the hidden code of the training set, v t is the t-th generation code, ‖·‖2 represents the L2-norm, Δv t is the encoding error, Δd t is the data error.
[0027] Optionally, in one embodiment of the present application, the calculation formula of the gradient matrix is:
[0028]
[0029]
[0030] Among them, K t is the gradient matrix, ΔD t is the difference between the training set data matrix and the t-th generation data matrix, ΔV t is the difference between the training set encoding matrix and the t-th generation encoding matrix, U t and Q t = ΔD t The two orthogonal matrices obtained by singular value decomposition of t = ΔD t is the eigenvalue matrix of , β is the regularization coefficient, and I is the identity matrix.
[0031] Optionally, in one embodiment of the present application, the update formula of the hidden code of the unknown target is:
[0032]
[0033] Among them, v t is the t-th generation code, K t is the gradient matrix, is the forward modeling function, d obs The actual measurement data.
[0034] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a feature space inversion method based on the supervised descent method as described in the above embodiment.
[0035] The fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, it implements the above-mentioned feature space inversion method based on the supervised descent method.
[0036] The fifth aspect of the present application provides a computer program product, which, when executed, is used to implement the above-mentioned feature space inversion method based on the supervised descent method.
[0037] In the embodiment of the present application, the measured data of the target to be inverted can be input into the supervised descent method, and the hidden code of the unknown target can be obtained by iteratively updating the gradient direction in the offline training stage, and the hidden code of the unknown target is input into the decoder of the variational self-encoder after training to obtain the final inversion image. Thus, the inversion imaging method can flexibly fuse various prior information, thereby accurately limiting the solution space, reducing the calculation and memory overhead in the inversion process, effectively reducing the risk of falling into the local minimum in the optimization process, and improving the accuracy of target inversion identification while realizing automatic target identification. Thus, it is solved that many prior information based on empirical data in the traditional inversion method in the related art cannot be accurately expressed in mathematical form, which limits the flexibility of fusing prior information, and the pixel-based target area representation method will greatly increase the time and memory overhead of the gradient-based optimization method when calculating the gradient of the current model, and the gradient calculated according to the current inversion model only contains the local characteristics of the objective function, which may increase the risk of the optimization process falling into the local minimum, and it is difficult to ensure the accuracy and stability of the inversion result.
[0038] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0040] Figure 1 A flowchart of a feature space inversion method based on a supervised descent method provided according to an embodiment of the present application;
[0041] Figure 2 This is a schematic diagram of the variational autoencoder structure of an embodiment of the present application;
[0042] Figure 3 This is a flowchart of offline training for one embodiment of the present application;
[0043] Figure 4 This is a schematic diagram of the offline training phase of the supervised descent method according to an embodiment of the present application;
[0044] Figure 5 This is an online prediction flow chart of an embodiment of the present application;
[0045] Figure 6 A schematic diagram of an image of a training set of a variational autoencoder according to an embodiment of the present application;
[0046] Figure 7 A schematic diagram of an original image of a test set according to an embodiment of the present application;
[0047] Figure 8 A schematic diagram of a test set decoding image according to an embodiment of the present application;
[0048] Fig. 9 A schematic diagram showing a visualization of an inversion process according to an embodiment of the present application;
[0049] Fig.10 Schematic diagram of the structure of a feature space inversion device based on the supervised descent method according to an embodiment of the present application;
[0050] Fig.11 Schematic diagram of the structure of an electronic device according to an embodiment of the present application. Description of the drawings:
[0052] 10-feature space inversion device based on supervised descent method; 100-training module, 200-processing module and 300-inversion module; 1101-memory, 1102-processor and 1103-communication interface. DETAILED DESCRIPTION
[0053] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0054] The following describes the feature space inversion method and device based on the supervised descent method of the embodiment of the present application with reference to the accompanying drawings. In response to the problems mentioned in the above background technology, the present application provides a feature space inversion method based on the supervised descent method, in which the measurement data of the target to be inverted can be input into the supervised descent method, and the hidden code of the unknown target is obtained through iterative updating of the gradient direction in the offline training stage, and the hidden code of the unknown target is input into the decoder of the trained variational autoencoder to obtain the final inversion image. As a result, it is achieved that the inversion imaging method can flexibly integrate various prior information, thereby accurately limiting the solution space, reducing the calculation and memory overhead in the inversion process, effectively reducing the risk of falling into the local minimum during the optimization process, and improving the accuracy of target inversion recognition while realizing automatic target recognition. This solves the problem that many prior information based on empirical data in traditional inversion methods in related technologies cannot be accurately expressed in mathematical form, limiting their flexibility in fusing prior information, and that the pixel-based target area representation method will greatly increase the time and memory overhead of the gradient-based optimization method when calculating the gradient of the current model, and that the gradient calculated according to the current inversion model only contains the local characteristics of the objective function, which may increase the risk of the optimization process falling into a local minimum, making it difficult to ensure the accuracy and stability of the inversion results.
[0055] Specifically, Figure 1 A flowchart of a feature space inversion method based on the supervised descent method provided in an embodiment of the present application.
[0056] like Figure 1 As shown, the feature space inversion method based on the supervised descent method includes the following steps:
[0057] In step S101, in the offline training stage, a training image including a target latent space position and electromagnetic characteristics is generated according to prior information, and the training image is used to train a variational autoencoder to obtain a trained variational autoencoder.
[0058] It can be understood that the prior information here can be understood as the information about a thing that is already possessed before actually observing the thing or obtaining a sample, and this information can be based on past experience, historical data, domain knowledge or personal experience.
[0059] Compared with traditional inversion imaging methods, inversion imaging methods based on deep learning have significant advantages. First, deep learning methods can automatically learn the complex characteristics of data and improve the ability to integrate prior information, thereby overcoming the limitations of traditional methods in integrating empirical data; secondly, by mapping high-dimensional data to low-dimensional feature space, deep learning methods can reduce the computational and memory overhead in the inversion process and improve inversion efficiency; in addition, deep learning methods reduce the risk of falling into local minima through global optimization, thereby improving the accuracy and stability of inversion results. The inversion imaging method based on deep learning is superior to traditional methods in terms of data processing capabilities, computational efficiency, and inversion accuracy, providing new possibilities for the development of inversion imaging technology. Therefore, the embodiment of the present application can establish a feature space inversion method based on the supervised descent method based on the variational autoencoder (a deep learning method).
[0060] like Figure 2 As shown, it is a schematic diagram of the structure of a variational autoencoder according to an embodiment of the present application. Wherein, ε represents a random vector that obeys a standard normal distribution, σ v represents the variance vector, x represents the binary image, represents the decoded binary image, E(x) represents the encoder of the variational autoencoder, μ v represents the mean vector, v is the hidden code in the low-dimensional feature space, D(v) represents the decoder of the variational autoencoder, and q(v|x) is the normal distribution p(x|v) follows a normal distribution Where diag(·) is the diagonal operator and I is the identity matrix.
[0061] It should be noted that the structure of the variational autoencoder in the embodiment of the present application is only for illustrative purposes and is not specifically limited. The specific structure can be set by professional and technical personnel in this field according to actual conditions.
[0062] In the actual implementation process, the embodiment of the present application can generate a set of training images containing the target potential spatial position and electromagnetic characteristics according to the prior information in the offline training stage, such as Figure 3 As shown, it is a training set image of the variational autoencoder of an embodiment of the present application, and the variational autoencoder can be trained by using the image to obtain a trained variational autoencoder.
[0063] Among them, the distribution of training data sets for variational autoencoders is and feature space latent code distribution p(v), the present application embodiment may assume that q(v|x) is a normal distribution Its mean vector μ v (x) and the variance vector is the output of the encoder E(x) of the variational autoencoder, assuming that p(x|v) follows a normal distribution Its mean vector μ x (v) is the output of the decoder D(v) of the variational autoencoder, and the variance is a fixed constant c. When training the variational autoencoder, the optimized objective function can be expressed as:
[0064]
[0065]
[0066]
[0067] in, represents the KL divergence, represents the reconstruction error, c represents a fixed constant, μ (k) and Respectively represent μ v and The kth element of N v represents the length of the hidden code v, and α is the coefficient that balances the ratio between KL divergence and reconstruction error. After training, the variational autoencoder can establish a mapping relationship between the binary image x and the hidden code v in the low-dimensional feature space:
[0068] v=E(x)
[0069]
[0070] Among them, x represents a binary image, v represents the hidden code in the low-dimensional feature space, represents the decoded binary image, E(x) is the encoder of the variational autoencoder, and D(v) is the decoder of the variational autoencoder.
[0071] Optionally, in one embodiment of the present application, a training image containing the target latent spatial position and electromagnetic characteristics is generated based on prior information, and the training image is used to train a variational autoencoder to obtain a trained variational autoencoder, including: during the tth iteration, minimizing the target loss function to calculate the gradient matrix.
[0072] Optionally, in one embodiment of the present application, the target loss function can be expressed as:
[0073]
[0074] Δv t =v * -v t ,
[0075]
[0076] Where superscript n represents the nth training sample, N is the total number of training samples, and K t is the gradient matrix, is the forward modeling function, d * is the measured data of the training set, d t is the t-th generation data, v * is the hidden code of the training set, v t is the t-th generation code, ‖·‖2 represents the L2-norm, Δv t is the encoding error, Δd t is the data error.
[0077] Based on the relevant descriptions of other embodiments, it can be understood that the embodiment of the present application can generate a training image containing the target potential space position and electromagnetic characteristics according to the prior information, and use the training image to train the variational autoencoder to obtain a trained variational autoencoder. Among them, the process of training the autoencoder is an iterative process, so the embodiment of the present application can minimize the target loss function in the process of the tth iteration to calculate the gradient matrix.
[0078] For example, in the offline training process of the supervised descent method, the objective function can be set to the following expression, but is not limited to:
[0079]
[0080] in, is the forward modeling function, d * is the scattering field measurement data, v is the latent code to be solved, and ‖·‖2 represents the L2-norm. In the tth iteration, the gradient matrix K t It can be calculated by, but is not limited to, minimizing the following loss function:
[0081]
[0082] Δv t =v * -v t
[0083]
[0084] Where superscript n represents the nth training sample, N is the total number of training samples, and K t represents the gradient matrix, is the forward modeling function, d * is the measured data of the training set, d t is the t-th generation data, v * is the hidden code of the training set, v t is the t-th generation code, ‖·‖2 represents the L2-norm, Δv tis the encoding error, Δd t is the data error.
[0085] Step S102, inputting the training image into the encoder of the trained variational autoencoder to obtain a low-dimensional feature latent code, wherein the low-dimensional feature latent code and the corresponding measurement data are used to train the supervised descent method as the model parameters to be inverted.
[0086] Optionally, in one embodiment of the present application, the calculation formula of the gradient matrix can be expressed as:
[0087]
[0088]
[0089] Among them, K t is the gradient matrix, ΔD t is the difference between the training set data matrix and the t-th generation data matrix, ΔV t is the difference between the training set encoding matrix and the t-th generation encoding matrix, U t and Q t = ΔD t The two orthogonal matrices obtained by singular value decomposition of t = ΔD t is the eigenvalue matrix of , β is the regularization coefficient, and I is the identity matrix.
[0090] As a possible implementation method, after obtaining the trained variational autoencoder and gradient matrix, the embodiment of the present application can input the training image into the encoder of the trained variational autoencoder, and combine the gradient matrix calculation to obtain the low-dimensional feature latent code, that is, the training set latent code.
[0091] For example, when calculating K t After that, the hidden code of the training set of the t+1th generation can be updated by the following formula:
[0092] v t+1 =v t +K t Δd t
[0093] In numerical calculations, v t is the t-th generation code, Δd t For data error, the N training set codes are assembled into an N-row matrix V, the N measurement data are also assembled into an N-row matrix D, and the gradient matrix K t It can be calculated by the following formula:
[0094]
[0095]
[0096] Where, ΔD t is the difference between the training set data matrix and the t-th generation data matrix, ΔV t is the difference between the training set encoding matrix and the t-th generation encoding matrix, U t and Q t = ΔD t The orthogonal matrix obtained by the singular value decomposition of is Λ t = ΔD t is the eigenvalue matrix of , β is the regularization coefficient, and I is the identity matrix.
[0097] When the coding error or data error reaches a predetermined value, or the iteration reaches the maximum preset number of steps, the training process terminates. The coding error and data error can be defined as follows:
[0098]
[0099]
[0100] Among them, RMS v and RMS d represent the normalized encoding error and the normalized data error respectively.
[0101] After obtaining the low-dimensional feature latent code, the low-dimensional feature latent code can be used together with the corresponding measurement data to train the supervised descent method, wherein the low-dimensional feature latent code can be used as the model parameter to be inverted.
[0102] For example, Figure 3 This is an offline training flow chart of an embodiment of the present application. Figure 4 This is a flowchart of the offline training phase of an embodiment of the present application. Figure 3 and Figure 4 As shown, the embodiment of the present application can first generate training images and labels based on prior information, and then use the training images and labels to train the variational autoencoder and establish a forward physical model of the measurement environment to calculate the low-dimensional feature hidden code of the training image and the experimental measurement data of the training image. After that, the embodiment of the present application can use the low-dimensional feature hidden code of the training image and the experimental measurement data of the training image to train the inversion hidden code of the supervised descent method, and then use the inversion hidden code and labels of the supervised descent method to train the support vector machine.
[0103] Step S103, in the online prediction stage, the measurement data of the unknown target is input into the trained supervised descent method to obtain the hidden code of the unknown target, and the hidden code is input into the decoder of the trained variational autoencoder to obtain the final inversion image.
[0104] Optionally, in one embodiment of the present application, the update formula of the hidden code of the unknown target can be expressed as:
[0105]
[0106] Among them, v t is the t-th generation code, K t is the gradient matrix, is the forward modeling function, d obs The actual measurement data.
[0107] In some embodiments, after the supervised descent method training is completed, the gradient matrix K of each iteration t All will be saved and used directly in the online prediction stage. In the online prediction stage, the embodiment of the present application can input the measurement data of the unknown target into the trained supervised descent method to obtain the hidden code of the unknown target, wherein the hidden code of the unknown target can be updated by the following formula:
[0108]
[0109] Among them, v t is the t-th generation code, K t is the gradient matrix, is the forward modeling function, d obs is the actual measured data. It should be noted that the initial code v0 is the same during offline training and online prediction. d When the preset value is reached or increases, the online prediction is terminated.
[0110] After obtaining the hidden code of the unknown target, the embodiment of the present application can input the hidden code into the decoder of the trained variational autoencoder, thereby obtaining the final inversion image.
[0111] like Figure 5 As shown, it is a flowchart of online prediction of an embodiment of the present application. During the online prediction process, the measurement data of the unknown target can be input into the supervised descent method after training, and then the trained supervised descent method is used to invert the latent code of the target, and then the decoder of the variational autoencoder is used to reconstruct the target image, and the support vector machine is used to classify and identify the latent code of the target.
[0112] Next, the image decoding and inversion process of the embodiment of the present application is further explained.
[0113] like Figure 6 As shown, it is a training set image of a variational autoencoder according to an embodiment of the present application, and the variational autoencoder can be trained using the training set image. Figure 7 and Figure 8They are respectively the original image and decoded image of the test set of an embodiment of the present application. The original image of the test set is input into the trained variational autoencoder, that is, the image decoded by the low-dimensional latent code and decoder obtained by the variational autoencoder after training can be obtained. It can be clearly seen that the decoding effect of the trained variational autoencoder is good.
[0114] Fig. 9 This is a visualization diagram of the inversion process of an embodiment of the present application, wherein the first column is the real target image, the second column is the image after encoding and decoding by the variational autoencoder, and the third to twelfth columns are images obtained after decoding the latent codes obtained by each iteration of the test sample. It can be seen that the feature space inversion method based on the supervised descent method proposed in the embodiment of the present application effectively reconstructs the real target.
[0115] According to the feature space inversion method based on the supervised descent method proposed in the embodiment of the present application, the measured data of the target to be inverted can be input into the supervised descent method, and the hidden code of the unknown target is obtained by iteratively updating the gradient direction in the offline training stage, and the hidden code is input into the decoder of the variational self-encoder to obtain the final inversion image. Thus, it is realized that the inversion imaging method can flexibly fuse various prior information, thereby accurately limiting the solution space, reducing the calculation and memory overhead in the inversion process, effectively reducing the risk of falling into the local minimum in the optimization process, and improving the accuracy of target inversion recognition while realizing automatic target recognition. Thus, it is solved that many prior information based on empirical data in the traditional inversion method in the related art cannot be accurately expressed in mathematical form, which limits its flexibility in fusing prior information, and the pixel-based target area representation method will greatly increase the time and memory overhead of the gradient-based optimization method when calculating the gradient of the current model, and the gradient calculated according to the current inversion model only contains the local characteristics of the objective function, which may increase the risk of the optimization process falling into the local minimum, and it is difficult to ensure the accuracy and stability of the inversion result.
[0116] Next, a feature space inversion device based on the supervised descent method proposed in an embodiment of the present application is described with reference to the accompanying drawings.
[0117] Fig.10 It is a structural schematic diagram of a feature space inversion device based on the supervised descent method in an embodiment of the present application.
[0118] like Fig.10 As shown, the feature space inversion device 10 based on the supervised descent method includes: a training module 100, a processing module 200 and an inversion module 300.
[0119] Among them, the training module is used to generate a training image containing the target potential space position and electromagnetic characteristics according to prior information during the offline training stage, and use the training image to train the variational autoencoder to obtain a trained variational autoencoder.
[0120] A processing module is used to input the training image into the encoder of the trained variational autoencoder to obtain a low-dimensional feature latent code, wherein the low-dimensional feature latent code and the corresponding measurement data are used to train the supervised descent method as the model parameters to be inverted.
[0121] The inversion module is used to input the measurement data of the unknown target into the trained supervised descent method in the online prediction stage to obtain the hidden code of the unknown target, and input the hidden code into the decoder of the trained variational autoencoder to obtain the final inversion image.
[0122] Optionally, in one embodiment of the present application, the training module includes: a computing unit, configured to minimize the target loss function during the t-th iteration to calculate a gradient matrix.
[0123] Optionally, in one embodiment of the present application, the target loss function can be expressed as:
[0124]
[0125] Δv t =v * -v t ,
[0126]
[0127] Where superscript n represents the nth training sample, N is the total number of training samples, and K t is the gradient matrix, is the forward modeling function, d * is the measured data of the training set, d t is the t-th generation data, v * is the hidden code of the training set, v t is the t-th generation code, ‖·‖2 represents the L2-norm, Δv t is the encoding error, Δd t is the data error.
[0128] Optionally, in one embodiment of the present application, the calculation formula of the gradient matrix can be expressed as:
[0129]
[0130]
[0131] Among them, Kt is the gradient matrix, ΔD t is the difference between the training set data matrix and the t-th generation data matrix, ΔV t is the difference between the training set encoding matrix and the t-th generation encoding matrix, U t and Q t = ΔD t The two orthogonal matrices obtained by singular value decomposition of t = ΔD t is the eigenvalue matrix of , β is the regularization coefficient, and I is the identity matrix.
[0132] Optionally, in one embodiment of the present application, the update formula of the hidden code of the unknown target can be expressed as:
[0133]
[0134] Among them, v t is the t-th generation code, K t is the gradient matrix, is the forward modeling function, d obs The actual measurement data.
[0135] It should be noted that the aforementioned explanation of the embodiment of the feature space inversion method based on the supervised descent method is also applicable to the feature space inversion device based on the supervised descent method of this embodiment, and will not be repeated here.
[0136] According to the feature space inversion device based on the supervised descent method proposed in the embodiment of the present application, the measurement data of the target to be inverted can be input into the supervised descent method, and the hidden code of the unknown target is obtained by iteratively updating the gradient direction in the offline training stage, and the hidden code is input into the decoder of the variational self-encoder to obtain the final inversion image. Thus, it is realized that the inversion imaging method can flexibly fuse various prior information, thereby accurately limiting the solution space, reducing the calculation and memory overhead in the inversion process, effectively reducing the risk of falling into the local minimum in the optimization process, and improving the accuracy of target inversion identification while realizing automatic target identification. Thus, it is solved that many prior information based on empirical data in the traditional inversion method in the related art cannot be accurately expressed in mathematical form, which limits its flexibility in fusing prior information, and the pixel-based target area representation method will greatly increase the time and memory overhead of the gradient-based optimization method when calculating the gradient of the current model, and the gradient calculated according to the current inversion model only contains the local characteristics of the objective function, which may increase the risk of the optimization process falling into the local minimum, and it is difficult to ensure the accuracy and stability of the inversion result.
[0137] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0138] A memory 1101 , a processor 1102 , and a computer program stored in the memory 1101 and executable on the processor 1102 .
[0139] When the processor 1102 executes the program, the feature space inversion method based on the supervised descent method provided in the above embodiment is implemented.
[0140] Furthermore, the electronic device further comprises:
[0141] The communication interface 1103 is used for communication between the memory 1101 and the processor 1102 .
[0142] The memory 1101 is used to store computer programs that can be executed on the processor 1102 .
[0143] The memory 1101 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0144] If the memory 1101, the processor 1102 and the communication interface 1103 are implemented independently, the communication interface 1103, the memory 1101 and the processor 1102 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0145] Optionally, in a specific implementation, if the memory 1101, the processor 1102 and the communication interface 1103 are integrated on a chip, the memory 1101, the processor 1102 and the communication interface 1103 can communicate with each other through an internal interface.
[0146] The processor 1102 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0147] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned feature space inversion method based on the supervised descent method.
[0148] The embodiment of the present application also provides a computer program product, which can run computer instructions. When the computer instructions are executed by a processor, the feature space inversion method based on the supervised descent method provided in the embodiment of the present application is implemented.
[0149] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0150] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0151] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0152] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.
[0153] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0154] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0155] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0156] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A feature space inversion method based on supervised descent method, characterized in that: The following steps are involved: In the offline training stage, a training image including a target potential spatial position and electromagnetic characteristics is generated according to prior information, and the training image is used to train the variational autoencoder to obtain a trained variational autoencoder; Inputting the training image into the encoder of the trained variational autoencoder to obtain a low-dimensional feature latent code, wherein the low-dimensional feature latent code and the corresponding measurement data are used to train the supervised descent method as model parameters to be inverted; In the online prediction stage, the measurement data of the unknown target is input into the trained supervised descent method to obtain the latent code of the unknown target, and the latent code is input into the decoder of the trained variational autoencoder to obtain the final inversion image.
2. The method according to claim 1, characterized in that The method of generating a training image including a target potential space position and electromagnetic characteristics according to the prior information, and using the training image to train a variational autoencoder to obtain a trained variational autoencoder comprises: During the tth iteration, the objective loss function is minimized to calculate the gradient matrix.
3. The method according to claim 2, characterized in that The objective loss function is: Δv t =v * -v t , Where superscript n represents the nth training sample, N is the total number of training samples, and K t is the gradient matrix, is the forward modeling function, d * is the measured data of the training set, d t is the t-th generation data, v * is the hidden code of the training set, v t is the t-th generation code, ||·||2 represents the L2-norm, Δv t is the encoding error, Δd t is the data error.
4. The method according to claim 3, characterized in that The calculation formula of the gradient matrix is: Among them, K t is the gradient matrix, ΔD t is the difference between the training set data matrix and the t-th generation data matrix, ΔV t is the difference between the training set encoding matrix and the t-th generation encoding matrix, U t and Q t = ΔD t The two orthogonal matrices obtained by singular value decomposition of t = ΔD t is the eigenvalue matrix of , β is the regularization coefficient, and I is the identity matrix.
5. The method according to claim 1, characterized in that The update formula of the hidden code of the unknown target is: Among them, v t is the t-th generation code, K t is the gradient matrix, is the forward modeling function, d obs The actual measurement data.
6. A feature space inversion device based on supervised descent method, characterized in that: include: A training module is used to generate a training image containing a target potential space position and electromagnetic characteristics according to prior information during an offline training phase, and use the training image to train a variational autoencoder to obtain a trained variational autoencoder; A processing module, used for inputting the training image into the encoder of the trained variational autoencoder to obtain a low-dimensional feature latent code, wherein the low-dimensional feature latent code and the corresponding measurement data are used to train the supervised descent method as the model parameters to be inverted; The inversion module is used to input the measurement data of the unknown target into the trained supervised descent method in the online prediction stage to obtain the hidden code of the unknown target, and input the hidden code into the decoder of the trained variational autoencoder to obtain the final inversion image.
7. The device according to claim 6, characterized in that The training module includes: The computing unit is used to minimize the target loss function during the t-th iteration to calculate the gradient matrix.
8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the feature space inversion method based on the supervised descent method as described in any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the feature space inversion method based on the supervised descent method as described in any one of claims 1 to 5.
10. A computer program product, characterized in that When the computer program is executed, it is used to implement the feature space inversion method based on the supervised descent method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Space target parameter inversion method based on multi-angle sequence image
CN114219020A
Image augmentation model training method and image classification method based on variational auto-encoder and generative adversarial network
CN114386534A
Making time-series predictions using a trained decoder model
US20210394784A1
Learning energy-based model with variational auto-encoder as amortized sampler
US20230169325A1
