A fine-grained remote sensing ship open set recognition method based on convolutional neural network

By transforming the MMAL-Net network model, the global context modeling and target positioning capabilities are enhanced, and combined with the open set recognition algorithm, the problem of unknown category processing in fine-grained remote sensing ship recognition in real scenarios is solved, and the recognition accuracy and applicability are improved. sex.

CN114170462BActive Publication Date: 2024-10-29HARBIN UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111475546.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-06
Publication Date
2024-10-29
Estimated Expiration
2041-12-06

AI Technical Summary

Technical Problem

Existing fine-grained remote sensing ship identification methods are difficult to handle unknown categories in real scenarios, causing the classifier to choose from known categories, reducing recognition accuracy, and the assumption based on closed sets limits the application of the method.

Method used

Transform the MMAL-Net network model to enhance global context modeling and target positioning capabilities. Combined with the open set recognition algorithm, the COT module, ECA block, ASPP module and openmax classifier are used to form a fine-grained remote sensing ship development based on convolutional neural network. Set identification method.

Benefits of technology

It improves the target positioning accuracy and feature extraction capabilities, enhances the generalization ability of the model, is suitable for fine-grained remote sensing ship classification in real scenarios, and effectively solves the shortcomings of closed set recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114170462B_ABST
    Figure CN114170462B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for fine-grained remote sensing ship open set recognition based on a convolutional neural network, and the scheme is: (1) modifying the feature extraction network of the MMAL-Net network; (2) modifying the branch structure of the MMAL-Net network; (3) introducing the open set classification algorithm into the fine-grained remote sensing ship recognition of the convolutional neural network; (4) training and testing the modified MMAL-Net network. The present invention mainly solves the problems that the existing fine-grained remote sensing ship recognition method cannot be well applied to real scenes under the assumption of closed sets, and the target positioning and local feature extraction are inaccurate. The present invention improves the accuracy of fine-grained remote sensing ship recognition and can be better applied to fine-grained remote sensing ship recognition in real scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of machine vision, and in particular to a fine-grained remote sensing ship open set recognition method based on convolutional neural network.

[0002] Ship Background Technology

[0003] Ship targets are important entities and key targets in modern naval battlefields. In the military, ship target recognition is of great significance for precision strikes, counter-terrorism and surveillance. In the civilian field, ship target recognition can assist relevant departments in maritime traffic control, search and rescue, and anti-smuggling activities. Therefore, accurate recognition of remote sensing ship targets is an important issue in both military and civilian fields. Different ships have extremely similar appearances, and military ship images are difficult to obtain. Therefore, existing fine-grained remote sensing ship recognition methods directly use the closed set assumption, that is, the test set and the training set have the same categories. However, in real scenarios, the test set may have categories that are not in the training set, and its closed set property will force the classifier to make choices from known classes, thereby reducing the accuracy of recognition. Therefore, it is of great practical significance to combine fine-grained remote sensing ship recognition in the field of machine vision with open set recognition methods.

[0004] There are mainly two types of fine-grained remote sensing ship recognition methods based on machine vision: fine-grained remote sensing ship recognition methods based on strong supervision and fine-grained remote sensing ship recognition methods based on weak supervision. Although the fine-grained remote sensing ship recognition method based on strong supervision has achieved good accuracy, it requires a large number of labels other than categories (such as key point annotations), and the training cost is very high, making it difficult to put into practical applications; the fine-grained remote sensing ship recognition method based on weak supervision does not require any additional auxiliary information except the category label of the object, and has great advantages over the fine-grained remote sensing ship recognition method based on strong supervision. However, the accuracy of target positioning and the quality of local feature extraction greatly affect the performance of this type of method, and this method is also based on the closed set assumption and cannot be well applied to remote sensing ship classification in real scenarios.

[0005] To solve the above problems, the present invention proposes a fine-grained remote sensing ship open set recognition method based on convolutional neural network. According to the characteristics of fine-grained remote sensing ships, the MMAL-Net network model is modified to enhance the modeling ability of the network global context, improve the accuracy of target positioning and the ability to extract local detail features, and combine fine-grained remote sensing ship recognition with the open set recognition method, so that the model is more suitable for fine-grained remote sensing ship classification in real scenarios. Summary of the invention

[0006] The present invention provides a convolutional neural network-based fine-grained remote sensing ship open set recognition method. Aiming at the characteristics of fine-grained remote sensing ships, such as small inter-class changes and large intra-class changes, the MMAL-Net network model is modified to improve the network's global context modeling capability, target positioning accuracy, and the ability to obtain distinctive features, thereby enhancing the generalization ability of the model. Fine-grained remote sensing ship recognition is combined with the open set recognition method, making the model more suitable for fine-grained remote sensing ship classification in realistic scenarios.

