Quality-Driven and Diversity-Aware Sample Expansion for Robust Marine Obstacle Segmentation

Miaohua Zhang, Mohammad Ali Armin, Xuesong Li, Sisi Liang, Lars Petersson, Changming Sun, David Ahmedt-Aristizabal, Zeeshan Hayder

TL;DR

Researchers from CSIRO have developed a "plug-and-play" inference-time pipeline that uses diffusion models to generate diverse, high-quality training data for marine robots. By combining a class-aware "Style Bank" for better prompting and a feedback-controlled sampling strategy, they significantly improve the robustness of obstacle detection in challenging maritime environments without needing to retrain the underlying generative model.

What Problem Does This Paper Address?

Autonomous Surface Vessels (USVs) rely on computer vision to navigate safely, but the ocean is a difficult place for AI. Marine scenes are often visually repetitive (sky, water, horizon) yet prone to sudden, extreme changes like sun glitter, fog, and heavy waves.

The core challenge is data scarcity and lack of diversity. While datasets like MaSTr1325 exist, they are small and lack the "long-tail" of rare conditions (e.g., a specific type of obstacle in a storm). Manually labeling these images at the pixel level is incredibly slow—sometimes taking over 1.5 hours per image. While generative AI (like Stable Diffusion) can create new images, standard "mask-to-image" techniques often suffer from "mode collapse," producing very similar-looking images that don't help a model learn to handle real-world variety.

Methods

The authors propose a two-stage framework that works entirely at inference time, meaning you can use an off-the-shelf model like ControlNet++ without modifying its weights.

  1. Class-Aware Style Bank: Instead of using generic prompts like "water and sky," the system identifies the classes in a segmentation mask and pulls specific descriptors from a "Style Bank." It might turn a simple mask into a prompt like "choppy harbor waves under a stormy coastal sky." This injects "high-entropy" semantic information that forces the generator to create more varied textures.
  2. Adaptive Annealing Sampling (AAS): This is the technical "secret sauce." Standard sampling often converges too quickly on a single look. AAS introduces a Conditional Output Discrepancy (COD) feedback controller.
  3. Early in the image generation process, it injects anti-correlated noise to encourage the model to "explore" different visual styles.
  4. The controller monitors how much the generated image deviates from the intended layout.
  5. As the process continues, it "anneals" (reduces) the perturbation to ensure the final image perfectly aligns with the original segmentation mask.

Datasets

  • MaSTr1325: Used as the primary training set, containing 1,325 pixel-labeled images from a coastal USV.
  • MODS (MODD2/SMD): Used for evaluation. This is a challenging benchmark that includes multi-modal sensor data and adverse weather conditions.
  • Backbones: The authors tested their augmented data on three popular segmentation architectures: DeepLabV3+, Mask2Former, and SAM-Adapter.

Key Insights and Ideas

  • The "Low-Entropy" Trap: The authors realized that simple masks and simple prompts lead to boring, uniform synthetic data. By increasing the "entropy" (complexity) of the input text, they unlock the latent diversity already present in large diffusion models.
  • Closed-Loop Control in Generative AI: Using a proportional controller (a classic robotics/engineering concept) to regulate noise in a diffusion model is a clever way to balance the trade-off between diversity (making images look different) and fidelity (making sure the obstacles stay where the mask says they are).
  • No Retraining Required: Because this is an inference-time strategy, it is highly scalable and can be applied to various domains (medical, agricultural, etc.) just by changing the Style Bank.

Key Results

The "Our Gen" strategy consistently outperformed both the original datasets and standard "Default" generative augmentation:

  • SAM-Adapter: Achieved a peak F1 score of 95.6% on the MODS benchmark, outperforming the baseline and matching or exceeding traditional geometric augmentations.
  • DeepLabV3+: Saw a significant reduction in false positives, with the water-edge error (RMSE) dropping from 22 pixels to 17 pixels in certain scenarios.
  • Qualitative Improvement: Visual results show that the proposed method handles "rare" textures (like heavy foam or specific lighting) much better than standard methods, which often produce "flat" or unrealistic water surfaces.

Limitations and Future Work

  • Style Bank Curation: Currently, the Style Bank is constructed manually or sampled uniformly. The authors suggest that future work could involve "learned" or user-guided sampling to target specific edge cases even more effectively.
  • Computational Overhead: While it avoids retraining, generating thousands of high-resolution images via diffusion models is still computationally expensive compared to simple flips or rotations.
  • Domain Specificity: The current descriptors are tuned for marine environments; adapting this to a new field (like forest fire detection) would require building a new domain-specific Style Bank.

Summary updated

BibTeX
@inproceedings{zhang2026quality,
  author = {Miaohua Zhang and Mohammad Ali Armin and Xuesong Li and Sisi Liang and Lars Petersson and Changming Sun and David Ahmedt-Aristizabal and Zeeshan Hayder},
  title = {{Quality-Driven and Diversity-Aware Sample Expansion for Robust Marine Obstacle Segmentation}},
  booktitle = {WACVW},
  year = {2026},
  doi = {10.1109/wacvw68408.2026.00124},
}
Figure