A Benchmark for Deep Learning Based Object Detection in Maritime Environments

Sebastian Moosbauer, Daniel König, Jens Jäkel, Michael TeutschWorkshops @ CVPR 2019

Introduction

While autonomous driving on land has benefited from massive, standardized benchmarks like KITTI or Waymo, the maritime domain has historically lacked a unified framework for computer vision research. Maritime environments present unique challenges, including extreme lighting variations (haze, glare, twilight), dynamic backgrounds (waves, foam), and a high prevalence of very small, distant objects. This paper addresses these issues by establishing a rigorous benchmarking framework using the Singapore Maritime Dataset (SMD), providing a formal train/test split and baseline evaluations for deep learning models.

Automated Mask Generation

A significant hurdle in applying state-of-the-art models like Mask R-CNN to the SMD is the lack of pixel-level annotations. To overcome this, the authors introduced a Local Background Subtraction algorithm. Unlike generic tools like GrabCut, which often fail at low-contrast boundaries between ships and water, this algorithm calculates a multivariate Gaussian normal distribution for the sky and sea areas immediately adjacent to a bounding box.

The proposed Local Background Subtraction algorithm for automated mask generation, showing the defined upper and lower background boxes.

By using Mahalanobis distance to classify pixels within the box as foreground or background, the method generates high-quality masks suitable for training. The researchers also explored weakly supervised recursive training, where the model's own predictions iteratively refine these segmentation masks over several generations.

Dataset Analysis and Challenges

The core of this benchmark is the Singapore Maritime Dataset (SMD), comprising 81 videos and over 240,000 annotated bounding boxes across both Visual-Optical (VIS) and Near Infrared (NIR) spectra. A key contribution of this work is the proposal of a specific split into training, validation, and test sets, carefully grouped to prevent "data leakage" by ensuring the same physical objects do not appear in both training and testing subsets.

Distribution of object classes in the SMD dataset, highlighting the significant imbalance toward the "Vessel/ship" category.

Analysis of the dataset reveals two primary challenges:

  1. Class Imbalance: The data is heavily skewed toward the "Vessel/ship" class, making multi-class training impractical. Consequently, the benchmark treats the task as a binary "object vs. background" problem.
  2. Small Objects: Over 50% of the objects are smaller than 4,000 pixels, requiring careful consideration of anchor ratios in Region Proposal Networks (RPN).

Performance and Insights

The authors evaluated Faster R-CNN and Mask R-CNN, finding that models pre-trained on generic datasets like COCO and ImageNet performed remarkably well with minimal fine-tuning. The fine-tuned Mask R-CNN achieved a maximum f-score of 0.875 for VIS and 0.877 for NIR images.

Interestingly, the best results were obtained when the segmentation branch of Mask R-CNN was active during training but disabled during inference. This suggests that the multi-task learning objective helps the model learn more robust features, even if the final detection relies solely on bounding boxes. While the models proved resilient to many conditions, haze remains the primary driver of false negatives.

Conclusion

This work professionalizes maritime object detection by providing the first standardized benchmark for the SMD. By releasing evaluation scripts, generated masks, and configuration files, the authors have established a "plug-and-play" baseline for future research. Future efforts will focus on addressing class imbalance through more diverse data collection and further refining automated labeling techniques to bridge the gap between detection and full instance segmentation.

Summary updated

BibTeX
@inproceedings{moosbauer2019benchmark,
  author = {Sebastian Moosbauer and Daniel König and Jens Jäkel and Michael Teutsch},
  title = {{A Benchmark for Deep Learning Based Object Detection in Maritime Environments}},
  booktitle = {Workshops @ CVPR},
  year = {2019},
  doi = {10.1109/cvprw.2019.00121},
}
Figure