LORE: Latent Optimization for Precise Semantic Control in Rectified Flow-based Image Editing
Abstract
Text-driven image editing enables users to flexibly modify visual content through natural language instructions, and is widely applied to tasks such as semantic object replacement, insertion, and removal. While recent inversion-based editing methods using rectified flow models have achieved promising results in image quality and background consistency, we identify a structural limitation in their editing behavior: the semantic bias embedded in the inverted noise tends to favor the source concept, thereby suppressing the generation of the target concept. This issue becomes particularly pronounced when there exists a large semantic gap between the source and target concepts, where inherited bias in the inverted noise often leads to editing failure or unintended alterations in non-target regions. In this paper, we systematically analyze and validate this structural flaw, and introduce LORE, a training-free and efficient image editing method. LORE directly optimizes the inverted noise in the latent space to mitigate the source-oriented bias, aligning the latent representation more precisely with the target concept. This latent optimization enables stable, controllable, and general-purpose concept replacement without requiring architectural modification or model fine-tuning. We conduct comprehensive evaluations on three challenging benchmarks: PIEBench, SmartEdit, and GapEdit. Experimental results show that LORE outperforms strong baselines in semantic alignment, image quality, and background fidelity, demonstrating the effectiveness and scalability of latent optimization for general-purpose image editing.