Context-Preserving Instance-Level Augmentation and Deformable Convolution Networks for SAR Ship Detection

Taeyong Song, Sunok Kim, SungTai Kim, Jaeseok Lee, Kwanghoon SohnarXiv 2022

Abstract

Shape deformation of targets in SAR image due to random orientation and partial information loss caused by occlusion of the radar signal, is an essential challenge in SAR ship detection. In this paper, we propose a data augmentation method to train a deep network that is robust to partial information loss within the targets. Taking advantage of ground-truth annotations for bounding box and instance segmentation mask, we present a simple and effective pipeline to simulate information loss on targets in instance-level, while preserving contextual information. Furthermore, we adopt deformable convolutional network to adaptively extract shape-invariant deep features from geometrically translated targets. By learning sampling offset to the grid of standard convolution, the network can robustly extract the features from targets with shape variations for SAR ship detection. Experiments on the HRSID dataset including comparisons with other deep networks and augmentation methods, as well as ablation study, demonstrate the effectiveness of our proposed method.

Introduction

Synthetic Aperture Radar (SAR) imaging is a critical tool for maritime surveillance due to its ability to operate in all weather conditions and at any time of day. However, SAR imagery presents unique challenges for automated object detection. Unlike optical images, SAR is an active radar system where signals can be blocked by ship superstructures or nearby objects, leading to radar shadows and occlusions. These phenomena cause ships to appear "deformed" or partially missing in the resulting imagery.

Standard Convolutional Neural Networks (CNNs) often struggle with these variations because they rely on rigid, rectangular sampling grids. Furthermore, common data augmentation techniques like random erasing often introduce unrealistic artifacts that do not match the complex background noise (speckle) of SAR images, hindering the model's ability to generalize to real-world occlusions.

Methodology

The proposed approach addresses these challenges through a two-pronged strategy: context-preserving augmentation and a shape-adaptive detector.

Context-Preserving Instance-Level Augmentation

To simulate realistic information loss, the authors developed an augmentation pipeline that leverages instance segmentation masks. Instead of simple blackouts, the method identifies a "noise patch" from the local background. Using histogram matching, the intensity distribution of this patch is aligned with the ship's local context before being overlaid onto a portion of the target. This process creates synthetic occlusions that maintain the realistic texture and noise characteristics of SAR data, forcing the model to learn features robust to partial target loss without being distracted by unnatural edges.

Shape-Adaptive Deep Detector

To handle the arbitrary orientations and irregular shapes of ships in SAR imagery, the framework incorporates Deformable Convolutional Networks (DCN) into a Faster R-CNN architecture. DCNs replace standard fixed-grid convolutions with modules that learn 2D offsets for each sampling point. This allows the network's receptive field to adaptively "mold" itself to the actual geometry of the ship, effectively capturing shape-invariant features regardless of orientation or partial occlusion.

Overview of the proposed pipeline, integrating context-preserving augmentation and a deformable convolutional detector.

Datasets

The study utilizes the High-Resolution SAR Images Dataset (HRSID), which contains 5,604 high-resolution images (800 × 800 pixels) and 16,969 ship instances. This dataset is particularly valuable because it provides both bounding box and instance segmentation masks, the latter being crucial for the proposed augmentation strategy.

Examples of SAR images from the HRSID dataset showing bounding box and instance segmentation ground truth.

Results and Discussion

The proposed method was evaluated against several baseline architectures, including YOLOv3, SSD, and RetinaNet. The results demonstrate significant improvements in detection performance:

  • Accuracy: The framework achieved an Average Precision (AP) of 0.664, outperforming the baseline Faster R-CNN (0.619).
  • Localization: Stricter localization metrics showed even greater gains, with $AP_{75}$ increasing from 0.711 to 0.766.
  • Ablation Success: Experiments confirmed that while DCN improves performance on its own, the combination with context-preserving augmentation yields the most robust results, particularly in complex coastal environments where false positives are common.

Conclusion

This research highlights the importance of domain-specific data augmentation and architectural flexibility in SAR ship detection. By realistically simulating radar shadows and employing deformable convolutions, the proposed model achieves superior robustness to target deformation and occlusion. Future work may explore extending these techniques to other SAR detection tasks, such as aircraft or land-based infrastructure, and optimizing the computational efficiency of deformable modules for real-time satellite deployment.

Summary updated

BibTeX
@misc{song2022context,
  author = {Taeyong Song and Sunok Kim and SungTai Kim and Jaeseok Lee and Kwanghoon Sohn},
  title = {{Context-Preserving Instance-Level Augmentation and Deformable Convolution Networks for SAR Ship Detection}},
  year = {2022},
  eprint = {2202.06513},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.06513},
}
Figure