TL;DR
TokenSplit is a unified Transformer-based framework that treats speech separation as a sequence-to-sequence task using discrete audio and text tokens. By operating in a generative latent space, it not only separates overlapping voices with significantly fewer artifacts than traditional models but can also simultaneously transcribe the speech (ASR) or generate it from text (TTS).
What Problem Does This Paper Address?
Traditional speech separation models—which typically predict a mask in the time or frequency domain—often struggle with "musical noise" and other distortions. These artifacts can degrade the perceptual quality for human listeners and confuse downstream tasks like Automatic Speech Recognition (ASR).
Furthermore, most existing systems are specialized: you have one model for separation, another for transcription, and a third for synthesis. The authors of TokenSplit aim to bridge this gap by creating a multi-task model that leverages the recent success of discrete audio representations (like those used in AudioLM) to perform separation, recognition, and synthesis in a single, unified architecture.
Methods
The core innovation of TokenSplit is representing audio as a sequence of discrete tokens, similar to how text is handled in Large Language Models (LLMs).
1. Tokenization
The model uses three types of tokens:
- Acoustic Tokens: Extracted using SoundStream, a neural audio codec. These capture the fine-grained details needed to reconstruct high-quality audio.
- Semantic Tokens: Extracted from w2v-BERT. these capture high-level phonetic and linguistic information, helping the model stay "on track" with what is being said.
- Transcript Tokens: Standard character-level representations of the speech text.
2. Architecture & Training
The model uses a T5 Transformer encoder-decoder architecture. During training, the model is fed a mixture of tokens (acoustic and semantic) and source transcripts. By randomly masking different parts of the input (e.g., masking the transcripts to force the model to perform ASR, or masking the audio to perform TTS), the model learns to perform multiple tasks simultaneously.
3. TokenSplitRefine
The authors also introduce a "Refine" variant. Instead of separating a raw mixture, this version takes the output of a conventional separation model (like TDCN++) and "refines" it. It uses the generative power of the Transformer to re-synthesize the audio tokens, effectively cleaning up the artifacts left behind by the traditional model.
Datasets
- Training: The models were trained on a massive synthetic dataset of 10 million 3-second clips created from Libri-Light (approx. 60,000 hours of read English speech).
- Evaluation: Performance was benchmarked on the standard Libri2Mix dataset, which contains mixtures of two speakers.
Key Insights and Ideas
- Generative vs. Discriminative: Unlike traditional models that "filter" the mixture, TokenSplit is generative. It "imagines" what the clean speech should sound like based on the mixture's tokens. This leads to much cleaner, artifact-free audio.
- The Power of Text Anchors: Providing the model with a transcript of the target speaker (transcript-conditioned separation) drastically improves performance. The text acts as a powerful prior, telling the model exactly what content to look for in the noisy mixture.
- Hybrid Approach Wins: The best results were achieved by the TokenSplitRefine model. This suggests a powerful paradigm: use a traditional signal-processing-heavy model to do the "heavy lifting" of initial separation, then use a generative Transformer to polish the result into high-fidelity speech.
Key Results
The authors used both objective metrics and subjective human listening tests (MUSHRA) to evaluate their work.
- Subjective Quality: In MUSHRA tests, TokenSplitRefine was the clear winner, significantly outperforming the baseline TDCN++ model in terms of perceived quality and lack of interference.
- Perceptual Metrics: While traditional metrics like SI-SNRi (which require exact waveform alignment) were lower for these generative models, perceptual metrics like DNSMOS and ViSQOL showed superior performance.
- ASR Performance: The model achieved a Word Error Rate (WER) of 12.1% on 3s clips when conditioned on the target transcript, demonstrating its ability to leverage text information effectively.
Limitations and Future Work
- Sequence Length: Due to the memory constraints of Transformers, the model was primarily trained and tested on 3-second blocks. While they implemented a "partial overlap decoding" strategy for longer files, they noted that sampling errors can accumulate over time.
- ASR Accuracy: While the model can transcribe, its internal ASR performance isn't yet at the level of state-of-the-art dedicated ASR models. The authors plan to improve this by increasing training data and optimizing transcript encodings.
- Alignment: Because the model generates audio tokens, the resulting waveform may not perfectly align sample-by-sample with the original source, even if it sounds identical. This makes it unsuitable for applications requiring phase-perfect reconstruction.
Summary updated