Analyzing the factors affecting usefulness of Self-Supervised Pre-trained Representations for Speech Recognition

Lodagala Durga Prasad, Ashish Seth, Sreyan Ghosh, Srinivasan UmesharXiv 2022

Abstract

Self-supervised learning (SSL) to learn high-level speech representations has been a popular approach to building Automatic Speech Recognition (ASR) systems in low-resource settings. However, the common assumption made in literature is that a considerable amount of unlabeled data is available for the same domain or language that can be leveraged for SSL pre-training, which we acknowledge is not feasible in a real-world setting. In this paper, as part of the Interspeech Gram Vaani ASR challenge, we try to study the effect of domain, language, dataset size, and other aspects of our upstream pre-training SSL data on the final performance low-resource downstream ASR task. We also build on the continued pre-training paradigm to study the effect of prior knowledge possessed by models trained using SSL. Extensive experiments and studies reveal that the performance of ASR systems is susceptible to the data used for SSL pre-training. Their performance improves with an increase in similarity and volume of pre-training data. We believe our work will be helpful to the speech community in building better ASR systems in low-resource settings and steer research towards improving generalization in SSL-based pre-training for speech systems.

Introduction

Building high-quality Automatic Speech Recognition (ASR) systems typically requires thousands of hours of human-transcribed audio. While English has an abundance of such data, most of the world's languages do not. Self-supervised learning (SSL) models like wav2vec 2.0 have helped bridge this gap by learning from unlabeled audio. However, these models are often biased toward the domain (e.g., audiobooks) and language (e.g., English) they were originally trained on.

This study investigates a practical question for engineers: If you have a massive pre-trained model and a small amount of unlabeled data in your target language/domain, what is the best way to combine them? We focus on four Indian languages: Hindi (GramVaani dataset), and Gujarati, Tamil, and Telugu (MSR dataset). These datasets represent "real-world" challenges, featuring spontaneous telephone speech and various dialects.

Methodology

The researchers employed a two-stage architecture, as illustrated in Figure 1.

The two-stage ASR architecture featuring an upstream SSL feature extractor and a downstream Conformer-based ASR model.
  1. Upstream (Feature Extractor): Various versions of wav2vec 2.0 (LARGE) were compared, including models trained on English audiobooks (Libri-Light), multi-domain English (LL+CV+SF), 128 different languages (XLSR-128), and 40 Indian languages (IndicW2V).
  2. Downstream (ASR Model): A Conformer-based encoder-decoder model takes features from the upstream model to predict text.

The core experiment is Continued Pre-training (CP). Instead of training from scratch, existing SSL models underwent additional self-supervised training on 1,000 hours of unlabeled Hindi telephone speech before final ASR training.

Results and Discussion

The choice of the starting model is critical. XLSR-128, trained on 436k hours of multilingual data, consistently outperformed models trained on fewer hours or languages, even those more "related" to the target.

Performance Gains and the "Double-Edged Sword"

Continued pre-training (CP) on Hindi significantly improved Hindi ASR performance. For the 100-hour Hindi task, the best setup (XLSR-128 with CP) achieved a Word Error Rate (WER) of 27.1%, compared to 33.7% for the standard FBank baseline. In extreme low-resource scenarios with only 10 hours of labeled data, CP resulted in a 29.5% absolute WER improvement over traditional features.

However, as shown in Figure 5, CP on Hindi actually degraded performance on other languages like Gujarati or Tamil for multilingual models. This is a case of catastrophic forgetting, where the model over-specializes to the new data and loses general knowledge.

Performance comparison (WER) across four Indian languages for various pre-trained and continued pre-trained (CP) models.

Domain Robustness and Layer Analysis

Models trained on more diverse domains (e.g., LL+CV+SF) learned better "domain-agnostic" features than those trained only on audiobooks, making them more robust for downstream tasks. Analysis of attention weights also revealed that CP helps the model focus on specific layers that capture language-specific phonetic properties, shifting away from the scattered attention seen in base models.

Conclusion

Continued pre-training is a powerful tool for low-resource ASR, often outperforming training from scratch. However, it is not a "free lunch" for multilingual systems due to catastrophic forgetting. Future work should focus on developing adaptation methods that preserve original broad knowledge while achieving results with less compute.

Summary updated

BibTeX
@misc{prasad2022analyzing,
  author = {Lodagala Durga Prasad and Ashish Seth and Sreyan Ghosh and Srinivasan Umesh},
  title = {{Analyzing the factors affecting usefulness of Self-Supervised Pre-trained Representations for Speech Recognition}},
  year = {2022},
  eprint = {2203.16973},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.16973},
}
Figure