[0007] The present invention is achieved by the following method:

[0008] To achieve the above purpose, the present invention provides a fine-grained remote sensing ship open set recognition method based on convolutional neural network, which is implemented by the following steps:

[0009] (1) Modify the feature extraction network of MMAL-Net:

[0010] Use the COT module to directly replace the 3*3 convolutions in ResLayer2, ResLayer3, ResLayer4, and ResLayer5 of the MMA1-Net feature extraction network resnet50, and output the K 1 K with global dynamic context modeling 2 The fusion of ,enhances the modeling ability of the global context of the network;

[0011] (2) The branch structure of MMAL-Net is modified. MMAL-Net has three branches: original branch, target branch and local branch. According to the characteristics of fine-grained remote sensing ships, the original branch is differentiated into a target branch for accurate target positioning and a local branch for obtaining subtle difference areas;

[0012] (2-1) Building the original branch structure: The input is the original remote sensing ship, and the improved feature extraction network is used to extract features to obtain the feature map F. The ECA block is added to ResLayer5 to detect the importance of the channel of the obtained feature map F, and the useful feature maps are promoted and the feature maps that are not very useful for network recognition training are suppressed to obtain the attention map A, which is used to guide the generation of the target branch;

[0013] (2-2) Build the target branch structure: The input remote sensing ship of this branch is obtained by cropping the original image. It not only contains the structural features of the target object but also contains fine-grained features, which contributes greatly to the recognition accuracy. The feature map F is obtained in the same way as the original branch. s1 , embed the ECA block into ResLayer5 to get the attention map A S1 , the attention map and feature map are fused by element-by-element dot multiplication to obtain the attention feature matrix The post-connected fully connected layer is used for classification;

[0014] (2-3) Build a local branch structure: Add the ASPP module after the ECA block of the target branch to expand the receptive field and enrich the feature map information. s2 Cut out several local areas with large differences and small redundancy from the target remote sensing ship as input;

[0015] (3) Introducing the open set classification algorithm into the fine-grained remote sensing ship recognition of convolutional neural network:

[0016] Use the modified openmax to replace the softmax layer in the original network for classification;

[0017] (4) Training and testing the modified MMAL-Net network:

[0018] The fine-grained remote sensing ship data set is divided into known categories according to a certain ratio, and the rest are unknown categories. The data of known categories are trained. Three branches are used in the training stage to analyze the loss function of the entire network training. If it does not converge, the network parameters are continuously iterated to adjust the network structure and the network is retrained. If the entire network tends to converge, the fine-grained remote sensing ship open set recognition network model of the convolutional neural network is obtained. The data set during testing contains both known categories in the training set and unknown categories. Testing the mixed data set can correctly divide the known categories and correctly reject the unknown categories. In order to improve the test speed, only the original branch and the target branch are used in the test stage, and the result of the target branch is taken as the final result. By comparing and evaluating the final results, the open set recognition of fine-grained remote sensing ships is realized, and finally analyzed and summarized.

[0019] Preferably, the network feature extraction structure in step (1) is: using the COT module to directly replace the 3*3 convolutions in ResLayer2, ResLayer3, ResLayer4 and ResLayer5 in the MMA1-Net feature extraction network resnet50 network.

[0020] Preferably: the COT module in step (1) is: for the input feature X, first define three variables Q = X, K = V, V = XW v , and then perform k*k group convolution on K to obtain local context information K 1 , K 1 Connect with Q and perform two convolution operations on the connected result A=[K1,Q]W θ W δ , where W θ is with RELU activation function, W δWithout RELU activation function, the attention map A is multiplied by V to get dynamic context modeling The final output is K for local static context modeling. 1 K with global dynamic context modeling 2 The result of fusion.

[0021] Preferably: the original branch of the MMAL-Net network in step (2): the input is the original remote sensing ship, the feature map F is obtained by using the improved feature network, and the ECA block is added to ResLayer5 to perform channel importance detection on the obtained feature map F, and the useful feature maps are enhanced and the feature maps that are not very useful for network recognition training are suppressed to obtain the attention map A, and A is used to guide the generation of the target branch.

[0022] Preferably: the target branch of the MMAL-Net network in step (2): the input remote sensing ship of this branch is obtained by cropping the original image, which not only contains the structural features of the target object but also contains finer-grained features that contribute greatly to the accuracy of recognition. The feature map F is obtained in the same way as the original branch. s1 , embed the ECA block into ResLayer5 to get the attention map A S1 , the attention map and feature map are fused by element-by-element dot multiplication to obtain the attention feature matrix The post-connected fully connected layer is used for classification.

