Abstract
PolySpeech is a unified, decoder-only Transformer model designed to handle speech recognition (ASR), synthesis (TTS), and classification (Language and Gender ID) within a single framework. By utilizing semantic speech representations (HuBERT) and a novel high-fidelity codec, the researchers demonstrate that a multitask model can match or even outperform specialized single-task models while maintaining high-quality, zero-shot speech generation.
Introduction
The field of speech processing is rapidly moving toward unified "foundation models" such as Whisper or SpeechGPT. However, two critical questions persist:
- Competitiveness: Does joint optimization of diverse tasks lead to performance degradation due to "interference," or can it actually enhance performance compared to specialized models?
- Representation: Which discretization method is superior—acoustic tokens, which capture fine-grained audio details, or semantic tokens, which prioritize meaning and phonetics?
Furthermore, many existing discretization methods, such as k-means clustering in AudioLM, struggle with tonal languages like Mandarin. This often results in "tone inaccuracies" that make synthesized speech sound unnatural. PolySpeech addresses these challenges through a rigorous comparison of multitask versus single-task configurations and a robust speech discretization strategy.
Architecture and Methods
PolySpeech is built upon a 12-layer decoder-only Transformer Language Model (LM) with 160 million parameters. The architecture treats all tasks as a sequence-to-sequence problem: [Source Tokens] + [Task ID] + [Target Tokens].
Key technical innovations include:
- Semantic Speech Embedding Tokenization (SSET): Instead of standard k-means, the authors employ a codec-based approach (Convolutional Encoder-Decoder + Residual Vector Quantizer) to discretize semantic embeddings. This method preserves the acoustic information necessary for high-quality TTS.
- Non-Autoregressive Speech Decoder: Inspired by VITS and VOCOS, this module converts semantic tokens back into waveforms. It utilizes a "speech prompt" (a short audio clip) to enable zero-shot voice cloning.
- Unified Input: The model accepts either continuous embeddings or discrete tokens. The researchers found that continuous HuBERT embeddings yielded the best results for ASR.
Datasets
The model was trained on a massive collection of Mandarin and English data, totaling approximately 26,000 hours for ASR and TTS tasks. This includes datasets like Aishell-1, Aishell-2, WenetSpeech, and internal Mandarin dialog corpora. For classification tasks (LID and GID), the data covered five languages and dialects: Standard Mandarin, Cantonese, Hokkien, SW Mandarin, and English, sourced from LibriSpeech and internal datasets. Evaluation was performed on benchmarks such as Aishell-1 test, FLEURS, and Common Voice to test out-of-distribution generalization.
Key Results and Insights
The experimental results highlight the advantages of the PolySpeech framework across multiple dimensions, particularly in classification accuracy and transcription quality.
Semantic vs. Acoustic Representations
Models trained on acoustic tokens (EnCodec) tended to overfit to the specific recording conditions of the training set. In contrast, semantic tokens (HuBERT) allowed for significantly better generalization to unseen datasets for Language Identification (LID). As shown in the results table, the HuBERT-based 4-task model achieved 94.4% accuracy on LID, compared to only 44.2% for the EnCodec version.
Multitask Synergy and Benchmarks
A notable "transfer" effect was observed where the ASR task benefited the LID task. By learning to transcribe speech, the model developed superior semantic discrimination, boosting LID accuracy—particularly for Mandarin dialects.
- ASR: On the Aishell-1 test set, the 4-task PolySpeech model achieved a 2.0% Character Error Rate (CER), outperforming the single-task ASR version (2.7%) and a strong ESPnet baseline (7.4%).
- TTS: The model achieved a CER of 4.9% (near the original speech's 4.6%) and a Speaker Similarity (SECS) of 0.91, indicating high-fidelity synthesis.
- LID: The HuBERT-based multitask model vastly outperformed the Whisper Small baseline (44.4% accuracy).
Conclusion
PolySpeech demonstrates that a unified multitask model can be highly competitive with, and often superior to, specialized single-task models. By leveraging semantic representations and high-fidelity de-tokenizers, it overcomes common pitfalls in tonal language synthesis and achieves state-of-the-art performance in classification and recognition tasks. Future work will focus on scaling the model parameters and expanding the variety of supported tasks and languages.
Summary updated