nemo_speakernet
A QuartzNet-style separable-convolution encoder with x-vector pooling that turns an utterance into a speaker embedding.
Audio and speech · 267 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Audio and speech
- Parameters
- 3.6M
- Operations
- 267
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICASSP 2021 (submitted)
- Cited by
- 28 (as of 18 October 2026)
- Authors
- Nithin Rao Koluguri, Jason Li, Vitaly Lavrukhin, Boris Ginsburg
- Source
- nemo_toolkit 2.7.3
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m7619
- Graph hash
- bbd587d35f3914286a9caa40186334b15f3f09427da2bab685c14f53b00ac07b
- Skeleton hash
- cd6a2a33d2086559a5ee01899ffc0a1e152bc692e0699541337ae334d089bf58
- Architecture hash
- e30165d3cab2e4f510c45d7ee9db6c92010a60080a8ca30ef2cd1f5b52f34478
- Diagram SHA-256
- 74785cde5b91ced4dc24d56cfd8e56628b2db5e995648d3574316c09d8f98f2f
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SpeakerNet is a neural architecture for speaker recognition and speaker verification. Those are the two halves of the speaker recognition problem, speaker identification, who is speaking, and speaker verification, whether the speaker is who they claim to be. The network is composed of residual blocks with 1D depth-wise separable convolutions, batch-normalization, and ReLU layers. An x-vector based statistics pooling layer maps variable-length utterances to a fixed-length embedding the authors call a q-vector.
The encoder is borrowed from QuartzNet, an architecture developed for speech recognition. That choice means the speaker model can be easily integrated with end-to-end ASR models, since both use the same architecture. The pooling layer computes the mean and standard deviation of the encoder features across time, giving a time-independent representation of size B × 3000. Two sizes are described: SpeakerNet-L extracts a 512-dimensional q-vector and SpeakerNet-M a 256-dimensional one. SpeakerNet-M is a simple lightweight model with just 5M parameters that does without voice activity detection. It scores an Equal Error Rate of 2.10% on the VoxCeleb1 cleaned trial files and 2.29% on VoxCeleb1.
Training data was VoxCeleb1 and VoxCeleb2 dev, augmented with the MUSAN and RIR corpora. Inputs were capped at 8 seconds, a choice that cut training time by 2x with negligible performance degradation. The NeMo configuration captured here sets n_filters to 256 for the encoder blocks. Its decoder pools in xvector mode into a 256-dimensional embedding and classifies among 7205 speakers. The authors found training sensitive to the angular-loss hyperparameters, and m = 0.2 with s = 30 performed better, giving the 2.10% EER.
Key idea. SpeakerNet reuses the QuartzNet ASR encoder with x-vector based pooling to produce speaker embeddings without VAD, so one convolutional architecture serves both recognition and speaker tasks.
- speakernet
- speakernet-m
- speakernet-l
- speaker verification
- speaker recognition
- speaker embedding
- q-vector
- x-vector
- quartznet
- nemo
- voxceleb
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{koluguri2020speakernet1ddepthwiseseparable,
title={SpeakerNet: 1D Depth-wise Separable Convolutional Network for Text-Independent Speaker Recognition and Verification},
author={Nithin Rao Koluguri and Jason Li and Vitaly Lavrukhin and Boris Ginsburg},
year={2020},
eprint={2010.12653},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2010.12653},
}