Manuscript Offprint

arXiv:2609.31378

ContraFM-S2O: Flow Matching-Based One-step SAR-to-Optical Image Translation Model with Contrastive Learning

Mingqian Yu, Wei-kuan Chiang, Qiurui Wang, Peilin Zhao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

In recent years, diffusion models and GAN-based models have become the mainstream approaches for SAR-to-optical image translation, owing to their advantages, such as high-quality generation and stable training. However, they have shortcomings such as high inference latency and the generated optical images suffer from low detail fidelity, often resulting in blurred edges and loss of fine textures. Thus, we propose ContraFM-S2O, which is a flow matching-based model for SAR-to-optical image translation. Unlike conventional diffusion models, ContraFM-S2O learns to predict the velocity field in training and solves ODE instead of SDE during inference to improve the sampling efficiency. In addition, ContraFM-S2O replaces instantaneous velocity with average velocity along the interpolation path to realize one-step SAR-to-optical image translation and uses contrastive learning to improve the quality of the generated optical images. Experiments show our model achieves state-of-the-art on SAR2Opt and QXS datasets, outperforming baselines, and reduces inference latency via one-step generation.

Index Terms— SAR-to-optical, Image Translation, Flow-Matching, Average Velocity, Contrastive Learning

1. INTRODUCTION

SAR-to-optical image translation has emerged as a pivotal research area, aiming to leverage the all-weather, day-and-night imaging capabilities of SAR with the high interpretability and rich spectral information of optical sensors [1]. Besides, SAR-to-optical image translation plays a critical role in emergency detection, geological monitoring and others.

GAN-based methods such as Cycle-GAN [2], Pix2Pix [3] and PCGL-GAN [4] could generate high-quality optical images but are prone to mode collapse and the generated optical images often suffer from blurred edges, distorted textures, and color discrepancies. Methods based on diffusion models like S2ODPM [5] and cBBDM [6] could realize stable training and generate optical images with higher detail fidelity, but the inference latency is high, which makes real-time SAR-to-optical image generation challenging. To overcome these questions, we propose ContraFM-S2O, which is capable of one-step SAR-to-optical image generation and could generate optical images with sharp edges and high detail fidelity.

To achieve one-step SAR-to-optical image generation, ContraFM-S2O replaces instantaneous velocity with average velocity, which is defined as the ratio of displacement to a time interval, with displacement given by the time integral of the instantaneous velocity [7]. Besides, to prevent the predicted average velocity fields from overlapping when different SAR images are used as conditional inputs during training, ContraFM-S2O employs contrastive learning to distinguish flows conditioned on different SAR images (see Figure 1).

Our experiments validate that ContraFM-S2O could reach the sota performance across baselines and achieve 4.4×4.4\times inference acceleration compared to PCGL-GAN (the second-best model). And contrastive learning contributes more to the quality of generated optical images and average velocity contributes more to inference acceleration.

References (19)