Quartznet: Deep Automatic Speech Recognition with 1D Time-Channel Separable Convolutions

Samuel Kriman, Stanislav Beliaev, Boris Ginsburg, Jocelyn Huang, Oleksii Kuchaiev, Vitaly Lavrukhin, Ryan Leary, Jason Li, Yang ZhangICASSP 2020

TL;DR

This paper introduces QuartzNet, a novel end-to-end automatic speech recognition (ASR) model that achieves state-of-the-art accuracy with significantly fewer parameters and computational cost than previous models. By employing 1D time-channel separable convolutions, QuartzNet offers a more efficient architecture suitable for deployment on resource-constrained devices.

What Problem Does This Paper Address?

The field of end-to-end Automatic Speech Recognition (ASR) has seen remarkable progress with neural networks, simplifying traditional multi-component systems. However, this advancement often comes at the cost of increasingly large and computationally expensive models. This poses a significant challenge for deploying ASR systems on devices with limited memory and processing power, such as mobile phones or embedded systems, where efficiency is paramount. The authors aim to bridge this gap by developing an ASR model that delivers competitive accuracy while drastically reducing model size and computational requirements.

Methods

The core innovation of QuartzNet lies in its use of 1D time-channel separable convolutions. This technique decomposes a standard 2D convolution into two steps:

  1. 1D depthwise convolution: This layer operates independently on each input channel, processing temporal information across a small window of time frames.
  2. 1D pointwise convolution: This layer then combines the outputs from the depthwise convolution across channels, effectively mixing information from different temporal features.

This separation significantly reduces the number of parameters compared to standard convolutional layers. The QuartzNet architecture is built upon residual connections, similar to the Jasper model, and consists of multiple blocks, each containing these time-channel separable convolutional modules, batch normalization, and ReLU activation layers. The model is trained using Connectionist Temporal Classification (CTC) loss. For further parameter reduction, the authors also explore using grouped convolutions within the pointwise convolution layer, along with a group shuffle layer to maintain representational power.

Datasets

The paper evaluates QuartzNet on the following datasets:

  • LibriSpeech: A large corpus of read English speech, used for extensive training and evaluation.
  • Wall Street Journal (WSJ): A standard ASR benchmark dataset, used for evaluating performance on a different domain and for transfer learning experiments.
  • Common Voice: Used in conjunction with LibriSpeech for pre-training in transfer learning experiments.

Key Insights and Ideas

  • Efficiency through Decomposition: The fundamental insight is that separating the temporal and channel-wise operations in convolutions (time-channel separability) is a highly effective way to reduce model complexity without sacrificing significant accuracy.
  • Compactness for Deployment: The drastically reduced parameter count makes QuartzNet a strong candidate for on-device ASR, opening up new possibilities for real-time speech processing in resource-constrained environments.
  • Fine-tuning Potential: The model's small footprint and good generalization capabilities make it well-suited for fine-tuning on new, smaller datasets, as demonstrated with the WSJ transfer learning experiment.
  • Grouped Convolutions Trade-off: While grouped convolutions further reduce parameters, they come at a slight cost to accuracy, highlighting a tunable trade-off between model size and performance.

Key Results

  • QuartzNet achieves near state-of-the-art Word Error Rate (WER) on LibriSpeech and WSJ datasets.
  • The QuartzNet-15x5 model, for instance, has fewer than 20 million parameters, a significant reduction compared to other end-to-end models that often exceed 100 million parameters.
  • The paper demonstrates that QuartzNet models can be effectively fine-tuned on smaller datasets, achieving better performance than training from scratch. For example, a QuartzNet-5x3 model fine-tuned on WSJ achieved competitive results.
  • The authors report a QuartzNet-15x5 model achieving a greedy WER of 3.98% on LibriSpeech dev-clean and 11.58% on dev-other, with only 18.9 million parameters.

Limitations and Future Work

  • CTC-based Model: The current work focuses on a CTC-based model. The authors express interest in exploring QuartzNet encoders combined with attention-based decoders for potentially further improvements.
  • Grouped Convolutions Trade-off: While grouped convolutions offer parameter reduction, they lead to a slight degradation in accuracy, suggesting that the optimal balance needs to be carefully considered for specific applications.
  • Further Optimization: The paper hints at ongoing work and potential for further optimization, particularly in exploring different architectural variations and training strategies.

Summary updated

BibTeX
@inproceedings{kriman2020quartznet,
  author = {Samuel Kriman and Stanislav Beliaev and Boris Ginsburg and Jocelyn Huang and Oleksii Kuchaiev and Vitaly Lavrukhin and Ryan Leary and Jason Li and Yang Zhang},
  title = {{Quartznet: Deep Automatic Speech Recognition with 1D Time-Channel Separable Convolutions}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9053889},
}
Figure