openslr/librispeech_asr
Viewer • Updated • 585k • 61.5k • 249
univ_resnet_small_ge2e (resnet - small)
This is not an officially supported Google product.
This model checkpoint and the accompanying
FlaxSpeakerlibrary are an independent, clean-room open-source reproduction in JAX/Flax of speaker recognition algorithms published in:
- GE2E: Generalized End-to-End Loss for Speaker Verification (arXiv:1710.10467)
- Dr-Vectors: Decision Residual Networks and an Improved Loss for Speaker Recognition (arXiv:2104.01989)
- Conformer-ATP: Attentive Temporal Pooling for Conformer-based Streaming Language Identification in Long-form Speech (arXiv:2202.12163)
- PFAS: Parameter-Free Attentive Scoring for Speaker Verification (arXiv:2203.05642v3)
The experiments in those original papers were conducted using Google's proprietary internal infrastructure and internal datasets, not this open-source library or public dataset split.
| Property | Value |
|---|---|
| Model ID | univ_resnet_small_ge2e |
| Hugging Face Repository | wq2012/univ_resnet_small_ge2e |
| Hugging Face Collection | FlaxSpeaker Collection |
| GitHub Repository | wq2012/FlaxSpeaker |
| PyPI Package | flaxspeaker |
| Backbone Architecture | resnet (small) |
| Temporal Pooling | asp |
| Training Loss | ge2e_softmax |
| Verification Scoring | cosine |
| Output Embedding Dim | 192 |
| Encoder Parameters | 2,239,922 |
| Training Domain | universal |
| Audio Frontend | 80-dim log_mel @ 16000 Hz + Energy VAD + CMVN |
model.safetensors: Primary model weights in SafeTensors formatflax_model.msgpack: Native Flax Msgpack serialized parametersconfig.json: FlaxSpeakerConfig model & training architecture configurationpreprocessor_config.json: WhisperFeatureExtractor-compatible frontend configurationeval_results.json: Verified multi-domain evaluation metrics (1-utt & 3-utt EER, minDCF, ROC-AUC, 95% bootstrap CIs)from flaxspeaker import load_pretrained
model = load_pretrained("wq2012/univ_resnet_small_ge2e")
emb = model.extract_embedding("path/to/utterance.flac")
score = model.verify("path/to/enroll.flac", "path/to/test.flac")
print(f"Embedding shape: {emb.shape}, Verification score: {score:.4f}")
python scripts/inference.py --model_dir wq2012/univ_resnet_small_ge2e \
--enroll_audio path/to/enroll.flac --test_audio path/to/test.flac
| Evaluation Split | Trials | EER (%) | 95% Bootstrap CI (%) | minDCF@0.01 | minDCF@0.10 | ROC-AUC |
|---|---|---|---|---|---|---|
| LibriSpeech (English Read) | 3,000 | 24.53% | [23.10, 26.17] | 0.9980 | 0.9760 | 0.8346 |
| CN-Celeb2 (Chinese Multi-Genre) | 3,000 | 29.33% | [27.67, 30.93] | 1.0000 | 1.0000 | 0.7714 |
| VoxCeleb1 (In-the-Wild Celebrity) | 2,000 | 28.25% | [26.60, 30.55] | 0.9980 | 0.9980 | 0.7895 |
| Universal Pooled (All 3 Domains) | 8,000 | 27.89% | [26.88, 28.82] | 0.9990 | 0.9990 | 0.7989 |
| Universal Macro-Average (3 Domains) | 8,000 | 27.37% | — | 0.9987 | 0.9913 | 0.7985 |
| Evaluation Split | Trials | 3-Utt EER (%) | 95% Bootstrap CI (%) | minDCF@0.01 | ROC-AUC |
|---|---|---|---|---|---|
| LibriSpeech (3-Utt) | 1,000 | 21.40% | [19.05, 24.60] | 0.9800 | 0.8715 |
| CN-Celeb2 (3-Utt) | 1,000 | 26.40% | [23.80, 29.40] | 0.9820 | 0.8161 |
| VoxCeleb1 (3-Utt) | 1,000 | 25.80% | [22.45, 28.35] | 0.9920 | 0.8152 |
| Universal Pooled (3-Utt) | 3,000 | 25.47% | [23.85, 27.18] | 0.9887 | 0.8326 |
| Universal Macro-Average (3-Utt) | 3,000 | 24.53% | — | 0.9847 | 0.8343 |
@inproceedings{wan2018generalized,
title={Generalized End-to-End Loss for Speaker Verification},
author={Wan, Li and Wang, Quan and Papir, Alan and Moreno, Ignacio Lopez},
booktitle={IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
pages={4879--4883},
year={2018}
}
@inproceedings{pelecanos2021dr,
title={Dr-Vectors: Decision Residual Networks and an Improved Loss for Speaker Recognition},
author={Pelecanos, Jason and Wang, Quan and Moreno, Ignacio Lopez},
booktitle={Interspeech},
pages={4603--4607},
year={2021}
}
@inproceedings{wang2022attentive,
title={Attentive Temporal Pooling for Conformer-based Streaming Language Identification in Long-form Speech},
author={Wang, Quan and Yu, Yang and Pelecanos, Jason and Huang, Yiling and Moreno, Ignacio Lopez},
booktitle={The Speaker and Language Recognition Workshop (Odyssey)},
year={2022}
}
@inproceedings{pelecanos2022parameter,
title={Parameter-Free Attentive Scoring for Speaker Verification},
author={Pelecanos, Jason and Wang, Quan and Huang, Yiling and Moreno, Ignacio Lopez},
booktitle={The Speaker and Language Recognition Workshop (Odyssey)},
year={2022}
}