cs.CVJan 30, 2026

AI-Generated Image Detectors Exploit Global Artifacts: Evidence from Inpainting Exchange

Authors: Elif Nebioglu, Emirhan Bilgiç, Adrian Popescu

Organizations: Independent Researcher · Université Sorbonne, Pierre et Marie Curie, ISIR · Institut Polytechnique de Paris, U2IS · Université Paris-Saclay, CEA, LIST

Abstract

Modern diffusion-based inpainting enables realistic, localized image manipulation, raising critical challenges for reliable detection. We show that state-of-the-art AI-generated image detectors largely fail to identify what was synthesized and instead exploit a global artifact introduced as a side effect of the generation pipeline: latent-diffusion inpainting passes the entire image through a VAE encoder--decoder, inducing a subtle but pervasive spectral shift even in unedited regions. We turn this observation into a simple, model-free diagnostic, Inpainting Exchange (INP-X), that restores the original pixels outside the edited region while preserving all synthesized content. To study the effect at scale, we build a benchmark of 3030K matched real, standard-inpainted, and exchanged triplets (9090K images) spanning four datasets and three inpainters. INP-X requires no model access and is a single compositing step, yet it collapses pretrained detectors, commercial APIs, and bias-aware methods toward chance (commercial APIs: >$$90\%\!\to\!\sim$$55\%; the bias-aware DDA: 97.6% ⁣→ ⁣58.4%97.6\%\!\to\!58.4\%). We give formal propositions linking the effect to high-frequency attenuation from the VAE information bottleneck, and we causally isolate it with a factorial battery and a variance decomposition that attributes 97%97\% of the background spectral shift to the autoencoder round-trip alone. A perceptual study (n=153n{=}153) shows the shift is also perceptible to humans, whose accuracy falls from 63.8%63.8\% to 56.2%56.2\% (p=0.002p{=}0.002): significantly reduced, though not eliminated. Finally, we show that mechanism-driven mitigations (mixed-distribution and localization-supervised training) improve robustness, but detecting INP-X edits remains an open problem. Our benchmark and code are available at: https://github.com/emirhanbilgic/INP-X

Figures & tables

Appendix figures & tables27 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. FUSED: Forensic-Semantic Mixture-of-Experts for AI Inpainting Detection and Localization

    Aug 28, 2026Anton Nuzhdin, Marcel Worring, Ivona NajdenkoskaAI-Generated Image DetectionImage Forgery Detection

  2. DailyBench: A Unified Benchmark for AI-Generated and Manipulated Images from Modern Generative Models

    Jul 27, 2026Xin Jiang, Hao Tang, Junyao Gao +6Image Forgery DetectionAI-Generated Image Detection

  3. SPARED: Reasoning-Based AI-Generated Image Detection via Adversarially Edited Data

    Aug 13, 2026Yicheng Bao, Xiahui Guo, Xuhong Wang +1Adversarial TrainingAdversarial Examples