Papers › Multi-attentional Deepfake Detection

Multi-attentional Deepfake Detection

3 Mar 2021CVPR 2021 1arXiv:2103.02406archive 2025-07-28

Hanqing Zhao, Wenbo Zhou, Dongdong Chen, Tianyi Wei, Weiming Zhang, Nenghai Yu

Face forgery by deepfake is widely spread over the internet and has raised severe societal concerns. Recently, how to detect such forgery contents has become a hot research topic and many deepfake detection methods have been proposed. Most of them model deepfake detection as a vanilla binary classification problem, i.e, first use a backbone network to extract a global feature and then feed it into a binary classifier (real/fake). But since the difference between the real and fake images in this task is often subtle and local, we argue this vanilla solution is not optimal. In this paper, we instead formulate deepfake detection as a fine-grained classification problem and propose a new multi-attentional deepfake detection network. Specifically, it consists of three key components: 1) multiple spatial attention heads to make the network attend to different local parts; 2) textural feature enhancement block to zoom in the subtle artifacts in shallow features; 3) aggregate the low-level textural feature and high-level semantic features guided by the attention maps. Moreover, to address the learning difficulty of this network, we further introduce a new regional independence loss and an attention guided data augmentation strategy. Through extensive experiments on different datasets, we demonstrate the superiority of our method over the vanilla binary classifier counterparts, and achieve state-of-the-art performance.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2103.02406")

Code

Syntology Ran 20 of 25 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 3 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 14 ran with no contract checked.

By repository: official repository: 25 samples from 1 repository, 20 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yoctta/multiple-attention officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

25 samples harvested; 20 ran; 3 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
2ran · our draft was wrong
1ran · fixture could not drive it
14ran
5unverified

Licence: 25 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from yoctta/multiple-attention. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AttentionMap yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 43d9801d323877e5 · report
AttentionPooling yoctta/multiple-attention/models/MAT.py official repository ran no licence file found · pointer only · 020e1d7ced206b80 · report
Auxiliary_Loss_v2 yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · ee64f50e0c084ee1 · report
Block yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 9bf22d4f451ed68d · report
Conv2dDynamicSamePadding yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · fac9df854d8f28ec · report
Conv2dStaticSamePadding yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 1d6d41efbaa4e76e · report
Identity yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 552d3aca78645318 · report
MBConvBlock yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 12770455a6977457 · report
MemoryEfficientSwish yoctta/multiple-attention/models/MAT.py official repository ran fingerprinted no licence file found · pointer only · 216a33b331a90731 · report
SeparableConv2d yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · e62c4554809ce2bc · report
Swish yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 0fb7ab180e596005 · report
SwishImplementation yoctta/multiple-attention/models/MAT.py official repository ran no licence file found · pointer only · 6fca2143a077d04e · report
Texture_Enhance_v2 yoctta/multiple-attention/models/MAT.py official repository ran no licence file found · pointer only · 8e7280a7aaf78ae0 · report
drop_connect yoctta/multiple-attention/models/MAT.py official repository ran · fixture could not drive it no licence file found · pointer only · 2dd5dfa94542911e · report
efficientnet yoctta/multiple-attention/models/MAT.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 257c1c1e61218873 · report
efficientnet_params yoctta/multiple-attention/models/MAT.py official repository ran · honoured contract no licence file found · pointer only · 0d2081257b75b978 · report
get_same_padding_conv2d yoctta/multiple-attention/models/MAT.py official repository ran · our draft was wrong no licence file found · pointer only · 4c8a17dc9214affe · report
round_filters yoctta/multiple-attention/models/MAT.py official repository ran · honoured contract no licence file found · pointer only · 826e2e91d6a9ec09 · report
round_repeats yoctta/multiple-attention/models/MAT.py official repository ran · honoured contract no licence file found · pointer only · 4d8e794b593d34a0 · report
xception yoctta/multiple-attention/models/MAT.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · a4916d92d14f412b · report
BlockDecoder yoctta/multiple-attention/models/MAT.py official repository unverified no licence file found · pointer only · 43fa0c458613b03f · report
EfficientNet yoctta/multiple-attention/models/MAT.py official repository unverified no licence file found · pointer only · 1bf7777ed9460905 · report
MAT yoctta/multiple-attention/models/MAT.py official repository unverified no licence file found · pointer only · ed884b31a2f023a3 · report
get_model_params yoctta/multiple-attention/models/MAT.py official repository unverified no licence file found · pointer only · 3872570123f9e3ae · report
load_pretrained_weights yoctta/multiple-attention/models/MAT.py official repository unverified no licence file found · pointer only · 5545a1c79e2818b2 · report

Tasks

Binary ClassificationData AugmentationDeepFake DetectionFace Swapping

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections