TL;DR
This paper introduces a single-stage training method for Automatic Speech Recognition (ASR) that jointly optimizes for both labeled and unlabeled data. By alternating between an unsupervised masked Contrastive Predictive Coding (CPC) loss and a supervised Connectionist Temporal Classification (CTC) loss, the authors achieve performance comparable to the state-of-the-art two-stage wav2vec 2.0 model while simplifying the training pipeline and providing a powerful regularizing effect.
What Problem Does This Paper Address?
Building high-performance ASR systems typically requires massive amounts of transcribed audio. Self-supervised learning (SSL) has emerged as a solution, allowing models to learn useful audio representations from vast quantities of unlabeled data. However, current leading methods like wav2vec 2.0 rely on a rigid two-stage pipeline: first, a computationally intensive pre-training phase on unlabeled data, followed by a fine-tuning phase on labeled data.
This two-stage approach has several drawbacks. It requires managing separate experiments, tuning distinct sets of hyperparameters for each stage, and offers no clear way to know how much pre-training is "enough" for the final task. The authors aim to collapse this into a single-stage process where the model learns from both data types simultaneously, directly optimizing for the final goal of speech recognition.
Methods
The authors propose a Joint Masked CPC and CTC training procedure. The model architecture consists of a convolutional encoder that processes raw audio, followed by a Transformer-based context network.
The core innovation lies in the training objective, which alternates between two losses:
- Unsupervised Loss (Masked CPC): A portion of the encoder's output is masked. The model must identify the correct original features from a set of "negative" distractors using a contrastive loss. This forces the model to learn the underlying structure of speech.
- Supervised Loss (CTC): Using labeled data, the model learns to align the audio features directly to text transcripts.
A critical technical detail is the use of separate adaptive momentum optimizers for each loss. The authors found that sharing a single optimizer led to poor performance because the gradient updates from one task would "pollute" the momentum state needed for the other. By keeping them separate but sharing the model parameters, the model converges faster and more effectively.
The training algorithm (Algorithm 1) follows an alternating minimization strategy, typically performing $N$ unsupervised updates for every supervised update.
Datasets
The researchers evaluated their method using the standard LibriSpeech corpus:
- Unlabeled Data: The full 960-hour LibriSpeech dataset.
- Labeled Data: Subsets consisting of either 100 hours or the full 960 hours of transcribed audio.
- Evaluation: Performance was measured using Word Error Rate (WER) on the standard "clean" and "other" (more challenging) test sets.
Key Insights and Ideas
- Single-Stage Sufficiency: You don't need a two-stage pipeline to get state-of-the-art results. Jointly training on both objectives from scratch is just as effective.
- The Regularization Effect: Perhaps the most striking finding is that the unsupervised task acts as a powerful regularizer. As shown in Figure 1, joint training leads to a lower validation loss on the supervised task compared to training with labels alone, even though the training loss is higher. This suggests the contrastive task prevents the model from overfitting to the specific transcripts.
- Optimizer Separation is Mandatory: The experiment with a "Single optimizer" in Table 3 shows a significant jump in WER (from 8.0 to 11.1). This highlights that the dynamics of self-supervision and supervision are different enough that they require independent momentum tracking.
Key Results
The "Joint" models matched the performance of the two-stage wav2vec 2.0 models across different sizes:
- BASE Model: On the 100-hour labeled set, the Joint BASE model achieved a WER of 6.2% on test-clean, nearly identical to wav2vec 2.0's 6.1%.
- LARGE Model: The Joint LARGE model achieved 4.3% WER on test-clean, matching the quantized wav2vec 2.0 LARGE model.
- Supervised Improvement: When training on the full 960 hours of labeled data, adding the joint unsupervised loss improved the WER on the "test-other" set from 10.4% to 9.2% (without a language model), proving the method's value even when labeled data is relatively abundant.
Limitations and Future Work
- Computational Balance: While the update ratio of 1:1 worked well, the authors note that ratios favoring the unsupervised task (like 5:1) can become computationally expensive without providing massive gains.
- Quantization: Unlike wav2vec 2.0, this method operates in continuous space and does not use quantization of the latent space. While this simplifies the model, exploring how quantization might interact with joint training remains an open question.
- Synergy with Self-Training: The authors suggest that their joint training method is complementary to "self-training" (pseudo-labeling) techniques. Combining these two approaches—learning from contrastive tasks and learning from model-generated labels—could lead to even more data-efficient ASR.
Summary updated