SAR change detection network training method based on multi-task sub-network decomposition

By adopting the multi-task sub-network decomposition training method in the SAR image change detection network, combined with the SGD stochastic gradient descent method and multi-task optimization, the gradient disappearance and local optimal problems are solved, and the detection accuracy and learning efficiency are improved.

CN114549966BActive Publication Date: 2024-10-15XIDIAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210011083.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-05
Publication Date
2024-10-15
Estimated Expiration
2042-01-05

AI Technical Summary

Technical Problem

Existing SAR image change detection networks are prone to gradient disappearance, gradient dispersion and gradient explosion phenomena during the training process, resulting in low learning efficiency, reduced accuracy, and easy falling into local optimal solutions, making it difficult to obtain high classification accuracy.

Method used

Using a training method based on multi-task sub-network decomposition, combined with the SGD stochastic gradient descent method and multi-task optimization method, the network is decomposed into multiple sub-networks for iterative training, using small-scale auxiliary tasks to speed up the convergence speed and seek the global optimal solution to avoid local optimal phenomenon.

Benefits of technology

It effectively alleviates the phenomena of gradient disappearance, gradient dispersion and gradient explosion, improves the learning efficiency and detection accuracy of the SAR image change detection network, reduces training costs, and obtains better convolutional neural network parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114549966B_ABST
    Figure CN114549966B_ABST
Patent Text Reader

Abstract

The present invention discloses a SAR change detection network training method based on multi-task sub-network decomposition, including: obtaining a SAR image sample set, obtaining a preset convolutional neural network and initializing target parameters; iterative training using the SGD stochastic gradient descent method; when the training effect is not obvious, using the obtained multiple groups of full-network target parameters to obtain the parent population; the full-network target parameter optimization is set as the main task, the full network is decomposed by layers to obtain the optimization of the sub-network as the auxiliary task, an auxiliary task is selected to cooperate with the main task, and iterative training is performed based on the population genetic method. If the auxiliary task traversal is completed after multiple iterations, a set of optimal full-network target parameters is retained, and the SGD stochastic gradient descent method is returned; at the end of the training, the optimal full-network target parameters are obtained and substituted into the preset convolutional neural network to obtain a trained SAR image change detection network. The present invention can accelerate network convergence, avoid falling into local optimum, and alleviate the gradient vanishing and gradient explosion phenomena.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of remote sensing technology, and in particular relates to a SAR change detection network training method based on multi-task sub-network decomposition. Background Art

[0002] SAR image change detection is a technology that uses SAR images to detect changes in the same geographical location on the earth's surface at different time periods. It has been widely used in urban planning, crop growth detection, forest early warning, disaster monitoring and other fields, and has important practical application value. Traditional SAR image change detection methods include image difference method, principle analysis method and classification comparison method.

[0003] In recent years, with the development of deep learning technology, many change detection methods based on convolutional neural networks have emerged. These methods can simulate the relationship between images and real-world geographic features as much as possible and detect more practical change information, so their performance is better than traditional feature extraction methods. However, when training change detection convolutional neural networks, existing gradient-based training methods often face the problem of exponential decrease in the gradient of the error signal when propagating from back to front, which will significantly reduce the learning efficiency of the front layer of the change detection convolutional neural network, resulting in a decrease in network learning performance and an increase in false detection rate. At the same time, the initialization of training parameters can easily cause the model to fall into a sub-local optimum, resulting in reduced network detection accuracy.

[0004] Specifically for change detection in SAR images, Liang Yiqing et al. used the back propagation BP algorithm to train the change detection network of SAR images in "SAR Target Detection Method Based on Deep Learning". Among them, the BP gradient descent algorithm is the most widely used form of network training, with strong mapping and adaptive capabilities. However, due to the excessive number of parameters in the change detection convolutional neural network, this method will lead to slow convergence and easy to fall into local minimization. Moreover, the change detection convolutional neural network of SAR images often has a deeper network layer to obtain higher classification accuracy. This method will become extremely unstable as the number of network layers deepens, and it is easy to have gradient diffusion and gradient explosion phenomena.

[0005] In addition, Xu Zhen et al. used the Adam algorithm as a gradient training algorithm in "A SAR Image Change Detection Method Based on CNN". This training method is an improved algorithm of the traditional SGD stochastic gradient descent algorithm, with a faster convergence speed and good noise resistance. However, the second-order momentum of this method is accumulated within a fixed time window. As the time window changes, the training data encountered may change dramatically, so that the second-order momentum may be large or small, rather than monotonically changing, which may cause the learning rate to fluctuate in the later stage of training, resulting in the failure of the model to converge. In addition, since SAR change detection convolutional neural networks often contain a large number of parameters, in such a high-dimensional space, non-convex objective functions often fluctuate and have countless maxima and minima. Some steep extremes may be easily crossed by introducing momentum, while some relatively gentle extremes may not be found after many explorations, which will lead to falling into the local optimum and stopping the training.

[0006] Therefore, how to propose a fast and effective training method for the change detection network of SAR images to improve the accuracy of the SAR image change detection network is an urgent problem to be solved in this field. Summary of the invention

[0007] In order to solve the above problems existing in the prior art, the present invention provides a SAR change detection network training method based on multi-task sub-network decomposition and a change detection method for SAR images. The technical problem to be solved by the present invention is achieved by the following technical solutions:

[0008] In a first aspect, an embodiment of the present invention proposes a SAR change detection network training method based on multi-task sub-network decomposition, comprising:

[0009] S1, obtain a SAR image sample set, obtain a preset convolutional neural network and initialize the target parameters to be trained;

[0010] S2, using the SAR image sample set, adopting the SGD stochastic gradient descent method to iteratively train the current network, retaining the full network target parameters obtained from each training; wherein, if the current training meets the first end condition, S5 is executed; otherwise, S3 is executed when the training is determined to be invalid;

[0011] S3, using the multiple groups of full-network target parameters obtained by iterative training of the SGD stochastic gradient descent method to initialize the population to obtain a parent population; wherein each generation of the population contains the same number of individuals; each individual corresponds to a change detection network for SAR images, and the chromosome encoding of each individual is obtained by arranging the target parameters corresponding to each layer in the order of each layer of the corresponding change detection network;

[0012] S4, select an auxiliary task to cooperate with the main task, perform iterative network training for multi-task optimization based on population genetics, and retain the target parameters of the whole network obtained from each training; wherein, if the current training meets the second end condition, execute S5; if it is determined that all auxiliary tasks have been traversed after multiple iterative trainings, retain a set of optimal target parameters of the whole network obtained by multi-task evolution, and return to S2; the preset convolutional neural network is pre-decomposed into multiple sub-networks according to the number of layers, each sub-network is set as an auxiliary task for optimizing the target parameters of the sub-network, and the set of all sub-networks is set as the main task for optimizing the target parameters of the whole network;

[0013] S5, obtaining the optimal whole-network target parameters completed by iterative training, and substituting them into the preset convolutional neural network to obtain a trained SAR image change detection network for performing change detection on the SAR image pair to be tested.

