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

A Diffusion Model Translator for Efficient Image-to-Image Translation

Mengfei Xia, Yu Zhou, Ran Yi, Yong-Jin Liu, Wenping Wang

TL;DR

The Diffusion Model Translator (DMT) is a new framework that makes image-to-image (I2I) translation significantly faster and higher quality by performing domain transfer at a single, mathematically optimized intermediate timestep. By shifting distributions only once rather than at every denoising step, DMT achieves a 40x to 80x speedup over state-of-the-art diffusion methods while surpassing GAN-based alternatives in visual fidelity.

What Problem Does This Paper Address?

Image-to-Image (I2I) translation—converting an image from one domain (e.g., a sketch) to another (e.g., a photo)—has traditionally been dominated by Generative Adversarial Networks (GANs). While GANs are fast, they often suffer from training instability and "mode collapse," leading to artifacts or lack of diversity.

Recently, Denoising Diffusion Probabilistic Models (DDPMs) have emerged as a high-quality alternative. However, standard diffusion-based I2I methods (like Palette) are notoriously slow. They typically inject source image information into every single step of the iterative denoising process. This constant refinement is computationally expensive and makes the model difficult to train efficiently. The authors of this paper ask: Is it possible to achieve high-quality I2I translation by performing the domain shift at just one intermediate step?

Methods

The authors introduce the Diffusion Model Translator (DMT), which bridges a source domain and a target domain through a three-stage pipeline:

  1. Forward Diffusion: The source image $x_0$ is partially corrupted with Gaussian noise until it reaches a specific timestep $t$, resulting in a noisy latent $x_t$.
  2. Distribution Translation: A lightweight, trainable translator $f_\theta$ (based on architectures like Pix2Pix or TSIT) maps the noisy source latent $x_t$ to a corresponding noisy target latent $y_t$.
  3. Reverse Denoising: A pre-trained, frozen DDPM for the target domain takes $y_t$ and performs the standard reverse diffusion process to generate the final clean image $y_0$.
Conceptual comparison between iterative refinement (a) and the proposed DMT (b).

A key contribution is the automatic timestep selection strategy. The authors prove that the choice of $t$ involves a trade-off: a small $t$ preserves source content but leaves a large domain gap for the translator to bridge, while a large $t$ makes translation easier but loses source details. They propose finding the "intersection point" of Structural Similarity Index (SSIM) curves to select the optimal $t$ for any given task.

Analysis of the optimal timestep $t$ using SSIM distance curves. The intersection point provides a practical choice for DMT learning.

Datasets

The model was evaluated on four diverse I2I tasks using the following datasets:

  • Portrait Stylization: A handcrafted dataset of 30,000 images generated from CelebA-HQ using QMUPD.
  • Image Colorization: The AFHQ dataset, containing 16,130 images of cats, dogs, and wildlife.
  • Segmentation-to-Image: The CelebA-HQ dataset with corresponding segmentation masks.
  • Sketch-to-Image: The Edges2handbags dataset, consisting of over 138,000 pairs of handbag sketches and photos.

Key Insights and Ideas

  • Single-Step Sufficiency: The authors provide a theoretical proof (based on variational lower bounds) showing that transferring the distribution at a single intermediate step is both feasible and sufficient for I2I tasks.
  • Shared Noise Encoder: By using the same noise component $z_t$ to diffuse both source and target images during training, the model learns a more robust mapping that focuses on domain-specific features rather than random noise.
  • Plug-and-Play Efficiency: Because the DMT module is independent of the target DDPM, it can be trained very quickly (e.g., 40-60 epochs) and can leverage existing I2I architectures as its internal translator.
  • Complexity Balancing: The system's overall complexity is minimized when the complexity of the forward diffusion, the translation, and the denoising are balanced—a state achieved at the SSIM intersection point.

Key Results

DMT demonstrates superior performance across both qualitative and quantitative metrics:

  • Speed: DMT is 40x to 80x faster than Palette during inference. This is achieved by starting the sampling process at an intermediate step (4x-8x faster) and utilizing the DDIM fast sampling algorithm (~10x faster).
  • Quality: In segmentation-to-image tasks, DMT achieved an FID of 36.78, significantly better than SPADE (66.55). In stylization, it outperformed QMUPD (FID 11.01 vs 12.81).
  • Visual Fidelity: Qualitative results show that DMT produces clearer contours, fewer artifacts, and more realistic textures compared to GAN baselines, which often struggle with fine details like hair or complex backgrounds.
Qualitative results of DMT across stylization, colorization, segmentation, and sketch tasks.

Limitations and Future Work

  • Paired Data Requirement: The current DMT framework relies on paired training data (e.g., a sketch and its corresponding photo). Extending this to unpaired I2I tasks remains an open challenge.
  • Markovian Assumption: The theoretical proofs assume the diffusion process satisfies the Markovian property, which limits the method to DDPM-style models or their direct extensions.
  • Domain Similarity: DMT is less effective when the source and target domains are nearly identical, as the loss function becomes a constant that cannot be optimized effectively.
  • Future Directions: The authors suggest exploring multi-step translation or asymmetric diffusion timesteps for even more complex cross-domain mappings.

Summary updated

BibTeX
@article{xia2024diffusion,
  author = {Mengfei Xia and Yu Zhou and Ran Yi and Yong-Jin Liu and Wenping Wang},
  title = {{A Diffusion Model Translator for Efficient Image-to-Image Translation}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2024},
  doi = {10.1109/tpami.2024.3435448},
}
Figure