Incremental training method and device of sar target recognition neural network, equipment and medium

By employing base class training and incremental training methods, and utilizing feature-guided evolutionary loss and cross-entropy loss to adjust neural network parameters, the problem of performance degradation in the recognition of new and old categories in SAR images by deep neural networks is solved, enabling rapid incremental learning to adapt to incremental data in SAR target recognition.

CN117765310BActive Publication Date: 2026-11-20NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311709803.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-12
Publication Date
2026-11-20
Estimated Expiration
2043-12-12

AI Technical Summary

Technical Problem

When learning new target categories in SAR images, existing deep neural networks tend to experience a sharp decline in the recognition performance of old categories, making it difficult to quickly adapt to incremental data and maintain the original classification ability in open scenes.

Method used

A base class training and incremental training method is adopted. By acquiring base class datasets and incremental datasets, the target recognition neural network is initially trained and trained multiple times. The total loss function is calculated using feature-guided evolutionary loss, feature distillation loss and maximum cross-entropy loss, and the neural network parameters are adjusted to achieve incremental learning.

Benefits of technology

It effectively performs timely incremental learning when new category targets appear, without forgetting the old category targets that have already been learned, thus maintaining stable recognition performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117765310B_ABST
    Figure CN117765310B_ABST
Patent Text Reader

Abstract

The application relates to an incremental training method, device and equipment and medium of a SAR target recognition neural network. The target recognition neural network is preliminarily trained by using old class data, and then the target recognition neural network is trained multiple times by using incremental data, that is, newly appearing target class images. In each iteration training, the feature guide evolution loss, the feature distillation loss and the maximum cross-entropy loss are obtained by calculating the replay data in a group of incremental training samples and the incremental data, and the target recognition neural network is trained according to the losses to complete the incremental training. By using the training method, when new class targets appear, incremental learning can be performed in time, and the old class targets that have been learned will not be forgotten.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of SAR target automatic identification technology, and in particular to an incremental training method, apparatus, device and medium for SAR target identification neural network. Background Technology

[0002] Synthetic Aperture Radar (SAR) can perform long-range detection day and night, and in all weather conditions. SAR data differs from optical data in that it contains amplitude and phase information and lacks rotation-invariant properties. These characteristics make SAR data interpretation more challenging, requiring specialized operators to provide interpretation results. Automatic Target Recognition (ATR) provides a practical solution for interpreting SAR data. In recent years, SAR target automatic recognition methods based on deep neural networks have made significant progress.

[0003] However, for specific targets, such as uncooperative targets, only a limited number of SAR images can be obtained. Furthermore, due to the unique scattering characteristics of targets, SAR identification model training data requires a large number of target samples under various radar operating conditions and background clutter. The use of extensive simulated data to supplement measured data has received widespread attention in recent years. Generating simulated SAR images using electromagnetic calculation tools is a relatively mature technique, and simulated data can possess electromagnetic characteristics similar to measured data. In addition, simulated data offers many other advantages, such as the ability to generate large amounts of data at a relatively low cost and automatic image labeling. These characteristics make simulated data highly suitable for application in SAR target identification algorithms.

[0004] However, in widely used paradigms, deep neural network models are trained on datasets with a fixed number and number of categories, based on the assumption of independent and identical distributions. In the real world, however, sensors continuously capture new SAR images, and the number of data categories constantly increases. Yet, deep neural network models learning new categories often lead to a sharp decline in the performance of older categories—a phenomenon known as catastrophic forgetting. Therefore, it is necessary to develop a new SAR ATR paradigm for open scenarios, enabling models to quickly adapt to incremental data and learn new categories with limited SAR data while maintaining their original classification capabilities. Summary of the Invention

[0005] Therefore, it is necessary to provide an incremental training method, apparatus, device, and medium for a SAR target recognition neural network that can continuously learn for new categories, in order to address the above-mentioned technical problems.

