Radar time-frequency image augmentation method based on generative adversarial network
By constructing a generative adversarial network model, extracting the characteristics of radar time-frequency diagrams and generating realistic false data, the problem of insufficient radar time-frequency diagram data sets is solved, and deep learning training and model generalization capabilities are achieved under small amounts of data. Lift to adapt to various environments and input changes.
Patent Information
- Application Number
- CN202410268950.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-08
- Publication Date
- 2024-09-24
AI Technical Summary
Radar time-frequency diagram data sets are difficult to obtain and process, deep learning requires a large amount of data, and existing technologies are difficult to effectively augment data, resulting in insufficient model generalization capabilities and robustness.
Construct a radar time-frequency image augmentation method based on a generative adversarial network. By constructing a generative adversarial network model, deconvolution and average pooling layers are used to extract features, generate realistic false data, and optimize the generator through the discriminator to achieve data augmentation. It can reduce the risk of over-fitting and improve the stability and generalization ability of the model.
It supports deep learning training of radar time-frequency diagrams with a small amount of data, improves the generalization ability and robustness of the model, reduces labeling costs, adapts to various environments and input changes, and enhances the adaptability of the model.
Smart Images

Figure CN118691464A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of radar technology, and in particular to a generative adversarial network technology and a radar time-frequency image augmentation method based on the generative adversarial network technology. Background Art
[0002] At present, radar sensors are expensive, their usage scenarios are limited, and they have certain requirements for environmental noise. The information collected by radar sensors is not as convenient for data processing as optical images, and radar time-frequency diagrams are not easy to annotate. Various factors make it difficult to make a large-scale radar time-frequency diagram dataset, but for the field of deep learning, a large-scale dataset is often required to train a good classification or recognition model. Through image augmentation, the model can learn a wider range of features, thereby improving its generalization ability on new samples. Dataset expansion can also help alleviate the overfitting problem, especially when the training data is limited. Increasing the number of samples can slow down the model's over-learning of noisy or abnormal samples in the training set. In some cases, the number of samples in different categories may be unbalanced. Image augmentation can balance the category distribution by generating more samples of the minority category and improve the model's recognition performance for each category. Introducing randomness and variability through image augmentation helps the model better adapt to various environments and input changes, and improves the robustness of the model in real-world scenarios. Image augmentation can also reduce annotation costs by generating transformed samples. In some cases, manually annotating large amounts of data may be expensive or impractical, so more annotated samples can be obtained by augmenting the dataset.
[0003] In order to overcome the problem that radar time-frequency images are difficult to obtain and process, but deep learning requires a large amount of data, a generative adversarial network is now used to augment radar time-frequency images. Summary of the invention
[0004] The present invention is mainly aimed at data augmentation of radar time-frequency images. The core of the present invention is to: construct a generative adversarial network model that can realize radar time-frequency image augmentation; use existing methods to perform range-Doppler processing on the collected radar signals, and represent the micro-Doppler signals in the form of time-frequency images; construct an initial data set of radar time-frequency images for various human behaviors; train an adversarial network on the initial data set of radar time-frequency images through the constructed network; realize feature extraction of radar time-frequency images, and use the features for data augmentation;
[0005] The radar time-frequency image augmentation method based on a generative adversarial network of the present invention comprises the following steps:
[0006] Step 200, construct a generative adversarial network model that can realize radar time-frequency image augmentation. The generative adversarial network is a new unsupervised learning structure, which contains two models, which optimize themselves in an adversarial way. One part of the network model is a classifier, which is used to distinguish whether the input data is real data or generated false data; the second part of the network model is a generator, which aims to generate random samples similar to real data and use them as false data. Add random noise to the generator to obtain generated data, compare the newly generated data with the real radar time-frequency image through the discriminator, output the judgment result and return the data.
[0007] According to the judgment result of the discriminator D, the parameters of the generator and the discriminator are tuned at the same time. If the judgment of the discriminator is correct, the parameters of the generator need to be optimized to generate more realistic false data; on the contrary, if the judgment of the discriminator is wrong, the parameters of the discriminator D need to be optimized to make it make a more accurate judgment. During the training process, the two need to be balanced and continuously optimized until the data generated by the generator is very close to the real data. The specific optimization method is in the form of loss function, and the formula is as follows.
[0008]
[0009] The objective function of GAN can be expressed as follows:
[0010]
[0011] Where P data refers to the sample of the real data distribution, P z (x) represents the distribution of generated data. When the two are equal, the global optimal solution can be achieved.
[0012] The expectation is to obtain the expected value in the hope that the data distribution fitted by the generator is similar to the real data distribution, but not completely consistent with the real data. The role of expectation is to fit the data with different content from the real data but with the same distribution characteristics under the condition of sufficient input data.
[0013] Generative adversarial networks provide an adversarial training model that can be widely used. Under the premise of sufficient capacity, if the discriminator can reach the optimal value given by the generator in each iteration, the generator can be updated on this basis so that the generated data converges to the real data.
[0014] Step 210, the radar time-frequency image is used as input, and through 4 layers of deconvolution processing, the image size displayed in the output layer is finally 64 × 64, and the output of the generator is also 64 × 64. Since the radar time-frequency image has relatively rich information, more than one convolution layer is used to extract features. Only through multi-layer convolution can high-level feature information be extracted.
[0015] Deconvolution is more accurately called transposed convolution, which is the opposite operation of general convolution and can be understood as the process of reverse propagation of the convolution process. If the input and output are expanded into vectors from left to right and from top to bottom, the convolution kernel is represented by a sparse matrix C, where the non-zero elements are the weights Wi,j of the convolution kernel. Then the convolution operation can be expressed as: y = Cx. Where: x is the input and y is the output. During reverse propagation, it can be easily obtained by the transposed matrix of C; but at the same time, the error is reversely propagated by multiplying the loss value by the transpose of C. Transposed convolution is relative to convolution. The convolution operation maps high-dimensional data to low-dimensional data, while the transposed convolution operation is the opposite, mapping low-dimensional data to high-dimensional data. The convolution kernel w defines a convolution, whose forward propagation and backward propagation are obtained by multiplying C and the transpose of C respectively. However, it also defines a transposed convolution layer, whose forward propagation and backward propagation are obtained by multiplying the transpose of C and C itself respectively.
[0016] In step 220, the real data processed by the four-layer deconvolution and the augmented data generated by the generator are compared and discriminated, and finally the scalar result generated by the discriminator is output in the average pooling layer. However, when multiple layers of convolution are used, the data dimension is often expanded and the data is overfitted.
[0017] To solve this problem, in the pooling layer, a fixed-size window is taken to aggregate multiple cells into one cell, similar to resampling an image to a coarser spatial resolution. The pooling operation is similar to the convolution operation, which is to let the window start from the upper left corner of the input matrix, slide from left to right, from top to bottom, and take the average or maximum value each time. After the operation is completed, the output of the pooling layer can be obtained.
[0018] The information within each pooling window is combined into a single value by averaging the input data. This helps reduce the spatial dimension of the data, reduces computational complexity, and reduces the number of parameters of the model. Average pooling is somewhat translation invariant because it takes the average of the elements within the window and is insensitive to small translation changes in the input data. This helps improve the generalization ability of the model and makes it more robust to positional changes in the input data.
[0019] By reducing the size of the input data, average pooling reduces the computational complexity of the network and accelerates the training and inference process of the model. By reducing the number of parameters and reducing the spatial dimension, average pooling helps prevent model overfitting and improves the generalization ability of the model.
[0020] Step 230, use the global average sampling layer to replace the fully connected layer as the output layer. The application of the fully connected layer makes the GAN converge quickly, but at the same time reduces the stability of the GAN. Replacing the fully connected layer with global pooling is exchanging convergence speed for training stability. Take the average value of each channel of the entire feature map, and reduce the dimension of the entire feature map to a vector with one value per channel. Reduce the computational complexity of the network and reduce the number of parameters that need to be trained and stored. Global average pooling has a certain position invariance. Since the same pooling operation is performed on the entire feature map, it is robust to the translation of the input data. Since global average pooling greatly reduces the size of the feature map, it reduces the number of parameters that need to be trained, which helps to reduce the risk of overfitting.
[0021] Step 240, change the activation function to improve the stability of the generative adversarial network model. In the selection of the activation function, the output layer of the generator uses the function
[0022]
[0023] The output range of the Tanh function is between (-1,1), which provides a wider range of output values compared to the (0,1) range of the Sigmoid function. The mean of Tanh is close to zero and is symmetric about the origin (0,0), which helps in model training because it is easier to update the gradient for zero-centered data. When the input is positive or negative, the output approaches positive or negative one.
[0024] The remaining layers use the ReLU function
[0025] g(x)=max(0,x) (4)
[0026] All layers in the discriminator use the leaky-ReLU function:
[0027]
[0028] Among them, a is a very small parameter. This setting allows the activation function to correct the distribution of data while retaining the values on the negative axis.
[0029] Step 250, add a batch normalization (BN) layer. The main function of the BN layer is to normalize the scale layer by layer to avoid gradient disappearance or gradient overflow, and at the same time, it can increase the convergence speed by 5 to 20 times. Batch normalization is a regularization technique that can improve the generalization ability of the network. In deep learning, the data distribution in a certain layer of the network is likely to have a certain offset phenomenon, and this problem will be aggravated as the number of network layers increases, which will increase the difficulty of model optimization or even make it impossible to optimize. The addition of the BN layer in this paper is to alleviate this problem. Batch normalization is mainly aimed at the batch gradient descent method that is currently used more frequently. The batch gradient descent method is to divide the data into several groups and update the parameters by group. The data in a group jointly determines the direction of the gradient this time, and the randomness is reduced when descending. In this way, the number of samples in each batch is much smaller than the entire data set, so the amount of calculation is also reduced a lot. The Batch in Batch Normalization (BN) refers to batch data, that is, the number of samples in each optimization. Usually, the batch normalization layer is used after the convolution layer, or before and after the activation function, to readjust the data distribution.
[0030] First, the mean of the elements in the mini-batch data is obtained. Next, the variance of the mini-batch is calculated according to the formula. Then each element is normalized, and finally scaled and offset operations are performed to transform it back to the original distribution and achieve an identity transformation.
[0031] For networks without BN, these two values are related to the nonlinear properties brought by the previous layer of the network. After the transformation, they are no longer related to the previous layer and become a learning parameter of the current layer, which is more conducive to optimization and does not reduce the ability of the network. The problem with batch normalization is that small batches of data with small distribution gaps can be regarded as introducing noise for normalization operations and model training, increasing the robustness of the model; but if the original distribution of each group of small batch data is very different, then different groups of small batch data will undergo different data transformations, which increases the difficulty of model training.
[0032] Step 260, the loss function of the GAN in this experiment is divided into two parts: the loss function of the generator and the loss function of the discriminator, which are used to optimize the generator and the discriminator respectively. The loss function of the generator is divided into two parts: one part comes from the judgment of the discriminator, and the other part comes from the difference between the generated fake picture and the real picture. We hope that the picture generated by the generator is as close to the real picture as possible, so that the discriminator will judge it as 1. The closer the result of the discriminator is to 1, the smaller the loss function value is, and vice versa, the closer it is to 0, the larger the loss function value is. At the same time, we use the average value of the square of the difference between the generated picture and the real picture as the second part of the generator loss function to ensure that the generated picture is as close to the content of the original picture as possible, rather than a new image with no content.
[0033] The loss function formula of the generator is:
[0034]
[0035] The loss function of the discriminator also consists of two parts, one is to judge the real picture as 1, and the other is to judge the generated picture as 0. The closer the real picture judgment is to 1 and the generated picture judgment is to 0, the smaller the loss function is. Conversely, the closer the real picture judgment is to 0 and the generated picture is to 1, the larger the loss function value is.
[0036] Discriminator loss function formula
[0037]
[0038] The loss function of the generator and the discriminator uses the cross entropy method. The output of the discriminator is Sigmoid calculated, and the output value between 0 and 1 is used as the probability distribution to calculate the cross entropy. Taking the loss function of the discriminator as an example, the specific calculation is as follows (x is the judgment result output by the discriminator, and y is the expected value (0 or 1)):
[0039]
[0040] Beneficial Effects
[0041] The radar image augmentation method based on generative adversarial networks of the present invention supports deep learning training based on radar time-frequency graphs with a small amount of data. Due to the characteristics of radar time-frequency graphs, some conventional image augmentation methods are not applicable. For example, the spectrum is augmented using a random cropping augmentation method. Obviously, it is difficult to ensure that the cropped part contains micro-Doppler features that can express personnel information. If the cropped part is exactly the background part of the spectrum, the augmented image will not promote model training, but may pollute the existing data, causing the model to converge more slowly or even difficult to converge. The radar image augmentation method based on generative adversarial networks of the present invention has advantages over traditional data augmentation methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to clearly explain the technical steps of the present invention, all the drawings used in the description of the present invention are briefly described below. It should be noted that the drawings described below are only some examples of the implementation of the present invention, and other ordinary technicians in this field can still obtain other drawings in other different scenarios based on these drawings.
[0043] Attached Figure 1 It is a radar time-frequency map augmentation model using a generative adversarial network;
[0044] Attached Figure 2 It is a generative adversarial network model;
[0045] Attached Figure 3 It is a deep convolutional generative adversarial network generator architecture;
[0046] Attached Figure 4 This is a sample of the radar time Doppler pattern of human motion;
[0047] Attached Figure 5 Generate a network structure diagram;
[0048] Attached Figure 6 This is a schematic diagram of the basic structure of the generative adversarial network; DETAILED DESCRIPTION
[0049] The steps and processes of the present invention are described completely and clearly below in conjunction with the drawings in the present application. It is obvious that the example described in the present application is only an example application scenario of the present invention, and other results based on the content of the present invention without making substantial changes all fall within the protection scope of the present invention.
[0050] Attached Figure 1 It is a basic model of the present invention, which shows the basic process included in the present invention. In this example model, the input is a radar time-frequency image. The objective function of the generative adversarial network can be expressed as follows:
[0051]
[0052] Where P data refers to the sample of the real data distribution, P z(x) represents the data distribution of generated data. When the two are equal, the global optimal solution can be achieved. The expectation is to hope that the data distribution fitted by the generator is similar to the real data distribution, but not completely consistent with the real data. The role of expectation is to fit the data with different content from the real data but with the same distribution characteristics under the condition of sufficient input data. GAN not only provides a widely applicable adversarial training model, but more importantly, it can prove that the data fitted by the generator can converge to the real data input by the discriminator. Under the premise of sufficient capacity, if the discriminator can reach the optimal value given by the generator in each iteration, updating the generator on this basis can make the generated data converge to the real data.
[0053] Attached Figure 2 It is a generative adversarial network model. When we sample a picture, there will be some low-density areas. At this time, there are few corresponding samples. In order to solve this problem, we can adopt the method of adding noise. The generator adds random noise to the image to fill the original low-density area and generate the relatively uniform data we need.
[0054] The generated data and real data are simultaneously passed into the discriminator for discrimination. When the output value is consistent with the expected value, it is judged to be true and its true loss is calculated. At the same time, the data is returned to the generator to update the weights in the generator. When the output value is inconsistent with the expected value, it is judged to be false, and the data is also returned to update the weights of the generator, and finally the judgment result is output.
[0055] Attached Figure 3 It is the generator model of the deep convolutional generative adversarial network. The improvement of this network has improved the stability of the generative adversarial network model training to a certain extent. The input data vector is processed through 4 layers of deconvolution, and the image size displayed in the output layer is 64×64. The discriminator's result is similar to it. The comparison and discrimination of real data and generated data are completed through several layers of convolution processing, and finally the scalar result generated by the discriminator is output in the average pooling layer. The deep convolutional generative adversarial network improves the stability of the generative adversarial network model by removing the maximum sampling layer, replacing the fully connected layer with the global average sampling layer, adding a batch normalization layer, and changing the activation function.
[0056] Attached Figure 4 This is an example of a human motion radar time Doppler map. The movement frequency and speed of different parts of the human body are inconsistent, so they appear in different discrete degrees in the time Doppler map. The dark color represents the body trunk, and the light color represents the movement of the limbs and possible noise interference.
[0057] Attached Figure 5It is a diagram of the structure of the generative network. The generative network is built by CNN and is mainly divided into three parts: downsampling part, deep feature processing part and upsampling part. The generative network uses CNN to capture the information of the local receptive field from the input image and reconstruct the micro-Doppler signal based on the local features. At the same time, based on the weight sharing characteristics of CNN, the convolution kernel that captures the local features can form effective new time-frequency maps in different regions. Through the learning of the convolution kernel, the features of the generated new time-frequency map can match the features of the original time-frequency map. This approach enables CNN to generate time-frequency maps that are effective for training.
[0058] Attached Figure 6 It is a schematic diagram of the basic structure of the generative adversarial network. By adding noise to the generative network, an augmented image is generated. The real image is then distinguished from the augmented image generated by the generative network. The loss function is then calculated and the weights of the generative network are updated. Finally, convergence is achieved. The generated radar time-frequency diagram meets the requirements of subsequent processing, realizing radar data augmentation.
Claims
1. A radar time-frequency image augmentation method based on generative adversarial network, It is characterized in that include: Data augmentation for radar time-frequency images to support deep learning training of small data sets; Train the generator and discriminator of the generative adversarial network. The generator is used to learn the distribution form and characteristics of the real signal, while the discriminator judges the difference between the real signal and the generated signal and returns the difference, ultimately making the generated signal consistent with the real signal. Both the generator and the discriminator need to be implemented using a convolutional neural network, so it is looking for a global optimization problem and requires sufficient input of real radar time-frequency image data.
2. The method according to claim 1, It is characterized in that The samples of the real data distribution and the generated data distribution can reach the global optimal solution when they are equal; the expected value is to hope that the data distribution fitted by the generator is similar to the real data distribution, but not completely consistent with the real data. The role of expectation is that under the condition of sufficient input data, the fitted data and the real data have different contents but the same distribution characteristics. Generative adversarial networks not only provide a widely applicable adversarial training model, but more importantly, they can prove that the data fitted by the generator can converge to the real data input by the discriminator; under the premise of sufficient capacity, if the discriminator can reach the optimal value given by the generator in each iteration, updating the generator on this basis can make the generated data converge to the real data: Where P data refers to the sample of the real data distribution, P z (x) represents the distribution of generated data. When the two are equal, the global optimal solution can be achieved.
3. The method according to claim 1, It is characterized in that The input data vector is processed through 4 layers of deconvolution, and the image size displayed in the output layer is 64×64. The result of the discriminator is similar to it. The comparison and discrimination of real data and generated data are completed through several layers of convolution processing, and finally the scalar result generated by the discriminator is output in the average pooling layer; the deep convolutional generative adversarial network improves the stability of the GAN model by removing the maximum sampling layer, replacing the fully connected layer with the global average sampling layer, adding a batch normalization (BatchNormalization, BN) layer, and changing the activation function.
4. The method according to claim 1, It is characterized in that This model uses strided convolution processing to replace the original maximum sampling operation, which improves the network's ability to autonomously learn and use sampling functions, and uses global pooling to replace the fully connected layer; the application of the fully connected layer makes GAN converge quickly, but at the same time reduces the stability of GAN. Replacing the fully connected layer with global pooling is exchanging convergence speed for training stability. The main function of the BN layer is to normalize the scale of each layer to avoid gradient vanishing or gradient overflow, and at the same time can increase the convergence speed by 5 to 20 times.
5. The method according to claim 1, It is characterized in that The output layer of the generator uses the function: g(x) = tanh(x) The remaining layers use the ReLU function: g(x)=max(0,x) Leaky-ReLU function is used in all layers of the discriminator: Where a is a very small parameter. This setting allows the activation function to correct the distribution of the data while retaining the values on the negative axis.
