Research
Beyond Pixel Similarity: Task-Aware Evaluation of GAN-Based Synthetic Sonar Data for Robotic Perception
Imaging sonar is important for underwater robots because acoustic sensing still works when cameras are degraded by low light, turbidity, and suspended particles, but collecting and annotating real…

- arXiv
- 2609.18100 · accepted · IROS workshop
- Published
- 2026-09-16
- Authors
- Hannan Ejaz Keen, Muhammad Moazam Fraz, Karsten Berns
In plain words
Imaging sonar is important for underwater robots because acoustic sensing still works when cameras are degraded by low light, turbidity, and suspended particles, but collecting and annotating real sonar datasets is expensive and requires repeated surveys.
AI summary
Overview
- Research area: Underwater robotics perception — specifically, evaluating GAN-generated synthetic imaging-sonar data for downstream object detection.
- Technical level: Intermediate. Readers should be comfortable with conditional GANs (Pix2Pix), common image-quality metrics (SSIM, PSNR, MSE), and standard object detectors (YOLOX, Faster R-CNN).
- Scope (one sentence): The paper tests whether pixel-level image-fidelity scores predict how useful GAN-generated sonar images are for detectors trained only on real sonar, across four Pix2Pix discriminator configurations and two sonar datasets.
What This Paper Is About
Imaging sonar is important for underwater robots because acoustic sensing still works when cameras are degraded by low light, turbidity, and suspended particles, but collecting and annotating real sonar datasets is expensive and requires repeated surveys. Synthetic sonar images could reduce that cost, yet it is unclear whether the metrics normally used to judge synthetic images — SSIM, PSNR, and MSE — actually reflect whether those images are useful for a perception model. The paper asks directly: does similarity to real sonar data indicate how useful synthetic sonar data is for robotic perception?
Key Contributions
- A controlled discriminator-scale comparison. Within a fixed Pix2Pix framework (same U-Net generator, same training data, same preprocessing, same optimization protocol), the authors vary only the discriminator receptive field across four configurations: PixelGAN, PatchGAN-16 (16×16 regions), PatchGAN-70 (70×70 regions), and ImageGAN (full-image, 286×286 receptive field).
- A dual evaluation protocol on two sonar datasets. Generated images are scored both with conventional fidelity metrics (SSIM, PSNR, MSE) and with three detectors — YOLOX-S, YOLOX-L, and Faster R-CNN — trained exclusively on real sonar imagery and then tested on the synthetic images using identical test samples and annotations for every configuration.
- Evidence that the two evaluation criteria disagree. The configuration with the best fidelity scores is not the configuration with the best detection scores on either dataset, so the ranking of generation methods depends on which criterion is used.
- A framing of "task-relevant realism." The authors define this as the extent to which a generated sonar image preserves features useful for downstream detection, explicitly distinguishing it from physical or sensor-level realism.
Main Findings
- Pixel-fidelity winners differ by dataset. On Marine Debris, PixelGAN gives the best SSIM (0.586), PSNR (24.265), and MSE (49.532). On UATD, ImageGAN gives the best SSIM (0.760), PSNR (32.034), and MSE (20.800). Conventional metrics alone would therefore recommend different discriminators depending on the dataset.
- Detection winners differ from fidelity winners. On Marine Debris, PixelGAN has the strongest fidelity numbers, but PatchGAN-16 reaches the highest YOLOX-S AP (0.81) and the highest YOLOX-L AP (0.76). On UATD, ImageGAN has the strongest fidelity, but PatchGAN-70 reaches the highest YOLOX-S AP (0.72) and YOLOX-L AP (0.74).
- The sharpest single contrast is on UATD. ImageGAN: SSIM 0.760, PSNR 32.034 dB, MSE 20.800. PatchGAN-70: YOLOX-S AP 0.72 and YOLOX-L AP 0.74 — better detection despite lower pixel similarity.
- PatchGAN configurations are frequently stronger downstream. Across both datasets, PatchGAN variants often produce better detection than their pixel-level scores would suggest, and the authors note this holds despite lower SSIM, PSNR, or MSE.
- High similarity scores can accompany blur. Qualitatively, PixelGAN on Marine Debris and ImageGAN on UATD produce smoother, less detailed images than PatchGAN configurations, even where their numeric scores are best.
- No universally best discriminator. The preferred configuration varies with dataset and detector. For Faster R-CNN the picture is mixed: on Marine Debris PatchGAN-70 is highest (0.67 AP / 0.42 recall), while on UATD ImageGAN is highest (0.64 AP / 0.32 recall).
- The mechanism is not isolated. The authors state that why locally operating discriminators help the detector is a possible explanation, not something the experiments directly establish.
Methodology in Plain English
The team took two sonar datasets with different acquisition conditions: Marine Debris, recorded in a controlled pool, and UATD (Underwater Acoustic Target Detection), recorded in a more variable river environment. To give the generator a consistent input, they converted both datasets into object masks — Marine Debris already had segmentation masks, while UATD had bounding boxes that were filled in to become binary masks. Because the source data came from video, redundant near-duplicate frames were filtered out, and mirroring plus random jitter were kept as augmentations after other tested transformations introduced artifacts.
They then trained a Pix2Pix conditional GAN that turns a mask into a sonar-like image, using a U-Net generator and combining the adversarial loss with an L1 reconstruction loss. Everything was held fixed except the discriminator's spatial scale, so any differences in the output could be attributed to receptive field. The four resulting image sets were scored against reference real images with SSIM, PSNR, and MSE.
Separately, they trained three detectors — YOLOX-S, YOLOX-L, and Faster R-CNN — on real sonar images only, then ran those detectors on each set of generated images. Results are reported as AP averaged over IoU thresholds 0.50 to 0.95, plus recall, with the same test samples and annotations used for all four configurations. Counts of images per dataset, training epochs, and other hyperparameters are not reported in the paper content provided.
Why This Matters
Impact on research. The paper argues that SSIM, PSNR, and MSE capture only part of what makes synthetic sonar useful, and that rankings of generative models can flip depending on the evaluation criterion. It is a caution against selecting a generator by pixel similarity alone, and a concrete demonstration that a detector-transfer test — train on real, test on synthetic — produces a different and arguably more relevant signal.
Real-world applications:
- Underwater inspection of ship hulls, pipelines, and offshore infrastructure, where annotated sonar data is scarce and expensive to gather.
- Marine debris detection and removal, matching the Marine Debris pool dataset used here.
- Autonomous underwater vehicle navigation and obstacle avoidance in turbid or unlit water where cameras fail.
- Search-and-rescue and environmental monitoring in rivers and harbors, matching the UATD acquisition setting.
Industry relevance. Anyone building a sonar perception pipeline faces a data bottleneck; this work gives a practical sanity check on how to pick a synthetic-data generator — validate against the downstream task rather than against a leaderboard of image-similarity numbers. It also sets expectations correctly: the authors are explicit that the study shows task-relevant realism, not physical sensor realism, and does not quantify a simulator-to-real domain-gap reduction.
Future Directions
- Extend to more sensors and datasets. The authors call for additional sonar sensors and datasets beyond the two used here.
- Compare raw simulator output, generated observations, and real sonar under one protocol. The current study does not directly contrast simulator outputs with real sonar under the same transfer test, so broader domain-gap effects remain unquantified.
- Isolate why local discriminators help. The link between patch-level discrimination and detector-friendly image characteristics is offered as a plausible explanation but is not directly tested; a controlled follow-up could pin down which image properties drive the gain.
- Build task-aware evaluation into synthetic-data pipelines. The results motivate treating detector performance as a first-class metric for synthetic sensor data, which in turn raises the question of how to do this cheaply during model selection.
Target Audience
Robotics and perception researchers working with sonar or other non-optical sensors; practitioners generating synthetic training data with GANs or simulators; and engineers who need to justify dataset-generation choices with something more defensible than image-similarity scores. It is also a useful case study for students learning why evaluation metric choice shapes research conclusions.
Authors’ abstract
Synthetic data can reduce the cost of collecting and annotating training data for robotic perception, but generating sensor observations that preserve the characteristics relevant to downstream perception remains challenging, particularly for sonar imagery. In this work, we investigate whether conventional image-fidelity metrics adequately reflect the downstream perception performance of GAN-generated synthetic sonar data. We employ a Pix2Pix conditional generative…
The full abstract on arXivRelated papers
- Pose-aware Legged Robot Semantic Exploration with Omnidirectional Perception in Confined Unknown Environments 2026-09-16 · cs.RO · Key terms of the title in common
- Perception Beyond the Visible: Incompleteness-Aware Scene Understanding for Robot Autonomy 2026-10-13 · cs.RO · Key terms of the title in common
- PA-SaR: Perception-Aware Learning, Control, and Coordination for Multi-Robot Search and Rescue 2026-11-08 · cs.RO · Key terms of the title in common
- Budget-aware Correspondence-driven View Selection for Real-time 3D Perception of Mobile Robots 2026-11-09 · cs.RO · Key terms of the title in common
- RAFAIL: Relationship-Aware Failure Detection for Robotic Manipulation 2026-09-16 · cs.RO · Key terms of the title in common