Face BenchmarkHow face recognition and deepfake detection are measured, from the papers.

Generalizable deepfake detection: what has been tried, and the scores

The Face Benchmark editorsPublishedFigures checked

Four ideas have been tried to make a deepfake detector work on fakes it was not trained on: stronger augmentation and pre-training, synthetic blended fakes, frequency features and foundation-model features. Each raised cross-dataset scores on some test sets in published tables; for example, Xception trained on FaceForensics++ went from 0.5175 to 0.7365 AUC on Celeb-DF-v2 in DeepfakeBench (2023). None has removed the gap between in-dataset and cross-dataset scores.

This page belongs to the deepfake detection hub and extends the cross-dataset generalisation page, which measures the gap. Here the question is what authors did about it, and what their own tables report.

01What does generalization mean for a deepfake detector?

A detector generalizes when its score holds on forgeries made by methods, people, scenes or compression it did not see in training. The standard test trains on one dataset, usually FaceForensics++, and scores on others. DeepfakeBench describes the field's earlier problem as a lack of uniform data processing, experimental settings and metrics, which made comparisons unfair (arXiv 2307.01426).

DF40's authors argue the protocol itself hides the problem. Their abstract says that training on FF++ and testing on other prevalent sets has been treated as a "golden compass", and that FF++ "contains out-of-date forgery techniques from the past four years" (arXiv 2406.13495). A score on an old test set can therefore say little about a new generator.

02Does stronger augmentation and pre-training close the gap?

It narrows the gap for every detector, and by roughly the same amount. DeepfakeBench's Table 10 compares three detectors trained on FF++ c23, with and without the data augmentation and pre-training its framework applies. Xception rose from 0.5175 to 0.7365 AUC on Celeb-DF-v2, RECCE from 0.6083 to 0.7319 and SRM from 0.5993 to 0.7552, while their in-dataset FF++ c23 scores fell slightly, for example Xception from 0.9893 to 0.9637.

The same paper reports that gains from augmentation are not universal. Removing all augmentation improved in-dataset AUC by about 2 percent for both Xception and SPSL, and compression and blur "may significantly degrade the performance of SPSL" on DFD and DFDCP, possibly because they obscure high-frequency detail. An earlier image-detection study found a ProGAN-trained classifier generalized to unseen generators "with careful pre- and post-processing and data augmentation" (Wang et al., CVPR 2020). The recipe matters as much as the model.

Celeb-DF-v2 AUC for three detectors trained on FF++ c23, before and after data augmentation and pre-trainingGrouped bars of frame-level AUC on Celeb-DF-v2. Xception 0.5175 before and 0.7365 after; RECCE 0.6083 before and 0.7319 after; SRM 0.5993 before and 0.7552 after. All three were trained on FaceForensics++ c23. Source: DeepfakeBench, arXiv 2307.01426, Table 10, read 10 Nov 2026.0.000.250.500.751.00Before tricksAfter tricksXception0.520.74RECCE0.610.73SRM0.600.76
Figure 1Three detectors on an unseen set, with and without the data augmentation and pre-training the benchmark applies to every method. The same training recipe lifts all three, and the best score is still below 0.76. Source: DeepfakeBench Table 10 (arXiv 2307.01426), read 10 Nov 2026.

03Do blended training fakes generalize better?

Two methods build their own fakes instead of relying on a dataset's. Face X-ray (CVPR 2020) trains a network to find the blending boundary, a step the authors say most manipulation methods share, and can be trained without fakes from any manipulation method (arXiv 1912.13458). Self-blended images (SBI, CVPR 2022) blend pseudo source and target images made from a single real image (arXiv 2204.08376); the SBI page and the Face X-ray page describe each in full.

Method Trained on Test set Metric Score
Xception baseline (Face X-ray paper) FF++ Celeb-DF, 408 real and 795 fake AUC 36.19
Face X-ray FF++ and blended images same AUC 80.58
EfficientNet-B4 with SBIs (SBI paper) FF++ real images CDF, DFDC video-level AUC 93.18, 72.42
Face X-ray (DeepfakeBench re-run) FF++ c23 Celeb-DF-v2, DF-1.0 frame-level AUC 0.6786, 0.5531

