Abstract
Speech tokenization is a critical component in training large-scale speech models, yet evaluating these tokenizers traditionally requires computationally expensive downstream fine-tuning. We present STAB (Speech Tokenizer Assessment Benchmark), a low-compute framework designed to evaluate speech tokenizers across dimensions of invariance, robustness, and compressibility. STAB provides a reliable proxy for downstream performance while being over 100x more efficient than traditional methods.
Introduction
In modern AI, speech is often treated similarly to text by breaking it down into discrete "tokens" that Large Language Models (LLMs) can process. However, determining the quality of a speech tokenizer is a significant challenge. Currently, researchers must fine-tune massive models on specific tasks like Automatic Speech Recognition (ASR) or translation to validate a tokenizer's effectiveness. This "black box" approach is slow, expensive, and fails to explain why a tokenizer performs well or how it handles acoustic nuances like background noise or speaker variation.
STAB addresses this by offering a suite of lightweight, interpretable metrics that assess tokenizers without requiring any model training.
Methodology
STAB evaluates tokenizers across four key pillars using the chrF score (a character n-gram F-score) to compare token sequences across variations:
- Invariance: Measures if the tokenizer produces consistent tokens for the same sentence spoken by different individuals (Speaker Invariance) or when the surrounding acoustic context is masked (Context Invariance).
- Robustness: Assesses how token sequences change under perturbations such as background noise, pitch shifts, or playback speed variations.
- Compressibility: Evaluates how efficiently token sequences can be compressed using standard algorithms like Huffman coding or Byte-Pair Encoding (BPE), indicating how "word-like" the tokens are.
- Vocabulary Utilization: Checks if the tokenizer effectively uses its full available vocabulary or suffers from "mode collapse."
Experimental Setup
The benchmark primarily utilizes the FLEURS dataset (parallel sentences across 102 languages) for language awareness and TIMIT (630 speakers) for speaker invariance. To validate STAB, results were correlated against traditional downstream tasks using datasets like VoxPopuli (ASR), CoVoST-2 (Translation), IEMOCAP (Emotion Recognition), and VoxCeleb (Speaker ID).
Key Insights and Results
The Invariance Trade-off
STAB reveals a fundamental "tug-of-war" in tokenizer design. Tokenizers that are highly invariant to speaker characteristics perform exceptionally well at ASR (focusing on what was said) but perform poorly at Speaker Identification (SID) (ignoring who said it). STAB makes these trade-offs visible early in the development cycle.
Efficiency and Validation
The most significant advantage of STAB is its efficiency. While standard downstream evaluation can take approximately 38 hours on hundreds of specialized chips (TPUs/GPUs), a STAB evaluation is completed in less than 15 minutes on a standard CPU—a 100x gain in efficiency.
Crucially, these lightweight metrics correlate strongly with actual task performance. For instance, tokenizers with high Speaker Invariance scores in STAB consistently demonstrate lower Word Error Rates (WER) in downstream ASR tasks.
Model Comparisons
Evaluation of existing models showed that USM-v2 (utilizing both Masked Language Modeling and ASR losses) is the most robust and speaker-invariant model tested. The inclusion of ASR loss acts as a "semantic glue," helping the tokenizer group similar sounds from related languages together. In contrast, simple K-means quantization (used in USM-v1) was found to be less efficient at utilizing large vocabularies compared to vector quantization.
Conclusion and Future Work
STAB provides a powerful, interpretable proxy for speech tokenizer quality, though it is intended to complement rather than entirely replace final-stage downstream testing. Current limitations include a focus on semantic and acoustic properties that may not fully capture the requirements for high-fidelity generative tasks like Text-to-Speech (TTS). Future iterations of the benchmark will aim to include generative metrics and a broader range of tokenizer architectures.
Summary updated