DualFocusNet: Dual-Stream Spatio-Temporal Transformer for Generalizable Deepfake Detection
The rapid advancement of deep generative models has enabled the creation of highly realistic deepfake videos, posing significant challenges for reliable detection. Existing approaches typically focus either on local spatial artifacts or global temporal inconsistencies, often lacking a unified mechanism to effectively integrate these complementary cues, which limits their generalization across diverse manipulation domains. To address this limitation, we propose DualFocusNet , a dual-branch spatio-temporal transformer designed for robust and generalizable deepfake video detection. The architecture incorporates two specialized attention modules: Short-Range Dependencies Attention ( SRDA ), which captures fine-grained motion and texture inconsistencies in localized facial regions, and Long-Range Dependencies Attention ( LRDA ), which models global structural coherence and long-term temporal dynamics. These complementary representations are adaptively fused through a trainable cross-attention mechanism with dynamic gating, enabling input-dependent integration of local and global cues. Extensive cross-dataset evaluations show that DualFocusNet consistently outperforms state-of-the-art methods under challenging generalization settings. When trained on DFDC-p, it achieves AUC scores of 82.5% (FF++), 86.2% (Celeb-DF), 87.3% (DeeperForensics), and 82.0% (WildDeepfake). When trained on Celeb-DF, it attains 79.8% (FF++), 78.5% (DFDC-p), and 80.9% (DeeperForensics), demonstrating robust performance across unseen datasets. It consistently surpasses strong baselines such as GramNet, Swin Transformer, and CNEDetector, highlighting its superior cross-domain generalization. These results confirm that the proposed dual-scale design captures intrinsic forgery inconsistencies rather than dataset-specific artifacts, making it well-suited for real-world deepfake detection.
Authors
- Federico Fontana (ORCID: https://orcid.org/0009-0007-0437-7832)
- Joan Serra-Sagristà (ORCID: https://orcid.org/0000-0003-4729-9292)
- Marco Raoul Marini (ORCID: https://orcid.org/0000-0002-2540-2570)
- Bachir Kaddar (ORCID: https://orcid.org/0000-0003-4385-8683)
- Víctor Sánchez (ORCID: https://orcid.org/0000-0002-7089-7031)
Institutions
- Universitat Autònoma de Barcelona (ES)
- Université des Sciences et de la Technologie d'Oran Mohamed Boudiaf (DZ)
- Sapienza University of Rome (IT)
Publication Details
- Journal
- ACM Transactions on Multimedia Computing Communications and Applications
- Published
- 2026-06-13
- DOI
- https://doi.org/10.1145/3820378
- Primary Topic
- Generative Adversarial Networks and Image Synthesis
- Type
- article
- Field-Weighted Citation Impact
- 0.00