Language-Free Generative Editing from One Visual Example

Omar Elezabi, Eduard Zamfir, Zongwei Wu, Radu TimofteCVPR 2026

TL;DR

While text-guided diffusion models excel at high-level semantic changes, they struggle with everyday appearance-level edits like adding rain or removing blur due to language-vision misalignment. This paper introduces Visual Diffusion Conditioning (VDC), a training-free framework that extracts precise editing signals directly from a single paired visual example (before/after), completely bypassing text prompts to achieve state-of-the-art image manipulation.

What Problem Does This Paper Address?

Current state-of-the-art image editing relies heavily on text-to-image (T2I) diffusion models. While telling a model to "add a castle in the background" works well, asking it to perform low-level, spatially varying transformations like "add rain," "make it hazy," or "blur the image" often leads to corrupted or flat-out incorrect results.

The authors attribute this to language-vision misalignment. Because diffusion models are trained on internet-scraped image-caption pairs, they only learn concepts explicitly and consistently described in text. Complex, ambient visual phenomena like rain streaks or fog are rarely captioned accurately or granularly. Consequently, the text embeddings for these terms fail to hook into the rich, low-level visual representations that the diffusion model actually inherently possesses.

Existing solutions either require computationally expensive fine-tuning (like LoRA or ControlNet) or rely on Vision-Language Models (VLMs) that discard fine spatial details. VDC solves this by using a purely vision-centric paradigm: learning the exact transformation directly from a single visual example pair without any training or text prompts.

Methods

VDC operates entirely within the latent space of a pretrained, frozen diffusion model (like Stable Diffusion). It consists of three core components:

  1. Condition Representation via Implicit Neural Representations (INRs): Instead of optimizing raw text token embeddings—which is notoriously unstable—VDC uses a lightweight, three-layer MLP as a Condition Generator. Inspired by INRs, this network maps token indices to continuous embeddings. This continuous formulation stabilizes the optimization process, allowing VDC to safely utilize all 77 token slots available in the model's conditioning space. A separate generator is optimized for each diffusion timestep.
  2. Condition Steering: To edit a target image, VDC uses posterior score guidance to steer the unconditional diffusion trajectory. For example, to remove rain, the model calculates a visual condition $C^s$ representing "rain" from the example pair and modifies the noise prediction to steer the trajectory away from the high-density regions of that feature. This acts similarly to a global residual connection, preventing generative artifacts and preserving the original image's structure.
  3. Inversion Correction: Standard DDIM inversion accumulates errors across the diffusion trajectory, leading to a loss of fine detail. VDC introduces a gradient-based optimization step during inversion to minimize the reconstruction error between the inverted latent and the ground truth, ensuring high-fidelity results.

The framework optimizes the condition generators jointly based on a combined loss function that evaluates both latent-space consistency and pixel-space detail.

The proposed VDC framework showing DDIM inversion with Condition Steering and the Step-specific Condition Generation mechanism.

Datasets

The authors evaluated VDC across six distinct image restoration and editing tasks using the following datasets:

  • FFHQ: 1K samples used for Super-Resolution and Deblurring.
  • BSD400: Used for Denoising evaluations ($\sigma=25$).
  • Rain100L: Used for Deraining.
  • SOTS: Used for Dehazing.
  • DIV2K: Converted to grayscale to evaluate Colorization.
  • RealRain-1K & CDD-11: Used to test generalization to real-world data and fine-grained expressiveness.

For tasks requiring visual examples, exactly one reference image pair was randomly selected from the respective dataset for the one-shot setup.

Key Insights and Ideas

  • The Capabilities are Hidden, Not Lost: Diffusion models already encode highly sophisticated representations of complex visual phenomena like rain and haze. The limitation isn't the model's generative capacity; it's the text interface obscuring access to these latent regions.
  • Steering vs. Generating: Rather than trying to generate a completely new image from a visual prompt, VDC steers an unconditional path. This prevents the content of the reference example from bleeding into the target image.
  • Continuous Token Spaces: Treating token optimization as a continuous function over indices (via an MLP) provides the structural coherence needed to prevent optimization divergence, a common pitfall in text-inversion methods.

Key Results

VDC consistently outperformed text-based, instruction-based, zero-shot restoration, and exemplar-based editing methods across all benchmarks in both FID and LPIPS metrics.

  • Quantitative Performance: On the challenging Deraining task, VDC achieved an FID of 66.92, dramatically outperforming popular instruction-based models like Instruct-Pix2Pix (179.93) and OmniGen (119.87).
  • Efficiency: While peak fidelity is achieved after 200 optimization steps (~30 minutes), VDC outpaces baseline models like OmniGen in just 10 optimization steps (~2 minutes). Crucially, once optimized, inference introduces zero computational overhead.
  • Qualitative Superiority: As shown in the attention map visualizations, text-based models remain object-centric when given prompts like "rain," whereas VDC successfully forces the model's attention maps to align with actual visual cues like rain streaks and hazy regions.
Figure 2. Language-Vision misalignment. The internal represen- tations of LDM [38] fail to accurately capture the semantics of degradations such as “rain” or “haze”. Attention maps under text- based conditioning remain object-centric and do not correspond to degradation-specific visual attributes. Our VDC framework re- aligns attention focus toward true visual cues, recovering mean- ingful features that correspond to rain streaks and hazy regions.

Limitations and Future Work

While highly effective, VDC currently requires perfectly paired "before and after" visual examples to isolate the target transformation. In many real-world scenarios, obtaining perfectly aligned pairs (e.g., the exact same street scene with and without rain) is difficult.

The authors note that providing too many reference examples in less variable tasks can occasionally lead to slight overfitting. They suggest that future work should focus on extending VDC to handle unposed, unaligned, or "in-the-wild" reference images.

Summary updated

BibTeX
@inproceedings{elezabi2026language,
  author = {Omar Elezabi and Eduard Zamfir and Zongwei Wu and Radu Timofte},
  title = {{Language-Free Generative Editing from One Visual Example}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=m0iSv2Dyo2},
}
Figure