hashim19 commited on
Commit
a6e22df
·
verified ·
1 Parent(s): e916961

Add downstream detector weights for 19 SSL models and 2 reference systems

Browse files
README.md ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - audio-deepfake-detection
5
+ - anti-spoofing
6
+ - self-supervised-learning
7
+ - speech
8
+ - benchmark
9
+ library_name: pytorch
10
+ pretty_name: Spoof-SUPERB Detector Checkpoints
11
+ ---
12
+
13
+ # Spoof-SUPERB: Detector Checkpoints
14
+
15
+ Trained weights for every detector in **Spoof-SUPERB**, a benchmark of
16
+ self-supervised speech representations for audio deepfake detection.
17
+
18
+ - Code: https://github.com/issflab/spoof_SUPERB
19
+ - Score files: https://huggingface.co/datasets/issf/spoof-superb-scores
20
+ - Leaderboard: https://huggingface.co/spaces/issf/Spoof-SUPERB
21
+
22
+ ## These are downstream weights only
23
+
24
+ Spoof-SUPERB evaluates SSL front-ends **frozen**. Only three things are trained:
25
+ the learnable layer-weighting over the upstream's hidden states, a projector, and
26
+ a linear classifier. Each checkpoint here holds exactly those:
27
+
28
+ ```
29
+ ssl_model.featurizer.weights (n_layers + 1,) learnable layer weighting
30
+ projector.weight (256, upstream_dim)
31
+ projector.bias (256,)
32
+ post_net.linear.weight (2, 256)
33
+ post_net.linear.bias (2,)
34
+ ```
35
+
36
+ The frozen upstream is **not** included. It is loaded from s3prl at run time
37
+ under its own name, so nothing here redistributes wav2vec 2.0, HuBERT, WavLM,
38
+ XLS-R or any other published encoder.
39
+
40
+ This is why the whole set is 19 MB rather than 12.2 GB. The original training
41
+ checkpoints embedded a full copy of the frozen encoder, 766x larger in total and
42
+ byte-identical to what s3prl already serves.
43
+
44
+ **Verified, not assumed.** The encoder tensors in the original checkpoints were
45
+ compared against freshly instantiated s3prl upstreams: identical for every
46
+ comparable tensor across `apc` (14/14), `wav2vec2_base_960` (218/218) and `tera`
47
+ (57/58). The single TERA difference is `_pseudo_wavs`, a random scratch buffer
48
+ s3prl regenerates on load, not a learned parameter.
49
+
50
+ ## Contents
51
+
52
+ 19 SSL detectors, one per row of the paper's main results table:
53
+
54
+ `apc`, `vq_apc`, `npc`, `mockingjay_960hr`, `tera`, `decoar2`, `wav2vec`,
55
+ `wav2vec2_base_960`, `wav2vec2_large_ll60k`, `hubert_base`, `hubert_large_ll60k`,
56
+ `multires_hubert_multilingual_large600k`, `xls_r_300m`, `unispeech_sat_large`,
57
+ `data2vec_large_ll60k`, `wavlablm_ek_40k`, `wavlm_large`, `ssast_frame_base`,
58
+ `mae_ast_frame`
59
+
60
+ Plus the two non-SSL reference systems under `non_ssl/`:
61
+
62
+ - `aasist_raw_best_epoch44.pth` — AASIST trained end-to-end on raw waveform.
63
+ Full weights, since nothing about it is frozen. This is the best-dev-EER epoch
64
+ (1.178%), which is what the paper scores from.
65
+ - `lfcc_gmm/gmm_bonafide.pkl`, `lfcc_gmm/gmm_spoof.pkl` — the two 512-component
66
+ diagonal-covariance Gaussian mixtures. Scored as the difference of mean
67
+ per-frame log-likelihoods.
68
+
69
+ ## Training setup
70
+
71
+ All SSL detectors share one recipe: ASVspoof 2019 LA train, frozen upstream,
72
+ weighted layer aggregation, a lightweight fully connected classifier, binary
73
+ cross-entropy with class weights [0.1, 0.9], 50 epochs, batch size 64, SWA. The
74
+ checkpoint is the SWA average.
75
+
76
+ ## Usage
77
+
78
+ Load through the benchmark's own scoring driver, which builds the model, fetches
79
+ the matching s3prl upstream and applies these weights:
80
+
81
+ ```bash
82
+ git clone https://github.com/issflab/spoof_SUPERB
83
+ python -m spoof_superb.scoring.driver --model linear_head \
84
+ --ssl_model xls_r_300m --model_path xls_r_300m.pth \
85
+ --source protocol_csv --output_file out.txt
86
+ ```
87
+
88
+ ## Licence
89
+
90
+ Apache-2.0, matching the benchmark code. The upstream encoders these detectors
91
+ sit on top of remain under their own licences and are not redistributed here.
92
+
93
+ ## Citation
94
+
95
+ ```bibtex
96
+ @article{ali2026spoofsuperb,
97
+ title = {Spoof-SUPERB: A Comprehensive Benchmark of Self-Supervised Speech
98
+ Representations for Audio Deepfake Detection},
99
+ author = {Ali, Hashim and Adupa, Nithin Sai and Malik, Hafiz},
100
+ year = {2026}
101
+ }
102
+ ```
apc.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5d3e327aa40e9c27c6129c15cbca1125328129d13580ab621796e0670a2b592
3
+ size 529773
data2vec_large_ll60k.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:174c14c0d83e5f866d33b9b4802096ea777d036220339f0aed144da148f7fcdb
3
+ size 1054568
decoar2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51d79ff4282a8a795ef93e7d063ce7f72c372bf95fd0025736c5fb0bb56802bb
3
+ size 792025
hubert_base.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16cc48a9236c3b8fa130e4a4deaa9973b00448605bfaedb6595901f72b2dc7fe
3
+ size 792261
hubert_large_ll60k.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1726dfdd0dc793c9332a4ca2f5432ed087827b8b511cd7ad3b5e7f42bc050f15
3
+ size 1054546
mae_ast_frame.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfd04941e68f3ff6a16672d54004e6c89b8649d303f83b7975bc5da501af81ed
3
+ size 792283
mockingjay_960hr.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb7d70d8fa8cfe913089fa33f7e6e8fc1e5ea2fc8a7a06ac6636e68d061eb01f
3
+ size 792316
multires_hubert_multilingual_large600k.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e1dd4a95e029b893f21bb6539d8e03aa8a7127683793a50fcea7dc65d5e35c1
3
+ size 1054894
non_ssl/aasist_raw_best_epoch44.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4943a265604955e9b6429bad99cfb9ee45f9fbe767c5961801fd871185c5b57f
3
+ size 1315175
non_ssl/lfcc_gmm/gmm_bonafide.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d37e07d0060cac2a5e4a5ee85047b52980d795f9c7503fcfcf0d9e4e36a5be93
3
+ size 741666
non_ssl/lfcc_gmm/gmm_spoof.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0004306c23fbceadd545a7daa0495416170dd49e79c088fed5067ed72183239a
3
+ size 741666
npc.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09887faa738743c130fccdc73e253ecd702f148a4a74e9eceb364601984bced3
3
+ size 529773
ssast_frame_base.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37625acd33ae29094d06fdb1d917e2263fbae19e99fe0a9f7013916d42ecb9ce
3
+ size 792316
tera.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50cc1cfd514c74a408d87d6ae7a00b232ba898206e4c1d357f89d35ad4aa4098
3
+ size 791928
unispeech_sat_large.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:198fbfb86fc016783c34d966a52a29b1f641eefae306f8b992d66a6ba0c2efce
3
+ size 1054557
vq_apc.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:081297be1469d9890dc2f0ceac3b733e2c6b3c7e8cde992517e46cdc91cdc3d0
3
+ size 529870
wav2vec.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f9190b2cb9675aa44fd3afa0c52ef95afc6c4e8fa10f54d33dbcb57b515f364
3
+ size 529881
wav2vec2_base_960.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d04a739aeeba521d836a53b9d8f135929df7a59661b5b3aab5610f54a676a31
3
+ size 792327
wav2vec2_large_ll60k.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffd90964d62ae580a963f3bc11947398b9a4b0cbfc7092cd4fbbaed8acea9a20
3
+ size 1054568
wavlablm_ek_40k.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cd3c93714a1b29b22d12b9631c8855c4a4734d6f6fe5d15ad52aff1742b9e0a
3
+ size 1054513
wavlm_large.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f9d137c779ae1abcd1e61e48aeb7ea6ac082d272c788e48a70c0656ba7bca62
3
+ size 1054469
xls_r_300m.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b9c4fb48fcd9ad49d8dc99ba24241bad14c9c7f826791c5cbadd86434741703
3
+ size 1054458