cs.CVFeb 27, 2026

A Difference-in-Difference Approach to Detecting AI-Generated Images

Authors: Xinyi Qi, Kai Ye, Chengchun Shi, Ying Yang, Hongyi Zhou, Jin Zhu

Organizations: The London School of Economics and Political Science · University of Birmingham

Abstract

Diffusion models are able to produce AI-generated images that are almost indistinguishable from real ones. This raises concerns about their potential misuse and poses substantial challenges for detecting them. Many existing detectors rely on reconstruction error -- the difference between the input image and its reconstructed version -- as the basis for distinguishing real from fake images. However, these detectors become less effective as modern AI-generated images become increasingly similar to real ones. To address this challenge, we propose a novel difference-in-difference method. Instead of directly using the reconstruction error (a first-order difference), we compute the difference in reconstruction error -- a second-order difference -- for variance reduction and improving detection accuracy. Extensive experiments demonstrate that our method achieves strong generalization performance, enabling reliable detection of AI-generated images in the era of generative AI.

Figures & tables

Explore similar work

CardsList
  1. RAID: Towards Robust AI-Generated Image Detection with Bit-Reversed Images

    Jul 31, 2026Renxi Cheng, Jie Gui, Hongsong WangImage Forgery DetectionDigital Image Forensics

  2. FIND: A Simple yet Effective Baseline for Diffusion-Generated Image Detection

    Mar 15, 2026Jie Li, Yingying Feng, Chi Xie +3Image Forgery DetectionAI-Generated Image Detection

  3. Intermediate Representations are Strong AI-Generated Image Detectors

    May 5, 2026Zhenhan Huang, Pin-Yu Chen, Tejaswini Pedapati +1AI-Generated Image Detection