GE2E speaker encoder
Three-layer LSTM that maps log-mel frames of speech to an L2-normalized speaker embedding (d-vector).
Audio and speech · 9 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
- 12.1M
- Operations
- 9
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICASSP 2018
- Cited by
- 852 (as of 30 October 2026)
- Authors
- Li Wan, Quan Wang, Alan Papir, Ignacio Lopez Moreno
- 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
- m16840
- Graph hash
- a68b2a30b53b61d4ae0af6ad19f144f19f2b4f634fabdec50596caaca427b0bb
- Skeleton hash
- c54b33c69af4d9504d16d22456eb9a36be3c42c172b912966cf102c889c040a3
- Architecture hash
- 8513250e32b1021eccfcfab6c7d6fc21e1a600fe311bc208d2385c7ae791bedf
- Diagram SHA-256
- 1fb988d3c0156ca687c74959272c17c4e872ecb1d807e0a419baf0e3960b75e8
- 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
The GE2E speaker encoder is an LSTM network that maps speech to an embedding vector, also known as a d-vector, for speaker verification, the process of verifying whether an utterance belongs to a specific speaker. Its name comes from the generalized end-to-end (GE2E) loss, which the paper proposes to make training of speaker verification models more efficient than the authors' previous tuple-based end-to-end (TE2E) loss.
The paper's production system uses a 3-layer LSTM with projection, and the d-vector is the L2 normalization of the network output. The input features are 40-dimension log-mel-filterbank energies for each frame. For text-independent speaker verification (TI-SV), the paper uses 768 hidden nodes with projection size 256, and the d-vector size is the same as the LSTM projection size. Each training batch contains N = 64 speakers and M = 10 utterances per speaker, and the loss pushes each embedding vector toward its own speaker's centroid and away from all other centroids.
The paper reports that the model with the new loss decreases speaker verification EER by more than 10% while reducing the training time by 60%. Its TI-SV models are trained on around 36M utterances from 18K speakers.
Key idea. The paper proposes the GE2E loss, which makes training of speaker verification models more efficient than the earlier tuple-based end-to-end loss and emphasizes examples that are difficult to verify.
- GE2E
- generalized end-to-end loss
- speaker verification
- speaker encoder
- d-vector
- speaker embedding
- text-independent speaker verification
- log-mel-filterbank
- similarity matrix
- MultiReader
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wan2020generalizedendtoendlossspeaker,
title={Generalized End-to-End Loss for Speaker Verification},
author={Li Wan and Quan Wang and Alan Papir and Ignacio Lopez Moreno},
year={2020},
eprint={1710.10467},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/1710.10467},
}