A marine target detection method based on ensemble learning

Through multi-task learning and integrated learning methods, combined with deep neural networks and feature extraction technology, the cloud and fog interference and target density problems in maritime target detection in multispectral remote sensing images are solved, and efficient target detection in complex backgrounds is achieved.

CN113936205BActive Publication Date: 2024-09-17BEIHANG UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111267946.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-29
Publication Date
2024-09-17
Estimated Expiration
2041-10-29

AI Technical Summary

Technical Problem

In the detection of maritime targets, multispectral remote sensing images are affected by cloud and fog interference and the dense arrangement of nearshore targets, which makes it difficult to distinguish the target from the background. It is difficult for existing technology to achieve efficient detection in complex backgrounds.

Method used

Using multi-task learning and integrated learning methods, through deep neural network model and cross-stitch unit design, combined with single-shot multi-frame convolutional neural network and multi-scale feature residual network, K-means clustering and self-gating non-monotone activation function are introduced , using the boosting method and weighted voting method to integrate detection results to improve detection accuracy.

Benefits of technology

It effectively detects maritime targets under complex backgrounds and severe weather conditions, improves detection accuracy and generalization capabilities, reduces the impact of cloud and fog obstruction and coastal surface interference, and achieves high efficiency in multispectral remote sensing image target detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FDA0004946296620000022
    Figure FDA0004946296620000022
  • Figure FDA0004946296620000041
    Figure FDA0004946296620000041
  • Figure GDA0004946296630000042
    Figure GDA0004946296630000042
Patent Text Reader

Abstract

A method for detecting marine targets based on ensemble learning comprises the following steps: (1) reading in multispectral data from different data sets; (2) cropping and preprocessing the image size, producing samples, and determining training samples and test samples; (3) designing a multi-task learning framework based on a deep learning network based on the sample data set obtained in step (2) based on a cross-stitch unit; (4) designing two base detector network structures based on a single-shot multi-frame convolutional neural network and a multi-scale feature residual network framework for marine target features to realize detection of targets of different scales; (5) introducing the K-means clustering idea to optimize the generation of model prediction frames and using a self-gated non-monotonic function as an activation function; (6) integrating the detection results of the two base detectors based on a lifting method and a weighted voting method to complete marine target detection based on ensemble learning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a marine target detection method based on ensemble learning, belongs to the technical field of multispectral data processing methods and application, and is suitable for research on multispectral data target detection methods and application technologies. Background Art

[0002] As a research hotspot in the field of pattern recognition and image processing, the problem of marine target detection has always attracted much attention. Marine ship detection using remote sensing images has a very broad application prospect in commercial civil and even military preparations. Marine target detection has many constraints and is very challenging. According to the detection data type, it can be divided into true color remote sensing images, multi / hyperspectral remote sensing images and synthetic aperture radar images. There are many ways to obtain true color remote sensing images, and data acquisition is relatively easy. It has the advantages of small data volume and easy processing; but the disadvantage is that image imaging is greatly affected by the environment, and it is difficult to distinguish between the target and the background, and it is easily affected by interference. The traditional synthetic aperture radar image marine target detection algorithm not only requires complex preprocessing of the image before detection, but also has poor generalization and low efficiency. Hyperspectral remote sensing images have a large amount of data and are prone to dimensionality disaster (Hughes phenomenon), different spectra for the same object, and the same spectrum for different objects. Compared with true color images, although multispectral remote sensing images have limited image resolution and detail information, they are less affected by the environment, and spectral information can make up for the lack of spatial information. Compared with synthetic aperture radar images, multispectral remote sensing images have more intuitive image readability. Compared with existing hyperspectral images, although multispectral images may also have the Hughes phenomenon, the same object with different spectra, and different objects with the same spectrum, multispectral images have higher resolution, smaller data volume, and are easier to process. Therefore, based on data characteristics, multispectral remote sensing image marine target detection has gradually become a research hotspot in the field of remote sensing image processing.

