Towards Sustainable Universal Deepfake Detection with Frequency-Domain Masking
Chandler Timm C. Doloriel, Habib Ullah, Kristian Hovde Liland, Fadi Al Machot, Ngai-Man Cheung
TL;DR
The paper addresses the challenge of universal deepfake detection with low computational overhead. It proposes frequency-domain masking as a supervised training augmentation, alongside spatial masking, geometric transformations, and structured pruning, to foster generalizable representations that transfer across unseen generative models. Empirical results show frequency masking outperforms other augmentations, remains robust under pruning, and yields gains on both standard benchmarks and a specialized aquaculture dataset. The work highlights frequency-domain strategies as a practical path toward sustainable, scalable deepfake detection with real-world applicability.
Abstract
Universal deepfake detection aims to identify AI-generated images across a broad range of generative models, including unseen ones. This requires robust generalization to new and unseen deepfakes, which emerge frequently, while minimizing computational overhead to enable large-scale deepfake screening, a critical objective in the era of Green AI. In this work, we explore frequency-domain masking as a training strategy for deepfake detectors. Unlike traditional methods that rely heavily on spatial features or large-scale pretrained models, our approach introduces random masking and geometric transformations, with a focus on frequency masking due to its superior generalization properties. We demonstrate that frequency masking not only enhances detection accuracy across diverse generators but also maintains performance under significant model pruning, offering a scalable and resource-conscious solution. Our method achieves state-of-the-art generalization on GAN- and diffusion-generated image datasets and exhibits consistent robustness under structured pruning. These results highlight the potential of frequency-based masking as a practical step toward sustainable and generalizable deepfake detection. Code and models are available at: [https://github.com/chandlerbing65nm/FakeImageDetection](https://github.com/chandlerbing65nm/FakeImageDetection).
