Skip to main content
QUICK REVIEW

[Paper Review] MRI-GAN: A Generalized Approach to Detect DeepFakes using Perceptual Image Assessment

Pratikkumar Prajapati, Chris Pollett|arXiv (Cornell University)|Feb 28, 2022
Digital Media Forensic DetectionComputer Science9 citations
TL;DR

This paper proposes MRI-GAN, a GAN-based framework that generates perceptual 'image MRIs' using structural similarity (SSIM) to detect DeepFakes by highlighting pixel-wise discrepancies between real and fake faces. Despite achieving 74% test accuracy—lower than the 91% of a plain-frames baseline—the method offers a generalized, perceptually grounded approach applicable to diverse video manipulations beyond face-swapping.

ABSTRACT

DeepFakes are synthetic videos generated by swapping a face of an original image with the face of somebody else. In this paper, we describe our work to develop general, deep learning-based models to classify DeepFake content. We propose a novel framework for using Generative Adversarial Network (GAN)-based models, we call MRI-GAN, that utilizes perceptual differences in images to detect synthesized videos. We test our MRI-GAN approach and a plain-frames-based model using the DeepFake Detection Challenge Dataset. Our plain frames-based-model achieves 91% test accuracy and a model which uses our MRI-GAN framework with Structural Similarity Index Measurement (SSIM) for the perceptual differences achieves 74% test accuracy. The results of MRI-GAN are preliminary and may be improved further by modifying the choice of loss function, tuning hyper-parameters, or by using a more advanced perceptual similarity metric.

Motivation & Objective

  • To develop a generalized, deep learning-based method for detecting DeepFakes across diverse generation techniques.
  • To address the challenge of detecting synthetic media that evades traditional visual and statistical analysis.
  • To explore the use of perceptual image assessment, particularly SSIM, as a foundation for identifying subtle manipulations in DeepFakes.
  • To evaluate the effectiveness of a GAN-based MRI generation framework in distinguishing real from fake facial content.
  • To establish a foundation for detecting not only face-swapped videos but also other forms of video manipulation.

Proposed method

  • MRI-GAN trains a GAN to generate 'image MRIs' by computing perceptual differences between input images and their related real counterparts using a configurable similarity function, such as SSIM.
  • The model uses a GAN architecture where the generator learns to produce image differences (MRIs) based on input images and their source real images, while the discriminator distinguishes real from generated MRIs.
  • The perceptual difference function f is instantiated using SSIM to quantify pixel-level dissimilarities indicative of manipulation.
  • A separate DeepFake detection model processes the generated MRIs, using a pre-trained EfficientNet-B0 for feature extraction, followed by global average pooling and a two-layer MLP with ReLU and dropout.
  • Face-level predictions are aggregated across video frames using a threshold-based voting mechanism, where a video is classified as fake if a fraction of faces exceed a fake probability threshold.
  • Hyperparameters such as FAKE_FRAME_THRESHOLD and FAKE_FRACTION are tuned via grid search to optimize video-level classification.

Experimental results

Research questions

  • RQ1Can a GAN-based framework that generates perceptual image differences (MRIs) improve the detection of DeepFakes compared to standard frame-based models?
  • RQ2How effective is SSIM as a perceptual similarity metric in identifying subtle artifacts in face-swapped videos?
  • RQ3To what extent does the MRI-GAN framework generalize across diverse DeepFake generation methods and real-world video conditions?
  • RQ4Can MRI-GAN be extended to detect non-face-swapped video manipulations beyond the scope of face swapping?
  • RQ5What hyperparameter configurations optimize the aggregation of face-level predictions into accurate video-level classifications?

Key findings

  • The plain-frames-based model achieved 91% test accuracy, serving as a strong baseline for comparison.
  • The MRI-GAN-based method achieved 74% test accuracy when using SSIM as the perceptual difference function, indicating lower performance than the baseline.
  • The MRI-GAN model demonstrated a True Positive Rate (TPR) of 69% and a False Negative Rate (FNR) of 31%, indicating it missed a significant portion of fake videos.
  • The Area Under the ROC Curve (AUC) for MRI-GAN was 0.76, significantly lower than the 0.95 achieved by the plain-frames model.
  • Grid search identified optimal parameters: FAKE_FRAME_THRESHOLD = 0.70 and FAKE_FRACTION = 0.30 for MRI-GAN, and 0.80 and 0.30 for the plain-frames model.
  • The authors identify potential improvements, including using L1 loss instead of L2 loss and exploring advanced perceptual metrics like those in Zhai and Min (2021), to reduce blurring and enhance detection.

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.