The first three rows are the authors' own tables; the last is a third party re-implementation. The gains are large against a plain classifier on the authors' sets and shrink or vanish in the benchmark re-run, where Face X-ray's cross-dataset average of 0.6985 is below Xception's 0.7718.

04Do frequency cues help?

Frequency methods search for traces that generators leave in the spectrum rather than in pixels. For GAN images, one study reported "severe artifacts" in frequency space caused by the upsampling operations in all current GAN architectures (arXiv 2003.08685). The frequency-domain detection page covers the family.

In DeepfakeBench's Table 3, SPSL has the best cross-dataset average of the 15 detectors at 0.7875, against 0.7718 for Xception and 0.7801 for UCF, and the best scores on both Celeb-DF releases, 0.8150 and 0.7650. Its within-dataset average is 0.9408. That is a gain of about 0.02 over the plain baseline and a gap of about 0.15 to its own in-dataset score.

05Do foundation-model features help?

This is the newest attempt. UnivFD (2023) trains no network at all: it classifies fake versus real from the frozen features of a vision-language model, CLIP, using nearest neighbour or a linear probe (arXiv 2302.10174). The best conventionally trained network scored 94.19 mAP on generators from its own GAN family and 75.51 on unseen diffusion and autoregressive models; the linear probe scored 93.38 mAP over all 19 test generators, against 83.58 and 81.52 for two trained baselines. These are average precision scores on whole-image generators, not face-swap AUC, and are not comparable to the tables above.

DF40's third finding points the same way for face forgeries: "CLIP excels in deepfake detection than other baselines (such as Xception)", outperforming other detectors "across all scenarios". Its second finding is less encouraging for purpose-built designs: SRM, SPSL, RECCE and RFM "achieve results similar to the simple baseline Xception" across the new forgeries.

06What is still unsolved?

Every method above is scored on curated sets. On fakes that circulated in 2024, open-source detectors fell by about 50 percent in AUC for video, and the best off-the-shelf video model, GenConViT, went from 0.96 on its original benchmark to 0.63; the in-the-wild page gives the full table. The caveat for every row on this page is DF40's: a detector can lead on the datasets it is usually tested on and still, in DF40's words, "may not have obvious advantages over the baseline" on new forgeries.

Numbers differ between sources for three reasons: the test set's release (Celeb-DF has two), the training data (a method may add its own fakes) and the aggregation (frame-level or video-level). The published results page keeps each row with its conditions. Audio detection faces the same split between lab sets and found recordings, covered in the audio deepfake datasets guide.

SRCSources

  1. S1
    DeepfakeBench: A Comprehensive Benchmark of Deepfake Detection(external)Yan et al. NeurIPS 2023 Datasets and Benchmarks
    Checked
  2. S2
    Detecting Deepfakes with Self-Blended Images(external)Shiohara and Yamasaki. CVPR 2022
    Checked
  3. S3Checked
  4. S4Checked
  5. S5Checked

FAQQuestions

What is generalization in deepfake detection?

It is a detector's score on forgeries made by methods, people or compression it did not see in training. It is measured by training on one dataset and testing on others, as in DeepfakeBench, where the best cross-dataset average is 0.7875 AUC against a within-dataset average of 0.9408.

Which method generalizes best across datasets?

No method wins everywhere. SPSL has the best cross-dataset average in DeepfakeBench at 0.7875, SBI reports 93.18 video-level AUC on CDF, and CLIP-based detectors lead in DF40's findings. The scores come from different protocols and cannot be ranked against each other.

Why do detectors fail on new deepfakes?

They learn traces specific to the generators, scenes and compression in the training set. DF40's authors say FF++ "contains out-of-date forgery techniques from the past four years", so a detector tuned to it has not seen the artefacts of newer generators.

Does pre-training help a deepfake detector?

Yes, in published tables. DeepfakeBench's Table 10 shows pre-training and augmentation lifting Xception from 0.5175 to 0.7365 AUC on Celeb-DF-v2, and DF40 reports that CLIP-based models outperform an Xception baseline in all its scenarios.

Can a detector be trained without any fake examples?

Partly. Face X-ray and SBI build their training fakes from real images, and UnivFD trains no network at all. Face X-ray reached 80.58 AUC on Celeb-DF against 36.19 for an Xception baseline, in the authors' own comparison.