Abstract
We propose an approach for pre-training speech representations via a masked reconstruction loss. Our pre-trained encoder networks are bidirectional and can therefore be used directly in typical bidirectional speech recognition models. The pre-trained networks can then be fine-tuned on a smaller amount of supervised data for speech recognition. Experiments with this approach on the LibriSpeech and Wall Street Journal corpora show promising results. We find that the main factors that lead to speech recognition improvements are: masking segments of sufficient width in both time and frequency, pre-training on a much larger amount of unlabeled data than the labeled data, and domain adaptation when the unlabeled and labeled data come from different domains. The gain from pre-training is additive to that of supervised data augmentation.
Introduction
State-of-the-art Automatic Speech Recognition (ASR) systems typically require thousands of hours of transcribed audio to achieve high performance. However, labeled data is expensive and time-consuming to produce, while unlabeled audio is abundant. While unsupervised pre-training has revolutionized Natural Language Processing (NLP) through models like BERT, adapting these techniques to speech is challenging. Unlike text, which consists of discrete tokens, speech is a continuous signal. Furthermore, many previous unsupervised speech methods relied on unidirectional "future prediction," which fails to leverage the bidirectional architectures (considering both past and future context) standard in modern ASR encoders.
This paper introduces a BERT-inspired unsupervised pre-training method for speech recognition. By masking contiguous blocks of a spectrogram in both time and frequency and training a bidirectional RNN to reconstruct the missing parts, the authors create an encoder that significantly boosts performance on downstream speech-to-text tasks, particularly when labeled data is scarce.
Masked Reconstruction Methodology
The proposed approach, Masked Reconstruction, adapts the "Masked Language Model" objective to the continuous domain of audio spectrograms.
- Input Representation: The model processes log mel filter bank (LFBE) features (spectrograms).
- Masking Strategy: Drawing inspiration from SpecAugment, the authors mask contiguous blocks in both time and frequency domains. This is critical because speech is highly correlated across neighboring frames; masking single frames would allow the model to interpolate missing data using local smoothness rather than learning high-level phonetic features.
- Architecture: The encoder consists of a 4-layer bidirectional LSTM (BiLSTM). During pre-training, a small reconstruction network (a two-layer MLP) maps the BiLSTM features back to the original spectrogram dimensions.
- Loss Function: Training utilizes a standard L2 reconstruction loss, calculated exclusively on the masked portions of the signal.
- Fine-tuning: Post-pre-training, the reconstruction head is discarded. The BiLSTM encoder is then fine-tuned on a smaller labeled dataset using a Connectionist Temporal Classification (CTC) loss.
Experimental Setup
The effectiveness of this approach was evaluated using:
- LibriSpeech: 960 hours of audio for large-scale unsupervised pre-training.
- Wall Street Journal (WSJ): Used for supervised fine-tuning at two scales: si84 (15 hours) and si284 (80 hours).
- Metrics: Performance was measured using Phone Error Rate (PER) and Word Error Rate (WER) on standard dev93 and eval92 sets.
Key Insights and Results
A primary finding is the "Too Easy" problem: if masks are too narrow, the bidirectional model interpolates using local smoothness. Masking segments of "sufficient width" is essential for effective representation learning. Because the method is natively bidirectional, the pre-trained weights serve as a "drop-in" initialization for standard ASR models.
The benefits of pre-training are additive to supervised data augmentation. Even when using SpecAugment during fine-tuning, starting with a pre-trained model provides a further boost. To address the domain mismatch between LibriSpeech and WSJ, the authors introduced a Linear Input Network (LIN)—an extra linear layer at the input adapted first—to help the model adjust to new acoustic environments.
Performance Highlights
- Low-Resource Scenarios: On the 15-hour WSJ set, pre-training reduced the PER from 18.52% to 17.18%.
- State-of-the-Art Results: On the eval92 test set, the character-based CTC system achieved a WER of 6.33% by combining pre-training, SpecAugment, and domain adaptation.
- Training Stability: As shown in the learning curves, pre-trained models reached lower loss levels faster and exhibited significantly less overfitting than models trained from scratch.
Conclusion and Future Work
While effective, the approach has limitations, such as sensitivity to mask width hyperparameters. Future work includes extending this method to Transformer and Conformer architectures, which have become the field standard since this study. Additionally, more direct comparisons between reconstruction-based and contrastive objectives are needed to isolate the specific benefits of the masked reconstruction loss versus the bidirectional architecture itself.
Summary updated