ResetEdit: Precise Text-guided Editing of Generated Image via Resettable Starting Latent

Hanyi Wang, Han Fang, Zheng Wang, Shilin Wang, Ee-Chien Chang
4/28/2026
cs.CV
diffusion-flow

No confident code implementation found for this paper.

Abstract

Recent advances in diffusion models have enabled high-quality image generation, leading to increasing demand for post-generation editing that modifies local regions while preserving global structure. Achieving such flexible and precise editing requires a high-quality starting point, a latent representation that provides both the freedom needed for diverse modifications and the precision required for fine-grained, region-specific control.

Show full abstract

However, existing inversion-based approaches such as DDIM inversion often yield unsatisfactory starting latents, resulting in degraded edit fidelity and structural inconsistency. Ideally, the most suitable editing anchor should be the original latent used during the generation process, as it inherently captures the scene's structure and semantics. Yet, storing this latent for every generated image is impractical due to massive storage and retrieval costs. To address this challenge, we propose ResetEdit, a proactive diffusion editing framework that embeds recoverable latent information directly into the generation process. By injecting the discrepancy between the clean and diffused latents into the diffusion trajectory and extracting it during inversion, ResetEdit reconstructs a resettable latent that closely approximates the true starting state. Additionally, a lightweight latent optimization module compensates for reconstruction bias caused by VAE asymmetry. Built upon Stable Diffusion, ResetEdit integrates seamlessly with existing tuning-free editing methods and consistently outperforms state-of-the-art baselines in both controllability and visual fidelity.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026resetedit,
  title  = {ResetEdit: Precise Text-guided Editing of Generated Image via Resettable Starting Latent},
  author = {Hanyi Wang and Han Fang and Zheng Wang and Shilin Wang and Ee-Chien Chang},
  year   = {2026},
  eprint = {2604.25128},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.25128v1}
}

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/2604.25128.svg)](https://codeofpaper.com/paper/2604.25128)

Discussion