[0014] In a second aspect, an embodiment of the present invention provides a change detection method for a SAR image, comprising:

[0015] Acquire a pair of SAR images to be tested;

[0016] The SAR image pair to be tested is input into a SAR image change detection network to obtain a change detection result of the SAR image pair to be tested; wherein the SAR image change detection network is obtained based on the SAR change detection network training method based on multi-task subnetwork decomposition described in the first aspect.

[0017] The SAR change detection network training method based on multi-task subnetwork decomposition provided by the embodiment of the present invention combines the SGD stochastic gradient descent method and the multi-task optimization method as two training stages to be executed in sequence, performs the second stage of network training after multiple iterations of the first stage are invalid, and when the second stage training does not meet the requirements, uses a set of optimal full-network target parameters obtained by the second stage multi-task optimization as the starting point of the new first stage training. Since the multi-task optimization method is gradient-free, combining it with the SGD stochastic gradient descent method can effectively alleviate the gradient disappearance, gradient diffusion, and explosion phenomena that occur in the traditional SAR image change detection network training. At the same time, when iterative training is performed using the multi-task optimization method, the entire network is decomposed into multiple sub-networks, all sub-network sets are set as main tasks, and random single sub-networks are set as auxiliary tasks. The embodiment of the present invention utilizes the characteristics that small-scale auxiliary tasks are easier to converge and optimizes them together with the main task, which can accelerate the convergence speed and reduce the network training cost. Moreover, in the execution process of the multi-task optimization method, the embodiment of the present invention adopts a large number of candidate solutions to seek the global optimal solution, which can help the training of the traditional SAR image change detection network to break away from the local optimal phenomenon and seek convolutional neural network parameters with better performance for SAR image change detection.

[0018] Furthermore, a change detection method for SAR images proposed in an embodiment of the present invention can improve the accuracy of detection by performing detection using a SAR image change detection network trained by a SAR change detection network training method based on multi-task subnetwork decomposition proposed in an embodiment of the present invention.

[0019] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A flowchart of a SAR change detection network training method based on multi-task sub-network decomposition provided by an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of a rectangular sliding window sliding through a difference graph according to an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of individual chromosome encoding provided by an embodiment of the present invention using the VGG16 network as an example;

[0023] Figure 4 A schematic diagram of a two-point crossover variation provided by an embodiment of the present invention;

[0024] Figure 5 A flowchart of another SAR change detection network training method based on multi-task sub-network decomposition provided by an embodiment of the present invention;

[0025] Figure 6 A first set of SAR images and a variation reference image used in a simulation experiment according to an embodiment of the present invention;

[0026] Figure 7 This is a second set of SAR images and a variation reference image used in a simulation experiment according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] In order to solve the training problem of SAR image change detection network in the prior art and improve the accuracy of SAR image change detection, an embodiment of the present invention provides a SAR change detection network training method based on multi-task subnetwork decomposition and a change detection method for SAR images.

[0029] In the first aspect, the embodiment of the present invention provides a SAR change detection network training method based on multi-task sub-network decomposition, that is, a SAR image change detection convolutional neural network training method is proposed by using multi-task sub-network decomposition optimization, see Figure 1 , the method may include the following steps:

[0030] S1, obtain a SAR image sample set, obtain a preset convolutional neural network and initialize the target parameters to be trained.

[0031] Firstly, the process of acquiring SAR image sample sets is introduced.

[0032] In the embodiment of the present invention, a SAR image sample set is used for network training, wherein each sample is obtained based on a pair of SAR images of the same location at different times, and a corresponding difference map.

[0033] In an optional implementation manner, obtaining a SAR image sample set may include the following steps A1 to A5:

[0034] A1, obtain multiple groups of SAR image pairs, and preprocess them respectively to obtain multiple groups of sample SAR image pairs.

[0035] In the embodiment of the present invention, each group of SAR image pairs includes two SAR images of the same location at different times.

[0036] Preprocessing mainly includes image registration, geometric correction and image denoising, etc. The purpose is to make the two SAR images consistent and comparable in the spatial and spectral domains.

[0037] Through image registration, the coordinate systems of the two SAR images can represent the same geographic location information. The embodiment of the present invention can adopt any existing image registration method, such as registering the two SAR images at the scale level or gray level through scale-invariant features or mutual information features, which is not limited here.

[0038] Due to the combined influence of multiple factors during remote sensing imaging, the image will produce geometric distortion. Geometric correction can be used to correct the errors caused by illumination conditions and other reasons. The embodiment of the present invention can adopt any existing geometric correction method, such as orthorectification, RPC model and polynomial model, etc., which is not limited here.

[0039] Image denoising can eliminate speckle noise in SAR images and improve image quality. The embodiment of the present invention can adopt any existing image denoising method, such as mean filtering, median filtering, Lee filtering, Sigma filtering, Frost filtering, Gamma MAP filtering, threshold filtering based on wavelet decomposition, etc., which is not limited here.

[0040] For the purpose of distinction, the embodiment of the present invention names the preprocessed SAR image pair as a sample SAR image pair.

[0041] A2, generate the difference map for each set of sample SAR image pairs.

[0042] For each set of sample SAR image pairs, a difference map can be generated by comparing the two SAR images in the set of sample SAR image pairs. In the difference map, the pixels in the changed area and the pixels in the non-changed area will show obvious differences in grayscale, so the unchanged class and the changed class in the two SAR images can be preliminarily distinguished.

[0043] Regarding the method of generating a difference map, any existing difference map generation method can be used, such as: using a difference operator, using a ratio operator, using a logarithmic ratio (Log-ratio, LR) operator, using a mean ratio (Mean-ratio, MR) operator, a combined difference image (Combined Difference Image, CDI), a neighborhood-based ratio difference map algorithm, a wavelet fusion (Wavelet Fusion, WF) method, etc., without limitation here.

[0044] In an optional implementation, a method based on a ratio operator may be used to generate a difference map. Specifically, an LR operator may be selected. The calculation formula of the LR operator is as follows:

[0045]

[0046] Where I1(x) and I2(x) represent the pixel intensity values ​​of SAR images I1 and I2 at spatial position x, respectively; C (C>0) is a very small constant used to prevent the denominator from being zero; and |·| represents the absolute value function.

[0047] For the specific process of generating a difference map based on the ratio method using the LR operator, please refer to the relevant prior art, which will not be described in detail here.

[0048] A3, for each difference map, a threshold method is used to determine the category label of each pixel in the difference map.

[0049] The category labels include changed categories and unchanged categories.

[0050] Among them, the threshold method is to find an optimal threshold through a certain threshold selection method, and then divide the difference map into a changed class and an unchanged class based on the threshold pixel value.

[0051] The threshold method in the embodiment of the present invention may include a KI (Kilter & Illingworth) method and an EM (Expectation Maximization) method.

[0052] In an optional implementation, the GKI (Generalized KI) threshold method can be used to classify pixels on the difference map into change categories ω c and unchanged class ω n . Specifically:

[0053] Assume that the probability distribution function of the difference map is p(X l ), then the probability distribution function is obtained by using the total probability formula:

