Remote sensing image small sample class increment target identification method

The recognition network is trained in remote sensing images through the prototype distillation network and the prototype weighting network, which solves the recognition problem caused by the scarcity of base class target samples, significantly improves the performance of small sample class incremental target recognition in remote sensing images, and is suitable for new in infrared images. Identification requirements for category targets.

CN118552849APending Publication Date: 2024-08-27中船智控科技(武汉)有限公司 +1

Patent Information

Application Number
CN202410600785.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing small-sample class incremental learning methods are difficult to successfully train remote sensing image recognition networks when base class target samples are scarce, especially in small-sample target recognition problems where the demand for new class target recognition in infrared images is outstanding.

Method used

The prototype distillation network and prototype weighting network are used to train the recognition network through base class target samples, obtain the base class task prototype and update the prototype dimension in the new class task, combined with the N-way K-shot method to verify the recognition performance, and use the feature extractor and prototype network dimensionality reduction and weighting to improve recognition rate.

Benefits of technology

In the small-sample class incremental target recognition scenario of remote sensing images with few base class target samples, the recognition performance is significantly improved and the problem of catastrophic forgetting of new class samples caused by the network is alleviated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552849A
    Figure CN118552849A
Patent Text Reader

Abstract

The invention discloses a remote sensing image small sample class increment target recognition method, which comprises the following steps of: collecting target samples, constructing a small sample class increment MSTAR data set and an increment VAIS data set, setting a base class task and an increment task, training a recognition network by using a base class target sample based on a small sample learning method, and recognizing a small sample class increment target. Sequentially using the base class target sample to obtain a base class task prototype, training a prototype distillation network and a prototype empowerment network, then splicing the base class task prototype and the prototype of the t-th task to obtain a classifier, using the target sample of the t-th task, updating the dimension of the prototype of the t-th task at different learning rates based on the classifier, and obtaining a target sample of the t-th task; and finally, identifying targets in the first t tasks by using the learned classifier. Compared with an existing small sample class increment target recognition method, the method has better performance in a remote sensing image small sample class increment target recognition scene with rare base class target samples.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image recognition, and relates to a small sample learning method, in particular to a remote sensing image small sample incremental target recognition method. Background Art

[0002] With the rapid development of satellite and airborne imaging technologies, the ability to acquire high-resolution multi-source remote sensing images such as visible light, infrared, and synthetic aperture radar (SAR) has been significantly enhanced. Intelligent interpretation of infrared images for a wide range of applications has become a research hotspot.

[0003] As an important research topic in infrared image interpretation, target recognition has broad application prospects in military reconnaissance, maritime rescue and other tasks. Due to the large differences in the difficulty of obtaining target samples in remote sensing images by different imaging sensors, there are more visible light samples of the target and fewer infrared samples of the target, which makes the problem of small sample target recognition in infrared image interpretation more prominent.

[0004] At the same time, new categories of targets often need to be identified in actual application scenarios. Therefore, the infrared image target recognition network needs to have the ability to continuously learn and identify new categories of targets using a small number of samples, which brings about the need for incremental recognition of small sample classes.

[0005] Existing small-sample incremental recognition methods use sufficient base-class samples to learn a complex model (such as Transformer). However, in actual application scenarios, due to the urgency of the task, only a small number of new class target samples can be used to train the network, and base class target samples are also scarce, making existing small-sample incremental learning methods difficult to apply to small-sample target recognition problems in remote sensing images. Summary of the invention

[0006] The purpose of the present invention is to provide a remote sensing image small sample class incremental target recognition method to alleviate the problem that the existing small sample class incremental learning method is difficult to successfully train the recognition network when the base class target samples are also scarce.

[0007] The technical solution adopted by the present invention to solve the technical problem is: a remote sensing image small sample incremental target recognition method, comprising the following steps:

[0008] (1) Collect samples of SAR remote sensing images / infrared targets of interest, reconstruct the incremental MSTAR dataset and incremental VAIS dataset of small sample classes, and set the base class task S according to the specific sample conditions. 1 With the incremental task S t , use N-way K-shot method to perform the base class task S 1 With the incremental task S t Verify target identification;