[0006] An incremental training method for a SAR target recognition neural network, the method comprising: Obtain a base class dataset and an incremental dataset, wherein the base class dataset and the incremental dataset respectively include SAR target images of the base class and SAR target images of the incremental class; The target recognition neural network is trained using the base class dataset to obtain a target recognition neural network that can recognize basic categories. The SAR images in the base class dataset are filtered according to the average features of each base class to obtain a representative image for each base class, and a playback dataset is generated based on each representative image. The target recognition neural network is incrementally trained using the replay dataset and the incremental dataset, and the replay dataset and the incremental dataset are divided into multiple corresponding groups of incremental training samples. During incremental training of the initial target recognition neural network, each group of incremental training samples is sequentially input into the target recognition neural network for multiple iterative training. In each iteration of training, a feature relationship structure is constructed based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data of the set of incremental training samples is used as the feature distillation loss. The maximum cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, the feature distillation loss, and the maximum cross-entropy loss. In each iteration of training, the parameters in the target recognition neural network are adjusted according to the total loss function until convergence is achieved, thus completing the incremental training of the target recognition neural network.

[0007] In one embodiment, the incremental data includes measured incremental data and simulated incremental data.

[0008] In one embodiment, filtering the SAR images in the base class dataset based on the average features of each base class to obtain a representative image for each base class includes: Feature extractor is used to extract features from all SAR target images in the base class dataset, and the feature average value for each base class is calculated; The SAR target image that is closest to the average feature value of each base category is used as the representative image representing the corresponding base category.

[0009] In one embodiment, generating the playback dataset from each representative image includes: The interval angle is determined based on the preset number of items to be saved for each basic category and the 360° angle. Using the azimuth angle of the representative image as the initial angle and the interval angle, multiple image data related to the representative image are obtained from the base class dataset; The playback dataset is generated from each of the representative images and the image data associated with each representative image.

[0010] In one embodiment, when dividing the playback data, measured incremental data, and simulated incremental data: The measured incremental data and the replay data are used as measured data. The measured data and the simulated incremental data are grouped separately. Then, the grouped measured data and the simulated incremental data are asynchronously combined to obtain a set of incremental training samples. The incremental training samples in each group include replay data, measured incremental data, and simulated incremental data.

[0011] In one embodiment, in each iteration of training: A first feature relationship is constructed based on the replay data and the measured incremental data; A second feature relationship is constructed based on the playback data and the simulation incremental data; The KL divergence between the first feature relation and the second feature relation is used as the feature-guided evolutionary loss.

[0012] In one embodiment, the incremental training method includes multiple incremental training iterations; In the first incremental training, the replay data is obtained based on the base class dataset; In subsequent incremental training iterations, the measured incremental data from the current incremental training iteration is filtered to obtain the measured data. The filtered measured data is then superimposed with the current replay data to obtain the replay data for the next incremental training iteration. In one embodiment, the target recognition neural network includes a feature extractor and a classifier.

[0013] In this embodiment, an incremental training device for a SAR target recognition neural network is also provided, the device comprising: The training data acquisition module is used to acquire a base class dataset and an incremental dataset, wherein the base class dataset and the incremental dataset respectively include SAR target images of the base class and SAR target images of the incremental class. The base class training module is used to train the target recognition neural network using the base class dataset to obtain a target recognition neural network that recognizes basic categories. The playback dataset generation module is used to filter the SAR images in the base class dataset according to the average features of each base class to obtain a representative image corresponding to each base class, and generate a playback dataset based on each representative image. The incremental training sample grouping module is used to perform incremental training on the target recognition neural network using the playback dataset and the incremental dataset, and to divide the playback dataset and the incremental dataset into multiple corresponding groups of incremental training samples. The incremental training module is used to sequentially input each group of incremental training samples into the target recognition neural network for multiple iterative training during incremental training of the initial target recognition neural network. The total loss function calculation module is used to construct a feature relationship structure in each training iteration based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data in the set of incremental training samples is used as the feature distillation loss. The maximum cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, feature distillation loss and maximum cross-entropy loss. The incremental training completion module is used to adjust the parameters in the target recognition neural network according to the total loss function in each iteration of training until convergence, thus completing the incremental training of the target recognition neural network.

