Soft Thresholding Attention Network for Adaptive Feature Denoising in SAR Ship Detection

Rui Wang, Sihan Shao, Mengyu An, Jiayi Li, Shifeng Wang, Xiping XuIEEE Access 2021

Synthetic Aperture Radar (SAR) is a cornerstone of maritime surveillance, offering the unique ability to "see" through cloud cover and darkness. However, SAR imagery is plagued by speckle noise—a grainy, high-contrast interference that often obscures small vessels or creates "ghost" targets. Standard object detection models, primarily designed for optical images, struggle with this noise and the unique geometric profiles of ships.

In their paper, Soft Thresholding Attention Network for Adaptive Feature Denoising in SAR Ship Detection, Rui Wang and colleagues introduce STANet, a framework designed to cut through electromagnetic clutter using adaptive feature denoising and optimized anchor box generation.

The Challenge: Noise and Geometry

Most state-of-the-art detectors like Faster R-CNN were developed using optical datasets (e.g., COCO). When applied to SAR, they face two primary hurdles:

  1. Geometric Mismatch: Ships are typically long and thin. Standard square-ish anchor boxes lead to poor localization.
  2. The Noise Floor: Speckle noise and sidelobe effects (streaks from metal hulls) are often mistaken for features, obscuring weak targets.

Methodology: The STANet Framework

The researchers enhanced a standard Faster R-CNN with a Feature Pyramid Network (FPN) and two core innovations: IOU K-means and the Soft Thresholding Attention (STA) block.

Architecture of the proposed STANet framework, showing the integration of FPN, RPN, and the detection network.

1. IOU K-means for Adaptive Anchors

To address the aspect ratio problem, the authors replaced default anchor sizes with clusters derived directly from SAR datasets. By using 1 - IOU (Intersection over Union) as a distance metric in K-means clustering, the model generates anchors that specifically match the "long and thin" profiles of maritime vessels.

The IOU K-means process for generating adaptive anchor boxes tailored to the specific geometries found in SAR datasets.

2. Soft Thresholding Attention (STA) Block

The "secret sauce" of STANet is the STA block embedded in the ResNet backbone. Unlike traditional image-level denoising which can blur details, the STA block operates at the feature level.

By using Global Average Pooling and a small sub-network, the module predicts a unique threshold ($\lambda$) for every feature channel. It then applies a soft thresholding function that "shrinks" low-level noise toward zero while preserving the high-frequency structural features of the ship. This makes the model adaptive to different sea states and sensor types.

Experimental Results

The team evaluated STANet on the SSDD (SAR Ship Detection Dataset) and the larger HRSID (High-Resolution SAR Images Dataset).

  • Precision Gains: On SSDD, the model achieved a mean Average Precision (mAP) of 63.4%, a notable improvement over the baseline.
  • Localization Accuracy: The most significant jump was seen in $AP_{75}$ (a strict metric requiring 75% overlap). On HRSID, $AP_{75}$ rose from 79.3% to 81.1%, indicating much more precise bounding box alignment.
  • Visual Focus: Heatmap analysis confirmed that while standard models are often distracted by background noise, STANet focuses its attention almost exclusively on the ship's hull.

Conclusion

STANet demonstrates that feature-level denoising is a powerful alternative to traditional pre-processing. By making the network adaptive to noise levels and ship geometries, the authors have provided a robust framework for high-precision maritime monitoring. Future work may involve integrating these soft-thresholding modules into real-time "one-stage" detectors like YOLO.

Summary updated

BibTeX
@article{wang2021soft,
  author = {Rui Wang and Sihan Shao and Mengyu An and Jiayi Li and Shifeng Wang and Xiping Xu},
  title = {{Soft Thresholding Attention Network for Adaptive Feature Denoising in SAR Ship Detection}},
  journal = {IEEE Access},
  year = {2021},
  doi = {10.1109/access.2021.3059033},
}
Figure