A Hitchhiker's Guide to Fine-Grained Face Forgery Detection Using Common Sense Reasoning

Niki Foteinopoulou, Enjie Ghorbel, Djamila AouadaNeurIPS 2024

TL;DR

This paper introduces a novel, multi-stage evaluation framework for fine-grained face forgery detection using Vision-Language Models (VLMs). By framing deepfake detection as a Visual Question Answering (VQA) task, the authors enable a more nuanced understanding of VLM capabilities in identifying manipulation areas, moving beyond simple binary classification.

What Problem Does This Paper Address?

The increasing sophistication of deepfake technology makes it harder for humans to distinguish real from fabricated content, eroding trust in digital media. While traditional deepfake detection methods often act as "black boxes," lacking explainability, recent advancements in Vision-Language Models (VLMs) offer a promising avenue for more interpretable detection. However, existing VLM evaluations for deepfake detection primarily focus on binary (real/fake) classification and overlook the more realistic scenario of fine-grained, multi-label manipulation detection. This paper addresses the need for a systematic and fair methodology to evaluate VLMs' ability to not only detect manipulated images but also to pinpoint where and how they are manipulated, leveraging their common-sense reasoning.

Methods

The authors propose a three-stage evaluation protocol:

  1. Binary Classification to VQA: The traditional binary deepfake detection task is reframed as a VQA problem. VLMs are prompted with an image and a question like "Is this image manipulated? a) Yes b) No," testing their robustness to different phrasing (synonyms for "manipulated").
  2. Fine-Grained Multi-Choice VQA: For images identified as manipulated, VLMs are then asked to identify specific manipulation areas from a predefined list (e.g., nose, eyes, mouth) in a multiple-choice VQA setting.
  3. Fine-Grained Open-Ended VQA: This stage further challenges VLMs by asking them to identify manipulation areas in an open-ended format, without a predefined list. The authors compare two matching strategies for evaluating these responses: cosine similarity between text embeddings and counting class name occurrences.

The evaluation also includes a qualitative assessment of the generated responses to understand the reasoning behind the models' predictions.

Datasets

The study evaluates models on seven established deepfake detection datasets:

  • FF++
  • DFDC
  • Celeb-DF
  • WildDeepFake
  • StyleGAN (two subsets)
  • SeqDeepFake (used for both binary and fine-grained tasks)
  • R-splicer (used for fine-grained evaluation)

Key Insights and Ideas

  • VLMs as Explainable Deepfake Detectors: The core idea is that VLMs, by their nature, can provide explanations for their predictions, making them valuable for building trust in deepfake detection systems.
  • Beyond Binary Classification: The paper argues that focusing solely on binary detection is insufficient. Fine-grained, multi-label detection is crucial for understanding the nuances of manipulation.
  • VQA as a Unified Framework: Framing deepfake detection as a VQA task provides a consistent and systematic way to evaluate VLMs across different levels of complexity (binary, multi-choice, open-ended).
  • Robustness to Instruction: Testing VLMs with various synonyms for "manipulated" reveals their sensitivity to prompt phrasing, highlighting the importance of instruction tuning.
  • Open-Ended VQA is Challenging: The open-ended VQA setting proved to be the most difficult, with models often providing general descriptions rather than specific manipulation areas.

Key Results

  • Binary Task Performance: BLIP-2 showed robust performance on the binary task, even with its smaller parameter count. No single VLM consistently outperformed others across all datasets and synonyms.
  • Fine-Grained Task Performance: In the multiple-choice VQA setting, LlaVa-1.5 performed best in terms of F1-score. For the open-ended VQA, CLIP distance matching generally improved recall compared to the "contains" strategy.
  • Qualitative Findings: Models often hallucinate or provide general descriptions when they fail to identify specific manipulation areas. Larger models tended to offer more detailed justifications.
  • Vision Encoder Fine-tuning: Fine-tuning the vision encoder of LlaVa-1.5 led to noticeable improvements in both within-dataset and cross-dataset binary detection performance.

Limitations and Future Work

  • Zero-Shot Evaluation: All models were evaluated in a zero-shot setting, meaning they were not specifically trained on deepfake detection tasks. This limits their performance compared to specialized models.
  • Dataset Limitations: The lack of detailed, sample-level language descriptions in existing datasets makes qualitative evaluation challenging. Current datasets also often rely on pseudo-fakes, limiting generalization.
  • Bias in Datasets: The datasets used are not unbiased, which can affect model performance.
  • Future Work: The authors suggest creating specialized datasets and foundation models for deepfake detection. They also highlight the need for more fine-grained labels and addressing dataset bias. Further research could explore task-specific VLM fine-tuning and more advanced matching strategies for open-ended VQA.

Summary updated

Abstract

Explainability in artificial intelligence is crucial for restoring trust, particularly in areas like face forgery detection, where viewers often struggle to distinguish between real and fabricated content. Vision and Large Language Models (VLLM) bridge computer vision and natural language, offering numerous applications driven by strong common-sense reasoning. Despite their success in various tasks, the potential of vision and language remains underexplored in face forgery detection, where they hold promise for enhancing explainability by leveraging the intrinsic reasoning capabilities of language to analyse fine-grained manipulation areas. For that reason, few works have recently started to frame the problem of deepfake detection as a Visual Question Answering (VQA) task, nevertheless omitting the realistic and informative open-ended multi-label setting. With the rapid advances in the field of VLLM, an exponential rise of investigations in that direction is expected. As such, there is a need for a clear experimental methodology that converts face forgery detection to a Visual Question Answering (VQA) task to systematically and fairly evaluate different VLLM architectures. Previous evaluation studies in deepfake detection have mostly focused on the simpler binary task, overlooking evaluation protocols for multi-label fine-grained detection and text-generative models. We propose a multi-staged approach that diverges from the traditional binary evaluation protocol and conducts a comprehensive evaluation study to compare the capabilities of several VLLMs in this context. In the first stage, we assess the models' performance on the binary task and their sensitivity to given instructions using several prompts. In the second stage, we delve deeper into fine-grained detection by identifying areas of manipulation in a multiple-choice VQA setting. In the third stage, we convert the fine-grained detection to an open-ended question and compare several matching strategies for the multi-label classification task. Finally, we qualitatively evaluate the fine-grained responses of the VLLMs included in the benchmark. We apply our benchmark to several popular models, providing a detailed comparison of binary, multiple-choice, and open-ended VQA evaluation across seven datasets. \url{https://nickyfot.github.io/hitchhickersguide.github.io/}

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
FaceForensics++ · FF++LlaVa w. fine-tuned Vision EncoderAcc.64.57+0.03 vs baselineFace Forgery Detection · fine-tuned
Source quote
L132: 64.57 (+0.03%)
FaceForensics++ · FF++LlaVa w. fine-tuned Vision EncoderF176.83+3.73 vs baselineFace Forgery Detection · fine-tuned
Source quote
L133: 76.83 (+3.73%)
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
FaceForensics++ · FF++LlaVa Baseline baselineAcc.64.54Face Forgery Detection · 0-shot
Source quote
L130: 64.54
FaceForensics++ · FF++LlaVa Baseline baselineF173.10Face Forgery Detection · 0-shot
Source quote
L131: 73.10
BibTeX
@inproceedings{foteinopoulou2024hitchhiker,
  author = {Niki Foteinopoulou and Enjie Ghorbel and Djamila Aouada},
  title = {{A Hitchhiker's Guide to Fine-Grained Face Forgery Detection Using Common Sense Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=cR3T1ZYN8I},
}
Figure