R$^2$BD: A Reconstruction-Based Method for Generalizable and Efficient Detection of Fake Images
Qingyu Liu, Zhongjie Ba, Jianmin Guo, Qiu Wang, Zhibo Wang, Jie Shi, Kui Ren
TL;DR
R^2BD tackles the dual challenges of generalization and efficiency in fake image detection by introducing G-LDM, a unified reconstruction model that bridges GANs, VAEs, and diffusion pathways, and a residual bias mechanism that enables single-step detection. The approach combines one-step residual bias signals in both RGB and latent spaces with a lightweight two-stream classifier, achieving rapid inference (~0.706 s per image) while delivering strong cross-paradigm performance. Across extensive benchmarks spanning GANs, pixel-space diffusion, and latent-diffusion models, R^2BD demonstrates superior generalization (especially under hybrid training) and robustness to common degradations, addressing a key practical bottleneck of prior reconstruction-based detectors. The work provides a scalable, cross-paradigm detection framework with significant implications for real-time AIGC forensics and content authentication.
Abstract
Recently, reconstruction-based methods have gained attention for AIGC image detection. These methods leverage pre-trained diffusion models to reconstruct inputs and measure residuals for distinguishing real from fake images. Their key advantage lies in reducing reliance on dataset-specific artifacts and improving generalization under distribution shifts. However, they are limited by significant inefficiency due to multi-step inversion and reconstruction, and their reliance on diffusion backbones further limits generalization to other generative paradigms such as GANs. In this paper, we propose a novel fake image detection framework, called R$^2$BD, built upon two key designs: (1) G-LDM, a unified reconstruction model that simulates the generation behaviors of VAEs, GANs, and diffusion models, thereby broadening the detection scope beyond prior diffusion-only approaches; and (2) a residual bias calculation module that distinguishes real and fake images in a single inference step, which is a significant efficiency improvement over existing methods that typically require 20$+$ steps. Extensive experiments on the benchmark from 10 public datasets demonstrate that R$^2$BD is over 22$\times$ faster than existing reconstruction-based methods while achieving superior detection accuracy. In cross-dataset evaluations, it outperforms state-of-the-art methods by an average of 13.87\%, showing strong efficiency and generalization across diverse generative methods. The code and dataset used for evaluation are available at https://github.com/QingyuLiu/RRBD.