[0014] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program performing the following steps: Obtain a base class dataset and an incremental dataset, wherein the base class dataset and the incremental dataset respectively include SAR target images of the base class and SAR target images of the incremental class; The target recognition neural network is trained using the base class dataset to obtain a target recognition neural network that can recognize basic categories. The SAR images in the base class dataset are filtered according to the average features of each base class to obtain a representative image for each base class, and a playback dataset is generated based on each representative image. The target recognition neural network is incrementally trained using the replay dataset and the incremental dataset, and the replay dataset and the incremental dataset are divided into multiple corresponding groups of incremental training samples. During incremental training of the initial target recognition neural network, each group of incremental training samples is sequentially input into the target recognition neural network for multiple iterative training. In each iteration of training, a feature relationship structure is constructed based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data of the set of incremental training samples is used as the feature distillation loss. The maximum cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, the feature distillation loss, and the maximum cross-entropy loss. In each iteration of training, the parameters in the target recognition neural network are adjusted according to the total loss function until convergence is achieved, thus completing the incremental training of the target recognition neural network.

[0015] A computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor: Obtain a base class dataset and an incremental dataset, wherein the base class dataset and the incremental dataset respectively include SAR target images of the base class and SAR target images of the incremental class; The target recognition neural network is trained using the base class dataset to obtain a target recognition neural network that can recognize basic categories. The SAR images in the base class dataset are filtered according to the average features of each base class to obtain a representative image for each base class, and a playback dataset is generated based on each representative image. The target recognition neural network is incrementally trained using the replay dataset and the incremental dataset, and the replay dataset and the incremental dataset are divided into multiple corresponding groups of incremental training samples. During incremental training of the initial target recognition neural network, each group of incremental training samples is sequentially input into the target recognition neural network for multiple iterative training. In each iteration of training, a feature relationship structure is constructed based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data of the set of incremental training samples is used as the feature distillation loss. The maximum cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, the feature distillation loss, and the maximum cross-entropy loss. In each iteration of training, the parameters in the target recognition neural network are adjusted according to the total loss function until convergence is achieved, thus completing the incremental training of the target recognition neural network.

[0016] The aforementioned incremental training method, apparatus, device, and medium for SAR target recognition neural networks involves first performing initial base class training on the target recognition neural network using old class data, and then performing multiple incremental training iterations using incremental data, i.e., images of newly emerging target categories. In each iteration, feature-guided evolutionary loss, feature distillation loss, and maximum cross-entropy loss are calculated based on replay data from a set of incremental training samples and the incremental data. These losses are then used to train the target recognition neural network to complete the incremental training. This training method effectively enables timely incremental learning when new target categories appear, without forgetting previously learned old target categories. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating the incremental training method for a SAR target recognition neural network in one embodiment; Figure 2 This is a schematic diagram illustrating the application of training data in each training stage in one embodiment. Figure 3 This is a visualization of the feature distribution and the difference in feature distribution during incremental learning in one embodiment. Figure 4 This is a schematic diagram illustrating an asynchronous data usage strategy in one embodiment; Figure 5 This is a schematic diagram of the method flow framework of this paper in one embodiment; Figure 6 This is a block diagram of the incremental training device for a SAR target recognition neural network in one embodiment; Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0019] In existing technologies, when deep neural networks learn new target categories in SAR images, their performance in recognizing older, previously learned target categories drops sharply. For example... Figure 1 As shown, an incremental training method for a SAR target recognition neural network is provided, including the following steps: Step S100: Obtain the base class dataset and the incremental dataset. The base class dataset and the incremental dataset include SAR target images of the base class and the incremental class, respectively.

[0020] Step S110: Use the base class dataset to train the target recognition neural network to obtain a target recognition neural network that recognizes basic categories.

[0021] Step S120: SAR images in the base class dataset are filtered according to the average features of each base class to obtain a representative image for each base class, and a playback dataset is generated based on each representative image.

