VoxInstruct: Expressive Human Instruction-to-Speech Generation with Unified Multilingual Codec Language Modelling

Yixuan Zhou, Xiaoyu Qin, Zeyu Jin, Shuoyi Zhou, Shun Lei, Songtao Zhou, Zhiyong Wu, Jia Jia · DOI

TL;DR

VoxInstruct introduces a unified framework for expressive speech generation directly from natural language instructions, moving beyond separate content and style prompts. This novel approach leverages multilingual codec language modeling and speech semantic tokens to achieve more natural and controllable speech synthesis, even combining text instructions with speech prompts for advanced voice cloning and style modification.

What Problem Does This Paper Address?

Current text-to-speech (TTS) systems, especially those aiming for expressive speech, often struggle with how users provide instructions. Existing methods typically require users to separate the spoken content (transcript) from the desired style or speaker characteristics (description prompt). This is unnatural, unlike how we interact with other AI generation models (e.g., text-to-image), and limits fine-grained control over speech. For instance, a separate style prompt might not fully capture how it should interact with the specific content. Furthermore, relying solely on speech prompts for voice cloning can be limiting, and there's a gap in systems that can effectively combine both text instructions and speech prompts for nuanced speech generation.

Methods

VoxInstruct tackles these issues by proposing a unified multilingual codec language modeling framework. The core idea is to treat natural language instructions, which can freely combine content and descriptive elements, as the primary input.

Key methodological contributions include:

  • Unified Instruction Input: Instead of separate transcript and style prompts, VoxInstruct accepts a single, natural language instruction that can describe content, speaker, emotion, and prosody all at once.
  • Speech Semantic Tokens (ST): To bridge the gap between raw text instructions and speech content, the model introduces "speech semantic tokens." These act as an intermediate representation, allowing the model to extract the core meaning for synthesis without needing a separate phoneme sequence.
  • LLaMA Architecture: The model leverages the powerful LLaMA architecture as its backbone, benefiting from its advanced transformer capabilities.
  • Multilingual Support: It uses a pre-trained MT5 text encoder to handle instructions in multiple languages.
  • Classifier-Free Guidance (CFG): Multiple CFG strategies are incorporated to strengthen the model's adherence to the provided human instructions, improving control and expressiveness.
  • Pre-training and Fine-tuning: A multi-stage training strategy is employed:
  • Pre-training: On large-scale transcript-only data for general TTS and zero-shot voice cloning.
  • Fine-tuning: On instruction-speech paired data to learn descriptive control.
  • Progressive Fine-tuning: On fine-grained instruction data for detailed control (e.g., word emphasis).
  • Speech Prompt Integration: The framework is designed to optionally incorporate speech prompts, enabling zero-shot voice cloning and style modification.

Datasets

The paper utilizes a combination of existing and implicitly described datasets:

  • Pre-training: Large-scale publicly available speech datasets like GigaSpeech (English) and WenetSpeech (Chinese) for transcript-only data.
  • Fine-tuning:
    • Instruction Data: Internal annotation system creating speech-instruction pairs, including spoken content, acoustic properties, speaker identity, emotion, and scenario. This includes data from sources like GigaSpeech-m, LibriTTS-R, TextrolSpeech, In-the-wild Corpus, AISHELL3, and Zhvoice.
  • Fine-grained Instruction Data: A subset focusing on word emphasis, using datasets like LibriTTS-stress and AISHELL3-stress.
  • Scenario-enriched Data: Collected from the internet (live commerce, news broadcasts, gaming commentary) to improve generalization.

Key Insights and Ideas

  • Unified Instruction is the Future: The paper strongly advocates for a unified instruction format, mirroring other AIGC modalities, as more natural and powerful for speech generation.
  • Semantic Tokens are Crucial for Content Extraction: Introducing speech semantic tokens as an intermediate step is key to enabling the model to understand and extract content from free-form instructions, bypassing traditional phoneme sequences.
  • CFG for Enhanced Control: Applying CFG strategies not only to instruction guidance but also to semantic token guidance significantly improves both speech attribute control and intelligibility.
  • Multi-stage Training for Robustness and Expressiveness: The pre-training, fine-tuning, and progressive fine-tuning approach is vital for achieving both broad generalization (voice cloning) and fine-grained control (expressiveness).
  • First-of-its-Kind Combined Input: The ability to simultaneously use and combine speech prompts with descriptive human instructions for expressive speech synthesis is highlighted as a novel contribution.

Key Results

  • Superior Instruction Following: VoxInstruct achieved the highest MOS-I (instruction adherence) scores (3.76 on English, 3.83 on Chinese) compared to baseline prompt-based TTS models.
  • High Speech Quality: It also secured the highest MOS-Q (speech quality) scores (4.22 on English, 4.01 on Chinese).
  • Improved Attribute Control: VoxInstruct demonstrated superior accuracy in controlling speech attributes like gender, age, pitch, energy, speed, and emotion.
  • Low Word Error Rate (WER): Achieved a WER of 2.5 on English test sets, indicating good intelligibility.
  • Competitive Voice Cloning: Performed comparably to state-of-the-art zero-shot TTS models like VALL-E and VALL-E X in both monolingual and cross-lingual voice cloning tasks, while offering better naturalness and quality.
  • Effective Stress Control: Showcased strong performance in controlling speech stress, with an Acc_sentence of 87.17% on fine-grained instructions.

Limitations and Future Work

  • Dataset Scale: While substantial, the paper notes that the scale of instruction-speech datasets is still relatively small compared to text-image data.
  • Fine-grained Instruction Scarcity: The scarcity of instructions annotated with very fine-grained attributes (like specific stress markings) necessitates progressive fine-tuning strategies.
  • Future Work: The paper suggests that the unified instruction-based approach has potential for expansion into a broader and general instruction-based audio generation framework. The ability to handle mixed-language instructions and produce code-switched speech directly is also a promising direction.

Summary updated

BibTeX
@inproceedings{zhou2024voxinstruct,
  author = {Yixuan Zhou and Xiaoyu Qin and Zeyu Jin and Shuoyi Zhou and Shun Lei and Songtao Zhou and Zhiyong Wu and Jia Jia},
  title = {{VoxInstruct: Expressive Human Instruction-to-Speech Generation with Unified Multilingual Codec Language Modelling}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3681680},
}
Figure