Abstract
Confidence-aware learning is proven as an effective solution to prevent networks becoming overconfident. We present a confidence-aware camouflaged object detection framework using dynamic supervision to produce both accurate camouflage map and meaningful "confidence" representing model awareness about the current prediction. A camouflaged object detection network is designed to produce our camouflage prediction. Then, we concatenate it with the input image and feed it to the confidence estimation network to produce an one channel confidence map. We generate dynamic supervision for the confidence estimation network, representing the agreement of camouflage prediction with the ground truth camouflage map. With the produced confidence map, we introduce confidence-aware learning with the confidence map as guidance to pay more attention to the hard/low-confidence pixels in the loss function. Extensive results on four camouflaged object detection testing datasets illustrate the superior performance of the proposed model in explaining the camouflage prediction.
Introduction
Camouflaged Object Detection (COD) is a challenging task in image segmentation. Unlike generic object detection, camouflaged objects share nearly identical textures, colors, and structures with their surroundings, making them difficult to distinguish. Existing deep learning approaches often suffer from overconfidence, producing high-certainty predictions even at ambiguous boundaries. Furthermore, standard training treats all pixels equally, ignoring the varying difficulty levels across different regions of a camouflaged object.
Proposed Method: CANet
The authors introduce CANet, a framework designed to make models "self-aware" of their prediction errors. CANet consists of two primary modules:
- COD Network: Utilizes a ResNet-50 backbone and specialized Fusion Modules to generate an initial camouflage map.
- Confidence Estimation Network (CEM): A UNet-based module that processes the original image alongside the COD network's prediction to output a pixel-wise confidence map.
Dynamic Supervision and Confidence-Aware Loss
A key innovation is the use of Dynamic Supervision. During training, the ground truth for the confidence network is defined by the absolute difference between the current prediction and the actual ground truth ($y_c = |y - \hat{y}|$). This map is then used in a Confidence-Aware Structure Loss, which assigns higher weights to low-confidence pixels. This forces the model to focus its learning on challenging regions, such as thin limbs or complex boundaries.
Experimental Results
The model was evaluated on four standard benchmarks: CAMO, CHAMELEON, COD10K, and NC4K.
Quantitative and Qualitative Performance
CANet consistently outperformed state-of-the-art models like SINet and LSR. Notably, it achieved a significant improvement in Mean Absolute Error (MAE), ranging from 14.7% to 18.5% across datasets. Visual analysis demonstrates that CANet excels at recovering fine details that other models often miss or blur. The confidence maps produced by the CEM clearly delineate object structures, providing a reliable "uncertainty score" even without ground truth at inference time.
Conclusion
CANet introduces a robust mechanism for self-aware camouflaged object detection. By leveraging dynamic supervision and confidence-aware loss, the framework effectively mitigates overconfidence and focuses on hard-to-segment regions. The ability of the confidence network to evaluate pixel-wise accuracy without ground truth at inference time makes it a valuable tool for real-world applications where reliability is paramount.
Summary updated