NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

S2ST: Image-to-Image Translation in the Seed Space of Latent Diffusion

Or Greenberg, Eran Kishon, Dani LischinskiarXiv 2023 · DOI

Researchers from GM R&D and The Hebrew University have introduced S2ST (Seed-to-Seed Translation), a framework that leverages Latent Diffusion Models (LDMs) for high-fidelity, global image-to-image translation. By optimizing within the "seed space" of a diffusion model, S2ST transforms complex automotive scenes—such as turning day into night or clear skies into fog—while maintaining structural integrity.

S2ST demonstrates diverse global translations across various domains like night, fog, and rain while preserving scene structure.

Addressing the Control Gap in Diffusion

Image-to-Image Translation (I2IT) requires altering an image's domain while preserving its underlying structure (e.g., road layout, vehicle positions). While Generative Adversarial Networks (GANs) have historically dominated this task, they often struggle with high-precision details and are limited to specific domain mappings.

Conversely, modern Diffusion Models offer unparalleled photorealism but are difficult to control for global edits. Local masking methods are insufficient for domain-wide shifts, and techniques like SDEdit often sacrifice original structure to achieve significant style changes. S2ST bridges this gap, providing the photorealism of diffusion with the structural control necessary for safety-critical applications like driving simulators.

Methodology: Seed Translation and Trajectory Optimization

The core innovation of S2ST is a two-step optimization process performed within the latent space of a pre-trained Stable Diffusion model.

The S2ST pipeline consists of a Seed Translation Block to find the optimal starting noise and a Trajectory Optimization Block to refine the denoising path.

1. Seed Translation (ST)

The process begins with a source image and uses DDIM inversion to identify its "initial seed"—the noise map that would generate that specific image. S2ST optimizes this seed toward the target domain using two primary losses:

  • Structure Loss: Employs Sobel gradients to ensure the edges in the translated image align with the source.
  • Appearance Loss: Matches the latent representation of the generated image to the mean representation of a small set of example images from the target domain.

2. Trajectory Optimization (TO)

After finding an optimal starting seed, the model optimizes the entire "trajectory" or sequence of denoising steps. It utilizes null-text optimization to refine details, ensuring subtle elements like horizon lines are preserved. A histogram-based appearance loss further ensures that final colors and lighting accurately reflect the target domain.

Experimental Results

The researchers evaluated S2ST using the BDD100k (Berkeley DeepDrive) dataset. Stable Diffusion v2.1 was fine-tuned on 50k images using ControlNet to adapt it to the specific geometry of road scenes.

Quantitative Performance

S2ST outperformed leading GAN-based baselines (CycleGAN, MUNIT, TSIT, AU-GAN) across key metrics:

  • Realism: Achieved superior scores in Kernel Inception Distance (KID).
  • Structure: Earned the highest Structural Similarity Index (SSIM), confirming better preservation of source layouts.

Qualitative Impact

In human evaluation studies, participants overwhelmingly preferred S2ST. For the question "Which looks more like a natural night image?", S2ST was selected over 90% of the time against most baselines. Visually, S2ST successfully "turns on" headlights and streetlights realistically, avoiding the "sparkle" artifacts common in GAN-based translations.

Limitations and Future Outlook

The primary challenge for S2ST is computational intensity. Performing backpropagation through 20 DDIM steps requires approximately 170 seconds per image on an NVIDIA Tesla A100 and consumes ~45 GB of VRAM. This currently limits its use in real-time applications. Future research may focus on more efficient optimization algorithms or "thinner" diffusion backbones to reduce memory requirements and latency.

Summary updated

BibTeX
@misc{greenberg2023s,
  author = {Or Greenberg and Eran Kishon and Dani Lischinski},
  title = {{S2ST: Image-to-Image Translation in the Seed Space of Latent Diffusion}},
  year = {2023},
  eprint = {2312.00116},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.00116},
}
Figure