[0023] Preferably: the local branch of the MMAL-Net network in step (2): the purpose of this branch is to locate the distinctive area in the remote sensing ship, and ASPP is added after the ECA block of the target branch. ASPP includes a 1*1 convolution and three 3*3 dilated convolutions, and finally the feature map F is obtained. s2 , according to F s2 Several local areas with large differences and small redundancy are cut out from the target remote sensing ship as input.

[0024] Preferably: in the step (3), the open set classification algorithm is introduced into the fine-grained remote sensing ship identification of the convolutional neural network: openmax is equivalent to two softmax layers. During the test, the corresponding dense vector is first obtained, and then the fitting model obtained by fitting the distance between each category and the vector to the weibull distribution is classified, and a score FitScores is obtained respectively, which is equivalent to the output of the first softmax layer. The alpha value w is calculated for this output: w = 1-FitSocres*(α-i) / α, where i = 1...α, α is a hyperparameter adjusted according to training, the mean of w is taken, it is multiplied by the distance between each category and the vector, and finally softmax classification is performed.

[0025] The beneficial effects of the present invention are:

[0026] Aiming at the characteristics of fine-grained remote sensing ships, such as small inter-class variations and large intra-class variations, the MMAL-Net network model is modified to enhance the network's global context modeling capability, improve the accuracy of target positioning and the ability to obtain distinctive features, and introduce the open set recognition algorithm into the fine-grained remote sensing ship classification, which effectively solves the problem that closed set recognition forces the classifier to make choices from known classes, and is more suitable for classification in real scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 It is the overall flow chart of the present invention;

[0029] Figure 2 A schematic diagram of the network structure of the present invention;

[0030] Figure 3 is a flow chart of the experimental method of the present invention; DETAILED DESCRIPTION

[0031] Exemplary embodiments of the present invention will be described below in conjunction with the accompanying drawings. For the sake of clarity and conciseness, not all features of the actual implementation are described in the specification. However, it should be understood that many implementation-specific decisions must be made in the process of developing any such actual implementation in order to achieve the developer's specific goals, such as meeting those constraints related to the system and business, and these constraints may change from implementation to implementation.

[0032] It is also necessary to explain here that, in order to avoid obscuring the present invention due to unnecessary details, only the parts closely related to the scheme according to the present invention are shown in the drawings, while other details that are not very relevant to the present invention are omitted. Specific implementation method one:

[0034] This embodiment is a fine-grained remote sensing ship open set recognition method based on convolutional neural network, combined with Figure 1 , the method comprises the following steps:

[0035] Step 1: Data preprocessing: divide the fine-grained data set into known categories according to a certain ratio and unify the rest into unknown categories;

[0036] Step 2: Modify the feature extraction network of the MMAL-Net network and use the COT module to replace the 3*3 convolutions in ResLayer2, ResLayer3, ResLayer4 and ResLayer5 of the resnet50 network to extract the features of the input image;

[0037] Step 3: Embed the ECA block into ResLayer5 of resnet50 to obtain the attention map. In the target branch, the element-by-element dot multiplication method is used to multiply the attention map and the basic feature map. In the local branch, the ASPP block is used to increase the diversity of the feature map.

[0038] Step 4: Use the modified openmax to replace the softmax layer in the original network for classification;

[0039] Step 5: Train and test the transformed network. Specific implementation method 2:

[0041] Different from the first embodiment, the present embodiment is a fine-grained remote sensing ship open set recognition method based on convolutional neural network, combined with Figure 2 The specific process of building an open set recognition network for fine-grained remote sensing ship characteristics in steps 2, 3 and 4 is as follows:

[0042] (1) The feature extraction network of the MMAL-Net network is modified: the COT module is used to directly replace the 3*3 convolutions in ResLayer2, ResLayer3, ResLayer4 and ResLayer5 in the MMAL-Net feature extraction network resnet50 network, so that the output is K for local static context modeling 1 K with global dynamic context modeling 2 The fusion of ,enhances the modeling ability of the global context of the network;

[0043] (2) Building the original branch structure: The input is the original remote sensing ship, and the improved feature network is used to obtain the feature map F. The ECA block is added to ResLayer5 to detect the importance of the channel of the obtained feature map F, and the useful feature maps are promoted and the feature maps that are not very useful for network recognition training are suppressed to obtain the attention map A. A is used to guide the generation of the target branch and finally classified;

[0044] (3) Build the target branch structure: The attention map A obtained from the original branch learns the target body border information, and cuts out the target body from the original image as input, and obtains the feature map F in the same way as the original branch. s1 and attention map A S1, the attention map and feature map are fused by element-by-element dot multiplication to obtain the attention feature matrix Post-connection fully connected layer for classification

[0045] (4) Build a local branch structure: Add the ASPP module after the ECAblock of the target branch to expand the receptive field and enrich the feature map information. s2 Cut out several local areas with large differences and small redundancy from the target remote sensing ship as input;

