Skip to main content
QUICK REVIEW

[Paper Review] Transformer Transforms Salient Object Detection and Camouflaged Object Detection

Yuxin Mao, Jing Zhang|arXiv (Cornell University)|Apr 20, 2021
Visual Attention and Saliency DetectionComputer Science109 references45 citations
TL;DR

This paper proposes a unified transformer-based framework for salient object detection (SOD) and camouflaged object detection (COD), leveraging the dense transformer backbone to model long-range dependencies and improve structure learning. By integrating deep supervision and difficulty-aware learning, the method enhances feature uniformity and hard negative mining, achieving new state-of-the-art performance on multiple SOD and COD benchmarks.

ABSTRACT

The transformer networks are particularly good at modeling long-range dependencies within a long sequence. In this paper, we conduct research on applying the transformer networks for salient object detection (SOD). We adopt the dense transformer backbone for fully supervised RGB image based SOD, RGB-D image pair based SOD, and weakly supervised SOD within a unified framework based on the observation that the transformer backbone can provide accurate structure modeling, which makes it powerful in learning from weak labels with less structure information. Further, we find that the vision transformer architectures do not offer direct spatial supervision, instead encoding position as a feature. Therefore, we investigate the contributions of two strategies to provide stronger spatial supervision through the transformer layers within our unified framework, namely deep supervision and difficulty-aware learning. We find that deep supervision can get gradients back into the higher level features, thus leads to uniform activation within the same semantic object. Difficulty-aware learning on the other hand is capable of identifying the hard pixels for effective hard negative mining. We also visualize features of conventional backbone and transformer backbone before and after fine-tuning them for SOD, and find that transformer backbone encodes more accurate object structure information and more distinct semantic information within the lower and higher level features respectively. We also apply our model to camouflaged object detection (COD) and achieve similar observations as the above three SOD tasks. Extensive experimental results on various SOD and COD tasks illustrate that transformer networks can transform SOD and COD, leading to new benchmarks for each related task. The source code and experimental results are available via our project page: this https URL.

Motivation & Objective

  • To investigate the effectiveness of vision transformers in salient object detection (SOD) and camouflaged object detection (COD), especially in low-supervision regimes.
  • To address the lack of explicit spatial supervision in vision transformers by introducing structural and training strategy enhancements.
  • To unify RGB-only, RGB-D, and weakly supervised SOD under a single transformer-based framework.
  • To evaluate the impact of attention mechanisms and feature learning dynamics in transformers for object detection tasks with limited annotations.
  • To extend the proposed framework to camouflaged object detection, demonstrating transferability and robustness across challenging visual tasks.

Proposed method

  • Adopt a dense transformer backbone to capture long-range dependencies and improve feature representation in both low-level and high-level features.
  • Introduce deep supervision to backpropagate gradients into higher-level features, promoting uniform activation across semantic objects.
  • Implement difficulty-aware learning to identify and focus on hard pixels, enabling effective hard negative mining during training.
  • Replace conventional CNN backbones with vision transformers to evaluate performance gains in SOD and COD under fully supervised, RGB-D, and weakly supervised settings.
  • Visualize feature maps before and after fine-tuning to compare structural and semantic feature learning between CNN and transformer backbones.
  • Apply the unified framework to camouflaged object detection, demonstrating consistent improvements across diverse object appearance challenges.

Experimental results

Research questions

  • RQ1Can vision transformers effectively replace CNNs in salient object detection with improved structure modeling and generalization?
  • RQ2How do deep supervision and difficulty-aware learning enhance feature learning in transformer-based SOD models?
  • RQ3To what extent do vision transformers learn accurate object structures and distinct semantic representations in low- and high-level features?
  • RQ4Does the proposed unified transformer framework generalize to camouflaged object detection, a task with high visual ambiguity?
  • RQ5What is the comparative performance of the transformer-based model against existing SOD and COD methods on standard benchmarks?

Key findings

  • The transformer backbone significantly improves object structure modeling, especially in lower-level features, compared to conventional CNNs.
  • After fine-tuning, the transformer backbone produces more distinct semantic representations in higher-level features, enhancing detection accuracy.
  • Deep supervision leads to more uniform activation across the same semantic object, improving feature consistency.
  • Difficulty-aware learning effectively identifies hard pixels, enabling better hard negative mining and performance gains.
  • The unified transformer framework achieves new state-of-the-art results on multiple SOD and COD benchmarks, including RGB-only, RGB-D, and weakly supervised settings.
  • The model generalizes well to camouflaged object detection, demonstrating consistent performance improvements across diverse and challenging visual conditions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.