Squeezeformer: An Efficient Transformer for Automatic Speech Recognition

Sehoon Kim, Amir Gholami, Albert Shaw, Nicholas Lee, Karttikeya Mangalam +3 more
6/2/2022
eess.AScs.CLcs.SD

Official code: kssteven418/Squeezeformer (267 stars, Apache-2.0, last commit 2023-02-12).

Abstract

The recently proposed Conformer model has become the de facto backbone model for various downstream speech tasks based on its hybrid attention-convolution architecture that captures both local and global features. However, through a series of systematic studies, we find that the Conformer architecture's design choices are not optimal. After re-examining the design choices for both the macro and micro-architecture of Conformer, we propose Squeezeformer which consistently outperforms the state-of-the-art ASR models under the same training schemes. In particular, for the macro-architecture, Squeezeformer incorporates (i) the Temporal U-Net structure which reduces the cost of the multi-head attention modules on long sequences, and (ii) a simpler block structure of multi-head attention or convolution modules followed up by feed-forward module instead of the Macaron structure proposed in Conformer. Furthermore, for the micro-architecture, Squeezeformer (i) simplifies the activations in the convolutional block, (ii) removes redundant Layer Normalization operations, and (iii) incorporates an efficient depthwise down-sampling layer to efficiently sub-sample the input signal. Squeezeformer achieves state-of-the-art results of 7.5%, 6.5%, and 6.0% word-error-rate (WER) on LibriSpeech test-other without external language models, which are 3.1%, 1.4%, and 0.6% better than Conformer-CTC with the same number of FLOPs. Our code is open-sourced and available online.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[NeurIPS'22] Squeezeformer: An Efficient Transformer for Automatic Speech Recognition

26719Shell, PythonMay 30, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{kim2022squeezeformer,
  title  = {Squeezeformer: An Efficient Transformer for Automatic Speech Recognition},
  author = {Sehoon Kim and Amir Gholami and Albert Shaw and Nicholas Lee and Karttikeya Mangalam and Jitendra Malik and Michael W. Mahoney and Kurt Keutzer},
  year   = {2022},
  eprint = {2206.00888},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.00888}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.00888.svg)](https://codeofpaper.com/paper/2206.00888)

Discussion