Add Codecfake-W2V2-AASIST-CoTrain submission for LRLspoof (1-SRR=2.1343)

#17
submissions/codecfake-w2v2-aasist-cotrain.yaml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version: 4
2
+ system:
3
+ name: Codecfake-W2V2-AASIST-CoTrain
4
+ slug: codecfake-w2v2-aasist-cotrain
5
+ description: 'W2V2-AASIST countermeasure from the Codecfake paper: a frozen wav2vec 2.0 XLS-R 300M front-end
6
+ (per-utterance mean/variance normalised input; hidden states after its 5th transformer layer, i.e.
7
+ HF hidden_states[5]) feeding an AASIST head (linear 1024->128, residual encoder, spectro-temporal
8
+ graph attention). Weights: the co-trained release (ASVspoof2019 LA train + Codecfake train, with the
9
+ paper''s CSAM sampler; the paper''s headline countermeasure). The upstream repo carries no license,
10
+ so the weights are linked from the authors'' GitHub repo (pinned commit), not re-hosted. FP32, first
11
+ 64600 samples (repeat-tiled if shorter); score = log-odds of bona fide.'
12
+ code: https://github.com/xieyuankun/Codecfake
13
+ checkpoint: https://github.com/xieyuankun/Codecfake/blob/72c32e2840eef95fbeade349425fa9c5391fa11e/pretrained_model/cotrain_w2v2aasist_CSAM/anti-spoofing_feat_model.pt
14
+ params_millions: 76.554634
15
+ paper:
16
+ arxiv_id: '2405.04880'
17
+ url: https://arxiv.org/abs/2405.04880
18
+ bibtex: "@article{xie2024codecfake,\n title = {The Codecfake Dataset and Countermeasures\
19
+ \ for the Universally Detection of Deepfake Audio},\n author = {Xie, Yuankun and Lu, Yi\
20
+ \ and Fu, Ruibo and Wen, Zhengqi and Wang, Zhiyong and Tao, Jianhua and Qi, Xin and Wang, Xiaopeng\
21
+ \ and Liu, Yukun and Cheng, Haonan and Ye, Long and Sun, Yi},\n journal = {arXiv preprint\
22
+ \ arXiv:2405.04880},\n year = {2024},\n eprint = {2405.04880},\n archivePrefix\
23
+ \ = {arXiv}\n}\n"
24
+ dataset:
25
+ id: lab260/LRLspoof
26
+ revision: ac76f0e5472fdb68a6726e1fa94a148316e76916
27
+ split: test
28
+ scores:
29
+ srr_complement: 2.1343092804690156
30
+ n_trials: 1304455
31
+ n_skipped: 286
32
+ calibration:
33
+ source_dataset: SpeechAntiSpoofingBenchmarks/DeepVoice
34
+ threshold: 3.093147679322034
35
+ artifact:
36
+ scores_url: https://huggingface.co/SpeechAntiSpoofingBenchmarks/Codecfake-W2V2-AASIST-CoTrain/resolve/4d3ee8d5d90a61009caa280a66cff193d6ad5b08/.eval_results/lab260/LRLspoof/scores.txt
37
+ scores_sha256: 8882b76822f616022b7d59896664de3e888e6b80135311ce454a75331f5a04d4
38
+ bench_version: speech-spoof-bench==0.4.1
39
+ reproduction:
40
+ reproduced_by: SpeechAntiSpoofingBenchmarks
41
+ reproduced_at: '2026-11-04'
42
+ reproduced_bench_version: speech-spoof-bench==0.4.1
43
+ match: inference
44
+ submitter:
45
+ hf_username: korallll
46
+ contact: k.n.borodin@mtuci.ru
47
+ submitted_at: '2026-11-04'
48
+ notes: 'W2VAASIST from xieyuankun/Codecfake @ 72c32e2 (model.py; generate_score.py pipeline), checkpoint
49
+ pretrained_model/cotrain_w2v2aasist_CSAM/anti-spoofing_feat_model.pt (a pickled whole module; converted
50
+ once to a state_dict with an allow-list unpickler, strict load). Frozen XLS-R = facebook/wav2vec2-xls-r-300m
51
+ @ 1a640f3, truncated to its first 5 transformer layers (bit-identical to the full model''s hidden_states[5]).
52
+ No upstream license: weights are fetched from the pinned GitHub URL at load time, not re-hosted. Deterministic
53
+ first 64600 samples, shorter clips repeat-tiled (source pad_dataset). Class 0 = bona fide; score = logits[:,0]
54
+ - logits[:,1] (monotone in the source''s softmax[:,0]). Parity vs the authors'' shipped per-utterance
55
+ score files (result/ @ 72c32e2), full sets: ASVspoof2019_LA eval (71,237): EER 0.312% vs authors 0.312%,
56
+ per-clip Pearson (logit scale) 0.99994, Spearman 0.999995; In-the-Wild (31,779): EER 4.56% vs authors
57
+ 4.68%, Pearson 0.9986, Spearman 0.9995 (the residual is the arena copy''s 16-bit FLAC quantisation of
58
+ the float source wavs: on 512 original float wavs the median |d logit| drops from 0.043 to 0.0035).'