Abstract
Camouflaged object detection (COD) aims to identify objects that conceal themselves within natural scenes. Accurate COD faces significant challenges due to low boundary contrast and large variations in object appearance, such as size and shape. To address these challenges, we propose a novel Context-aware Cross-level Fusion Network (C2F-Net), which fuses context-aware cross-level features to accurately identify camouflaged objects. Specifically, we compute informative attention coefficients from multi-level features using our Attention-induced Cross-level Fusion Module (ACFM), which integrates features under the guidance of these coefficients. We then propose a Dual-branch Global Context Module (DGCM) to refine the fused features for informative representations by exploiting rich global context information. Multiple ACFMs and DGCMs are integrated in a cascaded manner to generate a coarse prediction from high-level features. This coarse prediction acts as an attention map to refine low-level features before passing them to our Camouflage Inference Module (CIM) to generate the final prediction. Extensive experiments on three benchmark datasets demonstrate that C2F-Net outperforms state-of-the-art (SOTA) models remarkably. Furthermore, evaluations on polyp segmentation datasets highlight the promising potential of C2F-Net in downstream medical applications.
Introduction
Standard object detection frameworks, such as YOLO or Faster R-CNN, typically rely on clear boundaries and distinct visual features to separate objects from their backgrounds. However, Camouflaged Object Detection (COD) represents a significantly more difficult subset of computer vision. The targets—ranging from insects mimicking foliage to predators blending into rocky terrain—have evolved specifically to eliminate the visual cues that traditional algorithms depend on.
The authors identify three primary hurdles in the COD domain:
- Low Boundary Contrast: The edges of the target are often nearly indistinguishable from the background.
- Appearance Variation: Camouflaged objects exhibit extreme diversity in size, shape, and orientation.
- Contextual Complexity: Objects are frequently occluded or appear in clusters, complicating the process of individual instance identification.
C2F-Net addresses these issues by better integrating high-level semantic information (the "what") with low-level structural details (the "where"), mimicking biological "search-then-recognize" strategies.
The C2F-Net Architecture
The C2F-Net architecture utilizes a Res2Net-50 backbone to extract multi-scale features. The core innovation lies in three specialized modules designed to handle the nuances of camouflage:
Attention-induced Cross-level Fusion Module (ACFM)
Rather than simple feature concatenation, the ACFM employs Multi-Scale Channel Attention (MSCA). This allows the network to adaptively weight features based on the object's scale. By doing so, the model can simultaneously capture large-scale global features and minute local details, which is critical when the object's texture is designed to mimic the background.
Dual-branch Global Context Module (DGCM)
In camouflage detection, local pixels are intentionally misleading. The DGCM refines fused features by analyzing the broader scene context. Using two parallel branches, it captures context at different scales, ensuring the model maintains a global perspective and is not deceived by local background-like textures.
Camouflage Inference Module (CIM)
Following the biological strategy of predators, the model first generates a coarse prediction map from high-level features. The CIM then uses this coarse map as a spatial guide to refine low-level features. This iterative refinement process allows the network to transition from a rough area of interest to a high-resolution, precise segmentation of the object's boundaries.
Experimental Evaluation
The researchers evaluated C2F-Net on three major COD benchmarks:
- CAMO: 1,250 images across eight categories.
- CHAMELEON: 76 highly challenging images.
- COD10K: The largest COD dataset, featuring 10,000 images across 69 sub-classes (aquatic, terrestrial, flying, etc.).
To test the model's versatility, the authors also applied C2F-Net to four polyp segmentation datasets (CVC-300, CVC-ClinicDB, CVC-ColonDB, and ETIS). Polyps in colonoscopy images often share the "blending" characteristics of camouflaged animals, making them an ideal test for cross-domain utility.
Results and Discussion
C2F-Net achieved top-tier performance across all standard metrics, including S-measure, E-measure, F-measure, and Mean Absolute Error (MAE):
- Superiority: The model outperformed 19 state-of-the-art models. Notably, on the CAMO dataset, it improved the weighted F-measure ($F^w_\beta$) by 4.9% over the previous leading model (LSR).
- Robustness: C2F-Net showed significant improvements in "hard" scenarios, such as detecting multiple objects or objects with indefinable boundaries.
- Medical Transfer: In polyp segmentation, C2F-Net outperformed specialized medical models like PraNet, improving the E-measure on the CVC-300 dataset by 3.30%.
- Efficiency: Despite its complexity, the model maintains a manageable size of 18.06M parameters and operates at 27.41 FPS on a Tesla P100 GPU, making it viable for near real-time applications.
Conclusion and Future Work
C2F-Net demonstrates that integrating context-aware cross-level features is a powerful approach for breaking camouflage. By leveraging global context and a coarse-to-fine inference strategy, the model achieves state-of-the-art results in both natural and medical imaging.
While highly accurate, the authors note that inference speed remains a potential area for optimization compared to lighter, less complex models. Future research will focus on optimizing the CIM for higher frame rates, extending the framework to video-based COD to utilize temporal motion cues, and reducing the memory footprint for deployment on edge devices and mobile medical hardware.
Summary updated