Contextual Expressive Text-to-Speech

Jianhong Tu, Zeyu Cui, Xiaohuan Zhou, Siqi Zheng, Kai Hu, Ju Fan, Chang ZhouarXiv 2022 · DOI

Introduction

Traditional expressive Text-to-Speech (TTS) systems often rely on explicit emotion labels (e.g., "happy", "sad") or reference audio clips to control the prosody and style of synthesized speech. However, these methods have significant drawbacks: labels are often too coarse to capture nuanced human expression, and finding suitable reference audio for every context is impractical.

Researchers from Alibaba and Renmin University propose a shift toward Contextual Expressive Text-to-Speech (CTTS). In this paradigm, speech synthesis is guided by textual descriptions of a scene—the "context"—rather than rigid labels. By understanding the situation described (e.g., "John hits Alice"), the model can automatically infer the appropriate tone (e.g., angry) for the spoken content.

Methodology

The CTTS framework utilizes an encoder-decoder architecture designed to integrate both the scene description (context) and the target words (content).

The CTTS architecture integrates context and content embeddings into an encoder-decoder framework to produce expressive speech.

The system consists of several key components:

  • Context-controlled Encoder: A multi-layer Transformer that processes concatenated embeddings of the context and phonemized content, capturing the semantic relationship between the scenario and the speech.
  • Attention-based Decoder: A Transformer-based component that generates mel-spectrograms frame-by-frame, replacing the RNNs used in older architectures like Tacotron2.
  • Vocoder: A pre-trained HiFi-GAN converts the predicted mel-spectrograms into high-quality audio waveforms.

The training process involves three stages: initial pre-training on standard TTS data (LJSpeech), context initialization using pre-trained multimodal embeddings (OFA) to enhance semantic understanding, and final fine-tuning on a specialized CTTS dataset.

Dataset Construction

To facilitate this new task, the authors created a synthetic CTTS dataset. They merged the Emotional Voices Database (EmoV-DB) with the Yelp Review Dataset by using emotional labels as a join key. For instance, an "amused" speech sample from EmoV-DB was paired with an "amused" text snippet from Yelp, which serves as the context for the synthesis.

Key Results

The model was evaluated using Mean Opinion Score (MOS) for emotional similarity and Word Error Rate (WER) for intelligibility.

Comparison of Mean Opinion Scores (MOS) for different model variants across "Amused" and "Angry" emotions.

As shown in the results, M-CTTS achieved competitive MOS scores (3.70 for Amused, 3.88 for Angry). While slightly lower than the M-LTTS model (which uses ground-truth emotion labels), M-CTTS demonstrates that textual context is a viable and flexible control signal. Notably, removing pre-trained text embeddings (M-CTTS-NT) led to a significant drop in performance and a rise in WER (from 0.1342 to 0.2186), underscoring the importance of semantic understanding in expressive synthesis.

Conclusion and Future Work

The CTTS approach demonstrates that semantic-to-acoustic mapping is possible when leveraging strong language models. This allows for more generic and powerful control in applications like automated audiobooks. Future work aims to expand the dataset diversity beyond synthetic reviews and explore multimodal contexts, such as using video or images to inform the synthesized voice's atmosphere.

Summary updated

BibTeX
@misc{tu2022contextual,
  author = {Jianhong Tu and Zeyu Cui and Xiaohuan Zhou and Siqi Zheng and Kai Hu and Ju Fan and Chang Zhou},
  title = {{Contextual Expressive Text-to-Speech}},
  year = {2022},
  eprint = {2211.14548},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.14548},
}
Figure