TL;DR
Standard text-to-speech (TTS) systems often sound "flat" when reading paragraphs because they process sentences in isolation. This paper introduces a method to improve speech naturalness by using BERT to extract "cross-utterance" context from neighboring sentences, allowing the model to adjust intonation and rhythm based on the broader discourse.
What Problem Does This Paper Address?
While modern end-to-end TTS models like Tacotron2 can generate high-fidelity speech for single sentences, they struggle with long-form content like audiobooks or dialogues. In these contexts, human prosody—the patterns of stress, intonation, and rhythm—is dictated by the surrounding text. For example, the way you say a sentence changes depending on whether it's answering a question or starting a new topic.
Most TTS systems ignore this "cross-utterance" information, leading to speech that lacks the expressive variety found in natural human discourse. The authors aim to bridge this gap by providing the model with a "look-ahead" and "look-back" window into the paragraph.
Methods
The researchers modified the standard Tacotron2 architecture by adding a Cross-Utterance (CU) Encoder. This encoder takes text embeddings from a pre-trained BERT model for the sentences immediately preceding and following the current one.
They explored two specific ways to derive these embeddings:
- Chunked Sentence Embedding (CSE): Past and future sentences are packed into chunks, and BERT's
[CLS]token is used to create a single context vector. This vector is simply concatenated with the current sentence's features. - Paired Sentence Embedding (PSE): This is a more sophisticated approach where BERT processes sentence pairs. Crucially, it uses a Multi-Head Attention layer. Here, the phonemes of the current sentence act as a "query" to find the most relevant prosodic information from the neighboring "key/value" sentence embeddings.
The resulting context vector is combined with the standard phoneme encoder output and fed into the Tacotron2 decoder to generate the final speech.
Datasets
The study utilized two primary datasets:
- In-house Mandarin Audiobook Dataset: A high-quality dataset featuring 29 hours (35k pairs) of a professional male speaker reading a fiction novel with rich emotional variation.
- LJ-Speech: A standard English open dataset containing 13.1k short audio clips from a female speaker reading non-fiction books. This dataset is noted for being less emotionally expressive than the Mandarin one.
Key Insights and Ideas
- Context-Aware Prosody: The most significant "aha moment" is the demonstration that prosody can be controlled indirectly. By changing the neighboring sentences in the input, the model automatically adjusts the pitch and duration of the current sentence to fit the new context.
- Attention Matters: The PSE model outperformed the CSE model. This suggests that prosody isn't just a global "vibe" for a sentence; different phonemes need to attend to different parts of the surrounding context to get the timing and stress right.
- Expressiveness vs. Stability: On the highly expressive Mandarin dataset, standard Tacotron2 actually struggled with stable duration (timing). Adding cross-utterance context didn't just make it more expressive; it made the model more robust and stable.
Key Results
The researchers used MUSHRA (Multiple Stimuli with Hidden Reference and Anchor) tests and ABN preference tests to evaluate their models:
- Mandarin Results: The PSE-based model achieved a MUSHRA score of 80.5, significantly higher than the standard Tacotron2 score of 75.4. In head-to-head preference tests, listeners preferred the PSE model over the baseline 73% of the time.
- English Results: The improvements were more modest (70.7 vs 69.8), likely because the LJ-Speech dataset is naturally more "flat" and less challenging for standard models.
- Case Study: The authors showed that for the sentence "Tom called Mary," the model placed higher pitch and longer duration on "Tom" if the preceding question was "Who called Mary?", but emphasized "called" if the question was "What did Tom do?".
Limitations and Future Work
The authors noted that the benefits of this approach are most apparent in highly expressive or emotional datasets. For "dryer" reading styles (like LJ-Speech), the standard model is already quite close to the ceiling of what listeners expect.
While not explicitly detailed as a limitation, the reliance on a large pre-trained BERT model adds computational complexity. Future work might explore smaller, more efficient language models or fine-tuning the BERT embeddings specifically for the TTS task rather than using them "off-the-shelf." Additionally, the current model uses a fixed window of neighboring sentences; exploring how to handle variable-length discourse structures could be a promising next step.
Summary updated