All models

nemo_fastconformer_encoder

NVIDIA's Conformer redesign with 8x convolutional subsampling, traced as encoder, CTC, transducer and Canary variants.

Audio and speech · 1,404 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 (18 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

Parameters
115.1M
Operations
1,404
Framework
PyTorch
Recurrent
No
Published
ASRU 2023
Cited by
95 (as of 18 October 2026)
Authors
Dima Rekesh, Nithin Rao Koluguri, Samuel Kriman 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
m7585
Graph hash
3a416d0e7011cb29d7aec1f8765743ba8d09fc352eaef2a1ae955e5dc8afbc24
Skeleton hash
5f1ad365ce41427923332250bac4234243c3ed6e4e60c14ee5645c6244adc9a7
Architecture hash
2860f37162fd129830bf434d309dc133f5860bf260eee4d8f6565fb9f298a752
Diagram SHA-256
50b6ce4c59b361ff270e506c29a873df1dca6c4506cb00500ad331b736dc3c1c
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 encoder alone: three depth-wise convolutional subsampling layers take the frame rate from 10 ms to 80 ms before the Conformer blocks, and the output is a sequence of frame embeddings.

About this model's family

Fast Conformer is NVIDIA's redesign of the Conformer speech encoder, built to make training and inference cheaper without touching the core architecture. Conformer-based models had become the dominant end-to-end architecture for speech, combining a depth-wise convolution for local features with self-attention for global context. Their weakness is that self-attention costs grow quadratically with input length, which caps the audio a Conformer can process.

The central change is the downsampling schema: the frame rate goes from 10 ms to 80 ms through three depth-wise convolutional subsampling layers, an 8x reduction instead of Conformer's 4x. Alongside that, the filter count in the downsampling block drops to 256 and the convolutional kernel size shrinks to 9. Applied step by step to a Conformer-RNNT Large baseline, these changes raised encoder inference speed 2.8x while holding accuracy. Because CTC needs encoder output longer than the target sequence, 8x downsampling pushed the authors from character tokenization to SentencePiece byte pair encoding with 128 to 1024 tokens.

For long recordings, global attention can be swapped after training for Longformer-style limited context attention: a fixed window around each token plus a single global token that attends to and is attended by everything. That extends the audio a single A100 GPU can handle at once by 45x, from 15 minutes for Conformer to 675 minutes for Fast Conformer with limited context.

The NeMo CTC recipe configures the encoder with 18 layers and a model width of 512, using dw_striding subsampling at factor 8 and a convolution kernel of 9, then a ConvASRDecoder head. The transducer recipe uses 17 encoder layers and pairs the encoder with an RNNTDecoder prediction network and an RNNTJoint. Canary, the fourth member, is a later NVIDIA model that puts a Transformer decoder on a FastConformer encoder for multilingual ASR and speech translation. Its multitask behavior is driven by prompt tokens, with the input and output languages given as tokens around the translate token. Canary was trained on only 86K hours of speech, an order of magnitude less than Whisper and Seamless used.

Key idea. Fast Conformer swaps Conformer's 4x front-end for 8x depthwise-separable convolutional subsampling, cutting encoder multiply-adds 2.9x and running 2.8x faster while keeping word error rates competitive.

  • Fast Conformer
  • FastConformer
  • FC
  • Conformer
  • NeMo
  • Parakeet
  • Canary
  • speech recognition
  • ASR
  • CTC
  • RNNT
  • transducer
  • speech translation
  • NVIDIA

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

Cite the paper

@misc{rekesh2023fastconformerlinearlyscalable,
      title={Fast Conformer with Linearly Scalable Attention for Efficient Speech Recognition}, 
      author={Dima Rekesh and Nithin Rao Koluguri and Samuel Kriman and Somshubra Majumdar and Vahid Noroozi and He Huang and Oleksii Hrinchuk and Krishna Puvvada and Ankur Kumar and Jagadeesh Balam and Boris Ginsburg},
      year={2023},
      eprint={2305.05084},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      url={https://arxiv.org/abs/2305.05084}, 
}