[0046] (5) The open set classification algorithm is introduced into the fine-grained remote sensing ship recognition of the convolutional neural network: the alpha value w is calculated for the predicted score of the fitting model obtained by fitting the Weibull distribution: w = 1-FitSocres*(α-i) / α, where i = 1...α, α is a hyperparameter adjusted according to training, the mean of w is taken, it is multiplied by the distance between each category and the vector, and finally classification is performed. Specific implementation method three:

[0048] Different from the first and second specific embodiments, this embodiment is a fine-grained remote sensing ship open set recognition method based on convolutional neural network, combined with Figure 3 The specific process of training and testing the network in step 5 is as follows:

[0049] The fine-grained remote sensing ship data set is divided into known categories according to a certain ratio, and the rest are unknown categories. The data of known categories are trained. Three branches are used in the training stage to analyze the loss function of the entire network training. If it does not converge, the network parameters are continuously iterated to adjust the network structure and the network is retrained. If the entire network tends to converge, the fine-grained remote sensing ship open set recognition network model of the convolutional neural network is obtained. The data set during testing contains both known categories in the training set and unknown categories. Testing the mixed data set can correctly divide the known categories and correctly reject the unknown categories. In order to improve the test speed, only the original branch and the target branch are used in the test stage, and the result of the target branch is taken as the final result. By comparing and evaluating the final results, the open set recognition of fine-grained remote sensing ships is realized, and finally analyzed and summarized.

Claims

1. A fine-grained remote sensing ship open set recognition method based on convolutional neural network, characterized in that : The method is achieved by the following steps: (1) Modify the feature extraction network of MMAL-Net: Use the COT module to directly replace the 3*3 convolutions of ResLayer2, ResLayer3, ResLayer4, and ResLayer5 in the MMAL-Net feature extraction network resnet50 network, so that the output is K for local static context modeling 1 K with global dynamic context modeling 2 Fusion of; (2) The branch structure of MMAL-Net is modified. MMAL-Net has three branches: original branch, target branch and local branch. According to the characteristics of fine-grained remote sensing ships, the original branch is differentiated into a target branch for accurate target positioning and a local branch for obtaining subtle difference areas; (2-1) Building the original branch structure: The input is the original remote sensing ship, and the improved network in step (1) is used to extract features to obtain the feature map F. ECAblock is added after ResLayer5 to perform channel importance detection on the obtained feature map F, so as to obtain the attention map A, which is used to guide the generation of the target branch; (2-2) Build the target branch structure: The input remote sensing ship of this branch is obtained by cropping the original image, and the feature map F is obtained in the same way as the original branch s1 , embed ECAblock into ResLayer5 to get attention map A S1 , the attention map and feature map are fused by element-by-element dot multiplication to obtain the attention feature matrix Fs: Fs = A S1 F s1 , the post-connected fully connected layer is used for classification; (2-3) Build a local branch structure: Add the ASPP module after the ECAblock of the target branch to expand the receptive field and enrich the feature map information. s2 Cut out several local areas with large differences and small redundancy from the target remote sensing ship as input; (3) Introducing the open set classification algorithm into the fine-grained remote sensing ship recognition of convolutional neural network: Use the modified openmax to replace the softmax layer in the original network for classification: Openmax is equivalent to two softmax layers. When testing, the corresponding dense vector is first obtained. Then, the fitting model obtained by fitting the distance between each category and the vector to the weibull distribution is classified, and a score FitScores is obtained respectively. Here, it is equivalent to the output of the first softmax layer. The alpha value w is calculated for this output: w = 1-FitScores*(α-i) / α, where i = 1...α, α is a hyperparameter adjusted according to training, the mean of w is taken, and it is multiplied by the distance between each category and the vector, and finally softmax classification is performed; the modified MMAL-Net network is trained and tested: The fine-grained remote sensing ship dataset is divided into known categories according to a certain ratio, and the rest are unknown categories. The known categories are trained. Three branches are used in the training phase to analyze the loss function of the entire network training. If it does not converge, the network parameters are continuously iterated to adjust the network structure and the network is retrained. If the entire network tends to converge, the fine-grained remote sensing ship open set recognition network model of the convolutional neural network is obtained. The test dataset contains both known categories in the training set and unknown categories. Testing the mixed dataset can correctly divide the known categories and correctly reject the unknown categories. In order to improve the test speed, only the original branch and the target branch are used in the test phase, and the result of the target branch is taken as the final result. By comparing and evaluating the final results, the open set recognition of fine-grained remote sensing ships is realized, and finally analyzed and summarized.

Citation Information

Patent Citations

  • A ship target detection method based on a multi-scale fusion strategy

    CN109919000A

  • An open set identification method and device for electromagnetic signals

    CN109934269A