[0022] Step S130: The target recognition neural network is incrementally trained using the replay dataset and the incremental dataset, and the replay dataset and the incremental dataset are divided into multiple groups of incremental training samples.

[0023] Step S140: When incrementally training the initial target recognition neural network, each group of incremental training samples is sequentially input into the target recognition neural network for multiple iterative training.

[0024] Step S150: In each iteration of training, a feature relationship structure is constructed based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data of the set of incremental training samples is used as the feature distillation loss. The maximum cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, the feature distillation loss, and the maximum cross-entropy loss.

[0025] Step S160: In each iteration of training, the parameters in the target recognition neural network are adjusted according to the total loss function until convergence is achieved, thus completing the incremental training of the target recognition neural network.

[0026] In this embodiment, the incremental training method includes two steps: base class training, which is the process described in step S110, and incremental training, which is the process described in steps S130 to S160.

[0027] Furthermore, incremental training of the target recognition neural network requires multi-stage learning; the class learned initially is called the task. The base class in the code, or simply base class Next learning task Incremental classes in the context of incremental classes, or simply incremental classes. We will then learn incremental classes in sequence. Incremental class And so on.

[0028] In learning tasks The data used includes playback data, measured incremental data, and simulated incremental data. Playback data belongs to the old class, specifically divided into the base class and the old incremental class. Measured and simulated incremental data belong to the new class, also called the incremental class. Specifically, the target recognition neural network is first trained using the base class, and then incrementally trained using the target neural network after collecting measured data of unknown targets.

[0029] In this embodiment, considering that there are relatively few newly emerging unknown category images acquired by the sensor, while a large amount of training data is needed when training the neural network, the method also constructs corresponding simulated incremental data based on the measured unknown category target images (i.e., measured incremental data) to increase the amount of training data during incremental training.

[0030] In this embodiment, the base class training process is the process described in step S110. Incremental training, on the other hand, involves retraining the target recognition neural network after detecting SAR images of some unknown target categories over a period of time. Furthermore, the training at each stage is not a one-time event but rather multiple times, so this method can continuously learn from newly detected unknown target categories.

[0031] In this embodiment, base class training is performed. Given a base class dataset Includes categories ,in This represents the number of categories in the base class data. Base class training is the same as training with closed conditions on regular data. The data is directly input into the target recognition neural network model, and the model is updated using gradient backpropagation. After multiple rounds of training, the final model is obtained.

[0032] In step S120, incremental learning is performed. Previously, the SAR images in the base class dataset needed to be filtered. This filtering process involved two steps. The first step selected representative images for each category, ensuring they best represented the old data. This first step yielded a small amount of data, which, while representative, lacked richness. Therefore, the second step was used to enrich the data. Finally, the filtered images were used to construct the playback dataset.

[0033] Specifically, the first step includes: firstly, using a feature extractor to extract features from all SAR target images in the base class dataset, and calculating the feature average value for each base class; then, taking the SAR target image in each base class that is closest to the feature average value of that class as the representative image representing the corresponding base class.

[0034] Specifically, the second step includes: determining the interval angle based on the preset number of images to be saved for each base category and the 360° angle. Using the azimuth angle of the representative image as the initial angle and the interval angle, multiple image data related to the representative image are obtained from the base category dataset. For example, if each target category can save 6 images, then dividing 360° by 6 images results in an interval angle of 60°. Then, based on the azimuth angle of the representative image as the starting point, images with corresponding azimuth angles are selected from the same target category as the representative image at 60° intervals. For example, if the azimuth angle of the representative image is 13°, then images with azimuth angles of 73°, 133°, 193°, 253°, and 313° can be selected.

[0035] Finally, the representative images and the image data associated with each representative image are used to generate a playback dataset.