[0054] p(X l )=p(X l ∣ω c )·P(ω c )+p(X l ∣ω n )·P(ω n )

[0055] Among them, p(X l ∣ω c ) and p(X l ∣ω n ) represent the change class ω c and unchanged class ω n The conditional probability density function, P(ω c ) and P(ω n ) is the corresponding prior probability.

[0056] Assume that the pixels in the difference map are under the assumption condition H k The parameter model under this condition is p(·|θ k ),k=0,1where, is the parameter vector of the distribution; H0 and H1 correspond to the unchanged part and the changed part respectively. The difference map is quantized to Z levels {0,1,...,Z-1}, and the corresponding normalized histogram is {h(u):0,1,...,Z-1}.

[0057] According to Bayesian decision theory, the posterior probability density can be obtained as follows:

[0058]

[0059] On this basis, the optimal segmentation threshold can be obtained by minimizing the classification error:

[0060]

[0061] Among them, τ* represents the optimal segmentation threshold; is the prior probability of the difference map; R 0τ = {0,1,...,τ} and R 1τ ={τ+1,τ+2,...,Z-1} is the set of levels of the assumptions H0 and H1; is the parameter vector θ k The pixels in the difference map are divided into change classes ω using the following formula: c and unchanged class ω n ,Right now:

[0062]

[0063] Among them, ρ(i,j) refers to the pixel intensity value of the difference map at the spatial position x(i,j). Thus, the pre-classification result corresponding to the difference map is obtained.

[0064] A4, for each difference map, each pixel in the difference map is sequentially used as the central pixel of a rectangular sliding window of a preset size to perform a sliding traversal of the difference map pixels; during the sliding traversal process, if it is determined that the difference map image block in the rectangular sliding window meets the preset conditions, the difference map image block and two sample SAR image blocks obtained from the corresponding sample SAR image pair according to the position of the difference map image block together constitute a sample.

[0065] The pre-classification result in A3 is not completely correct. This step is to select samples with high confidence to construct a SAR image sample set.

[0066] In the embodiment of the present invention, the rectangular sliding window of the preset size may be, for example, 16×16. Here, 3×3 is taken as an example for simple description. Figure 2 , Figure 2 The schematic diagram of a rectangular sliding window sliding through a difference map of an embodiment of the present invention, wherein dots represent pixels. Specifically, each pixel in the difference map is sequentially used as the center pixel of the rectangular sliding window (see the gray dots). At each position of the rectangular sliding window, it is determined whether the difference map image block composed of 9 pixels in the rectangular sliding window meets the preset conditions. If so, the difference map image block and the sample SAR image pair for generating the difference map are centered. The sample SAR image block obtained by the first SAR image based on the position of the difference map image block and the sample SAR image block obtained by the second SAR image based on the position of the difference map image block together constitute a sample. If not, the next pixel is continued to be traversed by sliding as the center pixel of the rectangular sliding window.

[0067] The preset condition is that the ratio of the number of pixels in the difference image block that have the same category label as its central pixel to the total number of pixels in the difference image block is greater than a preset ratio. In mathematical expression, it is: for the rectangular sliding window, if the central pixel p ij The corresponding category label in the pre-classification result is L ij , with p ij The neighborhood centered is Ω ij , whose size is w×w. If p ij Its neighborhood is included in a sample if the following conditions are met:

[0068]

[0069] Among them, point p ξψ is the neighborhood Ω ij pixels in; Q(p ξψ ∈Ω ij ∩L ξψ =L ij ) indicates that the category label in this neighborhood is L ij w represents the size of the neighborhood of the center pixel, that is, the size of the rectangular sliding window; η represents a preset ratio, which can be set according to empirical values, such as 0.2.

[0070] It should be noted that, during the sliding traversal of the rectangular sliding window, if blank pixels appear in the corresponding difference image block, they can be filled with preset pixels or adjacent pixels, and the specific method is not described in detail here.

[0071] In the embodiment of the present invention, a plurality of samples may be obtained in a difference map, and the difference map image block corresponding to each sample has a certain category label, and the category label is the category label corresponding to the central pixel thereof.

[0072] A5, the samples obtained from all the difference maps constitute a SAR image sample set, and the SAR image sample set is divided into multiple sub-training sets.

[0073] The embodiment of the present invention can obtain a number of samples and combine them to form a SAR image sample set; and use the SAR image sample set as a training set and divide it into multiple sub-training sets of the same size, for example, the number of samples in each sub-training set can be 50.

[0074] Secondly, the process of obtaining the preset convolutional neural network and initializing the target parameters to be trained is introduced.

[0075] In an optional implementation manner, obtaining a preset convolutional neural network and initializing target parameters to be trained may include the following steps B1 to B2:

[0076] B1, obtain the preset convolutional neural network.

[0077] The embodiment of the present invention can obtain any existing convolutional neural network that can be used for SAR image change detection as a preset convolutional neural network. For example, the preset convolutional neural network can include LeNet-5, AlexNet, VGG16 network, etc.

[0078] For the preset convolutional neural network, VGG16 network, it can have the following preliminary settings: the size of the convolution kernel used in each layer is 3×3, the activation function is relu, the periphery of the image can be set to 0 before each convolution to ensure that the image size remains unchanged, the pooling layer size is 2×2, the maximum pooling is used, and the step size is 2. The third layer of the network is used, the density of the fully connected layer is set to 500, and the last layer uses the sigmod activation function. Of course, some parameters in the preliminary settings can be adjusted as needed.

[0079] B2, randomly initialize the weight parameters and bias parameters of each layer in the preset convolutional neural network as the target parameters to be trained.

[0080] For the preset convolutional neural network, the target parameters to be trained are the weight coefficients and bias coefficients in each convolutional layer and fully connected layer; for the entire network, it is expressed in terms of the target parameters of the entire network, specifically including the weight matrix W and bias matrix B corresponding to the entire network.

[0081] In order to start subsequent training, it is necessary to initialize W and B. The embodiment of the present invention can be implemented by any existing initialization method, such as uniform distribution initialization, positive_unitball initialization, xavier initialization, msra initialization or bilinear initialization.

[0082] In an optional implementation, Gaussian distribution initialization may be used to sample from a Gaussian distribution with a mean of 0 and a variance of 1 to achieve initialization of the target parameters.

[0083] S2, using the SAR image sample set, adopts the SGD stochastic gradient descent method to iteratively train the current network, and retains the full network target parameters obtained from each training.

[0084] If the current training meets the first end condition, S5 is executed; otherwise, if the training is determined to be invalid, S3 is executed.

[0085] For the current network (the current network of the first training is the preset convolutional neural network after initialization), the embodiment of the present invention uses the SGD stochastic gradient descent method to train it. If the full network target parameters obtained from the current training make the current training meet the first termination condition, the training is terminated and S5 is executed. Among them, the first termination condition is that the full network target parameters obtained from the current training make the network performance meet the predetermined requirements, or indicate that the network has achieved convergence, which can be specifically designed as needed. If the full network target parameters obtained from the current training do not make the current training meet the first termination condition, it is necessary to determine whether the current training is valid. If it is valid, it indicates that it is necessary to continue to use the SGD stochastic gradient descent method for iterative training. If it fails, the iterative training of the SGD stochastic gradient descent method is stopped and S3 is executed. Among them, whether the current training is valid can be set using parameter indicators such as the training gain of the current training. For specific details, please refer to the following text.

