nemo_citrinet_encoder
A convolutional CTC speech recogniser whose encoder adds squeeze-and-excitation context to QuartzNet.
Audio and speech · 3,220 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
- 140.2M
- Operations
- 3,220
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2021
- Cited by
- 96 (as of 29 November 2026)
- Authors
- Somshubra Majumdar, Jagadeesh Balam, Oleksii Hrinchuk and others
- 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
- m7572
- Graph hash
- 4cd19e1e2b9372f66b1d61d88cfa3f9b8bb5ea2b9e6a57f6285f93fc32318572
- Skeleton hash
- 0b6eb48e2301f098327e909401673118d411f886b149322376d7fdba652a5e79
- Architecture hash
- ca7eec3528d7214ff3c434213e73ddcb14f145d527621380ded49e0320238b5b
- Diagram SHA-256
- 18e1bdb7af7bb6d8f3ec7eb3b44b4058499d2269d40524beda4b718fcd364545
- 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
Citrinet is an end-to-end convolutional Connectionist Temporal Classification (CTC) based automatic speech recognition model. Its purpose is to close the accuracy gap between non-autoregressive CTC models and the sequence-to-sequence and transducer models that had been beating them. The authors push back on the belief that CTC needs an external language model to be useful, showing that CTC models can overcome these limitations by using recent advances in NN architectures.
The encoder combines 1D time-channel separable convolutions from QuartzNet with the squeeze-and-excite (SE) mechanism from ContextNet. A Citrinet-BxRxC model has B blocks, R repeated sub-blocks per block, and C filters in each block's convolution layers. The network runs a prolog block, three mega-blocks and an epilog; each mega-block begins with a stride-2 separable convolution, so the input is down-sampled three times in the time domain. Each residual block consists of basic QuartzNet blocks, repeated R times, plus an SE module at the end. That SE block computes a learned global scaling factor per channel, which is how Citrinet extends its context beyond the kernel width. Sub-word encoding is the other trick: with word-piece or byte-pair tokens the authors can train models with 8x contraction on the time dimension.
The captured member is the NeMo ConvASREncoder built from the Citrinet-1024 configuration, one of five LibriSpeech configurations that differed only in the number of channels C. Without any external LM, the Citrinet-1024 model reaches Word Error Rate 6.22% on LibriSpeech test-other. With LM rescoring, the gap between Citrinet and SOTA Transducers for test-other is reduced to only 0.59 − 0.79%. The NeMo config it was built from is named Citrinet-1024-8x-Stride, the 8x being that time contraction. The models and training recipes have been released in the NeMo toolkit.
Key idea. Citrinet showed that a purely convolutional, non-autoregressive CTC model with separable convolutions, squeeze-and-excitation context and sub-word tokens can reach very high accuracy without any external language model.
- citrinet
- citrinet-1024
- nemo
- nemo asr
- convasrencoder
- ctc
- automatic speech recognition
- speech recognition
- asr
- quartznet
- squeeze-and-excitation
- non-autoregressive asr
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{majumdar2021citrinetclosinggapnonautoregressive,
title={Citrinet: Closing the Gap between Non-Autoregressive and Autoregressive End-to-End Models for Automatic Speech Recognition},
author={Somshubra Majumdar and Jagadeesh Balam and Oleksii Hrinchuk and Vitaly Lavrukhin and Vahid Noroozi and Boris Ginsburg},
year={2021},
eprint={2104.01721},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2104.01721},
}