Paper commentary
FaceForensics++: Learning to Detect Manipulated Facial Images
Compression makes detecting manipulated faces harder for people and classifiers
- Problem Face manipulations now look realistic, and compression erases the traces detectors rely on. Earlier detectors were rarely tested on re-encoded video.
- Method FaceForensics++ builds a benchmark of manipulated face videos from four methods. It tracks each face, crops the face region, and classifies it with CNNs such as XceptionNet.
- Results XceptionNet on face crops reached 81.00 on low-quality videos, while average human accuracy there was 58.73%.
Why detection gets harder under compression
Face manipulations are now produced with tools that yield convincing results, so the practical question has shifted from whether a fake can be made to whether it can be caught. The authors look at two routes to detection, human judgement and automatic classifiers, and test how both change when the video is re-encoded.
Social media platforms re-encode uploaded clips, and this processing can erase the traces that forensic methods look for. Earlier detectors were rarely evaluated under such conditions, which is the gap this study targets.
How the FaceForensics++ videos were selected
FaceForensics++ extends an earlier FaceForensics collection, and four automated manipulation methods were applied to 1,000 pristine videos. The source videos were taken from YouTube, because the authors wanted realistic in-the-wild footage. Early tests showed that the methods failed or produced strong artifacts unless the target face was nearly front-facing and unoccluded, so the clips were screened by hand.
After this screening, 1,000 sequences containing 509, 914 images were kept as the pristine data.
Sequences were required to contain at least 280 frames for the methods that need training material, with FaceSwap as the exception. The full database holds more than 1.8 million images from 4000 fake videos, which the authors describe as an order of magnitude larger than comparable public forgery datasets. The dataset is split into 720, 140 and 140 videos for training, validation and testing, and every reported evaluation uses the test videos.
Besides the manipulated frames, the pipeline also produces ground-truth masks that mark which pixels were modified.
The two versions are meant to mimic the processing that uploaded videos undergo on social networks.
What each manipulation method changes
FaceSwap is graphics-based: it detects sparse facial landmarks, fits a blendshape 3D template, projects that model back onto each target frame and blends the rendered face with colour correction. It runs per pair of frames until one of the two videos ends, and the implementation is light enough to run on a CPU.
DeepFakes uses two autoencoders that share an encoder, with one decoder per person, so passing the target face through the source decoder produces the swapped face. The generated face is blended into the frame with Poisson image editing. For the dataset, the training runs for 200000 iterations at a batch size of 64, with inputs of 64 pixels by default and a learning rate of 10−5.
Face2Face fits an identity model on the first frames of each video, selects keyframes automatically at the left- and right-most face angles, and tracks expressions over the rest of the video. The source expression parameters, 76 Blendshape coefficients per frame, are transferred onto the target video.
NeuralTextures learns a neural texture of the target person together with a rendering network, trained with a photometric loss and a patch-based adversarial loss taken from Pix2Pix. Only the mouth region is modified, so the eye region stays unchanged. Training weights the photometric loss by 1 and the adversarial loss by 0.001, runs for 45 epochs, and keeps the best of three models per manipulation.
Human observers on real and fake frames
The authors ran a user study with 204 participants, most of them computer science students, who judged single images as real or fake. Each image was hidden after a randomly chosen 2, 4 or 6 seconds, and the answer was asked only after the image had been displayed. Each participant judged 60 images, which gives 12240 decisions, with a 50:50 split of pristine and fake images from the test split.
Average accuracy falls from 68.69% on raw videos to 66.57% on high quality and 58.73% on low quality, and the results are averaged across the time limits. The time limits did not produce significantly different results.
Face2Face and NeuralTextures were the hardest methods for people, which the authors attribute to these methods introducing only subtle visual artifacts rather than strong semantic changes. Human accuracy on NeuralTextures is below random chance and rises only in the low-quality condition. The device used for viewing was also recorded, with 99 participants on a PC and 105 on a mobile phone.
Face-region pipeline for the classifiers
The pipeline first tracks the face through each video with the face tracker of Thies et al., and then extracts the face region. The crop is enlarged by a factor of 1.3 around the centre of the tracked face, so it includes the whole reconstructed face. A learned classifier takes this region and predicts real or fake for each frame.
The authors argue that giving the classifier the face region adds domain-specific information, and they report that it improves accuracy compared with a naive detector that receives the whole image.
Detectors compared in the study
The steganalysis baseline follows Fridrich et al. and uses co-occurrences of four-pixel patterns along horizontal and vertical directions on high-pass images, giving a feature length of 162. These features feed a linear support vector machine applied to a 128 × 128 central crop of the face.
Cozzolino et al. recast the steganalysis features as the input to a CNN and fine-tune it on the dataset. Bayar and Stamm use a constrained convolutional layer designed to suppress high-level image content, followed by two convolutional layers, two max-pooling layers and three fully connected layers. Rahmouni et al. use a global pooling layer that computes mean, variance, maximum and minimum, and the Stats-2L variant is reported.
XceptionNet keeps its ImageNet-pretrained layers and replaces the final layer with a two-output classifier. The new layer is first trained for 3 epochs with the earlier weights held fixed, then the network is trained for 15 more epochs and the model with the best validation accuracy is kept.
Detector accuracy on the mixed dataset
The full-image XceptionNet baseline reaches 82.01 on raw data, 74.78 on HQ and 70.52 on LQ. The XceptionNet face-crop model reaches 99.26, 95.73 and 81.00 on the same three settings. The steganalysis baseline drops from 97.63 on raw data to 55.98 on LQ.
The learned face-crop networks hold up better under compression than the hand-crafted and shallow CNN baselines, and the authors credit XceptionNet's ImageNet pre-training and larger capacity for its edge. Compared with the human study, the automated detectors on the full dataset outperform human observers by a large margin, although the two test sets are not identical.
Results per manipulation method
On raw data all approaches reach very high accuracy, and the drop under compression is largest for the hand-crafted features and the shallow CNNs. Manipulation-specific XceptionNet detectors reach 99.59, 99.61, 99.14 and 99.36 on raw DeepFakes, Face2Face, FaceSwap and NeuralTextures. At the LQ setting the same detector reaches 94.28, 91.56, 93.7 and 82.11 on these four methods.
NeuralTextures is the hardest case for every detector, which the authors attribute to a unique model being trained for each manipulation, leading to more varied artifacts.
Effect of the training corpus size
The authors train XceptionNet on 10, 50, 100 and 300 videos, both for single manipulation methods and for all methods together, at each quality level. For LQ data the accuracy over all methods rises from 60.55 with 10 videos to 76.01 with 300 videos. On raw data the all-methods accuracy rises from 92.81 to 98.88 over the same range. The authors note that the gain is largest on low-quality footage, which is why they see a large database as necessary there.
Public benchmark protocol and baseline
The benchmark adds 1000 videos, and a subset of them was manipulated with each of the four methods. Each video is re-sized and compressed with unknown settings, and one challenging frame is chosen per video, giving 1000 images that are either manipulated or original. Labels are kept on a host server, and a single submitter may submit once every two weeks to limit overfitting.
As baselines, the low-quality models trained earlier are evaluated on the benchmark, and the XceptionNet model reaches a total accuracy of 70.10. The relative ranking of the classifiers on the benchmark is similar to the ranking on the database test set. Overall scores are lower than on the database test set, which the authors attribute to the randomized quality level and to possible tracking errors at test time.
Because the method relies on face detection, a tracking failure is scored as fake by default.
Limitations
The study covers four manipulation methods, and no other generators are evaluated. Source clips were selected to be nearly front-facing and without occlusion, and no other head poses are tested. Compression is limited to H.264 at two quality levels. Benchmark results are reported only for the low-quality trained models, and the benchmark scores one frame per video.
The human study drew mostly on computer science university students.
Paper info
- Authors
- Andreas Rössler, Davide Cozzolino, Luisa Verdoliva, Christian Riess, Justus Thies, Matthias Nießner
- Venue
- arXiv · Preprint
- First published
- 2019-1-25
- Added
- 2026-11-12
- Updated
- 2019-8-26
- Version
- v3
- arXiv
- 1901.08971
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Andreas Rössler, Davide Cozzolino, Luisa Verdoliva, Christian Riess, Justus Thies, Matthias Nießner (2019). FaceForensics++: Learning to Detect Manipulated Facial Images. arXiv:1901.08971v3. https://arxiv.org/abs/1901.08971v3
BibTeX
@misc{rssler2019faceforensics,
title = {{FaceForensics++: Learning to Detect Manipulated Facial Images}},
author = {Andreas Rössler and Davide Cozzolino and Luisa Verdoliva and Christian Riess and Justus Thies and Matthias Nießner},
year = {2019},
eprint = {1901.08971},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1901.08971v3}
}