PixLens: A Novel Framework for Disentangled Evaluation in Diffusion-Based Image Editing with Object Detection + SAM
Stefan Stefanache, Lluís Pastor Pérez, Julen Costa Watanabe, Ernesto Sanchez Tejedor, Thomas Hofmann, Enis Simsar
TL;DR
PixLens presents an automatic, task-aware benchmark for diffusion-based text-guided image editing that overcomes limitations of CLIP- and FID-centric evaluations by integrating SAM-based detection with segmentation masks to assess edit quality, subject preservation, and background fidelity. It introduces a nine-edit-type pipeline with continuous scoring, multiplicity handling, and a disentanglement analysis to understand how latent representations map to edits. The framework demonstrates stronger alignment with human judgments than prior benchmarks (e.g., EditVAL) and reveals that spatial edits remain challenging across models, while disentanglement metrics correlate with editing performance for several state-of-the-art methods. By preprocessing external datasets (MagicBrush) and providing detailed supplementary material, PixLens offers a scalable, component-wise approach that enables developers to diagnose and improve editing models in a realistic, post-edit evaluation setting.
Abstract
Evaluating diffusion-based image-editing models is a crucial task in the field of Generative AI. Specifically, it is imperative to assess their capacity to execute diverse editing tasks while preserving the image content and realism. While recent developments in generative models have opened up previously unheard-of possibilities for image editing, conducting a thorough evaluation of these models remains a challenging and open task. The absence of a standardized evaluation benchmark, primarily due to the inherent need for a post-edit reference image for evaluation, further complicates this issue. Currently, evaluations often rely on established models such as CLIP or require human intervention for a comprehensive understanding of the performance of these image editing models. Our benchmark, PixLens, provides a comprehensive evaluation of both edit quality and latent representation disentanglement, contributing to the advancement and refinement of existing methodologies in the field.
