CamoFormer: Masked Separable Attention for Camouflaged Object Detection

Bowen Yin, Xuying Zhang, Qibin Hou, Bo-Yuan Sun, Deng-Ping Fan +1 more
12/10/2022
cs.CV
transformer-attention

Official code: HVision-NKU/CamoFormer (128 stars, Python, MIT, last commit 2025-02-20).

Abstract

How to identify and segment camouflaged objects from the background is challenging. Inspired by the multi-head self-attention in Transformers, we present a simple masked separable attention (MSA) for camouflaged object detection.

Show full abstract

We first separate the multi-head self-attention into three parts, which are responsible for distinguishing the camouflaged objects from the background using different mask strategies. Furthermore, we propose to capture high-resolution semantic representations progressively based on a simple top-down decoder with the proposed MSA to attain precise segmentation results. These structures plus a backbone encoder form a new model, dubbed CamoFormer. Extensive experiments show that CamoFormer surpasses all existing state-of-the-art methods on three widely-used camouflaged object detection benchmarks. There are on average around 5% relative improvements over previous methods in terms of S-measure and weighted F-measure.

View on arXivView PDF

Code Implementations(1)

MIT
12819Python, ShellDec 5, 20221 years agoMIT

Similar Papers

Cite this paper

@article{yin2022camoformer,
  title  = {CamoFormer: Masked Separable Attention for Camouflaged Object Detection},
  author = {Bowen Yin and Xuying Zhang and Qibin Hou and Bo-Yuan Sun and Deng-Ping Fan and Luc Van Gool},
  year   = {2022},
  eprint = {2212.06570},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.06570}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.06570.svg)](https://codeofpaper.com/paper/2212.06570)

Discussion