Skip to main content
QUICK REVIEW

[Paper Review] FloWaveNet : A Generative Flow for Raw Audio

Sungwon Kim, Sang-gil Lee|arXiv (Cornell University)|Nov 6, 2018
Music and Audio ProcessingComputer Science17 references30 citations
TL;DR

FloWaveNet is a flow-based generative model for raw audio synthesis that enables real-time, parallel waveform generation using a single-stage training procedure with only maximum likelihood loss, eliminating the need for a teacher network or auxiliary loss terms. It achieves audio quality comparable to two-stage parallel models like Parallel WaveNet and ClariNet while simplifying training and improving stability.

ABSTRACT

Most modern text-to-speech architectures use a WaveNet vocoder for synthesizing high-fidelity waveform audio, but there have been limitations, such as high inference time, in its practical application due to its ancestral sampling scheme. The recently suggested Parallel WaveNet and ClariNet have achieved real-time audio synthesis capability by incorporating inverse autoregressive flow for parallel sampling. However, these approaches require a two-stage training pipeline with a well-trained teacher network and can only produce natural sound by using probability distillation along with auxiliary loss terms. We propose FloWaveNet, a flow-based generative model for raw audio synthesis. FloWaveNet requires only a single-stage training procedure and a single maximum likelihood loss, without any additional auxiliary terms, and it is inherently parallel due to the characteristics of generative flow. The model can efficiently sample raw audio in real-time, with clarity comparable to previous two-stage parallel models. The code and samples for all models, including our FloWaveNet, are publicly available.

Motivation & Objective

  • To address the high inference time and complex training pipeline of autoregressive WaveNet in real-time speech synthesis.
  • To overcome the limitations of two-stage parallel models like Parallel WaveNet and ClariNet, which require a pre-trained teacher network and auxiliary loss terms for realistic audio.
  • To develop a flow-based generative model that enables parallel, end-to-end training with a single maximum likelihood objective.
  • To achieve audio fidelity comparable to state-of-the-art two-stage models while simplifying training and improving stability.

Proposed method

  • FloWaveNet employs normalizing flows to model the probability distribution of raw audio waveforms, enabling parallel sampling independent of sequence length.
  • It uses a single maximum likelihood loss during training, avoiding the need for probability distillation or auxiliary losses.
  • The model leverages invertible coupling layers and coupling flows to ensure exact likelihood computation and efficient sampling.
  • It replaces causal dilated convolutions with non-causal convolutions to allow bidirectional context modeling from the mel-spectrogram condition.
  • The architecture is trained end-to-end in a single stage, eliminating the need for a pre-trained teacher network.
  • The model is designed as a drop-in replacement for WaveNet vocoders in text-to-speech systems.

Experimental results

Research questions

  • RQ1Can a flow-based generative model achieve real-time, high-fidelity raw audio synthesis without requiring a two-stage training pipeline or auxiliary loss terms?
  • RQ2How does the performance of a single-stage flow-based model compare to two-stage parallel models like Parallel WaveNet and ClariNet in terms of audio quality and training stability?
  • RQ3What is the impact of causality in the convolutional layers on the final audio quality in flow-based speech synthesis?
  • RQ4Can a flow-based model achieve comparable perceptual quality to two-stage models when trained solely with maximum likelihood loss?
  • RQ5What role do different loss components (KL divergence vs. spectrogram frame loss) play in the audio quality of two-stage models, and why are they necessary?

Key findings

  • FloWaveNet achieves a mean opinion score (MOS) of 3.95 ± 0.154 in non-causal mode, significantly outperforming the causal variant (3.36 ± 0.134), demonstrating the benefit of bidirectional context.
  • The non-causal version of FloWaveNet produces higher-quality audio by leveraging both forward and backward context from the mel-spectrogram condition.
  • Training with only the KL divergence loss leads to mode collapse and low-energy, distorted audio, even when the KL divergence is minimized.
  • The Gaussian IAF model trained with only the spectrogram frame loss produces noisy, unstable samples that do not diminish over training, indicating the necessity of combining both loss terms.
  • The combination of KL divergence and frame loss in two-stage models is essential for realistic audio, as neither term alone produces high-fidelity output.
  • The proposed open-source implementation of Gaussian IAF outperforms existing public implementations, validating the effectiveness of the training setup.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.