TokenSplit: Using Discrete Speech Representations for Direct, Refined, and Transcript-Conditioned Speech Separation and Recognition

Hakan Erdogan, Scott Wisdom, Xuankai Chang, Zalán Borsos, Marco Tagliasacchi, Neil Zeghidour, John R. Hershey

Abstract

Speech separation in complex acoustic environments remains a significant challenge, with traditional models often introducing audible artifacts. We present TokenSplit, a Transformer-based model that treats speech separation as a sequence-to-sequence task using discrete semantic, acoustic, and textual tokens. By leveraging a refinement strategy and transcript conditioning, TokenSplit significantly improves subjective audio quality and separation accuracy. Our results on the Libri2Mix benchmark demonstrate that TokenSplitRefine outperforms traditional baselines in human listening tests, offering a robust solution for high-quality speech isolation and recognition.

Introduction

The "cocktail party problem"—isolating a single voice from a mixture of overlapping speakers—remains a fundamental challenge in speech processing. Traditional discriminative models, which operate by masking spectrograms or waveforms, often achieve high signal-to-noise ratios but introduce audible artifacts and "musical noise." Conversely, generative models produce cleaner audio but frequently struggle with speaker identity and phonetic accuracy.

TokenSplit addresses these issues by treating speech separation as a sequence-to-sequence problem using discrete audio tokens. By unifying semantic, acoustic, and textual representations, the model bridges the gap between signal isolation and high-quality audio synthesis.

Methodology

The core of TokenSplit is a Transformer-based encoder-decoder architecture that processes discrete representations of speech. The model utilizes three distinct token types:

  1. Semantic Tokens: Derived from w2v-BERT, capturing phonetic and linguistic content.
  2. Acoustic Tokens: Generated by SoundStream, a neural codec that maps audio to discrete codes.
  3. Text Tokens: Character-level transcripts of the speech.
Architecture comparison of TokenSplit and TokenSplitRefine

The model is trained using a flexible masking strategy, allowing it to perform multiple tasks such as unconditional separation, transcript-conditioned separation, and text-to-speech (TTS). A key variant, TokenSplitRefine, uses the output of a traditional separation model (e.g., TDCN++) as an additional input. It effectively "re-synthesizes" the separated audio, removing artifacts while preserving the isolated source.

Experimental Setup

The model was trained on 10 million 3-second synthetic mixtures derived from the Libri-Light dataset, totaling approximately 60,000 hours of English speech. Evaluation was conducted on the Libri2Mix benchmark, a standard for two-speaker speech separation.

Results and Discussion

Subjective evaluation via MUSHRA listening tests revealed that TokenSplitRefine significantly outperforms traditional baselines like TDCN++. While traditional metrics like SI-SNRi—which require exact waveform alignment—often penalize generative models, perceptual metrics such as DNSMOS and ViSQOL showed marked improvements in human-perceived quality.

MUSHRA scores for Libri2Mix test sets

A major finding was the impact of transcript conditioning. Providing the model with the target speaker's transcript reduced the Word Error Rate (WER) on 3-second clips from 26% to 12%. This demonstrates that textual hints can drastically improve the accuracy of the separation process by guiding the generative decoder.

Conclusion and Future Work

TokenSplit demonstrates the power of discrete representations in speech separation. By combining the strengths of signal processing and generative modeling, the "Refine" approach produces high-quality, artifact-free audio. Future work will focus on improving internal ASR performance, extending the model to handle longer sequences more efficiently, and reducing the computational cost associated with autoregressive sampling.

Summary updated

BibTeX
@inproceedings{erdogan2023tokensplit,
  author = {Hakan Erdogan and Scott Wisdom and Xuankai Chang and Zalán Borsos and Marco Tagliasacchi and Neil Zeghidour and John R. Hershey},
  title = {{TokenSplit: Using Discrete Speech Representations for Direct, Refined, and Transcript-Conditioned Speech Separation and Recognition}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-2069},
}
Figure