Knowledge-Based Linguistic Encoding for End-to-End Mandarin Text-to-Speech Synthesis

Jingbei Li, Zhiyong Wu, Runnan Li, Pengpeng Zhi, Song Yang, Helen Meng

Introduction

Mandarin Text-to-Speech (TTS) synthesis presents unique challenges compared to alphabetic languages. The absence of explicit word boundaries and the prevalence of polyphonic characters—where a single character's pronunciation depends heavily on its linguistic context—often lead to unnatural phrasing and incorrect pronunciation in standard end-to-end (E2E) models. While traditional TTS pipelines address these issues through separate linguistic analysis modules, they often suffer from "error compounding," where early-stage mistakes in word segmentation propagate through the system.

This paper introduces a "knowledge-based linguistic encoder" designed to mitigate these issues. By pre-training a text encoder on multiple NLP sub-tasks and transferring it to a TTS model, the researchers achieved a massive reduction in errors and a significant boost in speech naturalness.

Methodology: A Two-Stage Framework

The authors propose a framework that combines the benefits of multi-task learning (MTL) and transfer learning to bridge the gap between raw text and acoustic features.

1. Multi-Task Linguistic Pre-training

Instead of training the encoder only on speech, it is first trained on five distinct Natural Language Processing (NLP) tasks simultaneously to generate "knowledge-rich" embeddings:

  • Grapheme-to-Phoneme (G2P): Converting characters to phonemes.
  • Word Tokenization: Predicting BMES (Begin, Middle, End, Single) tags to define word boundaries.
  • Part-of-Speech (POS) Tagging: Identifying grammatical categories.
  • Word Embedding: Predicting Word2Vec vectors to capture semantic meaning.
  • Stop Token Prediction: Identifying the end of a sentence.

2. Transfer Learning for TTS

Once the encoder is "smart" enough to understand Mandarin syntax, its weights are frozen and transferred into a full TTS system. This system uses a Tacotron 2-style decoder with a location-sensitive attention mechanism to convert those rich embeddings into mel-spectrograms, which are then synthesized into waveforms using the Griffin-Lim algorithm.

Figure 4: The proposed two-stage architecture, showing (a) the character-based TTS system and (b) the multi-task linguistic pre-training setup.

Key Results and Insights

The proposed system outperformed the state-of-the-art baseline across every metric. Notably, the word tokenization error dropped from 12.81% to 1.58% (a nearly 8x improvement), and syllable pronunciation errors were reduced from 10.89% to 2.81%. Human listeners rated the naturalness of the speech (MOS) at 3.87, compared to 3.76 for the baseline.

Visualizing the output spectrograms reveals how the linguistic knowledge translates to better speech. As shown in the comparison below, the proposed model correctly handles pauses and specific character pronunciations that the baseline model misses.

Figure 5: Spectrogram comparison between the baseline and proposed models, highlighting improvements in expected pauses and pronunciation.

Conclusion

The core insight of this work is that an E2E model shouldn't have to "discover" the rules of Chinese grammar from scratch using only audio data. By forcing the encoder to learn these rules through MTL, the model develops a much more robust internal representation. While the results are impressive, future work will look toward replacing the Griffin-Lim vocoder with modern neural vocoders and exploring Transformer-based architectures to further improve long-range dependencies and prosody.

Summary updated

BibTeX
@inproceedings{li2019knowledge,
  author = {Jingbei Li and Zhiyong Wu and Runnan Li and Pengpeng Zhi and Song Yang and Helen Meng},
  title = {{Knowledge-Based Linguistic Encoding for End-to-End Mandarin Text-to-Speech Synthesis}},
  booktitle = {Interspeech},
  year = {2019},
  doi = {10.21437/interspeech.2019-1118},
}
Figure