[0009] (2) Based on other small sample learning methods, the recognition network is trained using base class target samples;

[0010] (3) Use the base class target sample to obtain the base class task prototype;

[0011] (4) Use base class target samples to train the prototype distillation network PD κ and prototype empowerment networks;

[0012] (5) Concatenate the prototype of the base task and the prototype of the t-th task to obtain a classifier, t>1;

[0013] (6) Using the target sample of the t-th task, update different dimensions of the prototype of the t-th task based on the classifier with different learning rates;

[0014] (7) Use the learned classifier to identify the targets in the first t tasks.

[0015] Furthermore, in step (2), a feature extractor f is constructed based on the base class target samples as the feature extraction part, and a fully connected layer for classification is constructed at the same time, so as to obtain a SAR remote sensing image small sample target recognition network.

[0016] Furthermore, the step (3) defines the number of base class target samples of the cth class in the embedding space as N c Based on the trained feature extractor f, the average features of each class in the base class task are calculated from the base class target samples, and the prototype of the cth class is defined That is, the average characteristics of all training samples of the cth category in the embedding space, from which the prototype of the tth task can be obtained

[0017] Furthermore, in step (4), a batch of base class target samples is input into the trained feature extractor f to obtain sample features, and then input into the prototype distillation network PD with parameter κ κ Perform dimensionality reduction; at the same time, the base class task prototype p 1 Input to the prototype distillation network PD κ Perform dimensionality reduction and then input it into the parameter The prototype weighted network of the base class task is obtained; the base class task prototype weight is combined with the base class task prototype p 1 Perform dot multiplication by dimension to obtain the weighted base class task prototype; calculate the cosine distance between the weighted base class task prototype and each dimension of the sample feature as the predicted probability of each category of the input sample, and then calculate the cross entropy loss L CE ; Obtain the predicted probability of the base class target sample by the small sample learning method, and calculate its KL divergence with the predicted probability obtained based on the prototype, denoted as L KL , based on LCE and L KL Update the prototype distillation network parameters, prototype empowerment network parameters, and base class task prototype p 1 .

[0018] Furthermore, in the steps (5) to (7), all base class target samples of the tth task (t>1) are first input into the feature extractor f and the prototype distillation network PD κ Get the prototype p of the tth task t ; Input a batch of new class samples to the feature extractor f and the prototype distillation network PD κ Get sample features; calculate the weighted average value PWN of the base class task prototype by category, multiply PWN by the new class prototype by dimension, and merge it with the previous task prototype to get the new class prototype p of the tth task new ; Calculate p new The cosine distance from the sample feature is used to obtain the predicted probability and then calculate the cross entropy loss L CE ; Based on cross entropy loss L CE , update the prototype p of the tth task t ; Use the trained new class prototype p new , feature extractor and prototype distillation network PD κ Identify the targets of the first t tasks.

[0019] Furthermore, when the N-way K-shot method is used to verify the base class task, 8 samples from each of the 10 categories are randomly selected as the training set, and all the remaining samples are used to evaluate the network performance.

[0020] Furthermore, when the N-way K-shot method is used to verify the incremental task, 5 base class target samples are randomly selected for each type of target in the new class task dataset for training each time, and the recognition rate of the network is calculated using the samples of the base class and all categories of targets in the current incremental task dataset excluding the base class target samples.

[0021] The beneficial effect of the present invention is that compared with the existing small sample class incremental target recognition method, the method of the present invention has better performance in the small sample class incremental target recognition scenario of remote sensing images where the base class target samples are also scarce. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a schematic diagram of the overall flow of the identification method of the present invention;

[0023] Figure 2 Schematic diagram of the prototype distillation network of the present invention;

[0024] Figure 3 A schematic diagram of a prototype weighted network of the present invention;

[0025] Figure 4 Comparison experimental results for the incremental MSTAR dataset;

[0026] Figure 5 Comparative experimental results for the incremental VAIS dataset. DETAILED DESCRIPTION

