Introduction
Speech Language Models (SLMs) have increasingly adopted discrete audio tokens—pseudo-units derived from self-supervised models like HuBERT—to represent acoustic information. While these tokens enable the application of powerful Transformer architectures to audio, they introduce a significant challenge: extreme sequence length. Because audio is sampled at high frequencies, even brief utterances result in massive token sequences. This redundancy forces models to expend significant computational capacity on low-level local correlations rather than high-level semantic or syntactic structures.
The Acoustic BPE Framework
To address the sequence length bottleneck, this work introduces Acoustic BPE (aBPE). The method adapts Byte-Pair Encoding (BPE), a standard sub-word tokenization technique in Natural Language Processing, to the domain of discrete audio units.
The pipeline consists of four primary stages:
- Discretization: Raw audio is converted into discrete tokens using a pretrained HuBERT model followed by $k$-means clustering (typically with 2000 clusters).
- Unicode Mapping: To leverage existing BPE tools like SentencePiece, the integer tokens are mapped to a range of Unicode characters.
- Acoustic BPE Training: A BPE model is trained on these character sequences to identify and merge frequent acoustic patterns into a new, expanded vocabulary.
- Encoding: The original long sequences are re-encoded into shorter "acoustic sub-words."
Experimental Results
The authors evaluated aBPE using the LibriTTS and LibriLight datasets. A decoder-only Transformer was trained to predict these compressed tokens, and its performance was measured across efficiency and linguistic quality metrics.
Efficiency and Inference Speed
The primary advantage of aBPE is the drastic reduction in sequence length. As shown in the table below, increasing the vocabulary size significantly compresses the input.
With a 20k aBPE vocabulary, the average sequence length dropped from 2513.8 to 1053.0 tokens. This reduction translates directly into a 5.0x inference speedup during autoregressive generation, making real-time applications much more feasible.
Linguistic and Generative Quality
Beyond efficiency, aBPE provides a "morphological prior" that improves the model's understanding of speech structure.
- Syntax Probing: The aBPE models demonstrated superior performance in distinguishing syntactically correct sentences from shuffled ones, with accuracy rising from 75.35% (baseline) to 85.37% (10k BPE).
- Generation Diversity: Cross-entropy analysis against text-based models suggests that aBPE-based generations are more informative and diverse than those produced without compression.
- Acoustic Rescoring: When used as a "judge" to select the best output from a diverse TTS system, the aBPE model aligned more closely with human preferences than the non-BPE baseline.
Conclusion
Acoustic BPE offers a robust, lossless method for compressing discrete audio sequences. By reducing the computational burden on Transformers, it enables faster inference and better capture of long-range dependencies. Future work may explore the interpretability of learned aBPE units—specifically their alignment with phonemes or prosodic events—and the application of this technique to downstream tasks like voice cloning.
Summary updated