# Celeb-DF: A Large-scale Challenging Dataset for DeepFake Forensics

Celeb-DF offers a harder DeepFake dataset that exposes weak detectors

Yuezun Li, Xin Yang, Pu Sun, Honggang Qi, Siwei Lyu · arXiv · 2019-9-27

- **Problem** Existing DeepFake datasets look worse than the fakes circulating online, so detector scores on them may not carry over to real videos. Their visible defects make detection too easy.
- **Method** Celeb-DF refines the basic DeepFake maker by synthesizing 256 by 256 faces, matching colors, and using better masks and Kalman-smoothed landmarks. It contains 5,639 celebrity fakes.
- **Results** Across the detectors tested, Celeb-DF averages 56.9 frame-level AUC, while FF-DF averages 82.3. The dataset is clearly harder for existing detectors.

## Why existing datasets may mislead detector evaluation

Most detectors are evaluated on existing DeepFake datasets, and those fakes look worse than the DeepFakes found online. The authors point to visible defects in them, including low-quality faces, splicing boundaries, color mismatch, leftover parts of the original face and inconsistent face orientation. These defects likely come from imperfect synthesis steps and from datasets that were never curated before release.

So a detector that scores well on these sets may not be relevant once it meets real videos, which is the gap Celeb-DF targets.

## How the basic DeepFake maker works

The basic DeepFake maker is the pipeline behind most open-source face-swap tools, and it is the starting point for Celeb-DF. It detects the target's faces, extracts facial landmarks and aligns each face to a standard layout. An auto-encoder then turns the aligned face into the donor's face with the target's expression, using one shared encoder for all subjects and one decoder per identity.

The encoder and decoders are trained alternately on unpaired face sets, and each pair is updated to reduce the l1 reconstruction error. After synthesis, the face is warped back to the target's configuration, trimmed with a landmark mask and blended at its boundary with the frame.

## Four changes aimed at visible artifacts

The authors keep the basic pipeline and change it to remove the artifacts seen in earlier datasets. Low resolution is the first target: the basic maker produces 64 × 64 or 128 × 128 faces, while Celeb-DF synthesizes 256 × 256 faces. The larger size needs encoder and decoder models with more layers and wider dimensions, and the authors chose that structure empirically to balance training time against synthesis quality.

Larger faces also hold up better under the resizing and rotation needed to fit the target face.

Color mismatch is handled during training: the colors of the training faces are randomly perturbed, so the network learns to reproduce the input's color pattern. A color transfer step then matches the synthesized donor face to the target face. Mask generation changes too, because the earlier masks left boundaries or parts of the original face visible.

The new mask uses a synthesized face with more surrounding context, plus a smoothness mask built from eyebrow landmarks and interpolated points on the cheeks and between the lower lip and chin.

Temporal flickering is handled over time rather than per frame. The face landmark sequence of each video is filtered with a Kalman smoothing algorithm, which reduces imprecise frame-to-frame variation in the landmarks.

## What Celeb-DF contains

Celeb-DF has 590 real videos and 5,639 DeepFake videos, which together amount to over two million frames. The real videos are YouTube interviews of 59 celebrities, and the DeepFake videos swap faces for each pair of those subjects. Videos average about 13 seconds at 30 frames per second, and the final fakes are stored in MPEG4.0 format.

The subjects vary in gender, age and ethnicity, with 56.8% male and 88.1% Caucasian. The authors picked celebrities because viewers know their faces, so artifacts are easier to spot.

## Measuring visual quality with Mask-SSIM

No reference-free quality metric is widely accepted, so the authors use Mask-SSIM, the SSIM between the head region of each DeepFake frame and the same head region of the original target frame. Mask-SSIM ranges from 0 to 1, and higher values mean better quality. Identity changes from target to donor also lower the score, so the absolute values don't directly show visual quality, but differences between datasets do.

Celeb-DF scores 0.92, the highest of the compared datasets, while the other datasets fall between 0.80 and 0.88. The authors read this as confirming the visual improvement seen in Fig.2. DFD and DFDC were scored only on 311 and 2,025 videos with exact correspondences.

## Setting up the detector comparison

The authors evaluate nine DeepFake detection methods, and several come with variants such as Meso4 and MesoInception4 under MesoNet, or Xception-raw, c23 and c40. Each detector runs with its published pre-trained model and default parameters, because most of them have no public training code. Performance is the frame-level AUC over key frames, so the scores don't depend on how frame scores are combined per video.

Frame-level AUC also avoids recalibrating classification outputs for each dataset.

## Scores across datasets and detectors

Averaged across detectors, Celeb-DF has the lowest frame-level AUC of the seven datasets, at 56.9. FF-DF averages 82.3, and DFDC, the next lowest, averages 64.7. The authors connect this to the lower artifact level in Celeb-DF, since many detectors rely on low resolution and color mismatch.

The same pattern shows up for single detectors: DSP-FWA reaches 99.7 AUC on FF-DF but 64.6 on the Celeb-DF high-quality column. Over all datasets, DSP-FWA has the top average of 87.4. The authors also note that second-generation datasets average below 70%.