[0003] According to the different detection locations, marine target detection can be divided into marine target detection in the sea area and marine target detection near the coast. Among them, the main difficulty faced by marine targets in the sea area is the existence of clouds and fog. Since multispectral remote sensing images are satellite-borne data obtained by satellite photography, the clouds are located above the sea surface, and there is a high probability that there will be clouds and fog of different thicknesses in the vast sea area. Therefore, it will block the marine targets and even form shadows, which will interfere with the identification of marine targets. On the other hand, there is a phenomenon of closely arranged marine targets near the coast. The marine targets are densely parked together, and the spatial feature information is very similar to the coast, which makes it difficult to distinguish between marine targets and background features, which becomes a difficult problem in detecting marine targets.

[0004] Although the current target detection technology is developing rapidly, with the continuous upgrading of machine learning methods, more and more methods are being studied for target detection. However, the framework of deep learning is gradually taking shape, and it is difficult to achieve a technological breakthrough. Everyone uses a single detector for target detection, and pays attention to the optimization of the model to improve the detection accuracy. Faced with different images, the efficiency of the same detector varies. The use of ensemble learning methods can greatly enhance the generalization ability of the model. Summary of the invention

[0005] The purpose of the present invention is to provide a method for detecting marine targets based on ensemble learning in order to solve the problems that the detection of multispectral remote sensing images is disturbed by fog and clouds over the sea surface and that the marine targets are closely arranged near the coast and difficult to detect.

[0006] The technical solution of the present invention is: adopt a multi-task learning strategy to complete sample feature extraction to weaken the interference of harsh environmental conditions on target detection, use a deep neural network model as the framework of the base detector to achieve the ability of rapid detection of marine targets and small target detection, and design a marine target detection method based on ensemble learning to improve detection accuracy.

[0007] The present invention is a marine target detection method based on ensemble learning, and the steps are as follows:

[0008] (1) Read in multispectral data from different dataset sources;

[0009] (2) Resize the image, preprocess the data, make samples, and determine the training samples and test samples;

[0010] (3) Based on the sample data set obtained in step (2), a multi-task learning framework based on a deep learning network is designed based on the cross-stitch unit;

[0011] (4) Design two base detector network structures based on single-shot multi-frame convolutional neural network and multi-scale feature residual network framework to detect targets of different scales according to the characteristics of marine targets;

[0012] (5) Introduce the K-means clustering idea to optimize the generation of model prediction boxes and use self-gated non-monotonic functions as activation functions;

[0013] (6) Based on the lifting method and weighted voting method, the detection results of the two base detectors are integrated to complete the marine target detection based on ensemble learning.

[0014] Among them, step (1) reads in multispectral data from different data sets: reads in multispectral data from different sources and different regions to be processed, performs spectral analysis on different types of marine targets, compares spectral curves of different types of targets, and selects band annotations at the target characteristic spectral positions.

[0015] Among them, step (2) performs image size cropping, data preprocessing, sample preparation, and determination of training samples and test samples: multispectral data needs to be preprocessed to a uniform resolution before processing, and the sample size needs to be cropped for target detection and entry into the network.

[0016] Among them, step (3) designs a multi-task learning framework based on a deep learning network based on the sample data set obtained by the cross-stitch unit in step (2): the cross-stitch unit can find the best shared representation for multi-task learning. The cross-stitch unit uses linear combinations to model the shared representation and learns the best linear combination for a given task set. These cross-stitch units are integrated into the convolutional network to provide an end-to-end learning framework. The cross-stitch unit shares activations between all single-task networks of the encoder. Assuming that the two activation maps x A 、x B , which belong to task A and task B respectively. Before inputting to the next layer of the single-task network, a linear combination of these mappings can be applied for learning and converted into a learnable weight parameter α, which can be expressed as:

[0017]

[0018] Among them, x A 、x B are the activation mappings for task A and task B, respectively. is the converted activation map, α AA is the learnable weight parameter after task A and task A learn from each other, α AB is the learnable weight parameter of task B after learning task A, α BA is the learnable weight parameter of task A after learning task B, α BB is the learnable weight parameter after task B and task B learn from each other.

