Temporal Context for Robust Maritime Obstacle Detection

Lojze Zust, Matej Kristan

Introduction

The safe operation of Unmanned Surface Vehicles (USVs) hinges on their ability to accurately perceive their environment. While semantic segmentation—the process of labeling every pixel in a camera feed—has become the standard for obstacle detection, the maritime domain presents unique challenges. Water surfaces act as dynamic mirrors, creating reflections and sun glitter that often mimic the appearance of real obstacles. In single-frame analysis, a reflection of a mast or a buoy can be indistinguishable from the object itself, leading to "ghost" obstacles that trigger unnecessary and potentially dangerous evasive maneuvers.

The Limitation of Single-Frame Perception

Current state-of-the-art models often struggle with the visual ambiguity of the maritime environment. Because a single image lacks temporal depth, the neural network cannot differentiate between the stable visual signature of a physical object and the transient, flickering nature of a reflection. This limitation results in a high rate of false positives, particularly in the "danger zone"—the area within 15 meters of the vessel where immediate reaction is required for collision avoidance.

WaSR-T: Incorporating Temporal Context

To address these challenges, this research introduces WaSR-T (Water Segmentation and Refinement - Temporal). This model extends the existing WaSR architecture by incorporating a "memory" of recent frames, allowing the system to analyze how visual features evolve over time.

The Temporal Context Module (TCM)

The core of WaSR-T is the Temporal Context Module. Instead of processing a single target frame in isolation, the network considers a sequence of preceding frames. The authors found that 3D convolutions are particularly effective for this task. Unlike complex attention mechanisms, 3D convolutions are adept at capturing "local temporal textures."

The fundamental insight is that while a physical object remains relatively stable across frames, reflections undergo "warped deformations" caused by wave motion and water turbulence. By analyzing these temporal patterns, WaSR-T can effectively "see through" reflections that would otherwise deceive a single-frame model.

Real-Time Efficiency

Maintaining high inference speeds is critical for autonomous navigation. WaSR-T achieves this through an efficient sliding window approach. Rather than re-processing every frame in a sequence, the model stores embeddings of previous frames in a buffer. It only calculates features for the newest incoming frame, significantly reducing the computational overhead and enabling a processing rate of approximately 10 FPS—matching the standard acquisition rate of many maritime camera systems.

Experimental Setup and Datasets

The model was trained and evaluated using a combination of established and newly curated datasets:

  • MaSTr1325 & MaSTr1478: The researchers expanded the standard MaSTr1325 dataset to create MaSTr1478, adding 153 sequences specifically chosen for challenging conditions such as heavy glitter, complex reflections, and low light.
  • MODS Benchmark: Final performance was validated on the MODS benchmark, which consists of approximately 100 annotated sequences captured from real-world USV operations.

Results: Slashing False Positives

WaSR-T demonstrates a significant leap in detection robustness. By leveraging temporal context, the model achieved:

  • A 41% overall reduction in false positives compared to single-frame baselines.
  • A 53% reduction in false positives within the 15m danger zone, where accuracy is most critical for safety.
  • A 6.0-point improvement in F1 score within the danger zone, indicating a superior balance between precision and recall.

Interestingly, the inclusion of Inertial Measurement Unit (IMU) data—which tracks the boat's physical motion—did not provide a significant boost over the visual temporal signal alone. This suggests that the "temporal texture" of the water surface is a highly potent cue for distinguishing reflections from reality.

Conclusion and Future Work

WaSR-T represents a major step toward reliable autonomous maritime navigation. By shifting from static image analysis to temporal sequence processing, the model effectively mitigates the "hall of mirrors" effect caused by water reflections.

However, some challenges remain. In perfectly still, "glassy" water, reflections do not undergo the characteristic warping that the 3D convolutions look for, which can still lead to errors. Additionally, very thin objects (such as distant wires or poles) remain difficult to segment accurately. Future research will focus on addressing these edge cases and further refining the network's sensitivity to small-scale obstacles.

Summary updated

BibTeX
@inproceedings{zust2022temporal,
  author = {Lojze Zust and Matej Kristan},
  title = {{Temporal Context for Robust Maritime Obstacle Detection}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=Rg2fHQJH02},
}
Figure