korallll commited on
Commit
d8c192f
·
verified ·
1 Parent(s): f2f6f18

Fix repo id in usage snippet; add paper/code links, results, and citation

Browse files
Files changed (1) hide show
  1. README.md +42 -10
README.md CHANGED
@@ -14,9 +14,22 @@ language:
14
  pipeline_tag: audio-classification
15
  ---
16
 
17
- # ReDimNet2-B6: Speaker Verification Model
18
 
19
- ReDimNet2-B6 is a state-of-the-art Automatic Speaker Verification (ASV) model trained for speaker recognition tasks. The model uses a ReDimNet2 backbone with Mel-spectrogram frontend and produces 192-dimensional speaker embeddings.
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
  ## Model Architecture
22
 
@@ -44,7 +57,7 @@ from huggingface_hub import hf_hub_download
44
  from omegaconf import OmegaConf
45
 
46
  # Download model weights
47
- model_path = hf_hub_download("lab260/asv-redimnet2-b6", "pytorch_model_fsdp.bin")
48
 
49
  # Load checkpoint
50
  state_dict = torch.load(model_path, map_location="cpu")
@@ -159,18 +172,37 @@ def verify_speaker(model, audio1_path, audio2_path, threshold=0.79):
159
 
160
  ## Training
161
 
162
- The model was trained using:
163
- - **Dataset**: VoxCeleb2 and other speaker verification datasets
164
- - **Loss Function**: SphereFace2
165
- - **Optimizer**: AdamW
166
- - **Learning Rate**: 0.0003
167
- - **Augmentations**: SpecAugment, codec simulation
 
 
 
 
 
 
 
168
 
169
  ## Limitations
170
 
171
  - Model expects 16 kHz audio input
172
  - Maximum audio duration: 60 seconds
173
- - Performance may vary on noisy environments and different recording conditions
 
 
 
 
 
 
 
 
 
 
 
 
174
 
175
  ## License
176
 
 
14
  pipeline_tag: audio-classification
15
  ---
16
 
17
+ # ReDimNet2+: Speaker Verification Model
18
 
19
+ ReDimNet2+ is a robustness-oriented adaptation of the compact ReDimNet2-B6 backbone for Automatic Speaker Verification (ASV), trained for robustness to channel and codec mismatch (compression, telephony codecs, noise, reverberation). The model uses a ReDimNet2 backbone with a Mel-spectrogram frontend and produces 192-dimensional speaker embeddings.
20
+
21
+ - **Code (training, eval, Docker submission pipeline):** [github.com/lab260ru/redimnet2-plus](https://github.com/lab260ru/redimnet2-plus)
22
+ - **Paper:** *ReDimNet2+ for Robust Speaker Verification under Channel and Codec Shift* (manuscript submitted to ICASSP 2027) — [report.pdf](https://github.com/lab260ru/redimnet2-plus/blob/main/report.pdf)
23
+
24
+ ## Results
25
+
26
+ Evaluated with random 4-second windows and cosine similarity on L2-normalized embeddings (VoxCeleb1, EER %; EER<sub>p</sub> pools O/E/H; EER<sub>ph</sub> is a 26-condition codec/waveform stress test). See the paper for the full protocol and ablations.
27
+
28
+ | System | EER<sub>o</sub> | EER<sub>e</sub> | EER<sub>h</sub> | EER<sub>p</sub> | EER<sub>ph</sub> |
29
+ |---|---:|---:|---:|---:|---:|
30
+ | ReDimNet2 baseline (public ckpt.) | 1.601 | 1.725 | 3.039 | 2.420 | 7.214 |
31
+ | WeSpeaker CAM++ (best evaluated WeSpeaker ckpt.) | 0.787 | 0.928 | 1.824 | — | — |
32
+ | **ReDimNet2+ LMFT (this checkpoint)** | **0.351** | **0.523** | **1.055** | **0.824** | **1.991** |
33
 
34
  ## Model Architecture
35
 
 
57
  from omegaconf import OmegaConf
58
 
59
  # Download model weights
60
+ model_path = hf_hub_download("lab260/redimnet2-plus", "pytorch_model_fsdp.bin")
61
 
62
  # Load checkpoint
63
  state_dict = torch.load(model_path, map_location="cpu")
 
172
 
173
  ## Training
174
 
175
+ Full recipe and code: [github.com/lab260ru/redimnet2-plus](https://github.com/lab260ru/redimnet2-plus). Summary:
176
+ - **Initialization**: public ReDimNet2-B6 checkpoint, backbone architecture unchanged.
177
+ - **Data**: 7 corpora, ~63.9k speakers, ~4.6M utterances, ~8,675 h — VoxBlink2, VoxCeleb2, 3D-Speaker, CN-Celeb/CN-Celeb2, TidyVoice, KeSpeech.
178
+ - **Augmentation**: filters, additive noise (colored, MUSAN, RawBoost-style), simulated RIRs, speed perturbation, and codec simulation (MP3, Opus, AAC, FLAC, Vorbis, G.723.1, IMA ADPCM, G.722, A-law, μ-law, Speex, AMR-NB at 8/16 kHz), plus SpecAugment/CutMix.
179
+ - **Loss Function**: SphereFace2 (one-vs-all)
180
+ - **Optimizer**: AdamW, BFloat16, Accelerate + FSDP on 6 GPUs, gradient clipping at 20
181
+ - **Recipe**: staged multi-corpus adaptation followed by large-margin fine-tuning (LMFT) on 6-second windows (margin 0.3)
182
+
183
+ This checkpoint (`pytorch_model_fsdp.bin`) is the final **ReDimNet2+ LMFT** model from the paper.
184
+
185
+ ## Retrieval reranking
186
+
187
+ The GitHub repo also ships a training-free, graph-based reranking stage (mean-chain + k-NN graph reranking with hubness correction) for open-set retrieval on top of these embeddings — see [`submission/reranking/`](https://github.com/lab260ru/redimnet2-plus/tree/main/submission/reranking). It raises VoxBlink2-subset Pr@k from 0.7413 to 0.7687 without retraining.
188
 
189
  ## Limitations
190
 
191
  - Model expects 16 kHz audio input
192
  - Maximum audio duration: 60 seconds
193
+ - EER roughly doubles from VoxCeleb1-E to -H (hard impostors), and the 26-condition codec/waveform stress test (EER<sub>ph</sub>) stays above the clean metrics even after LMFT — see the paper's limitations section
194
+ - External comparisons in the paper are shared-protocol, not equal-data comparisons
195
+
196
+ ## Citation
197
+
198
+ ```bibtex
199
+ @unpublished{borodin2027redimnet2plus,
200
+ title = {{ReDimNet2+} for Robust Speaker Verification under Channel and Codec Shift},
201
+ author = {Borodin, Kirill and Kudryavtsev, Vasiliy and Mkrchian, Grach},
202
+ year = {2026},
203
+ note = {Manuscript submitted to ICASSP 2027}
204
+ }
205
+ ```
206
 
207
  ## License
208