$ cat video-detection/README.md
M.S. Thesis · ISSF Lab, University of Michigan-Dearborn · Sep 2025 – May 2026 · Dearborn, MI

Detecting AI-generated video from generators the model was not trained on

An R(2+1)D video classifier, tested on generator families held out from training. Mixed and SupCon fine-tuning raise held-out AUROC to 81%. The cases where it still fails are listed below.

Role
Sole researcher on an M.S. thesis, University of Michigan
Goal
Cross-generator generalization for AI-video detection
Artifact
81%
AUROC on generator families held out from training · +15% vs single-source baseline
~30k
videos · 7 generator families · 3 evaluation datasets
Problem

In-domain scores overstate how well detectors transfer

AI-video detectors are usually tested on videos from the same generators they were trained on. On generators held out from training, performance drops.

Datasets also carry shortcuts, such as frame count, resolution and file naming, that a model can learn instead of the artifacts of generation. Shortcuts raise in-domain scores and do not transfer.

Evaluation setup
ModelR(2+1)D spatiotemporal CNN on video frames (no audio)
Data~30K videos from 7 generator families
Eval datasetsDVF, GenVid (GVD), AEGIS
ProtocolGenerator families held out from training are used only for testing
MetricsAUROC · EER · FPR on real videos · FNR on generated videos
ComputeGreat Lakes HPC cluster · SLURM · PyTorch
Approach
01Trained an R(2+1)D detector and evaluated it with generator families held out from training.
02Tracked per-generator AUROC during fine-tuning. Performance on earlier generators dropped as new ones were added; I traced this to catastrophic forgetting.
03Compared target-only fine-tuning with mixed fine-tuning, generator-aware sampling and supervised contrastive (SupCon) fine-tuning.
04Removed dataset shortcuts in preprocessing: resolution standardization, temporal windowing, center crop, frame normalization, filename hashing. Inspected Grad-CAM maps to check the model no longer attended to them.
05Used EER rather than raw accuracy as the main comparison metric.
Results

EER by fine-tuning configuration

Fine-tuning configDVFGenVidAEGIS
DVF·Target0.4120.4500.250
GVD·Target0.3750.2320.318
DVF·Mixed0.2250.2550.268
GVD·Mixed0.2190.1030.366

EER by evaluation dataset (columns) and fine-tuning configuration (rows). Lower is better.

  • Mixed fine-tuning lowers EER on DVF: 0.412 → 0.225 (DVF·Target → DVF·Mixed) and 0.375 → 0.219 (GVD·Target → GVD·Mixed).
  • GenVid reaches the lowest EER measured, 0.103, under GVD·Mixed.
  • AEGIS gets worse under mixed fine-tuning: 0.250 → 0.268 and 0.318 → 0.366. No configuration is best on all three datasets.
  • 81% AUROC on held-out generator families, +15% over a single-source baseline.
Failures

Where it fails

  • Missed generated videos: FNR 0.118 on Sora and 0.189 on Kling.
  • Short videos: clips that are too short are missed.
  • Heavy compression: heavily compressed videos are missed. Fixing this would need adversarial training, which I didn't do.
  • No audio: the model uses video frames only.
  • AEGIS: mixed fine-tuning raises EER (table above).
False-positive rate on real videos (DVF 0.255) and false-negative rate on generated videos (Sora 0.118, Kling 0.189)
Fig 1. Error rates by source (lower is better). FPR: real videos classified as generated. FNR: generated videos classified as real.

The YouTube FPR (0.491) is high, but this is a dataset issue rather than a model failure. A large share of the YouTube "real" videos in the evaluation set are animations, motion graphics and stylized content — material that the model reasonably flags as not matching the statistics of natural live-action footage. The DVF real-video FPR of 0.255, measured on a cleaner set of genuine live-action clips, is a more representative figure.

Skills demonstrated
PyTorchvideo classificationR(2+1)D · spatiotemporal CNNssupervised contrastive learningdomain generalizationevaluation designGrad-CAM interpretabilityHPC · SLURMmedia forensics