kd13's picture
Upload DeepfakeTIMIT frames (identity-disjoint train/validation/test)
38f8be3 verified
|
Raw History Blame Contribute Delete
3.98 kB
metadata
license: cc-by-nc-nd-4.0
pretty_name: DeepfakeTIMIT Frames
task_categories:
  - image-classification
tags:
  - deepfake
  - deepfake-detection
  - face-swap
  - faces
  - vidtimit
size_categories:
  - 10K<n<100K
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: validation
        path: data/validation-*
      - split: test
        path: data/test-*

DeepfakeTIMIT Frames

Still frames extracted from the face-swap videos of DeepfakeTIMIT (Idiap Research Institute), with an identity-disjoint train / validation / test split. No video or audio is included.

DeepfakeTIMIT swaps faces between 16 pairs of similar-looking subjects from VidTIMIT using a GAN-based face-swap method, in a low-quality (LQ, 64×64 model) and a high-quality (HQ, 128×128 model) version. All samples are fake (face swap).

Schema

column type value in this dataset
image Image (PNG bytes) full 512x384 video frame
binary_name string fake
binary_label int64 1 (0 = real, 1 = fake)
class_name string FS
class_id int64 1 (0 = real, 1 = FS, 2 = FR, 3 = EFS, 4 = FE)

Frame sampling

Each video (mean 106.3 frames at 25 fps, ~4 s) is divided into 20 equal segments and the middle frame of each segment is kept: index_i = floor((i + 0.5) * T / 20). 640 videos × 20 = 12,800 images, stored losslessly as PNG.

Splits (no identity leakage)

Every fake video contains two people (one person's face on the other person's video), so subjects are grouped into their face-swap pairs and whole pairs are assigned to a split. All frames of a video, the LQ and HQ versions of a clip, and both people of a pair are always in the same split. No identity appears in more than one split.

split images share videos identities
train 8,800 68.75% 440 (220 LQ / 220 HQ) 22
validation 1,600 12.5% 80 (40 LQ / 40 HQ) 4
test 2,400 18.75% 120 (60 LQ / 60 HQ) 6
split face-swap pair
train fcft0, fdrd1
train fcmh0, fjre0
train fdac1, felc0
train fjas0, fjwb0
train fjem0, fkms0
train mdab0, mpdf0
train mdbb0, mrcz0
train mgwt0, mjar0
train mpgl0, mwbt0
train mrgg0, msjs1
train mrjo0, mstk0
validation fadg0, fram1
validation faks0, fedw0
test mccs0, mmdm2
test mcem0, mdld0
test mjsw0, mmdb1

Per-frame provenance (source video, LQ/HQ, frame index) is in metadata/manifest.csv; the identity → split map is in metadata/split_assignment.json. If you combine this with real VidTIMIT frames, put each subject in the same split listed there.

Usage

from datasets import load_dataset
ds = load_dataset("kd13/DEEPFAKETIMIT-frames")
ds["train"][0]["image"]  # PIL image

License and citation

Derived from DeepfakeTIMIT, licensed CC BY-NC-ND 4.0: non-commercial use only, with attribution. This repository contains unmodified frames (an excerpt, format-changed) of the original videos. Any publication using this data must cite:

@article{korshunov2018deepfakes,
  title   = {DeepFakes: a New Threat to Face Recognition? Assessment and Detection},
  author  = {Korshunov, Pavel and Marcel, S{\'e}bastien},
  journal = {arXiv preprint arXiv:1812.08685},
  year    = {2018}
}

@inproceedings{sanderson2009multiregion,
  title     = {Multi-Region Probabilistic Histograms for Robust and Scalable Identity Inference},
  author    = {Sanderson, Conrad and Lovell, Brian C.},
  booktitle = {Advances in Biometrics (ICB 2009)},
  series    = {Lecture Notes in Computer Science},
  volume    = {5558},
  pages     = {199--208},
  year      = {2009}
}