RGB-D salient target detection method based on unwrapping representation learning
Through a method based on disentanglement representation learning, combined with focus-alignment-refinement, uncertainty feature perception and progressive scale perception modules, the challenges of complex visual relationships and depth map imaging quality in RGB-D salient target detection are solved, achieving It achieves more efficient detection performance and precision, especially in complex scenes.
Patent Information
- Application Number
- CN202410885246.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-03
AI Technical Summary
Existing RGB-D salient object detection methods have challenges in handling complex visual relationships, depth map imaging quality, and feature alignment, resulting in poor detection performance in low-contrast, multi-target, and complex background scenes.
A method based on disentangled representation learning is adopted, feature alignment and fusion is performed through the Focus-Alignment-Refinement (FAR) module, the Uncertain Feature Perception (UFP) module is designed to reduce depth error interference, and Progressive Scale Awareness (PSA) is introduced ) module captures objects at different scales and combines it with a refined adjacent shrinkage decoder (RAS) to generate high-quality masks.
Improved detection robustness and finesse, able to perform well in multiple natural scenes and specific scenes (such as underwater, mirror surfaces), surpassing state-of-the-art methods and achieving a better balance between efficiency and performance .
Smart Images

Figure CN118736201A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of salient object detection (SOD for short), and more specifically, relates to an RGB-D salient object detection method based on disentanglement representation learning. Background Art
[0002] Salient object detection can provide guidance for downstream tasks in computer vision. According to the development process, salient object detection can be divided into two categories: the first category involves manually designing features or incorporating prior features, such as background prior, center prior, context and shape prior. However, these methods rely heavily on expert knowledge and lack generalization ability; the second category uses convolutional neural networks, Transformer series or a combination of both to extract high-dimensional features from images, and designs various enhancement strategies such as multi-scale perception, edge supervision and hybrid loss to explore complete salient objects. Although these methods have achieved promising results, there is still much room for improvement in challenging scenes such as low contrast, multiple objects and complex backgrounds. Therefore, some recent works focus on two main aspects: 1) improving image resolution to enrich visual information; 2) trying to introduce additional visual or language clues as guidance or supplement to improve detection performance and robustness. For example, using depth differences in depth maps can effectively locate the approximate edges or contours of people or objects, laying the foundation for further salient object detection.
[0003] In terms of cross-modal feature fusion, current RGB-D salient object detection methods mainly focus on leveraging the complementary advantages of RGB and depth maps (D), and design various cross-modal fusion strategies. Sun et al. use depth-sensitive attention and automatic architecture search to improve cross-modal feature integration, using geometric priors for refinement, see Peng Sun, Wenhu Zhang, Huanyu Wang, Songyuan Li, and Xi Li. 2021. Deep RGB-D saliency detection with depth-sensitive attention and automatic multimodal fusion. In Proceedings of the IEEE / CVF conference on computer vision and pattern recognition. 1407–1417. Liao et al. achieved the aggregation of multi-scale complementary information and improved the robustness of detection by using cross-collaborative encoders and cross-modal decoders to enhance feature fusion. For details, see Guibiao Liao, Wei Gao, Ge Li, Junle Wang, and Sam Kwong. 2022. Cross collaborative fusion-encoder network for robust RGB-thermal salient object detection. IEEE Transactions on Circuits and Systems for Video Technology 32, 11 (2022), 7646–7661. Wan et al. proposed an architecture with a tri-modal deep fusion encoder and a progressive feature enhancement decoder to integrate visible light, depth, and thermal infrared information. For details, see Bin Wan, Xiaofei Zhou, Yaoqi Sun, Tingyu Wang, Chengtao Lv, Shuai Wang, Haibing Yin, and Chenggang Yan. 2023. MFFNet: Multi-modal Feature Fusion Network for VDTSalient Object Detection. IEEE Transactions on Multimedia (2023).Ma et al.
[47] proposed an innovative feature synthesis plug-in module in the dual-branch RGB-X network, with an energy exchange module that facilitates the interaction between different scales and modalities. For details, see Jin Ma, Jinlong Li, Qing Guo, Tianyun Zhang, Yuewei Lin, and Hongkai Yu. 2023. RXFOOD: Plug-in RGB-X Fusion for Object of Interest Detection. arXiv preprint arXiv: 2306.12621 (2023). Xiao et al. proposed a depth-guided fusion method that combines depth map enhancement technology to improve the quality of depth information used in feature fusion. For details, see Fen Xiao, Zhengdong Pu, Jiaqi Chen, and Xieping Gao. 2023. DGFNet: Depth guided cross-modality fusion network for RGB-D salient object detection. IEEE Transactions on Multimedia (2023). Wu et al. used Transformer fusion and pixel-level contrastive learning to capture long-range interactions and improve the ability to distinguish between pixels. For details, see Jiesheng Wu, Fangwei Hao, Weiyun Liang, and Jing Xu. 2023. Transformer fusion and pixel-level contrastive learning for RGB-D salient object detection. IEEE Transactions on Multimedia (2023). Hu et al.
[17] combined the two-stream Swin Transformer with the cross-modal attention mechanism for complex feature fusion. For details, see Xihang Hu, Fuming Sun, Jing Sun, Fasheng Wang, and Haojie Li. 2024. Cross Modal Fusion and Progressive Decoding Network for RGB-D Salient Object Detection. International Journal of Computer Vision (2024), 1–19. These methods attempt to design various fusion strategies to integrate multimodal information, but lack the exploration of modal characteristics.
[0004] In terms of uncertainty estimation, fine-grained features tend to become weak or disappear due to the introduction of mismatched depth information. Therefore, it is necessary to estimate the uncertainty of the feature map. Uncertainty can be divided into aleatoric uncertainty and epistemic uncertainty, which describe the confidence of the input data and the prediction results, respectively. The former can be implicitly learned by the network, while the latter usually requires additional methods for measurement, such as Gaussian mixtures and deep integration. Unlike the above methods, these methods cannot use gradient optimization.
[0005] Specifically, the challenges in cross-modal feature fusion mainly come from three aspects: a) complex visual relationships in RGB images, b) imaging quality of depth maps, and c) alignment of corresponding features. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and provide an RGB-D salient object detection method based on disentangled representation learning, which mines common features to reduce the interference of complex visual representations and low-quality depth information, and realizes pixel-by-pixel modal alignment and complementary feature calibration from coarse to fine levels. At the same time, it realizes fine-grained distinction and captures objects of different scales to generate more refined masks.
[0007] To achieve the above-mentioned object of the invention, the present invention provides an RGB-D salient object detection method based on disentangled representation learning, which is characterized by comprising the following steps:
[0008] (1) Obtain multi-scale feature map X i ,F i
[0009] Use the Pyramid Vision Transformer (PVT) network as the backbone network to transform the input image I∈R 3×H×W Extracting multi-scale feature maps Among them, C i , H and W represent the number of channels, height and width respectively;
[0010] The depth map D of the input image I o ∈R 1×H×W Adjust to D through convolution c ∈R 3×H×W , and then input into another pyramid visual converter to extract multi-scale feature maps
[0011] (2) Focus-Alignment-Refinement
[0012] The Focus-Alignment-Refinement (FAR) module is used to refine the multi-scale feature map X i ,F i Align and fuse the same-scale features to generate a feature map
[0013] 2.1) Coarse-to-fine alignment
[0014] First, for the multi-scale feature map X i ,F i Regularization, 3x3 convolution, and then softmax function and reshape to generate attention and Where m represents the number of prototypes, the process is expressed as:
[0015]
[0016] Among them, Att represents the combination of regularization, convolution, softmax and reshaping;
[0017] Then, randomly initialize the cluster centers Obtaining salient prototypes through summation and regularization
[0018]
[0019] Among them, Reshape(·) represents the reshaping operation, All prototypes are accumulated, represents the L2 norm;
[0020] Then, the prototype With multi-scale feature map X i , significant prototype With multi-scale feature map F i Fusion to generate prototype-based feature maps and
[0021]
[0022] Among them, Γ(,) means combining by channel and performing 1×1 convolution, followed by ReLU activation function;
[0023] Then, a 1×1 convolution followed by a 3×3 depthwise separable convolution is used to convolution the multi-scale feature map X i ,F i And feature map Encode and generate feature maps And feature map
[0024] Then, the feature map As a query, the feature map As the key, compute the correlation matrix in the channel dimension:
[0025]
[0026] Among them, the correlation matrix where h is the number of attention heads, T represents transpose, σ is the softmax function, τ is a learnable scaling factor, and Reshape(·) represents a reshaping operation;
[0027] Finally, we obtain the enhanced feature map
[0028]
[0029] 2.2) Refinement
[0030] For feature maps Perform spatial compression separately and then fuse them to obtain the channel map for:
[0031]
[0032] Among them, Avg represents average pooling, Concat represents channel concatenation, and the superscript 1→C i Indicates taking channels 1 to C i Elements with superscript C i +1→2C i Indicates access channel C i +1 to 2C i Elements of
[0033] Finally, the refined feature map is generated
[0034]
[0035] Among them, ⊙ represents element-by-element multiplication;
[0036] (3) Uncertainty feature perception
[0037] The uncertainty feature perception (UFP) module is used to obtain the uncertainty perception feature M u :
[0038] 3.1) Establish a Laplace distribution for each pixel of the feature map and construct an uncertainty map:
[0039] First, by refining the feature map Use two different 1×1 convolutions to get the mean respectively:
[0040]
[0041] Among them, Γ′ and Γ′′ represent two different 1×1 convolutions.
[0042] Then, random sampling is performed multiple times to generate the variable ξ from the standard Laplace distribution to obtain a new uncertainty distribution of the pixel, i.e., L = μ + ξb;
[0043] Then, the variance is calculated and normalized to obtain the uncertainty map
[0044] U=Norm(Var(φ(sample(L)))) (9)
[0045] Among them, Norm(·), VAR(·), φ(·) and sample(·) represent normalization, sample variance, Sigmoid function and sampling respectively;
[0046] Refine the feature map Input into the adjacency shrinkage (AS) decoder to generate feature maps Then concatenate by channel to get the feature map
[0047]
[0048] in,
[0049] Perform 1×1 convolution on the feature map M, and then perform 3×3 convolution three times to obtain the query M q , key M k Sum value M v , where the convolution kernels used three times are different;
[0050] Apply uncertainty graph U to query M q , key M k , generate the correlation matrix corr u :
[0051]
[0052] in, represents matrix multiplication, τ1 is a learnable scaling factor;
[0053] Get uncertainty perception feature map
[0054] M u =M q ⊙corr u (12)
[0055] (4) Progressive scale perception
[0056] The Progressive Scale-Aware Module (PSAM) module is used to introduce dilated convolutions of different scales to gradually expand the receptive field, thereby capturing objects of different scales:
[0057] 4.1) Generate feature map
[0058]
[0059] Among them, Conv 1×1 Represents 1×1 convolution, Conv 3×3,delation=1 Represents a 3x3 convolution with a dilation rate of 1, Conv 3×3 Represents a 3×3 convolution;
[0060] The same method uses different convolution kernels to generate feature maps
[0061]
[0062] 4.2) Generate feature map
[0063]
[0064] Among them, Conv 1×1 Represents 1×1 convolution, Conv 1×3 Represents 1×3 convolution, Conv 3×1 Represents 3×1 convolution, Conv 3×3,delation= represents a 3x3 convolution with a dilation rate of 3;
[0065] The same method uses different convolution kernels to generate feature maps
[0066]
[0067] 4.3) Generate feature map
[0068]
[0069] Among them, Conv 1×1 Represents 1×1 convolution, Conv 1×5Represents 1×5 convolution, Conv 5×1 Represents a 5×1 convolution, Conv 3×3,delation= represents a 3x3 convolution with a dilation rate of 5;
[0070] The same method uses different convolution kernels to generate feature maps
[0071]
[0072] 4.4) Generate feature map
[0073]
[0074] Among them, Conv 1×1 Represents 1×1 convolution, Conv 1×7 Represents 1×7 convolution, Conv 7×1 Represents a 7×1 convolution, Conv 3×3,delation=7 represents a 3x3 convolution with a dilation rate of 7;
[0075] The same method uses different convolution kernels to generate feature maps
[0076]
[0077] (5) Refined adjacent punctured decoding
[0078] The Refined Adjacent Shrinkage (RAS) decoder is used to gradually aggregate continuous and adjacent layers to narrow the gap between high and low layer information, where the RGB branch feature aggregation is:
[0079]
[0080] Among them, T i , T i ′、T i ″The feature map obtained by step-by-step aggregation, T is the RGB branch feature map, CBR represents the combination of convolution, BN layer and ReLU function;
[0081] Similarly, the deep branch feature aggregation is:
[0082]
[0083] Among them, D i , D′ i , D″ i The feature map obtained by step-by-step aggregation, D is the deep branch feature map;
[0084] Finally, we get the predicted saliency map S:
[0085] First, the RGB branch feature map T and the depth branch feature map D are concatenated by channel, and then the concatenated feature map is used as the refined feature map in step (3) Perform uncertainty feature perception and obtain the uncertainty perception feature map M u The predicted saliency map F as the fusion branch;
[0086] (6) Training
[0087] Based on steps (1) to (5), a progressive decoupling network based on uncertainty perception is obtained. The labeled images in the training data set are sent to the progressive decoupling network based on uncertainty perception and processed according to steps (1) to (5) to obtain the RGB branch feature map T, the depth branch feature map D and the predicted saliency map F of the fusion branch. Then, the loss of the labeled RGB feature map, the depth feature map and the saliency map S is respectively compared. as well as Get the total loss
[0088]
[0089] Among them, α, β, and γ are hyperparameters, and the three losses as well as Each loss in consists of weighted binary cross entropy loss, weighted IoU loss and SSIM loss;
[0090] Based on total loss Train the uncertainty-aware progressive decoupling network until convergence;
[0091] (7) Salient object detection
[0092] The image to be detected is sent to the uncertainty-aware progressive decoupling network and processed according to steps (1) to (5) to obtain the predicted salient map F and complete the salient object detection.
[0093] The object of the present invention is achieved in this way.
[0094] RGB-D salient object detection (SOD) aims to improve spatial perception and guide the localization of salient regions using depth maps. Currently, many methods try to design various fusion strategies to integrate multimodal information, but lack the exploration of modal characteristics. To address this problem, the present invention uses RGB and depth branches to learn the decoupled representation of salient objects, namely the trunk and detail parts. Specifically, to reduce the modality difference, the present invention proposes a focus-alignment-refinement (FAR) module, which guides fine-grained alignment through the semantic information of salient object prototypes and refines features using complementary modalities. Since some poor quality depth maps inevitably introduce noise, which damages the fine-grained representation (e.g., irregular regions), resulting in over- or under-detection, the present invention designs an uncertainty feature-aware (UFP) module to explore high-uncertainty regions by establishing pixel-level probability distributions. To handle object scale variations, the present invention proposes a progressive scale-aware (PSA) module to expand the range of feature perception by cascading convolutions of different sizes and dilation rates. Finally, we introduce an adjacent shrinking (AS) decoder to generate high-quality masks by aggregating continuous and adjacent features. Extensive experiments on five RGB-D SOD datasets demonstrate that our proposed method outperforms the state-of-the-art methods, and the results on underwater and mirror scene datasets further demonstrate impressive generalization capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0095] Figure 1 : This is the architecture comparison of RGB-D SOD models, where (a) is a single-stream model based on image-level fusion, (b) is a two-stream model based on feature interaction, (c) is a three-stream model based on intermediate modalities or features, and (d) is the PDUNet proposed in this paper, which explores the backbone and detail features respectively;
[0096] Figure 2 It is an overall structural diagram of a specific implementation method of the RGB-D salient object detection method based on disentanglement representation learning of the present invention;
[0097] Figure 3 It is a flowchart of a specific implementation method of the RGB-D salient object detection method based on disentanglement representation learning of the present invention;
[0098] Figure 4 : is a comparison diagram of the efficiency and performance balance between the present invention and the existing salient object detection, wherein (a) is an RGB image, (b) is a depth map, (c) is a true value map, (d) is a predicted salient map output by the present invention, (e) is a salient map output by PICRNet, and (f) is a salient map output by CoNet;
[0099] Figure 5 This is a qualitative comparison diagram between the present invention and the existing salient object detection in natural scenes;
[0100] Figure 6 This is a qualitative comparison diagram between the present invention and the existing salient object detection in underwater scenes;
[0101] Figure 7 This is a qualitative comparison diagram between the present invention and the existing salient object detection in a mirror scene;
[0102] Figure 8 It is the visualization result of the ablation analysis of the present invention. DETAILED DESCRIPTION
[0103] The specific implementation of the present invention is described below in conjunction with the accompanying drawings so that those skilled in the art can better understand the present invention. It should be noted that in the following description, when the detailed description of known functions and designs may dilute the main content of the present invention, these descriptions will be omitted here.
[0104] SOD aims to locate the most attractive regions or objects in an image and can facilitate other tasks such as segmentation, visual language navigation, and image generation. However, it is often easily disturbed by complex backgrounds. To address this issue, some methods try to introduce other visual cues to improve the robustness of detection. Inspired by the fact that RGB images are rich in visual appearance (such as texture, color), depth maps can indicate the spatial geometry of objects, thereby highlighting edges or shapes. Some methods have explored various image or feature fusion methods to facilitate the extraction of complementary information. But the performance still needs to be improved when dealing with some challenging scenes. Inspired by the paper Jun Wei, Shuhui Wang, Zhe Wu, Chi Su, Qingming Huang, and Qi Tian. 2020. Label decoupling framework for salient object detection. In Proceedings of the IEEE / CVF conference on computer vision and pattern recognition. 13025–13034], the present invention decomposes salient objects into two parts, namely, the backbone and details, where the backbone emphasizes the central area of the object and the details represent the edge and its surrounding area. The edge area in the RGB image is not clear, while the depth map can highlight the outline of the object based on the depth difference. Therefore, the trunk and detail parts of the salient object can be decoded from the features of the RGB image and the depth map, respectively. It should be noted that the present invention does not directly use the edge map as the supervision of the depth branch, mainly for two considerations: 1) The depth map is affected by the estimation error and it is difficult to accurately reflect the position and outline of the salient object, especially in extreme cases. 2) The ratio of edge pixels to nearby background pixels is seriously unbalanced, so directly using edge supervision will hinder the optimization process of training.
[0105] This paper further rethinks the existing detection framework and proposes a decoupled representation learning architecture. Figure 1As shown, existing RGB-D SOD methods can be roughly divided into single-stream, two-stream and three-stream structures by fusion strategies. Single-stream networks usually adopt early fusion, that is, information is fused at the image level. However, they lack the ability to explore modal differences, resulting in the introduction of many interferences. The two-stream network consists of encoding and decoding branches composed of RGB images and depth maps, respectively, and performs feature interaction. The three-stream network constructs branches of shared modalities at the image or feature level, and performs joint learning with branches of two specific modalities. However, this significantly increases the computational complexity. These frameworks are developed based on the advantages of fusing different modalities without exploring the appropriate supervisory information of each modality. The present invention combines the advantages of two-stream and three-stream networks, promotes feature interaction in the encoding stage, and integrates features of specific modalities in the decoding stage. In terms of training, the present invention uses the backbone, details and binarized real label maps as supervision for RGB, depth and fusion branches respectively.
[0106] Figure 2 It is an overall structural diagram of a specific implementation method of the RGB-D salient object detection method based on disentanglement representation learning of the present invention.
[0107] Based on the above discussion, the present invention proposes an uncertainty-aware progressive decoupling network, namely PDUNet. The motivation of the present invention is to decompose salient objects into trunk and detail components, which are predicted by RGB and depth branches respectively and then fused. By adopting the decomposition-fusion process, the present invention aims to explore the features of different modalities and exploit their respective advantages. Figure 2As shown, the present invention follows the overall paradigm of the encoder-decoder architecture, which includes four key elements. Specifically, the challenges in feature fusion mainly come from three aspects: a) complex visual relationships in RGB images; b) imaging quality of depth maps; c) alignment of corresponding features. To address these challenges, the present invention introduces the FAR module to achieve calibration from a local-global-local perspective. The present invention focuses on the RGB and depth information of salient objects through prototype clustering, and mines common features to reduce the interference of complex visual representations and low-quality depth information. Then, these features are fused with the initial RGB or depth features to achieve pixel-by-pixel modality alignment and complementary feature calibration from coarse to fine levels. Subsequently, the present invention refines the features through the FAR module to generate cross-modal representations with different emphasis. Through the FAR module, the present invention can effectively learn modality sharing and modality-specific knowledge. However, the introduction of depth errors is particularly harmful to weakly salient feature representations or fine-grained areas (such as small objects and irregular areas). To overcome this problem, the present invention designs a UFP module, uses Bayesian learning to model the probability distribution of objects, and fuses them into the feature map. By exploring high uncertainty regions, we enhance the RGB representation and suppress depth errors, achieving fine-grained differentiation. In addition, it is observed that the scales of salient objects vary greatly, ranging from occupying one-tenth to more than half of the image. Therefore, the present invention proposes a PSA module to gradually expand the feature perception range by cascading convolution kernels with gradually increasing sizes and dilation rates to capture objects of different scales. Finally, similar to the U-decoder that propagates high-level semantic information to low-level detail information layer by layer, the present invention introduces an AS decoder, which aggregates features of consecutive and adjacent layers with similar semantics and detail representations to generate more refined masks. The present invention further proposes a refined AS (RAS) decoder, which combines the output of the AS decoder with the feature map generated by the encoder to refine the initial features. It should be noted that the present invention uses the UFP module to further enhance the output of the RAS decoder and obtain the final predicted mask.
[0108] In summary, the contributions of the present invention are as follows:
[0109] This paper proposes a novel disentangled representation learning framework, which explores the features of RGB images and depth images and their correspondences with the backbone and detail parts.
[0110] This paper proposes PDUNet by designing FAR and UFP modules, narrowing the modality gap, emphasizing beneficial feature representation, and introducing PSA module to handle the variation of target scale. In addition, we also formulate AS decoder to obtain high-quality masks.
[0111] The present invention surpasses the SOTA methods on five widely used natural scene RGB-D datasets as well as underwater and mirror detection datasets (RGB-D type), achieving a better balance between performance and efficiency.
[0112] Figure 3 It is a flowchart of a specific implementation method of the RGB-D salient object detection method based on disentanglement representation learning of the present invention.
[0113] In this embodiment, if Figure 3 As shown, the RGB-D salient object detection method based on disentangled representation learning of the present invention includes the following steps:
[0114] Step S1: Get multi-scale feature map X i ,F i
[0115] Use the Pyramid Vision Transformer (PVT) network as the backbone network to transform the input image I∈R 3×H×W Extracting multi-scale feature maps Among them, C i , H and W represent the number of channels, height and width respectively.
[0116] The depth map D of the input image I o ∈R 1×H×W Adjust to D through convolution c ∈R 3×H×W , and then input into another pyramid visual converter to extract multi-scale feature maps
[0117] In this embodiment, C1=64, C2=128, C3=320, and C4=640.
[0118] Step S2: Focus-Alignment-Refinement
[0119] Based on the complex visual relationships in RGB images and the imaging quality of depth images, different regions of salient objects may have weakened features, while the most prominent parts still maintain good representation. The present invention generates salient prototypes by clustering to obtain a common feature representation focused on the core area. In addition, the present invention further uses the generated prototypes as a supplement to the initial features to achieve feature alignment from coarse to fine levels. It is worth noting that unlike previous works, which align prototypes or pixels, resulting in excessive or insufficient alignment, the present invention combines the advantages of both by guiding key features to align details. In addition, since the representations learned by the RGB and depth branches are different, the present invention refines them to obtain features with different emphasis. Specifically, the present invention uses the Focus-Alignment-Refinement (FAR) module to align the multi-scale feature map X i ,F i Align and fuse the same-scale features to generate a feature map
[0120] Step S2.1: Coarse-to-fine alignment
[0121] First, for the multi-scale feature map X i ,F i Regularization, 3x3 convolution, and then softmax function and reshape to generate attention and Where m represents the number of prototypes, the process is expressed as:
[0122]
[0123] Among them, Att represents the combination of regularization, convolution, softmax and reshape.
[0124] Then, randomly initialize the cluster centers Obtaining salient prototypes through summation and regularization
[0125]
[0126] Among them, Reshape(·) represents the reshaping operation, All prototypes are accumulated, represents the L2 norm.
[0127] Then, the prototype With multi-scale feature map X i , significant prototype With multi-scale feature map F i Fusion to generate prototype-based feature maps and
[0128]
[0129] Among them, Γ(,) means combining by channel and performing 1×1 convolution, followed by ReLU activation function.
[0130] Then, a 1×1 convolution followed by a 3×3 depthwise separable convolution is used to convolution the multi-scale feature map X i ,F i And feature map Encode and generate feature maps And feature map
[0131] Then, the feature map As a query, the feature map As the key, compute the correlation matrix in the channel dimension:
[0132]
[0133] Among them, the correlation matrix where h is the number of attention heads, T represents transpose, σ is the softmax function, τ is a learnable scaling factor, and Reshape(·) represents a reshaping operation.
[0134] Finally, we obtain the enhanced feature map
[0135]
[0136] Step S2.2: Refinement
[0137] For feature maps Perform spatial compression separately and then fuse them to obtain the channel map for:
[0138]
[0139] Among them, Avg represents average pooling, Concat represents channel concatenation, and the superscript 1→C i Indicates taking channels 1 to C i Elements with superscript C i +1→2C i Indicates access channel C i +1 to 2C i elements.
[0140] Finally, the refined feature map is generated
[0141]
[0142] Among them, ⊙ represents element-by-element multiplication.
[0143] Step S3: Uncertainty feature perception
[0144] By aligning the layers from coarse to fine, the present invention reduces the overall interference of depth error on salient objects. However, for areas with weak feature representation or fine-grained details, the introduction of erroneous information may degrade the original representation or even blur it, thereby increasing uncertainty. To solve this problem, the present invention proposes an uncertainty feature perception (UFP) module, which introduces probabilistic modeling to locate areas with high uncertainty and further reduce depth noise. Specifically, the uncertainty feature perception module is used to obtain the uncertainty perception feature M u :
[0145] Step S3.1: Establish a Laplace distribution for each pixel of the feature map and construct an uncertainty map:
[0146] First, by refining the feature map Use two different 1×1 convolutions to get the mean respectively:
[0147]
[0148] Among them, Γ′ and Γ′′ represent two different 1×1 convolutions.
[0149] Then, random sampling is performed multiple times to generate the variable ξ from the standard Laplace distribution to obtain a new uncertainty distribution of the pixel, namely L = μ + ξb.
[0150] Then, the variance is calculated and normalized to obtain the uncertainty map
[0151] U=Norm(Var(φ(sample(L)))) (9)
[0152] Among them, Norm(·), VAR(·), φ(·) and sample(·) represent normalization, sample variance, Sigmoid function and sampling respectively.
[0153] Refine the feature map Input into the adjacency shrinkage (AS) decoder to generate feature maps Then concatenate by channel to get the feature map
[0154]
[0155] in,
[0156] Perform 1×1 convolution on the feature map M, and then perform 3×3 convolution three times to obtain the query M q , key M k Sum value M v , where the convolution kernels used three times are different.
[0157] Apply uncertainty graph U to query M q , key M k , generate the correlation matrix corr u :
[0158]
[0159] in, represents matrix multiplication and τ1 is a learnable scaling factor.
[0160] Get uncertainty perception feature map
[0161] M u =M q ⊙corr u (12)
[0162] Step S4: Progressive scale perception
[0163] The sizes of salient regions vary greatly, which makes it difficult to locate small objects and detect large objects intact. Therefore, the present invention proposes a Progressive Scale-Aware Module (PSAM) module, which gradually expands the receptive field by introducing dilated convolutions of different scales, thereby capturing objects of different scales. Specifically, the Progressive Scale-Aware Module introduces dilated convolutions of different scales to gradually expand the receptive field, thereby capturing objects of different scales:
[0164] Step S4.1: Generate feature map
[0165]
[0166] Among them, Conv 1×1 Represents 1×1 convolution, Conv 3×3,delation= Represents a 3x3 convolution with a dilation rate of 1, Conv 3×3 Represents a 3×3 convolution.
[0167] The same method uses different convolution kernels to generate feature maps
[0168]
[0169] Step S4.2: Generate feature map
[0170]
[0171] Among them, Conv 1×1 Represents 1×1 convolution, Conv 1×3 Represents 1×3 convolution, Conv 3×1 Represents 3×1 convolution, Conv 3×3,delation=3 represents a 3x3 convolution with a dilation rate of 3.
[0172] The same method uses different convolution kernels to generate feature maps
[0173]
[0174] Step S4.3: Generate feature map
[0175]
[0176] Among them, Conv 1×1 Represents 1×1 convolution, Conv 1×5 Represents 1×5 convolution, Conv 5×1 Represents a 5×1 convolution, Conv 3×3,delation=5 represents a 3x3 convolution with a dilation rate of 5;
[0177] The same method uses different convolution kernels to generate feature maps
[0178]
[0179] Step S4.4: Generate feature map
[0180]
[0181] Among them, Conv 1×1 Represents 1×1 convolution, Conv 1×7 Represents 1×7 convolution, Conv 7×1 Represents a 7×1 convolution, Conv 3×3,delation=7 Represents a 3x3 convolution with a dilation rate of 7.
[0182] The same method uses different convolution kernels to generate feature maps
[0183]
[0184] Step S5: Refined adjacent puncture decoding
[0185] The existing decoding paradigm mainly includes: 1) top-down, which may lead to loss of semantic information; 2) dense interaction, resulting in high computational cost and feature redundancy; 3) separation of high and low layers, resulting in conflicts between details and semantic features. Therefore, the present invention proposes a refined adjacent shrinkage decoding (RAS) decoder to gradually aggregate continuous and adjacent layers, narrow the gap between high and low layer information, thereby capturing features focused on different levels to decode high-quality masks, where the RGB branch feature aggregation is:
[0186]
[0187] Among them, T i , T′ i , T″ i The feature map obtained by step-by-step aggregation, T is the RGB branch feature map, and CBR represents the combination of convolution, BN layer and ReLU function.
[0188] Similarly, the deep branch feature aggregation is:
[0189]
[0190] Among them, D i , D′ i , D″ i The feature map obtained by step-by-step aggregation, D is the deep branch feature map.
[0191] Finally, we get the predicted saliency map S:
[0192] First, the RGB branch feature map T and the depth branch feature map D are concatenated by channel, and then the concatenated feature map is used as the refined feature map in step (3) Perform uncertainty feature perception and obtain the uncertainty perception feature map M u The predicted saliency map F as the fusion branch.
[0193] Step S6: Training
[0194] Based on steps (1) to (5), a progressive decoupling network based on uncertainty perception is obtained. The labeled images in the training data set are sent to the progressive decoupling network based on uncertainty perception and processed according to steps (1) to (5) to obtain the RGB branch feature map T, the depth branch feature map D and the predicted saliency map F of the fusion branch. Then, the loss of the labeled RGB feature map, the depth feature map and the saliency map S is respectively compared. as well as Get the total loss
[0195]
[0196] Among them, α, β, and γ are hyperparameters, and the three losses as well as Each loss in is composed of weighted binary cross entropy loss, weighted IoU loss and SSIM loss.
[0197] Based on total loss Train the uncertainty-aware progressive decoupling network until convergence;
[0198] Step S7: Salient object detection
[0199] The image to be detected is sent into the uncertainty-aware progressive decoupling network and processed according to steps S1 to S5 to obtain the predicted salient map F and complete the salient object detection.
[0200] Figure 4 : This is a comparison diagram of the efficiency and performance balance between the present invention and the existing salient object detection, wherein (a) is an RGB image, (b) is a depth map, (c) is a true value map, (d) is a predicted salient map output by the present invention, (e) is a salient map output by PICRNet, and (f) is a salient map output by CoNet.
[0201] from Figure 4 It can be seen that the present invention (ours) achieves the best balance between efficiency and performance.
[0202] experiment
[0203] 1. Experimental setup
[0204] Benchmark datasets: Experiments are conducted on seven datasets. RGB-D datasets for natural scenes: STERE1000
[53] , SIP
[12] , NJU2K
[27] , NLPR
[57] , and DUT
[58] . Underwater dataset: USOD10K
[16] . Mirror dataset: RGBD-Mirror
[51] .
[0205] Implementation details: The present invention is implemented using PyTorch, and all experiments are performed on an NVIDIA RTX A100. The training set contains 1485 images from the NJU2K dataset and 700 images from the NLPR dataset. Evaluation is performed on the corresponding test sets as well as the STERE1000 and SIP datasets. For the DUT dataset, the original training set as well as the training sets of NJU2K and NLPR are used, and the original test set is used for evaluation. For the USOD10K and RGBD-Mirror datasets, the PVT network pre-trained on ImageNet
[69] is used as the encoder for RGB images and depth maps. All input images are scaled to 384×384. During training, Adam is used as the optimizer for 200 epochs, with an initial learning rate of 1e-4 and a batch size of 16. During testing, no tricks (such as test-time data augmentation) and post-processing (such as CRF)
[66] are used.
[0206] Evaluation indicators: Five evaluation indicators are used: S-measure (Sα)
[10] , mean E-measure (Eξ)
[11] , weighted F-measure, (Fw), adaptive F-measure (Fβ)
[49] and Mean Absolute Error (M). It should be noted that the higher the first four indicators, the better.
[0207] 2. Comparison with the most advanced methods
[0208] The present invention is compared with 13 state-of-the-art RGB-D SOD models, including DANet
[86] , BBSNet
[13] , DCFNet
[21] , DSA2F
[64] , VST
[40] , C2DFNet
[83] , DCMF
[68] , SPSN
[30] , HiDANet
[73] , PICRNet[7], PopNet
[74] , DCTNet[2], DFormer
[78] , two RGB-T SOD models, namely CCFENet
[36] and LSNet
[88] , and two bimodal methods, namely HRTransNet
[65] and CAVER
[56] , on five natural scene datasets. To verify the generalization ability of the proposed method, it is compared with eight state-of-the-art methods on the USOD10K dataset, namely DANet, UCNet
[82] , TriTransNet
[44] , SPNet
[87] , HAINet
[34] , SVAMNet
[20] , DMRA
[23] , and TC-USOD
[16] (specifically for underwater SOD). In addition, it is compared with six state-of-the-art RGB-D SOD methods on the RGBD-Mirror dataset, namely BBSNet, HDFNet
[54] , DANet, S2MA
[39] , JL-DCF
[12] , VST, and two mirror detection methods, namely PDNet and SATNet. To ensure fairness, the evaluation results are obtained using the saliency maps provided by the authors or retraining using the provided official source code.
[0209] 2.1 Quantitative Evaluation
[0210]
[0211] Table 1
[0212] Table 1 shows the results of S α 、F β 、E ξ Quantitative comparison of and M(MAE). As shown in Table 1, our method achieves the best performance in all indicators on five widely used datasets. In particular, on the large-scale and challenging SIP dataset, our method α 、F β 、E ξThe proposed method outperforms the second-best RGB-D SOD method DFormer by 0.9%, 2.0%, 1.1%, and 0.6% on M, respectively. In addition, the proposed method surpasses the SOTA dual-modal SOD method CAVER by 1.3%, 3.0%, 1.6%, and 0.8%, respectively, and the RGB-T SOD method LSNet by 3.1%, 4.7%, 3.3%, and 2.1%, respectively.
[0213]
[0214] Table 2
[0215]
[0216] Table 3
[0217] Tables 2 and 3 are quantitative comparisons on the datasets USOD10K and RGBD-Mirror, respectively. As shown in Tables 2 and 3, the present invention also demonstrates excellent generalization capabilities, and on the USOD10K and RGBD-Mirror datasets, it outperforms the SOTA methods TC-USOD and SATNet by 1.0%, 2.1%, 0.6%, 0.3% and 1.0%, 1.1%, 1.7%, -0.2%, respectively. These results verify that the present invention can effectively cope with various complex scenarios.
[0218] 2.2 Qualitative Evaluation
[0219] like Figure 5 As shown, in this experiment, some comparative cases of challenging scenes are provided. The present invention (ours) effectively establishes foreground-background differences in the case of low contrast (rows a and b) and low-quality depth maps (rows b, c, and d), utilizing beneficial depth information while reducing the interference of depth errors. Despite the significant changes in object scales (rows c and d), the present invention captures long-range and short-range feature dependencies to achieve accurate positioning and detection. In scenes with composite objects (rows f and g), the depth difference between the target area and the non-target area is not obvious, and most methods will mistakenly detect trapezoidal and circular rocks due to the incorrect guidance of the depth map. In contrast, the present invention uses RGB information to achieve separation. When dealing with irregularly shaped targets (rows e, h, and k), the present invention uses uncertainty modeling to exploit fine-grained feature clues and enhance detail information. In addition, the present invention does not miss out when dealing with multiple targets and achieves complete detection (rows i and j). As shown Figure 6 and Figure 7 As shown in Figure 2, in this experiment, a visual comparison of underwater and mirror scenes is also provided. Figure 6 and Figure 7 It can be seen that the present invention can address the challenges of specific tasks, such as camouflage and reflection.
[0220] 2.3 Ablation Experiment
[0221] In order to verify the effectiveness of each key module and hyperparameter, pruning experiments were conducted on the NJU2K and DUT datasets, including quantitative analysis (Table 4, Table 5, and Table 6) and qualitative analysis (Table 6). Figure 8 ).
[0222] 2.3.1. Effectiveness of FAR module.
[0223]
[0224] Table 4
[0225] Table 4 is an ablation analysis table of the module proposed in the present invention, where B, I1, I2 and I3 represent the baseline, FAR module, UFP module and PSA module respectively. As shown in Table 4, integrating the FAR module into the baseline model achieves an average improvement of 1.6%, 1.1% and 1.5% on Sα, Fβ and Eξ respectively, while reducing M by 0.5% on average. Figure 8 In (a, b, c), the baseline model has obvious defects in the case of low-quality depth maps. After integrating the FAR module, the detection of the horse's tail (a), the left mirror (b), and the small fish (c) is significantly improved, demonstrating the effective feature alignment mechanism of the FAR module, which retains beneficial information and discards harmful information.
[0226] 2.3.2 Effectiveness of UFP Module
[0227] As shown in Table 4, the average improvements after adding the UFP module are 0.8%, 0.7% (0.65%), and 0.8%, and the average reduction is 0.4% (0.35%) of M. Figure 8 In the figure, after adding the UFP module, we enlarge the detection area (the horse’s tail in a and the left mirror in b), and also improve the outline of the target (the fish’s tail in c). This shows that the UFP module can enhance the perception of fine-grained features and edge regions, highlighting detailed information.
[0228] 2.3.3 Effectiveness of PSA module
[0229] As shown in Table 4, after adding the PSA module, the average improvements are 1% (0.95%), 1.3%, and 1.1% (1.05%), and the average reduction is 0.5% of M. In addition, the overall performance is further improved by combining with the FAR module, indicating the complementarity between them. Figure 8 In (b), by incorporating the PSA module to improve the distance dependence of the features, we can localize all three mirrors simultaneously, although the localization of the right mirror is still inaccurate.
[0230] 2.3.4 Decoder Type
[0231]
[0232] Table 5
[0233] Table 5 is an ablation analysis table of different decoders, where U, D, F, H, and S represent top-down, densely connected, feature feedback, high-low layer heterogeneous (separable), and feature shrinkage, respectively. To verify the superiority of AS and RAS decoders, as shown in Table 5, we applied different types of decoders, including top-down, densely connected, feature feedback, high-low layer heterogeneous (separable), and feature shrinkage. Among these methods, we found that AS and RAS decoders achieved the best performance, indicating the effectiveness of the progressive aggregation of adjacent and continuous features.
[0234] 2.3.5. Weight of each loss function
[0235]
[0236] Table 6
[0237] In order to find the best weight combination of the three branch loss functions, we set the weight of the fusion branch to 1, and the weights of the trunk and detail branches β,γ∈[0.25,0.50,0.75,1]. Through multiple iterations of different weight combinations, as shown in Table 6, we found that the best combination is α=β=γ=1.
[0238] The present invention rethinks the existing RGB-D salient object detection framework and proposes PDUNet. The present invention focuses on exploring modal characteristics by disentangling salient objects and learning heterogeneous representations through different branches. To overcome the shortcomings of current modal fusion methods, the present invention introduces the FAR module to align and fuse features in a local-global-local manner. The present invention proposes the UFP module to locate regions with high uncertainty and extract fine-grained information. In addition, the present invention introduces the PSA module to handle the scale variation of salient objects. Finally, the present invention proposes the AS and RAS decoders to reduce the semantic and detail gaps in the fusion process by progressively aggregating adjacent and continuous features. Extensive experiments on five RGB-D natural scene datasets and two downstream scene datasets confirm the superiority and generalization of the proposed method.
[0239] Although the above describes the illustrative specific embodiments of the present invention to facilitate those skilled in the art to understand the present invention, it should be clear that the present invention is not limited to the scope of the specific embodiments. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations using the concept of the present invention are protected.
Claims
1. A RGB-D salient object detection method based on disentangled representation learning, characterized in that: The following steps are involved: (1) Obtain multi-scale feature map X i ,F i Use the Pyramid Vision Transformer (PVT) network as the backbone network to transform the input image I∈R 3×H×W Extracting multi-scale feature maps i=1,2,3,4, where C i , H and W represent the number of channels, height and width respectively; The depth map D of the input image I o ∈R 1×H×W Adjust to D through convolution c ∈R 3×H×W , and then input into another pyramid visual converter to extract multi-scale feature maps i=1,2,3,4. (2) Focus-Alignment-Refinement The Focus-Alignment-Refinement (FAR) module is used to refine the multi-scale feature map X i ,F i Align and fuse the same-scale features to generate a feature map 2.1) Coarse to fine alignment First, for the multi-scale feature map X i ,F i Regularization, 3x3 convolution, and then softmax function and reshape to generate attention and in, m represents the number of prototypes, and the process is expressed as: Among them, Att represents the combination of regularization, convolution, softmax and reshaping; Then, randomly initialize the cluster centers Obtaining salient prototypes through summation and regularization Among them, Reshape(·) represents the reshaping operation, All prototypes are accumulated, represents the L2 norm; Then, the prototype With multi-scale feature map X i , significant prototype P i f With multi-scale feature map F i Fusion is performed to generate a prototype-based feature map and Among them, Γ(,) means combining by channel and performing 1×1 convolution, followed by ReLU activation function; Then, a 1×1 convolution followed by a 3×3 depthwise separable convolution is used to convolution the multi-scale feature map X i ,F i And feature map Encode and generate feature maps And feature map Then, the feature map As a query, the feature map As the key, compute the correlation matrix in the channel dimension: Among them, the correlation matrix where h is the number of attention heads, T represents transpose, σ is the softmax function, τ is a learnable scaling factor, and Reshape(·) represents a reshaping operation; Finally, we obtain the enhanced feature map 2.2) Refinement For feature maps Perform spatial compression separately and then fuse them to obtain the channel map for: Among them, Avg represents average pooling, Concat represents channel concatenation, and the superscript 1→C i Indicates taking channels 1 to C i Elements with superscript C i +1→2C i Indicates access channel C i +1 to 2C i Elements of Finally, the refined feature map is generated Among them, ⊙ represents element-by-element multiplication; (3) Uncertainty feature perception The uncertainty feature perception (UFP) module is used to obtain the uncertainty perception feature M u : 3.1) Establish a Laplace distribution for each pixel of the feature map and construct an uncertainty map: First, by refining the feature map Use two different 1×1 convolutions to get the mean respectively: Among them, Γ′ and Γ″ represent two different 1×1 convolutions. Then, random sampling is performed multiple times to generate the variable ξ from the standard Laplace distribution to obtain a new uncertainty distribution of the pixel, i.e., L = μ + ξb; Then, the variance is calculated and normalized to obtain the uncertainty map U=Norm(Var(φ(Sample(L)))) (9) Among them, Norm(·), VAR(·), φ(·) and sample(·) represent normalization, sample variance, Sigmoid function and sampling respectively; Refine the feature map Input into the adjacency shrinkage (AS) decoder to generate feature maps Then concatenate by channel to get the feature map in, Perform 1×1 convolution on the feature map M, and then perform 3×3 convolution three times to obtain the query M q , key M k Sum value M v , where the convolution kernels used three times are different; Apply uncertainty graph U to query M q , key M k , generate the correlation matrix corr u : in, represents matrix multiplication, τ1 is a learnable scaling factor; Get uncertainty perception feature map M u =M q ⊙corr u (12) (4) Progressive scale perception The Progressive Scale-Aware Module (PSAM) module is used to introduce dilated convolutions of different scales to gradually expand the receptive field, thereby capturing objects of different scales: 4.1) Generate feature map Among them, Conv 1×1 Represents 1×1 convolution, Conv 3×3,delation=1 Represents a 3x3 convolution with a dilation rate of 1, Conv 3×3 Represents a 3×3 convolution; The same method uses different convolution kernels to generate feature maps 4.2) Generate feature map Among them, Conv 1×1 Represents 1×1 convolution, Conv 1×3 Represents 1×3 convolution, Conv 3×1 Represents 3×1 convolution, Conv 3×3,delation=3 represents a 3x3 convolution with a dilation rate of 3; The same method uses different convolution kernels to generate feature maps 4.3) Generate feature map Among them, Conv 1×1 Represents 1×1 convolution, Conv 1×5 Represents 1×5 convolution, Conv 5×1 Represents a 5×1 convolution, Conv 3×3,delation=5 represents a 3x3 convolution with a dilation rate of 5; The same method uses different convolution kernels to generate feature maps 4.4) Generate feature map Among them, Conv 1×1 Represents 1×1 convolution, Conv 1×7 Represents 1×7 convolution, Conv 7×1 Represents a 7×1 convolution, Conv 3×3,delation= represents a 3x3 convolution with a dilation rate of 7; The same method uses different convolution kernels to generate feature maps (5) Refined adjacent punctured decoding The Refined Adjacent Shrinkage (RAS) decoder is used to gradually aggregate continuous and adjacent layers to narrow the gap between high and low layer information, where the RGB branch feature aggregation is: Among them, T i , T′ i , T″ i The feature map obtained by step-by-step aggregation, T is the RGB branch feature map, CBR represents the combination of convolution, BN layer and ReLU function; Similarly, the deep branch feature aggregation is: Among them, D i , D′ i , D″ i The feature map obtained by step-by-step aggregation, D is the deep branch feature map; Finally, we get the predicted saliency map S: First, the RGB branch feature map T and the depth branch feature map D are concatenated by channel, and then the concatenated feature map is used as the refined feature map in step (3) Perform uncertainty feature perception and obtain the uncertainty perception feature map M u The predicted saliency map F as the fusion branch; (6) Training Based on steps (1) to (5), a progressive decoupling network based on uncertainty perception is obtained. The labeled images in the training data set are sent to the progressive decoupling network based on uncertainty perception and processed according to steps (1) to (5) to obtain the RGB branch feature map T, the depth branch feature map D and the predicted saliency map F of the fusion branch. Then, the loss of the labeled RGB feature map, the depth feature map and the saliency map S is respectively compared. as well as Get the total loss Among them, α, β, and γ are hyperparameters, and the three losses as well as Each loss in consists of weighted binary cross entropy loss, weighted IoU loss and SSIM loss; Based on total loss Train the uncertainty-aware progressive decoupling network until convergence; (7) Salient object detection The image to be detected is sent to the uncertainty-aware progressive decoupling network and processed according to steps (1) to (5) to obtain the predicted salient map F and complete the salient object detection.
Citation Information
Patent Citations
RGB-D saliency target detection method based on boundary deformable convolution guidance
CN115830420A
RGB-D saliency target detection method based on multi-level feature and context information fusion
CN116778180A
Deep Learning Based Multi-Sensor Detection System for Executing a Method to Process Images from a Visual Sensor and from a Thermal Sensor for Detection of Objects in Said Images
US20230237785A1
Neural network training method, electronic device, and computer storage medium
WO2023077809A1
Cited By
Multi-modal salient target detection method combining dynamic routing with asymmetric multiple windows
CN119625479A
Multi-modal video target tracking method and system based on comparative learning modal alignment
CN121685589A
