Remote sensing image change detection method based on axial displacement feature interaction and prototype guidance penalty constraint
By introducing the method of axial shift feature interaction and prototype-guided penalty constraints in remote sensing change detection, the problem of difficult feature interaction and differentiation in complex remote sensing scenes is solved, high-precision change detection is achieved, and more effective remote sensing is provided. Intelligent image interpretation technology.
Patent Information
- Application Number
- CN202410666550.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-28
AI Technical Summary
Existing remote sensing change detection methods are difficult to effectively interact with local features in complex remote sensing scenes, and it is difficult to distinguish changing targets from the background, resulting in a high degree of confusion between changing features and non-changing features in the feature space, affecting the accuracy of the classifier.
Using a method based on axial shift feature interaction and prototype-guided penalty constraints, effective interaction of adjacent features is achieved through axis shift operations in the width and height directions, and a prototype-guided penalty constraint loss function is introduced to adaptively weight easily confused features to ensure changes / Separability of invariant features.
Without reducing spatial resolution and increasing computational complexity, it extracts deep semantic representations of changing targets, improves the accuracy and efficiency of change detection, and provides higher-precision change detection results.
Smart Images

Figure CN118608948A
Abstract
Description
Technical Field
[0001] The invention relates to a remote sensing image change detection method based on axial displacement feature interaction and prototype-guided penalty constraint, and belongs to the field of remote sensing image processing. Background Art
[0002] Remote sensing change detection technology can use remote sensing images taken at different times to obtain information about changes in ground objects, and has become a research hotspot in the field of remote sensing. Change detection technology plays an increasingly important role in urban planning, environmental monitoring, and disaster emergency response.
[0003] At present, deep learning technology has been widely used in remote sensing change detection tasks due to its powerful feature representation ability. Among them, the twin network is a representative method that can extract dual-temporal remote sensing image features using a weight-sharing network. According to the different feature extraction methods, the existing deep learning-based change detection methods can be divided into convolutional neural network-based methods and Transformer-based methods. Convolutional neural network-based methods use continuous convolution and pooling operations to extract multi-scale features. For example, Daudt et al. proposed three fully convolutional change detection networks: FC-EF, FC-Siam-conc, and FC-Siam-diff. Zhang et al. proposed a deep supervised image fusion network (IFN) that extracts dual-temporal features using a pre-trained VGG16 network. Transformer-based methods can model long-range dependencies in remote sensing images. For example, Chen et al.'s dual-temporal image transformer model (BIT) effectively associates long-range features in the spatiotemporal domain.
[0004] The above-mentioned deep learning-based methods have led to significant developments in change detection technology. Even so, change detection in complex remote sensing scenes still faces many problems. For example, due to the influence of factors such as season and illumination, the radiation differences of different objects in the same remote sensing scene are small, making it difficult to separate the changing target from the background. Extracting deep semantic representations using the interaction of local features is an effective means of identifying changing targets, but the convolution and pooling operations in convolutional neural networks reduce spatial resolution, and the self-attention mechanism in Transformer has low computational efficiency, so existing methods are difficult to achieve good results. In addition, the difficulty in distinguishing changing targets from backgrounds is often reflected in the high confusion between changing features and non-changing features in the feature space, which poses a huge challenge for subsequent classifiers to generate accurate change detection results. Summary of the invention
[0005] In order to solve the problems that it is difficult to effectively interact local features and that change / invariant features are easily confused in remote sensing change detection methods, the present invention proposes a remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraints. In this method, continuous axial shift operations in the width and height directions are introduced to achieve effective interaction of adjacent features, and the deep semantic representation of the change target is extracted without reducing the spatial resolution and introducing a large amount of additional calculations. A prototype-guided penalty constraint loss function is introduced to guide the model to generate separable change / invariant features to obtain accurate change detection results.
[0006] The technical solution of the present invention is:
[0007] A remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint, the method comprising the following steps:
[0008] Step 1: Obtain a dual-phase remote sensing image and input the dual-phase remote sensing image into the twin encoder M S The dual-phase multi-level feature map {f 11 ,f 12 ,f 13 ,...,f1n} and {f 21 ,f 22 ,f 23 ,...,f2n}, and {f 11 ,f 12 ,f 13 ,...,f1n} and {f 21 ,f 22 ,f 23 ,...,f2n} is sent to the cross-temporal feature enhancement module for feature enhancement to obtain the enhanced feature map and
[0009] Step 2: Send the enhanced features to the decoder. In the decoder, the last layer of bi-temporal feature map and Perform channel dimension splicing, then go through convolution, axis shift feature interaction module, and upsampling to obtain the interactive features For the other bi-phase feature maps except the last layer, they are channel-joined with the interactive features obtained in the next layer, and then go through convolution, axis-shift feature interaction module, and upsampling, and are calculated in sequence until the interactive features corresponding to the second layer feature map are The calculation is complete. The first layer of dual-phase features and The channels are concatenated together and then convolved to finally obtain the decoding feature fd output by the decoder.
[0010] Step 3: Send the decoded feature fd obtained in step 2 to the prototype-guided penalty constraint function, adaptively weight the easily confused pixel feature samples in fd, and use the prototype-guided penalty constraint function and cross entropy loss function to optimize the encoder and decoder at the same time to complete the remote sensing change detection task. The overall loss function of the model is:
[0011] L=L CE +L PGPC
[0012] Among them, L CE and L PGPC They represent the cross entropy loss function and the prototype guided penalty constraint loss function respectively.
[0013] In the step 1, the twin network refers to two convolutional neural networks that share parameters;
[0014] In step 1, the cross-phase feature enhancement module first extracts the channel and spatial weights of the two phase features respectively through mean pooling, then concatenates the channel and spatial weights obtained from the two phases, and extracts the channel and spatial weights of common concern in both phases through the fully connected layer and the convolutional layer. Finally, the final enhanced features are obtained through channel and spatial fusion;
[0015] In step 2, the axis shift feature interaction module is first divided into m groups by a block operation on the channel dimension:
[0016]
[0017] in, is the grouped feature (m is specified to be an odd number), and C(·) refers to the block operation on the channel dimension;
[0018] The grouped features are subjected to different degrees of axial shifting in the width direction:
[0019]
[0020] Where S(·) represents the axial shift operation, and i-(m+1) / 2 represents the distance and direction of the axial shift (its value represents the distance of the shift, and its sign represents the direction of the shift).
[0021] Similarly, the axial displacement operation with different degrees in the height direction can be expressed as:
[0022]
[0023] Wherein j-(m+1) / 2 also represents the distance and direction of axial displacement.
[0024] Therefore, the final output of the axis-shift feature interaction module can be written as:
[0025]
[0026] In step 3, the prototype-guided penalty constraint loss is prototype-oriented, measures the similarity of each feature with its corresponding prototype, and adaptively constrains features that are significantly different from the prototype. First, the feature f is decoded. d The mean of the changing / unchanging features is calculated to obtain the changing / unchanging prototype:
[0027]
[0028] Among them, Ω c and Ω n denote the set of changing / unchanging features respectively, and · denotes the size of the set.
[0029] For each pixel feature in the feature space, the corresponding positive prototype is:
[0030]
[0031] On this basis, the average similarity between the changing / unchanged features and their corresponding positive prototypes is:
[0032]
[0033] Where sim{·} represents the cosine similarity function.
[0034] Therefore, the positive average similarity corresponding to each pixel is:
[0035]
[0036] According to the relative relationship between the actual similarity and the average similarity between each pixel feature and the positive prototype, the easily confused feature samples that differ greatly from the prototype can be adaptively weighted:
[0037]
[0038] Finally, the prototype-guided penalty constraint loss function can be expressed as:
[0039]
[0040] Among them, Ω represents the set of all pixel features.
[0041] Beneficial Effects
[0042] Compared with the prior art, the present invention proposes a remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint for remote sensing image change detection tasks. The method consists of an axial shift feature interaction method and a prototype-guided penalty constraint loss function to improve the performance of the change detection model. The proposed axial shift feature interaction method learns the intrinsic relationship between adjacent pixel features by interacting between adjacent features. The proposed prototype-guided penalty constraint loss can identify confused pixel features and adaptively weight them to obtain accurate change detection results. The method proposed in the present invention has taken an important step in realizing a high-precision change detection model and provides an effective technical means for the intelligent interpretation of remote sensing images. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 , overall schematic diagram of the method;
[0044] Figure 2 ,Schematic diagram of cross-temporal feature enhancement module;
[0045] Figure 3 , schematic diagram of axis shift feature interaction module;
[0046] Figure 4 ,Schematic diagram of prototype-guided penalty constraint loss. DETAILED DESCRIPTION
[0047] The present invention will be further described below in conjunction with the embodiments.
[0048] Example
[0049] A remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint is proposed. Taking remote sensing change detection as an example, the method includes the following steps:
[0050] Step 1: Obtain a dual-phase remote sensing image and input the dual-phase remote sensing image into the twin encoder M S In the twin encoder M S The VGG16 network pre-trained on the ImageNet dataset is used to obtain four levels of bi-temporal feature maps {f 11 ,f 12 ,f 13 ,f 14} and {f 21 ,f 22 ,f 23 ,f 24}, and {f 11 ,f 12 ,f 13 ,f 14} and {f 21 ,f22 ,f 23 ,f 24}Send it to the cross-temporal feature enhancement module for feature enhancement to obtain the enhanced feature map and
[0051] Step 2: Send the enhanced features to the decoder. In the decoder, the last layer of bi-temporal feature map and Perform channel dimension splicing, then go through convolution, axis shift feature interaction module, and upsampling to obtain the interactive features For all bi-temporal feature maps except the last layer (including f 12 、f 22 and f 13 、f 23 ), and concatenate the channel with the interactive features obtained in the next layer, and then go through convolution, axis shift feature interaction module, and upsampling, and calculate in sequence until the interactive features corresponding to the second layer feature map are The calculation is complete. With the first layer of dual-phase characteristics and The channels are concatenated together and then convolved to finally obtain the decoding feature fd output by the decoder.
[0052] Step 3: Send the decoded feature fd obtained in step 2 to the prototype-guided penalty constraint function, adaptively weight the easily confused pixel feature samples in fd, and use the prototype-guided penalty constraint function and cross entropy loss function to optimize the encoder and decoder at the same time to complete the remote sensing change detection task. The overall loss function of the model is:
[0053] L=L CE +L PGPC
[0054] Among them, L CE and L PGPC They represent the cross entropy loss function and the prototype guided penalty constraint loss function respectively.
[0055] Figure 1 This is an overall schematic diagram of the remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraints.
[0056] In the step 1, the twin network refers to two convolutional neural networks that share parameters;
[0057] In step 1, the cross-phase feature enhancement module first extracts the channel and spatial weights of the two phase features respectively through mean pooling, then concatenates the channel and spatial weights obtained from the two phases, and extracts the channel and spatial weights of common concern in the two phases through the fully connected layer and the convolutional layer. Finally, the final enhanced features are obtained through channel and space fusion.
[0058] In step 2, the axis shift feature interaction module is as follows: Figure 2 As shown, it is first divided into 5 groups through the block operation on the channel dimension:
[0059]
[0060] in, is the grouped feature, and C(·) refers to the block operation on the channel dimension;
[0061] The grouped features are subjected to different degrees of axial shifting in the width direction:
[0062]
[0063] Where S(·) represents the axial shift operation, and i-3 represents the distance and direction of the axial shift (its value represents the distance of the shift, and its sign represents the direction of the shift).
[0064] Similarly, the axial displacement operation with different degrees in the height direction can be expressed as:
[0065]
[0066] Wherein j-3 also represents the distance and direction of axial displacement.
[0067] Therefore, the final output of the axis-shift feature interaction module can be written as:
[0068]
[0069] In step 3, the prototype guide penalty constraint loss is as follows Figure 3 As shown, based on the prototype, the similarity of each feature with its corresponding prototype is measured, and the features with large differences from the prototype are adaptively constrained. First, the feature f is decoded d The mean of the changing / unchanging features is calculated to obtain the changing / unchanging prototype:
[0070]
[0071] Among them, Ω c and Ω n denote the set of changing / unchanging features respectively, and · denotes the size of the set.
[0072] For each pixel feature in the feature space, the corresponding positive prototype is:
[0073]
[0074] On this basis, the average similarity between the changing / unchanged features and their corresponding positive prototypes is:
[0075]
[0076] Where sim{·} represents the cosine similarity function.
[0077] Therefore, the positive average similarity corresponding to each pixel is:
[0078]
[0079] According to the relative relationship between the actual similarity and the average similarity between each pixel feature and the positive prototype, the easily confused feature samples that differ greatly from the prototype can be adaptively weighted:
[0080]
[0081] Finally, the prototype-guided penalty constraint loss function can be expressed as:
[0082]
[0083] Among them, Ω represents the set of all pixel features.
[0084] Taking the actual application scenario of remote sensing change detection as an example, by comparing multiple existing remote sensing change detection methods on multiple public remote sensing data sets, as shown in Table 1, it can be seen that the method proposed in the embodiment has better accuracy.
[0085]
[0086]
[0087] Table 1 Comparison of classification accuracy of various existing change detection methods and embodiments on the two datasets WHU-CD and LEVIR-CD
[0088] In summary, the above are preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint, characterized in that: The method comprises the following steps: Step 1: Obtain a dual-phase remote sensing image, input the dual-phase remote sensing image into a twin encoder to obtain a dual-phase multi-level feature map, and send the feature map to a cross-phase feature enhancement module for feature enhancement to obtain an enhanced feature map; Step 2: Send the enhanced feature map to the decoder; in the decoder, the last layer of dual-phase feature map is spliced in the channel dimension, and then it is subjected to convolution, axis-shift feature interaction module, and upsampling to obtain the interactive features; for other dual-phase feature maps except the last layer, it is spliced in the channel with the interactive features obtained in the next layer, and then it is subjected to convolution, axis-shift feature interaction module, and upsampling, and calculated in sequence until the calculation of the interactive features corresponding to the second layer feature map is completed; it is spliced in the channel with the first layer of dual-phase features, and then subjected to convolution, and finally the decoded features output by the decoder are obtained; Step 3: Send the decoded features into the prototype-guided penalty constraint function, adaptively weight the easily confused pixel feature samples, and use the prototype-guided penalty constraint function and cross-entropy loss function to optimize the encoder and decoder at the same time to complete the remote sensing change detection task.
2. A remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint as claimed in claim 1, characterized in that: The twin encoder is two convolutional neural networks with shared parameters.
3. The remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint as claimed in claim 1, characterized in that: The cross-temporal feature enhancement module in step 1 performs feature enhancement by the following method: First, the channels and spatial weights of the two phase features are extracted respectively through mean pooling; secondly, the channels and spatial weights obtained from the two phases are concatenated, and the channels and spatial weights of common concern in the two phases are extracted through fully connected layers and convolutional layers; finally, the final enhanced features are obtained through channel and spatial fusion.
4. The remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint as claimed in claim 1, characterized in that: The axis shift feature interaction module in step 2 performs feature interaction by the following method: First, the features are divided into several groups through blocking operations on the channel dimension; secondly, the grouped features are subjected to axial shift operations of different degrees in the width direction; thirdly, the grouped features are subjected to axial shift operations of different degrees in the height direction; finally, the output of the axial shift feature interaction module is a feature set after axial shift operations in the width and height directions.
5. A remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint as claimed in claim 4, characterized in that: The axial shift operation includes translating the feature according to a specified distance and direction, the value of the distance represents the shift distance, and the sign represents the shift direction.
6. The remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint as claimed in claim 1, characterized in that: The prototype guided penalty constraint function described in step 3 is calculated by the following method: Firstly, the changing / unchanging prototype is obtained by calculating the mean of the changing / unchanging features in the decoded features. Secondly, the similarity between each feature and its corresponding prototype is measured, and the features that are significantly different from the prototype are adaptively constrained. Finally, according to the relative relationship between the actual similarity and the average similarity between each pixel feature and the positive prototype, the easily confused feature samples that are significantly different from the prototype are adaptively weighted.
7. A remote sensing image change detection method based on axial shift feature interaction and prototype-guided penalty constraint as claimed in claim 6, characterized in that: The prototype guided penalty constraint loss function is: Among them, Ω represents the set of all pixel features.
Citation Information
Patent Citations
Road extraction method and system based on dynamic and deformation crossover Transformer
CN117437550A
Remote sensing image change detection method based on cross-scale guidance and enhancement
CN118015460A
Cited By
Handwriting feature extraction method based on pseudo paragraph handwriting prototype guidance
CN120496098A
A handwriting feature extraction method based on pseudo-paragraph handwriting prototype guidance
CN120496098B
