Papers › When AUC Misleads: Polarization-Aware Evaluation of Deepfake Detectors under Domain Shift

When AUC Misleads: Polarization-Aware Evaluation of Deepfake Detectors under Domain Shift

17 Jun 2026arXiv:2606.19184added by Syntology

Dat Nguyen, Cosmin Radoi, Romain Hermary, Marcella Astrid, Nesryne Mejri, Enjie Ghorbel, Djamila Aouada

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Recent advances in generative AI, such as diffusion models and face-swapping tools, have enabled the creation of highly realistic deepfakes, leading to real-world harms including financial fraud and non-consensual explicit content. In response, deepfake detection has become an active research area, with recent methods increasingly focusing on improving generalization to unseen manipulations. This is typically evaluated using the Area Under the ROC Curve (AUC) measured separately across multiple datasets. However, such an evaluation fails to reflect real-world scenarios where detectors face a mixture of data sources and varying artifact types. To address this limitation, we introduce a novel metric, Cross-dataset AUC (Cross-AUC) that averages per-domain AUCs with a measure of prediction polarization for taking into account the robustness to domain shift. The polarization extent is quantified by the Wasserstein Distance between class score distributions. Cross-AUC not only assesses the generalization capabilities of deepfake detectors under domain shifts more realistically, but it is also interpretable as it better explains the reason behind a drop in performance. Experiments performed on seven benchmark datasets demonstrate its practical relevance.

PaperPDFCode Syntology ran

In Syntology 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="2606.19184")

Code

Syntology Ran 25 of 33 code samples harvested from 4 repositories linked to this paper; 8 have no recorded run. Of those that ran: 2 ran · honoured contract; 4 ran · our draft was wrong; 3 ran · fixture could not drive it; 16 ran with no contract checked.

By repository: found in paper text by Syntology: 33 samples from 4 repositories, 25 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

OUC-VAS/ForensicsAdapter found in paper text by Syntology report
megvii-research/CADDM found in paper text by SyntologyApache-2.0 report
mapooon/SelfBlendedImages found in paper text by Syntology report
10Ring/LAA-Net found in paper text by SyntologyNOASSERTION report

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

33 samples harvested; 25 ran; 2 honoured the contract we drafted; 8 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.

2ran · honoured contract
4ran · our draft was wrong
3ran · fixture could not drive it
16ran
8unverified

Licence: 18 of the 33 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 4 repositories linked to this paper, official or community; each sample names its own and says which. “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.

compute_accuray mapooon/SelfBlendedImages/src/train_sbi.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 571f70c187fecd59 · report
IoUfrom2bboxes mapooon/SelfBlendedImages/src/utils/funcs.py found in paper text by Syntology ran fingerprinted licence not identified · pointer only · a00572b204ac7ceb · report
alpha_blend mapooon/SelfBlendedImages/src/utils/blend.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · e192f4c3c39fd773 · report
bin_calculate_acc 10Ring/LAA-Net/lib/metrics.py found in paper text by Syntology ran licence not identified · pointer only · e9dd2dfab7340f00 · report
conv3x3 megvii-research/CADDM/backbones/resnet.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · fac5364e2f53c6db · report
crop_face mapooon/SelfBlendedImages/src/inference/preprocess.py found in paper text by Syntology ran licence not identified · pointer only · e5df5f083aae5186 · report
drop_connect megvii-research/CADDM/backbones/efficientnet_pytorch/utils.py found in paper text by Syntology ran · fixture could not drive it Apache-2.0 (permissive) · 2dd5dfa94542911e · report
dynamic_blend mapooon/SelfBlendedImages/src/utils/blend.py found in paper text by Syntology ran licence not identified · pointer only · 064775573951ffd4 · report
extract_face mapooon/SelfBlendedImages/src/inference/preprocess.py found in paper text by Syntology ran licence not identified · pointer only · b62732ea3ecfcc2d · report
extract_frames mapooon/SelfBlendedImages/src/inference/preprocess.py found in paper text by Syntology ran licence not identified · pointer only · 3532e63049e34e2b · report
get_batch_data 10Ring/LAA-Net/lib/core_function.py found in paper text by Syntology ran licence not identified · pointer only · 82a596cc6165caf7 · report
get_blend_mask mapooon/SelfBlendedImages/src/utils/blend.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · 84c03946f6271a41 · report
init_dfdcp mapooon/SelfBlendedImages/src/inference/datasets.py found in paper text by Syntology ran licence not identified · pointer only · e0db134a43076a0b · report
intersect megvii-research/CADDM/detection_layers/box_utils.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · f01c5f73515770a5 · report
load_json mapooon/SelfBlendedImages/src/utils/funcs.py found in paper text by Syntology ran licence not identified · pointer only · b24e1ddfb59f8b53 · report
my_collate megvii-research/CADDM/lib/util.py found in paper text by Syntology ran Apache-2.0 (permissive) · a78ee99664233262 · report
parse_labels megvii-research/CADDM/lib/extract_frames_ldm_ff++.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 2d72a2bc4e1e9ba3 · report
parse_source_save_path megvii-research/CADDM/lib/extract_frames_ldm_ff++.py found in paper text by Syntology ran Apache-2.0 (permissive) · 30443c76c003c4be · report
parse_video_path megvii-research/CADDM/lib/extract_frames_ldm_ff++.py found in paper text by Syntology ran Apache-2.0 (permissive) · 3e055bd3cc6af898 · report
point_form megvii-research/CADDM/detection_layers/box_utils.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 3bea1addc1e14162 · report
resnet18 megvii-research/CADDM/backbones/resnet.py found in paper text by Syntology ran Apache-2.0 (permissive) · cc190183bb11bd23 · report
resnet34 megvii-research/CADDM/backbones/resnet.py found in paper text by Syntology ran Apache-2.0 (permissive) · 0d8c9426df665412 · report
round_filters megvii-research/CADDM/backbones/efficientnet_pytorch/utils.py found in paper text by Syntology ran · honoured contract Apache-2.0 (permissive) · 826e2e91d6a9ec09 · report
round_repeats megvii-research/CADDM/backbones/efficientnet_pytorch/utils.py found in paper text by Syntology ran · honoured contract Apache-2.0 (permissive) · 4d8e794b593d34a0 · report
update_learning_rate megvii-research/CADDM/lib/util.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 5eaa5456ed2ad880 · report
center_size megvii-research/CADDM/detection_layers/box_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · aa1d78402838820a · report
f_cstency 10Ring/LAA-Net/losses/losses.py found in paper text by Syntology unverified licence not identified · pointer only · d8dec52014820bfc · report
get_test_metrics OUC-VAS/ForensicsAdapter/trainer/metrics/utils.py found in paper text by Syntology unverified licence not identified · pointer only · fb2578f416cf5c11 · report
init_ff mapooon/SelfBlendedImages/src/inference/datasets.py found in paper text by Syntology unverified licence not identified · pointer only · 9301da0a86698307 · report
load_config megvii-research/CADDM/lib/util.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 3e5d9e6d9edda3a8 · report
load_model 10Ring/LAA-Net/models/utils.py found in paper text by Syntology unverified licence not identified · pointer only · e59ae2c29ff112ff · report
load_pretrained 10Ring/LAA-Net/models/utils.py found in paper text by Syntology unverified licence not identified · pointer only · 890e350050aec63d · report
preset_model 10Ring/LAA-Net/models/utils.py found in paper text by Syntology unverified licence not identified · pointer only · 8040c317919aed7d · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.19184, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

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