[0036] In the incremental training steps S130 to S160, due to the limited amount of measured data, simulated incremental data is introduced in this embodiment. While simulated data serves as a good supplement to measured incremental data in short-term incremental learning when introduced into incremental SAR target automatic identification, the model's performance significantly degrades in long-term incremental learning. Furthermore, misclassifications primarily occur in previous incremental classes, i.e., those using simulated data. arrive The data. For example... Figure 3 As shown, in the first incremental learning task In There are distribution differences between the measured incremental data and the simulated data. .exist In There is a new distributional difference between the measured incremental data and the simulated data. Furthermore, the old distribution differences In incremental learning, it is amplified to ,in It is a distributional variance amplification factor related to the task. Therefore, The total distribution difference can be expressed as Through incremental learning, old distributional differences are continuously amplified and combined with new distributional differences. In the incremental learning task... In this context, the overall distributional difference can be expressed as: The accumulation of nonlinear distribution differences causes simulation data to perform poorly in long-term incremental learning. Therefore, the problems that need to be solved when introducing simulation data into incremental SAR target automatic identification include: 1. Reducing single-shot distribution differences. 2. Reduce the amplification of distribution differences caused by incremental learning.

[0037] In this embodiment, during incremental training, each group of incremental training samples includes replay data, measured incremental data, and simulated incremental data. When dividing the replay data, measured incremental data, and simulated incremental data, the measured incremental data and replay data are used as measured data. The measured data and simulated incremental data are then grouped separately, and the grouped measured data and simulated incremental data are asynchronously combined to obtain a set of incremental training samples. Each set of incremental training samples includes replay data, measured incremental data, and simulated incremental data.

[0038] Specifically, during incremental training, training data needs to be input into the target recognition neural network in batches. Since this method uses both simulated and experimental data, using conventional random sampling methods to construct batches will lead to data imbalance. Therefore, an asynchronous data usage strategy is proposed to complement the above training framework.

[0039] Specifically, such as Figure 4As shown, the data is first divided into measured data streams and simulated data streams based on their sources. Then, each data stream is grouped, with each group containing a fixed number of images. A batch of data is then formed by combining one batch from the measured data stream and one batch from the simulated data stream. These batches are then sequentially input into the network for training. In other words, the simulated and measured data are cyclically processed during training. This asynchronous data usage strategy ensures a relatively stable amount of each data type in each batch, while allowing the target recognition neural network to learn from as much simulated data as possible, which aligns well with the method presented in this paper.

[0040] In this embodiment, to address the problems arising from introducing simulated data into SAR target automatic identification, feature-guided evolutionary loss is used to reduce the distributional discrepancies between measured and simulated data. Feature relation structures are crucial in class incremental learning, describing the semantic similarity between different classes. For example, the features of a simulated tank image are theoretically similar to those of an armored vehicle but not to those of a ship, just like in a measured tank image. This relational structure has clear physical meaning and should be maintained during incremental learning to reduce distributional discrepancies between measured and simulated data. Therefore, if an incremental class is similar to an older class, the features of the corresponding simulated data should be trained to be closer to the features of that older class. Conversely, if they are dissimilar, training should push their features away from each other to strengthen their negative correlation. Based on these objectives, this method uses the feature relation structure composed of measured incremental data and replay data as an anchor to guide the feature evolution of the simulated data.

[0041] Consider data from playback Image and from incremental data Images (containing both simulated and measured incremental data) The relationship between them can be described as the cosine similarity of their features: (1) Then, the feature relation structure Defined as the standardized set of cosine similarities between replay data and incremental data: (2) In formula (2), Temperature is used to adjust the smoothness of the characteristic relation structure.

[0042] In this embodiment, during the incremental training phase of new data, in each iteration of training: a first feature relationship is constructed based on the replay data and the measured incremental data, a second feature relationship is constructed based on the replay data and the simulated incremental data, and the KL divergence between the first feature relationship and the second feature relationship is used as the feature-guided evolution loss.

[0043] Specifically, incremental data Includes measured incremental data and simulation incremental data Therefore, the feature relation structure is divided into two types. By minimizing their Kullback-Leibler (KL) divergence loss This makes the measured incremental data and simulation incremental data The distribution difference is the smallest: (3) To reduce the amplification of distribution differences, a characteristic distillation loss is also introduced in this embodiment. Feature distillation loss is performed only on replay data, encouraging the use of replay data within the current model. Compared with the previous stage model They have similar characteristics: (4) In formula (4), cosine similarity is used to measure the degree of similarity of features.

