Glossary
wav2vec 2.0
wav2vec 2.0 is a speech model that first learns the structure of speech from large amounts of unlabeled audio, then is fine-tuned on a much smaller set of transcribed recordings. Because transcribed speech is expensive to make, this approach helps when labeled data is scarce.
Updated October 17, 20262 cited facts, each traced to its source
Also called wav2vec.
wav2vec 2.0 is a speech model that learns from audio that has no transcript, then uses a small amount of labeled speech to learn to write text. The method is called self-supervised learning, because the training signal comes from the audio itself. The model is described by Baevski and colleagues in 2020 1.
Pre-training uses unlabeled audio, fine-tuning uses a little text
The training has two stages:
- Pre-training. The model hides short spans of its internal speech representations and learns to pick the correct representation for each hidden span from a set of distractors. This is a contrastive objective, and it requires no written transcripts.
- Fine-tuning. A small output head is added and trained on transcribed speech, usually with a CTC loss over characters.
The pre-training stage is where most of the learning happens, and it can use very large collections of recordings.
Ten minutes of labels can still give a usable model
The paper's most striking result uses very little labeled data. With ten minutes of labeled audio and pre-training on 53,000 hours of unlabeled audio, wav2vec 2.0 still reached 4.8 percent word error rate on LibriSpeech clean and 8.2 percent on the harder other set 2. Those numbers are for clean, read English, so treat them as a measure of what the method can do, not as the error rate you will get on everyday speech.
With all of the labeled LibriSpeech training data, the same model reached 1.8 percent on the clean test set and 3.3 percent on the other set 1. The gap between those two results shows how much the labeled data still matters.
Why it matters for dictation
Dictation quality depends on training data. Many languages, dialects and accents have much less transcribed audio than English. A method that learns from unlabeled audio lowers the number of transcribed hours a team needs before a model is usable, which is why it is attractive for languages with little labeled speech.
It is also useful when a voice differs from the typical training set, such as speech affected by a condition that changes how people talk. In those cases, a small set of labeled recordings from the target speaker can adapt a pre-trained model more cheaply than training one from scratch.
Related terms
- Connectionist temporal classification (CTC): the loss used when fine-tuning for text output.
- LibriSpeech: the benchmark corpus used in the results above.
- Word error rate (WER): the score these results are reported in.
- Automatic speech recognition (ASR): the field this model belongs to.
Guides that cover it
Evidence
Every number on this page, with where it comes from. Open a fact to see the exact words in its source.
- 1.
- 2.
The data behind these numbers
Related terms
- Speech Recognition: What It Is and How Well It WorksThe topic this term belongs to
- Acoustic model
- Automatic speech recognition (ASR)
- Conformer
- Connectionist temporal classification (CTC)
- Hidden Markov model (HMM)
- Inverse text normalization (ITN)
- Language model (in speech recognition)
- LibriSpeech
- Mel spectrogram
- Real-time factor (RTF)
- RNN transducer (RNN-T)
- Speaker diarization