## Robustness to H.264 recompression

Online videos get recompressed, so the authors compare original MPEG4.0 videos with H.264 at medium (23) and high (40) compression on four detectors. FWA falls from 56.9 on original videos to 52.2 at c40, and DSP-FWA falls from 64.6 to 47.2. The text says the Xception variants are not significantly affected, but Xception-c23 falls from 65.3 to 52.5 at c40.

Xception-c40 holds up better, moving from 65.5 to 59.4 at c40.

## Limits of the evidence

The detectors were not retrained on Celeb-DF, so the scores reflect their published models and default settings. Mask-SSIM mixes visual quality with identity change, so only differences between datasets are read from it. The full DFDC set had not been released at submission, so its information comes from the first-round release.

Anti-forensic counter-measures are left for future work, as is enlarging the dataset and improving the synthesis efficiency.

## Paper info

- **Authors**: Yuezun Li, Xin Yang, Pu Sun, Honggang Qi, Siwei Lyu
- **Venue**: arXiv · Preprint
- **First published**: 2019-9-27
- **Added**: 2026-11-12
- **Updated**: 2020-3-16
- **Version**: v4
- **arXiv**: 1909.12962
- **Category**: cs.CR · cs.CV · eess.IV
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1909.12962v4) · [PDF ↗](https://arxiv.org/pdf/1909.12962v4)

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

Yuezun Li, Xin Yang, Pu Sun, Honggang Qi, Siwei Lyu (2019). Celeb-DF: A Large-scale Challenging Dataset for DeepFake Forensics. arXiv:1909.12962v4. https://arxiv.org/abs/1909.12962v4

**BibTeX**

```
@misc{li2019celeb,
  title = {{Celeb-DF: A Large-scale Challenging Dataset for DeepFake Forensics}},
  author = {Yuezun Li and Xin Yang and Pu Sun and Honggang Qi and Siwei Lyu},
  year = {2019},
  eprint = {1909.12962},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.12962v4}
}
```

## Other paper commentary

- [Cascade R-CNN: High Quality Object Detection and Instance Segmentation](https://refivu.com/en/papers/484c94a6-ca7a-4e4d-a933-9ea5ec919a68-cascade-r-cnn-high-quality-object-detection-and.md)
- [DSSD : Deconvolutional Single Shot Detector](https://refivu.com/en/papers/800d2066-c083-45ac-bb3d-507e72445f62-dssd-deconvolutional-single-shot-detector.md)
- [Activation Functions: Comparison of trends in Practice and Research for Deep Learning](https://refivu.com/en/papers/b7691c32-6640-47d3-9dda-c4586bd48272-activation-functions-comparison-of-trends-in-practice-and.md)
- [Deep Learning for Sensor-based Activity Recognition: A Survey](https://refivu.com/en/papers/2047ba14-2bcc-42f2-a0fe-57280553acee-deep-learning-for-sensor-based-activity-recognition-a.md)
- [Deep Learning for Image Super-resolution: A Survey](https://refivu.com/en/papers/32a6ff3a-537c-439a-86c3-7db381a355bd-deep-learning-for-image-super-resolution-a-survey.md)
- [Structure-measure: A New Way to Evaluate Foreground Maps](https://refivu.com/en/papers/66f23442-e0d8-4496-ab4e-14cc3ce84c90-structure-measure-a-new-way-to-evaluate-foreground.md)
- [Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models](https://refivu.com/en/papers/d7cee9c8-e38d-4e30-b35b-f069db83f282-qwen3-embedding-advancing-text-embedding-and-reranking.md)
- [Stacked Attention Networks for Image Question Answering](https://refivu.com/en/papers/aa94a5f2-b4fb-441a-af4b-22eda9ad2985-stacked-attention-networks-for-image-question-answering.md)
- [A guide to convolution arithmetic for deep learning](https://refivu.com/en/papers/7690e8f8-368e-4a59-a827-7093c4415777-a-guide-to-convolution-arithmetic-for-deep-learning.md)
- [Semantic Similarity in a Taxonomy: An Information-Based Measure and its Application to Problems of Ambiguity in Natural Language](https://refivu.com/en/papers/2aedc905-eee8-4237-bf2e-929c6d3718a0-semantic-similarity-in-a-taxonomy-an-information-based.md)
- [Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Models](https://refivu.com/en/papers/6bd22a78-4fb3-465f-b297-2113b18ee3f2-explainable-artificial-intelligence-understanding.md)

## Terms in this paper

- [auto-encoder](https://refivu.com/en/terms/70c87f7157ba-auto-encoder)
- [Xception](https://refivu.com/en/terms/6c4ca62591a5-xception)
- [capsule](https://refivu.com/en/terms/c77b6dd59fc8-capsule)
- [Multi-task](https://refivu.com/en/terms/b68d82382c68-multi-task)
- [Two-stream](https://refivu.com/en/terms/a5c6cd107072-two-stream)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/127fcad1-737e-4bb9-b7b5-7c87f1ab7614-celeb-df-a-large-scale-challenging-dataset-for)
