Guide-and-Rescale: Self-Guidance Mechanism for Effective Tuning-Free Real Image Editing

Vadim Titov, Madina Khalmatova, Alexandra Ivanova, Dmitry P. Vetrov, Aibek Alanov
2/14/2026

No official code found. Best implementation: FusionBrainLab/Guide-and-Rescale (55 stars, Apache-2.0, last commit 2024-09-12). 1 more below.

Abstract

Despite recent advances in large-scale text-to-image generative models, manipulating real images with these models remains a challenging problem. The main limitations of existing editing methods are that they either fail to perform with consistent quality on a wide range of image edits or require time-consuming hyperparameter tuning or fine-tuning of the diffusion model to preserve the image-specific appearance of the input image. We propose a novel approach that is built upon a modified diffusion sampling process via the guidance mechanism. In this work, we explore the self-guidance technique to preserve the overall structure of the input image and its local regions appearance that should not be edited. In particular, we explicitly introduce layout-preserving energy functions that are aimed to save local and global structures of the source image. Additionally, we propose a noise rescaling mechanism that allows to preserve noise distribution by balancing the norms of classifier-free guidance and our proposed guiders during generation. Such a guiding approach does not require fine-tuning the diffusion model and exact inversion process. As a result, the proposed method provides a fast and high-quality editing mechanism. In our experiments, we show through human evaluation and quantitative analysis that the proposed method allows to produce desired editing which is more preferable by humans and also achieves a better trade-off between editing quality and preservation of the original image. Our code is available at https://github.com/MACderRu/Guide-and-Rescale.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Official Implementation for "Guide-and-Rescale: Self-Guidance Mechanism for Effective Tuning-Free Real Image Editing"

90Python, Jupyter NotebookSep 6, 20242 years agoApache-2.0
Apache-2.0

Official Implementation for "Guide-and-Rescale: Self-Guidance Mechanism for Effective Tuning-Free Real Image Editing"

555Python, Jupyter NotebookJul 10, 20242 years agoApache-2.0
diffusion-modelguide-and-rescaleimage-editingtext-to-image

Cite this paper

@article{titov2026guideandrescale,
  title  = {Guide-and-Rescale: Self-Guidance Mechanism for Effective Tuning-Free Real Image Editing},
  author = {Vadim Titov and Madina Khalmatova and Alexandra Ivanova and Dmitry P. Vetrov and Aibek Alanov},
  year   = {2026},
  eprint = {2409.01322},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2409.01322},
  journal = {ECCV 2024 2024}
}

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

Discussion