NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Guidance Free Image Editing via Explicit Conditioning

Mehdi Noroozi, Alberto Gil C. P. Ramos, Luca Morreale, Ruchika Chavhan, Malcolm Chadwick, Abhinav Mehrotra, Sourav BhattacharyaarXiv 2025

Abstract

Current sampling mechanisms for conditional diffusion models rely mainly on Classifier Free Guidance (CFG) to generate high-quality images. However, CFG requires several denoising passes in each time step, e.g., up to three passes in image editing tasks, resulting in excessive computational costs. This paper introduces a novel conditioning technique to ease the computational burden of the well-established guidance techniques, thereby significantly improving the inference time of diffusion models. We present Explicit Conditioning (EC) of the noise distribution on the input modalities to achieve this. Intuitively, we model the noise to guide the conditional diffusion model during the diffusion process. We present evaluations on image editing tasks and demonstrate that EC outperforms CFG in generating diverse high-quality images with significantly reduced computations.

Introduction

Diffusion models have revolutionized image generation and editing, but their iterative nature makes them computationally expensive. To ensure generated images adhere to specific instructions (e.g., "change the hair color"), state-of-the-art models typically employ Classifier-Free Guidance (CFG). While effective, CFG necessitates multiple neural network evaluations per timestep—often up to three for complex editing tasks involving both image context and text prompts. This overhead significantly slows down inference. While distillation techniques exist to mitigate this, they often require complex additional training and can lead to a loss in output quality.

Methodology: From Implicit to Explicit Conditioning

The core innovation of this work is the shift from Implicit Conditioning to Explicit Conditioning (EC). In standard diffusion frameworks, an image is diffused into uninformative Gaussian noise, and the condition (text or reference image) is treated as an external input during the reverse process.

In contrast, EC incorporates the conditional information directly into the noise distribution. The process involves:

  1. Prompt VAE: A compact Variational Autoencoder maps text instructions (via CLIP embeddings) into the image's latent space.
  2. Modified Forward Process: The diffusion process is redefined such that the final "noise" distribution is not purely random but is centered around a fusion of the original context and the target instruction.
  3. Single-Pass Inference: By initializing the generation process with a distribution that already contains the target condition, the model requires only a single denoising pass per step, eliminating the need for the "unconditional" score calculation required by CFG.
Qualitative comparison showing the original content, the target, and the result achieved using Explicit Conditioning (EC) without additional guidance passes.

Key Insights

  • Native Guidance: By making the starting distribution conditional, guidance becomes a native part of the denoising process rather than an external correction.
  • Optimal Transport: The framework is grounded in flow-based optimal transport, ensuring an efficient path from the source image to the edited target.
  • Directional Visual Similarity (DVS): The authors propose DVS as a more robust metric than standard CLIP-based similarities, focusing on the visual transformation itself rather than linguistic alignment.

Experimental Results

The proposed EC method was evaluated against the Instruct-pix2pix dataset using Stable Diffusion v1.5.

Performance and Efficiency

EC achieves a 3x speedup in inference time by reducing the required denoising passes from three to one. Despite the increased speed, EC demonstrates superior quality both quantitatively and qualitatively.

Metric CFG (3 passes) EC (1 pass)
Directional CLIP Similarity (DCS) 0.177 0.191
Directional Visual Similarity (DVS) 0.448 0.576
Comparison of different editing outputs, highlighting EC's ability to follow complex instructions with high fidelity.

Qualitatively, EC proves more capable of handling complex transformations—such as turning a canyon into a giant cave—where CFG might produce incomplete or washed-out results when limited to fewer steps.

Conclusion and Future Work

Explicit Conditioning offers a significant leap in efficiency for image editing diffusion models without sacrificing quality. While EC currently lacks the inference-time "guidance scale" knob found in CFG, future research aims to re-introduce such controls efficiently. Additionally, the authors plan to extend this framework to Flow Matching models and explore its application on more diverse datasets.

This paper summary is based on research by Samsung AI.

Summary updated

BibTeX
@misc{noroozi2025guidance,
  author = {Mehdi Noroozi and Alberto Gil C. P. Ramos and Luca Morreale and Ruchika Chavhan and Malcolm Chadwick and Abhinav Mehrotra and Sourav Bhattacharya},
  title = {{Guidance Free Image Editing via Explicit Conditioning}},
  year = {2025},
  eprint = {2503.17593},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.17593},
}
Figure