[0086] Among them, for each training, the whole network target parameters obtained from the training will be retained. As mentioned above, the whole network target parameters are the weight matrix and bias matrix for the preset convolutional neural network.

[0087] For relevant content about the SGD stochastic gradient descent method, please refer to the prior art understanding, which will not be explained in detail here.

[0088] S3, using the SGD stochastic gradient descent method to iteratively train multiple sets of full-network target parameters, to initialize the population and obtain the parent population.

[0089] Regarding this step, an optional implementation may include:

[0090] Obtain t groups of full-network target parameters obtained by iterative training using the SGD stochastic gradient descent method; where t represents the total number of iterative training using the SGD stochastic gradient descent method, and n represents the number of individuals in each generation of the population; t and n are natural numbers greater than 0.

[0091] If n≤t, select n groups from t groups of full-network target parameters for individual initialization to obtain the parent population. Specifically, n groups can be randomly selected from t groups of full-network target parameters; as the number of iterations increases, the optimization effect of the target parameters increases, so in a preferred implementation, the next n groups can be obtained from t groups of full-network target parameters according to the order in which t groups of full-network target parameters are obtained for individual initialization, that is, the target parameters obtained by (t-n+1), (t-n+2),..., (t-n+i),..., (t-n+n) iterations of training using SGD stochastic gradient descent method are used for individual initialization.

[0092] If n>t, select t groups of network-wide target parameters, and use a preset initialization method to obtain nt groups of network-wide target parameters, and perform individual initialization together to obtain the parent population. The preset initialization method may be Gaussian distribution initialization, etc.

[0093] In the embodiment of the present invention, each generation of the population contains the same number of individuals, which can be represented by n for ease of description; each individual corresponds to a change detection network for SAR images, and the chromosome code of each individual is obtained by arranging the target parameters corresponding to each layer in the order of each layer of the corresponding change detection network. It can be understood by those skilled in the art that each individual represents a change detection network using a chromosome code carrying the target parameters of each layer of the preset convolutional neural network.

[0094] For more information about encoding, see Figure 3 , Figure 3 A schematic diagram of individual chromosome encoding is provided in an embodiment of the present invention using the VGG16 network as an example.

[0095] S4, select an auxiliary task to cooperate with the main task, perform iterative network training for multi-task optimization based on population genetics, and retain the full network target parameters obtained from each training.

[0096] The preset convolutional neural network is pre-decomposed into multiple sub-networks according to the number of layers, each sub-network is set as an auxiliary task for optimizing the target parameters of the sub-network, and the set of all sub-networks is set as the main task for optimizing the target parameters of the whole network. For example, for the preset convolutional neural network as the VGG16 network, each convolution layer is a sub-network, each fully connected layer is a sub-network, and a total of 16 sub-networks are obtained, including 13 convolutional layer sub-networks and 3 fully connected layer sub-networks. According to the 16 sub-networks obtained by decomposition, 17 tasks are defined, including 1 main task maintask and 16 auxiliary tasks subtask k, k = 1, 2, ..., 16. The maintask corresponds to the optimization of all target parameters of the change detection network, and each subtask corresponds to the optimization of the target parameters of a sub-network.

[0097] Regarding the multi-task optimized network iterative training of this step, if the current training meets the second end condition, execute S5; if it is determined that all auxiliary tasks are traversed after multiple iterative trainings, retain a set of optimal full-network target parameters obtained by multi-task evolution, and return to S2.

[0098] Specifically, this step of the embodiment of the present invention is to optimize the sub-network using evolutionary multi-tasks. In general, each auxiliary task will be traversed, and the auxiliary task and the main task will be used to optimize the target parameters together. The small-scale auxiliary task is more easily converged and optimized together with the main task, which can accelerate the convergence speed. For each auxiliary task traversed, the auxiliary task will be iterated multiple times; and in each iteration, individuals that are good at optimizing the main task and the auxiliary task will be selected from the parent individuals based on the main task, and the task proficiency of the individuals will be used to generate the offspring population using a genetic algorithm to achieve the genetic inheritance of the task proficiency; according to the full network target parameters obtained by the current offspring population, it can be determined whether the current training meets the second end condition, wherein the second end condition is that the full network target parameters obtained by the current training make the network performance meet the predetermined requirements. If the current training meets the second end condition, the network training is terminated and S5 is executed. If the current training does not meet the second end condition, it is necessary to continue iterative training for the auxiliary task, and at this time, the current offspring population is used to generate a new generation of parent population for the next iteration.

[0099] If all auxiliary tasks are traversed and the network training cannot be completed, the optimal set of full-network target parameters obtained by multi-task evolution is used as the initial target parameters of the preset convolutional neural network in S2 to continue the SGD stochastic gradient descent iterative training.

[0100] The specific implementation of S4 will be described in detail later.

[0101] It can be understood that in the embodiment of the present invention, the SGD stochastic gradient descent method is used as the network training method of the first stage. When it fails, the multi-task optimized network iterative training is continued as the network training method of the second stage. If the second stage is executed and the goal is not achieved, the next round of the first stage network training is restarted with the currently obtained set of optimal full-network target parameters. Therefore, the embodiment of the present invention effectively combines the SGD stochastic gradient descent method and the multi-task optimization method, and uses multi-task to optimize each sub-network, and cooperates with the main task to achieve the training optimization of the full-network target parameters.

[0102] S5, obtaining the optimal whole network target parameters completed by iterative training, and substituting them into the preset convolutional neural network to obtain a trained SAR image change detection network for performing change detection on the SAR image pair to be tested.

[0103] It can be understood by those skilled in the art that when step S5 is executed, a set of optimal full-network target parameters can be obtained based on multiple iterations, and then the optimal full-network target parameters are written into the preset convolutional neural network to obtain a trained SAR image change detection network. At this point, the training process of the SAR image change detection network is completed. It can be understood that the SAR image change detection network can be used to obtain corresponding difference maps as change detection results for unknown SAR image pairs collected at different times at the same location.

[0104] The SAR change detection network training method based on multi-task subnetwork decomposition provided by the embodiment of the present invention combines the SGD stochastic gradient descent method and the multi-task optimization method as two training stages to be executed in sequence, performs the second stage of network training after multiple iterations of the first stage are invalid, and when the second stage training does not meet the requirements, uses a set of optimal full-network target parameters obtained by the second stage multi-task optimization as the starting point of the new first stage training. Since the multi-task optimization method is gradient-free, combining it with the SGD stochastic gradient descent method can effectively alleviate the gradient disappearance, gradient diffusion, and explosion phenomena that occur in the traditional SAR image change detection network training. At the same time, when iterative training is performed using the multi-task optimization method, the entire network is decomposed into multiple sub-networks, all sub-network sets are set as main tasks, and random single sub-networks are set as auxiliary tasks. The embodiment of the present invention utilizes the characteristics that small-scale auxiliary tasks are easier to converge and optimizes them together with the main task, which can accelerate the convergence speed and reduce the network training cost. Moreover, in the execution process of the multi-task optimization method, the embodiment of the present invention adopts a large number of candidate solutions to seek the global optimal solution, which can help the training of the traditional SAR image change detection network to break away from the local optimal phenomenon and seek convolutional neural network parameters with better performance for SAR image change detection.

