Voice Conversion using Convolutional Neural Networks

Shariq Mobin, Joan BrunaarXiv 2016

Introduction

Voice conversion aims to modify the non-linguistic information of a speech signal while preserving its linguistic content. Specifically, the goal is to transform the "timbre" or "identity" of a voice—the unique texture that distinguishes one speaker from another—without altering the spoken words. While humans excel at this task, machine learning models face significant challenges in disentangling pitch and harmonics from timbre. This paper explores a novel approach by combining Visual Analogy Networks (VANs) with Generative Adversarial Networks (GANs), treating voice conversion as a mathematical analogy problem in a biologically inspired feature space.

Methodology

The proposed architecture treats audio signals as images, leveraging techniques from computer vision to solve analogies of the form "A is to B as C is to D." In this context, if A and B represent the same word spoken by two different individuals, the model learns a transformation vector in an embedding space that characterizes the shift in speaker identity.

Feature Representation: Constant Q-Transform (CQT)

Instead of standard Short-Time Fourier Transforms (STFT), the authors utilize the Constant Q-Transform (CQT). By using logarithmic frequency scaling, CQT mimics the human cochlea's processing of sound, making the harmonic structure of the voice more explicit. This representation is particularly suitable for convolutional neural networks (CNNs) to capture the "texture" of the voice.

Model Architecture

The system consists of an encoder-decoder structure integrated with an analogy-making component.

The Visual Analogy Network architecture for voice conversion, illustrating the encoder, increment function, and decoder.

As shown in Figure 1, the encoder network $f$ maps input signals into a latent space. An increment function $T$ (which can be additive, multiplicative, or a deep network) computes the transformation between speaker identities. The resulting latent representation is then passed through a decoder network $g$ to reconstruct the target audio.

GAN Framework and Multi-task Discriminator

To enhance the realism of the generated audio, the model is trained within a GAN framework. A key innovation is the multi-task discriminator, which acts as a classifier. It must simultaneously determine if the audio is real or synthetic, identify the speaker, and recognize the spoken word. This multi-objective loss forces the generator to preserve linguistic content while successfully adopting the target speaker's style.

Experimental Setup

The study uses a focused experimental dataset to provide a proof-of-concept. The data consists of a single speaker uttering four specific color words: "red", "blue", "green", and "white". The primary goal was to evaluate the architecture's ability to perform identity transformations on a controlled vocabulary.

Key Insights

  • Voice as a Linear Analogy: The research suggests that the difference between two speakers can be modeled as a linear relationship in a learned embedding space. By learning an operator $\Phi$, the model can "add" a speaker's identity to a new linguistic input.
  • Bio-inspired Pre-processing: The choice of CQT over STFT highlights the importance of data representations that align with biological auditory systems, facilitating better feature extraction for neural networks.
  • Content Preservation: The use of a discriminative classifier ensures that the generator does not produce realistic-sounding but linguistically meaningless audio.

Results and Discussion

The preliminary results demonstrate qualitative success in capturing the target speaker's characteristics.

Comparison of true and generated CQT spectrograms for the words 'red', 'blue', 'green', and 'white'.

Visual inspection of the CQT spectrograms in Figure 4 shows that the model successfully reproduces the harmonic "stripes" typical of the target voice. However, the authors identify a "blurriness" problem in the generated samples. The frequency resolution is somewhat degraded, leading to muffled or low-fidelity audio. This is attributed to artifacts introduced during the upsampling phase of the decoder network.

Limitations and Future Work

As an early exploration into GAN-based voice conversion, several challenges remain:

  • Training Stability: Optimizing Conditional GANs for audio is notoriously difficult and requires extensive fine-tuning and architectural "tricks."
  • Output Resolution: Future iterations could benefit from more advanced decoder architectures, such as PixelCNN or WaveNet-style vocoders, to produce sharper, higher-fidelity audio.
  • Scalability: While successful for a small vocabulary, scaling the system to handle "any-to-any" voice conversion across large, diverse datasets remains a significant research goal.

Summary updated

BibTeX
@misc{mobin2016voice,
  author = {Shariq Mobin and Joan Bruna},
  title = {{Voice Conversion using Convolutional Neural Networks}},
  year = {2016},
  eprint = {1610.08927},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.08927},
}
Figure