[0027] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0028] like Figure 1 As shown, the present invention discloses a remote sensing image small sample class incremental target recognition method. Aiming at the remote sensing image small sample class incremental target recognition problem where base class target samples are also scarce, a prototype distillation network, a prototype weighting network and a training strategy based on prototype selection are designed; firstly, a prototype distillation network is designed to eliminate invalid features extracted by a recognition network, so as to improve the feature's ability to distinguish different categories of targets in base class tasks; secondly, a prototype distillation network and a training strategy based on prototype selection are designed, so as to mark the base class prototype dimensions that are important for base class target recognition in base class tasks, and focus on updating the new class prototypes of the corresponding dimensions in new class tasks, thereby alleviating the catastrophic forgetting problem caused by the network losing the ability to recognize base class targets due to learning new class samples.

[0029] The specific steps include:

[0030] (1) Collect samples of SAR remote sensing images / infrared targets of interest, construct incremental MSTAR datasets and incremental VAIS datasets of small sample classes, reconstruct incremental MSTAR datasets and incremental VAIS datasets of small sample classes, and set base class tasks S according to specific sample conditions. 1 With the incremental task S t , use N-way K-shot method to perform the base class task S 1 With the incremental task S t Target identification is verified.

[0031] Use N-way K-shot method to perform the base class task S 1 When verifying, 8 samples from each category are randomly selected from 10 categories as training sets, expressed as 10-way 8-shot, and all remaining samples are used to evaluate network performance. As a preferred embodiment, the method of the present invention uses the most popular 5-shot method.

[0032] When using the N-way K-shot method to verify the incremental task, 5 base class target samples are randomly selected for each type of target in the new class task dataset for training each time, and the recognition rate of the network is calculated using the samples of the base class and all categories of targets in the current incremental task dataset excluding the base class target samples.

[0033] The first six types of targets in the MSTAR dataset are set as base task data, followed by four incremental tasks, each of which adds one type of target.

[0034] The first three types of targets in the VAIS data set are set as the base task data, followed by four incremental tasks, each of which adds one type of target.

[0035] Base class task S 1 For the incremental MSTAR dataset and incremental VAIS dataset, the batch size is set to 16 and the sample size is adjusted to 32×32.

[0036] (2) Based on the conventional small sample learning method, the base class target samples are used to train the recognition network: a feature extractor f is constructed based on the base class target samples as the feature extraction part, and a fully connected layer is constructed for classification to obtain a small sample target recognition network for SAR remote sensing images.

[0037] (3) Use the base class target sample to obtain the base class task prototype p 1 : Based on the trained feature extractor f, the average features of each class in the base class task are calculated from the base class target samples. These average features are called base class task prototypes.

[0038] First define the number of base class target samples of the cth class in the embedding space as N c , the average feature of all base class target samples of class c in the embedding space is the prototype p of class c c : You can get the prototype of the tth task

[0039] (4) Use base class target samples to train the prototype distillation network PD κ Input a batch of base class target samples to the trained feature extractor f to obtain sample features, and then input them to the prototype distillation network PD with parameter κ. κ Perform dimensionality reduction; at the same time, the base class task prototype p 1 Input to the prototype distillation network PD κ Perform dimensionality reduction and then input it into the parameter The prototype weighted network obtains the prototype weight of the base class task.

[0040] The weight of the base class task prototype is equal to the base class task prototype p1 Perform dot multiplication by dimension to obtain the weighted base class task prototype, calculate the cosine distance between the weighted base class task prototype and each dimension of the sample feature, and use it as the predicted probability for each category of the input sample, and then calculate the cross entropy loss L CE ; Obtain the predicted probability of the base class target sample by the small sample learning method, and calculate its KL divergence with the predicted probability obtained based on the prototype, denoted as L KL ; Based on L CE and L KL Update the prototype distillation network parameters, prototype empowerment network parameters, and base class task prototype p 1 .

[0041] (5) Splicing base class task prototype p 1 The classifier is obtained with the prototype of the t-th task, t>1.

