Generative Pre-Training for Speech with Autoregressive Predictive Coding

Yu-An Chung, James R. Glass

Researchers Yu-An Chung and James Glass from MIT have introduced a novel self-supervised approach for speech processing called Autoregressive Predictive Coding (APC). By training a model to predict future frames of an audio signal, APC learns rich, transferable speech representations from unlabeled data. These representations capture both phonetic content and speaker characteristics, significantly outperforming standard features and other self-supervised methods while requiring less labeled data and smaller downstream models.

Problem Statement

Traditional speech technology relies heavily on "surface features" like log Mel spectrograms. While useful, these features are raw and noisy, necessitating massive amounts of human-annotated data to train effective models for tasks like Automatic Speech Recognition (ASR) or speaker identification.

Self-supervised learning (SSL) attempts to mitigate this data dependency by learning from unlabeled audio. However, many existing SSL methods, such as Contrastive Predictive Coding (CPC), are discriminative—they focus on distinguishing a correct future frame from noise. The authors argue that this discriminative approach can lead the model to discard useful information (e.g., background noise or speaker identity) that might be vital for specific downstream tasks. APC, by contrast, is generative: it attempts to reconstruct the actual signal, forcing the model to preserve as much information as possible.

Methodology

The core mechanism of APC involves predicting a future acoustic feature vector (spectrogram frame) $n$ steps ahead in a sequence. This "n-step" prediction forces the model to learn more global, meaningful structures of speech rather than just local smoothness.

The Prediction Horizon

A critical finding is the existence of a "goldilocks zone" for the prediction horizon $n$. If $n$ is too small, the task is trivial; if it is too large, the task becomes too difficult to converge. As shown in the experimental results, the optimal $n$ varies by architecture: $n=3$ for RNN-based APC (R-APC) and $n=5$ for Transformer-based APC (T-APC).

Impact of the prediction horizon n on Word Error Rate (WER) for R-APC and T-APC. T-APC achieves its best performance at n=5.

The authors evaluated two primary backbones for the APC encoder:

  • R-APC: A multi-layer Gated Recurrent Unit (RNN).
  • T-APC: A multi-layer Transformer decoder.

Once pre-trained on the LibriSpeech train-clean-360 subset, the encoder is used as a feature extractor. The researchers found that keeping the encoder "frozen" (fixed weights) often yielded better results than fine-tuning, suggesting the learned representations are highly accessible for downstream layers.

Results and Discussion

Performance and Data Efficiency

APC features consistently outperformed standard log Mel features across various tasks. On the Wall Street Journal (WSJ) ASR task, T-APC reduced the Word Error Rate (WER) from 18.3% to 13.7%, a relative improvement of over 25%.

Furthermore, APC demonstrates remarkable data efficiency. A model trained on only half of the WSJ training data using APC features outperformed a model trained on the full dataset using standard log Mel features.

WER on WSJ eval92 using different proportions of training data. T-APC with 1/2 the data (16.4) outperforms log Mel with full data (18.3).

Versatility Across Tasks

Beyond ASR, APC showed significant gains in other domains:

  • Speaker Identification (SID): In a "one-shot" scenario (one utterance per speaker), T-APC achieved 17.6% accuracy, nearly double the 8.7% of standard features.
  • Speech Translation (AST): APC features improved performance on English-to-French translation tasks compared to both log Mel and contrastive baselines.
  • Model Efficiency: Using APC features allowed for a 50% reduction in the number of layers in downstream ASR models without sacrificing performance relative to the baseline.

Conclusion

Autoregressive Predictive Coding provides a powerful framework for learning general-purpose speech representations. Its generative nature allows it to retain more signal information than discriminative alternatives, making it a robust "all-rounder" for diverse speech tasks. Future work may involve improving positional encodings for continuous audio signals and scaling pre-training to even larger unlabeled datasets.

Summary updated

BibTeX
@inproceedings{chung2020generative,
  author = {Yu-An Chung and James R. Glass},
  title = {{Generative Pre-Training for Speech with Autoregressive Predictive Coding}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9054438},
}
Figure