--- license: mit tags: - audio - anti-spoofing - deepfake-detection - speech-anti-spoofing-arena library_name: pytorch --- # RawNetLite: Speech Anti-Spoofing Arena wrapper Packaged for the [Speech Anti-Spoofing Arena](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena) from the authors' [code](https://github.com/adipiz99/RawNetLite/tree/fcb0fe8d0f40146d110e322c00a0723ba27d5520) and [paper](https://arxiv.org/abs/2504.20923). RawNetLite (Di Pierno et al., IJCNN VERIMEDIA 2025): a lightweight end-to-end raw-waveform detector -- Conv1D(1->64) + BatchNorm + ReLU, three 1-D residual blocks (64 ch), adaptive average pooling to 64 steps, a bidirectional GRU (128 per direction, last step), Linear(256,64) -> Linear(64,1). Released checkpoint triple_cross_domain_focal_rawnet_lite.pt: trained with focal loss on a balanced mix of FakeOrReal, "AVSpoof2021" (the authors' name for ASVspoof 2021) and CodecFake, no augmentation. Input as the authors' audio_preprocessor.py: 16 kHz mono, peak-normalised (divide by max |x| of the whole clip), first 48000 samples (3 s, within the Arena 4 s cap), right zero-pad. score = -logit(fake) (the pre-sigmoid fc2 output negated; the source's sigmoid(logit) is P(fake)). FP32 (TF32 off). - Weights: re-hosted here under the upstream license ([triple_cross_domain_focal_rawnet_lite.pt](https://huggingface.co/SpeechAntiSpoofingBenchmarks/RawNetLite/blob/7209f7f94f1c69bc0d2320e854914e0966b12bd4/triple_cross_domain_focal_rawnet_lite.pt), commit-pinned); upstream: https://github.com/adipiz99/RawNetLite/tree/fcb0fe8d0f40146d110e322c00a0723ba27d5520 - Params: 0.24 M. Trained on FakeOrReal, ASVspoof 2021 ("AVSpoof2021" in the paper) and CodecFake. The Arena marks ASVspoof2021_LA and ASVspoof2021_DF as n/a* (training overlap); near-random and inverted cells are kept (maintainer's choice). - Score: higher = bona fide. All datasets were scored with the PyTorch wrapper (7B audio LLM in bf16; no TensorRT). ## Arena results [![arena tier](https://img.shields.io/endpoint?url=https://speechantispoofingbenchmarks-speechantispoofingarena.hf.space/badge/rawnetlite/tier.json)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![arena rank](https://img.shields.io/endpoint?url=https://speechantispoofingbenchmarks-speechantispoofingarena.hf.space/badge/rawnetlite/rank.json)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) EER% (lower is better); EmoSpoofTTS and LRLspoof are spoof-only and use 1-SRR% at the model's DeepVoice EER threshold. Per-dataset scores are under `.eval_results/`. [![EER% 15.08 on ASVspoof2019_LA](https://img.shields.io/badge/EER%25%20on%20ASVspoof2019__LA-15.08%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 18.14 on ASVspoof2021_LA](https://img.shields.io/badge/EER%25%20on%20ASVspoof2021__LA-18.14%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 20.19 on ASVspoof2021_DF](https://img.shields.io/badge/EER%25%20on%20ASVspoof2021__DF-20.19%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 45.69 on ASVspoof5](https://img.shields.io/badge/EER%25%20on%20ASVspoof5-45.69%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 40.51 on InTheWild](https://img.shields.io/badge/EER%25%20on%20InTheWild-40.51%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 44.11 on ADD22_eval_31](https://img.shields.io/badge/EER%25%20on%20ADD22__eval__31-44.11%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 46.63 on ADD2023_track12_test_r1](https://img.shields.io/badge/EER%25%20on%20ADD2023__track12__test__r1-46.63%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 34.22 on CFAD](https://img.shields.io/badge/EER%25%20on%20CFAD-34.22%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 42.55 on CD-ADD](https://img.shields.io/badge/EER%25%20on%20CD--ADD-42.55%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 37.46 on CVoiceFake_small](https://img.shields.io/badge/EER%25%20on%20CVoiceFake__small-37.46%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 50.48 on DeepVoice](https://img.shields.io/badge/EER%25%20on%20DeepVoice-50.48%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 51.27 on LibriSeVoc](https://img.shields.io/badge/EER%25%20on%20LibriSeVoc-51.27%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 42.04 on SONAR](https://img.shields.io/badge/EER%25%20on%20SONAR-42.04%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 42.98 on ArAD](https://img.shields.io/badge/EER%25%20on%20ArAD-42.98%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 35.72 on DECRO](https://img.shields.io/badge/EER%25%20on%20DECRO-35.72%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 34.19 on J-SPAW_LA](https://img.shields.io/badge/EER%25%20on%20J--SPAW__LA-34.19%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 48.1 on ODSS](https://img.shields.io/badge/EER%25%20on%20ODSS-48.1%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 33.38 on HABLA](https://img.shields.io/badge/EER%25%20on%20HABLA-33.38%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 49.93 on DFADD](https://img.shields.io/badge/EER%25%20on%20DFADD-49.93%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 43.63 on PyAra](https://img.shields.io/badge/EER%25%20on%20PyAra-43.63%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 48.2 on XMAD](https://img.shields.io/badge/EER%25%20on%20XMAD-48.2%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![EER% 61.18 on EmoFake_test](https://img.shields.io/badge/EER%25%20on%20EmoFake__test-61.18%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![SRR COMPLEMENT 5.66 on EmoSpoofTTS](https://img.shields.io/badge/SRR%20COMPLEMENT%20on%20EmoSpoofTTS-5.66%25-blue)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) [![SRR COMPLEMENT 10.48 on LRLspoof](https://img.shields.io/badge/SRR%20COMPLEMENT%20on%20LRLspoof-10.48%25-blue)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=rawnetlite) ## Citation ```bibtex @inproceedings{dipierno2025rawnetlite, title = {End-to-end Audio Deepfake Detection from RAW Waveforms: a RawNet-Based Approach with Cross-Dataset Evaluation}, author = {Andrea Di Pierno and Luca Guarnera and Dario Allegra and Sebastiano Battiato}, booktitle = {International Joint Conference on Neural Networks (IJCNN) - VERIMEDIA Workshop}, year = {2025} } ```