[0044] In addition, in order to achieve the classification task, all training sets must be... The target recognition neural network is fed with replay datasets, measured incremental datasets, and simulated incremental datasets, and its predictions are based on these datasets and the true labels. Maximum cross-entropy loss Update the model: (5) Therefore, the total loss function is expressed as: (6) In each iteration of training, training data samples are input into the model, the total loss function is calculated, and gradient backpropagation is used to update the target recognition neural network until the total loss function converges.

[0045] In this embodiment, the new class incremental data training phase can be repeated multiple times. After collecting a certain amount of measured data on unknown targets, the new class incremental data training phase can be performed again on the currently trained target recognition neural network. In each new class incremental data training phase, the replay data is all previously trained old data. Specifically, in the first new class incremental data training phase, the replay data is obtained by filtering the base class dataset according to step S120. In subsequent new class incremental data training phases, the measured incremental data in the current new class incremental data training phase is filtered to obtain filtered measured data. The filtered measured data is then superimposed with the current replay data to obtain the replay data for training in the next new class incremental data training phase.

[0046] Specifically, the filtered measured data are processed in the same way as in step S120, which will not be repeated here.

[0047] In this embodiment, the target recognition neural network includes a feature extractor. and classifier .

[0048] In one embodiment, the target recognition neural network employs a ResNet18 network, with its first 17 layers being convolutional. Layers are used as feature extractors The last fully connected layer serves as a classifier. .

[0049] like Figure 5 As shown, a flowchart of the entire incremental training method is provided.

[0050] In this paper, the effectiveness of the proposed method is also demonstrated through experiments.

[0051] Experimental setup: The experiment used the MSTAR dataset published by the Defense Advanced Research Project Agency (DARPA) and the SAMPLE simulation dataset provided by the Air Force Research Laboratory (AFRL). For the old class dataset, 20 images were provided for each class, and for the new class dataset, 10 images were provided for each class. Specific data details are shown in Table 1.

[0052] Table 1: Use of Measured Data and SAMPLE Simulation Data

[0053] The experimental results are shown in Table 2.

[0054] Table 2: Results of Experimental Classification Accuracy

[0055] Table 2 This represents the number of categories identified in each increment.

[0056] The experimental results show that the method presented in this paper achieves optimal recognition under most conditions compared with previous methods, demonstrating the superiority of this invention.

[0057] The incremental training method for the SAR target recognition neural network described above involves first performing initial base class training on the neural network using old class data, and then performing multiple incremental training iterations using incremental data, i.e., images of newly emerging target categories. In each iteration, feature-guided evolutionary loss, feature distillation loss, and maximum cross-entropy loss are calculated based on replay data from a set of incremental training samples and the incremental data. These losses are then used to train the target recognition neural network to complete the incremental training. This training method effectively enables timely incremental learning when new target categories appear, without forgetting previously learned old target categories.

[0058] It should be understood that, although Figure 1 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0059] In one embodiment, such as Figure 6 As shown, an incremental training device for a SAR target recognition neural network is provided, comprising: a training data acquisition module 200, a base class training module 210, a playback dataset generation module 220, an incremental training sample grouping module 230, an incremental training module 240, a total loss function calculation module 250, and an incremental training completion module 260, wherein: The training data acquisition module 200 is used to acquire a base class dataset and an incremental dataset, wherein the base class dataset and the incremental dataset respectively include SAR target images of the base class and SAR target images of the incremental class.

[0060] The base class training module 210 is used to train the target recognition neural network using the base class dataset to obtain a target recognition neural network that recognizes basic categories.

[0061] The playback dataset generation module 220 is used to filter the SAR images in the base class dataset according to the average features of each base class to obtain a representative image corresponding to each base class, and generate a playback dataset based on each representative image.

