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

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

14 Jun 2021arXiv:2106.07447archive 2025-07-28

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

Self-supervised approaches for speech representation learning are challenged by three unique problems: (1) there are multiple sound units in each input utterance, (2) there is no lexicon of input sound units during the pre-training phase, and (3) sound units have variable lengths with no explicit segmentation. To deal with these three problems, we propose the Hidden-Unit BERT (HuBERT) approach for self-supervised speech representation learning, which utilizes an offline clustering step to provide aligned target labels for a BERT-like prediction loss. A key ingredient of our approach is applying the prediction loss over the masked regions only, which forces the model to learn a combined acoustic and language model over the continuous inputs. HuBERT relies primarily on the consistency of the unsupervised clustering step rather than the intrinsic quality of the assigned cluster labels. Starting with a simple k-means teacher of 100 clusters, and using two iterations of clustering, the HuBERT model either matches or improves upon the state-of-the-art wav2vec 2.0 performance on the Librispeech (960h) and Libri-light (60,000h) benchmarks with 10min, 1h, 10h, 100h, and 960h fine-tuning subsets. Using a 1B parameter model, HuBERT shows up to 19% and 13% relative WER reduction on the more challenging dev-other and test-other evaluation subsets.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2106.07447")

Code

Syntology Ran 0 of 9 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run.

By repository: community (archive-listed): 9 samples from 2 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pytorch/fairseq officialmentioned in paperpytorch report
huggingface/transformers officialmentioned on GitHubpytorch report
BirgerMoell/tmh mentioned on GitHubpytorchMIT report
bshall/hubert mentioned on GitHubpytorchMIT report
earthspecies/aves mentioned on GitHubpytorch report
huseinzol05/malaya-speech mentioned on GitHubtfMIT report
pwc-1/Paper-9 mindspore report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 0 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

9unverified

Licence: 0 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

classify_speakers_based_on_embeddings BirgerMoell/tmh/tmh/separate_speakers.py community (archive-listed) unverified MIT (permissive) · 23ee02ee1f0cbf10 · report
generate BirgerMoell/tmh/tmh/generate_code.py community (archive-listed) unverified MIT (permissive) · e9f1ccc33723e6cc · report
generate_from_prompt BirgerMoell/tmh/tmh/generate_code.py community (archive-listed) unverified MIT (permissive) · f943471db7f5c70c · report
get_meme BirgerMoell/tmh/tmh/get_image.py community (archive-listed) unverified MIT (permissive) · 8a4812e23fb95c1e · report
get_model BirgerMoell/tmh/tmh/language_files.py community (archive-listed) unverified MIT (permissive) · fc55c7799a15a294 · report
get_random_integer BirgerMoell/tmh/tmh/get_image.py community (archive-listed) unverified MIT (permissive) · 474a1cd01bb48ef9 · report
speaker_similarity huseinzol05/malaya-speech/malaya_speech/diarization.py community (archive-listed) unverified MIT (permissive) · e3a6cbc648abf24e · report
str_to_bool BirgerMoell/tmh/tmh/phonemes.py community (archive-listed) unverified MIT (permissive) · 1b4f6d2b73c42a6b · report
streaming huseinzol05/malaya-speech/malaya_speech/diarization.py community (archive-listed) unverified MIT (permissive) · 10710b96b3bcaa14 · report

Tasks

ClusteringLanguage ModellingRepresentation LearningSpeech RecognitionSpeech Representation Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Speech Recognition LibriSpeech test-clean HuBERT with Libri-Light Word Error Rate (WER) 1.8 #13 of 64 Archive leaderboard report
Speech Recognition LibriSpeech test-other HuBERT with Libri-Light Word Error Rate (WER) 2.9 #5 of 53 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AdamAttentionAttention DropoutBERTDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections