Foundation Models

Foundation Models

Advanced14 minStage 6

Learning Objectives

  • Define a speech and audio foundation model
  • Compare Whisper, WavLM, and XLS-R in terms of design
  • Explain how representations are used across multiple tasks

A foundation model is a large model trained on broad data and adapted to many tasks instead of training a new model for each task. In audio, there are self-supervised foundation models such as wav2vec 2.0, HuBERT, and WavLM that produce audio representations, and models based on weak supervision over large data such as Whisper that perform ASR, translation, and language identification.

Ways of use vary. The model can be frozen and the representations of its layers extracted, then a lightweight head trained on top of them for a particular task. Or the whole model can be fine-tuned. Different layers carry different information: the lower layers are closer to acoustic features, and the upper ones closer to linguistic content, and this is explored experimentally.

XLS-R shows how pretraining extends to many languages, which benefits low-resource languages. But the size of the model and its memory consumption limit its use, so estimate the time and memory before choosing.

When evaluating, you must check for possible overlap of the test data with the massive training data, and the model's performance on the dialects that matter to you. Do not assume support for a particular dialect based on the model's name; test it on data that represents your use. The Lab's comparison tool helps you organize a comparison of external models with unified metrics.

References

  1. Radford et al.. Robust Speech Recognition via Large-Scale Weak Supervision. arXiv (2022). DOI
  2. Chen et al.. WavLM: Large-Scale Self-Supervised Pre-Training for Full Stack Speech Processing. arXiv (2021). DOI
  3. Babu et al.. XLS-R: Self-supervised Cross-lingual Speech Representation Learning at Scale. arXiv (2021). DOI

Audio processing in the experiments takes place inside your browser. Audio, texts, and conversations are not saved on the server. Privacy Policy