TL;DR
MatReplace is a new reference-free benchmark designed to evaluate generative image editors on the specific task of material replacement in interior scenes. By breaking evaluation down into four independently verifiable dimensions across three distinct conditioning tracks, it reveals that while text-to-material editing is highly advanced, grounding materials from reference image pixels remains a major open challenge for current AI models.
What Problem Does This Paper Address?
Material replacement—such as swapping a bedroom headboard to navy suede or a kitchen floor to herringbone oak—is a bread-and-butter workflow for interior designers. While the task seems straightforward, evaluating how well an AI image editor performs it is surprisingly difficult.
Existing benchmarks typically lump material replacement into broad image-editing categories and score models using reference-based metrics (i.e., comparing the AI's output to a single pre-stored "ground truth" image). The authors argue that this traditional approach suffers from three major flaws:
- It punishes valid diversity: Material replacement is an inherently one-to-many task; there are dozens of ways to render a valid "navy suede," and penalizing a model for not matching one specific reference image is unfair.
- It introduces generator bias: If the reference images are generated by a specific AI model, the metric inherently rewards models that mimic that specific generator's style.
- It conflates model quality with input signals: Models given different levels of guidance (e.g., just text vs. text plus a spatial mask) are often crammed onto the same leaderboard, making fair comparison impossible.
Methods
To eliminate reference bias, MatReplace introduces a reference-free evaluation protocol. Instead of comparing the output to a golden example, it evaluates the edited image ($\hat{y}$) directly against the task inputs across four distinct, checkable dimensions:
- Material Correctness ($S_{mat}$): Uses zero-shot SigLIP2 classification combined with DINOv2 feature similarity to verify if the target material actually appears inside the designated zone.
- Outside Preservation ($S_{pres}$): Employs LPIPS to ensure that every pixel outside the target area remains completely unaltered.
- Inside Structure ($S_{struct}$): Uses Depth Anything V2 to calculate the absolute-relative depth error, ensuring the object's original 3D geometry isn't warped or re-sculpted during the texture swap.
- Lighting Harmony ($S_{harm}$): Correlates low-pass luminance fields to verify that the new material respects the scene's original illumination (e.g., shadows and highlights) and checks for unnatural boundary artifacts like halos.
To fairly evaluate different guidance modalities, the benchmark splits models into three distinct Conditioning Tracks:
- Track A (Instruction): Input scene + text prompt describing the change.
- Track B (Instruction + Mask): Input scene + spatial mask + text prompt.
- Track C (Mask + Reference): Input scene + spatial mask + an image swatch of the target material (no text allowed).
Datasets
The authors introduce the MatReplace benchmark dataset, which contains 1,421 frozen task specifications.
The dataset spans:
- 10 material categories: Fabric, wood, marble, stone, metal, leather, rattan, etc.
- 6 surface types: Furniture, walls, countertops, fireplaces, floors, etc.
The dataset was constructed using a VLM agent to drive an image generator, creating candidate scenes, masks, and material swatches. This was followed by a strict two-pass audit (algorithmic and semantic) to filter out misaligned masks, watermarks, and broken geometries, ensuring a clean and reliable evaluation split.
Key Insights and Ideas
- Text-Driven Editing is Solved; Pixel-Driven Grounding is Broken: Top-tier closed models are incredibly good at rendering materials when they are named in text (Track A). However, when the material is specified via pixels (Track C swatch), performance collapses across every single model family.
- Masks Only Help Weak Models: Intuitively, providing a precise spatial mask should always improve an edit. However, MatReplace reveals that masks only benefit models that are inherently poor at background preservation (like FLUX-Kontext). For state-of-the-art closed models, text alone is enough; adding a mask provides zero statistical benefit.
- Catastrophic Role-Binding Failures: In Track C, multi-image models frequently confuse the roles of their inputs. Instead of applying the material swatch to the room scene, models like BAGEL-7B often end up repainting the reference swatch itself or treating it like a flat, unlit sticker.
Key Results
- Closed Models Dominate Track A: Commercial closed-source models lead the pack. On the primary "gated" aggregate metric, Nano-Banana-2-Lite (0.760) and GPT-Image-2 (0.739) both outperformed the benchmark's own stored human-vetted exemplar anchor (0.729).
- The Track C Collapse: Moving from text-and-mask (Track B) to reference-image (Track C) caused massive performance drops for all models, with scores plunging by anywhere from $-0.031$ to $-0.508$.
- Falling Below the "Do-Nothing" Floor: In Track C, unified open models like OmniGen2-ref (0.204) and BAGEL-7B (0.062) performed worse than a baseline that simply returns the unmodified input image (which scores 0.236).
- Human Alignment: Expert human preference ratings strongly validated the benchmark, correlating with the reference-free gated metric at Kendall’s $\tau = 0.68$, significantly outperforming traditional baselines like CLIPScore or LPIPS-to-exemplar.
Limitations and Future Work
- Synthetic and Single-Source Data: All base images in the benchmark were generated by a single model (GPT-Image-2). While the reference-free scoring protocol eliminates evaluation bias, the benchmark's transferability to real-world photographs remains unverified.
- Selection Bias: The dataset curation process rejected roughly 30% of candidate tasks because the initial generator failed to produce an aligned mask, potentially under-representing highly complex or ambiguous scenes.
- Taxonomy Imbalance: The dataset is heavily skewed toward furniture (825 out of 1,421 tasks), meaning conclusions regarding walls, floors, and countertops rest on smaller sample sizes. Future iterations aim to incorporate diverse real-world photography.
Summary updated