MSStyleTTS: Multi-Scale Style Modeling With Hierarchical Context Information for Expressive Speech Synthesis

Shun Lei, Yixuan Zhou, Liyang Chen, Zhiyong Wu, Xixin Wu, Shiyin Kang, Helen Meng

TL;DR

MSStyleTTS is a novel text-to-speech (TTS) framework that significantly boosts the expressiveness and coherence of synthetic speech by modeling style at three distinct scales: global, sentence, and subword levels. By leveraging a hierarchical context encoder that "looks ahead and behind" at neighboring sentences, the model captures the prosodic flow of long-form text (like audiobooks) far better than traditional single-sentence models.

What Problem Does This Paper Address?

Most modern TTS systems suffer from "sentence-level myopia." They generate speech based solely on the current sentence, ignoring the broader context. This leads to two major issues:

  1. Lack of Coherence: In an audiobook, the way a sentence is read depends heavily on the sentences preceding and following it. Without this context, transitions sound jarring or "robotic."
  2. Mono-scale Style Modeling: Human speech style is hierarchical. There is a "global" style (overall emotion or timbre), a "sentence" style (intonation patterns), and a "subword" style (stress and emphasis on specific characters). Most models try to squash all of this into a single embedding, losing the fine-grained nuances that make speech sound natural.

Methods

The authors propose MSStyleTTS, built on top of the popular FastSpeech 2 architecture. The system introduces two primary components:

  • Multi-Scale Style Extractor: During training, this module "sees" the ground-truth audio. It extracts style embeddings at three levels: global (from a window of 5 sentences), sentence, and subword. Crucially, it uses a residual strategy: the sentence-level style only encodes what the global level missed, and the subword level only encodes what the sentence level missed. This prevents redundant information across scales.
  • Multi-Scale Style Predictor: During inference (when no audio is available), this module predicts those same multi-scale styles using only text. It uses a pre-trained BERT model to get semantic meanings and a Hierarchical Context Encoder to model the structural relationships between subwords and sentences.
  • Knowledge Distillation: To bridge the gap between "seeing the audio" (training) and "only seeing the text" (inference), the model uses the Extractor as a teacher to guide the Predictor.
  • Autoregressive (AR) Predictor: An optional variant that predicts the style of the current sentence based on the styles of previous sentences, further ensuring a smooth narrative flow.

Datasets

The researchers used an internal single-speaker Chinese audiobook corpus.

  • Size: ~30 hours of high-quality recordings (87 chapters of a fiction novel).
  • Diversity: The corpus is highly expressive, with significant fluctuations in pitch, energy, and speed.
  • Evaluation: They tested on both "in-domain" data (from the same book) and "out-of-domain" data (30 sentences from different audiobooks) to test the model's ability to generalize.

Key Insights and Ideas

  • The Power of Five: The authors found that a context window of five sentences (two past, one current, two future) is the "Goldilocks" zone. Too little context results in dry speech; too much context (e.g., 9 sentences) actually degrades performance because the model struggles to filter out irrelevant distant information.
  • Residuals are Key: By representing styles as residuals (differences between levels), the model effectively disentangles coarse-grained emotions from fine-grained prosody. This makes the prediction task much easier for the neural network.
  • Top-Down Prediction: The model predicts style in a top-down manner—predicting the global mood first, then using that to inform the sentence intonation, which in turn informs subword stress. This mimics how humans naturally plan their speech.

Key Results

The model was evaluated using Mean Opinion Scores (MOS), where human listeners rate speech from 1 to 5.

  • Naturalness (S-MOS): MSStyleTTS achieved a score of 4.058, significantly outperforming the FastSpeech 2 baseline (3.573) and other state-of-the-art style models like WSV* (3.681) and HCE (3.785).
  • Paragraph Coherence (M-MOS): The autoregressive version (MSStyleTTS-AR) reached 3.867, proving it maintains better flow across long passages than non-AR versions.
  • Objective Metrics: The model showed the lowest Mel-Cepstrum Distortion (MCD) and the most accurate F0 (pitch) and energy contours compared to ground-truth recordings.

Limitations and Future Work

While MSStyleTTS makes great strides, the authors acknowledge a few hurdles:

  • The Teacher-Student Gap: There is still a measurable gap between the quality of speech generated using extracted styles (from audio) versus predicted styles (from text).
  • Unsupervised Learning: Currently, the model relies on a specific training pipeline. The authors suggest that exploring self-supervised learning to establish better connections between emotion and coarse-grained style could be a fruitful next step.
  • Language Expansion: The current study focuses on Mandarin Chinese; applying this hierarchical approach to other languages with different prosodic structures (like English or tonal vs. non-tonal languages) remains to be explored.

Summary updated

BibTeX
@article{lei2023msstyletts,
  author = {Shun Lei and Yixuan Zhou and Liyang Chen and Zhiyong Wu and Xixin Wu and Shiyin Kang and Helen Meng},
  title = {{MSStyleTTS: Multi-Scale Style Modeling With Hierarchical Context Information for Expressive Speech Synthesis}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2023},
  url = {https://openreview.net/forum?id=HzBVk1DHme},
}
Figure