Skip to main content
QUICK REVIEW

[Paper Review] M2TR: Multi-modal Multi-scale Transformers for Deepfake Detection

Junke Wang, Zuxuan Wu|arXiv (Cornell University)|Apr 20, 2021
Digital Media Forensic DetectionComputer Science17 citations
TL;DR

This paper proposes M2TR, a multi-modal multi-scale Transformer for deepfake detection that jointly analyzes RGB and frequency-domain features across multiple spatial scales using a two-stream architecture with cross-modality fusion. It achieves state-of-the-art performance on benchmark datasets, including 99.51% AUC on FF++ (HQ), and introduces the high-quality SR-DF dataset to improve detection generalization and dataset diversity.

ABSTRACT

The widespread dissemination of Deepfakes demands effective approaches that can detect perceptually convincing forged images. In this paper, we aim to capture the subtle manipulation artifacts at different scales using transformer models. In particular, we introduce a Multi-modal Multi-scale TRansformer (M2TR), which operates on patches of different sizes to detect local inconsistencies in images at different spatial levels. M2TR further learns to detect forgery artifacts in the frequency domain to complement RGB information through a carefully designed cross modality fusion block. In addition, to stimulate Deepfake detection research, we introduce a high-quality Deepfake dataset, SR-DF, which consists of 4,000 DeepFake videos generated by state-of-the-art face swapping and facial reenactment methods. We conduct extensive experiments to verify the effectiveness of the proposed method, which outperforms state-of-the-art Deepfake detection methods by clear margins.

Motivation & Objective

  • Address the challenge of detecting subtle, multi-scale forgery artifacts in deepfakes that are imperceptible to humans.
  • Overcome the limitations of single-scale CNNs and vision transformers by modeling long-range dependencies across multiple spatial scales.
  • Improve robustness against image compression by incorporating frequency-domain features as a complementary modality.
  • Develop a high-quality, diverse Deepfake dataset (SR-DF) to support more realistic and generalizable detection research.
  • Enhance model generalization and reduce overfitting through multi-task learning with face mask supervision and contrastive loss.

Proposed method

  • Propose a two-stream M2TR architecture: one stream processes RGB patches at multiple scales using a multi-scale Transformer encoder, the other applies learnable frequency filters to extract forgery signals in the frequency domain.
  • Design a cross-modality fusion (CMF) block that adaptively fuses features from the RGB and frequency streams through interactive attention mechanisms.
  • Implement a multi-scale Transformer with separate attention heads for different patch sizes (e.g., 10×10, 20×20, 40×40) to capture artifacts of varying spatial extent.
  • Integrate frequency filtering via learnable filters that extract high-frequency components sensitive to compression artifacts and forgery traces.
  • Apply contrastive loss during training to improve zero-shot generalization across datasets by aligning features of real and fake samples.
  • Use multi-task learning with face mask prediction to provide additional supervisory signals and reduce overfitting.

Experimental results

Research questions

  • RQ1Can multi-scale modeling of image patches improve detection of localized forgery artifacts in deepfakes?
  • RQ2Does incorporating frequency-domain features enhance robustness against image compression and reveal hidden forgery signals?
  • RQ3How effective is cross-modality fusion between RGB and frequency features in improving detection accuracy?
  • RQ4To what extent does the proposed method generalize across diverse datasets compared to existing SOTA methods?
  • RQ5Can a new, high-quality Deepfake dataset (SR-DF) with diverse generation methods improve model generalization and dataset evaluation standards?

Key findings

  • M2TR achieves 97.93% AUC on FF++ (HQ) and 99.51% AUC on the same dataset, significantly outperforming existing SOTA methods.
  • The ablation study shows that removing the multi-scale Transformer (MT) reduces AUC by 2.58 percentage points on FF++ (HQ), confirming its effectiveness.
  • The frequency filter component contributes a 1.7% AUC gain on the low-quality (LQ) setting, demonstrating its value in detecting compression-resistant artifacts.
  • The cross-modality fusion (CMF) block improves performance by 1.4% AUC over simple concatenation, proving its role in effective feature interaction.
  • Training without contrastive loss leads to a 3.8–5.8% drop in cross-dataset AUC, showing its critical role in improving generalization.
  • The SR-DF dataset is quantitatively validated as superior in visual quality and data diversity compared to existing benchmarks like Celeb-DF and DFDC.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.