Skip to main content
QUICK REVIEW

[Paper Review] ContextNet: Improving Convolutional Neural Networks for Automatic Speech Recognition with Global Context

Wei Han, Zhengdong Zhang|arXiv (Cornell University)|May 7, 2020
Speech Recognition and SynthesisComputer Science36 references72 citations
TL;DR

ContextNet introduces global context via squeeze-and-excitation in a CNN-based audio encoder within an RNN-T framework, achieving state-of-the-art or near-SOTA WER on LibriSpeech with fewer parameters and flexible scaling. It also demonstrates effective downsampling for speed/accuracy trade-offs.

ABSTRACT

Convolutional neural networks (CNN) have shown promising results for end-to-end speech recognition, albeit still behind other state-of-the-art methods in performance. In this paper, we study how to bridge this gap and go beyond with a novel CNN-RNN-transducer architecture, which we call ContextNet. ContextNet features a fully convolutional encoder that incorporates global context information into convolution layers by adding squeeze-and-excitation modules. In addition, we propose a simple scaling method that scales the widths of ContextNet that achieves good trade-off between computation and accuracy. We demonstrate that on the widely used LibriSpeech benchmark, ContextNet achieves a word error rate (WER) of 2.1%/4.6% without external language model (LM), 1.9%/4.1% with LM and 2.9%/7.0% with only 10M parameters on the clean/noisy LibriSpeech test sets. This compares to the previous best published system of 2.0%/4.6% with LM and 3.9%/11.3% with 20M parameters. The superiority of the proposed ContextNet model is also verified on a much larger internal dataset.

Motivation & Objective

  • Motivate improving CNN-based ASR to close the gap with RNN/Transformer models by introducing global context.
  • Propose ContextNet architecture with squeeze-and-excitation modules in a CNN encoder.
  • Explore model scaling and progressive downsampling to balance accuracy and efficiency.

Proposed method

  • Use a fully convolutional audio encoder with depthwise separable convolutions and Swish activations.
  • Incorporate 1D squeeze-and-excitation to inject global context into each convolutional block.
  • Adopt an RNN-T decoder to form an end-to-end CNN-RNN-T architecture.
  • Apply progressive 8x temporal downsampling to reduce computation.
  • Scale model width with a parameter alpha to trade off FLOPs and accuracy.
  • Train and evaluate on LibriSpeech with SpecAugment and a Transformer/LSTM language model for shallow fusion.

Experimental results

Research questions

  • RQ1Does adding global context via squeeze-and-excitation to a CNN encoder reduce WER on LibriSpeech compared to prior CNN models?
  • RQ2What is the impact of progressive downsampling on computation and accuracy in ContextNet?
  • RQ3How does ContextNet scale with width (alpha) and how does it compare to Transformer/LSTM baselines and prior CNN models on LibriSpeech?
  • RQ4Is ContextNet robust when evaluated without external language models and on noisier test sets?
  • RQ5Does the approach generalize to larger datasets beyond LibriSpeech?

Key findings

  • ContextNet(L) achieves 1.9% test-clean and 4.1% test-other WER on LibriSpeech without an LM and 4.6%/4.1% with LM? (note: numbers from table)
  • ContextNet(M) achieves 2.4% dev-clean, 5.4% dev-other, 2.0% test-clean, 4.5% test-other with no LM? (numbers from table)
  • ContextNet(S) achieves 2.9% dev-clean, 7.0% dev-other, 2.3% test-clean, 5.5% test-other with no LM? (numbers from table)
  • ContextNet outperforms previous CNN models like QuartzNet on LibriSpeech, and surpasses several Transformer/LSTM baselines in both WER and parameter efficiency (Table 2).
  • Progressive 8x downsampling significantly reduces FLOPs with only modest or positive impact on accuracy (Table 4).
  • Increasing model width (alpha) improves WER with larger parameter budgets (Table 5).
  • A larger scale experiment on YouTube-like data shows ContextNet surpassing a prior TDNN-based architecture in WER with fewer parameters and lower FLOPs (Table 6).

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.