ERASCORE: Reference-Free Evaluation of Scene-Consistent Object Removal

Yoojeong Lee, Sehwa Lee, Seogkyu Jeon, Kibeom HongarXiv 2026

TL;DR

How do you know if an AI successfully erased a tourist from your photo when you don't have a "clean" version of the empty street to compare against? Existing evaluation metrics get fooled by blurry smudges or plausible-looking hallucinations. ERASCORE solves this by treating the unedited parts of the original photo as a forensic memory bank—judging object removal more like a human than 29 competing metrics, including GPT-4o and Gemini-2.5-Pro, with zero training required.

What Problem Does This Paper Address?

Generative inpainting models are great at erasing unwanted objects and filling in the blanks. However, evaluating whether they actually did a good job is surprisingly tricky. A model might smear a texture, shift colors, or worse—erase a dog only to hallucinate a fire hydrant in its place.

Standard "full-reference" metrics need a ground-truth photo of the exact same scene without the object, which rarely exists in the wild (and unfairly penalizes other equally valid ways to fill the background). "No-reference" quality metrics just ask if the image looks natural—and a well-rendered, hallucinated fire hydrant looks very natural.

Recent reference-free removal metrics try to judge the filled-in hole using the surrounding context, but they make three design missteps:

  1. Source: They read context from the edited output, meaning if a model alters the area around the mask, it warps the very yardstick used to judge it.
  2. Scope: They only look immediately next to the hole, missing crucial clues further away in the scene.
  3. Representation: They average background features into a single mathematical soup—blending sky, wall, and floor into a vector that resembles none of them.
Figure 1. What each reference-free metric rewards. Four re- movals of the same visitor. In (a), the label in the fill is supported by labels elsewhere in the gallery, which only a scene-wide reference can reach. The other outputs blur the fill (b), shift its color (c), or insert a new person (d). The table gives the rank each metric assigns among these four outputs, and the top row ranks them by the mean rank of four raters. A check mark denotes a rank that matches the human rank. Only ERASCORE reproduces the human order across the clean fill, blurred fill, color shift, and hallucination.

Methods

ERASCORE flips all three choices: it pulls references strictly from the original image, looks across the entire unmasked scene, and keeps every background patch and region separate (like a memory bank) rather than averaging them. It requires no task-specific training or fitted weights, multiplying three distinct discrepancy scores ($\text{ERASCORE} = S \cdot P \cdot H$, where lower is better):

  • Semantic Discrepancy ($S$): Using frozen DINOv2 features, it checks every patch inside the filled hole against all unmasked patches in the original image ("Global Scene Keys"). If the model generates a wooden floorboard, $S$ asks: does something semantically like this exist anywhere else in the room?
  • Perceptual Discrepancy ($P$): Semantic encoders like DINOv2 are trained to ignore blur, meaning a smeared smudge can still pass the semantic test. $P$ repeats the patch-matching process using low-level VGG16 (LPIPS) features to catch blur, seams, and texture mismatches.
  • Geometry-Aware Hallucination Term ($H$): What if a model erases an object by copy-pasting another object from the same table? Patch-level checks ($S$ and $P$) will love it because those pixels genuinely belong to the scene! To catch this, $H$ uses the Segment Anything Model (SAM) and Depth Anything V2 to inspect whole object-like shapes inside the mask, penalizing structures that physically protrude in depth in front of the expected background surface.
Figure 2. Overview of ERASCORE. Patch-level Global Scene Keys (GSK) and region-level Scene Region Keys (SRK) are extracted from the unmasked scene of the original image. The semantic term S and the perceptual term P score patches of the removed region against GSK, and the hallucination term H scores object-like candidate regions against SRK using appearance and depth. The final score is S · P · H, and lower is better.

The authors also introduce ERASCORE-T, a lightweight variant that drops the heavy segmentation and depth networks. Instead, it reuses DINOv2 features to check if mathematical "residues" of the original target object leaked into the final image.

Datasets

ERASCORE requires no training data. For evaluation, the authors used 808 image-mask pairs across three existing benchmarks: RORD-Val (343 pairs), OBER-Test (163 pairs), and OBER-Wild (302 in-the-wild pairs lacking ground truth).

Importantly, the authors collected a massive new human preference dataset: 1,873 complete rankings from 117 participants, who ordered the outputs of eight different removal/inpainting models (such as OmniPaint, ObjectClear, CLIPAway, and BrushNet) from best to worst for every scene.

Key Insights and Ideas

  • Don't average the room: Keeping scene elements separate as retrievable keys was the single biggest driver of performance in ablations. One matching patch across the room—like a gallery wall label far from the erased visitor—is enough to validate a good fill without diluting local details.
  • Beating the "Ground Truth": On datasets that did have real ground-truth background photos, ERASCORE agreed with humans significantly better than full-reference metrics like DreamSim (0.6462 vs. 0.5364 Spearman correlation)—without ever seeing the ground truth! Comparing against a single real photo penalizes creative, valid completions that scene-wide retrieval accepts.
  • Multiplication beats tuning: Simply multiplying $S \cdot P \cdot H$ makes the score scale-invariant in log space, eliminating the need to tune arbitrary weights to human data.

Key Results

  • Top Human Agreement: Across all 808 samples, ERASCORE achieved a 0.6739 Spearman correlation (SRCC) with human rankings, outperforming all 29 baselines—including listwise multimodal LLM judges Gemini-2.5-Pro (0.6405) and GPT-4o (0.6302), and the best prior reference-free metric, ZCFD (0.5415).
  • Super-individual Consistency: When predicting a held-out human rater's opinion, ERASCORE performed better than a single other human rater (0.634 vs. 0.571 SRCC) and matched the consensus of three averaged raters.
  • 9x Speedup: ERASCORE-T achieved virtually identical overall correlation (0.6738 SRCC) while running ~9 times faster (0.33s vs. 2.93s per image on an RTX 4090) and using half the GPU memory (5.45 GB vs. 11.02 GB), though the full metric remains much sharper at catching subtle hallucinations from top-tier models (0.858 AUC for $H$ vs. 0.597 for ERASCORE-T).

Limitations and Future Work

  • Mask Blindness: ERASCORE only evaluates pixels inside the target mask. If an object's cast shadow or reflection lies outside the mask and isn't removed, the metric won't penalize it unless an extended "effect mask" is provided.
  • Large Masks & Bounded Penalties: On the top 25% largest masks—where most of the scene's reference context is missing—ERASCORE's lead over GPT-4o narrows to a statistical tie. Additionally, because $H$ is capped between 1 and 2, a severe but cleanly rendered hallucination might not always be pushed all the way to dead last.
  • Compute Dependencies: The full metric relies on four frozen foundation models, with SAM and Depth Anything V2 consuming nearly 90% of the runtime. The authors plan to release their full evaluation code to spur further research into reference-free evaluation.

Summary updated

BibTeX
@misc{lee2026erascore,
  author = {Yoojeong Lee and Sehwa Lee and Seogkyu Jeon and Kibeom Hong},
  title = {{ERASCORE: Reference-Free Evaluation of Scene-Consistent Object Removal}},
  year = {2026},
  eprint = {2611.37589},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.37589},
}
Figure