Abstract
SpeechT5 is a unified encoder-decoder framework that applies the "everything is a sequence-to-sequence task" philosophy to spoken language processing. By pre-training a shared backbone on large-scale unlabeled speech and text data, SpeechT5 creates a single model capable of handling diverse tasks—from speech recognition and translation to text-to-speech synthesis and voice conversion. Experimental results demonstrate that SpeechT5 often outperforms modality-specific state-of-the-art baselines by leveraging a unified semantic space.
Introduction
In Natural Language Processing (NLP), unified models like T5 and BART have demonstrated that pre-training encoder-decoder architectures on massive text corpora allows a single model to excel across various tasks. Conversely, the Spoken Language Processing (SLP) landscape has remained fragmented. High-performance speech models such as wav2vec 2.0 or HuBERT typically suffer from modality isolation—training exclusively on unlabeled speech—and architecture imbalance, focusing primarily on the encoder. This leaves the decoder un-pre-trained, limiting effectiveness for generative tasks like Text-to-Speech (TTS) or Voice Conversion (VC).
SpeechT5 addresses these gaps by creating a unified semantic space where speech and text are processed by a shared core engine, enabling a unified approach for audio and text processing.
Methodology
The SpeechT5 architecture comprises three primary components: modal-specific pre-nets, a shared Transformer backbone, and modal-specific post-nets. Pre-nets convert raw speech (via CNNs) or text (via embeddings) into a shared hidden representation. The shared Transformer backbone performs the core sequence-to-sequence transformations. Finally, post-nets convert the backbone's output back into target formats, such as log Mel-filterbanks for speech or tokens for text.
Cross-Modal Vector Quantization (CMVQ)
A key innovation is Cross-modal Vector Quantization (CMVQ), which ensures the model learns modality-invariant features. By using a shared codebook to map speech and text representations into the same latent space, the model learns that spoken and written forms of the same word represent the same concept. During pre-training, these latent units are randomly mixed with contextual states, forcing the model to align the two modalities.
Pre-training Objectives
The model utilizes a mix of objectives:
- Speech: Masked prediction of hidden units and denoising reconstruction.
- Text: A denoising objective similar to BART, reconstructing original text from corrupted versions.
Experimental Results
SpeechT5 was pre-trained on the LibriSpeech corpus (960 hours of speech) and a normalized LibriSpeech text corpus (400 million sentences). It was evaluated across a wide range of tasks:
- Automatic Speech Recognition (ASR): On the LibriSpeech 100-hour test-clean set, SpeechT5 achieved a Word Error Rate (WER) of 2.1 (using a Transformer LM), outperforming wav2vec 2.0 and HuBERT BASE.
- Speaker Identification (SID): The model reached a state-of-the-art accuracy of 96.49% on VoxCeleb1.
- Generative Tasks: In TTS and Voice Conversion, SpeechT5 produced higher quality speech than strong baselines. For VC, it achieved a Mel-Cepstral Distortion (MCD) of 5.87, compared to 6.16 for the baseline.
- Speech Translation (ST): On MUST-C EN-DE, it achieved a BLEU score of 25.18, a significant improvement over the Fairseq ST baseline of 22.70.
Discussion and Conclusion
The primary insight of SpeechT5 is that speech and text can be effectively aligned within a single encoder-decoder backbone, allowing for cross-modal "pollination." Pre-training the decoder is crucial for generative tasks, making SpeechT5 a versatile tool for diverse SLP applications.
Future work includes scaling the model to larger datasets (e.g., Libri-light) and expanding the framework to support multilingual processing. While computationally intensive, SpeechT5 represents a major step toward unified, multi-modal language intelligence.
Summary updated