[0019] Among them, step (4) designs two base detector network structures according to the characteristics of marine targets to realize the detection of targets of different scales; the base detector based on the single-shot multi-frame convolutional neural network structure introduces the idea of ​​pyramid network to obtain a feature map that gradually becomes smaller; the base detector based on the multi-scale feature residual network structure introduces the idea of ​​upsampling and fuses the feature layers of the same scale to realize the feature extraction of feature maps of different scales.

[0020] Among them, step (5) introduces the clustering idea to optimize the generation of the model prediction box and optimizes and improves the activation function of the network:

[0021] The attributes of samples are mainly represented by their relative distance in the feature space, which makes the concept of distance very important for clustering. In the implementation of the method, a good intersection-over-union ratio can be obtained through the anchor box, and the intersection-over-union ratio is independent of the size of the box. Therefore, the K-means clustering algorithm is used to divide all the annotated prior boxes into piles according to width and height. The data is divided into n piles, and the distance is expressed as:

[0022] Distance=1-IOU

[0023] Among them, Distance is the distance, IOU is the intersection-union ratio; in order to avoid the "neuron death" phenomenon, a self-gated non-monotonic function is used as the activation function. The self-gated non-monotonic activation function is as follows:

[0024] f(x)=x×tanh(ln(1+e x ))

[0025] Among them, x is the independent variable, tanh is the hyperbolic tangent function, ln(1+e x ) represents the pair 1+e x Take the logarithm with the natural constant e as the base; the self-gated non-monotonic activation function has the characteristic of soft saturation when the input takes a small value, thereby improving the robustness to noise; in addition, when the value is negative, a smaller negative gradient is allowed to flow in to ensure that the information is not interrupted, thereby obtaining better accuracy and generalization ability.

[0026] Step (6) Integrate the detection results of the two base detectors based on the lifting method and the weighted voting method to complete the marine target detection based on ensemble learning: The basic idea of ​​the lifting method and the weighted voting method is to select a detector whose classification accuracy is slightly better than the random prediction accuracy. When the detection results of the two designed base detectors meet the set threshold, the two base detectors are weighted and integrated using a weighted sum voting strategy to construct a strong detector with higher classification accuracy. During the ensemble learning signature, a confidence level will be given for each scale feature map, and the current optimal solution will be given after non-maximum suppression. Comparison based on single-shot multi-frame convolutional neural network The optimal confidences Z1 and Z2 given by the detector based on the network structure and the detector based on the multi-scale feature residual network structure are taken. If both Z1 and Z2 are positive, it is considered that both predictions are correct and the next step is carried out; if one Z1 and one Z2 are positive, the prediction confidences of all feature maps before the non-maximum suppression layer are referred to, and other inputs are re-predicted. The confidences of the feature maps of each scale are adjusted as needed, and the confidences are adjusted repeatedly until the predetermined classification threshold is reached; the updated optimal confidences Z1 and Z2 are obtained, and the weights of the two models are allocated according to the sizes of Z1 and Z2. The following linear regression method is used for weighted and voting to obtain the final detection frame:

[0027]

[0028] Among them, B1 and B2 are the detection frames of the detector based on the single-shot multi-frame convolutional neural network structure and the detector based on the multi-scale feature residual network structure, respectively. α and β are the weights of the two models. The values ​​of α and β are proportionally distributed by the updated optimal confidence Z1 and Z2, where α+β=1. An ensemble learning method is used to integrate the results of the two base detectors to obtain better detection results than a single base detector, thus achieving the final result of maritime target detection.

