Abstract
SpeechComposer is a unified, decoder-only speech language model (SLM) designed to perform a wide array of speech tasks using a minimal, fixed set of five uniform prompt tokens. Unlike previous models that rely on task-specific trigger tokens, SpeechComposer treats complex tasks as compositions of primary ones. For instance, Voice Conversion is modeled as a sequence of Automatic Speech Recognition (ASR) followed by Text-to-Speech (TTS). This compositional approach allows the model to leverage intrinsic relationships between tasks, achieving state-of-the-art performance in TTS and Voice Conversion while demonstrating robust zero-shot capabilities for novel task combinations.
Introduction
In the evolving field of Speech Language Models (SLMs), multi-tasking has traditionally been handled by assigning unique "trigger" tokens to each specific task—such as one for ASR and another for TTS. However, this approach treats speech tasks as isolated silos, failing to capture the deep interconnections between them.
SpeechComposer addresses this limitation by introducing a compositional framework. The authors argue that complex speech tasks are often just combinations of simpler ones. For example, Voice Conversion (VC) can be viewed as performing ASR to extract text, followed by TTS to re-synthesize that text in a target voice. By using a small set of "Lego-like" prompt tokens, SpeechComposer bridges the gap between disparate tasks, allowing them to mutually enhance one another.
Methodology
SpeechComposer utilizes a standard decoder-only Transformer architecture. Its core innovation lies in its unified data format and training strategy, which replaces $N$ task-dependent tokens with just five uniform primary prompt tokens:
<start-text>/<start-speech>: Marks the beginning of an input sequence.<generate-text>/<generate-speech>: Directs the model to output a specific modality.<enroll-speech>: Provides reference audio, such as a target speaker's voice for TTS or VC.
Task Composition
The model processes audio by converting it into discrete tokens using a HuBERT-base model (6th layer) with k-means clustering. To perform a composite task like Voice Conversion, the input sequence is structured as: [Source Speech] + <generate-text> + [Text] + <enroll-speech> + [Target Reference] + <generate-speech>. This structure forces the model to learn the transition from speech to text and then back to re-synthesized speech.
Training Strategy
To maintain stability when training on multiple tasks simultaneously, the authors implemented a Randomized Sampling Strategy. In each training step, the model randomly selects a segment of the composite sequence to calculate the loss, ensuring balanced learning across all sub-tasks. The model was trained on a massive collection of public corpora, including LibriLight (60,000+ hours), LibriSpeech, and LibriTTS.
Key Insights and Ideas
- Zero-Shot Composition: A significant finding is that SpeechComposer can perform composite tasks like Voice Conversion or Speech Enhancement even if it hasn't been explicitly trained on them, provided it understands the primary components (ASR and TTS).
- Mutual Enhancement: Learning different tasks simultaneously provides synergistic benefits. For instance, including Speech Enhancement (SE) data during training was found to improve the quality of the TTS task, suggesting that understanding noisy audio helps the model better grasp the structure of clean speech.
- Text as the Bridge: For tasks like Voice Conversion, the intermediate text tokens (the ASR output) act as "glue." Removing this text bridge caused the Character Error Rate (CER) to jump from 1.1% to 7.0%, highlighting the importance of explicit linguistic representation in complex speech transformations.
Key Results
SpeechComposer demonstrates superior performance compared to both "expert" (single-task) models and other unified models like VoxtLM:
- TTS: SpeechComposer-Pretrained achieved a CER of 3.1%, significantly better than the expert VITS model's 7.7%.
- Voice Conversion: It reached a Speaker Similarity (Sim-speech) score of 0.74, outperforming the expert PPG-VC model (0.63).
- Scaling: Initializing the model with weights from a pre-trained Text Language Model (such as OPT) led to faster convergence and improved final performance, showing the benefit of cross-modal pre-training.
Conclusion
SpeechComposer represents a shift toward more flexible and interconnected speech language models. While its ASR performance (Word Error Rate) currently lags slightly behind specialized non-generative models, and the computational cost of autoregressive generation remains high, the compositional approach offers a powerful path forward. Future work will focus on scaling ASR data and extending the framework to tasks like Speech Translation and Speech Editing using the same five-token logic.
Summary updated