Abstract
Manipulated videos often contain subtle inconsistencies between their visual and audio signals. We propose a video forensics method, based on anomaly detection, that can identify these inconsistencies, and that can be trained solely using real, unlabeled data. We train an autoregressive model to generate sequences of audio-visual features, using feature sets that capture the temporal synchronization between video frames and sound. At test time, we then flag videos that the model assigns low probability. Despite being trained entirely on real videos, our model obtains strong performance on the task of detecting manipulated speech videos.
Introduction
The rapid advancement of generative models has made the creation of highly realistic deepfakes increasingly accessible. Most current detection methods rely on supervised learning, requiring massive datasets of both real and fake examples. This approach often fails to generalize to new forgery techniques, speakers, or languages not represented in the training data.
Furthermore, real-world videos are rarely perfectly synchronized due to encoding or recording artifacts. A simple synchronization check would yield too many false positives. This research addresses the need for a forensics tool that understands the complex, natural relationship between lip movements (visemes) and speech sounds (phonemes), distinguishing benign recording lags from malicious manipulations.
Methodology
The proposed system utilizes a two-stage pipeline based on Audio-Visual Anomaly Detection, trained exclusively on real, unlabeled video data.
1. Synchronization Feature Extraction
Rather than analyzing raw pixels, the model extracts "synchronization features." Using a pre-trained synchronization network, it calculates the probability distribution of time delays between video frames and the audio stream. By focusing on the distribution of delays rather than a single best match, the model remains robust to the natural jitters found in legitimate recordings.
2. Autoregressive Modeling
The core of the system is a decoder-only Transformer. It is trained on sequences of these sync features from real videos (using the LRS2 and LRS3 datasets). The model learns to predict the next "sync state" based on the temporal context of previous frames, effectively learning the natural "rhythm" of human speech.
3. Anomaly Detection
At test time, the model calculates the likelihood of a video's sync sequence. If the audio-visual alignment deviates significantly from the learned patterns of real speech, the video is assigned a low probability score and flagged as a forgery.
Key Results and Evaluation
The model was evaluated on diverse datasets, including FakeAVCeleb (containing Faceswap and Wav2Lip manipulations) and KoDF (a Korean-language deepfake dataset).
- Superior Generalization: On the FakeAVCeleb dataset, the model achieved an Average Precision (AP) of 94.2%, significantly outperforming self-supervised baselines like AVBYOL.
- Cross-Language Success: Despite being trained on English TED talks and BBC programs, the model achieved an AP of 87.6% on the Korean KoDF dataset. This suggests the model captures fundamental physical cues of speech that transcend specific languages.
- Temporal Localization: Unlike detectors that provide a single global score, this model can pinpoint exactly when a manipulation occurs by tracking the anomaly score frame-by-frame, as shown in the rising score curves for manipulated content.
- Robustness: The model demonstrated higher resilience to common video degradations—such as heavy compression, Gaussian blur, and JPEG artifacts—compared to many supervised state-of-the-art detectors.
Limitations and Future Work
While highly effective at detecting audio-visual inconsistencies, the model is not designed to catch visual-only forgeries where the mouth movements remain perfectly synced (e.g., changing skin texture or eye color). Additionally, as generative lip-syncing models like Wav2Lip continue to improve, the anomalies may become increasingly subtle. Future research will explore incorporating additional behavioral features, such as emotional consistency between facial expressions and vocal tone, to further enhance detection capabilities.
Summary updated