Introduction
Diffusion models have reached unprecedented levels of quality in image generation, yet high-fidelity editing of existing images remains a significant challenge, particularly for "non-rigid" transformations. Non-rigid edits involve fundamental changes to an object's pose, shape, or structure—such as a sitting animal standing up or a bird unfolding its wings. Current training-free methods often struggle with a dichotomy: "under-editing," where the model fails to implement the requested change, or "over-editing" (attention collapse), where the subject's identity is lost or anatomical artifacts like extra limbs appear.
The researchers identify that the Rotary Position Embedding (RoPE), a staple in modern transformer-based models like FLUX, is a primary driver of these failures. While RoPE provides necessary structural "glue," its static application during the denoising process creates a conflict between original spatial coordinates and new semantic instructions.
Methods: Dynamic Attention Synergy (SynPS)
To resolve this conflict, the authors propose SynPS (Attention Synergy), a training-free framework that dynamically modulates positional embeddings during inference. Instead of a fixed RoPE strength, SynPS treats the relationship between position and semantics as a fluid synergy.
The core of the method is a real-time Editing Measurement ($M_t$). At each denoising step, the system calculates the ratio between image similarity (to the source) and text similarity (to the target prompt):
- Under-editing detection: A high ratio indicates the image hasn't changed enough, prompting the system to dial down positional constraints ($w \to 0$) to allow for spatial remapping.
- Over-editing prevention: A low ratio suggests the image is drifting too far from the source identity, causing the system to increase positional constraints ($w \to 1$) to lock in fine details.
By providing "spatial freedom" in the early stages of generation and "spatial discipline" in the later stages, SynPS ensures that the model can rearrange the layout without losing the subject's essence.
Evaluation and Key Results
The effectiveness of SynPS was validated using the PIE-Bench (Change Pose subset) and a new, more challenging Non-Rigid Editing Benchmark consisting of 200 diverse prompt pairs generated by GPT-5.
Quantitative evaluations using state-of-the-art Multimodal Large Language Models (MLLMs) as judges—including GPT-4o, GPT-5, and Gemini-2.5-Pro—showed that SynPS significantly outperforms existing baselines like FreeFlux and CharaConsist. Notably, on the PIE-Bench, SynPS achieved a 28.6% improvement in faithfulness scores over FreeFlux when evaluated by Gemini-2.5-Pro.
Qualitatively, the method excels at maintaining visual fidelity in scenarios that typically cause "ghosting" or "duplicate artifacts." Whether changing a person's orientation or modifying the shape of a character like Doraemon, SynPS preserves the original subject's identity while faithfully executing the new text instructions.
Conclusion and Future Work
SynPS offers a robust, training-free solution to the "attention collapse" problem in non-rigid image editing. By framing positional embeddings as a dynamic component of the attention mechanism, it achieves a new state-of-the-art in editing faithfulness. While the method is primarily optimized for structural changes rather than simple appearance-level "rigid" edits, its success with the FLUX architecture suggests a promising path for improving control in other transformer-based generative models.
Summary updated