Wav2Vec
By Meta AI (Facebook AI Research)
Wav2Vec is a family of self-supervised speech representation learning models developed by Facebook AI Research (Meta AI), which learn useful audio representations directly from raw, unlabeled speech waveforms, and can then be fine-tuned…
Definition
Wav2Vec is a family of self-supervised speech representation learning models developed by Facebook AI Research (Meta AI), which learn useful audio representations directly from raw, unlabeled speech waveforms, and can then be fine-tuned with comparatively little labeled data for tasks like automatic speech recognition.
Overview
Building a high-quality speech recognition system traditionally required large amounts of transcribed audio, which is expensive and unavailable for many languages. Wav2Vec was designed to reduce that dependency by first learning general-purpose audio representations from vast quantities of unlabeled speech — audio with no transcripts at all — using self-supervised learning, and only afterward fine-tuning on a small labeled dataset for the actual recognition task. The original wav2vec model learned representations via a contrastive predictive coding-style objective. Its successor, wav2vec 2.0 (2020), refined this into a more effective approach: raw audio is processed by a convolutional feature encoder into a sequence of latent representations, portions of which are masked, and a Transformer network is trained to correctly identify the true latent representation for each masked segment from among distractors — conceptually similar to how BERT masks tokens in text, but applied to continuous audio signal. Wav2vec 2.0 demonstrated that after this self-supervised pretraining, a speech recognition model could be fine-tuned to strong accuracy using as little as 10 minutes of labeled transcribed audio, a dramatic reduction compared to the hundreds or thousands of hours typically required by earlier fully-supervised approaches. This made high-quality speech recognition far more achievable for low-resource languages, where large transcribed datasets simply don't exist. Wav2Vec's self-supervised pretraining approach influenced a broader family of speech models, including XLSR (a multilingual wav2vec variant) and later became a widely used building block within open-source speech-recognition tooling distributed through platforms like Hugging Face.
Key Concepts
- Self-supervised pretraining on raw, unlabeled speech waveforms
- Masks segments of learned latent audio representations during training
- Fine-tunable to strong accuracy with as little as 10 minutes of labeled audio
- wav2vec 2.0 combines a convolutional feature encoder with a Transformer
- Extended into multilingual variants such as XLSR
- Widely distributed via open-source speech tooling and model hubs