Abstract
Modern end-to-end text-to-speech (TTS) systems often struggle to produce expressive prosody, typically generating "averaged" speech that lacks emotional nuance. This paper introduces a novel Context Extractor that leverages multiple layers of a Self-Attention Network (SAN) encoder to capture rich linguistic features. By employing weighted multi-head attention to aggregate these layers, the proposed system generates speech with significantly more natural intonation and rhythm. Experimental results on expressive Mandarin corpora show that our Weighted Aggregation (SA-WA) approach achieves a 20% improvement in F0 correlation and is preferred by listeners over 80% of the time compared to baseline models.
Introduction
While architectures like Tacotron 2 have achieved high intelligibility, the quest for truly expressive speech remains a challenge. Standard sequence-to-sequence frameworks compress input text into a single representation from the final encoder layer. This process often discards the nuanced syntactic and semantic "building blocks" of prosody distributed across intermediate neural layers. Consequently, the resulting speech often sounds clear but lacks the melodic pitch contours and varied rhythm characteristic of human speech.
We hypothesize that "sentential context"—the latent information governing prosody—is spread across different depths of the network. By tapping into these layers, we can provide the decoder with a more comprehensive representation of the input sentence's prosodic potential.
Methodology
Our system is built upon a Tacotron 2-style architecture, substituting the traditional RNN encoder with a multi-layer Self-Attention Network (SAN). The core innovation is the Context Extractor, which operates in three distinct phases:
- Layer Extraction: Intermediate representations ($g^l$) are extracted from every layer of the SAN encoder.
- Context Aggregation: We investigated two aggregation strategies:
- Direct Aggregation (SA-DA): Concatenating outputs from all layers.
- Weighted Aggregation (SA-WA): Utilizing a multi-head attention mechanism to learn the optimal contribution of each layer for expressive output.
- Integration: The aggregated sentence representation is passed to a decoder via GMM-based attention to generate mel-spectrograms, which are subsequently converted to audio using a WaveGlow vocoder.
Experiments and Results
Datasets
The proposed method was evaluated using three Mandarin Chinese corpora: the Blizzard Challenge 2019 (TS) talk-show dataset, an internal Voice Assistant (VA) expressive corpus, and a standard reading-style dataset (DB1) used as a control.
Key Findings
The Weighted Aggregation (SA-WA) model consistently outperformed all other configurations. Objectively, SA-WA achieved the lowest Mel Cepstral Distortion (MCD) on expressive datasets. Subjectively, SA-WA earned a Mean Opinion Score (MOS) of 4.11 on the talk-show corpus, significantly higher than the baseline (3.84).
A key finding was the "F0 breakthrough." As shown in the pitch contour analysis in Figure 4, the SA-WA model tracks the ground-truth fundamental frequency much more closely than the baseline, resulting in a 20% gain in F0 correlation. This indicates that deep sentential context is a primary driver of natural intonation. Furthermore, in A/B preference tests, listeners preferred SA-WA over the baseline 81.7% of the time for the expressive talk-show data.
Discussion and Conclusion
Our results suggest that prosody is a multi-level phenomenon. By accessing different "resolutions" of linguistic context through SAN layers, the model can reconstruct complex prosodic patterns without external reference audio. The superiority of Weighted Aggregation over Direct Aggregation highlights that specific layers are more critical for prosody, and the model benefits from learning these weights automatically.
While the method excels on expressive data, gains were marginal on the "flat" DB1 dataset, confirming that the technique is designed to unlock inherent expressiveness within a rich corpus. Future work will explore combining deep sentential context with explicit style controls to allow for manual adjustment of emotional categories while maintaining natural prosodic flow.
Summary updated