CleanCodec: Efficient and Robust Speech Tokenization via Perceptually Guided Encoding

Eugene Kwek, Feng Liu, Rui Zhang, Wenpeng YinarXiv 2026

TL;DR

CleanCodec reframes speech tokenization as a selective information bottleneck, learning to discard background noise and recording artifacts to focus purely on perceptually important audio features. Operating at an ultra-low rate of just 12.5 tokens per second, it achieves state-of-the-art tokenization efficiency, delivering up to 17x faster inference in downstream text-to-speech tasks while significantly improving speech intelligibility and speaker similarity.

What Problem Does This Paper Address?

The rise of Large Language Model (LLM)-based audio generation and Text-to-Speech (TTS) systems has created an urgent need for efficient discrete acoustic representations. However, a massive gap remains between text and audio tokenization. While text tokenizers represent language highly compactly, standard audio codecs require hundreds of tokens to represent just one second of audio. This high token rate results in massive sequence lengths, driving up computational costs and making it difficult for models to capture long-term dependencies.

The root cause is that existing acoustic codecs try to perfectly reconstruct everything in the raw audio signal. They waste their limited bitrate budget encoding perceptually irrelevant details like background noise, room reverberation, and microphone artifacts. CleanCodec addresses this by treating tokenization as a selective information bottleneck: it encodes only what matters to human perception (linguistic content and speaker timbre) and throws away the rest.

Methods

CleanCodec consists of a disentangled VQVAE-style autoencoder operating on log-mel spectrograms, paired with a Vocos vocoder to convert the reconstructed spectrograms back into raw audio waveforms.

The architecture and training pipeline introduce several novel components:

  • Local Encoder & FSQ: The input mel spectrogram is processed via 1D ConvNeXt blocks and downsampled to an ultra-low rate of 12.5 tokens/second. Quantization is handled by Finite Scalar Quantization (FSQ), a single-codebook, parameter-free alternative to traditional vector quantization that completely avoids codebook divergence.
  • Global Encoder & Speaker Conditioning: To capture speaker identity independently of the words spoken, a global encoder extracts a single global embedding for the entire utterance. Crucially, the authors condition this global encoder using a pretrained speaker verification model (TitaNet-large), forcing it to maximize cosine similarity with actual speaker characteristics.
  • Semantic-Acoustic Dual Decoder: The discrete audio tokens and global embedding are concatenated and sent to two separate decoding branches. The acoustic decoder reconstructs the clean mel spectrogram, while a semantic decoder is tasked with reconstructing self-supervised features from WavLM-large, ensuring the tokens retain rich linguistic information.
  • Speech Enhancement Training: During training, clean speech is artificially corrupted with a heavy degradation pipeline (reverberation, background noise, low-pass filters, resampling, and MP3 compression). The network is forced to reconstruct the original clean signal, teaching the encoder to ignore the noise entirely.
  • Two-Stage Training: To avoid adversarial training collapse, the autoencoder and vocoder are first trained independently without adversarial loss, followed by an end-to-end joint fine-tuning stage.
Figure 2: Architecture of CleanCodec, along with loss sources used during training.

Datasets

  • Training: A massive ~2,400-hour speech corpus combining LibriTTS-R (585 hours of restored read speech) and a 1,800-hour subset of the Emilia-YODAS dataset.
  • Evaluation (In-Domain): LibriTTS test-clean and test-other splits.
  • Evaluation (Out-of-Domain / OOD): To test robustness, the authors evaluated on Expresso (expressive speech), AISHELL-3 (multilingual Mandarin speech), and CML-TTS (in-the-wild speech).
  • Downstream Tasks: VoxCeleb-1 (Speaker Verification), VCTK (Voice Conversion), and Seed-TTS-eval (Text-to-Speech).

Key Insights and Ideas

  • Denoising as a Bitrate Optimizer: Instead of fighting to compress background noise, treating the codec as a speech enhancer naturally frees up the limited token budget for what actually matters: words and the speaker's voice.
  • Mel Spectrograms > Raw Waveforms: Operating on log-mel spectrograms safely reduces temporal resolution from 24 kHz to 62.5 Hz right at the input layer, aligning better with human auditory perception and avoiding the generalization issues that plague codecs relying purely on raw waveforms or self-supervised inputs.
  • Targeted Gradients via Speaker Verification: Using a dedicated speaker recognition model (TitaNet) to guide the global encoder provides a much stronger gradient signal for capturing speaker timbre than standard acoustic reconstruction losses alone.

Key Results

[email protected] sets a new state-of-the-art for low-token-rate speech coding, outperforming existing codecs even when they use substantially higher token rates.

  • Speech Intelligibility & Speaker Similarity: On LibriTTS test-clean, [email protected] achieves a Word Error Rate (WER) of 2.7 and a Speaker Similarity (SIM) score of 0.86. For comparison, competing 12.5 t/s models like Kanade (WER: 4.0, SIM: 0.65) and FocalCodec (WER: 8.3, SIM: 0.45) lag far behind.
  • Downstream TTS Efficiency: When evaluated on the Seed-TTS benchmark, CleanCodec enables 10x faster training and 17x faster inference compared to the Qwen3-TTS-Tokenizer, while simultaneously delivering a lower final WER.
Figure 1: Left: SIM vs. Token rate. Right: WER vs. Token rate. CleanCodec substantially improves over existing codecs with similar token rate.

Limitations and Future Work

  • Disentanglement Degradation at Higher Rates: While CleanCodec perfectly separates speaker identity (global) from linguistic content (local) at 12.5 tokens/second, the authors note that this clean disentanglement tends to degrade when scaling up to higher token rates (e.g., 31.25 or 62.5 t/s). Effectively maintaining this separation at higher bitrates remains an open problem.
  • Compute Budget Scaling: It remains unclear how downstream performance gains scale across massive compute budgets—specifically, whether the performance gap between different codecs shrinks if downstream models are trained for significantly longer periods.
  • Biometric Risks: The authors explicitly acknowledge that advancing highly efficient speech tokenization and high-fidelity voice conversion capabilities increases the potential risks associated with deepfake technologies.

Summary updated

BibTeX
@misc{kwek2026cleancodec,
  author = {Eugene Kwek and Feng Liu and Rui Zhang and Wenpeng Yin},
  title = {{CleanCodec: Efficient and Robust Speech Tokenization via Perceptually Guided Encoding}},
  year = {2026},
  eprint = {2606.04418},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.04418},
}
Figure