[0105] An optional implementation of steps S2 and S4 is described below.

[0106] For S2, in an optional implementation, the SAR image sample set is used to iteratively train the current network using the SGD stochastic gradient descent method, including the following steps:

[0107] ① Using a sub-training set that has not participated in the training, the SGD stochastic gradient descent method is used to train the acquired current network to obtain the full network target parameters and training gain obtained in the current training.

[0108] Specifically, when the SGD stochastic gradient descent method is used for training, a sub-training set that has not participated in the training is randomly selected in each iteration to train the current network. When the SGD stochastic gradient descent method is used for training for the first time, the current network is a preset convolutional neural network after initialization.

[0109] Use the following formula to complete the gradient update and obtain the full network target parameters obtained in the current training:

[0110]

[0111]

[0112] Among them, α represents the learning rate, W and B are the weight matrix and bias matrix respectively. i represents the iteration number.

[0113] The purpose of network training in the embodiment of the present invention is to find the target parameter value that minimizes the false positive rate of SAR image change detection; for each iteration, the false positive rate obtained by writing the current full network target parameters into the preset convolutional neural network after the iteration is completed and using the SAR image sample set for change detection can be calculated. The false positive rate can be expressed by the minimum mean square error function, as follows:

[0114]

[0115] Among them, L (x k ) indicates that the current network is for the input sample pair x k The output difference map is represented by a difference map matrix, where the input sample pair is a sample SAR image pair in the SAR image sample set; k The difference map for the sample SAR image pair in the SAR image sample set is represented by a difference map matrix, which serves as the true value for sample training; Indicates the measurement of o L (x k ) and y k The squared norm of the squared Euclidean distance between them; N represents the number of samples in the sub-training set; t represents the tth iteration. Of course, the false positive rate can also be represented by other functions, which are not limited here.

[0116] Moreover, after each training session, the training gain of the current training session can be calculated:

[0117] ε t =E t (P)+E t-2 (P)-2E t-1 (P)

[0118] Those skilled in the art will appreciate that the SGD stochastic gradient descent method usually requires multiple iterations, and the first and second training gains may not be considered separately and there may be a situation where the iterations are stopped.

[0119] ② Determine whether the current training meets the first end condition.

[0120] The first termination condition is that the false detection rate of the network for change detection is less than the false detection rate threshold, or the cumulative number of iterations reaches a first preset number of iterations. The first preset number of iterations is the maximum number of iterations pre-set for the SGD stochastic gradient descent method iterative training, such as 80.

[0121] The false positive rate threshold may be represented by ζ, and may be set according to an empirical value, such as ζ=0.032.

[0122] ③ If the current training meets the first end condition, the whole network target parameter obtained in the current training is used as the optimal whole network target parameter to execute S5. This indicates that the network training is finished.

[0123] ④ If the current training does not meet the first end condition, determine whether the training gain is less than the training gain threshold. The training gain threshold can be represented by λ, which can be set according to empirical values, such as λ=0.012.

[0124] ⑤ If the training gain is greater than or equal to the training gain threshold, return to the step of using a sub-training set that has not participated in the training and using the SGD stochastic gradient descent method to train the acquired current network. That is, if ε t ≥λ, indicating that the SGD stochastic gradient descent method is still needed for iterative training, and the result is returned to ①.

[0125] ⑥ If the training gain is less than the training gain threshold, the SGD stochastic gradient descent training is determined to be invalid and S3 is executed. t <λ, indicating that the loss value change of the SGD stochastic gradient descent method is no longer valid, then S3 is executed to start the second stage of training.

[0126] In an optional implementation of S4, a secondary task is selected to cooperate with the primary task, and network iterative training for multi-task optimization based on population genetics may include the following steps:

[0127] 1) Randomly select an auxiliary task that has not participated in the optimization from the multiple auxiliary tasks obtained by decomposition as the target auxiliary task.

[0128] The selected target subtask k and main task maintask will be optimized together in the future.

[0129] 2) Each individual in the parent population is evaluated on the main task and the target auxiliary task respectively; based on the evaluation results, the skill coefficient categories of n / 2 excellent individuals on the main task are calibrated as the main task category, and the skill coefficient categories of the remaining individuals are calibrated as the auxiliary task category.

[0130] In an optional implementation, each individual in the parent population is evaluated on the main task and the target auxiliary task respectively, including:

[0131] For each individual in the parent population, the individual is evaluated on the main task according to the main task evaluation strategy, and is evaluated on the target auxiliary task according to the auxiliary task evaluation strategy.

[0132] The main task evaluation strategy includes writing the whole network target parameters corresponding to the individual into the original change detection network, and using the false positive rate to evaluate the network based on the SAR image sample set; the auxiliary task evaluation strategy includes replacing the target parameters of the corresponding layer in the currently retained optimal whole network target parameters with the target parameters of the corresponding sub-network, and then using the false positive rate to evaluate the network based on the SAR image sample set. The currently retained optimal whole network target parameters are the optimal whole network target parameters obtained by the previous iterative training before evaluating the parent population.

[0133] Therefore, each individual in the parent population will get the evaluated false positive rate on both maintask and subtask k. Then, for maintask, the false positive rate of n individuals will be obtained. These n individuals are sorted from small to large according to the false positive rate, and the top n / 2 excellent individuals are selected, and their skill coefficient categories are calibrated as the main task category τ main , which is responsible for the optimization of the main task maintask; at the same time, the skill coefficient categories of the n / 2 individuals ranked later are calibrated as the auxiliary task category τ subk , to optimize the target auxiliary task subtask k. Those skilled in the art can understand that the skill coefficient is a common parameter in neural network training, which will not be described in detail here.

[0134] 3) Based on the skill coefficient categories of individuals in the parent population of the current generation, the chromosome crossover mutation of the individuals is used to generate a child population, and the skill coefficient category of each individual therein is determined.

[0135] In an optional implementation manner, the step 3) may include the following steps:

[0136] Generate random numbers rand1 and rand2, and get parameters rmp1 and rmp2.

[0137] Among them, rand1, rand2, rpm1 and rpm2 are between [0,1]; rpm1 and rpm2 can be set according to empirical values, such as rpm1=0.3, rpm2=0.01, etc.

[0138] Determine whether the skill coefficients of the two parent chromosomes p1 and p2 in the parent population satisfy Or rand1<rmp1. Among them, and Represent the skill coefficients of p1 and p2 respectively.

[0139] If so, p1 and p2 use the two-point crossover method to produce two offspring in total, and determine the skill coefficient categories of the two offspring based on the size comparison of rand2 and rmp2.

[0140] Specific:

