HuBERT (Hidden-Unit BERT) is a speech model that clusters untranscribed speech with k-means to create "pseudo-labels" and is pre-trained to predict the labels of masked segments, as in BERT. It was proposed in 2021 by Hsu et al. at Facebook AI. Its architecture is almost the same as wav2vec 2.0; the difference lies in the pre-training target.
Pre-training on speech poses three difficulties that text and images do not.
- One utterance contains many sounds: Training that treats "one input = one class", as with images, cannot be used.
- No predefined units like words: With text, the model simply predicts words from a vocabulary, but speech has no predetermined "vocabulary of sounds".
- Sound boundaries are unknown: Without labels, it is unclear where one sound begins and ends.
HuBERT creates this "vocabulary of sounds" provisionally with k-means in a separate step. At first the clusters are coarse ones built from MFCC features, but by predicting only at masked time steps, the model can learn the structure of speech even from coarse labels. Afterwards, the clusters are rebuilt from the outputs of an intermediate layer of the trained model, gradually improving the labels.
In the paper, HuBERT was pre-trained on 960 hours of LibriSpeech or 60,000 hours of Libri-light, and matched or surpassed wav2vec 2.0 in word error rate in every fine-tuning setting: 10 minutes, 1 hour, 10 hours, 100 hours, and 960 hours. X-LARGE, with about 1 billion parameters, reduced errors relative to LARGE by up to 19% on dev-other and up to 13% on test-other.

