
sb_CRDNN
Audio and speech9,713 ops11.1M params
SpeechBrain's CRDNN speech encoder: convolutional blocks, a bidirectional LSTM and a DNN over filterbank frames.
Audio and speech · 63 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.
This is the encoder of the CRDNN with CTC/Attention and RNNLM recognizer trained on LibriSpeech.
About this model's family
CRDNN is the speech encoder SpeechBrain uses in its recurrent speech recognizers: a stack of convolutional, recurrent and fully connected layers that turns a sequence of filterbank frames into an acoustic representation. It is described in the SpeechBrain toolkit paper, which presents SpeechBrain as an open-source and all-in-one speech toolkit. The model card for the LibriSpeech recognizer spells out the layout: N blocks of convolutional neural networks with normalization and pooling on the frequency domain, then a bidirectional LSTM connected to a final DNN. That final acoustic representation is given to the CTC and attention decoders.
The pretrained system this encoder comes from reports a test word error rate (WER) of 3.09 on LibriSpeech, trained on one V100 GPU. In the paper's LibriSpeech table, the CTC plus attention recipe with a CRDNN encoder and a GRU decoder has 230 M parameters and reaches 2.91 WER on test-clean and 8.07 on test-other. That recipe lists the encoder as a CRDNN with 2 CNNs, 4 LSTM and 1 DNN layers. It is trained with a CTC plus NLL loss with a CTC weight of 0.5 and 5000 tokens, at 5h 20m per epoch on a NVIDIA V100.
On TIMIT, the paper reports a considerable improvement in phone error rate when Light GRUs replace GRUs or LSTMs inside the CRDNN encoder. SpeechBrain also uses a CRDNN for voice activity detection on LibriParty.
Key idea. SpeechBrain's CRDNN encoder stacks convolutional, recurrent and fully connected layers so one encoder can serve CTC, transducer and attention-based speech recognizers.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{ravanelli2021speechbraingeneralpurposespeechtoolkit,
title={SpeechBrain: A General-Purpose Speech Toolkit},
author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio},
year={2021},
eprint={2106.04624},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2106.04624},
}