Controllable Neural Prosody Synthesis

Max Morrison, Zeyu Jin, Justin Salamon, Nicholas J. Bryan, Gautham J. Mysore

TL;DR

This paper introduces Controllable DAR (C-DAR) and PS-WaveNet, a joint framework for context-aware, user-controllable neural prosody synthesis. By allowing users to guide pitch (F0) contours with sparse constraints (like drawing an anchor point), the system naturally fills in the remaining speech frames and synthesizes high-fidelity audio without sacrificing naturalness.

What Problem Does This Paper Address?

While modern text-to-speech (TTS) systems generate highly realistic audio, they lack intuitive controls for prosody—the rhythm, melody, and intonation of speech. If a model misplaces an emphasis or uses an inappropriate emotion, fixing it manually in an audio editor requires significant time and expertise.

Existing deep autoregressive (DAR) models can capture the diverse, multimodal nature of human speech intonation, but they don't allow for direct user intervention. Furthermore, standard neural vocoders (the components that turn acoustic features into waveforms) struggle to modify pitch explicitly without introducing harsh artifacts or degrading overall speech quality.

Methods

The authors propose a two-part architecture to solve the controllability problem:

1. Controllable DAR (C-DAR)

Building on standard Deep Autoregressive models, C-DAR introduces three key modifications to enable user control:

  • Context-Awareness: It uses bidirectional GRUs to summarize the preceding and following speech content. This ensures that any user edits blend seamlessly with the surrounding audio.
  • Explicit Conditioning: During training, the model is fed random subsequences of the ground-truth F0 contour. This teaches the network to generate smooth, continuous pitch transitions around user-defined anchor points during inference.
  • Reverse Generation: The model predicts F0 values in reverse chronological order. Recurrent models often suffer from unstable histories at the very start of generation; reversing the sequence minimizes discontinuities when users edit the latter halves of sentences.
C-DAR Architecture

Additionally, a 5-layer postnet is appended to tighten the posterior distribution and reduce autoregressive sampling errors.

2. Pitch-Shifting WaveNet (PS-WaveNet)

To render the controlled pitch contours into high-quality audio, the authors designed a pitch-shifting neural vocoder. Instead of standard log-mel-spectrograms, it uses 21-channel mel-cepstral coefficients (MCeps), which cleanly separate spectral envelopes from pitch. These features are passed through a narrow convolutional bottleneck, forcing the network to rely strictly on the explicit F0 input contour for its pitch generation.

3. A Novel Evaluation Metric

To evaluate prosody naturalness without penalizing models for minor vocoder artifacts, the authors introduced a clever trick: they low-pass filtered the evaluation audio at 10 Hz above the maximum F0. This preserved the pure intonation and amplitude envelope while removing high-frequency synthesis artifacts during listening tests.

Datasets

  • F0 Generation Training: The 360-hour clean training partition from the LibriTTS dataset.
  • Vocoder Training & Evaluation: LJSpeech and three single-speaker datasets extracted from LibriVox audiobooks, totaling four distinct speakers (two male, two female).
Speaker Dataset Details

Key Insights and Ideas

  • Objective Metrics Lie: Standard metrics like Negative Log-Likelihood (NLL) and Root Mean Square Error (RMSE) do not correlate with human perception of prosody naturalness. A model can achieve "better" objective scores while sounding distinctly worse to human ears.
  • Postnets Tighten Distributions: Incorporating a postnet dramatically sharpens the model's confidence, effectively cleaning up the blurry posterior distributions typical of autoregressive pitch models.
Figure 2: Effects of postnet on F0 generation. (Top) Log pos- terior distribution at each frame before postnet. (Middle) Log posterior distribution after postnet. (Bottom) Argmax of each distribution converted to frequency. Posteriors are per-frame normalized to have a maximum of 0 and clipped below -40.
  • Sparse Inputs as Mode Selectors: In English, a sentence's meaning changes based on punctuation (e.g., statement vs. question). Because datasets are heavily biased toward statements, standard models suffer from mode collapse. Providing just a brief, user-specified pitch hint at the end of a sentence acts as a powerful "mode selector," forcing the model to generate a natural-sounding question contour.

Key Results

Prosody Naturalness

In the low-pass subjective listening test, C-DAR achieved a 55% "Considered Real" rating, performing comparably to the unconstrained baseline DAR (57%) while successfully introducing user control.

Table 2: Results for objective F0 generation experiments and the subjective low-pass experiment. Lower scores are better for NLL and RMSE and higher is better for % Considered Real.

Repunctuation Task

When tasked with changing a statement into a question (or vice versa), C-DAR paired with sparse user inputs significantly outperformed standard DAR, showing a strong preference from human evaluators—especially for turning statements into questions (preferred 59% to 63% of the time over alternatives).

Vocoder Performance

The proposed PS-WaveNet achieved a Mean Opinion Score (MOS) of 3.52 when paired with C-DAR, significantly outperforming the traditional DSP-based WORLD vocoder (3.11) and rivaling the popular PSOLA method (3.55).

Vocoder Evaluation Results

Limitations and Future Work

While PS-WaveNet performs well on average, its performance exhibits high variance across different speakers (ranging from a 3.04 MOS for one speaker to 3.80 for another). Additionally, there is an inherent trade-off between pitch tracking accuracy (where DSP methods like WORLD still excel) and overall audio naturalness.

The authors note that future work will focus on optimizing the pitch-shifting vocoder for real-time applications and designing better user interfaces for interactive prosody editing.

Summary updated

BibTeX
@inproceedings{morrison2020controllable,
  author = {Max Morrison and Zeyu Jin and Justin Salamon and Nicholas J. Bryan and Gautham J. Mysore},
  title = {{Controllable Neural Prosody Synthesis}},
  booktitle = {Interspeech},
  year = {2020},
  doi = {10.21437/interspeech.2020-2918},
}
Figure