CDNet is all you need: Cascade DCN based underwater object detection RCNN

Di ChangarXiv 2021

Abstract

Underwater object detection faces unique challenges including severe color distortion, low contrast, and significant label noise. CDNet addresses these by integrating Cascade-RCNN with Deformable Convolutional Networks (DCN) and a ResNext101 backbone. Enhanced with global context blocks and a novel "BBox Jitter" training technique, CDNet achieved a top-20 finish in the 2021 Heywhale National Underwater Robot Professional Contest.

Introduction

Detecting marine life in real-world underwater environments is significantly more complex than standard terrestrial object detection. Light absorption and scattering lead to turbidity and color casts, while datasets often suffer from extreme class imbalance and imprecise human annotations (label noise). Standard detectors like Faster R-CNN often struggle with these degradations. CDNet was developed to provide a robust baseline specifically optimized for the deep-sea domain.

Methodology

The CDNet framework is built upon several state-of-the-art architectural components designed for refinement and flexibility.

Core Architecture: Cascade R-CNN

At its heart, CDNet utilizes Cascade R-CNN. Unlike single-stage or standard two-stage detectors, Cascade R-CNN employs a sequence of detectors trained with progressively increasing IoU (Intersection over Union) thresholds. This multi-stage approach allows the model to refine bounding boxes iteratively, leading to higher precision.

Comparison of R-CNN architectures, highlighting the multi-stage refinement of Cascade R-CNN (b).

Deformable Convolutional Networks (DCN)

To better capture the irregular and non-rigid shapes of marine organisms such as starfish and sea cucumbers, CDNet incorporates Deformable Convolutions. Standard convolutions use a fixed grid, which can be restrictive. DCN allows the network to learn offsets for its sampling locations, effectively "deforming" the receptive field to match the object's geometry.

Mechanism of Deformable Convolution (DCN) which adapts sampling locations to object shapes.

Enhancements and Plugins

  • Backbone Upgrade: The standard ResNet50 was replaced with ResNext101, utilizing grouped convolutions to increase model capacity without a massive increase in computational cost.
  • Attention Mechanisms: A Global Context Block (GCB) replaces traditional average pooling to capture long-range dependencies. Additionally, a simplified single-head attention mechanism provides a performance boost within limited GPU memory constraints.
  • BBox Jitter: To combat label noise, the authors introduced "BBox Jitter," a training technique that slightly perturbs ground truth boxes, forcing the model to become less sensitive to imprecise annotations.

Key Insights

A notable finding was that advanced loss functions (GIoU, CIoU, DIoU) actually underperformed compared to the simpler SmoothL1 loss in underwater contexts. Additionally, while many data augmentation techniques were tested (Mixup, Cutout), only RandomRotate 90 provided consistent gains, suggesting that domain-specific robustness is sensitive to over-augmentation.

Results

CDNet demonstrated a significant performance increase over the baseline:

  • Baseline (Cascade + FPN + DCN + X101): 0.523 mAP@50:95.
  • CDNet (Final): 0.567 mAP@50:95.

In the 2021 Heywhale National Underwater Robot Professional Contest, CDNet ranked 16th in accuracy out of 508 teams, with an inference speed of approximately 2.2 seconds per task on an Nvidia RTX 2080Ti.

Conclusion

CDNet proves that combining multi-stage refinement with flexible feature extraction and noise-robust training is highly effective for underwater detection. While it handles general underwater detection well, future work will focus on improving detection for tiny and heavily overlapping objects by refining the network's "Neck" and sampling strategies.

Summary updated

BibTeX
@misc{chang2021cdnet,
  author = {Di Chang},
  title = {{CDNet is all you need: Cascade DCN based underwater object detection RCNN}},
  year = {2021},
  eprint = {2111.12982},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.12982},
}
Figure