What Are Semantic Audio Tokens? Separate Speech Content from Sound Detail
Semantic audio tokens are discrete IDs derived from learned speech representations. They can help a model represent linguistic structure, but they are not words or ground-truth phoneme labels. Learn how they differ from acoustic codec tokens and what to check before using them.
A semantic audio token is a discrete ID produced by clustering or quantizing a learned representation of speech. The ID is a model-specific symbol, not a readable word, phoneme, or verified linguistic label.
A typical pipeline encodes waveform frames into vectors, then assigns each vector to a cluster or codebook entry. In HuBERT, for example, offline k-means assignments serve as pseudo-labels for masked prediction. They are training targets created by a procedure, not a vocabulary of discovered language units. The first HuBERT iteration used 100 clusters; this does not mean it found 100 universal speech sounds.
AudioLM illustrates one use of semantic tokens: its system uses representations from a pretrained speech model to model longer-range structure, then combines them with neural codec tokens to synthesize detailed audio. In that paper's experiments, semantic tokens alone gave poor waveform reconstruction, while codec tokens retained sound detail but were less phonemically discriminative in the tested setup. These are findings about that system and evaluation, not a universal ranking.
Choose tokens for the task. For linguistic structure, evaluate representations on labeled validation data or a suitable phonetic-discrimination task. For speech generation or reconstruction, use a compatible decoder and listen to representative outputs. Keep the encoder checkpoint and layer, sample rate, frame rate, clustering or codebook configuration, ID ordering, and decoder together. Equal-looking IDs from different models are not interchangeable.
References
Hsu et al. (2021), [HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units](https://arxiv.org/abs/2106.07447)
Borsos et al. (2023), [AudioLM: A Language Modeling Approach to Audio Generation](https://arxiv.org/abs/2209.03143)