GraphTTS: Graph-to-Sequence Modelling in Neural Text-to-Speech

Aolan Sun, Jianzong Wang, Ning Cheng, Huayi Peng, Zhen Zeng, Jing Xiao

Abstract

Traditional neural text-to-speech (TTS) systems often struggle with prosody control, frequently requiring manual reference audio to achieve natural rhythm and tone. This paper introduces GraphTTS, a novel architecture that models input text as a graph rather than a flat sequence. By leveraging Graph Neural Networks (GNNs) and a Graph Auxiliary Encoder (GAE), GraphTTS automatically derives prosodic features from the text's inherent semantic and syntactic structure. Experimental results demonstrate that GraphTTS significantly improves speech naturalness over standard sequence-to-sequence models like Tacotron 2, achieving higher Mean Opinion Scores (MOS) in both English and Chinese.

Introduction

While modern neural TTS models generate high-fidelity audio, controlling prosody—the rhythm, stress, and intonation of speech—remains a significant hurdle. Existing solutions often rely on Global Style Tokens or Variational Autoencoders (VAEs) that require a human-selected "reference audio" to guide the output. This dependency hinders full automation and can introduce inconsistencies. Other approaches involve complex NLP pipelines to extract syntactic cues, which increases system bloat.

GraphTTS addresses these issues by reimagining the text encoder. Instead of processing text as a simple temporal sequence, it treats text as a spatial graph, allowing the model to directly learn the relationship between linguistic structure and prosodic expression.

Methods

The core innovation of GraphTTS lies in its transition from the time domain to the space domain for text encoding.

Character-Level Graph Embedding

Input text is transformed into a graph where nodes represent characters. Edges define relationships through directed forward/reverse connections and hierarchical connections (distinguishing between strong intra-word edges and weak inter-word edges).

GraphTTS Architecture

The standard Recurrent Neural Network (RNN) encoder is replaced with a GNN, specifically Gated Graph Neural Networks (GGNNs). These networks facilitate message passing between character nodes to build a syntax-aware hidden representation.

Architecture of the GraphTTS model showing the propagation and output steps.

Graph Auxiliary Encoder (GAE)

To ensure the stability and robust alignment found in traditional seq2seq models, the authors introduced the Graph Auxiliary Encoder (GAE). In this configuration, a standard sequential encoder runs in parallel with a smaller GNN-based auxiliary encoder. The outputs are concatenated before being passed to the attentional decoder, combining the reliability of sequential modeling with the rich prosodic information from the graph structure.

Key Insights

  • Structure-Driven Prosody: Explicitly modeling word and sentence boundaries as graph edges allows the model to naturally learn appropriate pausing and tonal shifts.
  • GGNN Superiority: Gated Graph Neural Networks outperformed Graph Convolutional Networks (GCNs) due to their superior ability to propagate information across long distances in the text graph.
  • Stability through Hybridization: While pure GraphTTS can occasionally suffer from synthesis failures (approx. 5%), the GAE hybrid approach reduces this rate to 0.8% while maintaining high naturalness.

Results

GraphTTS demonstrates superior performance across multiple datasets, including LJSpeech (English) and an internal Chinese dataset.

Mean Opinion Score (MOS) comparison between GraphTTS and baseline models.

As shown in the results, the GraphTTS variant using a GRU-based encoder achieved a MOS of 4.47 for English and 4.31 for Chinese, notably outperforming Tacotron 2. Furthermore, increasing the message-passing iterations in the GNN from 1 to 5 further improved the MOS to 4.53, though at the cost of nearly doubling training time.

Conclusion

GraphTTS represents a significant step toward fully automated, prosody-aware text-to-speech. By treating text as a graph, the model captures linguistic nuances that sequential models miss. Future work will focus on scaling this approach to word-level graphs and exploring more advanced graph architectures like Graph Attention Networks (GATs) to further refine speech naturalness and system efficiency.

Summary updated

BibTeX
@inproceedings{sun2020graphtts,
  author = {Aolan Sun and Jianzong Wang and Ning Cheng and Huayi Peng and Zhen Zeng and Jing Xiao},
  title = {{GraphTTS: Graph-to-Sequence Modelling in Neural Text-to-Speech}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  url = {https://openreview.net/forum?id=Y2unXb_WxVfg},
}
Figure