Organizations: Institute of Automation, Chinese Academy of Sciences, Beijing, China · Department of Computer Science, The University of Manchester, Manchester, UK · Institute of Artificial Intelligence in Sports, Capital University of Physical Education And Sports, Beijing, China · School of Artificial Intelligence, Shanghai Jiao Tong University, Shanghai, China
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.
Figures & tables
Figure 1: The training pipeline of ContraFM-S2O, which replaces instantaneous velocity with average velocity to realize one-step generation and uses contrastive learning to prevent the flows between unpaired SAR and optical images from overlapping.
Figure 2: Comparison of SAR-to-opticacl image translation results between the second-best model PCGL-GAN and our model. First row: SAR2Opt test set. Second row: QXS-SAROPT test set.
Model
QXS
SAR2Opt
Latency
S
F
L
P
S
F
L
P
Pix2Pix
0.235
130.2
0.451
23.12
0.138
166.1
0.384
26.12
0.43s
CycleGAN
0.241
126.8
0.438
27.92
0.140
153.5
0.341
27.98
0.38s
PCGL-GAN
0.279
107.2
0.349
28.02
0.175
144.4
0.316
28.18
0.44s
S2ODPM
0.262
130.3
0.392
21.25
0.152
148.3
0.338
28.02
1.22s
cDDBM
0.253
141.2
0.414
19.24
0.144
157.7
0.397
27.69
1.53s
Table 1: Performance comparison of different baseline models on two datasets. The best results are highlighted in bold and the second-best results are underlined
Model
QXS
SAR2Opt
Latency
S
F
L
P
S
F
L
P
Full
0.298
102.42
0.311
31.22
0.196
137.6
0.307
29.03
0.10s
w/o Avg
0.243
158.91
0.357
27.77
0.134
167.5
0.373
25.33
0.52s
w/o CL
0.197
184.09
0.407
23.24
0.183
210.9
0.416
22.55
0.14s
w/o Both
0.148
235.96
0.454
19.17
0.117
254.3
0.465
19.87
0.73s
Table 2: The influence of average velocity and contrastive learning. We compare ContraFM-S2O with variants without average velocity, without contrastive learning and without both, w/o: without. The best results are highlighted in bold and the second-best results are underlined
λ
QXS
SAR2Opt
Latency
S
F
L
P
S
F
L
P
0
0.197
184.09
0.407
23.24
0.183
210.9
0.416
22.55
0.14s
0.01
0.298
102.42
0.311
31.22
0.196
137.6
0.307
29.03
0.10s
0.05
0.304
113.44
0.333
26.71
0.191
176.7
0.388
26.55
0.13s
0.1
0.154
167.29
0.389
22.35
0.143
189.1
0.424
21.65
0.29s
0.2
0.127
209.23
0.411
20.87
0.128
222.1
0.477
18.38
0.28s
Table 3: The influence of different λ during training. The best results are highlighted in bold and the second-best results are underlined
SAR-to-EO image translation aims to generate electro-optical (EO) imagery from synthetic aperture radar (SAR) observations. Existing latent diffusion approaches typically inherit a predetermined autoencoder, although reconstruction fidelity can vary substantially across codecs and modalities. Because the latent codec affects the round-trip preservation of both SAR conditions and EO targets, codec selection constitutes a fundamental design choice; nevertheless, existing methods largely rely on codecs pretrained on natural images. To remedy this, we introduce ReFlowSET, a conditional latent flow-matching framework that selects its codec through a joint SAR--EO reconstruction audit. Rather than inheriting a heavyweight pretrained generator, ReFlowSET trains a substantially smaller conditional DiT from scratch in the selected latent space, using dual-stream SAR conditioning followed by joint feature refinement. To provide semantic guidance for this from-scratch training, intermediate noisy-EO features are aligned with clean target-EO representations extracted by a frozen vision foundation model. This alignment is used only during training and introduces no additional inference cost. Experiments on QXS-SAROPT and SAR2Opt demonstrate state-of-the-art performance across diverse perceptual fidelity and distributional metrics. Code and pretrained weights are publicly available at https://github.com/KAIST-VICLab/ReFlowSET.
Synthetic Aperture Radar (SAR) imagery provides robust environmental and temporal coverage (e.g., during clouds, seasons, day-night cycles), yet its noise and unique structural patterns pose interpretation challenges, especially for non-experts. SAR-to-EO (Electro-Optical) image translation (SET) has emerged to make SAR images more perceptually interpretable. However, traditional approaches trained from scratch on limited SAR-EO datasets are prone to overfitting. To address these challenges, we introduce Confidence Diffusion for SAR-to-EO Translation, called C-DiffSET, a framework leveraging pretrained Latent Diffusion Model (LDM) extensively trained on natural images, thus enabling effective adaptation to the EO domain. Remarkably, we find that the pretrained VAE encoder aligns SAR and EO images in the same latent space, even with varying noise levels in SAR inputs. To further improve pixel-wise fidelity for SET, we propose a confidence-guided diffusion (C-Diff) loss that mitigates artifacts from temporal discrepancies, such as appearing or disappearing objects, thereby enhancing structural accuracy. C-DiffSET achieves state-of-the-art (SOTA) results on multiple datasets, significantly outperforming the very recent image-to-image translation methods and SET methods with large margins.
Synthetic Aperture Radar (SAR) images have all-weather, day-and-night observation capabilities. However, compared with optical images, their speckle noise and non-intuitive scattering mechanism limit the interpretability of the images. Generative models for SAR-to-optical (S2O) conversion can improve visual interpretability, but existing methods often ignore the constraints on semantic structure, which are necessary for downstream tasks, for the sake of visual effects. We propose a unified collaborative dual-task learning framework, termed BMT (Bridging Modalities and Tasks), that jointly optimizes S2O image translation and semantic segmentation through a shared hierarchical Vision Transformer. The framework integrates: (1) a LocalViTBlock that fuses global self-attention with spatial depthwise convolution through a learnable gating mechanism; (2) an enhanced output module combining multi-scale refinement processing, color correction and anti-aliasing, which calibrates channel-level color statistics through feature fusion; (3) a ControlNet-style conditional injection mechanism that encodes SAR wavelet features and segmentation labels into a multi-scale feature pyramid and injects them at each encoder layer through zero-initialized convolution; (4) a bounded Kendall uncertainty weighting scheme that prevents either task from dominating the shared representation. We evaluate the framework under both paired and unpaired translation settings, on the public WHU-OPT-SAR paired dataset and a self-constructed unpaired ship dataset built from HRSID and DIOR, respectively. The experimental results show that the proposed method achieves competitive S2O translation quality and semantic segmentation performance. The dataset and source code have been publicly released at https://github.com/Lewisyuaner/BMT-S2O-main.
Siyuan Liu, Xuze Zhang, Yongshun Wang +3
School of Automation, Northwestern Polytechnical University, Xi’an 710129, China · School of Cybersecurity, Northwestern Polytechnical University, Xi’an 710129, China