[Paper Review] Delving into Sequential Patches for Deepfake Detection
The paper introduces LTTD, a Local- & Temporal-aware Transformer for deepfake detection that models sequences of local patches with Transformer blocks and cross-patch consistency mechanisms, achieving state-of-the-art generalizability and robustness across datasets.
Recent advances in face forgery techniques produce nearly visually untraceable deepfake videos, which could be leveraged with malicious intentions. As a result, researchers have been devoted to deepfake detection. Previous studies have identified the importance of local low-level cues and temporal information in pursuit to generalize well across deepfake methods, however, they still suffer from robustness problem against post-processings. In this work, we propose the Local- & Temporal-aware Transformer-based Deepfake Detection (LTTD) framework, which adopts a local-to-global learning protocol with a particular focus on the valuable temporal information within local sequences. Specifically, we propose a Local Sequence Transformer (LST), which models the temporal consistency on sequences of restricted spatial regions, where low-level information is hierarchically enhanced with shallow layers of learned 3D filters. Based on the local temporal embeddings, we then achieve the final classification in a global contrastive way. Extensive experiments on popular datasets validate that our approach effectively spots local forgery cues and achieves state-of-the-art performance.
Motivation & Objective
- Motivate robust deepfake detection that generalizes beyond seen forgery methods.
- Leverage local low-level temporal cues to resist post-processing and degradation.
- Develop a patch-series Transformer framework that emphasizes temporal consistency in local regions.
- Introduce CPI loss and CPA module to aggregate patch-level information for global decision.
Proposed method
- Divide video frames into spatial patches and form patch sequences over time.
- Use Local Sequence Transformer (LST) with 3D convolutions to enhance low-level temporal features before self-attention.
- Inject low-level temporal information through shallow Conv3D and multi-stage Transformer blocks.
- Apply Cross-Patch Inconsistency (CPI) loss to enforce global contrastive consistency among patch embeddings.
- Aggregate local information with Cross-Patch Aggregation (CPA) and a class token for final binary prediction.
- Train end-to-end with L = BCE + λ · L_CPI (λ = 1e-3).
Experimental results
Research questions
- RQ1Can modeling sequences of local patches with transformers improve generalization to unseen deepfake methods?
- RQ2Does incorporating local temporal cues and cross-patch consistency enhance robustness to post-processing and compression?
- RQ3How effective are CPI loss and CPA aggregation in exploiting patch-level temporal inconsistencies for detection?
Key findings
- Achieves state-of-the-art generalizability, averaging 91.9 AUC across four unseen datasets when trained on FF++ (HQ) and tested elsewhere.
- Outperforms contemporary detectors in cross-dataset scenarios (CelebDF, DFDC, FaceSh, DeepFo).
- Demonstrates robustness to common perturbations (compression, noise, blur, etc.) with strong average AUC on perturbed videos.
- Ablations show each component (LST, CPI, CPA) contributes to performance, with the full LTTD achieving superior cross-dataset results.
- Temporal patch modeling with local low-level enhancements yields more generalizable representations than semantic-focused or purely low-level methods.
- Visualization indicates LTTD forms a unified real/deepfake manifold, unlike conventional CNN/ViT baselines which cluster by forgery method.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.