--- license: mit tags: - audio - anti-spoofing - deepfake-detection - speech-anti-spoofing-arena library_name: pytorch --- # XLSR-Mamba-DF — Speech Anti-Spoofing Arena wrapper Xiao & Das, IEEE SPL — XLSR-Mamba: a dual-column bidirectional Mamba on XLS-R. Two checkpoints released (LA- and DF-tuned RawBoost); not to be confused with XLSR-MamBo (arXiv 2601.02944). Packaged for the [Speech Anti-Spoofing Arena](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena) from the authors' [code](https://github.com/swagshaw/XLSR-Mamba) and [paper](https://arxiv.org/abs/2411.10027). XLSR-Mamba (DF checkpoint): a fully fine-tuned wav2vec 2.0 XLS-R 300M front-end (last layer) projected to 144-d (Linear + BatchNorm + SELU), followed by a dual-column bidirectional Mamba (v1 selective SSM) back-end: 6 forward + 6 backward Mamba blocks with fused add+RMSNorm, per-direction attention pooling, concatenation, linear fusion and a 2-way head. Official authors' DF-track checkpoint (trained on ASVspoof2019 LA train with RawBoost algo 3). Not to be confused with XLSR-MamBo (arXiv 2601.02944), a different model. - Checkpoint (commit-pinned): [model.safetensors](https://huggingface.co/SpeechAntiSpoofingBenchmarks/XLSR-Mamba-DF/blob/e97533f5ac8303cf0e7215bb8b452cdc7a74fefb/model.safetensors) - Params: 319.3275 M. Trained on ASVspoof2019 LA train only. - Score: `logits[:, 1]` (higher = bona fide). Input: first 66,800 samples @16 kHz, shorter clips repeat-padded; FP32. J-SPAW_LA was scored with the PyTorch wrapper; the other datasets with the TensorRT drop-in class (FP32), which matched PyTorch on the full J-SPAW_LA set. ## Arena results [![arena tier](https://img.shields.io/endpoint?url=https://speechantispoofingbenchmarks-speechantispoofingarena.hf.space/badge/xlsr-mamba-df/tier.json)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![arena rank](https://img.shields.io/endpoint?url=https://speechantispoofingbenchmarks-speechantispoofingarena.hf.space/badge/xlsr-mamba-df/rank.json)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) 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% 0.17 on ASVspoof2019_LA](https://img.shields.io/badge/EER%25%20on%20ASVspoof2019__LA-0.17%25-brightgreen)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 7.43 on ASVspoof2021_LA](https://img.shields.io/badge/EER%25%20on%20ASVspoof2021__LA-7.43%25-yellow)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 4.08 on ASVspoof2021_DF](https://img.shields.io/badge/EER%25%20on%20ASVspoof2021__DF-4.08%25-green)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 20.01 on ASVspoof5](https://img.shields.io/badge/EER%25%20on%20ASVspoof5-20.01%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 9.22 on InTheWild](https://img.shields.io/badge/EER%25%20on%20InTheWild-9.22%25-yellow)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 18.56 on ADD22_eval_31](https://img.shields.io/badge/EER%25%20on%20ADD22__eval__31-18.56%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 21.84 on ADD2023_track12_test_r1](https://img.shields.io/badge/EER%25%20on%20ADD2023__track12__test__r1-21.84%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 16.86 on CFAD](https://img.shields.io/badge/EER%25%20on%20CFAD-16.86%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 9.87 on CD-ADD](https://img.shields.io/badge/EER%25%20on%20CD--ADD-9.87%25-yellow)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 11.94 on CVoiceFake_small](https://img.shields.io/badge/EER%25%20on%20CVoiceFake__small-11.94%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 28.82 on DeepVoice](https://img.shields.io/badge/EER%25%20on%20DeepVoice-28.82%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 2.22 on LibriSeVoc](https://img.shields.io/badge/EER%25%20on%20LibriSeVoc-2.22%25-green)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 24.27 on SONAR](https://img.shields.io/badge/EER%25%20on%20SONAR-24.27%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 30.82 on ArAD](https://img.shields.io/badge/EER%25%20on%20ArAD-30.82%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 15.17 on DECRO](https://img.shields.io/badge/EER%25%20on%20DECRO-15.17%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 10 on J-SPAW_LA](https://img.shields.io/badge/EER%25%20on%20J--SPAW__LA-10%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 25.5 on ODSS](https://img.shields.io/badge/EER%25%20on%20ODSS-25.5%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 2.58 on HABLA](https://img.shields.io/badge/EER%25%20on%20HABLA-2.58%25-green)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 10.7 on DFADD](https://img.shields.io/badge/EER%25%20on%20DFADD-10.7%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 8.9 on PyAra](https://img.shields.io/badge/EER%25%20on%20PyAra-8.9%25-yellow)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 19.9 on XMAD](https://img.shields.io/badge/EER%25%20on%20XMAD-19.9%25-lightgrey)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![EER% 1.15 on EmoFake_test](https://img.shields.io/badge/EER%25%20on%20EmoFake__test-1.15%25-brightgreen)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![SRR COMPLEMENT 67.57 on EmoSpoofTTS](https://img.shields.io/badge/SRR%20COMPLEMENT%20on%20EmoSpoofTTS-67.57%25-blue)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) [![SRR COMPLEMENT 24.32 on LRLspoof](https://img.shields.io/badge/SRR%20COMPLEMENT%20on%20LRLspoof-24.32%25-blue)](https://huggingface.co/spaces/SpeechAntiSpoofingBenchmarks/SpeechAntiSpoofingArena?system=xlsr-mamba-df) ## Citation ```bibtex @article{xiao2024xlsr, title = {{XLSR-Mamba}: A Dual-Column Bidirectional State Space Model for Spoofing Attack Detection}, author = {Xiao, Yang and Das, Rohan Kumar}, journal = {IEEE Signal Processing Letters}, note = {arXiv:2411.10027}, year = {2025} } ```