[Paper Review] A Simple yet Effective Network based on Vision Transformer for Camouflaged Object and Salient Object Detection
This paper proposes a simple yet effective Vision Transformer-based network (SENet) for both camouflaged object detection (COD) and salient object detection (SOD), leveraging an asymmetric encoder-decoder architecture with a local information capture module (LICM) and a dynamic weighted loss (DW loss). SENet achieves state-of-the-art performance on multiple COD and SOD benchmarks, demonstrating strong versatility and improved segmentation of small, hard-to-detect objects.
Camouflaged object detection (COD) and salient object detection (SOD) are two distinct yet closely-related computer vision tasks widely studied during the past decades. Though sharing the same purpose of segmenting an image into binary foreground and background regions, their distinction lies in the fact that COD focuses on concealed objects hidden in the image, while SOD concentrates on the most prominent objects in the image. Previous works achieved good performance by stacking various hand-designed modules and multi-scale features. However, these carefully-designed complex networks often performed well on one task but not on another. In this work, we propose a simple yet effective network (SENet) based on vision Transformer (ViT), by employing a simple design of an asymmetric ViT-based encoder-decoder structure, we yield competitive results on both tasks, exhibiting greater versatility than meticulously crafted ones. Furthermore, to enhance the Transformer's ability to model local information, which is important for pixel-level binary segmentation tasks, we propose a local information capture module (LICM). We also propose a dynamic weighted loss (DW loss) based on Binary Cross-Entropy (BCE) and Intersection over Union (IoU) loss, which guides the network to pay more attention to those smaller and more difficult-to-find target objects according to their size. Moreover, we explore the issue of joint training of SOD and COD, and propose a preliminary solution to the conflict in joint training, further improving the performance of SOD. Extensive experiments on multiple benchmark datasets demonstrate the effectiveness of our method. The code is available at https://github.com/linuxsino/SENet.
Motivation & Objective
- To develop a unified, lightweight architecture that performs well on both camouflaged object detection (COD) and salient object detection (SOD), despite their differing object characteristics.
- To address the challenge of detecting small, hard-to-identify objects in both COD and SOD tasks through a novel loss function and feature enhancement mechanism.
- To explore joint training strategies for COD and SOD, aiming to improve performance on both tasks using a single model architecture.
- To validate the effectiveness of image reconstruction as an auxiliary pre-training task for improving low-level feature learning in binary segmentation tasks.
Proposed method
- Proposes a simple, asymmetric Vision Transformer-based encoder-decoder structure that separates visible patches from masked tokens, enabling end-to-end training with reconstruction and segmentation objectives.
- Introduces a plug-and-play Local Information Capture Module (LICM) that combines small-kernel convolutions with self-attention features via residual connections to enhance local feature modeling.
- Designs a Dynamic Weighted Loss (DW loss) that adaptively increases the loss weight for smaller target objects by combining Binary Cross-Entropy (BCE) and Intersection over Union (IoU) losses.
- Employs image reconstruction as a pre-training auxiliary task, improving feature learning and accelerating convergence by forcing the network to perceive the full image context.
- Proposes two joint training paradigms: sharing the encoder with separate decoders, and training on both COD and SOD datasets simultaneously, to explore model generalization across tasks.
- Utilizes Masked Autoencoder (MAE)-style pre-training with reconstruction on ImageNet, followed by fine-tuning on COD and SOD datasets, with ablation studies confirming its superiority over supervised initialization.
Experimental results
Research questions
- RQ1Can a simple Vision Transformer-based architecture achieve state-of-the-art performance on both COD and SOD tasks without task-specific architectural modifications?
- RQ2How does incorporating image reconstruction as an auxiliary pre-training task affect performance in COD and SOD?
- RQ3To what extent does the proposed Dynamic Weighted Loss (DW loss) improve segmentation of small and hard-to-detect objects in both COD and SOD?
- RQ4Can joint training of COD and SOD improve model generalization, and if so, what architectural design enables this without performance degradation?
- RQ5Does the proposed Local Information Capture Module (LICM) effectively enhance local feature representation in Vision Transformers for pixel-level binary segmentation?
Key findings
- SENet achieves state-of-the-art performance on nine benchmark datasets across both COD and SOD tasks, with the largest performance gains observed on more challenging datasets.
- The addition of the LICM consistently improves performance on both COD and SOD, with a more significant gain on COD, indicating its effectiveness in handling complex, low-contrast objects.
- The DW loss outperforms a widely used weighted loss baseline, particularly improving detection of small objects, and leads to greater performance gains on COD than on SOD.
- Image reconstruction pre-training significantly boosts performance compared to supervised ImageNet initialization, validating its role in enhancing low-level feature learning.
- Joint training with a shared encoder and independent decoders (Paradigm 2) improves SOD performance while minimizing degradation on COD, suggesting a viable path toward unified model training.
- The MAE-pretrained decoder is crucial for performance, and its role should not be overlooked—ablation shows it is a key factor in SENet’s success.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.