Abstract
Neural speech generation faces a persistent trade-off between the high-fidelity reconstruction of continuous vector models and the linguistic modeling efficiency of discrete token models. This paper introduces Vec-Tok Speech, a hybrid framework that decouples speech into continuous "speech vectors" for acoustic detail and discrete "semantic tokens" for linguistic content. By integrating Byte-Pair Encoding (BPE) and a novel Inverse K-means module, Vec-Tok Speech achieves superior performance in zero-shot voice conversion (VC), text-to-speech (TTS), and speech-to-speech translation (S2ST).
Introduction
The success of Large Language Models (LLMs) in text and image domains has spurred significant interest in applying similar architectures to high-fidelity speech generation. However, speech presents unique challenges. Discrete token models, while compatible with the sequential reasoning of LMs, often suffer from a loss of fine-grained acoustic details like timbre and prosody, resulting in robotic or muffled output. Conversely, continuous vector models retain high detail but impose significant computational pressure on acoustic models, often failing to capture long-range linguistic dependencies.
Vec-Tok Speech addresses these issues by proposing a dual-representation codec that separates "what" is said from "how" it is said, enabling precise control over speaker identity and expressive style in zero-shot scenarios.
The Vec-Tok Architecture
The core of the framework is the Vec-Tok Codec, which bridges the gap between continuous and discrete representations through a multi-stage process.
Speech Vectorization and Tokenization
The model utilizes the 6th layer of a pre-trained WavLM model to extract continuous speech vectors. This specific layer was identified as a "sweet spot" that balances acoustic detail with linguistic structure. To generate tokens suitable for an LM, these vectors undergo utterance-level mean normalization—effectively stripping away speaker-specific timbre—followed by K-means clustering to produce "semantic tokens."
Efficiency via Byte-Pair Encoding (BPE)
To manage the high sequence length typical of audio (often 50 tokens/second), the authors apply Byte-Pair Encoding (BPE) to the semantic tokens. This compression reduces the sequence length to approximately 16 tokens/second, alleviating exposure bias and allowing the autoregressive LM (based on the LLaMA architecture) to model significantly longer contexts.
The Inverse K-means Module
A critical innovation in Vec-Tok Speech is the Inverse K-means module. Unlike traditional lookup tables, this Conformer-based module reconstructs detailed acoustic vectors by combining semantic tokens with a speaker prompt (a short segment of vectors from a target speaker). This allows the model to re-inject the speaker's unique "DNA" into the linguistically-rich semantic stream during the decoding process.
Experimental Setup
The model was trained on a massive 50,000-hour multi-domain corpus, including WenetSpeech, GigaSpeech, and expressive audiobook data (XBook). This diverse dataset ensures the model can handle various speaking styles and languages (primarily English and Chinese). Evaluation was conducted on standard benchmarks like VCTK and GigaST.
Performance Evaluation
Vec-Tok Speech was compared against state-of-the-art (SOTA) baselines, including VALL-E X, Bark, and LM-VC.
As shown in the table above, Vec-Tok Speech demonstrates significant improvements:
- Naturalness and Similarity: The model achieved a Speaker Similarity MOS of 3.93, outperforming LM-VC (3.74). The high Speaker Cosine Similarity (SCS) of 0.927 further validates its ability to capture target timbres accurately.
- Intelligibility: The framework maintained low Character Error Rates (CER) and Word Error Rates (WER), indicating high linguistic fidelity even in complex zero-shot tasks.
- Ablation Study: The "w/o Inv_k" row highlights the importance of the Inverse K-means module; without it, speaker similarity drops significantly (from 3.93 to 3.67), confirming its role in effective speaker identity injection.
Conclusion
Vec-Tok Speech represents a significant step forward in neural speech generation by successfully decoupling content from identity. The combination of BPE-compressed semantic tokens and a prompt-driven Inverse K-means module allows for high-fidelity, expressive, and controllable speech synthesis. Future work will focus on scaling the training data further and optimizing the architecture for real-time inference on consumer hardware.
Summary updated