Abstract
In human speech, the attitude of a speaker cannot be fully expressed only by the textual content. It has to come along with the intonation. Declarative questions are commonly used in daily Cantonese conversations, and they are usually uttered with rising intonation. Vanilla neural text-to-speech (TTS) systems are not capable of synthesizing rising intonation for these sentences due to the loss of semantic information. Though it has become more common to complement the systems with extra language models, their performance in modeling rising intonation is not well studied. In this paper, we propose to complement the Cantonese TTS model with a BERT-based statement/question classifier. We design different training strategies and compare their performance. We conduct our experiments on a Cantonese corpus named CanTTS. Empirical results show that the separate training approach obtains the best generalization performance and feasibility.
Introduction
Standard neural text-to-speech (TTS) systems often fail to capture the prosodic nuances of "declarative questions"—sentences that are grammatically identical to statements but rely on rising intonation to convey a question. In Cantonese, the meaning of a sentence can change entirely based on intonation. For instance, a declarative question like "He goes to school?" is orthographically identical to the statement "He goes to school," except for the punctuation. In spoken form, the distinction is signaled by a distinct rising intonation at the end of the utterance.
Current neural TTS models struggle with this phenomenon for two primary reasons:
- Data Scarcity: Declarative questions typically constitute a very small fraction of speech corpora.
- Information Loss: Most TTS systems convert text into phonemes (grapheme-to-phoneme conversion) before processing. This often strips away punctuation and semantic context, leaving the model without the necessary cues to apply rising intonation.
Methodology
The proposed system utilizes a Tacotron2 backbone with a Multi-band MelGAN vocoder. To address the intonation challenge, a BERT-based sentence encoder is integrated to provide high-level semantic context. Three distinct training strategies were evaluated:
Implicit Joint Training (ImpJoint)
In this approach, the sentence encoder is trained alongside the TTS model without explicit labels. The model is expected to learn intonation patterns directly from the latent text embeddings.
Explicit Joint Training (ExpJoint)
The model is trained with explicit labels (Statement, Normal Question, Declarative Question) using a Cross-Entropy (CE) loss. This forces the BERT embeddings to be discriminative regarding sentence type.
Explicit Separate Training (ExpSep)
The classifier and the TTS model are trained independently. The TTS model utilizes a discrete "embedding table" to look up a specific vector based on the sentence type predicted by the pre-trained classifier. This approach allows the classifier to be trained on large-scale text-only data.
Experimental Setup
The study utilized CanTTS, a single-speaker Cantonese corpus consisting of 12,010 utterances (approximately 20 hours). The dataset includes ~10,000 statements, ~1,000 normal questions, and ~1,000 declarative questions recorded by a female speaker. Notably, all declarative questions in this corpus feature rising intonation, while statements and normal questions (which use question particles) do not.
Results and Discussion
The BERT-augmented models significantly outperformed the vanilla Tacotron2 baseline, particularly on declarative questions.
Subjective and Objective Evaluation
- Naturalness (MOS): On a 1-5 scale, Tacotron2 scored 2.88 on declarative questions. The ExpSep(GT/FT) model achieved a score of 4.46, nearly matching human performance.
- Perception Accuracy: Listeners correctly identified declarative questions synthesized by the baseline only 21.83% of the time. In contrast, the ExpSep model reached 98.41% accuracy.
- Pitch Accuracy: The F0 Frame Error (FFE) was significantly lower in all BERT-augmented models, indicating a closer match to the target pitch contours.
Key Insights
- BERT as a Prosody Guide: Even without explicit labels (ImpJoint), the BERT-based encoder improved intonation, suggesting it captures latent semantic intent.
- Stability of Discrete Embeddings: Using a discrete embedding table (ExpSep) provided more stable and consistent intonation patterns compared to continuous high-dimensional embeddings.
- Importance of Punctuation: While often ignored in phoneme conversion, the BERT model relies on punctuation to correctly classify intent and trigger the appropriate acoustic realization.
Conclusion
This study demonstrates that explicitly modeling sentence types using a BERT-based classifier significantly improves the synthesis of rising intonation in Cantonese. The separate training approach (ExpSep) proved most effective and scalable. Future work will explore the transferability of these models to multi-speaker datasets and more nuanced prosodic categories such as irony and emphasis.
Summary updated