Exposing the Fake: Effective Diffusion-Generated Images Detection
Ruipeng Ma, Jinhao Duan, Fei Kong, Xiaoshuang Shi, Kaidi Xu
TL;DR
This work tackles the security challenge of identifying diffusion-generated images by introducing Stepwise Error for Diffusion-generated Image Detection (SeDID). SeDID exploits the deterministic reverse and denoising properties of diffusion models by analyzing the stepwise error $E_{t,\delta}$ at a chosen timestep $T_{\textit{SE}}$ with stepsize $\delta$, using two branches: SeDID_Stat and SeDID_NNs. Across CIFAR10, TinyImageNet, and CelebA, SeDID demonstrates superior detection performance compared to a diffusion-based baseline, with the neural-network variant often delivering the best results in terms of AUC and ACC. The approach advances AI security by offering a robust detector that leverages intermediate diffusion dynamics and distributional differences between real and synthesized images, and it outlines concrete directions for extending the method to broader diffusion-model families and automated parameter selection.
Abstract
Image synthesis has seen significant advancements with the advent of diffusion-based generative models like Denoising Diffusion Probabilistic Models (DDPM) and text-to-image diffusion models. Despite their efficacy, there is a dearth of research dedicated to detecting diffusion-generated images, which could pose potential security and privacy risks. This paper addresses this gap by proposing a novel detection method called Stepwise Error for Diffusion-generated Image Detection (SeDID). Comprising statistical-based $\text{SeDID}_{\text{Stat}}$ and neural network-based $\text{SeDID}_{\text{NNs}}$, SeDID exploits the unique attributes of diffusion models, namely deterministic reverse and deterministic denoising computation errors. Our evaluations demonstrate SeDID's superior performance over existing methods when applied to diffusion models. Thus, our work makes a pivotal contribution to distinguishing diffusion model-generated images, marking a significant step in the domain of artificial intelligence security.
