SPIE: Semantic and Structural Post-Training of Image Editing Diffusion Models with AI feedback

Elior Benarous, Yilun Du, Heng Yang
4/17/2025
cs.CVcs.AIcs.LG

No official code found. Best implementation: ebenarous/SPIE (10 stars, MIT, last commit 2025-08-13).

Abstract

This paper presents SPIE: a novel approach for semantic and structural post-training of instruction-based image editing diffusion models, addressing key challenges in alignment with user prompts and consistency with input images. We introduce an online reinforcement learning framework that aligns the diffusion model with human preferences without relying on extensive human annotations or curating a large dataset. Our method significantly improves the alignment with instructions and realism in two ways. First, SPIE captures fine nuances in the desired edit by leveraging a visual prompt, enabling detailed control over visual edits without lengthy textual prompts. Second, it achieves precise and structurally coherent modifications in complex scenes while maintaining high fidelity in instruction-irrelevant areas. This approach simplifies users' efforts to achieve highly specific edits, requiring only 5 reference images depicting a certain concept for training. Experimental results demonstrate that SPIE can perform intricate edits in complex scenes, after just 10 training steps. Finally, we showcase the versatility of our method by applying it to robotics, where targeted image edits enhance the visual realism of simulated environments, which improves their utility as proxy for real-world settings.

View on arXivView PDF

Code Implementations(1)

ebenarous/SPIECommunity100%
MIT

[ICCV 2025] Code for the paper "SPIE: Semantic and Structural Post-Training of Image Editing Diffusion Models with AI feedback"

100Shell, PythonApr 13, 20251 years agoMIT

Similar Papers

Cite this paper

@article{benarous2025spie,
  title  = {SPIE: Semantic and Structural Post-Training of Image Editing Diffusion Models with AI feedback},
  author = {Elior Benarous and Yilun Du and Heng Yang},
  year   = {2025},
  eprint = {2504.12833},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.12833v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.12833.svg)](https://codeofpaper.com/paper/2504.12833)

Discussion