Introduction
While generative AI has made significant strides in image editing, most existing tools are limited to static modifications like style transfer or object deletion. Dynamic manipulation—moving a subject from one location to another within a scene—remains a complex challenge. This task requires a system to simultaneously solve three distinct problems: filling the void left by the removed subject (Subject Removal), reconstructing any previously obscured parts of the subject (Subject Completion), and ensuring the subject matches the lighting and perspective of its new environment (Harmonization).
The SEELE Framework
The researchers introduce SEELE (SEgment-gEnerate-and-bLEnd), a unified framework designed to handle these challenges within a single diffusion model. Unlike traditional methods that rely on complex text prompts, SEELE utilizes a novel Task Inversion technique. This approach learns specific "instructional embeddings" that guide a frozen diffusion model to perform specific editing behaviors.
The pipeline operates in three stages:
- Pre-processing: Employs Segment Anything (SAM) for subject identification and MiDaS for depth estimation to maintain correct perspective and occlusion handling.
- Manipulation: The diffusion model applies learned task-inversion prompts to fill holes and reconstruct the subject.
- Post-processing: Local harmonization via LoRA adapters adjusts lighting and generates realistic shadows for the new placement.
Experimental Evaluation
The framework was trained using MSCOCO for removal/completion and iHarmony4 for harmonization. To evaluate performance, the authors introduced the ReS (Real-world Subject repositioning) benchmark, a dataset of 100 real-world image pairs with high-quality annotations.
SEELE demonstrated significant improvements over standard Stable Diffusion (SD) baselines. Quantitatively, on the ReS dataset, SEELE achieved a Quality score of 0.290 (vs. 0.090 for SD) and a Consistency score of 0.329 (vs. 0.057 for SD). User studies confirmed these findings, with participants preferring SEELE for its ability to avoid "hallucinating" random objects and its superior subject reconstruction.
Conclusion and Future Work
SEELE represents a shift from descriptive prompting to functional instruction in image editing. By unifying removal, completion, and blending into a single inpainting-based task, it provides a more elegant solution for dynamic subject manipulation. Future research will focus on open-vocabulary amodal mask generation to automate the detection of hidden subject parts and improving the computational efficiency of high-fidelity shadow generation.
Summary updated