Skip to content
AI Learning Ground Start learning

Research ·

TwinD: Generalizing Deepfake Detection from Blending to Entire Face Synthesis

Researchers propose TwinD, a deepfake detector trained on synthetic 'twins' that generalizes to both blending fakes and entire-face-synthesis fakes, reaching 96.3% mean AUROC on a 19-dataset benchmark.

TwinD: Generalizing Deepfake Detection from Blending to Entire Face Synthesis
Image: Hugging Face

Existing facial deepfake detectors are mostly trained on blending fakes, where a generated face is pasted into a real frame. Newer generators synthesize the whole face, leaving no blending traces, and detection collapses: on a benchmark of 19 datasets from 2019 to 2026, the best prior detector hits 96.2% mean AUROC on ten blending datasets but none exceeds 78.1% on five entire-face-synthesis (EFS) datasets. AIGC detectors do not close the gap.

TwinD is trained on FaceForensics++ fakes plus two kinds of 'twins' made from real frames, without needing a generator or face-shaped mask. A reconstruction twin is a real frame rebuilt by an autoencoder with real pixels restored in a random region, targeting decoder traces; a blob twin blends an altered copy of a frame with itself, targeting blending artifacts. The two twins give complementary forensic cues that generalize to unseen manipulations.

On the benchmark, TwinD reaches 96.3% mean AUROC, 8.9 points above the prior state of the art, with 98.1% on blending and 95.6% on EFS datasets. Even trained on twins alone without any deepfake dataset, single models average 94.3% across three seeds. Code, trained model, and training data are released on GitHub. For builders, it shows synthetic self-supervised training data can close the generalization gap to fully synthesized faces, a useful pattern for detection systems that must handle new generators without retraining on fresh fakes.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#research