[0062] The incremental training sample grouping module 230 is used to perform incremental training on the target recognition neural network using the playback dataset and the incremental dataset, and to divide the playback dataset and the incremental dataset into corresponding multiple groups of incremental training samples.

[0063] The incremental training module 240 is used to sequentially input each group of incremental training samples into the target recognition neural network for multiple iterative training during incremental training of the initial target recognition neural network.

[0064] The total loss function calculation module 250 is used to construct a feature relationship structure in each iteration of training based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data in the set of incremental training samples is used as the feature distillation loss. The maximum cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, the feature distillation loss, and the maximum cross-entropy loss.

[0065] The incremental training completion module 260 is used to adjust the parameters in the target recognition neural network according to the total loss function in each iteration of training until convergence, thus completing the incremental training of the target recognition neural network.

[0066] Specific limitations regarding the incremental training device for the SAR target recognition neural network can be found in the limitations of the incremental training method for the SAR target recognition neural network described above, and will not be repeated here. Each module in the aforementioned incremental training device for the SAR target recognition neural network can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0067] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements an incremental training method for a SAR target recognition neural network. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0068] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0069] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps: Obtain a base class dataset and an incremental dataset, wherein the base class dataset and the incremental dataset respectively include SAR target images of the base class and SAR target images of the incremental class; The target recognition neural network is trained using the base class dataset to obtain a target recognition neural network that can recognize basic categories. The SAR images in the base class dataset are filtered according to the average features of each base class to obtain a representative image for each base class, and a playback dataset is generated based on each representative image. The target recognition neural network is incrementally trained using the replay dataset and the incremental dataset, and the replay dataset and the incremental dataset are divided into multiple corresponding groups of incremental training samples. During incremental training of the initial target recognition neural network, each group of incremental training samples is sequentially input into the target recognition neural network for multiple iterative training. In each iteration of training, a feature relationship structure is constructed based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data of the set of incremental training samples is used as the feature distillation loss. The maximum cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, the feature distillation loss, and the maximum cross-entropy loss. In each iteration of training, the parameters in the target recognition neural network are adjusted according to the total loss function until convergence is achieved, thus completing the incremental training of the target recognition neural network.

[0070] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor: Obtain a base class dataset and an incremental dataset, wherein the base class dataset and the incremental dataset respectively include SAR target images of the base class and SAR target images of the incremental class; The target recognition neural network is trained using the base class dataset to obtain a target recognition neural network that can recognize basic categories. The SAR images in the base class dataset are filtered according to the average features of each base class to obtain a representative image for each base class, and a playback dataset is generated based on each representative image. The target recognition neural network is incrementally trained using the replay dataset and the incremental dataset, and the replay dataset and the incremental dataset are divided into multiple corresponding groups of incremental training samples. During incremental training of the initial target recognition neural network, each group of incremental training samples is sequentially input into the target recognition neural network for multiple iterative training. In each iteration of training, a feature relationship structure is constructed based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data of the set of incremental training samples is used as the feature distillation loss. The maximum cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, the feature distillation loss, and the maximum cross-entropy loss. In each iteration of training, the parameters in the target recognition neural network are adjusted according to the total loss function until convergence is achieved, thus completing the incremental training of the target recognition neural network.

[0071] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0072] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0073] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. An incremental training method for a SAR target recognition neural network, characterized in that, The method includes: Obtain a base class dataset and an incremental dataset, wherein the base class dataset and the incremental dataset respectively include SAR target images of the base class and SAR target images of the incremental class, wherein the incremental data includes measured incremental data and simulated incremental data; The target recognition neural network is trained using the base class dataset to obtain a target recognition neural network that can recognize basic categories. The SAR images in the base class dataset are filtered according to the average features of each base class to obtain a representative image for each base class, and a playback dataset is generated based on each representative image. The target recognition neural network is incrementally trained using the replay dataset and the incremental dataset, and the replay dataset and the incremental dataset are divided into multiple corresponding groups of incremental training samples. During incremental training of the target recognition neural network, each group of incremental training samples is sequentially input into the target recognition neural network for multiple iterative training. In each iteration of training, a feature relationship structure is constructed based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data of the set of incremental training samples is used as the feature distillation loss. The cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, the feature distillation loss, and the cross-entropy loss. A first feature relationship is constructed based on the replay data and the measured incremental data, and a second feature relationship is constructed based on the replay data and the simulated incremental data. The KL divergence between the first feature relationship and the second feature relationship is used as the feature-guided evolution loss. In each iteration of training, the parameters in the target recognition neural network are adjusted according to the total loss function until convergence is achieved, thus completing the incremental training of the target recognition neural network.

