All models

Xvector-TDNN

TDNN speaker embeddings with statistics pooling, the x-vector recipe in SpeechBrain.

Audio and speech · 55 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (47 KB)

Open in a new tab

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

Family
x-vector
Parameters
4.2M
Operations
55
Framework
PyTorch
Recurrent
No
Published
ICASSP 2018
Cited by
2,722 (as of 17 October 2026)
Authors
David Snyder, Daniel Garcia-Romero, Gregory Sell and others
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 diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3427
Graph hash
a58a05d7c4bff9e9a78828302f29cd865aa1c850e8fde5ca36d54f17094fc70d
Skeleton hash
2e52fcbfaedb1a264dccfbf896c18878f7a0f2f233ed4e8928163424ab2450d2
Architecture hash
ebad837787654fcd01e0c0d4dfc4ab7eece8557b260b78af6f926d8c680f1ea6
Diagram SHA-256
e2906e6ea8b3fedd9d24e3f411afa636f8c43a239b8f2de9271691b884b0e30e
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

About this model's family

An x-vector is the output of a deep neural network trained to discriminate between speakers, which maps variable-length utterances to fixed-dimensional embeddings. The paper's point is data augmentation: added noise and reverberation as an inexpensive method to multiply the amount of training data and improve robustness. The x-vector DNN effectively exploits data augmentation, due to its supervised training, where the i-vector extractor it is compared against does not.

The first five layers operate on speech frames, with a small temporal context centered at the current frame. Each layer splices its predecessor's output at a few offsets, so that frame3 sees a total context of 15 frames. The statistics pooling layer aggregates all T frame-level outputs from layer frame5 and computes its mean and standard deviation, once per input segment. The concatenated statistics pass through segment-level layers to a softmax over the training speakers; after training, embeddings are extracted from the affine component of layer segment6. The features are 24 dimensional filterbanks with a frame-length of 25ms, mean-normalized over a sliding window of up to 3 seconds. Excluding the softmax output layer and segment7, there is a total of 4.2 million parameters.

Without using augmentation, the best results on Speakers in the Wild are obtained by an i-vector system, which is 12% better than the x-vector. Even without augmentation, the best results for SRE16 Cantonese are obtained by the x-vectors. Once augmentation is added, the x-vectors achieve superior performance on the evaluation datasets.

The authors' own software framework lives in the Kaldi toolkit, with an example recipe and a pretrained x-vector system. The two members traced here are the same SpeechBrain Xvector class under two roster names, a system trained on Voxceleb 1+ Voxceleb2 training data. That system is composed of a TDNN model coupled with statistical pooling and is trained with Categorical Cross-Entropy Loss. Its reported EER on the Voxceleb1-test set (Cleaned) is 3.2%.

Key idea. Speaker embeddings taken from a time-delay network with statistics pooling, trained as a speaker classifier on noise- and reverberation-augmented data, which outperform i-vector baselines.

  • x-vector
  • x-vectors
  • xvector
  • X-vector TDNN
  • speaker embedding
  • speaker verification
  • speaker recognition
  • TDNN
  • time delay neural network
  • statistics pooling
  • Kaldi
  • SpeechBrain
  • spkrec-xvect-voxceleb

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@inproceedings{Snyder_2018, title={X-Vectors: Robust DNN Embeddings for Speaker Recognition}, url={http://dx.doi.org/10.1109/ICASSP.2018.8461375}, DOI={10.1109/icassp.2018.8461375}, booktitle={2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)}, publisher={IEEE}, author={Snyder, David and Garcia-Romero, Daniel and Sell, Gregory and Povey, Daniel and Khudanpur, Sanjeev}, year={2018}, month=Apr, pages={5329–5333} }