Skip to main content
QUICK REVIEW

[Paper Review] Fast Conformer with Linearly Scalable Attention for Efficient Speech Recognition

Dima Rekesh, Koluguri, Nithin Rao|arXiv (Cornell University)|May 8, 2023
Speech Recognition and SynthesisComputer Science3 citations
TL;DR

Fast Conformer introduces a redesigned Conformer architecture with 8x initial downsampling and a hybrid local-plus-global attention mechanism, reducing FLOPs by 2.9× while maintaining state-of-the-art WER. It enables 11-hour long-form ASR inference in a single forward pass and scales to 1 billion parameters with improved speed and accuracy across ASR, speech translation, and spoken language understanding tasks.

ABSTRACT

Conformer-based models have become the dominant end-to-end architecture for speech processing tasks. With the objective of enhancing the conformer architecture for efficient training and inference, we carefully redesigned Conformer with a novel downsampling schema. The proposed model, named Fast Conformer(FC), is 2.8x faster than the original Conformer, supports scaling to Billion parameters without any changes to the core architecture and also achieves state-of-the-art accuracy on Automatic Speech Recognition benchmarks. To enable transcription of long-form speech up to 11 hours, we replaced global attention with limited context attention post-training, while also improving accuracy through fine-tuning with the addition of a global token. Fast Conformer, when combined with a Transformer decoder also outperforms the original Conformer in accuracy and in speed for Speech Translation and Spoken Language Understanding.

Motivation & Objective

  • To address the quadratic computational complexity of self-attention in Conformer models, which limits long-sequence processing and model scaling.
  • To redesign the downsampling schema to increase efficiency without compromising model accuracy.
  • To enable long-form speech transcription (up to 11 hours) by replacing global attention with limited-context attention and a global token post-training.
  • To scale the model to 1 billion parameters without architectural changes, improving accuracy on large-scale datasets.
  • To demonstrate superior speed-accuracy trade-offs in ASR, speech translation, and spoken language understanding.

Proposed method

  • Replaced the original 4x sub-sampling with a 3-layer depth-wise convolutional stack to achieve 8x downsampling, reducing sequence length and computational cost.
  • Introduced a hybrid attention mechanism: local attention with a single global context token to replace full self-attention, enabling linear scalability post-training.
  • Used Sentencepiece BPE tokenization instead of character tokenization to maintain CTC compatibility after 8x downsampling.
  • Applied knowledge distillation and fine-tuning with a global token to improve long-form ASR performance after attention replacement.
  • Trained models using a 25k-hour ASR dataset and augmented with 40k more hours (ASR Set ++), enabling 1B-parameter model training.
  • Utilized the same encoder architecture across all model sizes (XL, XXL), enabling direct scaling to 1 billion parameters without architectural changes.
Fig. 1 : The downsampling schemas for Conformer, SqueezeFormer, Efficient Conformer and Fast Conformer. Fast Conformer increases sampling rate from 10ms to 80 ms using 3 depth-wise convolutional sub-sampling layers. The additional 2x reduction in the encoder output length versus Conformer yields fur
Fig. 1 : The downsampling schemas for Conformer, SqueezeFormer, Efficient Conformer and Fast Conformer. Fast Conformer increases sampling rate from 10ms to 80 ms using 3 depth-wise convolutional sub-sampling layers. The additional 2x reduction in the encoder output length versus Conformer yields fur

Experimental results

Research questions

  • RQ1Can a redesigned downsampling strategy in Conformer reduce FLOPs and inference time without sacrificing ASR accuracy?
  • RQ2Can replacing global self-attention with local attention and a single global token enable linear scalability and long-form ASR (e.g., 11-hour audio)?
  • RQ3To what extent can Fast Conformer scale to 1 billion parameters while maintaining or improving accuracy?
  • RQ4How does Fast Conformer perform on downstream tasks like speech translation and spoken language understanding compared to the original Conformer?
  • RQ5Does the combination of 8x downsampling and post-training attention replacement improve noise robustness and inference efficiency?

Key findings

  • Fast Conformer achieves 2.8× faster inference than the original Conformer with 2.9× fewer multiply-add operations, while maintaining competitive WER.
  • The model achieves state-of-the-art WER on LibriSpeech test-clean (1.38%) and test-other (2.52%) with the FC-XXL variant, outperforming prior models.
  • Long-form ASR inference for 11-hour audio is feasible in a single forward pass using the local-plus-global attention mechanism, with further accuracy gains from adding a global token.
  • The FC-XXL model trained on 25k hours of data achieves SOTA results on multiple benchmarks, including MLS and TED-LIUM3, with significant improvements when trained on 65k hours (ASR Set ++).
  • The model shows improved noise robustness across SNR levels, with consistent performance degradation curves indicating strong generalization.
  • Fine-tuning a RNNT FC-XL model with CTC for 40k steps matches the performance of training a CTC-only model from scratch for 200k steps, demonstrating training efficiency.
Fig. 2 : Fast Conformer combines local attention with a global context token to process long speech samples. The figure is adapted from Longformer [ 5 ]
Fig. 2 : Fast Conformer combines local attention with a global context token to process long speech samples. The figure is adapted from Longformer [ 5 ]

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.