ALIGNEDEDIT: PROMPT-ALIGNED WEAK GUIDANCE FOR TEXT-GUIDED IMAGE EDITING

Sooyeon Park, Sung-Bae ChoOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

AlignedEdit introduces a novel sampling strategy called Semantically Weak Guidance (SWG) to replace the industry-standard Classifier-Free Guidance (CFG) in text-guided image editing. By dynamically attenuating the most salient tokens within a model's attention layers, it creates a "semantically weak" but "aligned" reference point, resulting in edits that are more natural and significantly better at preserving the original image structure.

What Problem Does This Paper Address?

Text-instruction-based image editing (TIE) allows users to modify images using natural language (e.g., "make the dog smile"). Currently, almost all these models rely on Classifier-Free Guidance (CFG). CFG works by contrasting a "positive" prediction (using the text prompt) against an "unconditional" or "null" prediction (using an empty prompt).

The problem is that the semantic gap between a specific instruction and "nothingness" is massive. This misalignment often leads to "over-editing": the model might exaggerate a smile into a grotesque grimace, change the background when you only asked to change a shirt color, or introduce weird artifacts. Essentially, CFG is a blunt instrument for the delicate task of editing.

Methods

The authors propose Semantically Weak Guidance (SWG). Instead of comparing the prompt to a null prompt, they compare it to a "weakened" version of itself.

  1. Token Saliency Identification: The authors discovered that semantics are distributed across many tokens and layers. Simply deleting a word from a prompt doesn't "erase" its influence.
  2. Dynamic Attenuation: Inside each transformer block of the diffusion model (like CosXL or FLUX-based Kontext), the method calculates cross-attention scores to identify which text tokens are currently most influential ("salient") for the image generation at that specific denoising timestep.
  3. The Weak Model: AlignedEdit adaptively attenuates (scales down) the embeddings of these high-saliency tokens. This creates an internal "weak" pathway that understands the context of the prompt but lacks the strength to execute the full edit.
  4. Aligned Guidance: The final output is steered by the difference between the "strong" (original) prompt and this "weak" (attenuated) version. Because both branches share the same prompt structure, the guidance is "aligned," preventing the model from wandering off into unintended structural changes.

Datasets

The researchers evaluated AlignedEdit across three major benchmarks to ensure robustness:

  • Emu-Edit: A test set of 3,590 examples covering seven categories of real-image editing.
  • HQ-Edit: A large-scale, high-resolution synthetic dataset containing approximately 200,000 edits, used for stress-testing model performance at scale.
  • ImgEdit-Bench: A benchmark specifically designed for multi-turn editing, where a model must perform a sequence of instructions (e.g., "add a hat," then "change the hat to red") while remembering previous changes.

Key Insights and Ideas

  • Alignment > Contrast: The core "aha moment" is that for editing, you don't want a negative reference that is empty; you want one that is almost there. This prevents the "guidance explosion" that causes artifacts.
  • Semantics are Fluid: The paper shows that token influence is not static. A token that is highly salient at the start of the denoising process (defining structure) might be less salient later (defining texture). AlignedEdit’s dynamic, per-layer approach captures this better than static prompt weighting.
  • Training-Free Utility: Perhaps most importantly for engineers, this is a sampling-time intervention. It requires no retraining or fine-tuning of the base diffusion models, making it a "plug-and-play" upgrade for existing architectures like SDXL or FLUX.

Key Results

AlignedEdit consistently outperformed CFG and other recent baselines (like PostEdit and IceEdit):

  • Instruction Fidelity: On the Emu-Edit benchmark, it achieved a significantly higher CLIP directional similarity (CLIPdir), meaning the changes in the image more accurately reflected the changes requested in the text.
  • Structure Preservation: It maintained much higher SSIM and CLIP image similarity scores, proving it is far better at leaving the non-edited parts of an image untouched.
  • Qualitative Superiority: In user studies, participants preferred AlignedEdit's results for being more "natural." For example, when asked to "let the dog smile," CFG often distorted the dog's snout, while AlignedEdit produced a subtle, realistic expression change.
  • Multi-turn Success: On ImgEdit-Bench, it showed superior "content memory," successfully layering multiple edits without the image quality collapsing.

Limitations and Future Work

  • Hyperparameter Sensitivity: The ablation studies show that there is a "Goldilocks zone" for attenuation. If you attenuate too many tokens or scale them down too much, the guidance becomes indistinguishable from CFG, losing the benefits of alignment.
  • Computational Overhead: While training-free, the method requires identifying salient tokens and recomputing transformer operations within the block for the weak branch, which may slightly increase inference time compared to standard CFG.
  • Future Directions: The authors suggest that future work could explore more sophisticated ways to select tokens beyond simple attention averaging, perhaps using LLM-derived semantic importance to further refine the "weak" model.

Summary updated

Abstract

Text-guided image editing has advanced rapidly, yet most approaches still rely on classifier-free guidance. We introduce ALIGNEDEDIT for semantic image editing, employing semantically weak guidance to produce natural edits that align with the instruction prompt. CFG is a de facto standard guidance technique that use an uncondition model to steer sampling toward the positive condition and amplify its signal. However, this mechanism that use condition and uncondition model that misalend in semantic space induce over-editing, artifacts, and unintended changes. ALIGNEDEDIT employs aligned yet semantically weak guidance, preventing error accumulation and producing faithful edits without unintended modifications, resulting in a more natural appearance. To obtain an aligned yet semantically weak model, ALIGNEDEDIT identifies semantically strong tokens in each attention block and attenuates their embeddings to reduce semantic strength. Because the semantically weak model is derived directly from the model itself, no explicit negative prompt is required, making the method substantially less sensitive to prompt choice. We apply our guidance to two diffusion-based editing models, CosXL and Kontext. Across diverse benchmarks of Emu-Edit for real-image editing, HQ-Edit for synthetic editing, and ImgEdit-Bench for multi-turn editing, our method yields edits that are more natural and more faithfully aligned with the prompt.
BibTeX
@misc{park2026alignededit,
  author = {Sooyeon Park and Sung-Bae Cho},
  title = {{ALIGNEDEDIT: PROMPT-ALIGNED WEAK GUIDANCE FOR TEXT-GUIDED IMAGE EDITING}},
  year = {2026},
  url = {https://openreview.net/forum?id=PRrJEjcGKX},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure