Can ChatGPT Detect DeepFakes? A Study of Using Multimodal Large Language Models for Media Forensics

Shan Jia, Reilin Lyu, Kangran Zhao, Yize Chen, Zhiyuan Yan, Yan Ju, Chuanbo Hu, Xin Li, Baoyuan Wu, Siwei Lyu

Introduction

DeepFake detection has traditionally relied on "black-box" machine learning models designed to identify minute statistical anomalies at the pixel level. While these specialized forensic tools are highly accurate on high-quality data, they are notoriously fragile. Simple image post-processing, such as JPEG compression or Gaussian blurring, can easily "wash out" the signal-level artifacts these models depend on, leading to failure.

This study explores a human-centric alternative: leveraging the vast world knowledge and visual reasoning capabilities of multimodal Large Language Models (LLMs) like GPT-4V and Gemini 1.0 Pro. By utilizing semantic logic—such as identifying mismatched earrings or inconsistent skin textures—these models offer a potentially more robust and user-friendly interface for media forensics.

Methodology

The researchers conducted a comprehensive zero-shot evaluation of GPT-4V and Gemini 1.0 Pro. The core of their approach involved sophisticated prompt engineering to bypass safety filters and elicit detailed forensic reasoning.

The proposed workflow for evaluating MLLMs in DeepFake detection, highlighting the role of prompt engineering and iterative analysis.

The most effective strategy, "Prompt #6," required the model to not only provide a binary classification but also to justify its decision by locating specific synthesis artifacts in a [region, artifacts] format. To ensure statistical reliability, the researchers used multiple query rounds to calculate average decision scores, which were then used to generate Receiver Operating Characteristic (ROC) curves.

Experimental Setup and Datasets

The evaluation utilized a balanced dataset of 3,000 images, comprising:

  • Real Images: 1,000 human faces from the FFHQ (Flickr-Faces-HQ) dataset.
  • AI-Generated Images: 2,000 images from the $DF^3$ dataset, generated via StyleGAN2 and Latent Diffusion models.
  • Post-Processed Data: A subset of $DF^3$ subjected to blurring, compression, and adversarial attacks to test model robustness.
Sample images from the dataset, including both authentic and AI-generated faces used to test the models' semantic reasoning.

Key Results and Discussion

Performance and Robustness

GPT-4V achieved an Area Under the Curve (AUC) of approximately 77-80% on raw AI-generated images. While this lags behind modern state-of-the-art (SOTA) specialized detectors (which can exceed 95% AUC), the LLMs demonstrated a significant "robustness edge." On post-processed images where traditional detectors often fail, GPT-4V's performance improved to nearly 90% AUC. This is because post-processing destroys pixel-level signals but leaves the semantic errors that LLMs are adept at spotting.

The Hallucination Challenge

A primary limitation identified was the models' tendency to hallucinate artifacts in authentic images. GPT-4V struggled with real photos, often flagging babies or individuals with unique features as "unnatural," resulting in a high false-positive rate and an accuracy of only ~50% for real images.

Prompting and Safety Filters

Prompt engineering proved critical. Simple binary queries often triggered safety guardrails, leading to refusal rates as high as 100%. Detailed, task-oriented forensic prompts successfully reduced these rejections to under 5%.

Conclusion and Future Work

Multimodal LLMs represent a promising new frontier for robust, semantic-based media forensics. While they currently lack the precision of specialized signal-based models and suffer from hallucinations, their ability to maintain performance under heavy image degradation is a significant advantage. Future research will focus on extending these methods to video forensics, implementing "Chain-of-Thought" prompting, and developing hybrid systems that combine semantic reasoning with signal-level precision.

Summary updated

BibTeX
@inproceedings{jia2024can,
  author = {Shan Jia and Reilin Lyu and Kangran Zhao and Yize Chen and Zhiyuan Yan and Yan Ju and Chuanbo Hu and Xin Li and Baoyuan Wu and Siwei Lyu},
  title = {{Can ChatGPT Detect DeepFakes? A Study of Using Multimodal Large Language Models for Media Forensics}},
  booktitle = {Workshops @ CVPR},
  year = {2024},
}
Figure