[0042] (6) Using the target sample of the t-th task, update different dimensions of the prototype of the t-th task based on the classifier with different learning rates.

[0043] (7) Use the learned classifier to identify the targets in the first t tasks.

[0044] Specifically: first, all base class target samples of the tth task (t>1) are input into the feature extractor f and the prototype distillation network PD κ Get the prototype p of the tth task t ; Input a batch of new class samples to the feature extractor f and the prototype distillation network PD κ Get sample features.

[0045] Calculate the weighted average value PWN of the base class task prototype by category, multiply PWN by the new class prototype by dimension, and merge it with the previous task prototype to obtain the new class prototype p of the tth task new .

[0046] Calculate p new The cosine distance from the sample feature is used to obtain the predicted probability and then calculate the cross entropy loss L CE .

[0047] Based on the cross entropy loss L CE , update the prototype p of the tth task t .

[0048] Use the trained new class prototype p new , feature extractor and prototype distillation network PD κ Identify the targets of the first t tasks.

[0049] In the base class task S 1 In the above example, the prototype distillation network PD is learned using the base class training samples.κ And the prototype weighted network. Prototype distillation network PD κ The prototypes and features are mapped into a low-dimensional space. The prototype weighting network outputs a weight matrix representing the importance of the prototypes of the base class task.

[0050] In the incremental task, the parameters of the prototype distillation network and the prototype weighting network are fixed, and only the t-th task S is used. t The training samples in update the new class prototype parameters. During the training process, the learning weight of the new class prototype is obtained by calculating the average weight of the base class task prototype, which is recorded as PWN. In each task, the cosine distance is used to classify the samples.

[0051] like Figure 2 As shown, the prototype distillation network PD κ The prototype distillation network is constructed based on 1×1 convolutional layers to achieve dimensionality reduction, and nonlinear functions are used to provide richer mapping relationships. The prototype distillation network uses effective features to guide the network's learning of the feature dimensionality reduction process, mapping the high-dimensional features obtained by the prototype and feature extractor into a unified low-dimensional space, thereby eliminating invalid features.

[0052] like Figure 3 As shown in the figure, the prototype weighted network consists of the proposed category pooling layer and the fully connected layer. The category pooling layer calculates N in each dimension. 1 The average of the classes is used to output the average prototype, N 1 It is the base class task S 1 The fully connected layer is used to output the prototype weight, which represents the importance of each dimension in the prototype of the base task.

[0053] The incremental MSTAR dataset is shown in the following table. The first six categories of targets in the MSTAR dataset are set as base task data, followed by four incremental tasks, each of which adds one category of targets.

[0054]

[0055] The incremental VAIS data set is shown in the following table. Three of the seven different types of ship targets in the VAIS data set are set as the base task data set, followed by four incremental tasks, each of which adds one type of target.

[0056]

[0057] The incremental MSTAR dataset in the table below is used to compare the experimental results (recognition rate). Figure 4 shown.

[0058]

[0059] The following table shows the incremental VAIS data set for comparison of experimental results (recognition rate): Figure 5 shown.

[0060]

[0061] The incremental task S t The optimizer is set to Adam, and the learning rate is set to 0.1. In the incremental task, only the parameters in the new class vector obtained based on the base class target sample of the current task will be fed into the optimizer for update. The batch size is set to the number of all base class target samples, the maximum training generation is set to 200, the sample size is 32×32, and each experimental result is represented by the average and standard deviation (superscript) of 10 results.

[0062] It is easy for those skilled in the art to understand that the above description is only a preferred use case of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for incremental target recognition in small sample sizes of remote sensing images. It is characterized in that The steps include: (1) Collect samples of SAR remote sensing images / infrared targets of interest, construct incremental MSTAR datasets and incremental VAIS datasets of small sample classes, and set the base class task S 1 With the incremental task S t , use N-way K-shot method to perform the base class task S 1 With the incremental task S t Verify target identification; (2) Based on the small sample learning method, the recognition network is trained using base class target samples; (3) Use the base class target sample to obtain the base class task prototype p 1 ; (4) Use base class target samples to train the prototype distillation network PD κ and prototype empowerment networks; (5) Splicing base class task prototype p 1 Get the classifier with the prototype of the t-th task, t>1; (6) Using the target sample of the t-th task, update the dimension of the prototype of the t-th task based on the classifier with different learning rates; (7) Use the learned classifier to identify the targets in the first t tasks.

