From face recognition to deepfake detection: same faces, same pipeline, a different question
The Face Benchmark editorsPublishedFigures checked
Face recognition and deepfake detection run the same first three steps on every image: detect the face, align and crop it to a fixed geometry, and pass it through a trained network that turns pixels into a vector. They differ only at the last step. Recognition compares that vector with another face and asks who this is; detection classifies it and asks whether the face was manipulated. Because the pipeline is shared, the datasets, the backbone networks and the metrics look alike, and so do the ways both fields have been fooled by their own benchmarks.
This page is the bridge between this site's two sections. It belongs to the deepfake detection hub and points back to the face recognition section, including the ICCV 2021 masked face recognition challenge that this domain once hosted, where the WebFace260M group used exactly this pipeline under a time budget.
02"Who is this?" versus "Is this real?"
The split comes at the final layer and in what the output is compared against. A recognition system's output is only meaningful next to another face: verification asks whether two embeddings belong to the same person, and identification asks which gallery entry a probe is closest to. The system never decides anything about a single image alone. A detector's output is a judgement about a single image or clip, with no second face involved, which is why its errors are counted as false positives and false negatives rather than as false matches and false non-matches.
That difference changes what a benchmark has to provide. A recognition test set needs many images of the same identities so that pairs can be formed; a detection test set needs real and manipulated versions of comparable footage so that the only systematic difference is the manipulation. It also changes what "hard" means. Masks, age and pose make recognition hard because they move an identity's embedding; new generators and compression make detection hard because they remove or alter the traces a detector learned to look for.
06Where the two meet in production: liveness and injection attacks
An identity check at a bank or a border runs both tasks at once. It must recognise the face in front of the camera, and it must decide whether that face is a live person rather than a photograph, a screen or a deepfake injected into the video stream in place of the camera. The second decision is presentation attack detection, tested under ISO/IEC 30107-3 with its own error rates, and it is the place where a face recognition deployment needs a deepfake detector. The liveness and injection attacks page covers how that is tested and where the benchmarks for it stand.
SRCSources
- S1DeepfakeBench: A Comprehensive Benchmark of Deepfake Detection(external)Yan, Zhang, Yuan, Lyu, Wu. NeurIPS 2023 Datasets and BenchmarksChecked
- S2WebFace260M: A Benchmark Unveiling the Power of Million-Scale Deep Face Recognition(external)Zhu, Huang, Deng et al. CVPR 2021Checked
- S3The DeepFake Detection Challenge (DFDC) Dataset(external)Dolhansky et al. 2020Checked
- S4FaceForensics++: Learning to Detect Manipulated Facial Images(external)Rössler et al. ICCV 2019Checked
FAQQuestions
Is a deepfake detector a kind of face recognition system?
No. It uses the same face detection, alignment and often the same backbone network, but it is trained to score whether a face was manipulated, not to identify whose face it is. It never compares two faces.
Can a face recognition system tell that a face is a deepfake?
Not by itself. A recognition system reports how similar two faces are; a convincing swap of a target's face will match the target. Detecting the manipulation is a separate task, handled by a detector or by liveness checks at capture time.
Why do deepfake detection papers use face recognition backbones?
Because the input is the same: an aligned face crop. Networks that work well on faces for recognition, such as Xception and EfficientNet, are strong starting points for detection, and using a common backbone makes methods comparable.
Do the two fields use the same metrics?
They draw the same curve from the same threshold sweep but summarise it differently. Recognition reports the true accept rate at a fixed false accept rate; detection usually reports the area under the ROC curve or the equal error rate.