Views
No views yet
whisper_mfcc_mesonet_finetuned.pth_net.py, and the exact wrapper used to produce the Arena scores is in
whispermfccmesonet.py.torchaudio MFCC, n_fft=512, win=400,
hop=160), stacked to 384 features and cropped to 3000 frames.silence 1 0.2 1% -1 0.2 1%) before the 30 s window.| Dataset | Split | EER % | Trials | Skipped | Notes |
|---|---|---|---|---|---|
| ASVspoof2021_DF | test | 0.46 | 611,829 | 0 | in-domain (deepfake task the model targets) |
| ASVspoof2019_LA | test | 5.83 | 71,237 | 0 | logical-access spoofing |
| ASVspoof2021_LA | test | 15.96 | 181,566 | 0 | logical-access (with codec/channel variation) |
| CD-ADD | test | 18.90 | 20,786 | 0 | modern neural-TTS deepfakes |
| InTheWild | test | 26.72 | 31,779 | 0 | real-world deepfakes (reproduces paper: 26.72 %) |
Requires libsox (for the sox silence-trim). torchaudio 2.x ships the sox bindings but not the shared library; install it, e.g.conda install -c conda-forge sox, and make surelibsox.sois onLD_LIBRARY_PATH.
1import numpy as np
2from whispermfccmesonet import WhisperMFCCMesoNet # _net.py must be importable alongside
3
4m = WhisperMFCCMesoNet()
5m.load()
6audio = np.random.randn(48000).astype(np.float32) # float32 mono 16 kHz
7print(m.score_batch([audio], [16000])) # higher = more bona fide
8m.unload()logits[:, 0]).
whispermfccmesonet.py is the exact code that produced the
Arena scores.txt.1@inproceedings{kawa23b_interspeech,
2 title = {Improved DeepFake Detection Using Whisper Features},
3 author = {Piotr Kawa and Marcin Plata and Micha{\l} Czuba and Piotr Szyma{\'n}ski and Piotr Syga},
4 year = {2023},
5 booktitle = {Proc. INTERSPEECH 2023},
6 pages = {4009--4013},
7 doi = {10.21437/Interspeech.2023-1537},
8}