Generative Modeling for Low Dimensional Speech Attributes with Neural Spline Flows

Kevin J. Shih, Rafael Valle, Rohan Badlani, João Felipe Santos, Bryan CatanzaroarXiv 2022 · DOI

Abstract

This paper addresses the challenge of modeling low-dimensional, discontinuous speech attributes like pitch ($F_0$) and energy within generative text-to-speech (TTS) frameworks. By utilizing Neural Spline Flows, the authors bridge the gap between the fine-grained controllability of deterministic models and the natural diversity of generative models. The proposed approach handles the inherent difficulties of 1D signal modeling through dimensionality expansion and novel data-filling techniques, resulting in high-quality, diverse speech synthesis that aligns closely with human preference.

Introduction

In modern Text-to-Speech (TTS), a significant trade-off exists between deterministic and generative architectures. Deterministic models, such as FastPitch and FastSpeech2, are explicitly conditioned on attributes like pitch and energy, allowing for precise manipulation and "auto-tune" effects. However, they lack the natural variation found in human speech. Conversely, generative models like GlowTTS produce diverse samples but often struggle with frame-level control over specific attributes.

The primary obstacle in unifying these approaches is the nature of pitch ($F_0$). As a 1D signal that is discontinuous—existing during voiced sounds but vanishing during unvoiced segments—it presents a "nightmare" for standard generative techniques like Normalizing Flows, which typically require continuous, high-dimensional data to map effectively to a Gaussian prior.

Methodology

To overcome these limitations, the authors employ Normalizing Flows with several critical modifications designed for speech attributes.

Neural Spline Flows and Hybrid Architectures

The core innovation is the replacement of standard affine coupling layers with Neural Spline Flows. While affine transformations are often too rigid for the complex, bimodal distribution of pitch, piecewise quadratic splines offer the expressivity needed to map these signals to a standard normal distribution. To maintain training stability, the authors utilize a hybrid architecture that combines spline layers with traditional affine blocks.

Comparison of standard Affine Coupling (left) and the proposed hybrid architecture incorporating Spline Coupling (right).

Handling Discontinuity and Low Dimensionality

Because 1D data provides insufficient "room" for flow-based transformations, the model increases dimensionality through grouping (stacking time steps) and auxiliary dimensions (local derivatives). To address the zeros in unvoiced segments, the authors introduce a Log-Distance Transform Filler. This method replaces zeros with values representing the distance to the nearest voiced segment, preventing the "flat" regions of zero variance that destabilize Normalizing Flows.

Visualization of the log distance transform filler (a) used to create a continuous signal from discontinuous pitch data.

Additionally, the model is conditioned on a predicted binary voiced/unvoiced mask. This "voiced-aware context" prevents artifacts like random pitch spikes during unvoiced segments.

Key Insights and Results

Experiments conducted on the LJSpeech dataset revealed several key findings:

  • Splines vs. Affine: Neural Splines are significantly more effective than affine couplings for low-dimensional data. Human raters consistently preferred spline-based generative models in pairwise tests.
  • Statistical Alignment: The proposed AGAP-SV (Autoregressive Generative Attribute Predictor with Splines and Voiced-aware context) model matched the statistical moments (mean, variance, skewness, and kurtosis) of ground-truth pitch data more accurately than deterministic baselines.
  • Generative Diversity: While deterministic models (like RADDAP) maintained a slight edge in overall human preference scores, the generative spline models achieved comparable quality while enabling the synthesis of diverse variations for the same text prompt.

Conclusion

While the gap between deterministic and generative models is closing, challenges remain regarding high kurtosis in some pitch distributions and the slight preference for deterministic quality. Future research will focus on refining the interaction between attribute predictors and mel-spectrogram decoders, as well as improving the efficiency of parallel spline models to match the performance of autoregressive variants.

Summary updated

BibTeX
@misc{shih2022generative,
  author = {Kevin J. Shih and Rafael Valle and Rohan Badlani and João Felipe Santos and Bryan Catanzaro},
  title = {{Generative Modeling for Low Dimensional Speech Attributes with Neural Spline Flows}},
  year = {2022},
  eprint = {2203.01786},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.01786},
}
Figure