Skip to main content
QUICK REVIEW

[Paper Review] Boosting Camouflaged Object Detection with Dual-Task Interactive Transformer

Zhengyi Liu, Zhili Zhang|arXiv (Cornell University)|May 21, 2022
Visual Attention and Saliency DetectionComputer Science7 citations
TL;DR

This paper proposes a dual-task interactive transformer (DTIT) that jointly optimizes camouflaged object detection (COD) and boundary detection using cross-attention mechanisms. By treating object and boundary features as queries for each other, the model enhances feature refinement through global, interactive attention, achieving state-of-the-art performance on public COD benchmarks with improved accuracy and noise suppression.

ABSTRACT

Camouflaged object detection intends to discover the concealed objects hidden in the surroundings. Existing methods follow the bio-inspired framework, which first locates the object and second refines the boundary. We argue that the discovery of camouflaged objects depends on the recurrent search for the object and the boundary. The recurrent processing makes the human tired and helpless, but it is just the advantage of the transformer with global search ability. Therefore, a dual-task interactive transformer is proposed to detect both accurate position of the camouflaged object and its detailed boundary. The boundary feature is considered as Query to improve the camouflaged object detection, and meanwhile the object feature is considered as Query to improve the boundary detection. The camouflaged object detection and the boundary detection are fully interacted by multi-head self-attention. Besides, to obtain the initial object feature and boundary feature, transformer-based backbones are adopted to extract the foreground and background. The foreground is just object, while foreground minus background is considered as boundary. Here, the boundary feature can be obtained from blurry boundary region of the foreground and background. Supervised by the object, the background and the boundary ground truth, the proposed model achieves state-of-the-art performance in public datasets. https://github.com/liuzywen/COD

Motivation & Objective

  • To overcome the limitations of bio-inspired, two-stage detection frameworks in camouflaged object detection (COD) by enabling parallel, interactive learning of object and boundary features.
  • To improve detection accuracy by leveraging the global receptive field of transformers to refine both object localization and boundary delineation simultaneously.
  • To develop a novel boundary generation strategy that extracts sharp boundary features from foreground and background feature differences, enhancing edge detail in ambiguous regions.
  • To achieve superior performance through joint supervision using ground truth for objects, background, and boundaries, enabling more robust feature learning.
  • To surpass existing COD models by replacing sequential refinement with interactive, multi-head self-attention across dual tasks.

Proposed method

  • The model employs a dual-task interactive transformer (DTIT) that uses cross-attention to allow object features to query boundary features and vice versa, enabling bidirectional feature refinement.
  • Foreground and background features are extracted using two separate transformer-based backbones, with boundary features generated via element-wise subtraction: boundary = foreground − background.
  • The boundary feature map is treated as a query to refine object detection, while the object feature map acts as a query to improve boundary detection, creating a feedback loop.
  • Multi-head self-attention mechanisms are applied across both tasks to capture long-range dependencies and enable global feature interaction.
  • The model is trained with joint supervision using ground truth for camouflaged objects, background, and boundaries, using standard segmentation loss functions.
  • The architecture is designed to suppress noise and enhance edge details by reassigning uncertain regions in foreground and background to boundary features.

Experimental results

Research questions

  • RQ1Can interactive, parallel learning between object detection and boundary detection outperform traditional two-stage, bio-inspired detection frameworks in camouflaged object detection?
  • RQ2How does cross-attention between object and boundary features improve feature representation and segmentation accuracy?
  • RQ3Can boundary features be effectively generated from the difference between foreground and background features, especially in ambiguous or low-contrast regions?
  • RQ4Does joint supervision using object, background, and boundary ground truth lead to better generalization and performance on public COD benchmarks?
  • RQ5To what extent does the proposed dual-task interactive transformer reduce noise and improve edge detail compared to existing methods?

Key findings

  • The proposed dual-task interactive transformer (DTIT) achieves state-of-the-art performance on CAMO, COD10K, and NC4K datasets, with an $F^{eta}_{ ext{F}}$ of 0.796, 0.695, and 0.792, respectively.
  • The model improves $S_{ ext{α}}$ to 0.857 on CAMO and 0.863 on NC4K, outperforming the next best method by over 0.01 in F-measure.
  • The DTIT design reduces MAE to 0.050 on CAMO, 0.034 on COD10K, and 0.041 on NC4K, indicating lower error rates in segmentation.
  • Ablation studies confirm that cross-attention interaction in DTIT significantly improves performance over early or late fusion strategies, with the best metrics achieved through full interaction.
  • The proposed boundary generation method, based on foreground minus background features, produces more accurate and detailed boundaries, especially in complex scenes and similar texture regions.
  • Visual comparisons show that the model effectively suppresses noise and enhances fine details, such as spider legs, which are often missed by baseline methods.

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.