NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Frequency-Aware Deepfake Detection: Improving Generalizability through Frequency Space Domain Learning

Chuangchuang Tan, Yao Zhao, Shikui Wei, Guanghua Gu, Ping Liu, Yunchao Wei

Abstract

Deepfake detection faces a significant challenge in generalizability, as models often overfit to specific artifacts of training data. FreqNet addresses this by shifting the detection process into the frequency domain. By leveraging high-frequency representations and a novel Frequency Convolutional Layer (FCL), FreqNet achieves superior performance across diverse generative models with significantly fewer parameters than existing state-of-the-art methods.

The Challenge of Generalizability in Deepfake Detection

The rapid evolution of Generative Adversarial Networks (GANs) has created a "cat-and-mouse" game for detectors. Most existing systems excel at identifying fakes from the specific GANs they were trained on but fail when encountering new, unseen architectures. This failure stems from overfitting to model-specific "fingerprints"—artifacts created during the up-sampling process.

To build a truly universal detector, we must identify features common to all forgeries but absent in real images. Research suggests these cues are often hidden in the high-frequency components of images, where structural inconsistencies and periodic artifacts are most prominent.

Frequency spectra comparison between real datasets and GAN-generated images showing distinct artifact patterns.

The FreqNet Framework

FreqNet is designed to prioritize frequency-space learning through three core components:

  1. High-Frequency Representation of Image (HFRI): The input image undergoes high-pass filtering via Fast Fourier Transform (FFT) to isolate fine-grained textures and artifacts, removing distracting low-frequency content like global shapes.
  2. High-Frequency Representation of Feature (HFRF): High-pass filtering is applied internally to feature maps across both spatial and channel dimensions, ensuring the network maintains focus on high-frequency details throughout its depth.
  3. Frequency Convolutional Layer (FCL): Unlike standard spatial convolutions, the FCL operates directly in the frequency domain. It processes the phase and amplitude spectra separately before reconstructing the feature map using an inverse FFT (iFFT). This allows the model to capture structural inconsistencies (phase) and artifact intensity (amplitude) that are invisible to traditional filters.
Comparison of conventional frequency-based methods versus the proposed FreqNet architecture.

Experimental Evaluation

The authors evaluated FreqNet using a rigorous cross-model benchmark:

  • Training: The model was trained on the ForenSynths dataset (ProGAN), specifically restricted to a few categories (e.g., "horse", "chair") to test its ability to learn from limited data.
  • Testing: Performance was measured across 17 different GAN models, including StyleGAN2, BigGAN, and CycleGAN, as well as a large-scale face dataset (CelebA-HQ vs. various generators).

Key Results and Insights

  • Efficiency and Performance: FreqNet utilizes only 1.9 million parameters—a 150x reduction compared to previous state-of-the-art models (304M parameters)—while achieving a 9.8% improvement in mean accuracy across the 17-model benchmark.
  • Universal Forgery Cues: Even when trained only on specific objects like horses, FreqNet successfully detected deepfake faces. This indicates that the model learns fundamental "synthetic-ness" rather than object-specific features.
  • Robustness: FreqNet maintained high performance (e.g., 98.1% A.P. on StyleGAN2) where competing models showed significant degradation, proving the effectiveness of frequency-domain learning for generalization.

Conclusion and Future Directions

FreqNet demonstrates that architectural specialization in the frequency domain is more effective for deepfake detection than brute-force model scaling. While highly effective against GAN-based forgeries, future work must address the unique frequency signatures of Diffusion Models (e.g., DALL-E 3). Additionally, investigating the model's resilience to adversarial attacks remains a critical area for ensuring real-world reliability.

Summary updated

BibTeX
@inproceedings{tan2024frequency,
  author = {Chuangchuang Tan and Yao Zhao and Shikui Wei and Guanghua Gu and Ping Liu and Yunchao Wei},
  title = {{Frequency-Aware Deepfake Detection: Improving Generalizability through Frequency Space Domain Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i5.28310},
}
Figure