Skip to main content
QUICK REVIEW

[Paper Review] BiHPF: Bilateral High-Pass Filters for Robust Deepfake Detection

Yonghyun Jeong, Doyeon Kim|arXiv (Cornell University)|Aug 16, 2021
Generative Adversarial Networks and Image SynthesisComputer Science7 citations
TL;DR

This paper proposes BiHPF, a novel bilateral high-pass filtering mechanism that enhances cross-domain generalization in deepfake detection by amplifying frequency-domain artifacts unique to GAN-generated images. By combining frequency-level and pixel-level high-pass filtering, BiHPF improves detection robustness across unseen GAN models, object categories, and color manipulations, achieving state-of-the-art performance even under domain shift.

ABSTRACT

The advancement in numerous generative models has a two-fold effect: a simple and easy generation of realistic synthesized images, but also an increased risk of malicious abuse of those images. Thus, it is important to develop a generalized detector for synthesized images of any GAN model or object category, including those unseen during the training phase. However, the conventional methods heavily depend on the training settings, which cause a dramatic decline in performance when tested with unknown domains. To resolve the issue and obtain a generalized detection ability, we propose Bilateral High-Pass Filters (BiHPF), which amplify the effect of the frequency-level artifacts that are known to be found in the synthesized images of generative models. Numerous experimental results validate that our method outperforms other state-of-the-art methods, even when tested with unseen domains.

Motivation & Objective

  • Address the critical need for generalized deepfake detection that performs well on unseen domains, including diverse GAN models, object categories, and color manipulations.
  • Overcome the limitations of existing methods that suffer from severe performance drops when tested on data outside their training distribution.
  • Identify and exploit consistent, generalizable frequency-domain artifacts in synthesized images as a basis for robust detection.
  • Develop a simple yet effective filtering mechanism that enhances artifact visibility without relying on domain-specific features or complex architectures.
  • Achieve state-of-the-art performance in both face and non-face image detection while maintaining strong cross-domain generalization.

Proposed method

  • Propose Bilateral High-Pass Filters (BiHPF), a two-stage filtering mechanism: a frequency-level high-pass filter (HPF) to emphasize high-frequency artifacts and a pixel-level HPF using a Laplacian of Gaussian (LoG) filter to highlight edge and background artifacts.
  • Train a classification network adversarially to generate an artifact compression map, which is used to identify and isolate frequency-domain artifacts in GAN-generated images.
  • Use the magnitude spectrum of the Fourier-transformed image as input to the classifier after applying BiHPF, focusing on high-frequency components where artifacts are most prominent.
  • Control the frequency-level HPF via a cut-off frequency $w_c$ and the pixel-level HPF via the variance $\sigma^2$ of the LoG filter, with $\sigma = 0.01$ found optimal through ablation.
  • Apply the BiHPF process to both RGB and grayscale images to evaluate the impact of color information on cross-domain performance.
  • Train and evaluate using ResNet-50 as the backbone network, with performance measured via accuracy (Acc.) and average precision (A.P.) on test and cross-domain sets.

Experimental results

Research questions

  • RQ1Can frequency-domain artifacts in GAN-generated images be consistently exploited to improve cross-domain deepfake detection?
  • RQ2How does the combination of frequency-level and pixel-level high-pass filtering enhance detection robustness across diverse GAN models and image categories?
  • RQ3To what extent does color information in input images hinder the generalization of deepfake detectors?
  • RQ4How sensitive is the detection performance to hyperparameters such as the LoG filter variance $\sigma$?
  • RQ5Does removing high-frequency components via a low-pass filter significantly degrade detection performance, confirming the importance of high-frequency artifacts?

Key findings

  • BiHPF achieves 99.6% accuracy and 99.5% average precision on the test category when using RGB images as input, demonstrating strong in-domain performance.
  • On unseen cross-categories, BiHPF achieves 68.2% accuracy and 68.1% average precision using frequency-level magnitude spectrum input, significantly outperforming baseline methods.
  • The optimal hyperparameter for the LoG filter is $\sigma = 0.01$, as performance degrades when $\sigma$ deviates from this value, especially in cross-domain settings.
  • Replacing the frequency-level HPF with a low-pass filter causes a dramatic performance drop, confirming that high-frequency components are essential for detecting GAN artifacts.
  • Grayscale input improves cross-domain performance compared to RGB input—achieving 76.1% accuracy and 75.3% average precision—indicating that color information introduces domain-specific biases that reduce generalization.
  • The frequency-level HPF contributes more to performance improvement than the pixel-level HPF, underscoring the importance of emphasizing high-frequency artifacts in the Fourier domain.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.