Abstract
SeedEdit is a novel framework that transforms standard text-to-image (T2I) diffusion models into high-precision image editors through an iterative alignment process. By framing image editing as a balance between "reconstruction" (preserving the original image) and "re-generation" (applying the requested changes), SeedEdit achieves state-of-the-art performance in instruction following and visual consistency.
Introduction
While modern diffusion models can generate stunning images, they are notoriously difficult to control for specific edits. Users often lose the original composition or identity when attempting to modify a single detail. Current solutions, whether training-free or data-driven, often struggle with stability or the scarcity of high-quality paired training data.
SeedEdit addresses these issues by aligning a standard generator into a dedicated editor using an iterative feedback loop. This approach allows the model to inherit the powerful generative capabilities of T2I models while gaining the precision required for localized editing.
Methodology
The SeedEdit framework introduces two primary innovations: a Causal Diffusion architecture and an iterative alignment pipeline.
Causal Diffusion Architecture
Instead of concatenating the original image as extra input channels, SeedEdit utilizes a Causal Diffusion Model. This architecture processes the reference image and the noisy target image through parallel branches with shared parameters. A specialized Causal Self-Attention mechanism enables the generation branch to incorporate features from the reference branch. This design is significantly more effective for complex geometric changes compared to standard concatenation methods.
Iterative Alignment Pipeline
The core of the training process is an iterative loop designed to find the optimal balance for editing. The authors view naive re-generation (starting from scratch with a new prompt) as the lower bound for editing; the goal is to maintain that level of prompt adherence while maximizing image similarity.
The pipeline functions as follows:
- Initial Sampling: A standard T2I model acts as a "weak editor" to generate a diverse set of image pairs.
- Filtering: Automated filters select high-quality pairs where the edit matches the prompt and the original structure is preserved.
- Optimization: The causal model is trained on this filtered data.
- Iteration: The newly trained model is used to generate even better training data, which is then filtered and used for further fine-tuning. This progressively aligns the model toward the perfect balance between reconstruction and re-generation.
Results
SeedEdit significantly outperforms existing open-source and commercial tools across several benchmarks. On the HQ-Edit benchmark, SeedEdit achieved a GPT-eval score of 78.54, far exceeding previous state-of-the-art models like UltraEdit (54.17) and Instruct-Pix2Pix (47.50).
The model maintains high visual consistency, with CLIP image similarity scores between 0.85 and 0.87, ensuring that the "identity" of the subject remains intact. Qualitatively, SeedEdit excels at following ambiguous instructions and performing fine-grained edits with fewer unintended changes than the built-in editors of DALL-E 3 and Midjourney.
Conclusion
SeedEdit demonstrates that viewing image editing as an alignment problem is a powerful paradigm. By iteratively refining a model to balance reconstruction and re-generation, it achieves unprecedented precision. While editing arbitrary real-world photos remains a challenge due to the distribution gap between AI-generated and natural images, SeedEdit sets a new standard for instruction-based image revision.
Summary updated