TL;DR
This paper introduces Acoustic BPE (aBPE), a method that applies the popular Byte-Pair Encoding algorithm from NLP to discrete audio tokens. By compressing long sequences of audio units into shorter, meaningful "sub-word" patterns, the authors achieve up to a 5x inference speedup while simultaneously improving the model's ability to capture complex syntax and generate more diverse, human-like speech.
What Problem Does This Paper Address?
In recent years, Speech Language Models (SLMs) have shifted toward using discrete audio tokens—essentially "pseudo-letters" derived from self-supervised models like HuBERT. While effective, these tokens suffer from a major drawback: sequence length.
Because audio is sampled at high frequencies, even a short sentence results in a massive sequence of tokens. This makes it computationally expensive for Transformers to model long-range dependencies and forces the model to spend most of its capacity learning low-level correlations between adjacent, redundant frames. While some researchers simply remove repetitions to shorten sequences, this "corruptive encoding" destroys the timing and prosody needed for high-quality speech generation.
Methods
The authors propose a pipeline to treat audio tokens like text, enabling the use of standard NLP compression tools:
- Discretization: Raw audio is converted into discrete tokens using a pretrained HuBERT model and $k$-means clustering (2000 clusters).
- Unicode Mapping: To use existing BPE implementations (like SentencePiece), the authors map these 2000 integer tokens to a range of Unicode characters (specifically, common Chinese characters).
- Acoustic BPE Training: They train a BPE model on these "Unicode-audio" strings to identify and merge frequent patterns into a new vocabulary (tested at 5k, 10k, and 20k sizes).
- Speech Language Model (SLM): A decoder-only Transformer is trained to predict these compressed aBPE tokens.
- Acoustic Rescoring: The authors introduce a novel application where the SLM acts as a "judge." Given multiple candidate outputs from a diverse TTS system (like VALL-E), the SLM calculates the likelihood of each and selects the most "natural" one.
Datasets
The study utilizes two standard benchmarks in the speech community:
- LibriTTS: 580 hours of English speech, used for training the BPE model and evaluating the rescoring method.
- LibriLight (6k subset): A larger, unlabelled dataset used to train the generative Speech Language Model.
Key Insights and Ideas
- Audio Morphology: Just as BPE in text captures morphemes (like "ing" or "pre"), aBPE captures recurring acoustic patterns. The authors argue this provides a "morphological prior" that helps the model understand the structure of speech rather than just memorizing raw sequences.
- Efficiency vs. Quality: Unlike simple repetition removal, aBPE is a lossless way to shorten sequences for the model. It reduces the "burden" on the Transformer, allowing it to focus on higher-level syntax and semantics.
- The "Judge" Model: Using an SLM for rescoring is a clever way to bridge the gap between "diverse" generation (which can sometimes produce weird artifacts) and "natural" generation. It allows a system to generate many "risky" variations and then pick the one that sounds most like real human speech.
Key Results
- Inference Speedup: Using a 20k aBPE vocabulary reduced the average sequence length from 2513 to 1053 tokens, resulting in a 5.0x speedup during autoregressive generation.
- Syntax Probing: The aBPE models were significantly better at distinguishing between syntactically correct sentences and those with shuffled words. Accuracy jumped from 75.35% (no BPE) to 85.37% (10k BPE).
- Generation Richness: Measured via cross-entropy against a text-based language model, aBPE-based generations contained more information and variety than the baseline.
- Human Alignment: In the rescoring task, the aBPE 10k model's top choice aligned with human preference significantly better than a random baseline or the non-BPE model.
Limitations and Future Work
While the paper demonstrates clear empirical gains, there are a few areas left for future exploration:
- Interpretability: The paper doesn't deeply analyze what the learned aBPE units actually represent (e.g., do they align with phonemes, syllables, or specific prosodic events?).
- Vocabulary Scaling: While 20k BPE units provided the best speedup, the 10k version often performed better on syntax and rescoring tasks, suggesting a "sweet spot" for vocabulary size that needs more investigation.
- Downstream Tasks: The authors suggest this could be applied to voice cloning and speech enhancement, but the current paper focuses primarily on unconditional generation and rescoring.
Summary updated