Abstract
Inspired by recent work on neural network image generation which rely on backpropagation towards the network inputs, we present a proof-of-concept system for speech texture synthesis and voice conversion based on two mechanisms: approximate inversion of the representation learned by a speech recognition neural network, and on matching statistics of neuron activations between different source and target utterances. Similar to image texture synthesis and neural style transfer, the system works by optimizing a cost function with respect to the input waveform samples. To this end we use a differentiable mel-filterbank feature extraction pipeline and train a convolutional CTC speech recognition network. Our system is able to extract speaker characteristics from very limited amounts of target speaker data, as little as a few seconds, and can be used to generate realistic speech babble or reconstruct an utterance in a different voice.
Introduction
Traditional voice conversion—the process of altering the speaker identity of an utterance while preserving its linguistic content—typically necessitates large, parallel datasets. Such requirements are data-intensive and difficult to scale. This research explores an alternative approach inspired by "Style Transfer" in computer vision. By treating a person's voice as a "texture" and the spoken words as "content," we demonstrate that voice conversion can be achieved using a discriminatively trained speech recognition model, requiring only a few seconds of target speaker data without parallel training sets.
Methodology
The proposed system relies on a differentiable pipeline and a pre-trained recognition model. To enable backpropagation from internal network layers back to the raw audio samples, a differentiable mel-filterbank feature extraction process was implemented. The core model is a deep convolutional neural network trained using Connectionist Temporal Classification (CTC) loss on the Wall Street Journal dataset.
Speech generation and conversion are framed as optimization problems using the L-BFGS optimizer to iteratively update a white-noise input signal. For texture synthesis, we match the "Gram matrix" of generated audio to a target speaker. Unlike stationary 2D image textures, speech is stationary only in the time dimension; thus, a "temporally stationary Gram tensor" was developed. For voice conversion, the process combines a "content loss" (matching deep layer activations of a source utterance) with a "style loss" (matching shallow layer Gram matrices of a target speaker).
Results and Discussion
Experimental results reveal a clear hierarchy of feature specialization within the network. Shallow layers capture fine-grained acoustic details and speaker identity, whereas deeper layers focus on linguistic content, becoming increasingly invariant to the specific speaker.
Using Gram tensors from the initial layers (up to C3) as features, a simple nearest-neighbor classifier achieved approximately 95% accuracy in speaker identification, validating the Gram matrix's ability to capture speaker "style." As shown in the figure above, reconstructions from the first layer (C0) are nearly perfect. In contrast, reconstructions from deeper layers like FC1 lose specific speaker identity, often resulting in a generic but gender-recognizable voice.
The system successfully maps the "style" of a target speaker onto the "content" of a source speaker. For instance, it can reconstruct a female voice with the characteristic pitch and texture of a target male speaker using minimal reference audio. Notably, the network must be trained to recognize speech to develop these feature detectors; texture synthesis fails with untrained models.
Conclusion and Future Work
While the current system proves the viability of using backpropagation for zero-shot voice conversion, it faces several limitations. The synthesized audio currently has a "babble" quality and lacks the crispness of modern generative models. Additionally, the process is computationally expensive and retains the exact timing of the source speaker. Future work will focus on using the Gram tensor loss as an additional supervision signal for faster, high-quality generative models like Tacotron or WaveNet to improve both audio quality and prosody modeling.
Summary updated