2. According to claim 1, a remote sensing image small sample incremental target recognition method, It is characterized in that The step (2) constructs a feature extractor f as a feature extraction part based on the base class target sample, and at the same time constructs a fully connected layer for classification to obtain a SAR remote sensing image small sample target recognition network.

3. According to claim 2, a remote sensing image small sample incremental target recognition method, It is characterized in that The step (3) defines the number of base class target samples of the cth class in the embedding space as N c , through the trained feature extractor f, the base class task S is calculated based on the base class target sample 1 The average characteristics of each class in , define the prototype of class c Get the prototype of the tth task 4. The remote sensing image small sample incremental target recognition method according to claim 3, It is characterized in that The step (4) inputs a batch of base class target samples into the feature extractor f to obtain sample features, and then inputs them into the prototype distillation network PD with parameter κ. κ Perform dimensionality reduction; at the same time, the base class task prototype p 1 Input to the prototype distillation network PD κ Perform dimensionality reduction and then input the parameter into The prototype weighted network of the base class task is obtained; the base class task prototype weight is combined with the base class task prototype p 1 Perform dot multiplication by dimension to obtain the weighted base class task prototype; calculate the cosine distance between the weighted base class task prototype and each dimension of the sample feature as the predicted probability for each category of the input sample, and calculate the cross entropy loss L CE ; Obtain the predicted probability of the small sample learning method for the base class target sample, and calculate its KL divergence L with the predicted probability obtained based on the prototype KL , based on L CE and L KL Update the prototype distillation network parameters, prototype empowerment network parameters and base class task prototype p 1 .

5. According to claim 4, a remote sensing image small sample incremental target recognition method, It is characterized in that In the steps (5) to (7), all base class target samples of the tth task are first input into the feature extractor f and the prototype distillation network PD κ Get the prototype p of the tth task t ; Input a batch of new class samples to the feature extractor f and the prototype distillation network PD κ Get sample features; calculate the weighted average value PWN of the base class task prototype by category, multiply PWN by the new class prototype by dimension, and merge it with the previous task prototype to get the new class prototype p of the tth task new ; Calculate the new class prototype p new The cosine distance from the sample feature is used to obtain the predicted probability and then calculate the cross entropy loss L CE ; Based on cross entropy loss L CE , update the prototype p of the tth task t ; Use the trained new class prototype p new , feature extractor and prototype distillation network PD κ Identify the targets of the first t tasks.

6. A remote sensing image small sample incremental target recognition method according to claim 5, It is characterized in that When using the N-way K-shot method to verify the base class task, 8 samples from each of the 10 categories are randomly selected as the training set, and all the remaining samples are used to evaluate the network performance.

7. The remote sensing image small sample incremental target recognition method according to claim 5, It is characterized in that When using the N-way K-shot method to verify the incremental task, 5 base class target samples are randomly selected for each type of target in the new class task dataset for training each time, and the recognition rate of the network is calculated using the samples of the base class and all categories of targets in the current incremental task dataset excluding the base class target samples.

Citation Information

Patent Citations

  • SAR image target recognition method based on small sample incremental learning

    CN114943889A

  • Small sample remote sensing image target detection method and system

    CN115100532A

  • Small sample target detection method based on support sample feature fusion and attention mechanism

    CN117953343A

  • SAR image target recognition method and device based on small sample incremental learning

    CN118015366A

  • Few-shot image incremental classification method and apparatus based on embedding enhancement and adaption

    WO2023137889A1

Cited By

  • Hyperspectral remote sensing image new class discovery method based on dual relation distillation constraint

    CN119559460A

  • Remote sensing large model increment pre-training optimization system and method for small sample scene

    CN121330426A