
ECAPA-TDNN
Audio and speech270 ops20.8M params
Speaker-embedding TDNN with SE-Res2Net blocks and attentive statistics pooling.
Audio and speech · 273 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.
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.
About this model's family
ECAPA-TDNN is a speaker verification network that upgrades the x-vector time delay neural network with ideas borrowed from face verification and computer vision. The starting point is the x-vector architecture, a Time Delay Neural Network (TDNN) that applies statistics pooling to project variable-length utterances into fixed-length speaker characterizing embeddings. The name spells out the three changes: Emphasized Channel Attention, Propagation and Aggregation.
First, the initial frame layers are restructured into 1-dimensional Res2Net modules with impactful skip connections, with Squeeze-and-Excitation blocks inside them to model channel interdependencies. The SE block expands the temporal context of the frame layer by rescaling the channels according to global properties of the recording. Second, for each frame the network concatenates the output feature maps of all the SE-Res2Blocks before pooling, which the paper calls Multi-layer Feature Aggregation. The residual connection in each SE-Res2Block is also defined as the sum of the outputs of all the previous blocks, a summation rather than a concatenation to restrain the model parameter count. Third, the statistics pooling gets channel-dependent frame attention, which enables the network to focus on different subsets of frames during each of the channel's statistics estimation.
The paper studies two setups with either 512 or 1024 channels in the convolutional frame layers. The bottleneck in the SE-Block and the attention module is 128 wide, the Res2Block scale is 8, and the final fully-connected layer has 192 nodes. Training uses AAM-softmax with a margin of 0.2 and softmax prescaling of 30. The proposed architecture significantly outperforms all baselines while using fewer model parameters. The larger system gives an average relative improvement of 18.7% in EER and 12.5% in MinDCF over the best scoring baseline for each test set. In the ablation, incorporating the SE-modules in the Res2Blocks results in relative improvements of 20.5% in EER and 11.9% in the MinDCF.
The three members traced here are the same SpeechBrain ECAPA_TDNN class, a combination of convolutional and residual blocks whose embeddings are extracted using attentive statistical pooling. That pretrained system is trained on Voxceleb 1+ Voxceleb2 training data with Additive Margin Softmax Loss. Its reported EER on the Voxceleb1-test set (Cleaned) is 0.80%.
Key idea. Three upgrades to the x-vector TDNN for speaker verification: 1-D squeeze-excitation Res2Net frame blocks, multi-layer feature aggregation, and channel-dependent attentive statistics pooling.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{desplanques2020ecapatdnnemphasizedchannelattention,
title={ECAPA-TDNN: Emphasized Channel Attention, Propagation and Aggregation in TDNN Based Speaker Verification},
author={Brecht Desplanques and Jenthe Thienpondt and Kris Demuynck},
year={2020},
eprint={2005.07143},
archivePrefix={arXiv},
primaryClass={eess.AS},
doi={https://doi.org/10.21437/Interspeech.2020-2650},
url={https://arxiv.org/abs/2005.07143},
}