Abstract
Non-autoregressive text-to-speech (NAR-TTS) models have significantly improved the speed of speech synthesis but often fail to capture the nuanced prosody of human speech. This limitation stems from treating text as a linear sequence of phonemes, ignoring the underlying syntactic structure. We present SyntaSpeech, a NAR-TTS framework that incorporates a syntactic graph encoder to leverage dependency relations. By combining this structural awareness with a Multi-Length Discriminator (MLD) for adversarial training, SyntaSpeech achieves state-of-the-art performance in prosody and audio quality across multiple datasets.
1. Introduction
The evolution of Text-to-Speech (TTS) has moved rapidly from slow, autoregressive models to high-speed non-autoregressive (NAR) architectures like FastSpeech. While these models excel in inference efficiency, they frequently suffer from "robotic" prosody—lacking the natural rhythm, stress, and intonation that characterize human communication.
Prosody is inherently linked to the grammatical structure of language. The relationship between a verb and its object, or a modifier and its head, dictates the melodic contour and pausing of a sentence. Most NAR-TTS models ignore this structural "skeleton," treating text as a flat phoneme sequence. SyntaSpeech bridges this gap by integrating syntactic dependency trees into the generative process, ensuring that the model "understands" the structural context of the words it synthesizes.
2. Methodology
SyntaSpeech builds upon the foundation of the PortaSpeech architecture, introducing three core innovations designed to enhance structural modeling and audio fidelity.
2.1 Syntactic Graph Builder
To move beyond flat sequences, SyntaSpeech utilizes an external parser (Stanza) to generate a dependency tree for the input text. This tree is converted into a bi-directional graph. By adding "reversed" edges, the model facilitates two-way information flow between related words, allowing leaf nodes (such as adjectives) to influence their parent nodes (such as nouns) during the encoding phase.
2.2 Syntactic Graph Encoder
The model employs Gated Graph Convolutions to extract word-level syntactic features from the bi-directional graph. These features serve two critical functions:
- Duration Prediction: They assist the Duration Predictor in determining the precise length of each phoneme based on its syntactic role.
- Prosody Modeling: They provide auxiliary features to the Variational Generator, aiding in the modeling of complex pitch and energy variations.
To ensure the stability of the primary phoneme encoder, the authors implemented a stop-gradient trick. This prevents the complex syntactic features from interfering with the basic phoneme representations, allowing the graph encoder to focus exclusively on structural nuances.
2.3 Multi-Length Discriminator (MLD)
In a departure from the flow-based "post-net" used in previous models like PortaSpeech, SyntaSpeech adopts a GAN-based approach. The Multi-Length Discriminator (MLD) evaluates generated spectrograms across multiple window lengths. This adversarial setup forces the generator to produce realistic high-frequency details and natural pronunciations, simplifying the training pipeline and accelerating inference by removing the need for complex flow transformations.
3. Experimental Evaluation
The performance of SyntaSpeech was evaluated across three distinct datasets:
- LJSpeech: A standard single-speaker English benchmark (~24 hours).
- Biaobei: A single-speaker Chinese corpus (~12 hours) used to test character-level syntactic nuances.
- LibriTTS: A large-scale multi-speaker English dataset (~245 hours) to assess generalization across diverse voices.
4. Results and Discussion
SyntaSpeech demonstrated superior performance in both subjective and objective evaluations. On the LJSpeech benchmark, the model achieved a Mean Opinion Score for Prosody (MOS-P) of 4.19, significantly outperforming PortaSpeech (4.01) and FastSpeech 2 (3.85). Audio quality (MOS-Q) also saw improvements, reaching 4.13.
Beyond final scores, the inclusion of the syntactic graph encoder was found to accelerate the convergence of the duration predictor, meaning the model learns the rhythm of speech more efficiently. Visual analysis of Mel-spectrograms further revealed that SyntaSpeech generates more varied and realistic pitch contours, avoiding the "blurry" or overly smoothed outputs common in earlier NAR-TTS models.
5. Conclusion
SyntaSpeech demonstrates that syntax is a vital component for achieving natural prosody in non-autoregressive speech synthesis. By leveraging dependency graphs and adversarial training, the model provides a robust framework for high-quality, expressive TTS. Future work will focus on reducing the dependency on external parsers and extending these syntax-aware techniques to other domains, such as voice conversion and singing voice synthesis.
Summary updated