Style-Editor: Text-driven object-centric style editing
Jihun Park, Jongmin Gim, Kyoungmin Lee, Seunghun Lee, Sunghoon Im
TL;DR
This work tackles text-guided, object-centric image editing by editing only the targeted object's appearance while preserving the background. It introduces Style-Editor, a CLIP-guided pipeline that localizes object regions via Text-Matched Patch Selection (TMPS) and Pre-fixed Region Selection (PRS) and applies a Patch-wise Co-Directional (PCD) loss to align style changes with textual input, complemented by an Adaptive Background Preservation (ABP) loss. The method yields robust foreground fidelity and natural background preservation, without relying on segmentation masks, through an effective combination of patch-level terminology and distribution alignment (via $L_{pcd}$ and $L_{con}$) and adaptive masking. Experimental results on MSCOCO show state-of-the-art object-centric stylization with coherent CLIP alignment and competitive efficiency, highlighting the approach’s practicality for editorial workflows and creative exploration.
Abstract
We present Text-driven object-centric style editing model named Style-Editor, a novel method that guides style editing at an object-centric level using textual inputs. The core of Style-Editor is our Patch-wise Co-Directional (PCD) loss, meticulously designed for precise object-centric editing that are closely aligned with the input text. This loss combines a patch directional loss for text-guided style direction and a patch distribution consistency loss for even CLIP embedding distribution across object regions. It ensures a seamless and harmonious style editing across object regions. Key to our method are the Text-Matched Patch Selection (TMPS) and Pre-fixed Region Selection (PRS) modules for identifying object locations via text, eliminating the need for segmentation masks. Lastly, we introduce an Adaptive Background Preservation (ABP) loss to maintain the original style and structural essence of the image's background. This loss is applied to dynamically identified background areas. Extensive experiments underline the effectiveness of our approach in creating visually coherent and textually aligned style editing.
