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 ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 33 code samples harvested from 4 repositories linked to this paper: 25 ran (of which 0 constructed an object rather than computing a result; 10 with no instrument failure: 7 honoured, 0 violated, 3 with no contract checked; 15 where Syntology's instrument failed) · 8 unverified. Where Syntology's instrument failed: 13 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 33 samples from 4 repositories, 25 ran (10 with no instrument failure; 15 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 2 of the 25 samples that ran have no recorded date.

OUC-VAS/ForensicsAdapter found in paper text by SyntologySyntology: 1 sample, 0 ran · 1 unverified report
megvii-research/CADDM found in paper text by SyntologyApache-2.0Syntology: 15 samples, 13 ran (8 instrument-failed) · 2 unverified report
mapooon/SelfBlendedImages found in paper text by SyntologySyntology: 11 samples, 10 ran (6 instrument-failed) · 1 unverified report
10Ring/LAA-Net found in paper text by SyntologyNOASSERTIONSyntology: 6 samples, 2 ran (1 instrument-failed) · 4 unverified 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 (of which 0 constructed an object rather than computing a result; 10 with no instrument failure: 7 honoured, 0 violated, 3 with no contract checked; 15 where Syntology's instrument failed) · 8 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

7ran · honoured contract
13ran · our draft was wrong
2ran; the contract check could not run
3ran
8unverified

Licence: 24 of the 33 samples are pointer only, meaning Syntology does not serve that copy's text. For 6 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. 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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

OUC-VAS/ForensicsAdapter found in paper text by Syntology 1 sample, 0 ran · 1 unverified
get_test_metrics trainer/metrics/utils.py unverified licence not identified · pointer only · fb2578f416cf5c11 · report
megvii-research/CADDM found in paper text by Syntology 15 samples, 13 ran (8 instrument-failed) · 2 unverified
conv3x3 in 1,376 papers backbones/resnet.py ran · our draft was wrong Apache-2.0 (permissive) here; the stored copy is pointer only · fac5364e2f53c6db · report fixture: signature in_planes:int/0/int, out_planes:int/0/int, stride:int/0/int · returned Conv2d · level recorded, date not recorded
drop_connect in 73 papers
census: 9 implementations from 7 papers, 4 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 1 of 2, arg 1: rank 4, kind float, dtype float32
backbones/efficientnet_pytorch/utils.py ran; the contract check could not run (RAISES) Apache-2.0 (permissive) here; the stored copy is pointer only · 2dd5dfa94542911e · report fixture: signature inputs:Tensor/4/float, p:float/0/float, training:bool/0/bool · returned Tensor · level recorded 2026-09-22
intersect in 33 papers detection_layers/box_utils.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) here; the stored copy is pointer only · f01c5f73515770a5 · report fixture: signature box_a:Tensor/2/float, box_b:Tensor/2/float · returned Tensor · level recorded 2026-09-22
my_collate in 23 papers lib/util.py ran · our draft was wrong Apache-2.0 (permissive) · a78ee99664233262 · report fixture: signature batch:list/1/tuple · returned list · level recorded 2026-09-24
parse_labels lib/extract_frames_ldm_ff++.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · 2d72a2bc4e1e9ba3 · report fixture: signature video_path:str/0/str · returned int · level recorded 2026-09-24
parse_source_save_path lib/extract_frames_ldm_ff++.py ran · our draft was wrong Apache-2.0 (permissive) · 30443c76c003c4be · report fixture: signature save_path:str/0/str · returned str · level recorded 2026-09-24
parse_video_path lib/extract_frames_ldm_ff++.py ran · honoured contract Apache-2.0 (permissive) · 3e055bd3cc6af898 · report fixture: signature dataset:str/0/str, compression:str/0/str · returned list · level recorded 2026-09-24
point_form in 15 papers detection_layers/box_utils.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) here; the stored copy is pointer only · 3bea1addc1e14162 · report fixture: signature boxes:Tensor/2/float · returned Tensor · level recorded 2026-09-22
resnet18 in 432 papers backbones/resnet.py ran · our draft was wrong Apache-2.0 (permissive) · cc190183bb11bd23 · report fixture: signature pretrained:bool/0/bool · returned ResNet · level recorded 2026-09-24
resnet34 in 148 papers backbones/resnet.py ran · our draft was wrong Apache-2.0 (permissive) · 0d8c9426df665412 · report fixture: signature pretrained:bool/0/bool · returned ResNet · level recorded 2026-09-24
round_filters in 47 papers backbones/efficientnet_pytorch/utils.py ran · honoured contract Apache-2.0 (permissive) here; the stored copy is pointer only · 826e2e91d6a9ec09 · report fixture: signature filters:int/0/int, global_params:GlobalParams/0/? · returned int · level recorded 2026-09-22
round_repeats in 39 papers backbones/efficientnet_pytorch/utils.py ran · honoured contract Apache-2.0 (permissive) here; the stored copy is pointer only · 4d8e794b593d34a0 · report fixture: signature repeats:int/0/int, global_params:GlobalParams/0/? · returned int · level recorded 2026-09-22
update_learning_rate lib/util.py ran · honoured contract fingerprinted Apache-2.0 (permissive) · 5eaa5456ed2ad880 · report fixture: signature epoch:int/0/int · returned float · level recorded 2026-09-24
center_size in 14 papers detection_layers/box_utils.py unverified Apache-2.0 (permissive) · aa1d78402838820a · report
load_config in 389 papers lib/util.py unverified Apache-2.0 (permissive) · 3e5d9e6d9edda3a8 · report
mapooon/SelfBlendedImages found in paper text by Syntology 11 samples, 10 ran (6 instrument-failed) · 1 unverified
compute_accuray src/train_sbi.py ran · our draft was wrong no licence file found · pointer only · 571f70c187fecd59 · report fixture: signature pred:Tensor/2/float, true:Tensor/1/int · returned float64 · level recorded, date not recorded
IoUfrom2bboxes src/utils/funcs.py ran; the contract check could not run (RAISES) fingerprinted licence not identified · pointer only · a00572b204ac7ceb · report fixture: signature boxA:list/1/int, boxB:list/1/int · returned float · level recorded 2026-09-24
alpha_blend in 5 papers src/utils/blend.py ran · our draft was wrong fingerprinted no licence file found · pointer only · e192f4c3c39fd773 · report fixture: signature source:ndarray/3/float, target:ndarray/3/float, mask:ndarray/2/float · returned tuple · level recorded 2026-09-22
crop_face src/inference/preprocess.py ran licence not identified · pointer only · e5df5f083aae5186 · report fixture: signature img:ndarray/3/int, landmark:ndarray/2/float, bbox:ndarray/2/float, margin:bool/0/bool, crop_by_bbox:bool/0/bool, abs_coord:bool/0/bool, only_img:bool/0/bool, phase:str/0/str · returned tuple · level recorded 2026-09-24
dynamic_blend src/utils/blend.py ran · our draft was wrong licence not identified · pointer only · 064775573951ffd4 · report fixture: signature source:ndarray/3/int, target:ndarray/3/int, mask:ndarray/2/int · returned tuple · level recorded 2026-09-24
extract_face src/inference/preprocess.py ran · our draft was wrong licence not identified · pointer only · b62732ea3ecfcc2d · report fixture: signature frame:ndarray/3/int, model:MockFaceDetectionModel/0/?, image_size:tuple/1/int · returned list · level recorded 2026-09-24
extract_frames in 21 papers src/inference/preprocess.py ran licence not identified · pointer only · 3532e63049e34e2b · report fixture: signature filename:str/0/str, num_frames:int/0/int, model:MockFaceDetectionModel/0/?, image_size:tuple/1/int · returned tuple · level recorded 2026-09-24
get_blend_mask src/utils/blend.py ran · honoured contract fingerprinted no licence file found · pointer only · 84c03946f6271a41 · report fixture: signature mask:ndarray/2/int · returned ndarray · level recorded 2026-09-22
init_dfdcp src/inference/datasets.py ran · honoured contract licence not identified · pointer only · e0db134a43076a0b · report fixture: signature phase:str/0/str · returned tuple · level recorded 2026-09-24
load_json in 344 papers src/utils/funcs.py ran · our draft was wrong licence not identified · pointer only · b24e1ddfb59f8b53 · report fixture: signature path:str/0/str · returned dict · level recorded 2026-09-24
init_ff src/inference/datasets.py unverified licence not identified · pointer only · 9301da0a86698307 · report
10Ring/LAA-Net found in paper text by Syntology 6 samples, 2 ran (1 instrument-failed) · 4 unverified
bin_calculate_acc lib/metrics.py ran licence not identified · pointer only · e9dd2dfab7340f00 · report fixture: signature preds:Tensor/2/float, labels:Tensor/1/int, targets:NoneType/0/?, threshold:float/0/float · returned float64 · level recorded 2026-09-24
get_batch_data in 7 papers lib/core_function.py ran · our draft was wrong licence not identified · pointer only · 82a596cc6165caf7 · report fixture: signature batch_data:dict/0/? · returned tuple · level recorded 2026-09-24
f_cstency losses/losses.py unverified licence not identified · pointer only · d8dec52014820bfc · report
load_model in 479 papers models/utils.py unverified licence not identified · pointer only · e59ae2c29ff112ff · report
load_pretrained in 12 papers models/utils.py unverified licence not identified · pointer only · 890e350050aec63d · report
preset_model models/utils.py unverified licence not identified · pointer only · 8040c317919aed7d · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for Cross-AUC (graph method: Cross-AUC). 1 brick; individually on a fixture: 0 ran · 1 unverified. The assembly has not been run end-to-end.

  1. get_test_metrics entry · level 0 · unverified · fb2578f416cf5c11

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2606.19184") returns these assemblies with each brick's role and wiring (how to connect).

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.

Placed on leaderboards by Syntology Syntology

Syntology's extractor, the model Claude Sonnet 4.5, judged this paper's tables to report on 2 leaderboards (a model's judgement, not a result) and has not placed the paper on any of them: DeepFake Detection · DFDC (refused by a rule: the table's column header does not name the leaderboard's metric); DeepFake Detection · FaceForensics++ (refused by a rule: the table's column header does not name the leaderboard's metric). What is not shown.

Syntology has checked 8,886 of the 18,637 papers on this site that are newer than the archive (for 3,717 of them no archive leaderboard matched the paper's tables, so there was nothing further to check); 733 were read and have nothing to place (arXiv has no HTML version of the paper, or that version has no tables), 41 could not be read (the extractor's reply could not be parsed), and results from the other 8,977 appear after they are checked.

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