Dissecting and Mitigating Semantic Discrepancy in Stable Diffusion for Image-to-Image Translation

  • Yifan Yuan
  • , Guanqun Yang
  • , James Z. Wang
  • , Hui Zhang
  • , Hongming Shan
  • , Fei Yue Wang
  • , Junping Zhang

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

Abstract

Finding suitable initial noise that retains the original image's information is crucial for image-to-image (I2I) translation using text-to-image (T2I) diffusion models. A common approach is to add random noise directly to the original image, as in SDEdit. However, we have observed that this can result in “semantic discrepancy” issues, wherein T2I diffusion models mis-interpret the semantic relationships and generate content not present in the original image. We identify that the noise introduced by SDEdit disrupts the semantic integrity of the image, leading to unintended associations between unrelated regions after U-Net upsampling. Building on the widely-used latent diffusion model, Stable Diffusion, we propose a training-free, plug-and-play method to alleviate semantic discrepancy and enhance the fidelity of the translated image. By leveraging the deterministic nature of denoising diffusion implicit models (DDIMs) inversion, we correct the erroneous features and correlations from the original generative process with accurate ones from DDIM inversion. This approach alleviates semantic discrepancy and surpasses recent DDIM-inversion-based methods such as PnP with fewer priors, achieving a speedup of 11.2 times in experiments conducted on COCO, ImageNet, and ImageNet-R datasets across multiple I2I translation tasks.

Original languageEnglish (US)
Pages (from-to)705-718
Number of pages14
JournalIEEE/CAA Journal of Automatica Sinica
Volume12
Issue number4
DOIs
StatePublished - 2025

All Science Journal Classification (ASJC) codes

  • Control and Systems Engineering
  • Information Systems
  • Control and Optimization
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'Dissecting and Mitigating Semantic Discrepancy in Stable Diffusion for Image-to-Image Translation'. Together they form a unique fingerprint.

Cite this