Manuscript Offprint

arXiv:2609.06253

One Model, Two Worlds: Bidirectional Sonar-Optical Translation

Shengji Jin, Trung Tien Dong, Ahmed Lamidi, Chen Chen, Xiaomin Lin, Yi Sheng

Abstract

Translating between imaging sonar and optical cameras is valuable for underwater perception, but supporting both directions with separate models duplicates storage and computation. A unified bidirectional model is therefore attractive, yet existing approaches largely treat the two directions symmetrically despite their fundamentally different image-formation physics. We argue that sharing a generative model does not require sharing the physics. We introduce the Direction-Asymmetric Realism Bridge (DARB), which retains a shared diffusion-bridge trunk while routing direction-specific physical priors through asymmetric pathways: range-aware modulation for sonar-to-optical translation and polar ray-dependent processing for optical-to-sonar translation. We further show that symmetry in training is also costly: applying a common realism schedule reduces sonar-to-optical PSNR by 2.60 dB. Our Adaptive Realism Supervision (ARS) instead determines when, where, and how strongly perceptual supervision is applied from reconstruction quality and gradient balance. Together, DARB and ARS enable one bidirectional model to match the sonar-to-optical specialist within 0.11 dB PSNR, outperform the optical-to-sonar specialist by 0.70 FID, and surpass two independently trained BBDMs on seven of eight metrics.

1. Introduction

Underwater platforms routinely pair imaging sonar with optical cameras because the two sensing modalities compensate for each other's limitations [12, 23]. Imaging sonar remains effective in turbid or poorly illuminated water, but its speckled, polar-geometry returns are difficult for human operators to interpret; optical cameras, in contrast, provide intuitive visual content but deteriorate rapidly under scattering and attenuation [1, 2]. This complementarity makes cross-modal translation valuable in both directions. Translating sonar into optical-like imagery can facilitate human supervision and interpretation, whereas translating optical imagery into sonar can generate additional acoustic training data, for which annotated corpora remain scarce [3]. Supporting both capabilities onboard, however, with two independent translation

Figure

Figure 1. Overview of DARB. A single diffusion bridge serves both directions, each conditioned on a prior read out of its own source image. Sonar→RGB (orange): the first-return contour gives a per-beam range field, applied by UAM. RGB→Sonar (green): the fan-shaped support mask drives SPADE, and RCASM propagates occlusion along each bearing in polar coordinates.

models would duplicate computation and storage. A unified bidirectional model therefore offers a more practical solution for embedded underwater platforms, where payload, memory, and compute are tightly constrained.

Such a translator requires a framework in which neither direction is privileged. Conditional formulations privilege one: the source conditions a process synthesising the target, so the roles are not exchangeable. Diffusion bridges instead anchor the process at both endpoints, the natural substrate for a unified model [24, 28, 47]. Existing unified bridges, however, remain data-driven: the two directions share every parameter and differ by a discrete label, so what separates them is left to be inferred from samples. We keep the shared substrate and put back only what the physics requires.

Sonar and optical images arise from fundamentally different image-formation processes and encode different physical properties of the same scene. Sonar observations are shaped by acoustic propagation, beam geometry, speckle, and shadowing, whereas optical appearance is governed by light transport, reflection, scattering, and attenuation. The two directions must therefore recover different missing information: sonar-to-optical translation must infer photometric appearance and fine texture that are not acoustically observed, while optical-to-sonar translation must synthesize acoustic responses and spatial structures that RGB imagery does not specify. We introduce the Direction-Asymmetric Realism Bridge (DARB), which shares one diffusion-bridge trunk and makes asymmetric only what the imaging physics forces to be asymmetric. Spatially, this means routing a direction-specific physical prior into the decoder of each pathway (Fig. 1). The optical path reads a per-beam range field that the sonar already carries and modulates features by it pointwise, as radiance decays and backscatter accumulates with range; the acoustic path reads the fan-shaped support of valid returns and the ray geometry along which a strong return shadows everything behind it, a relation that is local only in polar coordinates. A pointwise scaling and a path-dependent scan are not two settings of one operator, which is why the routing is direction-specific and the trunk is not.

Temporally, the same principle applies to the auxiliary perceptual objective that recovers realism, which should not act on both directions in the same way or from the same moment. Applying it uniformly from the start of training interferes with reconstruction before the bridge has learned a stable cross-modal mapping, and we observe that doing so lowers sonar-to-optical PSNR by 2.60 dB. The critical issue is therefore not the formulation of the realism objective but its schedule, which has to answer three questions: when the objective starts, which samples it acts on, and how strongly.

