Abstract
Camouflaged Object Detection (COD) is a challenging task due to the high cost of pixel-level annotations. This paper proposes a Weakly Semi-Supervised Camouflaged Object Detection (WSSCOD) framework that utilizes box prompts and a novel Noise Correction Loss ($L_{NC}$) to achieve state-of-the-art performance with only 20% of full annotations. By mitigating the "memorization" of noisy pseudo-labels, the framework significantly improves label efficiency and detection accuracy, outperforming existing weakly supervised methods even with minimal data.
Introduction
Camouflaged Object Detection (COD) is often considered the "hard mode" of computer vision. Identifying objects that blend seamlessly into their surroundings requires high-precision pixel-level ground truth, which is incredibly labor-intensive—taking roughly 60 minutes per image to annotate manually.
While weak supervision (using points or scribbles) has been explored, these sparse annotations often fail in COD because they lack the context needed to distinguish subtle boundaries. Conversely, training on a very small amount of full labels leads to "noisy" pseudo-labels for the rest of the dataset. This research addresses the core challenge: training a high-precision COD model without the prohibitive cost of full manual labeling.
Methods: The WSSCOD Framework
The authors propose a two-stage pipeline designed to maximize label efficiency while handling the inherent noise in generated labels.
1. Two-Stage Pipeline
- Auxiliary Network (ANet): Trained on a tiny subset (1% to 20%) of images with full pixel-level labels and box prompts. The box prompts act as a "spatial filter," masking complex backgrounds and simplifying the search space for the network.
- Primary Network (PNet): The final model is trained on the entire dataset using pseudo-labels generated by the ANet. Crucially, PNet only requires the raw image as input at test time, making it practical for real-world deployment.
2. Noise Correction Loss ($L_{NC}$)
Pseudo-labels are inherently noisy, containing various false positives and negatives. Standard loss functions like Cross-Entropy are sensitive to these errors. The proposed $L_{NC}$ introduces a hyper-parameter $q$ that adapts during training:
- Early Learning Phase ($q=2$): The loss functions similarly to IoU, helping the model converge quickly on correct pixels.
- Memorization Phase ($q=1$): The loss transforms into a Mean Absolute Error (MAE) form. This prevents the model from being misled by high-error gradients from noisy pixels, which typically dominate the later stages of training.
Key Results and Insights
The framework demonstrates remarkable efficiency and accuracy across standard COD benchmarks like CAMO, COD10K, CHAMELEON, and NC4K.
- Label Efficiency: Using only 20% of pixel-level labels, the model (PNet$_{F20}$) achieved performance comparable to or better than 16 state-of-the-art fully supervised models.
- Superiority over Weak Supervision: With just 1% of labels (approx. 40 images), the model outperformed existing weakly supervised methods that utilize 100% of their respective scribble or point annotations.
- Quantitative Gains: On the COD10K dataset, the $L_{NC}$ loss improved the S-measure of the baseline SCOD model by 6.8% and reduced the Mean Absolute Error (M) by 33.3%.
- Qualitative Edge: Visual results confirm that the model is significantly better at preserving fine edges and semantic accuracy compared to other methods, including "Segment Anything" (SAM) variants in camouflaged contexts.
Conclusion
By leveraging box prompts as a "Goldilocks" middle ground between sparse points and expensive masks, and introducing a noise-robust loss function, this work provides a scalable path for high-precision camouflaged object detection. Future work aims to streamline the two-stage process into a more efficient end-to-end architecture and explore more sophisticated feature fusion strategies.
Summary updated