[0029] Compared with the prior art, the present invention has the advantages that it can detect targets at sea under complex backgrounds and severe weather conditions. The present method uses multi-task learning and integrated learning to effectively solve the influence of shore objects and cloud and fog occlusion on target detection, and realizes multi-spectral remote sensing image target detection; it has the following advantages: (1) Effectively use the multi-task learning method, use the cross-stitch unit to find the best shared representation for multi-task learning, share the target features in a clear, interference-free background with the target features in a complex background through the cross-stitch unit, and solve the problem of the influence of sea and land background and foggy weather on target detection; (2) Use two single-stage deep neural network models to solve the detection difficulties of targets of different scales in remote sensing images; (3) Based on the lifting method and weighted voting method, the two base detectors are integrated and learned, and finally the detection results of the targets at sea are obtained. DETAILED DESCRIPTION

[0030] In order to better illustrate the multispectral remote sensing image target detection method involved in the present invention, the 12-band Sentinel-2 multispectral data and the 4-band Gaofen-2 multispectral data are used to detect marine targets. The present invention is a marine target detection method based on ensemble learning, and the specific implementation steps are as follows:

[0031] (1) Read in multispectral data from different data sets: Read in multispectral data from different sources and regions to be processed: Use the public data sets of Sentinel-2 multispectral images and GF-2 multispectral images as experimental data, perform spectral analysis on different types of maritime targets, compare spectral curves of different types of targets, and select band annotations at the target characteristic spectral positions.

[0032] (2) Image resizing and data preprocessing are performed to produce samples, and training and test samples are determined: Multispectral data must be preprocessed to a uniform resolution before processing, and the sample size must be cropped for target detection and entry into the network.

[0033] (3) Based on the sample data set obtained in step (2), a multi-task learning framework based on a deep learning network is designed based on the cross-stitch unit: the cross-stitch unit can find the best shared representation for multi-task learning. The cross-stitch unit uses linear combinations to model the shared representation and learns the best linear combination for a given task set. These cross-stitch units are integrated into the convolutional network to provide an end-to-end learning framework. The cross-stitch unit shares activations between all single-task networks of the encoder. Assume that the two activation maps x A 、x B , which belong to task A and task B respectively. Before inputting to the next layer of the single-task network, a linear combination of these mappings can be applied for learning and converted into a learnable weight parameter α, which can be expressed as:

[0034]

[0035] Among them, x A 、x B are the activation mappings for task A and task B, respectively. is the converted activation map, α AA is the learnable weight parameter after task A and task A learn from each other, α AB is the learnable weight parameter of task B after learning task A, α BA is the learnable weight parameter of task A after learning task B, α BB is the learnable weight parameter after task B and task B learn from each other.

[0036] (4) Two base detector network structures are designed according to the characteristics of marine targets to realize the detection of targets of different scales. The base detector based on the single-shot multi-frame convolutional neural network structure introduces the idea of ​​pyramid network, and the feature map obtained gradually becomes smaller. The base detector based on the multi-scale feature residual network structure introduces the idea of ​​upsampling, and fuses the feature layers of the same scale to realize the feature extraction of feature maps of different scales.

[0037] (5) Introducing clustering ideas to optimize the generation of model prediction boxes and optimize the activation function of the network:

[0038] The attributes of samples are mainly represented by their relative distance in the feature space, which makes the concept of distance very important for clustering. In the implementation of the method, a good intersection-over-union ratio can be obtained through the anchor box, and the intersection-over-union ratio is independent of the size of the box. Therefore, the K-means clustering algorithm is used to divide all the annotated prior boxes into piles according to width and height. The data is divided into n piles, and the distance is expressed as:

[0039] Distance=1-IOU

[0040] Among them, Distance is the distance, IOU is the intersection-union ratio; in order to avoid the "neuron death" phenomenon, a self-gated non-monotonic function is used as the activation function. The self-gated non-monotonic activation function is as follows:

[0041] f(x)=x×tanh(ln(1+e x ))

[0042] Among them, x is the independent variable, tanh is the hyperbolic tangent function, ln(1+e x ) represents the pair 1+e x Take the logarithm with the natural constant e as the base; the self-gated non-monotonic activation function has the characteristic of soft saturation when the input takes a small value, thereby improving the robustness to noise; in addition, when the value is negative, a smaller negative gradient is allowed to flow in to ensure that the information is not interrupted, thereby obtaining better accuracy and generalization ability.

