Saliency Detection Network System Based on Dual-Stream Encoding and Interactive Decoding
Through the saliency detection network system of dual-stream encoding and interactive decoding, the problems of insufficient feature extraction and loss of boundary information are solved, and more accurate and complete saliency detection results are achieved, especially in multi-target and complex scenes. The detection results are better and the mean absolute error is reduced.
Patent Information
- Application Number
- CN202210672135.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-15
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing saliency detection methods, the feature extraction network uses a shared encoder, which leads to the loss of boundary information, the error closed loop and the destruction of the salient target boundary structure, resulting in the loss of some salient areas and boundary errors in the detection results.
The saliency detection network system of dual-stream encoding and interactive decoding is used to extract regional and boundary features through the dual-stream encoder. The interactive decoding module performs complementary fusion, and the position guidance and boundary compensation modules are designed to restore the missing position and boundary information and fuse multiple Scale region features to obtain saliency detection results.
It eliminates inter-domain differences and error closed loops, restores missing position and boundary information, improves the integrity and accuracy of detection results, and reduces the average absolute error, especially in the detection of multiple targets and complex scenes.
Smart Images

Figure CN115035377B
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of computer vision and image processing, and in particular to a saliency detection network based on dual-stream encoding and interactive decoding. Background Art
[0002] With the rapid growth of image data, how to accurately and efficiently analyze and process image information is the primary problem to be solved in the field of computer vision today. Image saliency detection is a key research direction that has emerged to solve this problem.
[0003] At present, most saliency detection methods based on convolutional neural networks build a network with an encoding-decoding structure based on CNN (convolutional neural network). In the encoding stage, a pre-trained deep neural network (VGG) or ResNet (residual network) is used to extract image features. In the decoding stage, the feature map is transferred and fused through lateral connections to obtain a saliency map (an image showing the uniqueness of each pixel). The encoding-decoding structure and lateral connections reduce information loss to a certain extent and improve the accuracy of detection. However, the feature extraction network in the existing methods often uses a shared encoder, resulting in loss of boundary information; at the same time, the feature transfer between the subject detection network and the boundary detection network is prone to form an error loop, resulting in network error accumulation and loss of saliency areas. In addition, the detection network uses convolution and sampling operations multiple times, which easily destroys the boundary structure and local texture of the salient target. Summary of the invention
[0004] In view of the problems existing in the prior art such as insufficient feature extraction and failure to detect salient target boundaries, which leads to missing of some salient areas in the detection results and errors in the boundaries of salient targets, the present invention proposes a saliency detection network system based on dual-stream encoding and interactive decoding, and constructs a dual-stream encoder for extracting regional features and boundary features respectively to eliminate inter-domain differences and error loops; the constructed interactive decoding network complementarily fuses regional features and boundary features, and designs a position guidance module and a boundary compensation module for refinement to restore the missing position and boundary information; in the fusion stage, multi-scale regional features are fused to obtain saliency detection results.
[0005] The present invention is achieved by utilizing the following technical solutions:
[0006] A saliency detection network system based on dual-stream encoding and interactive decoding, the system comprises a total data set, a dual-stream encoding module, an interactive decoding module and a fusion module connected in sequence; wherein:
[0007] The total data set includes a training set and a test set;
[0008] The dual-stream encoding module and the interactive decoding module region-boundary complementary fusion network, the encoding module is composed of a main region feature extraction network and a boundary feature extraction network; the feature extraction of the original image features is realized, and then the boundary extraction of the original image is realized;
[0009] The interactive decoding module is composed of a boundary detection network and a subject detection network, which are used together to realize network training for different tasks;
[0010] The fusion module upsamples the decoded multi-scale subject feature map to the scale of the original image, and performs channel stacking and convolution mapping operations on the subject area feature map to obtain the final saliency detection result.
[0011] Different from the existing parameter sharing encoding method, the present invention can achieve the following technical effects:
[0012] 1) It can eliminate inter-domain differences and error loops, restore missing position and boundary information, and fuse multi-scale regional features to obtain saliency detection results;
[0013] 2) The detection results for multiple targets and complex scenes are better, and the detection results are more complete than those of most other methods, reducing the missing of some significant areas;
[0014] 3) Reduce the mean absolute error of saliency detection techniques. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the overall flow of the detection method of the saliency detection system based on dual-stream encoding and interactive decoding of the present invention;
[0016] Figure 2 It is a region-boundary complementary fusion network structure composed of a dual-stream encoding module and an interactive decoding module;
[0017] Figure 3 is the second level interaction structure;
[0018] Figure 4 is the fusion output network;
[0019] Figure 5 The structural diagram of the feature filtering module: (a) spatial filtering, (b) channel filtering;
[0020] Figure 6 It is a schematic diagram of subjective comparison between the present invention and mainstream detection methods. DETAILED DESCRIPTION
[0021] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0022] like Figure 1 , Figure 2 As shown, it is a schematic diagram of the overall process of the saliency detection network system based on dual-stream encoding and interactive decoding of the present invention. The system includes a total data set 100, a dual-stream encoding module 200, an interactive decoding module 300, and a fusion module 400. Among them:
[0023] The total dataset 100 includes training set and test set: the public dataset DUTS is used. DUTS is the largest saliency detection dataset with complex scenes and rich content. It has 10,553 training images (DUTS-TR) and 5,019 test images (DUTS-TE). All training images come from the training set and validation set of ImageNet, while the test images come from the test set of ImageNet and the SUN dataset.
[0024] like Figure 2 , which is a schematic diagram of the region-boundary complementary fusion network structure composed of the dual-stream encoding module and the interactive decoding module of the present invention. The encoding module 200 is composed of a main region feature extraction network and a boundary feature extraction network. The main region feature extraction network takes the original image as input, denoted as I. The boundary feature extraction network performs clustering according to the original image pixel value and spatial distance, Realize the boundary extraction of the original image The clustering result (the extracted boundary of the original image) is used as the input of the boundary feature extraction network, denoted as E. The encoding module uses an independent dual-stream encoder, which can effectively avoid the error accumulation and significant area loss caused by the shared encoder used in the existing method. The main feature extraction network consists of five series-connected residual convolution blocks, and uses ResNet pre-trained with the ImageNet dataset to extract image features, and obtains the fifth-order initial main feature {R i}, i = 1, 2, 3, 4, 5; the boundary feature extraction network is composed of five-order maximum sampling layers to obtain the initial boundary feature {B i}, i=1,2,3,4,5, the expression is as follows:
[0025]
[0026] Among them, H FE,i (·) represents the extraction function of the i-th feature, H pooling,i (·) represents the maximum sampling function of the i-th feature, I represents the input of the main area feature extraction network, and E represents the input of the boundary feature extraction network;
[0027] The interactive decoding module 300 is composed of a boundary detection network and a subject detection network. The boundary detection network and the subject detection network use the same structure, and the boundary detection network and the subject detection network are used together to realize network training for different tasks, but the parameters are not shared. Figure 3 The figure shows the interaction between the boundary detection network and the subject detection network. The boundary detection network converts the initial boundary feature B i and the initial main feature as R i The internal boundary of the salient target is eliminated by element-by-element addition fusion, and the external boundary of the salient target is gradually eliminated through multiple groups of convolutional layers with a kernel size of 3×3 to obtain the modified boundary feature B′ i The subject detection network then uses the boundary features to compensate the subject features and converts the initial subject features R i and the modified boundary feature B′ i As input, the channel stacking fusion method is used to make up for the incomplete detection caused by the missing of some main features, and the corrected main feature R′ is obtained. i , the process is expressed as:
[0028]
[0029]
[0030] in, represents the pixel-by-pixel addition of feature maps, ⊙ represents the channel stacking of feature maps, and f 3×3 (·) indicates a 3×3 convolutional layer;
[0031] In addition, position guidance (implemented by a boundary detection network) and boundary compensation (implemented by a subject detection network) are also designed in the interactive decoding module 300 to achieve complementary advantages of boundary and subject information, which can optimize the boundaries of salient targets and constrain the subjects of salient targets, and effectively solve the problems of blurred boundaries and missing of some salient areas in the detection results; the above process shows that a multi-scale subject feature map can be obtained through the decoding module 300.
[0032] The fusion module 400 upsamples the decoded multi-scale subject feature map to the scale of the original image, and performs operations such as channel stacking and convolution mapping on the subject area feature map to obtain the final saliency detection result. Figure 4 The fusion module 400 is composed of a fusion output network, which includes a 3×3×c convolution layer (conv), a 1×1×c convolution layer (conv), and a 1×1 convolution layer (conv), where c represents the number of output channels.
[0033] The saliency detection network system based on dual-stream encoding and interactive decoding of the present invention is also provided with a filtering module 500, and two filtering network models are designed for the deep features and shallow features further included in the main area feature map as the input of the dual-stream encoding module 200, respectively, which are a spatial filtering network and a channel filtering network. Among them, (a) the spatial filtering network includes two convolutional networks, one is composed of two convolutional layers with a kernel of 1×3 and an output channel of c / 2, and a kernel of 3×1 and an output channel of 1; the other is composed of two convolutional layers with a kernel of 1×3 and an output channel of c / 2, and a kernel of 1×3 and an output channel of 1. The input main area feature map is extracted through the spatial filtering network to obtain the spatial feature u1 SA and u2 SA , the spatial features adjust and fuse the input feature maps. The process is expressed as:
[0034]
[0035] R i =f sigmoid (u1 SA R i +u2 SA R i ) (5)
[0036] Among them, f sigmoid Represents the activation function.
[0037] (b) The channel filter network consists of three parts: first, the convolution operation with kernels of 1×1, 3×3 and 5×5 completes the feature perception under various receptive fields; then the global information u of the feature map under various receptive fields is extracted CA , the process is expressed as:
[0038]
[0039]
[0040] Among them, f GP (·) represents global average pooling. Finally, two fully connected layers and the softmax function are used to select the optimal feature weights under multiple receptive fields to achieve adaptive weighting of feature maps. The process is expressed as:
[0041] {w i,1 ,w i,3 ,w i,5} = f softmax (f FC (f FC (u CA ))) (8)
[0042]
[0043] Among them, f softmax represents the softmax activation function, f FC (·) indicates a fully connected layer;
[0044] In the present invention, the boundary detection network and the main body detection network of the interactive decoding module 300 use two different loss functions. For the boundary detection network B, the standard binary cross entropy is used, and the loss function is shown in formula (10):
[0045]
[0046] in, represents the pixel value of point k in the predicted i-th feature boundary map, Represents the pixel value of point k in the true i-th feature boundary map. The true boundary map comes from the difference between the dilation and corrosion of the true saliency map.
[0047] For the subject detection network R, the enhanced binary cross entropy is used, as shown in formula (11):
[0048]
[0049] Among them, max(·) represents the maximization function, represents the pixel value of point k in the predicted i-th feature saliency map, and represents the pixel value of point k in the actual i-th feature saliency map.
[0050] Finally, for the network composed of the boundary detection network B and the main body detection network R, the loss function is expressed as:
[0051]
[0052] Among them, λ i and δ i is the adjustment factor of the loss function in the two decoding networks.
[0053] The saliency detection model proposed in this paper is compared with 14 state-of-the-art saliency detection methods, including PAGR, PiCAN, ICNet, BASNet, AFNet, PAGE, ITSD[, PFANet, CPD, MLMS, DFI, EGNet, SCRN and BANet.
[0054] As shown in Table 1, the maximum F value and mean absolute error of different saliency detection methods on five data sets are shown. The best three results are marked with “_”, green, and Label.
[0055] Table 1
[0056]
[0057] It can be seen that the saliency detection system proposed in the present invention has achieved good performance, especially in terms of mean absolute error. The present invention has achieved the best performance in the DUTS-TE dataset, with an average reduction of 0.0093 in mean absolute error compared with the mainstream methods. It has also reached an advanced level in the ECSSD, HKU-IS and PASCAL-S datasets.
[0058] In order to intuitively and comprehensively evaluate the performance of the algorithm of the present invention, the detection results of the present invention are compared with those of some saliency detection algorithms. Figure 6 The figure is a schematic diagram of subjective comparative analysis between the present invention and mainstream detection methods. Figure 6 It can be seen that the method of the present invention has achieved good detection results, especially for the detection of multiple targets and complex scenes, the detection results of the present invention are more outstanding, more complete than the detection results of most other methods, and reduce the loss of some significant areas.
Claims
1. A saliency detection network system based on dual-stream encoding and interactive decoding, characterized in that: The system includes a total data set, a dual-stream encoding module, an interactive decoding module and a fusion module connected in sequence; wherein: The total data set includes a training set and a test set; The dual-stream encoding module and the interactive decoding module constitute a region-boundary complementary fusion network, and the dual-stream encoding module is composed of a main region feature extraction network and a boundary feature extraction network; feature extraction of original image features is realized, and then boundary extraction of the original image is realized; The interactive decoding module is composed of a boundary detection network and a subject detection network, which are used together to realize network training for different tasks; The fusion module upsamples the decoded multi-scale subject feature map to the scale of the original image, and performs channel stacking and convolution mapping operations on the subject area feature map to obtain the final saliency detection result; For the boundary detection network B, the loss function is as follows: in, represents the pixel value of point k in the predicted i-th feature boundary map, Represents the pixel value of point k in the true i-th feature boundary map. The true boundary map comes from the difference between the dilation and corrosion of the true saliency map. For the subject detection network R, the loss function is as follows: Among them, max(·) represents the maximization function, represents the pixel value of point k in the predicted ith feature saliency map, represents the pixel value of point k in the actual ith feature saliency map; The main feature extraction network consists of five serial residual convolution blocks, and uses ResNet pre-trained with the ImageNet dataset to extract image features to obtain the fifth-order initial main feature {R i }, i = 1, 2, 3, 4, 5; the boundary feature extraction network is composed of a five-order maximum sampling layer to obtain the initial boundary feature {B i }, i=1,2,3,4,5, the expression is as follows: Among them, H FE,i (·) represents the extraction function of the i-th feature, H pooling,i (·) represents the maximum sampling function of the i-th feature, I represents the input of the main area feature extraction network, and E represents the input of the boundary feature extraction network.
2. The saliency detection network system based on dual-stream encoding and interactive decoding as claimed in claim 1, characterized in that: The saliency detection network system based on dual-stream encoding and interactive decoding is also provided with a filtering module, and two filtering network models are designed for the deep features and shallow features further included in the main area feature map as input of the dual-stream encoding module, namely a spatial filtering network and a channel filtering network.
3. The saliency detection network system based on dual-stream encoding and interactive decoding as claimed in claim 2, characterized in that: The spatial filter network includes two convolutional networks, one of which is composed of two convolutional layers with a kernel of 1×3 and an output channel of c / 2, and another one with a kernel of 3×1 and an output channel of 1; the other one is composed of two convolutional layers with a kernel of 1×3 and an output channel of c / 2, and another one with a kernel of 1×3 and an output channel of 1. The input main area feature map is extracted through the spatial filter network to obtain the spatial feature u1 SA and u2 SA ,The spatial features adjust and fuse the input feature maps.
4. The saliency detection network system based on dual-stream encoding and interactive decoding as claimed in claim 2, characterized in that: The channel filter network consists of three parts: first, the convolution operation with kernels of 1×1, 3×3 and 5×5 completes the feature perception under various receptive fields; then the global information u of the feature map under various receptive fields is extracted. CA .
5. The saliency detection network system based on dual-stream encoding and interactive decoding as claimed in claim 1, characterized in that: For the network composed of the boundary detection network B and the main detection network R, the loss function is expressed as: in, i λ and δ i is the adjustment factor of the loss function in the two decoding networks.
6. The saliency detection network system based on dual-stream encoding and interactive decoding as claimed in claim 1, characterized in that: The boundary detection network transforms the initial boundary feature B i and the initial main feature as R i The internal boundary of the salient target is eliminated by element-by-element addition fusion, and the external boundary of the salient target is gradually eliminated through multiple groups of convolutional layers with a kernel size of 3×3 to obtain the modified boundary feature B′ i ; The subject detection network then uses the boundary features to compensate the subject features, and the initial subject features R i and the modified boundary feature B′ i As input, the channel stacking fusion method is used to make up for the incomplete detection caused by the missing of some main features, and the corrected main feature R′ is obtained. i , the process is expressed as: in, represents the pixel-by-pixel addition of feature maps, ⊙ represents the channel stacking of feature maps, and f 3×3 (·) indicates a 3×3 convolutional layer.
7. The saliency detection network system based on dual-stream encoding and interactive decoding as claimed in claim 1, characterized in that: The interactive decoding module also includes position guidance and boundary compensation.
