arXiv(opens in a new tab)Computer ScienceJun 2020Cited by 18 papers on PaperVantageClassic Paper

Manuscript Offprint

arXiv:2006.11477

wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations

Baevski, Alexei, Zhou, Henry, Mohamed, Abdelrahman, Michael Auli

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We show for the first time that learning powerful representations from speech audio alone followed by fine-tuning on transcribed speech can outperform the best semi-supervised methods while being conceptually simpler. wav2vec 2.0 masks the speech input in the latent space and solves a contrastive task defined over a quantization of the latent representations which are jointly learned. Experiments using all labeled data of Librispeech achieve 1.8/3.3 WER on the clean/other test sets. When lowering the amount of labeled data to one hour, wav2vec 2.0 outperforms the previous state of the art on the 100 hour subset while using 100 times less labeled data. Using just ten minutes of labeled data and pre-training on 53k hours of unlabeled data still achieves 4.8/8.2 WER. This demonstrates the feasibility of speech recognition with limited amounts of labeled data.

1 Introduction

Neural networks benefit from large quantities of labeled training data. However, in many settings labeled data is much harder to come by than unlabeled data: current speech recognition systems require thousands of hours of transcribed speech to reach acceptable performance which is not available for the vast majority of the nearly 7,000 languages spoken worldwide [31]. Learning purely from labeled examples does not resemble language acquisition in humans: infants learn language by listening to adults around them - a process that requires learning good representations of speech.

In machine learning, self-supervised learning has emerged as a paradigm to learn general data representations from unlabeled examples and to fine-tune the model on labeled data. This has been particularly successful for natural language processing [43, 45, 9] and is an active research area for computer vision [20, 2, 36, 19, 6].

In this paper, we present a framework for self-supervised learning of representations from raw audio data. Our approach encodes speech audio via a multi-layer convolutional neural network and then masks spans of the resulting latent speech representations [26, 56], similar to masked language modeling [9]. The latent representations are fed to a Transformer network to build contextualized representations and the model is trained via a contrastive task where the true latent is to be distinguished from distractors [54, 49, 48, 28] (§ 2).

As part of training, we learn discrete speech units [53, 32, 7, 18] via a gumbel softmax [24, 5] to represent the latent representations in the contrastive task (Figure 1) which we find to be more effective than non-quantized targets. After pre-training on unlabeled speech, the model is fine-tuned on labeled data with a Connectionist Temporal Classification (CTC) loss [14, 4] to be used for downstream speech recognition tasks (§ 3)

Figure

Figure 1: Illustration of our framework which jointly learns contextualized speech representations and an inventory of discretized speech units.

Previous work learned a quantization of the data followed by a contextualized representations with a self-attention model [5, 4], whereas our approach solves both problems end-to-end. Masking parts of the input with Transformer networks for speech has been explored [4, 26], but prior work relies either on a two-step pipeline or their model is trained by reconstructing the filter bank input features. Other related work includes learning representations from auto-encoding the input data [52, 11] or directly predicting future timesteps [8].

Our results show that jointly learning discrete speech units with contextualized representations achieves substantially better results than fixed units learned in a prior step [4]. We also demonstrate the feasibility of ultra-low resource speech recognition: when using only 10 minutes of labeled data, our approach achieves word error rate (WER) 4.8/8.2 on the clean/other test sets of Librispeech. We set a new state of the art on TIMIT phoneme recognition as well as the 100 hour clean subset of Librispeech. Moreover, when we lower the amount of labeled data to just one hour, we still outperform the previous state of the art self-training method of [42] while using 100 times less labeled data and the same amount of unlabeled data. When we use all 960 hours of labeled data from Librispeech, then our model achieves 1.8/3.3 WER (§ 4, § 5).

References (57)

  • Layer normalization
  • Learning representations by maximizing mutual information across views
  • Adaptive input representations for neural language modeling
  • Effectiveness of self-supervised pre-training for speech recognition
  • vq-wav2vec: Self-supervised learning of discrete speech representations
  • A simple framework for contrastive learning of visual representations
  • Unsupervised speech representation learning using wavenet autoencoders
  • An unsupervised autoregressive model for speech representation learning
  • Chang, K. Lee, and K. Toutanova
  • The challenge of realistic music generation: modelling raw audio at scale
  • Unsupervised acoustic unit discovery for speech synthesis using discrete latent-variable neural networks
  • Reducing transformer depth on demand with structured dropout
  • The DARPA TIMIT Acoustic-Phonetic Continuous Speech Corpus CDROM
  • Connectionist temporal classification: Labelling unsegmented sequence data with recurrent neural networks
  • Chiu, N. Parmar, Y. Zhang, J. Yu, W. Han, S. Wang, Z. Zhang, Y. Wu, and R. Pang
  • Chiu, J. Qin, A. Gulati, R. Pang, and Y. Wu
  • Hsu, and J. Glass
  • Momentum contrast for unsupervised visual representation learning
  • Data-efficient image recognition with contrastive predictive coding
  • Gaussian error linear units (gelus)
  • Deep networks with stochastic depth
  • Categorical reparameterization with gumbel-softmax
  • Product quantization for nearest neighbor search
  • Improving transformer-based speech recognition using unsupervised pre-training
  • A benchmark for asr with limited or no supervision
  • Learning robust and multilingual speech representations
  • Adam: A Method for Stochastic Optimization
  • You do not need more data: Improving end-to-end speech recognition by text-to-speech data augmentation
  • Ethnologue: Languages of the world, nineteenth edition
  • Towards unsupervised speech recognition and synthesis with quantized speech representation learning
  • RoBERTa: A Robustly Optimized BERT Pretraining Approach
  • Rwth asr systems for librispeech: Hybrid vs attention
  • A* sampling
  • Self-supervised learning of pretext-invariant representations
  • Transformers with convolutional context for ASR. arXiv, abs/1904.11660, 2019
  • Scaling neural machine translation
  • fairseq: A fast, extensible toolkit for sequence modeling
  • Librispeech: an asr corpus based on public domain audio books
  • Chiu, B. Zoph, E. D. Cubuk, and Q. V. Le
  • Chiu, B. Li, Y. Wu, and Q. V. Le
  • Deep contextualized word representations
  • Wav2letter++: A fast open-source speech recognition system
  • Improving language understanding by generative pre-training
  • Light gated recurrent units for speech recognition
  • Multi-task self-supervised learning for robust speech recognition
  • Mazaré, and E. Dupoux
  • wav2vec: Unsupervised pre-training for speech recognition
  • Japanese and korean voice search
  • End-to-end ASR: from Supervised to Semi-Supervised Learning with Modern Architectures
  • Vqvae unsupervised unit discovery and multi-scale code2spec inverter for zerospeech challenge 2019 (opens arXiv in a new tab)
  • Representation learning with contrastive predictive coding
  • Attention is all you need
  • Unsupervised pre-training of bidirectional speech encoders via masked reconstruction
  • Pay less attention with lightweight and dynamic convolutions
  • Iterative pseudo-labeling for speech recognition
  • Learning filterbanks from raw speech for phone recognition
  • Transformer transducer: A streamable speech recognition model with transformer encoders and rnn-t loss