Detecting Deepfakes Without Seeing Any

Tal Reiss, Bar Cavia, Yedid Hoshen

TL;DR

Researchers from The Hebrew University of Jerusalem have introduced FACTOR, a training-free deepfake detection framework that treats the problem as a "fact-checking" task. By verifying if the media (e.g., a face or audio) matches its claimed identity or context using off-the-shelf encoders, FACTOR achieves state-of-the-art results on "zero-day" attacks without ever having seen a single deepfake during development.

What Problem Does This Paper Address?

The current state of deepfake detection is a losing arms race. Most existing methods rely on supervised learning, training classifiers to spot specific high-frequency artifacts or inconsistencies in known deepfake datasets. However, generative models (like Stable Diffusion or advanced face-swappers) evolve so rapidly that these detectors often fail on "zero-day" attacks—new manipulation techniques they haven't encountered before.

The authors argue that instead of looking for microscopic pixel artifacts that can be easily smoothed away, we should look at the semantic intent of the attack. Every malicious deepfake is essentially a "false fact": a claim that a video shows Barack Obama when it doesn't, or that a specific person uttered a specific sentence.

Methods

The authors propose FACTOR (FACT checking fOR deepfake detection). The core idea is simple: if a piece of media claims to be "Fact X," we should use an objective, pretrained encoder to see if the media actually matches that fact.

Figure 2: Illustration of FACTOR, our proposed deepfake detection method. FACTOR leverages the discrepancy between false facts and their imperfect synthesis within deepfakes. By quantifying the similarity using the truth score, computed via cosine similarity, FACTOR effectively distinguishes between real and fake media, enabling robust detection of zero-day deepfake attacks.

The process follows a general "recipe":

  1. Formulate the Fact: Parse the attack into a statement like "Media $x$ describes the same content as reference $y$."
  2. Encode: Use off-the-shelf, pretrained encoders (like Face-X-Zoo for faces or AV-HuBERT for audio-visual sync) to extract feature vectors $\phi_X(x)$ and $\phi_Y(y)$.
  3. Compute Truth Score: Calculate the cosine similarity between these vectors. A low score indicates the "fact" is false, and thus the media is a deepfake.

The paper applies this to three critical scenarios:

  • Face Swapping: Comparing the face in a suspicious video to a known reference image of the claimed identity.
  • Audio-Visual Synthesis: Checking if the lip movements in a video semantically match the accompanying audio.
  • Text-to-Image (TTI): Verifying if a generated image truly aligns with its textual prompt.

Datasets

The researchers evaluated FACTOR across several diverse benchmarks to test its generalization:

  • Face Swapping: Celeb-DF, DFD, and the massive DFDC (Deepfake Detection Challenge) dataset.
  • Audio-Visual: FakeAVCeleb and KoDF (a Korean deepfake dataset used to test cross-linguistic generalization).
  • Text-to-Image: A custom evaluation using 1,000 images from the COCO dataset and their Stable Diffusion-generated counterparts.

Key Insights and Ideas

  • Generative Imperfection: The fundamental "aha" moment is that current generative models, while visually impressive, are not yet semantically perfect. They cannot perfectly replicate the unique biometric features of an identity or the complex synchronization of speech and motion.
  • The CLIP Paradox: In the Text-to-Image experiments, the authors found that using CLIP to detect Stable Diffusion fakes actually failed—the fakes had higher similarity scores than real images. This is because Stable Diffusion was trained using CLIP; it "overfits" to CLIP's feature space. By using a different encoder (BLIP2) or calculating the difference (BLIP2 - CLIP), the researchers could successfully expose the fakes.
  • Zero-Day Robustness: Because FACTOR only relies on models trained on real data, it doesn't care how a deepfake was made. It only cares that the result doesn't match the "truth."

Key Results

FACTOR consistently outperformed supervised baselines, especially in cross-dataset and zero-day scenarios:

  • Near-Perfect Detection: On the DFDC dataset, FACTOR achieved 99.9% ROC-AUC on zero-day attacks where supervised models like Xception or EfficientNet dropped to the 70-80% range.
  • Audio-Visual SOTA: On FakeAVCeleb, FACTOR reached 97.4% AUC, surpassing both supervised and self-supervised state-of-the-art methods (like AVAD) without requiring any complex multimodal transformer training.
  • Minimal Data Needs: An ablation study showed that FACTOR remains highly effective even with just a single reference image of the claimed identity, making it highly practical for real-world verification.
Figure 3: (a) Ablation study over our reference set size (ROC-AUC %). Even a single image reference set results in performance close to the full set performance. (b) Ablation study on the percentile λ for truth score selection. Performance is robust across a wide range of values. (c) Comparison of truth scores for different text-image encoders. We report the percentage of image captions whose fake images had a higher truth score than the original image and vice versa for CLIP, BLIP2, and BLIP2-CLIP. We can see that CLIP and BLIP2 truth scores have opposite effects while the proposed rule BLIP2-CLIP is the most effective.

Limitations and Future Work

  • Requirement of a "Fact": FACTOR is not designed for "unconditional" deepfakes (e.g., a random AI-generated person with no claimed identity). It requires an external claim to verify.
  • Falsifiability: The "fact" must be specific. A vague prompt like "an image" provides no semantic hook for the detector.
  • Identity-Centric: Currently, the method focuses on identity and synchronization. It does not yet address manipulations of expressions, age, or other attributes if the underlying identity remains the same.
  • Future Generative Progress: As generative models become more semantically accurate, the "truth score" gap will narrow, requiring even more sophisticated and sensitive encoders.

Summary updated

BibTeX
@misc{reiss2023detecting,
  author = {Tal Reiss and Bar Cavia and Yedid Hoshen},
  title = {{Detecting Deepfakes Without Seeing Any}},
  year = {2023},
  eprint = {2311.01458},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.01458},
}
Figure