[0043] (6) Based on the boosting method and weighted voting method, the detection results of the two base detectors are integrated to complete the marine target detection based on ensemble learning: The basic idea of ​​the boosting method and weighted voting method is to select a detector with a slightly better classification accuracy than the random prediction accuracy. When the detection results of the two designed base detectors meet the set threshold, the two base detectors are weighted and integrated using a weighted sum voting strategy to construct a strong detector with higher classification accuracy. During the ensemble learning, a confidence score is given for each scale feature map, and the current optimal solution is given after non-maximum suppression. Comparison based on single-shot multi-frame convolutional neural network The optimal confidences Z1 and Z2 given by the detector based on the structure and the detector based on the multi-scale feature residual network structure, if Z1 and Z2 are both positive, it is considered that both predictions are correct and the next step is carried out; if Z1 and Z2 are one positive and one negative, refer to the prediction confidences of all feature maps before the non-maximum suppression layer, re-predict other inputs, adjust the confidences of feature maps of each scale as needed, and repeatedly adjust the confidences until the predetermined classification threshold is reached; obtain the updated optimal confidences Z1 and Z2, assign weights to the two models according to the sizes of Z1 and Z2, and use the following linear regression method for weighted and voting to obtain the final detection frame:

[0044]

[0045] Among them, B1 and B2 are the detection frames of the detector based on the single-shot multi-frame convolutional neural network structure and the detector based on the multi-scale feature residual network structure, respectively. α and β are the weights of the two models. The values ​​of α and β are proportionally distributed by the updated optimal confidence Z1 and Z2, where α+β=1. An ensemble learning method is used to integrate the results of the two base detectors to obtain better detection results than a single base detector, thus achieving the final result of maritime target detection.

Claims

1. A marine target detection method based on ensemble learning, characterized in that: It contains the following steps: (1) Read in multispectral data from different dataset sources; (2) Resize and preprocess the image to produce samples required by the deep learning network, and determine the training samples and test samples; (3) Based on the sample data set obtained in step (2), a multi-task learning framework based on a deep learning network is designed based on the cross-stitch unit; (4) Design two base detector network structures based on single-shot multi-frame convolutional neural network and multi-scale feature residual network framework to detect targets of different scales according to the characteristics of marine targets; (5) Introduce the K-means clustering idea to optimize the generation of model prediction boxes and use self-gated non-monotonic functions as activation functions; (6) Based on the lifting method and weighted voting method, the detection results of the two base detectors are integrated to complete the marine target detection based on ensemble learning.

2. A method for detecting marine targets based on ensemble learning according to claim 1, wherein step (1) reads in multispectral data from different data sets: reads in multispectral data from different sources and different regions to be processed, performs spectral analysis on different types of marine targets, compares spectral curves of different types of targets, and selects band annotations at target characteristic spectral positions.

3. According to the method for marine target detection based on ensemble learning in claim 1, step (2) performs image size cropping and data preprocessing, produces samples, and determines training samples and test samples: multispectral data needs to complete preprocessing operations with uniform resolution before processing, and in order to enter the network for target detection, the sample size needs to be cropped to achieve the same size detection.

4. A method for detecting marine targets based on ensemble learning according to claim 1, wherein step (3) designs a multi-task learning framework based on a deep learning network based on the sample data set obtained by the cross-stitch unit in step (2): the cross-stitch unit can find the best shared representation for multi-task learning, the cross-stitch unit uses linear combination to model the shared representation, and learns the best linear combination for a given task set, and integrates these cross-stitch units into a convolutional network to provide an end-to-end learning framework, the cross-stitch unit shares activations between all single-task networks of the encoder, assuming that the two activation maps x A 、x B , which belong to task A and task B respectively. Before inputting to the next layer of the single-task network, a linear combination of these mappings can be applied for learning and converted into a learnable weight parameter α, which can be expressed as: in, x A 、x B are the activation mappings for task A and task B, respectively. is the activation map after conversion, α AA is the learnable weight parameter after task A and task A learn from each other, α AB is the learnable weight parameter of task B after learning task A, α BA is the learnable weight parameter of task A after learning task B, α BB is the learnable weight parameter after task B and task B learn from each other.

