Sequence-to-Sequence Speech Recognition with Time-Depth Separable Convolutions

Awni Hannun, Ann Lee, Qiantong Xu, Ronan Collobert

Abstract

We propose a fully convolutional sequence-to-sequence encoder architecture with a simple and efficient decoder. Our model improves WER on LibriSpeech while being an order of magnitude more efficient than a strong RNN baseline. Key to our approach is a time-depth separable convolution block which dramatically reduces the number of parameters in the model while keeping the receptive field large. We also give a stable and efficient beam search inference procedure which allows us to effectively integrate a language model. Coupled with a convolutional language model, our time-depth separable convolution architecture improves by more than 22% relative WER over the best previously reported sequence-to-sequence results on the noisy LibriSpeech test set.

Introduction

Traditional sequence-to-sequence (seq2seq) models for Automatic Speech Recognition (ASR) have long relied on recurrent architectures like bidirectional LSTMs or GRUs. While effective at capturing temporal dependencies, these models are computationally expensive and difficult to parallelize due to their sequential nature.

Standard convolutional approaches offer a parallelizable alternative but often face a trade-off: achieving a sufficiently large "receptive field" to understand long speech utterances typically requires a massive number of parameters. Researchers at Facebook AI Research (FAIR) addressed this by developing the "Time-Depth Separable" (TDS) convolution, creating a model that matches RNN accuracy with the speed and scalability of pure convolutional networks.

Methods

The core innovation of this architecture is the Time-Depth Separable (TDS) convolution block. This block is designed to decouple the process of aggregating information over time from the process of mixing information across channels (depth).

Architecture of the TDS block (a), the 2D convolution sub-block (b), and the feed-forward sub-block (c).

TDS Block Structure

As shown in the architecture diagram, each TDS block consists of two primary sub-blocks:

  1. 2D Convolution Sub-block: Performs a 2D convolution over time, followed by Layer Normalization and ReLU. This stage focuses on temporal aggregation.
  2. Feed-Forward Sub-block: Consists of two $1 \times 1$ convolutions that mix information across channels.

This separation allows the model to increase its receptive field with a negligible increase in parameters compared to standard 2D convolutions.

Efficient Decoder and Training

The authors simplified the decoder by utilizing inner-product key-value attention, moving away from complex, sequential location-based attention. To improve hardware vectorization, they replaced Scheduled Sampling with Random Sampling during training. Additionally, Soft Window Pre-training was introduced to help the model learn audio-text alignments early by penalizing the model for attending to regions far from the expected diagonal alignment.

Key Results and Insights

The TDS architecture was evaluated on the LibriSpeech corpus (960 hours). The model achieved a Word Error Rate (WER) of 3.28% on test-clean and 9.84% on test-other, representing a 22% relative improvement over previous best-reported seq2seq results on the noisy test set.

WER performance on LibriSpeech dev sets across different beam sizes, comparing 4-gram and ConvLM integration.

Efficiency and Stability

  • Speed: The TDS architecture is 10x faster to train than strong RNN baselines. A full epoch on the 960-hour dataset takes only 7 minutes on 8 V100 GPUs.
  • Parameter Sparsity: By using TDS blocks, the model achieves a 4x reduction in parameters (37M vs 136M) compared to RNNs while improving accuracy.
  • Beam Search Stability: The authors introduced a "Hard Attention Limit" and "EOS Threshold" to stabilize inference. As seen in the performance plots, the model maintains stability even with very large beam sizes, allowing it to effectively leverage external Convolutional Language Models (ConvLM).

The Importance of Receptive Field

A critical insight from the study was that the receptive field size is paramount. The authors observed a sharp increase in WER if the receptive field dropped below a specific threshold, leading to catastrophic errors like word looping or skipping. The TDS block's ability to maintain a large receptive field efficiently is central to its success.

Conclusion

By rethinking the convolutional block structure, this work demonstrates that fully convolutional seq2seq models can outperform recurrent models in both accuracy and efficiency for speech recognition. The success of the TDS approach suggests a promising path toward high-performance, real-time streaming ASR applications.

Summary updated

BibTeX
@inproceedings{hannun2019sequence,
  author = {Awni Hannun and Ann Lee and Qiantong Xu and Ronan Collobert},
  title = {{Sequence-to-Sequence Speech Recognition with Time-Depth Separable Convolutions}},
  booktitle = {Interspeech},
  year = {2019},
  url = {https://openreview.net/forum?id=PkLU9mVUZW8},
}
Figure