Abstract
As diffusion models achieve unprecedented realism in image generation, the need for robust and generalizable detection methods grows. Current detectors often overfit to specific model architectures or fail under common image perturbations. This paper introduces the Frequency Forgery Clue ($F^2C$), a novel representation that leverages the statistical discrepancies in high-frequency bands between real and diffusion-generated images. By amplifying these discriminative frequency components, the proposed method achieves state-of-the-art cross-model generalization and exceptional robustness against noise and compression.
Introduction: The Challenge of Diffusion Forgery
Diffusion models like Stable Diffusion, Midjourney, and DALL-E 2 have revolutionized content creation but also introduced significant risks regarding misinformation and deepfakes. Existing forensic tools struggle with two primary issues: overfitting to training model fingerprints and fragility under post-processing like JPEG compression or blurring. To address these, researchers have identified a more fundamental and universal clue: the statistical signature left in the frequency domain during the iterative denoising process.
Methodology: The $F^2C$ Pipeline
The core innovation is the Frequency Forgery Clue ($F^2C$) representation. The method identifies that while diffusion models accurately replicate low-frequency global structures, they consistently fail to match the high-frequency statistics of natural images.
The $F^2C$ approach follows a three-step process:
- Frequency Analysis: Images are converted to the frequency domain using a Discrete Fourier Transform (DFT). Analysis reveals that the discrepancy between real and fake images increases significantly in mid-to-high frequency bands.
- Frequency-Selective Filtering: A weighting function $w(f)$ is applied to the Fourier spectrum. This filter suppresses non-discriminative low frequencies and uses a quadratic kernel to amplify the high-frequency regions where forgery clues are most prominent.
- Spatial Reconstruction and Classification: The filtered spectrum is mapped back to the spatial domain via an Inverse DFT (IDFT) to create the $F^2C$ map. This map is then processed by a standard ResNet-50 classifier to determine the image's authenticity.
Key Insights: Why It Works
The paper attributes the frequency gap to the denoising process. As the diffusion process approaches the final steps ($t \to 0$), the optimization objective makes it increasingly difficult for the network to reconstruct fine-grained, high-frequency details perfectly. This creates a persistent statistical "gap" that is model-agnostic. By focusing on these frequency power spectra rather than raw pixels, the detector remains neutral to image content (e.g., distinguishing a fake cat from a fake car using the same underlying artifacts).
Results and Robustness
The $F^2C$ method demonstrates remarkable performance across several benchmarks:
- Generalization: When trained on a single model (ADM) and tested on unseen models like Midjourney, it maintains an average accuracy of 99.91%, significantly outperforming existing methods like DIRE or NPR.
- Robustness: The detector is highly resilient to common perturbations. While other models see sharp performance drops under Gaussian noise or heavy JPEG compression, $F^2C$ maintains near-perfect accuracy.
- Cross-Architecture Success: Interestingly, the method also performs well on GAN-generated images, suggesting that high-frequency statistical anomalies are a common trait across various generative architectures.
Conclusion
The Frequency Forgery Clue ($F^2C$) provides a simple, deterministic, and highly effective preprocessing step for deepfake detection. By isolating the specific frequency bands where generative models struggle, it offers a robust defense against the evolving landscape of AI-generated misinformation. Future work may explore adaptive attacks or extending this frequency-based logic to video and audio synthesis.
Summary updated