NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TaDiCodec: Text-aware Diffusion Speech Tokenizer for Speech Language Modeling

Yuancheng Wang, Dekun Chen, Xueyao Zhang, Junan Zhang, Jiaqi Li, Zhizheng Wu

Introduction

To integrate speech into Large Language Models (LLMs), continuous audio signals must first be converted into discrete tokens. However, existing speech tokenizers often struggle with a "trilemma" of competing priorities: complexity, external dependencies, and the generation gap. Many current codecs rely on multi-layer Residual Vector Quantization (RVQ) or high frame rates (exceeding 50 tokens per second), which increase the computational burden on LLMs. Furthermore, many systems require "semantic distillation" from auxiliary models like HuBERT or WavLM to capture linguistic meaning. Finally, there is often a significant performance drop when moving from simple audio reconstruction to actual speech generation.

TaDiCodec addresses these challenges by introducing a novel speech tokenizer that achieves extreme audio compression (0.0875 kbps) through a text-aware diffusion autoencoder. By integrating text transcripts directly into the decoding process, TaDiCodec eliminates the need for complex multi-stage training while narrowing the gap between reconstruction and generation.

Methodology

The core of TaDiCodec is a Diffusion Transformer (DiT) Autoencoder optimized in a single, end-to-end stage. The architecture incorporates several key technical innovations:

Text-Aware De-Tokenization

Unlike standard codecs that rely solely on audio features, TaDiCodec’s decoder is conditioned on the corresponding text transcript. This allows the model to use the text as a strong prior, "filling in" phonetic and linguistic details that might be lost at ultra-low bitrates. This design choice effectively treats text as a high-bandwidth side channel that is already available in most speech generation tasks.

Binary Spherical Quantization (BSQ)

Instead of a standard learnable codebook, TaDiCodec utilizes Binary Spherical Quantization. This method projects latent vectors onto a unit sphere and quantizes them based on their sign. Because BSQ is mathematically bounded, it removes the need for the "commitment loss" typically required to maintain codebook stability in traditional Vector Quantization (VQ) schemes.

Flow Matching and Prompt Guidance

The model employs a flow-matching framework—a stable and efficient relative of standard diffusion—to map discrete tokens back to high-fidelity mel-spectrograms. During training, the model is also provided with a short audio "prompt" (a prefix of the original audio). This helps the model maintain speaker identity and acoustic consistency, mirroring the requirements of zero-shot Text-to-Speech (TTS) applications.

Experimental Setup

TaDiCodec was trained on the Emilia dataset, a massive multilingual collection containing over 101,000 hours of "in-the-wild" speech across six languages: English, Chinese, German, French, Japanese, and Korean.

For evaluation, the authors utilized the SeedTTS benchmarks (test-en and test-zh) and several challenging scenarios, including articulatory speech (tongue twisters), code-switching (mixed languages), and cross-lingual synthesis.

Key Results and Insights

Extreme Efficiency

TaDiCodec operates at a frame rate of just 6.25 Hz and a bitrate of 0.0875 kbps. To put this in perspective, many popular codecs operate at 25–50 Hz with bitrates ten times higher. This efficiency is made possible by the realization that the model does not need to encode phonetic information that the text transcript already provides.

Superior Intelligibility and Generation

In zero-shot TTS tasks, TaDiCodec achieved a Word Error Rate (WER) of 2.28 on English and 1.19 on Chinese. These results outperform state-of-the-art baselines such as CosyVoice and MaskGCT. Crucially, the authors demonstrated that TaDiCodec has a much smaller "reconstruction-generation gap" than competitors like Mimi, meaning its tokens are inherently easier for an LLM to learn and predict.

Inference Performance

Despite the iterative nature of diffusion, the model is highly optimized. Using the vLLM framework, a 4B parameter version of the model achieves a Real-Time Factor (RTF) of 0.13, allowing it to generate 10 seconds of audio in approximately 1.3 seconds.

Conclusion and Future Work

TaDiCodec demonstrates that a powerful diffusion-based decoder can achieve high-quality speech without the need for GAN-based adversarial losses or complex two-stage pipelines. While the current model requires text input—which may limit its use in pure audio-to-audio tasks—it represents a significant step forward for speech language modeling. Future research will focus on distilling the diffusion process into a single-step generator to further reduce latency and exploring unified architectures that can transcribe, tokenize, and reconstruct speech simultaneously.

Summary updated

BibTeX
@inproceedings{wang2025tadicodec,
  author = {Yuancheng Wang and Dekun Chen and Xueyao Zhang and Junan Zhang and Jiaqi Li and Zhizheng Wu},
  title = {{TaDiCodec: Text-aware Diffusion Speech Tokenizer for Speech Language Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=wHsFqmM1rp},
}
Figure