Investigation of F0 conditioning and Fully Convolutional Networks in Variational Autoencoder based Voice Conversion

Wen-Chin Huang, Yi-Chiao Wu, Chen-Chou Lo, Patrick Lumban Tobing, Tomoki Hayashi, Kazuhiro Kobayashi, Tomoki Toda, Yu Tsao, Hsin-Min Wang

TL;DR

This paper improves Variational Autoencoder-based voice conversion (VAE-VC) by addressing two core limitations: the lack of temporal context and the hidden dependency of spectral features on pitch ($F_0$). By introducing a Fully Convolutional Network (FCN) architecture and explicitly conditioning the decoder on $F_0$, the authors achieve cleaner feature disentanglement and significantly more natural-sounding converted speech.

What Problem Does This Paper Address?

Voice conversion (VC) aims to change a source speaker's voice to sound like a target speaker while keeping the underlying spoken content intact. Variational Autoencoders (VAEs) have become a popular tool for this because they can learn from non-parallel data (where the source and target speakers aren't uttering the exact same sentences). They do this by encoding speech into a speaker-independent latent code (representing phonetics) and then decoding it using a target speaker's identity code.

However, conventional VAE-VC frameworks suffer from two major flaws:

  1. Frame-wise Processing: They process speech frame-by-frame, completely ignoring the temporal relationships and flow of natural speech.
  2. The Feature Independence Assumption: They assume that spectral features (which capture vocal tract characteristics) and the fundamental frequency ($F_0$, which captures pitch) are completely independent. In reality, high-quality vocoders extract $F_0$ first and use it to calculate the spectral features. This means source pitch information secretly leaks into the spectral features, corrupting the latent code and degrading the final conversion quality.
Disentangling latent code with speaker and F0 conditioning

Methods

The authors build their solution on top of Cross-Domain VAE (CDVAE-VC), a baseline that jointly models two types of spectral features: Spectra (SP) and Mel-Cepstral Coefficients (MCCs). They introduce two key upgrades:

  • Fully Convolutional Networks (FCNs): To capture temporal dependencies across speech frames, they replace the traditional frame-wise dense layers with an FCN architecture utilizing Gated Linear Units (GLUs) and skip connections. This allows the model to look at sequences of frames simultaneously without the massive computational overhead of Recurrent Neural Networks (RNNs).
  • Explicit $F_0$ Conditioning: To force the encoder to strip away pitch information, they feed the $F_0$ contour (specifically, continuous $F_0$ combined with a voiced/unvoiced flag) directly into the decoder during training. Because the decoder already receives the pitch information explicitly, the encoder is incentivized to discard it, resulting in a pure, pitch-agnostic phonetic latent code. During conversion, the target speaker's transformed $F_0$ contour is fed into the decoder instead.
Figure 3: The proposed framework with F0 conditioning.

Datasets

The methods were evaluated using the Voice Conversion Challenge 2018 (VCC2018) dataset, which consists of clean recordings of professional US English speakers sampled at 22,050 Hz.

  • Training/Validation: 70 utterances per speaker were used for training, and 11 for validation.
  • Testing: 35 utterances from 8 distinct speakers (forming 16 evaluation pairs) were used to evaluate performance.
  • No new datasets or benchmarks were introduced in this work.

Key Insights and Ideas

  • The Vocoder Feature Entanglement: Traditional speech synthesis pipelines treat pitch and spectral envelopes as independent streams. The authors point out that because of how vocoders mathematically extract these features, they are intrinsically entangled.
  • Proving Disentanglement: To verify that $F_0$ conditioning actually cleaned the latent space, the authors trained a separate network to try and predict $F_0$ from the latent codes. The prediction error was significantly higher for the $F_0$-conditioned model, proving that the latent code had successfully been scrubbed of pitch information.
  • The Train-Test Mismatch Trap: Interestingly, while $F_0$ conditioning successfully disentangled the latent space, it did not dramatically boost subjective voice quality scores over the FCN baseline. The authors discovered a subtle trap: the converted $F_0$ contour used at test time (generated via a simple linear transform) is somewhat unnatural. This creates a mismatch for the decoder, which was only trained on perfectly natural, real $F_0$ contours.

Key Results

  • Temporal Modeling Wins: Moving from a frame-wise baseline (CDVAE) to the sequential FCN structure (FCN-CDVAE) reduced the Mean Mel-cepstral distortion (MCD) from 6.42 dB to 6.39 dB and significantly boosted the Mean Opinion Score (MOS) for speech naturalness from 2.45 to 2.89 on a 5-point scale.
  • Closer Latent Representations: For parallel sentences spoken by different speakers, the root-mean-squared error (RMSE) between their latent codes dropped from 0.333 to 0.283, and the cosine similarity rose from 0.524 to 0.565 when adding $F_0$ conditioning. This proves the latent space became much more purely phonetic and speaker-agnostic.
Training Cont-F0 MSE of the F0 prediction network

Limitations and Future Work

The primary limitation is the quality of the converted $F_0$ contour. Because the paper relies on a basic linear mean-variance transformation to alter pitch, the resulting $F_0$ input at conversion time is slightly robotic, preventing the $F_0$-conditioned decoder from reaching its full potential.

Furthermore, because high-quality vocoders like WORLD already attempt to separate pitch from spectra as much as possible, the amount of leaked $F_0$ info in the baseline spectral features is relatively small. To truly exploit this architecture, the authors propose applying $F_0$ conditioning to rawer acoustic features (such as magnitude spectrograms) where pitch and spectral data are heavily intertwined.

Summary updated

BibTeX
@misc{huang2019investigation,
  author = {Wen-Chin Huang and Yi-Chiao Wu and Chen-Chou Lo and Patrick Lumban Tobing and Tomoki Hayashi and Kazuhiro Kobayashi and Tomoki Toda and Yu Tsao and Hsin-Min Wang},
  title = {{Investigation of F0 conditioning and Fully Convolutional Networks in Variational Autoencoder based Voice Conversion}},
  year = {2019},
  eprint = {1905.00615},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.00615},
}
Figure