A Study of Modeling Rising Intonation in Cantonese Neural Speech Synthesis

Qibing Bai, Tom Ko, Yu Zhang · DOI

Introduction

Neural Text-to-Speech (TTS) systems have achieved remarkable naturalness in recent years, yet they often struggle with "semantic amnesia." When a sentence is reduced to its constituent phonemes, the underlying communicative intent can be lost. This is particularly problematic in Cantonese, where declarative questions—sentences that are syntactically identical to statements but distinguished solely by a rising intonation—are common. Without explicit prosodic modeling, standard TTS systems often produce these questions with a flat, statement-like cadence, leading to listener confusion.

This paper explores a solution to this "flatness" problem by integrating BERT-powered semantic awareness into the TTS pipeline. By leveraging the contextual embeddings of large-scale language models, researchers from the Southern University of Science and Technology and ByteDance AI Lab have demonstrated a method to restore the missing prosodic cues necessary for accurate Cantonese speech synthesis.

The Challenge of Declarative Questions

Traditional neural TTS architectures, such as Tacotron2, typically convert text into phonemes (g2p) before generating acoustic features. This process frequently discards punctuation and subtle syntactic nuances. In Cantonese, the distinction between a statement ("He is going to school.") and a declarative question ("He is going to school?") relies entirely on the fundamental frequency (F0) contour at the end of the utterance.

The authors identify two primary obstacles to modeling this behavior:

  1. Data Scarcity: In most speech corpora, questions represent a small fraction of the total data compared to declarative statements.
  2. Information Loss: The conversion to phonemes strips away the semantic "tags" that signal the model to apply a rising pitch.

Methodology

The proposed system utilizes a Tacotron2 backbone paired with a Multi-band MelGAN vocoder. To address the prosody gap, the researchers introduced a BERT-based sentence encoder and evaluated three distinct integration strategies:

  • Implicit Joint (ImpJoint): A BERT encoder is trained end-to-end alongside the TTS model. The system attempts to learn prosodic patterns implicitly from the text without explicit labels for sentence types.
  • Explicit Joint (ExpJoint): The model is provided with explicit labels (Statement, Normal Question, Declarative Question). A Cross-Entropy loss function is used during training to force the BERT encoder to categorize these sentence types while simultaneously optimizing the TTS output.
  • Explicit Separate (ExpSep): In this modular approach, the classifier and the TTS model are trained independently. The TTS model utilizes an embedding table to look up the appropriate prosody "style" based on the classifier's prediction. This method allows the classifier to be pre-trained on significantly larger text-only datasets, enhancing its robustness.

Experimental Setup

The study utilized the CanTTS corpus, a single-speaker Cantonese dataset consisting of approximately 20 hours of speech (12,010 utterances). The dataset composition included roughly 10,000 statements, 1,000 normal questions (containing question particles), and 1,000 declarative questions. Evaluation was conducted on a balanced set of 548 utterances.

Results and Discussion

The integration of BERT-based semantic features yielded significant improvements across both objective and subjective metrics, particularly for declarative questions.

Objective and Subjective Quality

In terms of F0 Frame Error, the baseline Tacotron2 model exhibited an error rate of 32.76% on declarative questions. The ExpJoint model reduced this error to 18.1%. Subjective Mean Opinion Scores (MOS) mirrored this improvement; while Tacotron2 scored a 2.88 for declarative questions, the proposed models consistently scored above 4.20.

Perception Accuracy

The most dramatic result was found in perception accuracy—the ability of listeners to correctly identify whether an audio clip was a statement or a question. The baseline Tacotron2 model achieved a dismal 21.83% accuracy for declarative questions, meaning listeners almost always perceived the questions as statements. In contrast, the ExpSep model reached an accuracy of 98.41%, effectively solving the ambiguity problem.

Conclusion

This research demonstrates that BERT-based semantic encoders can effectively bridge the gap between text and prosody in Cantonese TTS. By explicitly modeling sentence types, the system can accurately reproduce the rising intonation required for declarative questions, even when such patterns are underrepresented in the training data.

Future work will focus on extending these findings to multi-speaker environments and exploring more fine-grained prosodic modeling to capture a broader range of emotions and contextual nuances beyond simple sentence classification.

Summary updated

BibTeX
@inproceedings{bai2022study,
  author = {Qibing Bai and Tom Ko and Yu Zhang},
  title = {{A Study of Modeling Rising Intonation in Cantonese Neural Speech Synthesis}},
  booktitle = {Interspeech},
  year = {2022},
  url = {https://openreview.net/forum?id=gPKt1spTUO},
}
Figure