[0141] If the skill coefficient categories of p1 and p2 are both main task categories, the two intersection points are randomly selected from p1 and p2 respectively; if the skill coefficient categories of p1 and p2 include at least one auxiliary task category, the two intersection points are randomly selected from the valid coding segments of the subnetwork corresponding to the auxiliary task in p1 and p2.

[0142] For details, please see Figure 4 , Figure 4 A schematic diagram of a two-point cross-variation provided in an embodiment of the present invention; wherein (a) is a schematic diagram of a cross-variation in which the skill coefficient categories of p1 and p2 are both main task categories; (b) is a schematic diagram of a cross-variation in which the skill coefficient categories of p1 and p2 are both auxiliary task categories; (c) is a schematic diagram of a cross-variation in which the skill coefficient categories of p1 and p2 are respectively main task categories and auxiliary task categories. Figure 4 In (a), the crossover between two chromosomes that are good at the main task is to randomly select a section of all chromosomes of the two main tasks for crossover; Figure 4 In (b), two chromosomes that are good at auxiliary tasks cross over by randomly selecting small segments from the chromosome segments of their respective sub-networks; Figure 4 In (c), the chromosomes that are good at the main task and the chromosomes that are good at the auxiliary task are crossed, and a small segment is randomly selected from the chromosome segment of the sub-network of the auxiliary task and the chromosome segment of the sub-network corresponding to the main task.

[0143] And, for any case of skill coefficient categories of p1 and p2, if rand2<rmp2, determine If rand2 ≥ rmp2, determine in, represents the skill coefficient of off1 among the two offspring, Represents the skill coefficient of offspring off2 among the two offspring.

[0144] If not, each parent chromosome produces a child by mutation, and the child inherits the skill coefficient category of the parent.

[0145] Specifically, p1 mutates to produce off1, and sets At the same time, p2 mutates to produce off2, and sets Among them, the probability of a gene mutation can be 0.02, and the value of the mutation point can be replaced by the value sampled from a Gaussian distribution with a mean of 0 and a variance of 1.

[0146] All the obtained offspring constitute the offspring population.

[0147] Among them, the offspring population Off contains n offspring, and the skill coefficient category in the offspring population belongs to the main task category τ main and auxiliary task category τ subk The total number of offspring each accounts for n / 2.

[0148] 4) For each individual in the offspring population, the false positive rate is evaluated on the corresponding task according to its own skill coefficient category.

[0149] Specifically, for each offspring in the offspring population Off, if the skill coefficient category of the offspring is the main task category τ main , the offspring is evaluated only on the main task according to the main task evaluation strategy; if the skill coefficient category of the offspring is the auxiliary task category τ subk , then the child is evaluated only on the target auxiliary task according to the auxiliary task evaluation strategy. The specific evaluation method is the same as the previous article and will not be repeated here. It can be understood that each child evaluation obtains a false positive rate.

[0150] 5) Determine whether the current training meets the second end condition.

[0151] The second end condition is that at least one of all the false detection rates obtained in the current training is less than the false detection rate threshold. The false detection rate threshold is the same as above.

[0152] 6) If the current training meets the second end condition, the whole network target parameter corresponding to a minimum false detection rate less than the false detection rate threshold is used as the optimal whole network target parameter, and S5 is executed. The network training ends here.

[0153] 7) If the current training does not meet the second end condition, determine whether the current training has reached the second preset number of iterations. The second preset number of iterations is the maximum number of iterations preset for the multi-task optimized network iterative training, such as 20, etc. The number of iterations corresponding to the current training in this step is the number of iterations accumulated since the first multi-task optimization.

[0154] 8) If the current training does not reach the second preset number of iterations, select n / 2 individuals with excellent evaluation results for both tasks from the two generations of populations after evaluation, merge them to obtain the parent population of the next generation, and execute the steps of generating the child population based on the skill coefficient category of the individuals in the parent population of the current generation and using the chromosome crossover mutation of the individuals. In other words, continue to return to 3) for iterative training, and the "parent population of the next generation" obtained in 8) will be used as the "parent population of the current generation" in 3) after returning to 3). Please refer to the previous description for how to select excellent individuals.

[0155] 9) If the current training reaches the second preset number of iterations, determine whether all auxiliary tasks have been traversed.

[0156] 10) If not, return to the step of randomly selecting a sub-task that has not participated in the optimization from the multiple sub-tasks obtained by decomposition as the target sub-task. In other words, return to 1) and replace a sub-task that has not participated in the optimization as the target sub-task to start a new iterative training.

[0157] 11) If yes, stop the iterative training of the multi-task optimized network, use the set of optimal full-network target parameters obtained by multi-task evolution to return to S2, and write the preset convolutional neural network into a set of optimal full-network target parameters as the current network to be processed. In other words, use the set of optimal full-network target parameters obtained by the second stage of multi-task evolution as the starting point of the new first stage, and return to S2 to start the first stage of network training again.

[0158] The optional implementations of S2 and S4 can be used together with the above-mentioned solutions of S1 to S5 as an embodiment. Of course, they can also be used together to form a specific embodiment. For details, please refer to Figure 5 , Figure 5 A flowchart of another SAR change detection network training method based on multi-task sub-network decomposition provided by an embodiment of the present invention includes the following steps:

[0159] S001, obtain a SAR image sample set, obtain a preset convolutional neural network and initialize the target parameters to be trained.

[0160] S002, using a sub-training set that has not participated in the training, and using the SGD stochastic gradient descent method to train the acquired current network, obtain the full network target parameters and training gain obtained from the current training.

[0161] S003, determine whether the current training meets the first end condition: the false detection rate is less than the false detection rate threshold or reaches the first preset number of iterations. If the current training meets the first end condition, the whole network target parameter obtained by the current training is used as the optimal whole network target parameter to execute S013. If the current training does not meet the first end condition, execute S004 to determine whether the training gain is less than the training gain threshold.

[0162] If the training gain is greater than or equal to the training gain threshold, return to S002, that is, use a sub-training set that has not participated in the training and use the SGD stochastic gradient descent method to train the acquired current network.

[0163] If the training gain is less than the training gain threshold, it is determined that the SGD stochastic gradient descent training is invalid, and S005 is executed.

[0164] S005, using the SGD stochastic gradient descent method to iteratively train multiple sets of full-network target parameters, perform population initialization to obtain the parent population.

[0165] S006, randomly selecting an auxiliary task that has not participated in the optimization from the multiple auxiliary tasks obtained by decomposition as the target auxiliary task.

[0166] S007, evaluate each individual in the parent population on the main task and the target auxiliary task respectively; based on the evaluation results, mark the skill coefficient categories of n / 2 excellent individuals on the main task as the main task category, and mark the skill coefficient categories of the remaining individuals as the auxiliary task category.

[0167] S008, based on the skill coefficient categories of individuals in the parent population of the current generation, using the chromosome crossover mutation of the individuals to generate a child population, and determining the skill coefficient category of each individual therein.

[0168] S009, evaluate the false positive rate of each individual in the offspring population on the corresponding task according to its own skill coefficient category.

