Abstract
Generative AI capabilities have grown substantially in recent years, raising renewed concerns about potential malicious use of generated data, or "deep fakes". However, deep fake datasets have not kept up with generative AI advancements sufficiently to enable the development of deep fake detection technology which can meaningfully alert human users in real-world settings. Existing datasets typically use GAN-based models and introduce spurious correlations by always editing similar face regions. To counteract the shortcomings, we introduce DETER, a large-scale dataset for DETEcting edited image Regions and deterring modern advanced generative manipulations. DETER includes 300,000 images manipulated by four state-of-the-art generators with three editing operations: face swapping, inpainting, and attribute editing. While face swapping and attribute editing are performed on similar face regions such as eyes and nose, the inpainting operation can be performed on random image regions, removing the spurious correlations of previous datasets. Careful image post-processing is performed to ensure deep fakes in DETER look realistic, and human studies confirm that human deep fake detection rate on DETER is 20.4% lower than on other fake datasets. Equipped with the dataset, we conduct extensive experiments and break-down analysis using our rich annotations and improved benchmark protocols, revealing future directions and the next set of challenges in developing reliable regional fake detection models.
Introduction
Deepfake detection is a high-stakes cat-and-mouse game where detectors are currently falling behind. Most existing benchmarks rely on older GAN-based architectures and focus almost exclusively on face-swapping. This creates two major issues: an architectural gap, as modern Diffusion Models (DMs) produce different artifacts than GANs, and spurious correlations. Because older datasets always edit the same regions (like eyes or noses), detectors learn "shortcuts"—assuming any face region is suspicious—leading to high false alarm rates on real images. For a detector to be useful in the real world, it must identify exactly which region was edited without flagging every human face it sees.
The DETER Dataset
The primary contribution of this work is the DETER (DETEcting edited image Regions) dataset. It consists of 300,000 manipulated images derived from approximately 39,000 real images from the CelebA and WiderFace datasets. DETER is the first large-scale regional deepfake dataset to incorporate Diffusion Models alongside GANs.
Unlike previous benchmarks like FaceForensics++ or Celeb-DF, DETER includes "inpainting" on arbitrary regions. This prevents models from simply memorizing where edits usually happen. To ensure the fakes are seamless, the authors used a rigorous pipeline involving Poisson fusion, color matching, and image sharpening to eliminate obvious boundary artifacts.
Methodology
The authors developed a regional editing approach categorized into three levels of granularity: Face Swapping (coarse), Inpainting (filling missing parts), and Attribute Editing (fine-grained changes like lip color). They employed four state-of-the-art generators: E4S and MAT for GANs, and DiffSwap and DiffIR for DMs.
To better evaluate real-world utility, they introduced a "region-based image-level classification accuracy" metric. This forces models to distinguish between real and manipulated images accurately, rather than just finding a "suspicious" box in every image they process.
Results and Analysis
Experimental results demonstrate that DETER is significantly more challenging than previous datasets. In a controlled study, humans were 20.4% less accurate at detecting fakes in DETER, proving the high visual quality of the manipulations.
A critical finding was the "Precision Gap." While standard models like Mask R-CNN achieved high recall (finding the fakes), their precision was often below 0.30 because they frequently flagged real images as fake. However, when models were trained using an "Improved Setup" that incorporated 140,000 real images as negative samples, precision jumped by more than 20% across almost all architectures.
Furthermore, the authors found that inpainting is harder to detect than face swapping, despite often involving larger edited areas. Because inpainting relies on the model's intrinsic understanding of the image rather than a reference face, it produces fewer obvious seams, making it a more robust test for modern detectors.
Conclusion and Future Work
DETER pushes deepfake detection beyond simple binary labels toward precise regional localization. By breaking spatial shortcuts and incorporating Diffusion Models, it provides a more realistic benchmark for developing reliable detectors. Future work will look to expand beyond human subjects to general object manipulation and extend these regional manipulations to video content. The community must continue to research features that are truly invariant to the location of an edit to close the gap between detecting a box and correctly identifying a real image.
Summary updated