NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units

Wei-Ning Hsu, Benjamin Bolte, Yao-Hung Hubert Tsai, Kushal Lakhotia, Ruslan Salakhutdinov, Abdelrahman Mohamed

TL;DR

HuBERT introduces a novel self-supervised learning approach for speech representation by masking parts of the audio and training a BERT-like model to predict discrete "hidden units" derived from clustering. This method overcomes key challenges in speech learning, achieving state-of-the-art results on par with or exceeding wav2vec 2.0 across various fine-tuning scenarios.

What Problem Does This Paper Address?

Learning robust speech representations is crucial for applications like automatic speech recognition (ASR), but it faces unique challenges compared to text or image learning. Firstly, a single utterance can contain multiple overlapping sound units, making simple instance classification difficult. Secondly, unlike text, there's no readily available lexicon of discrete sound units to guide pre-training. Finally, these sound units have variable lengths, complicating segmentation and prediction tasks. Existing self-supervised methods often struggle with these issues, leading to the need for better ways to learn from raw audio without relying on extensive labeled data.

Methods

HuBERT builds upon the BERT architecture but adapts it for speech. The core innovation lies in its self-supervised pre-training objective: masked prediction of hidden units.

Here's a breakdown of the key steps:

  1. Acoustic Unit Discovery (Offline Clustering): Instead of relying on pre-defined phonemes or words, HuBERT first uses an offline clustering step (initially k-means on MFCC features) to generate discrete "target labels" for segments of the audio. These are referred to as "hidden units."
  2. Iterative Refinement: The clustering process is iteratively refined. After an initial pre-training phase, the learned representations from the HuBERT model itself are used to generate new, potentially better, cluster assignments for subsequent training iterations. This allows the model to learn from its own improved understanding of the audio.
  3. Masked Prediction: Similar to BERT, HuBERT masks a percentage of the input audio frames. The model is then trained to predict the discrete cluster assignments (hidden units) for these masked frames, using the surrounding unmasked audio as context.
  4. Prediction Loss on Masked Regions Only: A crucial aspect is that the prediction loss is applied only to the masked regions. This forces the model to learn a combined acoustic and language model, inferring the hidden units from the continuous audio input and its temporal context.

The paper also explores extensions like cluster ensembles (using multiple clustering models) and iterative refinement of cluster assignments to further improve target quality.

Datasets

  • Unsupervised Pre-training:
    • LibriSpeech (960 hours)
    • Libri-light (60,000 hours)
  • Supervised Fine-tuning:
    • Libri-light: 10-minute, 1-hour, 10-hour splits.
  • LibriSpeech: 100-hour (train-clean-100) and 960-hour (train-clean-100, train-clean-360, train-other-500 combined) splits.

The paper does not introduce new benchmarks but uses existing, widely recognized datasets for speech research.

Key Insights and Ideas

  • Clustering as a "Noisy Teacher": The success of HuBERT hinges on the consistency of the clustering targets, not necessarily their perfect accuracy. Even simple k-means can provide a surprisingly effective "teacher" for learning robust representations.
  • Iterative Refinement is Key: Using the model's own learned representations to refine the clustering targets in subsequent iterations significantly boosts performance, demonstrating a powerful self-improvement loop.
  • Masked Prediction for Speech: Applying the masked prediction objective specifically to discrete hidden units (derived from clustering) forces the model to learn both acoustic and sequential language modeling capabilities from raw audio.
  • Raw Waveform Input: Similar to wav2vec 2.0, using raw audio waveforms as input (processed by a CNN encoder) preserves more information than using pre-processed features like MFCCs, leading to better downstream performance.
  • Model Scale Matters: The X-LARGE (1 billion parameter) model shows substantial gains, highlighting the scalability of the HuBERT approach.

Key Results

  • State-of-the-Art Performance: HuBERT matches or outperforms wav2vec 2.0 on various fine-tuning subsets (10min, 1h, 10h, 100h, 960h) of the Librispeech and Libri-light benchmarks.
  • Significant WER Reduction: The X-LARGE model achieves up to 19% and 13% relative Word Error Rate (WER) reduction on challenging dev-other and test-other evaluation subsets compared to previous state-of-the-art.
  • Low-Resource Gains: In ultra-low resource settings (10 minutes of labeled data), HuBERT LARGE achieved WERs of 4.7% (test-clean) and 7.6% (test-other), slightly outperforming wav2vec 2.0 LARGE.
  • Improved Clustering Quality: Clustering on HuBERT's learned latent representations yields significantly better quality metrics (cluster purity, phone purity, PNMI) compared to clustering on raw MFCC features.

Limitations and Future Work

  • Offline Clustering Dependency: The initial clustering step is performed offline. While iterative refinement improves this, the initial quality can still influence learning.
  • Computational Cost: Training large models like X-LARGE requires substantial computational resources.
  • Future Work: The authors suggest exploring a single-phase training procedure (instead of iterative refinement) and investigating the use of HuBERT representations for a wider range of downstream tasks beyond ASR, including generation. They also plan to explore more advanced clustering techniques.

Summary updated

BibTeX
@article{hsu2021hubert,
  author = {Wei-Ning Hsu and Benjamin Bolte and Yao-Hung Hubert Tsai and Kushal Lakhotia and Ruslan Salakhutdinov and Abdelrahman Mohamed},
  title = {{HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2021},
  url = {https://openreview.net/forum?id=Sn4V_yC9sM9},
}
Figure