Efficient Domain Adaptation for Speech Foundation Models

Bo Li, Dongseong Hwang, Zhouyuan Huo, Junwen Bai, Guru Prakash, Tara N. Sainath, Khe Chai Sim, Yu Zhang, Wei Han, Trevor Strohman, Françoise Beaufays

Abstract

Foundation Models (FMs) have set new benchmarks in Automatic Speech Recognition (ASR), yet their massive scale makes domain-specific adaptation computationally expensive and data-intensive. This paper presents a unified framework for the efficient adaptation of a 600M-parameter speech foundation model from a broad source domain (YouTube) to a specialized target domain (Voice Search). By integrating self-supervised pretraining (BEST-RQ), joint unsupervised and supervised training (JUST Hydra), and residual adapters, the authors achieve performance parity with fully fine-tuned models while updating only 18% of the parameters and utilizing 15x less labeled in-domain data.

Introduction

Foundation Models have revolutionized Natural Language Processing and Computer Vision, and Speech Recognition is the next frontier. However, these models—often containing hundreds of millions or billions of parameters—are notoriously difficult to adapt to specific tasks like Voice Search. Standard fine-tuning requires updating every parameter in the model, which is computationally ruinous and requires vast amounts of human-transcribed data.

Researchers from Google LLC address these challenges by proposing a "full recipe" for efficient domain adaptation. Their approach demonstrates that a massive model trained on diverse YouTube data can be successfully adapted to the clean, short-form queries of Voice Search using a fraction of the usual parameters and labeled data, without sacrificing accuracy.

The Challenge: Domain Mismatch and Efficiency

While Foundation Models excel at generalization, they suffer from "domain mismatch." A model trained on the wild, multi-speaker, and noisy environment of YouTube videos does not automatically excel at the single-speaker, high-clarity environment typical of Voice Search.

Adapting these models faces two major hurdles:

  1. Model Efficiency: Updating all parameters for every new task is unsustainable at scale.
  2. Data Efficiency: Supervised (human-transcribed) data for specific domains is expensive and often limited by privacy constraints.

Methodology

The proposed framework consists of three distinct stages designed to maximize both parameter and data efficiency:

1. Self-Supervised Pretraining (BEST-RQ)

The model utilizes BEST-RQ (BERT-based Speech pre-Training with Random-projection Quantizer). Unlike other methods that require complex codebook learning, BEST-RQ uses a random, frozen matrix to map speech into discrete labels. The model then learns by predicting these labels, allowing it to learn robust acoustic representations from unlabeled data.

2. JUST Hydra (Joint Unsupervised and Supervised Training)

This stage is the "secret sauce" for data efficiency. The authors jointly train the model using supervised data from the source (YouTube) and unsupervised (unlabeled) audio from the target (Voice Search). This allows the model to learn the acoustic characteristics of the new domain before a single human label is introduced, significantly reducing the Word Error Rate (WER) from 12.3% to 6.9% before supervised adaptation.

3. Residual Adapters

To maintain parameter efficiency, the 600M-parameter Conformer encoder is frozen. Small "residual adapters"—tiny bottleneck layers—are inserted between the encoder blocks. During the final adaptation phase, only these adapters and the decoder are trained, leaving the bulk of the foundation model untouched.

Experimental Setup and Datasets

The study utilized massive internal and public-facing datasets to test the framework:

  • YouTube (Source): 500k hours of unlabeled multilingual audio (YT-U) and English audio with machine-generated transcripts (YT-T).
  • Voice Search (Target): 532k hours of unlabeled audio (VS-U) and 30k hours of human-transcribed audio (VS-L).
  • Text-Only Data: Over 100 billion text utterances for language modeling.

Key Insights

  • The Power of Data Filtering: The researchers found that filtering YouTube source data to find segments that resemble Voice Search (single speaker, clean audio) significantly improved performance, suggesting that intelligent data selection is a powerful alternative to new data collection.
  • Frozen Encoder Viability: One of the most striking findings is that the 600M parameters of the main encoder do not need to be updated. The residual adapters (only 6.4M parameters) act as an effective "translator" for the new domain.
  • Unlabeled Audio Utility: Incorporating unlabeled target audio via JUST Hydra proved to be a critical step in bridging the domain gap without increasing human labeling costs.

Results

The proposed "recipe" was compared against a "T0" baseline—a model trained from scratch on a massive 300M supervised multidomain dataset.

  • Accuracy: The final model achieved a 4.4% WER on Voice Search, nearly matching the 4.3% WER of the massive T0 baseline.
  • Parameter Efficiency: The framework updated only 130.8M parameters, compared to the 731.1M required for full fine-tuning.
  • Data Efficiency: The method reached state-of-the-art quality using only 21.6M supervised in-domain utterances, whereas the baseline required over 300M.
  • Training Speed: By freezing the encoder and using adapters, training throughput increased from 3100 to 3500 utterances per second.

Conclusion and Future Work

This research proves that massive speech foundation models can be adapted to niche domains with high efficiency. While the authors noted that text-only data injection (via LM rescoring) provided smaller gains than expected due to acoustic mismatches, the overall framework provides a scalable path forward for ASR. Future work will explore advanced text-injection methods like SLAM or JOIST to better utilize the vast text-only datasets available. Furthermore, the "frozen encoder" approach serves as a stepping stone toward better privacy, as it minimizes the need to process sensitive user data through a fully trainable pipeline.

Summary updated

BibTeX
@inproceedings{li2023efficient,
  author = {Bo Li and Dongseong Hwang and Zhouyuan Huo and Junwen Bai and Guru Prakash and Tara N. Sainath and Khe Chai Sim and Yu Zhang and Wei Han and Trevor Strohman and Françoise Beaufays},
  title = {{Efficient Domain Adaptation for Speech Foundation Models}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=yLmgOh2RKL},
}
Figure