There and Back Again: On the relation between Noise and Image Inversions in Diffusion Models

Łukasz Staniszewski, Łukasz Kuciński, Kamil Deja

This paper investigates a fundamental "leak" in how we manipulate images with diffusion models. While we often treat inverted noise as a clean slate for editing, the authors show it is actually a "ghost" of the original image—and they provide a remarkably simple way to fix it.

TL;DR

DDIM inversion—the standard method for turning an image back into noise for editing—fails to produce truly random Gaussian noise. Instead, it creates "latents" that are structurally correlated with the original image. By replacing the first few steps of inversion with a simple forward diffusion process (adding random noise), the authors successfully decorrelate these latents, enabling significantly higher-quality image interpolations and edits.

What Problem Does This Paper Address?

Diffusion models (DMs) are the reigning champions of image generation, but they lack a natural "latent space" (like the one found in GANs) that allows for easy editing. To edit a real image, researchers use DDIM Inversion: they mathematically reverse the denoising process to find the starting noise that would have generated that specific image.

Overview of DDIM sampling and inversion, highlighting how inversion errors spike near the clean image ($t=1$), especially in plain regions, leading to structured latents.

The problem is that this process isn't perfect. The "inverted noise" (or latent) often retains structural patterns from the original image, especially in smooth, low-texture areas like a clear sky. This makes the latent "stiff"—when you try to interpolate between two images or change a prompt, the original structure "haunts" the new generation, leading to poor prompt adherence and low-diversity results.

Methods

The authors first perform a geometric and statistical analysis to prove that inverted latents deviate significantly from a Normal distribution. They find that the error is most prominent in "plain" image regions and is rooted in the very first steps of the inversion process (near the clean image), where the model's noise predictions are most prone to approximation errors.

To solve this, they propose a "simple fix": DDIM Inversion with Forward Diffusion.

  1. Instead of performing DDIM inversion for all $T$ steps, they take the original image and apply standard forward diffusion (adding Gaussian noise) for the first few steps (typically the first 4% of the trajectory).
  2. They then resume standard DDIM Inversion for the remaining steps.

This hybrid approach "resets" the noise properties in the most problematic early stages while maintaining enough structural information in the later stages to allow for accurate reconstruction.

Key Insights and Ideas

  • The "Plain Area" Bias: Inversion errors are not uniform. Smooth areas (like a blue sky) result in latents with much lower variance than expected. The model "struggles" to predict diverse noise for these regions during inversion.
  • Early Steps are Culprits: The $1/t$ curvature of the reverse-time ODE trajectory means that errors at the start of the inversion (near $t=1$) are the most damaging.
  • The Geometry of Inversion: Geometrically, inverted latents don't return to the original noise point; they reside in a "proximity" to it but are measurably offset toward the image itself.
  • Data-Agnostic Denoising: The authors lean on the insight that the final steps of a generative diffusion process are mostly "data-agnostic" denoising. Therefore, losing the "exact" inversion in those early steps doesn't destroy the image's identity but does "unlock" its editability.

Key Results

  • Improved Normality: Replacing just 4% of the steps brings the latent's KL divergence and Pearson correlation much closer to true Gaussian noise.
  • Better Interpolation: In SLERP (spherical linear interpolation) tasks, the proposed fix prevents the "quality dip" usually seen in the middle of the interpolation path, maintaining high Recall and low FID.
  • Superior Editing: When combined with state-of-the-art editing engines like MasaCtrl or StyleAligned, the method showed better prompt adherence. For example, changing a "dog" to a "poodle" or a "sunny sky" to a "stormy sky" was much more effective because the latent was no longer "anchored" to the original pixels.
  • Efficiency: Because forward diffusion is a simple addition of noise, the method is computationally cheaper (and thus faster) than standard DDIM inversion, which requires model forward passes for every step.

Datasets Evaluated

The authors evaluated their method across a wide range of models and datasets:

  • Unconditioned Models: ADM (trained on CIFAR-10 and ImageNet) and LDM (trained on CelebA-HQ).
  • Conditioned Models: DiT (ImageNet), DeepFloyd IF (LAION-A), and SDXL.
  • Editing Benchmarks: COCO-30K prompts, StyleDrop, and PIEBench for real-world image editing.
  • Newer Architectures: They also extended their analysis to Flow Matching models using the FLUX.1 model.

Limitations and Future Work

  • Reconstruction Trade-off: There is a "sweet spot." If you replace too many steps (e.g., 20% or more) with random noise, the model loses the ability to reconstruct the original image accurately, leading to "hallucinations."
  • Dataset Sensitivity: The authors noted that the benefits were less obvious on the CelebA-HQ dataset (faces with uniform backgrounds), suggesting that the stability of the underlying model and the complexity of the training data play a role.
  • Numerical Solvers: While the fix works for DDIM, the authors suggest that future work could explore how to integrate this "stochastic reset" into higher-order numerical solvers like DPMSolver more natively.

Source Code: https://github.com/luk-st/taba

Summary updated

BibTeX
@inproceedings{staniszewski2026there,
  author = {Łukasz Staniszewski and Łukasz Kuciński and Kamil Deja},
  title = {{There and Back Again: On the relation between Noise and Image Inversions in Diffusion Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=8PaDdLuVKN},
}
Figure