Preserve or Modify? Context-Aware Evaluation for Balancing Preservation and Modification in Text-Guided Image Editing
Yoonjeon Kim, Soohyun Ryu, Yeonsung Jung, Hyunkoo Lee, Joowon Kim, June Yong Yang, Jaeryong Hwang, Eunho Yang
TL;DR
AugCLIP tackles the context-blindness problem in evaluating text-guided image edits by introducing a context-aware metric that balances preservation and modification. It uses a multi-modal language model to extract source and target attributes, embeds them in CLIP space, and learns a separating hyperplane to define an ideal, minimally modified edit via a vector v. The score compares the edited image to this ideal representation, preserving core source content while aligning with the target text, and is shown to correlate strongly with human judgments across diverse datasets, including personalized generation scenarios. This approach provides a robust, scalable tool for evaluating text-guided edits with improved reliability over existing metrics, enabling more consistent comparisons of editing methods and guiding model development.
Abstract
The development of vision-language and generative models has significantly advanced text-guided image editing, which seeks the preservation of core elements in the source image while implementing modifications based on the target text. However, existing metrics have a context-blindness problem, indiscriminately applying the same evaluation criteria on completely different pairs of source image and target text, biasing towards either modification or preservation. Directional CLIP similarity, the only metric that considers both source image and target text, is also biased towards modification aspects and attends to irrelevant editing regions of the image. We propose AugCLIP, a context-aware metric that adaptively coordinates preservation and modification aspects, depending on the specific context of a given source image and target text. This is done by deriving the CLIP representation of an ideally edited image, that preserves the source image with necessary modifications to align with target text. More specifically, using a multi-modal large language model, AugCLIP augments the textual descriptions of the source and target, then calculates a modification vector through a hyperplane that separates source and target attributes in CLIP space. Extensive experiments on five benchmark datasets, encompassing a diverse range of editing scenarios, show that AugCLIP aligns remarkably well with human evaluation standards, outperforming existing metrics. The code is available at https://github.com/augclip/augclip_eval.
