V-196Frame Interpolation Trace

Pixel Analysisvideo2020

Detects traces of AI frame interpolation used to increase frame rate or smooth temporal transitions.

Frame Interpolation Artifact Detection
This method detects AI-based frame interpolation — the process of generating intermediate frames between existing ones to increase frame rate (e.g., 24fps to 60fps) or smooth temporal transitions. Frame interpolation is used in deepfake pipelines to produce smoother output and to obscure frame-level artifacts:\n\n1. Motion Linearity Analysis: Frame interpolation algorithms (RIFE, DAIN, FILM) generate intermediate frames by estimating optical flow between two real keyframes and warping/blending them. This produces characteristic motion linearity — objects in the interpolated frame move along perfectly linear trajectories between their positions in adjacent keyframes. Real camera-captured video shows non-linear motion due to acceleration, deceleration, and temporal sampling of continuous motion. The method measures motion linearity by computing the deviation of each frame's optical flow from the linearly interpolated flow field. Interpolated frames show near-zero deviation (< 0.5 pixels RMS), while authentic frames show natural deviations (1–3 pixels RMS).\n\n2. Ghosting and Blending Artifact Detection: When objects move rapidly or scenes contain occlusions, frame interpolation produces ghosting artifacts — semi-transparent copies of moving objects caused by bidirectional warping that fails at motion boundaries. The method detects ghosting by analyzing alpha-channel transparency patterns in edge regions: (a) bilateral symmetry of ghosting around moving edges (the ghost appears equally on both sides), (b) ghost opacity proportional to the interpolation position (0.5 opacity for the midpoint frame), (c) edge doubling — moving edges appear as parallel double edges with spacing proportional to motion magnitude. These artifacts are subtle but physically impossible in single-exposure camera captures.\n\n3. Temporal Frequency Analysis of Frame Rate: Real video captured at native frame rate has specific temporal frequency content — motion is band-limited by the capture frame rate (temporal Nyquist frequency). Frame interpolation increases the apparent temporal Nyquist but does not add genuine high-temporal-frequency content — the interpolated frames are low-pass filtered versions of the true motion. The method computes the temporal power spectrum along motion trajectories and checks for the characteristic spectral gap: energy above the original Nyquist frequency (the real capture rate) should be near zero for interpolated video but non-zero for authentically high-frame-rate video. This spectral gap is a definitive indicator of frame interpolation.\n\n4. Codec Quantization Pattern Analysis: When interpolated frames are inserted into a video stream, they interact with the video codec's quantization in distinctive ways. Keyframes (I-frames) and predicted frames (P/B-frames) have different quantization characteristics. Interpolated frames inserted between genuine codec frames show quantization patterns inconsistent with the GOP structure — they may have uniform quantization (lacking the codec's adaptive quantization based on motion estimation residuals) or show double quantization artifacts if re-encoded. The method analyzes the DCT coefficient distribution per frame and detects frames whose quantization pattern is inconsistent with their position in the GOP structure.
Optical flow: RAFT (Recurrent All-Pairs Field Transforms)\nMotion linearity threshold: RMS deviation < 0.5 pixels indicates interpolation\nGhosting detection: edge analysis with Canny (σ = 1.5)\nEdge doubling spacing threshold: 1–10 pixels\nTemporal spectral analysis: per-trajectory 1D FFT\nOriginal frame rate estimation: spectral gap detection\nDCT analysis: 8×8 block quantization coefficient extraction\nMinimum video length: 10 frames\nFrame rate range: 15–120 fps
85–93% accuracy detecting AI frame interpolation. Motion linearity analysis achieves AUC of 0.91 for RIFE and DAIN interpolation. Temporal spectral gap detection achieves AUC of 0.94 for frame rate upscaling (24→60 fps). Ghosting detection provides F1-score of 0.83 but only for scenes with fast motion. Performance degrades for low multiplication factors (e.g., 24→30 fps).
• Motion linearity provides clear physical distinction from real captured video\n• Temporal spectral gap is a definitive indicator of frame interpolation\n• Ghosting artifacts are physically impossible in single-exposure captures\n• Works independently of deepfake generation method — targets post-processing step\n• Applicable to any interpolation method (optical flow or neural)
• Static or slow-moving scenes produce minimal interpolation artifacts\n• Low multiplication factors (24→30 fps) produce subtle differences\n• Very advanced interpolation with motion estimation refinement reduces linearity signal\n• Heavy video compression may mask ghosting and quantization artifacts\n• Legitimate frame rate conversion in broadcasting complicates forensic analysis
Detecting AI frame rate upscaling in deepfake video pipelines. Identifying artificially smoothed video in forensic analysis. Detecting frame interpolation in sports broadcasting (fake slow motion). Validating native frame rate claims for evidence authentication.