Real-World Image Variation by Aligning Diffusion Inversion Chain

Yuechen Zhang, Jinbo Xing, Eric Lo, Jiaya Jia
2/12/2026

No official code found. Best implementation: JIA-Lab-research/RIVAL (154 stars, Apache-2.0, last commit 2024-01-02).

Abstract

Recent diffusion model advancements have enabled high-fidelity images to be generated using text prompts. However, a domain gap exists between generated images and real-world images, which poses a challenge in generating high-quality variations of real-world images. Our investigation uncovers that this domain gap originates from a latents' distribution gap in different diffusion processes. To address this issue, we propose a novel inference pipeline called Real-world Image Variation by ALignment (RIVAL) that utilizes diffusion models to generate image variations from a single image exemplar. Our pipeline enhances the generation quality of image variations by aligning the image generation process to the source image's inversion chain. Specifically, we demonstrate that step-wise latent distribution alignment is essential for generating high-quality variations. To attain this, we design a cross-image self-attention injection for feature interaction and a step-wise distribution normalization to align the latent features. Incorporating these alignment processes into a diffusion model allows RIVAL to generate high-quality image variations without further parameter optimization. Our experimental results demonstrate that our proposed approach outperforms existing methods with respect to semantic-condition similarity and perceptual quality. Furthermore, this generalized inference pipeline can be easily applied to other diffusion-based generation tasks, such as image-conditioned text-to-image generation and example-based image inpainting.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[NeurIPS 2023 Spotlight] Real-World Image Variation by Aligning Diffusion Inversion Chain

1549Shell, PythonMay 17, 20232 years agoApache-2.0
diffusion-modelsimage-variationsstyle-transfertext-to-image

Similar Papers

Cite this paper

@article{zhang2026realworld,
  title  = {Real-World Image Variation by Aligning Diffusion Inversion Chain},
  author = {Yuechen Zhang and Jinbo Xing and Eric Lo and Jiaya Jia},
  year   = {2026},
  eprint = {2305.18729},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2305.18729},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.18729.svg)](https://codeofpaper.com/paper/2305.18729)

Discussion