[0169] S010, determining whether the current training meets a second termination condition: at least one false detection rate among all false detection rates obtained in the current training is smaller than the false detection rate threshold.

[0170] If the current training meets the second end condition, the whole network target parameter corresponding to a minimum false detection rate less than the false detection rate threshold is used as the optimal whole network target parameter to execute S013.

[0171] If the current training does not meet the second end condition, execute S011 to determine whether the current training reaches the second preset number of iterations.

[0172] If the current training does not reach the second preset number of iterations, n / 2 individuals with excellent evaluation results for both tasks are selected from the two generations of populations after evaluation, and merged to obtain the parent population of the next generation, and execute S008, that is, based on the skill coefficient categories of individuals in the parent population of the current generation, the step of generating a daughter population by using the chromosome crossover variation of individuals.

[0173] If the current training reaches the second preset number of iterations, execute S012 to determine whether all auxiliary tasks have been traversed.

[0174] If not, the process returns to S006, that is, randomly selecting an auxiliary task that has not participated in the optimization from the multiple auxiliary tasks obtained by decomposition as the step of the target auxiliary task.

[0175] If so, stop the iterative training of the multi-task optimized network, use the multi-task evolution to obtain a set of optimal full-network target parameters and return to S005, so as to write the preset convolutional neural network into a set of optimal full-network target parameters as the current network to be processed.

[0176] S013, obtaining the optimal whole-network target parameters completed by iterative training, and substituting them into a preset convolutional neural network to obtain a trained SAR image change detection network for performing change detection on the SAR image pair to be tested.

[0177] For the specific contents of the above steps, please refer to the relevant parts of the previous text and will not be repeated here.

[0178] In order to illustrate the effectiveness of the SAR change detection network training method based on multi-task sub-network decomposition provided by the embodiment of the present invention, the experimental results of the neural network obtained by the method of the embodiment of the present invention and the traditional change detection BP gradient descent training method are compared below. The evaluation indicators are:

[0179] (1) False positive detection number FP: The change detection results obtained using different methods are compared with the change reference image. The number of pixels that belong to the unchanged class in the change reference image but belong to the changed class in the simulation result image is called the false positive detection number.

[0180] (2) Missed detection number FN: The change detection results obtained using different methods are compared with the change reference image. The number of pixels that belong to the changed class in the change detection reference image but belong to the unchanged class in the simulation experiment result image is called the missed detection number.

[0181] (3) Evaluate the simulation results and change reference Figure 1 KC coefficient of consistency:

[0182]

[0183] Among them, PCC represents the probability of correctly classifying a pixel, and PRE represents the expected consistency ratio.

[0184] in, Figure 6 A first set of SAR images and a variation reference image used in a simulation experiment according to an embodiment of the present invention; Figure 7 This is a second set of SAR images and a variation reference image used in a simulation experiment according to an embodiment of the present invention.

[0185] The experimental results of the two training methods are compared in Tables 1 and 2.

[0186] Table 1 Data comparison of the first group of simulation experiments

[0187]

[0188] Table 2 Data comparison of the second group of simulation experiments

[0189]

[0190] It can be seen that compared with the traditional training method, the SAR change detection network training method based on multi-task sub-network decomposition proposed in the embodiment of the present invention has a better training effect.

[0191] In a second aspect, an embodiment of the present invention provides a change detection method for a SAR image, comprising the following steps:

[0192] Obtain the SAR image pair to be tested.

[0193] The SAR image pair to be tested is input into the SAR image change detection network to obtain the change detection result of the SAR image pair to be tested.

[0194] Among them, the SAR image change detection network is obtained based on the SAR change detection network training method based on multi-task sub-network decomposition proposed in the first aspect.

[0195] Therefore, for unknown SAR image pairs at the same location at different times, the embodiment of the present invention uses the SAR image change detection network trained by the SAR change detection network training method based on multi-task sub-network decomposition proposed in the embodiment of the present invention to obtain a relatively accurate SAR image change detection result. For specific details of the network, please refer to the relevant content of the first aspect, which will not be repeated here.

[0196] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0197] The above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A SAR change detection network training method based on multi-task sub-network decomposition, characterized in that: include: S1, obtain a SAR image sample set, obtain a preset convolutional neural network and initialize the target parameters to be trained; S2, using the SAR image sample set, adopting the SGD stochastic gradient descent method to iteratively train the current network, and retaining the whole network target parameters obtained from each training; wherein, if the current training meets the first end condition, execute S5; otherwise, execute S3 when it is determined that the training is invalid; wherein, the first end condition is that the false detection rate of the network for change detection is less than the false detection rate threshold, or the cumulative number of iterations reaches a first preset number of iterations; S3, using the multiple groups of full-network target parameters obtained by iterative training of the SGD stochastic gradient descent method to initialize the population to obtain a parent population; wherein each generation of the population contains the same number of individuals; each individual corresponds to a change detection network for SAR images, and the chromosome encoding of each individual is obtained by arranging the target parameters corresponding to each layer in the order of each layer of the corresponding change detection network; S4, select an auxiliary task to cooperate with the main task, perform iterative network training for multi-task optimization based on population genetics, and retain the full-network target parameters obtained from each training; wherein, if the current training meets the second termination condition, execute S5; if it is determined that all auxiliary tasks are traversed after multiple iterative trainings, retain a set of optimal full-network target parameters obtained by multi-task evolution, and return to S2; the preset convolutional neural network is pre-decomposed into multiple sub-networks according to the number of layers, each sub-network is set as an auxiliary task for optimizing the target parameters of the sub-network, and the set of all sub-networks is set as the main task for optimizing the target parameters of the full network; wherein, the second termination condition is that at least one of all false detection rates obtained from the current training is less than the false detection rate threshold; S5, obtaining the optimal whole-network target parameters completed by iterative training, and substituting them into the preset convolutional neural network to obtain a trained SAR image change detection network for performing change detection on the SAR image pair to be tested.

2. The SAR change detection network training method based on multi-task sub-network decomposition according to claim 1 is characterized in that: The step of acquiring a SAR image sample set comprises: Acquire multiple groups of SAR image pairs, and preprocess them respectively to obtain multiple groups of sample SAR image pairs; Generate a difference map for each set of sample SAR image pairs; For each difference map, a threshold method is used to determine the category label of each pixel in the difference map; the category label includes a changed class and an unchanged class; For each difference map, each pixel in the difference map is sequentially used as the central pixel of a rectangular sliding window of a preset size to perform sliding traversal of the difference map pixels; during the sliding traversal process, if it is determined that the difference map image block in the rectangular sliding window meets a preset condition, the difference map image block and two sample SAR image blocks obtained from the corresponding sample SAR image pair according to the position of the difference map image block are used together to form a sample; wherein the preset condition is that the ratio of the number of pixels in the difference map image block having the same category label as its central pixel to the total number of pixels in the difference map image block is greater than a preset ratio; The samples obtained from all the difference maps constitute the SAR image sample set, and the SAR image sample set is divided into a plurality of sub-training sets.

