TL;DR
SpeechX is a versatile neural codec language model that unifies speech generation (like zero-shot TTS) and speech transformation (like noise suppression and editing) into a single framework. By leveraging task-dependent prompting and multi-task learning, it achieves state-of-the-art performance across diverse tasks, demonstrating a unique ability to process noisy signals and use text to improve speech enhancement.
What Problem Does This Paper Address?
While generative speech models have made massive strides in zero-shot text-to-speech (TTS), they often remain "one-trick ponies." Most existing models are specialized for a single task and struggle when asked to transform existing speech—especially in adverse acoustic conditions. For example, most speech editing models only work on clean audio and cannot preserve background noise while changing spoken content.
Furthermore, traditional speech enhancement tasks like noise suppression or target speaker extraction typically rely on regression-based "expert" models. These models often lack the ability to leverage textual information (transcripts) to improve the intelligibility of the output. The authors of SpeechX aimed to bridge this gap by creating a unified, extensible model that treats both generation and transformation as a conditional language modeling problem.
Methods
SpeechX builds upon the architecture of VALL-E, utilizing a Neural Codec Language Model. The core idea is to represent audio as a sequence of discrete "acoustic tokens" using a neural codec (specifically EnCodec).
The system consists of two main components:
- Autoregressive (AR) Model: Predicts the first layer of acoustic tokens based on a textual prompt and an acoustic prompt.
- Non-Autoregressive (NAR) Model: Generates the remaining seven layers of tokens to refine the audio quality.
The key innovation is Task-based Prompting. Instead of building different models for different tasks, the researchers introduced special tokens into the acoustic prompt to specify the desired operation. For example:
<ns>for noise suppression.<tse>for target speaker extraction.<soe>,<mask/>, and<eoe>for speech editing.
This unified approach allows the model to handle diverse inputs and outputs within a consistent Transformer-based framework.
Datasets
- Training: The model was trained on 60,000 hours of speech data from LibriLight, containing roughly 7,000 speakers. Since LibriLight lacks transcripts, the authors used a pseudo-labeling approach with an off-the-shelf Kaldi model to generate phoneme sequences.
- Evaluation: Tests were conducted using the test-clean split of LibriSpeech.
- Noise/Interference Simulation: To train for transformation tasks, the authors mixed clean speech with noise from the MUSAN dataset and the DNS challenge corpus, as well as interfering speakers to simulate multi-talker environments.
Key Insights and Ideas
- Text-Guided Enhancement: One of the most significant findings is that providing a text transcript (even an optional one) drastically improves the intelligibility (Word Error Rate) of noise suppression and speaker extraction. The model uses the text as a "prior" to reconstruct clear speech from corrupted signals.
- Noisy Speech Editing: Unlike previous models that require clean input, SpeechX can perform "noisy speech editing." It can change what a person said in a recording while keeping the original background noise intact.
- Multi-task Synergy: The researchers found that training on multiple tasks simultaneously actually improved the model's performance on individual tasks like zero-shot TTS. Exposing the model to diverse data distributions (noisy vs. clean, generation vs. transformation) makes the underlying representations more robust.
- Simplified Inference: Unlike VALL-E, SpeechX's AR model is conditioned explicitly on the audio prompt, meaning it doesn't require a transcript of the enrollment audio to perform zero-shot TTS, simplifying the user workflow.
Key Results
SpeechX demonstrated comparable or superior performance to specialized "expert" models across all tested categories:
- Zero-shot TTS: Achieved a Word Error Rate (WER) of 4.66, outperforming the baseline VALL-E (5.90).
- Noise Suppression: In text-guided scenarios, SpeechX achieved a WER of 2.48, significantly better than the expert DCCRN model (6.39).
- Speech Editing: SpeechX showed a massive leap over the $A^3T$ baseline, particularly in maintaining speaker similarity and reducing WER in both clean and noisy environments.
Limitations and Future Work
- Codec Bottleneck: The authors noted that the model's performance is inherently limited by the EnCodec model. While EnCodec is efficient, it introduces slight artifacts that lower signal-quality metrics like PESQ and DNSMOS compared to regression models that operate on raw waveforms.
- AR Stability: Like many autoregressive models, SpeechX can occasionally suffer from instability during long generations. The authors suggest that incorporating explicit duration control could help.
- Future Directions: The team aims to explore improved neural codecs, more advanced conditioning for prosody and style, and expanding the range of supported tasks even further.
Summary updated