5. According to the method for detecting marine targets based on ensemble learning in claim 1, in step (4), two base detector network structures are designed according to the marine target features to realize the detection of targets of different scales; the base detector based on the single-shot multi-frame convolutional neural network structure introduces the idea of ​​pyramid network to obtain a feature map that gradually becomes smaller; the base detector based on the multi-scale feature residual network structure introduces the idea of ​​upsampling to fuse feature layers of the same scale to realize feature extraction of feature maps of different scales.

6. According to the method for detecting marine targets based on ensemble learning in claim 1, step (5) introduces clustering ideas to optimize the generation of model prediction frames and optimizes and improves the activation function of the network: the attributes of the samples are mainly represented by their relative distances in the feature space, which makes the concept of distance very important for clustering. During the implementation of the method, a good intersection-and-union ratio can be obtained through the anchor frame, and the intersection-and-union ratio is independent of the size of the frame. Therefore, the K-means clustering algorithm is used to divide all the annotated prior frames into piles according to width and height, and the data is divided into n piles. The distance is expressed as: Distance = 1-IOU in, Distance is the distance, IOU is the intersection-union ratio; in order to avoid the "neuron death" phenomenon, a self-gated non-monotonic function is used as the activation function. The self-gated non-monotonic activation function is as follows: f(x)=x×tanh(ln(1+e x )) Among them, x is the independent variable, tanh is the hyperbolic tangent function, ln(1+e x ) represents the pair 1+e x Take the logarithm with the natural constant e as the base; the self-gated non-monotonic activation function has the characteristic of soft saturation when the input takes a small value, thereby improving the robustness to noise; in addition, when the value is negative, a smaller negative gradient is allowed to flow in to ensure that the information is not interrupted, thereby obtaining better accuracy and generalization ability.

7. According to the method for detecting marine targets based on ensemble learning of claim 1, wherein step (6) integrates the detection results of the two base detectors based on the lifting method and the weighted voting method to complete the marine target detection based on ensemble learning: the basic idea of ​​the lifting method and the weighted voting method is to select a detector whose classification accuracy is slightly better than the random prediction accuracy. When the detection results of the two designed base detectors meet the set threshold, the two base detectors are weighted and integrated by a weighted sum voting strategy to construct a strong detector with higher classification accuracy; when performing ensemble learning, a confidence level is given for each scale feature map, and the current maximum confidence level is given after non-maximum suppression. The best solution is to compare the optimal confidences Z1 and Z2 given by the detector based on the single-shot multi-frame convolutional neural network structure and the detector based on the multi-scale feature residual network structure. If both Z1 and Z2 are positive, it is considered that both predictions are correct and the next step is carried out; if one Z1 is positive and the other Z2 is negative, refer to the prediction confidence of all feature maps before the non-maximum suppression layer, re-predict other inputs, adjust the confidence of feature maps of each scale as needed, and repeatedly adjust the confidence until the predetermined classification threshold is reached; obtain the updated optimal confidences Z1 and Z2, assign weights to the two models according to the size of Z1 and Z2, and use the following linear regression method for weighted and voting to obtain the final detection frame: in, B1 and B2 are the detection frames of the detector based on the single-shot multi-frame convolutional neural network structure and the detector based on the multi-scale feature residual network structure, respectively. α and β are the weights of the two models. The values ​​of α and β are proportionally distributed by the updated optimal confidences Z1 and Z2, where α+β=1. An ensemble learning method is used to integrate the results of the two base detectors, and better detection results are obtained than those of a single base detector, thus achieving the final result of maritime target detection.

Citation Information

Patent Citations

  • Image fine-grained identification method based on integrated learning strategy

    CN110210550A

  • Marine ship detection method based on improved YOLOV3 algorithm

    CN111652321A

  • Ship detection method and system based on multidimensional scene features

    US20200167601A1