Robust wav2vec 2.0: Analyzing Domain Shift in Self-Supervised Pre-Training

Wei-Ning Hsu, Anuroop Sriram, Alexei Baevski, Tatiana Likhomanenko, Qiantong Xu, Vineel Pratap, Jacob Kahn, Ann Lee, Ronan Collobert, Gabriel Synnaeve, Michael Auli

TL;DR

This paper provides a systematic analysis of domain shift in self-supervised speech models like wav2vec 2.0. The authors demonstrate that incorporating unlabeled data from the target domain during pre-training is a highly effective way to mitigate domain mismatch, closing the performance gap by up to 73% even when labeled data is scarce or from a different domain.

What Problem Does This Paper Address?

Automatic Speech Recognition (ASR) systems typically struggle when the "target domain" (the environment where the model is actually used) differs from the training data—a phenomenon known as domain shift. While self-supervised learning (SSL) has revolutionized ASR by leveraging vast amounts of unlabeled data, most research has focused on "clean" setups where pre-training, fine-tuning, and testing all happen within the same domain (e.g., read audiobooks).

In the real world, practitioners often face a mismatch: they might have massive amounts of unlabeled audiobook data, but their actual task involves telephone conversations or noisy lectures. This paper asks: How does domain mismatch at different stages of the pipeline (pre-training vs. fine-tuning vs. testing) affect performance, and can we use easily obtainable unlabeled target-domain data to fix it?

Methods

The researchers use the wav2vec 2.0 framework, which learns speech representations from raw audio by predicting masked segments of the signal. They experiment with both the BASE (95M parameters) and LARGE (300M parameters) architectures.

The core of their methodology is a series of controlled "ablation" experiments. They systematically vary the source of:

  1. Unlabeled data for pre-training (PT).
  2. Labeled data for fine-tuning (FT).
  3. Test data (the target domain).

They compare two main strategies for incorporating new domains: joint training (mixing data from multiple domains during a single pre-training run) and continual training (pre-training on a large general dataset and then "adapting" the model with additional pre-training on a specific target domain).

Table 1: Experiment overview. Each capitalized letter denotes one domain, and “(t)” is added whenever the size from that domain is of the interest for the experiments in that section.

Datasets

The study utilizes six diverse English speech datasets to simulate various domain shifts:

  • LibriSpeech (LS) / Libri-light (LL): Clean, crowd-sourced audiobooks.
  • TED-LIUM v3 (TD): Technical conference presentations.
  • Switchboard (SB) / Fisher (SF): Low-bandwidth telephone conversations.
  • Common Voice (CV): Diverse, crowd-sourced readings of Wikipedia.
  • Wall Street Journal (WS): Professional news readings.
  • VoxPopuli (VP): European Parliament plenary sessions.

Key Insights and Ideas

  • Unlabeled Data is a Practical "Silver Bullet": It is significantly easier to collect raw audio from a target domain than it is to get high-quality transcriptions. The paper proves that simply adding this raw audio to the pre-training mix provides massive gains, even if your labeled fine-tuning data remains out-of-domain.
  • Pre-training Diversity Breeds Robustness: Models pre-trained on a mixture of domains (e.g., audiobooks + telephone + TED talks) generalize much better to completely unseen domains (like news or parliament) than models trained on a single domain.
  • The "Target-Domain PT" Advantage: If you know your target domain, including it in pre-training is more important than having in-domain labels. A model pre-trained on the target domain but fine-tuned on a different domain often outperforms a model where the reverse is true.
  • Saturation Effects: While adding in-domain unlabeled data always helps, the benefits eventually saturate. If the fine-tuning labels are mismatched, adding more than 50-75% in-domain data during pre-training yields diminishing returns.

Key Results

The quantitative results are striking. As shown in Table 2, adding in-domain data to the pre-training set (the red numbers) consistently and significantly lowers the Word Error Rate (WER).

Table 2: Validation WER on TD, LS, and SB of models pre-trained (PT) on various subsets of {TD, LS, SB}, and fine-tuned (FT) on TD-10h, LS-10h, or SB-10h.
  • Closing the Gap: In large-scale setups, pre-training on unlabeled in-domain data reduced the performance gap between "ideal" in-domain models and "baseline" out-of-domain models by 66% to 73%.
  • Zero-Shot Robustness: When testing on completely unseen domains (WS, CV, VP), the model pre-trained on the most diverse set (TD+LS+SF) achieved the lowest average WER, proving that data variety during SSL is key for general-purpose ASR.
Table 3: Validation WER on domains unseen during pre-training or fine-tuning: WS, CV, and VP. {TD, LS, SB}-10h denote the labeled data used for fine-tuning for the corresponding column. We also report the average WER over the dev sets of WS, CV, VP, TD, LS, SB.

Limitations and Future Work

  • Language Scope: The study is limited to English. The dynamics of domain shift might differ in low-resource languages or in cross-lingual adaptation scenarios.
  • Computational Cost: The paper notes that while continual pre-training is effective for adaptation, it still requires significant compute. Finding more efficient ways to "specialize" a general pre-trained model is a promising future direction.
  • Minimum Data Requirements: While the authors show that adding data helps, they don't explicitly define the "tipping point"—the minimum amount of unlabeled target audio needed to see a meaningful improvement in a new environment.

Summary updated

BibTeX
@misc{hsu2021robust,
  author = {Wei-Ning Hsu and Anuroop Sriram and Alexei Baevski and Tatiana Likhomanenko and Qiantong Xu and Vineel Pratap and Jacob Kahn and Ann Lee and Ronan Collobert and Gabriel Synnaeve and Michael Auli},
  title = {{Robust wav2vec 2.0: Analyzing Domain Shift in Self-Supervised Pre-Training}},
  year = {2021},
  eprint = {2104.01027},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.01027},
}
Figure