File Size as a Potential Dataset Bias in Audio-Visual Deepfake Data

Marcella Astrid, Niki Maria FoteinopoulouarXiv 2026

TL;DR

Imagine training a sophisticated AI to spot audio-visual deepfakes, only to realize you can beat the benchmark without ever opening the video file. This paper reveals that in two major deepfake datasets, simply dividing a video’s file size by its duration predicts whether it is real or fake with up to 91% AUC. It’s a classic "Clever Hans" moment that reminds us to check our dataset plumbing before trusting model evaluations.

What Problem Does This Paper Address?

When we test deepfake detectors on standard benchmarks, we implicitly assume that high scores mean the model has learned to spot subtle manipulation cues—like unnatural blinking, weird lip-syncing, or vocal artifacts.

However, building a synthetic media dataset involves complex pipelines. Fake videos are typically generated from real source clips, rendered, and re-saved to disk. If real and fake videos pass through slightly different encoding, compression, or post-processing steps, those differences can leave fingerprints on the files themselves. If a benchmark accidentally bakes class labels into basic metadata, we risk building datasets with unintended "shortcuts" that correlate with the labels, muddying our understanding of what deepfake detectors are actually learning.

Figure 1. Samples of 15 real videos and their corresponding fake videos in the 1M-Deepfake Detection Challenge dataset. The x-axis represents the video name and the y-axis represents file size in MB. Blue and reddish colors represent the real and fake classes, respectively. In these examples, the fake outputs are generally larger than their corresponding real sources, illustrating a possible label-dependent file- size pattern.

Methods

Refreshingly, there are no massive neural networks here. To test whether file-level properties alone give away the game, the authors completely ignore pixels and audio waveforms, looking strictly at two numbers per clip: file size (in megabytes, $s$) and video duration (in seconds, $l$).

They evaluate four dead-simple approaches:

  1. File size alone: Min-max normalizing the raw file size based on the training split (assigning higher "fake" scores to larger files).
  2. Size per second ($s/l$): Dividing file size by duration—essentially a rough proxy for overall bitrate—and min-max normalizing it.
  3. Logistic Regression (LR) & Support Vector Classifiers (SVC): Standard, off-the-shelf scikit-learn models trained on just the 2D feature vector $[s, l]^T$ (including a class-balanced SVC, or B-SVC, to handle skewed datasets).

Performance is measured using Area Under the ROC Curve (AUC), which evaluates how well a score ranks fakes above reals without needing to pick an arbitrary threshold (50% is random guessing; 100% is flawless separation).

Datasets

No new benchmarks were introduced; instead, the authors audited three widely used existing audio-visual deepfake benchmarks:

  • 1M-Deepfakes Detection Challenge (1M): Over one million videos across 2,000+ subjects featuring audio, visual, and audio-visual manipulations.
  • FakeAVCeleb (FAV): Multimodal deepfakes evaluated using a balanced test split (70 real, 70 fake) and a heavily imbalanced training split (430 real, 18,018 fake).
  • DeepFake Detection Challenge (DFDC): Primarily face-swap videos, evaluated using a standard 18,000-video subset.

Key Insights and Ideas

  • Duration unlocks the true signal: Longer videos naturally take up more space. Once you account for duration, real and fake videos separate into two distinct bands in the 1M and FAV datasets—meaning fake videos systematically consume more megabytes per second than real ones of the same length.
Figure 3. File size (y-axis) versus video duration (x-axis) for (a) the training set, (b) the validation set, and (c) the test set of 1M. Blue points denote real videos, red points denote fake videos, and green points denote samples with unknown labels. In the labeled training and validation sets, fake videos tend to have larger file sizes than real videos of similar duration.
  • It’s a pipeline quirk, not a law of physics: While 1M and FAV exhibit massive file-size bias, DFDC shows none at all. This contrast proves that bloated file sizes aren't an inherent property of deepfakes, but rather an artifact of how specific datasets are constructed and saved.
  • Surprisingly, the bias transfers: A simple classifier trained only on the size and duration of 1M videos still works remarkably well when tested directly on FakeAVCeleb (and vice versa), suggesting both dataset pipelines inadvertently introduced very similar encoding or compression differences.

Key Results

  • 1M Dataset: Using raw file size alone yields 70.13% AUC on the validation set. Factoring in duration via the trivial Size/Second ratio skyrockets performance to 91.20% AUC on validation and 91.47% AUC on the test set.
  • FakeAVCeleb: File size alone hits 66.34% AUC, while Size/Second reaches 85.76% AUC (with LR and B-SVC close behind at ~85%).
  • DFDC: File size alone scores 49.97% AUC—statistically indistinguishable from a coin flip—with no visible separation in size–duration plots.
  • Cross-Dataset Transfer: Training Size/Second on 1M and testing on FAV yields 85.73% AUC; training B-SVC on FAV and testing on 1M achieves 85.91% AUC.

Limitations and Future Work

The authors are careful not to overclaim what their numbers mean:

  • No smoking gun yet: While re-saving, codec configurations, bitrates, and compression histories are prime suspects, this study only measures the existence of the file-size gap—it does not establish the exact pipeline step that caused it.
  • Do neural networks actually cheat with this? Content-based deepfake detectors don't read file sizes from your hard drive; they look at decoded video frames and audio waves. However, compression and bitrate differences that change file size can leave subtle quantization traces in decoded pixels and audio. Determining whether deep learning models are secretly exploiting these low-level encoding artifacts—via controlled re-encoding experiments and file-matched evaluation splits—is left as a critical next step for future work.

Summary updated

Abstract

Deepfake detection benchmarks are commonly designed to evaluate whether models can distinguish authentic from manipulated audiovisual content. However, benchmark construction pipelines may introduce unintended associations between class labels and simple file-level properties. In this work, we identify a potential file-size bias in two widely used audio-visual deepfake datasets. In the 1M-Deepfakes Detection Challenge dataset, a score derived from file size alone achieves 70.13% AUC on the validation set. When file size is considered together with video duration, simple file-level methods exceed 90% AUC on 1M and 85% AUC on FakeAVCeleb. Although the same pattern is not observed in DFDC, the results suggest that the observed association is dataset-dependent rather than an inherent property of deepfake videos. We discuss several possible explanations, including differences in encoding, compression, source data, manipulation procedures, and post-processing, although the present analysis does not establish the underlying cause. We further discuss whether the factors associated with file size may also leave traces in decoded video or audio, and consequently whether they could influence content-based deepfake detection, as an important direction for future work. Our findings highlight the importance of examining simple file-level properties when constructing and evaluating deepfake datasets and benchmarks.
BibTeX
@misc{astrid2026file,
  author = {Marcella Astrid and Niki Maria Foteinopoulou},
  title = {{File Size as a Potential Dataset Bias in Audio-Visual Deepfake Data}},
  year = {2026},
  eprint = {2611.32979},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32979},
}
Figure