LEDITS++: Limitless Image Editing Using Text-to-Image Models

Manuel Brack, Felix Friedrich, Katharina Kornmeier, Linoy Tsaban, Patrick Schramowski, Kristian Kersting, Apolinário Passos

Introduction

While text-to-image diffusion models (DMs) have revolutionized content creation, editing real-world images remains a significant challenge. Existing methods often struggle with three primary issues: computational efficiency, precision (avoiding "global bleed" where unintended areas are altered), and versatility (handling multiple simultaneous instructions). LEDITS++ addresses these hurdles by providing a lightning-fast, tuning-free framework that achieves perfect image reconstruction and precise localized editing.

Methodology

LEDITS++ introduces three innovative components that enable high-fidelity, interactive editing:

  1. Perfect Inversion via SDE-DPM-Solver++: Traditional DDIM inversion is slow and often inaccurate. LEDITS++ utilizes a new inversion approach based on the higher-order sde-dpm-solver++. This allows for perfect reconstruction of the original image in as few as 20 steps, ensuring that the editing process starts from an exact replica of the source pixels.
  2. Versatile Textual Editing: The framework employs independent guidance terms for each edit concept. This allows the model to push an image toward a desired attribute (positive guidance) or away from an existing one (negative guidance) without interference between multiple prompts.
  3. Semantic Grounding (Implicit Masking): To ensure edits are localized, LEDITS++ automatically generates high-resolution masks. It intersects coarse cross-attention maps (identifying general regions) with fine-grained noise estimate maps (capturing sharp object edges). This dual-masking approach achieves segmentation-like precision without manual user input.
Diverse editing capabilities of LEDITS++, demonstrating addition, subtraction, and style transfer across various domains.

Experimental Evaluation

The authors evaluated LEDITS++ using the CelebA dataset for multi-attribute manipulation and COCO Panoptic for mask quality. Furthermore, they introduced TEdBench++, a revised and expanded version of the Textual Editing Benchmark featuring complex tasks like style transfer and object removal.

Key Results

  • Efficiency: LEDITS++ is significantly faster than its predecessors, completing edits in approximately 1.78 seconds on an A100 GPU—making it 21x faster than standard DDIM inversion and 6x faster than Edit-friendly DDPM.
  • Fidelity: The method achieves a 0.00 RMSE reconstruction error, meaning the original image is preserved perfectly when no edits are applied.
  • Comparative Performance: In user studies on TEdBench++, LEDITS++ was preferred over Imagic 60% of the time. It also demonstrated superior performance in multi-editing tasks, maintaining higher text alignment (CLIP scores) and lower image distortion (LPIPS) than competing methods.
Qualitative comparison of LEDITS++ against state-of-the-art methods for complex multi-edit scenarios.

Discussion and Insights

A core insight of this work is that "perfect" inversion is the essential foundation for high-quality editing; without it, the model must compensate for its own reconstruction errors. Additionally, the intersection of attention and noise maps provides a powerful, "free" method for precise object localization.

While LEDITS++ is architecture-agnostic and works out-of-the-box with models like Stable Diffusion, it remains dependent on the underlying model's knowledge. For instance, if the base model cannot generate a specific complex concept, LEDITS++ cannot synthesize it. Future work may involve integrating techniques like Textual Inversion to better preserve specific identities during generic edits.

Conclusion

LEDITS++ represents a significant step forward in interactive image editing. By combining efficient inversion with precise semantic grounding, it offers a versatile tool capable of complex, multi-conditioned edits at speeds suitable for real-time creative workflows.

Summary updated

BibTeX
@inproceedings{brack2023ledits,
  author = {Manuel Brack and Felix Friedrich and Katharina Kornmeier and Linoy Tsaban and Patrick Schramowski and Kristian Kersting and Apolinário Passos},
  title = {{LEDITS++: Limitless Image Editing Using Text-to-Image Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure