Can You Find the Edit When Nothing Looks Wrong? A Paired Benchmark for Text-Driven Image Manipulation Localization Beyond Semantic Abnormality

Peiyu Zhuang, Jianquan Yang, Zhuoying Cai, Yi Jiang, Yingquan Chen, Xinle Wang, Zeqin Yu, Dongdong Lin, Ruitao Xie, Kaige Li, Xiaochun CaoarXiv 2026

TL;DR

Image forensics models are supposed to detect invisible digital footprints—like altered noise patterns or compression artifacts—to pinpoint where a photo has been edited. By testing AI detectors on matched pairs of realistic vs. bizarre edits, this paper reveals a major blind spot: detectors lean heavily on semantic weirdness rather than pure forensics. When an AI edit blends seamlessly into the scene (like swapping one motorcycle cargo cage for another, rather than for a giant house cat), detectors suddenly struggle to find it.

What Problem Does This Paper Address?

With modern text-driven image editors, altering reality is effortless. The job of Image Manipulation Localization (IML) models is to act as digital detectives, outputting a pixel-by-pixel mask showing where an image was tampered with.

Ideally, a reliable forensic localizer shouldn't care what was edited in—only that pixels were synthesized. However, existing IML benchmarks evaluate models on independent, unmatched collections of fake images, mixing together different source photos, editing tools, and object sizes. Because of this, aggregate accuracy scores hide a critical question: are detectors actually reading low-level forensic traces, or are they taking a "semantic-plausibility shortcut"—flagging regions simply because they look out of place, physically impossible, or bizarre?

Localization predictions on a plausible replacement edit, showing detectors struggling when the scene looks ordinary.

Methods

To isolate the effect of semantic plausibility, the authors designed a controlled scientific test using matched pairs via a two-stage pipeline:

  1. Prompt Pair Generation: Using a multimodal LLM (Qwen3.5-9B), the system analyzes a real photograph, picks a target object, and writes two replacement prompts in both English and Chinese. One prompt asks for a plausible replacement that fits right in; the other asks for an anomalous replacement based on a structured six-part taxonomy of anomalies (violating physical attributes, object function, biological structure, spatial relations, interactions, or scene context).
  2. Controlled Editing & Mask Filtering: Both prompts are fed into the exact same AI image editor under identical generation settings. Next, an automated tool (SIGMA) generates a ground-truth pixel mask for each edited output. Crucially, the pipeline only keeps pairs where the plausible mask and anomalous mask have an Intersection-over-Union (IoU—a standard measure of spatial overlap) of at least 0.5. This ensures both edits modify roughly the same region, holding everything constant except how "normal" the result looks.
In contrast to the plausible edit above, TruFor easily localizes an anomalous giant cat edit on the exact same target region (IoU 0.920 vs. 0.000).

Datasets

The authors introduce PAPE (Plausible–Anomalous Paired Edits), a test-only evaluation benchmark containing 47,747 bilingual triplets (95,494 edited images with pixel masks).

  • Sources: Built from 6,500 real photographs sampled across COCO, ImageNet, and Places.
  • Editors: Generated across four public instruction-driven editors: Qwen-Image-Edit, FireRed-Image-Edit, LongCat-Image-Edit, and Flux.2-dev.
  • Additional Test Cohorts: The authors also curated 1,341 stylized cartoon edit pairs and 500 un-edited real-world photos containing optical illusions or confusing perspectives to test false-positive rates.
  • How it differs: Unlike prior datasets (such as MIML, OpenSDI, or LocateEdit) that score single independent edits, PAPE makes the plausible-vs-anomalous contrast on the exact same source target the core unit of evaluation.

Key Insights and Ideas

  • Forensic detectors are secretly "weirdness" detectors: Even architectures explicitly designed around low-level forensic cues—like RGB-noise fusion (TruFor) or compression artifacts (CAT-Net)—suffer significant performance drops when the edited object looks ordinary.
  • It’s not a pixel-magnitude illusion: One might guess anomalous edits (like turning a ceramic mug into liquid) change pixel colors more drastically or cover larger areas than plausible ones. However, when the authors strictly filtered for nearly identical pixel-change magnitudes and mask sizes, the accuracy gap persisted.
  • Unedited optical illusions fool detectors: When shown 500 real, unmanipulated photos that merely look strange due to forced perspective or odd angles, detectors frequently hallucinated fake regions—flagging up to 11.99% of an authentic image's area as manipulated.
  • Visual realization drives the shortcut: A human audit found that AI editors failed to visibly render the requested anomaly about 25.6% of the time. On those "unrealized" anomalies (where both outputs accidentally looked normal), the performance gap between pairs vanished for most models—proving that visible semantic abnormality is what triggers better detection.

Key Results

The authors evaluated nine public localizers (spanning forensic, visual-representation, and multimodal LLM families) plus one commercial API (TextIn):

  • Near-universal drop on plausible edits: Editor-averaged IoU was lower on plausible edits in 26 out of 27 model–dataset comparisons (the sole outlier being CAT-Net on COCO, which scored poorly—around 0.05 IoU—on both).
  • Substantial relative drops: On COCO, relative IoU dropped by 6.2% to 37.8% across eight of the nine models when moving from anomalous to plausible edits (e.g., TruFor dropped by 25.5%, and multimodal SIDA-7B dropped by 37.8%).
  • Strict controls hold up: When matching pixel-change similarity ($\ge 0.9$) or mask-area similarity ($\ge 0.9$), positive performance gaps remained in 25/27 and 26/27 comparisons, respectively.
  • Beyond standard photos: All nine public models showed the exact same plausible-edit deficit on stylized cartoon images (relative drops of 8.1% to 57.2%), and the commercial service TextIn showed a 41.2% relative IoU drop on audited pairs.

Limitations and Future Work

  • Automated masks & imperfect editors: Ground-truth masks rely on automatic estimation (though human experts rated them highly, ~4.58/5), and image editors only successfully rendered the intended semantic anomaly in 74.4% of audited cases, leaving room for tighter human verification.
  • Narrow edit scope: PAPE currently focuses strictly on object replacements mostly within photographs; expanding to object removal, style transfer, and other visual domains is a natural next step.
  • Subtle editor traces: While the paired setup controls for major generation settings, editors might still leave subtly different low-level traces when synthesizing out-of-distribution concepts. Future work can use PAPE to design new training objectives that force forensic models to ignore scene semantics and focus on true manipulation traces.

Summary updated

Abstract

Instruction-driven image editing can alter a photograph while keeping the result coherent with the scene. Existing benchmarks lack matched plausible and anomalous edits of the same target, making it difficult to measure how localization performance changes with semantic plausibility. We construct a paired benchmark by generating semantically plausible and anomalous replacements of the same target in each source photograph. Both edits use the same editor, language, and generation settings. We estimate a separate mask for each output and retain pairs with sufficient mask overlap, enabling direct comparison of localization performance under the two semantic conditions. The release contains 47,747 bilingual triplets from 6,500 photographs, spanning four editors, three source domains, and six intended violation types. Across nine public localizers, editor-averaged IoU is lower on plausible edits in 26 of 27 model-dataset comparisons. This gap persists under pixel-change controls and region-size analyses. These findings reveal a semantic-plausibility shortcut: localization often weakens when an edited result looks ordinary. The benchmark provides a controlled setting for measuring this gap and developing localizers that remain effective on plausible edits.
BibTeX
@misc{zhuang2026can,
  author = {Peiyu Zhuang and Jianquan Yang and Zhuoying Cai and Yi Jiang and Yingquan Chen and Xinle Wang and Zeqin Yu and Dongdong Lin and Ruitao Xie and Kaige Li and Xiaochun Cao},
  title = {{Can You Find the Edit When Nothing Looks Wrong? A Paired Benchmark for Text-Driven Image Manipulation Localization Beyond Semantic Abnormality}},
  year = {2026},
  eprint = {2611.32242},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32242},
}
Figure