Exhaustively tuning these three coupled scheduling parameters would require a costly three-dimensional search and undermine the practical appeal of a unified framework. We therefore introduce Adaptive Realism Supervision (ARS), which derives the supervision schedule from the evolving state of the model. A ratio between the gradient norms of the reconstruction and perceptual terms, read separately for each direction, answers the first and third: the objective is admitted as soon as reconstruction is the larger of the two forces, or after a fixed grace period if that does not happen, and is then weighted in proportion to that ratio. The second is answered per sample, realism being asked only of those the bridge already reconstructs well. Which of the two directions has to wait is decided by that measurement rather than by us. In summary, our contributions are:

• Direction-Asymmetric Routing: We introduce DARB, a unified diffusion bridge for bidirectional sonar-optical translation that shares one trunk while routing a direction-specific physical prior into each pathway, capturing both formation processes without two independent translators.

• Adaptive Realism Supervision (ARS): ARS replaces a three-dimensional search over when realism supervision starts, which samples it acts on and how strongly, with quantities already measured during training: gradient balance sets when and how strongly, per-sample reconstruction quality sets which.

• Specialist-Level Performance with One Model: On DeeperSense, DARB matches the Sonar→RGB specialist to within 0.11 dB PSNR, surpasses the RGB→Sonar specialist by 0.7 FID, and beats two independently trained bridges on seven of eight metrics, so unified deployment need not cost translation quality.

References (48)

  • A revised underwater image formation model
  • Sea-thru: A method for removing water from underwater images
  • Sonar-based deep learning in underwater robotics: Overview, robustness, and challenges
  • Three-dimensional target reconstruction from multiple 2-d forward-scan sonar views by space carving
  • The perception-distortion tradeoff
  • Perception prioritized training of diffusion models
  • Stargan: Unified generative adversarial networks for multi-domain image-to-image translation
  • Stargan v2: Diverse image synthesis for multiple domains
  • Image quality assessment: Unifying structure and texture similarity
  • Diffusion as sound propagation: Physics-inspired model for ultrasound image generation
  • Taming transformers for high-resolution image synthesis
  • Underwater optical and acoustic imaging: A time for fusion? a brief overview of the state-of-the-art
  • Efficient diffusion training via min-snr weighting strategy
  • Gans trained by a two time-scale update rule converge to a local nash equilibrium
  • Denoising diffusion probabilistic models
  • Cm-diff: A single generative network for bidirectional cross-modality translation diffusion model between infrared and visible images (opens arXiv in a new tab)
  • Multimodal unsupervised image-to-image translation
  • Speckle noise reduction in sonar image based on adaptive redundant dictionary
  • Image-to-image translation with conditional adversarial networks
  • Perceptual losses for real-time style transfer and super-resolution
  • Bidirectional diffusion bridge models
  • Unpaired image-to-image translation via neural schrodinger bridge
  • Underwater optical-sonar image fusion systems
  • Bbdm: Image-to-image translation with brownian bridge diffusion models
  • Oysternet: Enhanced oyster detection using simulation (opens arXiv in a new tab)
  • Oyster detection yielded by sensor systems on edge electronics
  • Flow Matching for Generative Modeling
  • I²SB: Image-to-image schrödinger bridge
  • Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow
  • Pid: Physics-informed diffusion model for infrared image generation
  • Semantic image synthesis with spatially-adaptive normalization
  • Film: Visual reasoning with a general conditioning layer
  • Aoneus: A neural rendering framework for acoustic-optical sensor fusion
  • High-resolution image synthesis with latent diffusion models
  • Palette: Image-to-image diffusion models
  • Diffusion schrödinger bridge matching
  • Dual diffusion implicit bridges for image-to-image translation (opens arXiv in a new tab)
  • Improving and generalizing flow-based generative models with minibatch optimal transport (opens arXiv in a new tab)
  • 2d forward looking sonar simulation with ground echo modeling
  • Image quality assessment: from error visibility to structural similarity
  • Sonar-to-rgb image translation for diver monitoring in poor visibility environments
  • Forward-looking so nar image generation based on stable diffusion model
  • Bibbdm: Bidirectional image translation with brownian bridge diffusion models
  • Quality assessment of sar-to-optical image translation
  • Adding conditional control to text-to-image diffusion models
  • The unreasonable effectiveness of deep features as a perceptual metric
  • Denoising diffusion bridge models
  • Unpaired image-to-image translation using cycle-consistent adversarial networks