2. The incremental training method according to claim 1, characterized in that, The SAR images in the base class dataset are filtered based on the average features of each base class to obtain a representative image for each base class, including: Feature extractor is used to extract features from all SAR target images in the base class dataset, and the feature average value for each base class is calculated; The SAR target image that is closest to the average feature value of each base category is used as the representative image representing the corresponding base category.

3. The incremental training method according to claim 2, characterized in that, The process of generating the playback dataset based on each representative image includes: The interval angle is determined based on the preset number of items to be saved for each basic category and the 360° angle. Using the azimuth angle of the representative image as the initial angle and the interval angle, multiple image data related to the representative image are obtained from the base class dataset; The playback dataset is generated from each of the representative images and the image data associated with each representative image.

4. The incremental training method according to claim 3, characterized in that, When dividing the playback data, measured incremental data, and simulated incremental data: The measured incremental data and the replay data are used as measured data. The measured data and the simulated incremental data are grouped separately. Then, the grouped measured data and the simulated incremental data are asynchronously combined to obtain a set of incremental training samples. The incremental training samples in each group include replay data, measured incremental data, and simulated incremental data.

5. The incremental training method according to any one of claims 1-4, characterized in that, The incremental training method includes multiple incremental training iterations; In the first incremental training, the replay data is obtained based on the base class dataset; In subsequent incremental training sessions, the measured incremental data in the current incremental training session is filtered to obtain measured data. The filtered measured data is then superimposed with the current replay data to obtain the replay data for the next incremental training session.

6. The incremental training method according to claim 5, characterized in that, The target recognition neural network includes a feature extractor and a classifier.

7. An incremental training device for a SAR target recognition neural network, characterized in that, The device performs the incremental training method according to any one of claims 1-6, including: The training data acquisition module is used to acquire a base class dataset and an incremental dataset, wherein the base class dataset and the incremental dataset respectively include SAR target images of the base class and SAR target images of the incremental class. The base class training module is used to train the target recognition neural network using the base class dataset to obtain a target recognition neural network that recognizes basic categories. The playback dataset generation module is used to filter the SAR images in the base class dataset according to the average features of each base class to obtain a representative image corresponding to each base class, and generate a playback dataset based on each representative image. The incremental training sample grouping module is used to perform incremental training on the target recognition neural network using the playback dataset and the incremental dataset, and to divide the playback dataset and the incremental dataset into multiple corresponding groups of incremental training samples. The incremental training module is used to sequentially input each group of incremental training samples into the target recognition neural network for multiple iterative training during incremental training of the target recognition neural network. The total loss function calculation module is used to construct a feature relationship structure in each training iteration based on the replay data in a set of incremental training samples and the standardized cosine similarity set between incremental data. The KL divergence of the feature relationship structure is used as the feature-guided evolution loss. The similarity between the output features of the target recognition neural network in the previous training stage and the current target recognition neural network in the replay data of the set of incremental training samples is used as the feature distillation loss. The cross-entropy loss is calculated based on the prediction results output by the target recognition neural network and the corresponding ground truth labels of all data in the set of incremental training samples. The total loss function is calculated based on the feature-guided evolution loss, feature distillation loss and cross-entropy loss. The incremental training completion module is used to adjust the parameters in the target recognition neural network according to the total loss function in each iteration of training until convergence, thus completing the incremental training of the target recognition neural network.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.