3. The SAR change detection network training method based on multi-task sub-network decomposition according to claim 1 is characterized in that: The step of obtaining a preset convolutional neural network and initializing target parameters to be trained includes: Obtain a preset convolutional neural network; wherein the preset convolutional neural network includes a VGG16 network; The weight parameters and bias parameters of each layer in the preset convolutional neural network are randomly initialized as target parameters to be trained.

4. The SAR change detection network training method based on multi-task sub-network decomposition according to claim 2 is characterized in that: The method of using the SAR image sample set and adopting the SGD stochastic gradient descent method to iteratively train the current network includes: Using a sub-training set that has not participated in the training, the SGD stochastic gradient descent method is used to train the acquired current network to obtain the full network target parameters and training gain obtained by the current training; wherein, when the SGD stochastic gradient descent method is used for the first training, the current network is a preset convolutional neural network after initialization; Determine whether the current training meets the first end condition; If the current training meets the first end condition, the whole network target parameter obtained by the current training is used as the optimal whole network target parameter to execute S5; If the current training does not meet the first end condition, determining whether the training gain is less than a training gain threshold; If the training gain is greater than or equal to the training gain threshold, returning to the step of using a sub-training set that has not participated in the training to train the acquired current network using the SGD stochastic gradient descent method; If the training gain is less than the training gain threshold, it is determined that the SGD stochastic gradient descent training is invalid, and S3 is executed.

5. The SAR change detection network training method based on multi-task sub-network decomposition according to claim 4 is characterized in that: The multiple groups of whole network target parameters obtained by iterative training using the SGD stochastic gradient descent method are initialized to obtain the parent population, including: Obtaining t groups of full-network target parameters obtained by iterative training using the SGD stochastic gradient descent method; wherein t represents the total number of iterative trainings using the SGD stochastic gradient descent method, and n represents the number of individuals contained in each generation of the population; t and n are natural numbers greater than 0; If n≤t, select n groups from the t groups of network-wide target parameters to initialize individuals and obtain the parent population; If n>t, select the t groups of network-wide target parameters, and use a preset initialization method to obtain nt groups of network-wide target parameters, perform individual initialization together, and obtain the parent population.

6. The SAR change detection network training method based on multi-task sub-network decomposition according to claim 5 is characterized in that: The method of selecting an auxiliary task to cooperate with the main task and performing iterative network training for multi-task optimization based on population genetics includes: Randomly select an auxiliary task that has not participated in the optimization from the multiple auxiliary tasks obtained by decomposition as the target auxiliary task; Each individual in the parent population is evaluated on the main task and the target auxiliary task respectively; based on the evaluation results, the skill coefficient categories of n / 2 excellent individuals on the main task are marked as the main task category, and the skill coefficient categories of the remaining individuals are marked as the auxiliary task category; Based on the skill coefficient categories of individuals in the parent population of the current generation, a child population is generated using the chromosome crossover mutation of the individuals, and the skill coefficient category of each individual therein is determined; For each individual in the offspring population, the false detection rate is evaluated on the corresponding task according to its skill coefficient category; Determining whether the current training meets the second end condition; If the current training satisfies the second end condition, a whole network target parameter corresponding to a minimum false detection rate less than the false detection rate threshold is used as an optimal whole network target parameter to execute S5; If the current training does not meet the second end condition, determining whether the current training reaches a second preset number of iterations; If the current training does not reach the second preset number of iterations, n / 2 individuals with excellent evaluation results for both tasks are selected from the two generations of populations after evaluation, and the two individuals are merged to obtain the parent population of the next generation, and the step of generating the offspring population by using the chromosome crossover variation of the individuals based on the skill coefficient categories of the individuals in the parent population of the current generation is performed; If the current training reaches the second preset number of iterations, determining whether all auxiliary tasks have been traversed; If not, return to the step of randomly selecting an auxiliary task that has not participated in the optimization from the multiple auxiliary tasks obtained by decomposition as the target auxiliary task; If so, stop the iterative training of the multi-task optimized network, and return to S2 using a set of optimal full-network target parameters obtained by multi-task evolution, so as to write the preset convolutional neural network into a network after the set of optimal full-network target parameters as the current network to be processed.

7. The SAR change detection network training method based on multi-task sub-network decomposition according to claim 6 is characterized in that: The step of evaluating each individual in the parent population on the main task and the target auxiliary task includes: For each individual in the parent population, the individual is evaluated on the main task according to the main task evaluation strategy, and is evaluated on the target auxiliary task according to the auxiliary task evaluation strategy; Among them, the main task evaluation strategy includes writing the full-network target parameters corresponding to the individual into the original change detection network, and performing network evaluation based on the SAR image sample set using the false detection rate; the auxiliary task evaluation strategy includes replacing the target parameters of the corresponding layer in the currently retained optimal full-network target parameters with the target parameters of the corresponding sub-network, and then performing network evaluation based on the SAR image sample set using the false detection rate.

8. The SAR change detection network training method based on multi-task sub-network decomposition according to claim 7 is characterized in that: The method of generating a child population based on the skill coefficient category of individuals in the parent population of the current generation using the chromosome crossover variation of the individuals and determining the skill coefficient category of each individual therein comprises: Generate random numbers rand1 and rand2, and get parameters rmp1 and rmp2; where rand1, rand2, rmp1 and rmp2 are between [0,1]; Determine whether the skill coefficients of two parental chromosomes p1 and p2 in the parental population satisfy τ p1 = τ p2 or rand1 < rmp1; where τ p1 and τ p2 represent the skill coefficients of p1 and p2 respectively; If yes, p1 and p2 use two-point crossover to generate two offspring, and determine the skill coefficient categories of the two offspring based on the comparison of rand2 and rmp2; If not, each parent chromosome will generate a child by mutation, and the child will inherit the skill coefficient category of the parent; A child population is formed by all the obtained children; wherein, in the child population, the total number of children whose skill coefficient categories belong to the main task category and the auxiliary task category each accounts for n / 2.

9. The SAR change detection network training method based on multi-task sub-network decomposition according to claim 8 is characterized in that: The p1 and p2 use a two-point crossover method to generate two offspring in total, and determine the skill coefficient categories of the two offspring based on the comparison of rand2 and rmp2, including: If the skill coefficient categories of p1 and p2 are both main task categories, the two intersection points are randomly selected from p1 and p2 respectively; if the skill coefficient categories of p1 and p2 include at least one auxiliary task category, the two intersection points are randomly selected from the valid coding segments of the subnetwork corresponding to the auxiliary task in p1 and p2; And for any case of the skill coefficient categories of p1 and p2, if rand2 < rmp2, determine If rand2 ≥ rmp2, determine where τ off1 represents the skill coefficient of offspring off1 among the two offspring, represents the skill coefficient of offspring off2 among the two offspring.

10. A change detection method for SAR images, characterized in that: include: Acquire a pair of SAR images to be tested; The SAR image pair to be tested is input into a SAR image change detection network to obtain a change detection result of the SAR image pair to be tested; wherein the SAR image change detection network is obtained based on the SAR change detection network training method based on multi-task subnetwork decomposition according to any one of claims 1 to 9.